From 04a51c711d4921aed3c073bc90ea316d7ea5e262 Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Fri, 31 Jul 2026 15:44:01 +0200 Subject: [PATCH 1/7] feat(providers): preserve prompt cache affinity --- CLAUDE.md | 2 +- config/config.example.yaml | 9 +- config/providers.go | 10 +- docs/adr/0007-anthropic-messages-ingress.md | 10 +- docs/advanced/anthropic-messages-api.mdx | 6 +- ...026-07-17_anthropic-sdk-compat-findings.md | 8 +- docs/features/session-keeping.mdx | 8 ++ docs/providers/key-rotation.mdx | 63 ++++----- docs/providers/overview.mdx | 4 +- .../static/dist/assets/index-ClpBYKZR.js | 68 ++++++++++ .../static/dist/assets/index-DNWYS-jJ.js | 68 ---------- .../admin/dashboard/static/dist/index.html | 2 +- .../admin/handler_provider_credentials.go | 22 ++- .../handler_provider_credentials_test.go | 24 ++++ internal/anthropicapi/request.go | 127 +++++++++++++++--- internal/anthropicapi/request_test.go | 62 +++++++++ internal/anthropicapi/types.go | 13 +- internal/embedding/embedding.go | 2 +- internal/providers/anthropic/anthropic.go | 4 +- .../providers/anthropic/anthropic_test.go | 41 ++++++ .../anthropic/request_translation.go | 58 ++++++-- internal/providers/anthropic/types.go | 8 +- internal/providers/azure/realtime.go | 20 +-- internal/providers/bailian/realtime.go | 4 +- internal/providers/bedrockmantle/auth.go | 2 +- internal/providers/cohere/cohere.go | 2 +- internal/providers/config.go | 12 +- internal/providers/config_test.go | 15 +++ internal/providers/credential_schema.go | 9 +- internal/providers/credential_schema_test.go | 12 +- internal/providers/credentials.go | 4 + .../providers/credentials_store_mongodb.go | 3 + internal/providers/credentials_store_sql.go | 17 ++- .../providers/credentials_store_sql_test.go | 19 ++- internal/providers/factory.go | 4 +- internal/providers/gemini/gemini.go | 4 +- internal/providers/keyring.go | 71 +++++++++- internal/providers/keyring_test.go | 53 ++++++++ internal/providers/ollama/ollama.go | 2 +- .../providers/openai/compatible_provider.go | 4 +- internal/providers/openai/realtime.go | 20 +-- internal/providers/openrouter/openrouter.go | 7 + .../providers/openrouter/openrouter_test.go | 28 ++++ internal/providers/provider_status.go | 24 ++-- internal/providers/xai/realtime.go | 20 +-- internal/providers/zai/realtime.go | 4 +- run/providers_test.go | 12 +- .../ProviderCredentialField.svelte | 9 ++ .../providers-config/providersConfigLogic.js | 18 ++- web/dashboard/tests/providers-config.test.js | 26 +++- 50 files changed, 787 insertions(+), 257 deletions(-) create mode 100644 internal/admin/dashboard/static/dist/assets/index-ClpBYKZR.js delete mode 100644 internal/admin/dashboard/static/dist/assets/index-DNWYS-jJ.js diff --git a/CLAUDE.md b/CLAUDE.md index b71492b5e..c1031f4a4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -135,7 +135,7 @@ Full reference: `.env.template` and `config/config.yaml` - **Resilience:** Configured via `config/config.yaml` - global `resilience.retry.*` and `resilience.circuit_breaker.*` defaults with optional per-provider overrides under `providers..resilience.retry.*` and `providers..resilience.circuit_breaker.*`. Retry defaults: `max_retries` (3), `initial_backoff` (1s), `max_backoff` (30s), `backoff_factor` (2.0), `jitter_factor` (0.1). Circuit breaker defaults: `failure_threshold` (5), `success_threshold` (2), `timeout` (30s). Breaker state is per-process and exported as the `gomodel_circuit_breaker_state` gauge when metrics are enabled. The dashboard's provider status also folds in real-traffic request health: each provider's runtime row carries `request_health` (last observed breaker state plus per-model request/error counts over a 10-minute sliding window; a model with ≥3 errors and a ≥50% error rate is flagged). An open breaker turns the provider card's status pill to "Circuit Open" (unhealthy), a half-open breaker or a flagged model degrades an otherwise healthy provider ("Recovering"/"Degraded"), and the expanded card details list recent per-model traffic with the latest error. Signals only worsen the discovery-based status, never improve it; tracking is in-memory per instance, and providers with no recent requests show discovery-based status only. - **Metrics:** `METRICS_ENABLED` (false), `METRICS_ENDPOINT` (/metrics) - **Guardrails:** Definitions are persisted in the `guardrail_definitions` store and managed via the admin API/dashboard; `config/config.yaml` entries are validated and upserted into that store at startup (a seed, not the source of truth). `GUARDRAILS_ENABLED` env var gates the feature. -- **Provider API key rotation:** Any API-key provider accepts several keys: `[_SUFFIX]_API_KEY_` env vars (numbered from 2; `_1` is accepted as a synonym for the unsuffixed key) or `providers..api_keys` in `config.yaml` (merged after `api_key`, de-duplicated, unresolved `${...}` entries dropped; env replaces the whole YAML list). Two or more keys turn on round-robin rotation, drawn per outbound HTTP request — including retries, so a 429'd request retries under the next key. Realtime websocket sessions pick a key per session. Counters are in-memory per instance. The trailing number names a key, not a provider: `OPENAI_API_KEY_2` is key 2 of `openai`, while `OPENAI_REGION_2_API_KEY` is the sole key of provider `openai-region-2`. **Rotation defeats provider prompt caching** (providers scope the cache to the key that filled it); use it to lift per-key rate limits, not to save cost. Keyless (Ollama, vLLM) and non-API-key providers (Vertex, Bedrock) are unaffected. +- **Provider API key rotation:** Any API-key provider accepts several keys: `[_SUFFIX]_API_KEY_` env vars (numbered from 2; `_1` is accepted as a synonym for the unsuffixed key) or `providers..api_keys` in `config.yaml` (merged after `api_key`, de-duplicated, unresolved `${...}` entries dropped; env replaces the whole YAML list). Identified sessions deterministically stay on one key by default, preserving provider prompt-cache affinity while spreading different sessions across the configured keys; sessionless requests remain round robin. Set `providers..session_sticky_keys: false` or untick **Session-sticky API keys** in the provider editor for strict per-request round robin. Realtime sessions use the same affinity. The trailing number names a key, not a provider: `OPENAI_API_KEY_2` is key 2 of `openai`, while `OPENAI_REGION_2_API_KEY` is the sole key of provider `openai-region-2`. Keyless (Ollama, vLLM) and non-API-key providers (Vertex, Bedrock) are unaffected. - **Provider credentials without env vars:** Every provider below can instead be configured from the admin dashboard's Providers page (or `/admin/provider-credentials` GET/PUT/DELETE), persisted to the `provider_credentials` store — the same declarative-shadows-store precedence as MCP servers: a provider name declared via env vars/`config.yaml` is read-only in the dashboard (`managed: true`), and a store row upsert/delete hot-registers or unregisters the provider into the live registry immediately, no restart. `GOMODEL` boots fine with zero providers configured (empty catalog) so this is a complete alternative to env-var credentials, not just a supplement. API keys (`api_keys`, an ordered rotation list, same semantics as `providers..api_keys`) and service-account secrets are redacted as `***********` on read; an upsert echoing any all-asterisk mask of at least three characters at a position preserves the stored value there (rejected if that position was never set). Disabling a row (`enabled: false`) unregisters it from routing without deleting the stored credentials. `GET /admin/provider-credentials/types` lists every constructible provider type with the credential form it accepts (`fields[]` of `name`/`required`/`advanced`/`options`, plus `default_base_url`), derived from each provider's `DiscoveryConfig` — the dashboard renders only those fields, so an OpenAI-type provider asks for an API key while a Vertex one asks for project/location/service account and no key at all. Upserts are validated against that form (and against Google's project-or-base-URL and service-account rules) *before* anything is persisted, so an unusable credential is rejected with a 400 naming the offending field in `error.param` rather than stored as a broken row. - **Providers:** `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `ANTHROPIC_DEFAULT_MAX_TOKENS` (optional default `max_tokens` for Anthropic-translated requests that omit it; default 4096), `GEMINI_API_KEY`, `USE_GOOGLE_GEMINI_NATIVE_API` (true by default; false uses Gemini's OpenAI-compatible chat API), `XAI_API_KEY`, `GROQ_API_KEY`, `FIREWORKS_API_KEY`, `FIREWORKS_BASE_URL` (optional Fireworks AI endpoint override; default `https://api.fireworks.ai/inference/v1`), `META_API_KEY`, `META_BASE_URL` (optional Meta Model API endpoint override; default `https://api.meta.ai/v1`; Muse Spark models, e.g. `muse-spark-1.1`), `OPENROUTER_API_KEY`, `OPENROUTER_SITE_URL`/`OPENROUTER_APP_NAME` (optional OpenRouter attribution headers), `ZAI_API_KEY`, `ZAI_BASE_URL` (optional Z.ai endpoint override), `MINIMAX_API_KEY`, `MINIMAX_BASE_URL` (optional MiniMax endpoint override), `XIAOMI_API_KEY`, `XIAOMI_BASE_URL` (optional Xiaomi MiMo endpoint override), `OPENCODE_GO_API_KEY`, `OPENCODE_GO_BASE_URL` (optional OpenCode Go/Zen endpoint override; default `https://opencode.ai/zen/go/v1`), `OPENCODE_GO_MESSAGES_MODELS` (optional comma-separated model IDs routed to the Anthropic-native `/messages` endpoint instead of `/chat/completions`; default `qwen3.7-max`), `BAILIAN_API_KEY`, `BAILIAN_BASE_URL` (optional Bailian base URL for region switching; default `https://dashscope.aliyuncs.com/compatible-mode/v1`), `AZURE_API_KEY`, `AZURE_BASE_URL` (Azure OpenAI deployment base URL), `AZURE_API_VERSION` (optional Azure API version), `ORACLE_API_KEY` (Oracle API key), `ORACLE_BASE_URL` (Oracle OpenAI-compatible base URL), `BEDROCK_BASE_URL` (Bedrock Runtime region or endpoint), `BEDROCK_MANTLE_API_KEY`, `BEDROCK_MANTLE_BASE_URL` (Mantle region or endpoint), `BEDROCK_MANTLE_API_MODE` (`auto`, `openai`, or `standard`), `[_SUFFIX]_MODELS` (comma-separated configured model list for any provider type), `OLLAMA_BASE_URL`, `VLLM_BASE_URL`, `VLLM_API_KEY` (optional upstream vLLM bearer token) - **Provider model metadata:** `providers..models` accepts either model IDs (strings) or `{id, metadata}` objects. When `metadata` is supplied (`display_name`, `context_window`, `max_output_tokens`, `modes`, `capabilities`, `pricing`, …) it is merged onto the remote ai-model-list entry during enrichment, with operator values winning per-field. Primary use case: advertising context windows, capabilities, and pricing for local models (Ollama) and other custom endpoints whose IDs are not in the upstream registry. diff --git a/config/config.example.yaml b/config/config.example.yaml index f2a1b708c..585168c4a 100644 --- a/config/config.example.yaml +++ b/config/config.example.yaml @@ -314,13 +314,14 @@ providers: openai: type: openai api_key: "sk-..." - # Several keys for one provider rotate round robin, raising the per-key rate - # limit. Equivalent env vars: OPENAI_API_KEY_2, OPENAI_API_KEY_3, ... - # Caveat: rotation defeats provider prompt caching, since providers scope the - # cache to the key that filled it. + # Identified sessions stay on one key by default, preserving provider prompt + # cache affinity while still spreading different sessions across keys. + # Equivalent env vars: OPENAI_API_KEY_2, OPENAI_API_KEY_3, ... # api_keys: # - "${OPENAI_API_KEY_2}" # - "${OPENAI_API_KEY_3}" + # Set false for strict per-request round robin (usually worse for prompt caching). + # session_sticky_keys: false # Per-provider resilience overrides (optional). # Only specified fields override the global defaults above. # resilience: diff --git a/config/providers.go b/config/providers.go index 07428b1be..d9a6bcfb8 100644 --- a/config/providers.go +++ b/config/providers.go @@ -7,9 +7,13 @@ type RawProviderConfig struct { Type string `yaml:"type"` APIKey string `yaml:"api_key"` // APIKeys lists additional API keys for this provider. When more than one - // key is resolved (counting APIKey), requests rotate across them round - // robin. Set it via `api_keys:` or the `_API_KEY_` env vars. - APIKeys []string `yaml:"api_keys"` + // key is resolved (counting APIKey), identified sessions stay on one key by + // default while sessionless requests rotate round robin. Set it via + // `api_keys:` or the `_API_KEY_` env vars. + APIKeys []string `yaml:"api_keys"` + // SessionStickyKeys defaults to true. Set false to restore round-robin key + // selection for every request, including requests carrying a session ID. + SessionStickyKeys *bool `yaml:"session_sticky_keys"` BaseURL string `yaml:"base_url"` APIVersion string `yaml:"api_version"` Backend string `yaml:"backend"` diff --git a/docs/adr/0007-anthropic-messages-ingress.md b/docs/adr/0007-anthropic-messages-ingress.md index 2153910c3..9d3820dab 100644 --- a/docs/adr/0007-anthropic-messages-ingress.md +++ b/docs/adr/0007-anthropic-messages-ingress.md @@ -112,8 +112,6 @@ end to end, including request-validation and upstream errors. ### What is explicitly not implemented (v1) - **`/v1/messages/batches`** (Messages Batches API) — deferred; batches has its own pipeline. -- **`cache_control` breakpoints** — dropped during the canonical hop; prompt-caching cost - benefits are not preserved when translating through `core.ChatRequest`. - **Extended-thinking signatures and `thinking` blocks on input messages** — dropped; the canonical chat type has no first-class field for them. - **Server/built-in tools** (web search, code execution, etc.) — a `tools[]` entry @@ -144,10 +142,10 @@ end to end, including request-validation and upstream errors. ### Negative / Mitigations - **Lossy round-trip to the Anthropic provider.** A `/v1/messages` request routed *to* the - Anthropic provider is translated Anthropic → `core.ChatRequest` → Anthropic; provider-only - features (`cache_control`, thinking signatures, server tools) do not survive the canonical - hop. Mitigation: clients needing byte-exact Anthropic fidelity (including prompt-cache - breakpoints) can still use the `/p/anthropic/v1/messages` passthrough. A future optimization + Anthropic provider is translated Anthropic → `core.ChatRequest` → Anthropic. Prompt-cache + controls survive on supported request, system/content, custom-tool, and tool-history + locations, but thinking signatures and server tools do not. Mitigation: clients needing + byte-exact Anthropic fidelity can still use the `/p/anthropic/v1/messages` passthrough. A future optimization could add an Anthropic → Anthropic fast path that skips the canonical hop. - **count_tokens is an estimate**, typically within ~10–25% of a tokenizer-exact count, and is not model-specific. Mitigation: documented clearly; adequate for budgeting/UX sizing, not for diff --git a/docs/advanced/anthropic-messages-api.mdx b/docs/advanced/anthropic-messages-api.mdx index 7a3f9a3df..2bb85c43a 100644 --- a/docs/advanced/anthropic-messages-api.mdx +++ b/docs/advanced/anthropic-messages-api.mdx @@ -115,8 +115,8 @@ is recorded under the `/v1/messages` endpoint so it can be filtered in the dashb `/v1/messages` translates through GoModel's canonical chat type. Anthropic-specific features that have no canonical equivalent are not preserved end to end: -- **`cache_control` breakpoints** are dropped — prompt-caching cost benefits are not - carried through the canonical hop. +- **`cache_control`** is preserved on the request, system/content blocks, + custom tools, and tool-use/tool-result history when routed to Anthropic. - **Extended-thinking signatures** and `thinking` blocks on input messages are dropped. - **Server/built-in tools** (web search, code execution, …) are rejected with a clear `400`; only custom tools (`type` absent or `"custom"`) translate. @@ -137,7 +137,7 @@ features that have no canonical equivalent are not preserved end to end: streaming `message_start` event; the authoritative counts arrive in the final `message_delta` event, which SDK accumulators prefer. -For byte-exact Anthropic fidelity (including prompt-cache breakpoints), use the +For byte-exact Anthropic fidelity beyond the supported cache controls, use the `/p/anthropic/v1/messages` passthrough route instead. See [ADR-0007](https://github.com/ENTERPILOT/GoModel/blob/main/docs/adr/0007-anthropic-messages-ingress.md) diff --git a/docs/dev/2026-07-17_anthropic-sdk-compat-findings.md b/docs/dev/2026-07-17_anthropic-sdk-compat-findings.md index 7ad434e9f..3c8c54753 100644 --- a/docs/dev/2026-07-17_anthropic-sdk-compat-findings.md +++ b/docs/dev/2026-07-17_anthropic-sdk-compat-findings.md @@ -23,7 +23,7 @@ Models exercised (cheap/free tiers): `openai/gpt-4o-mini`, `gemini/gemini-2.5-fl | F3 message_start usage=0 | **Fixed (best effort)** — `message_start` now carries the chars/4 heuristic estimate; authoritative usage still lands in `message_delta`, which SDK accumulators prefer. | | F4 models list shape | **Fixed** — `GET /v1/models` renders the Anthropic list shape (`type`, `display_name`, `created_at`, `has_more`/`first_id`/`last_id`) when the request carries the `anthropic-version` header Anthropic SDKs always send. | | F5 non-canonical 404 | **Fixed** — unknown routes return the canonical error envelope, Anthropic-shaped for Anthropic-dialect callers (`e.RouteNotFound` + `handleRouteNotFound`). Messages batches API itself stays unimplemented, now documented. | -| F6 cache_control dropped | **Documented** (`docs/advanced/anthropic-messages-api.mdx`) — real propagation needs cache-breakpoint representation in the canonical type; use `/p/anthropic` for prompt caching. | +| F6 cache_control dropped | **Fixed 2026-07-31** — request, system/content block, custom-tool, tool-use, and tool-result controls survive the canonical hop to Anthropic. | | F7 heuristic count_tokens | **Documented** — passthrough gives exact counts. | | F8 unsigned thinking blocks | **Documented** — by design; replay against the gateway works. | @@ -101,14 +101,14 @@ works perfectly (10 models, `claude-sonnet-5` first). (b) unknown-route 404s under `/v1/` could use the canonical error envelope so SDK clients raise a clean typed error. -### F6 — `cache_control` accepted but silently dropped · limitation +### F6 — `cache_control` accepted but silently dropped · fixed 2026-07-31 `cache_control` markers on system/content blocks are tolerated (no 400 — good), but the translation flattens system prompts to plain strings and drops the markers, so **prompt caching never activates**, even when the request routes to the Anthropic provider. Usage responses show no cache fields. Fine for correctness, costs money for heavy users. -Worth documenting; propagating breakpoints on the anthropic-provider path would be the -real fix. +The canonical representation now retains these controls in metadata and the Anthropic +provider restores them at every supported wire location. ### F7 — `count_tokens` is heuristic · documented, keep an eye on it diff --git a/docs/features/session-keeping.mdx b/docs/features/session-keeping.mdx index ac006ab78..44b42d3d6 100644 --- a/docs/features/session-keeping.mdx +++ b/docs/features/session-keeping.mdx @@ -10,6 +10,9 @@ uses it in two places: - **Sticky load balancing** — a load-balanced virtual model routes every request of a session to the target that served it first, which keeps provider prompt caches warm and model behavior consistent mid-conversation. +- **Sticky API-key selection** — when one provider has several keys, every + request in a detected session uses the same key, preserving provider + prompt-cache affinity. - **Threaded audit logs** — the dashboard's Audit Logs page groups a session's requests into one thread: the latest request as the row, with an expander that unfolds the older requests beneath it. @@ -84,6 +87,11 @@ Pins are in-memory per instance (like rate-limit counters): after a restart or on another replica, the next request of a session simply re-pins. Idle sessions expire after 6 hours. +API-key affinity is deterministic rather than stored, so the same ordered key +set selects the same key across replicas and restarts. Disable it per provider +with `session_sticky_keys: false` or the dashboard's **Session-sticky API keys** +checkbox. Requests with no detected session remain round robin. + ## Threaded audit logs Audit entries record the session id (`session_id`), and the Audit Logs page diff --git a/docs/providers/key-rotation.mdx b/docs/providers/key-rotation.mdx index 96bd66823..a13e51902 100644 --- a/docs/providers/key-rotation.mdx +++ b/docs/providers/key-rotation.mdx @@ -1,29 +1,23 @@ --- title: "API Key Rotation" -description: "Give one provider several API keys and spread requests across them round robin to lift per-key rate limits." +description: "Give one provider several API keys, spread sessions across them, and preserve prompt-cache affinity." icon: "key-round" keywords: ["API key rotation", "multiple API keys", "round robin", "rate limits"] --- A provider normally holds one API key, and every request to it uses that key. -Configure more than one and GoModel spreads requests across them round robin, so -each key carries a fraction of the traffic. This raises the per-key rate limits -you hit before the provider starts returning `429`. +Configure more than one and GoModel spreads identified sessions across them. Each +conversation stays on one key by default, so it can keep hitting the provider's +prompt cache while each key still carries a fraction of the overall traffic. Rotation is off until a second key is configured. One key behaves exactly as it always has. - - **Rotation defeats provider prompt caching.** Providers scope their prompt - cache to the API key that created it, so consecutive requests sent under - different keys never hit a warm cache. Expect higher cost and slower - time-to-first-token on workloads with long, repeated prefixes — system - prompts, few-shot examples, long documents, or coding agents replaying a - conversation. - - Rotate when you are rate limited. Do not rotate to save money on cached - prompts; it does the opposite. - + + Requests without a detected session still rotate round robin. See + [Session Keeping](/features/session-keeping) for supported session headers, + body fields, and automatic conversation detection. + ## Configure @@ -36,8 +30,8 @@ OPENAI_API_KEY_2=sk-second OPENAI_API_KEY_3=sk-third ``` -Three keys, so requests to `openai` cycle `sk-first` → `sk-second` → -`sk-third` → `sk-first` → … +Three keys, so different sessions distribute deterministically across the three +keys; every request in one session selects the same key. Or in `config.yaml`: @@ -53,6 +47,17 @@ providers: `api_key` and `api_keys` may be combined; `api_key` is used first. +To restore strict per-request round robin, opt out for that provider: + +```yaml +providers: + openai: + session_sticky_keys: false +``` + +The same setting is the **Session-sticky API keys** checkbox in the dashboard's +provider editor. It is checked by default. + Any provider that authenticates with an API key can rotate — `ANTHROPIC_API_KEY_2`, `GEMINI_API_KEY_2`, `GROQ_API_KEY_2`, and so on. Providers that authenticate another way (Vertex AI and Bedrock, which use Google and AWS credentials) ignore @@ -73,9 +78,8 @@ these variables. provider left with no keys at all is not registered. - Keys rotate per outbound HTTP request, including retries. A request that a - provider rejects with `429` is retried under the next key rather than the one - that was just throttled. + With session stickiness enabled, retries use the session's pinned key. With + stickiness disabled, every outbound attempt participates in round robin. ## Rotation on suffixed providers @@ -99,10 +103,10 @@ provider suffix, not a key number. ## What rotation covers -Every call GoModel makes to the provider draws the next key: chat completions, -responses, embeddings, audio, images, batches, and provider-native -[passthrough routes](/features/passthrough-api). Realtime websocket sessions pick a -key when the session opens and keep it for the life of that session. +Every call GoModel makes to the provider uses the same selection policy: chat +completions, responses, embeddings, audio, images, batches, provider-native +[passthrough routes](/features/passthrough-api), and realtime sessions. Identified +sessions are sticky; sessionless traffic is round robin. Rotation is per gateway process. Counters live in memory and reset on restart, so `N` replicas each rotate independently — which is fine, since the goal is to @@ -116,14 +120,13 @@ Both let you use several keys of one provider type. They solve different problem | --- | --- | --- | | Config | `OPENAI_API_KEY_2` | `OPENAI_EAST_API_KEY` | | Model IDs | unchanged (`gpt-4o`) | provider-qualified (`openai-east/gpt-4o`) | -| Routing | automatic, round robin | caller picks, or a [virtual model](/features/virtual-models) balances | -| Prompt caching | lost | preserved per provider | +| Routing | automatic, sticky by session | caller picks, or a [virtual model](/features/virtual-models) balances | +| Prompt caching | preserved for identified sessions | preserved per provider | | Use it for | lifting rate limits on one account | separate accounts, regions, or base URLs | -If you want several keys *and* prompt caching, register them as suffixed -providers and put a `round_robin` [virtual model](/features/virtual-models) in -front. Each provider keeps its own key, so each keeps its own warm cache, at the -cost of qualified model IDs and more configuration. +Separate providers are still useful when keys point at different accounts, +regions, base URLs, or model catalogs. They are no longer required merely to +preserve prompt caching across several keys. ## Verify diff --git a/docs/providers/overview.mdx b/docs/providers/overview.mdx index 602a77a44..ce0ac1193 100644 --- a/docs/providers/overview.mdx +++ b/docs/providers/overview.mdx @@ -123,8 +123,8 @@ support, not every individual model capability exposed by an upstream provider. - **vLLM** — set `VLLM_API_KEY` only if the upstream server was started with `--api-key`. - **Multiple API keys for one provider** — set `OPENAI_API_KEY_2`, - `OPENAI_API_KEY_3`, and so on to spread requests across keys round robin and - lift per-key rate limits. This costs you provider prompt caching; see + `OPENAI_API_KEY_3`, and so on to spread sessions across keys while keeping + each conversation on one key for prompt-cache affinity. See [API key rotation](/providers/key-rotation). - **Multiple instances of one provider type** — without `config.yaml`, use suffixed env vars such as `OPENAI_EAST_API_KEY` and `OPENAI_EAST_BASE_URL`; diff --git a/internal/admin/dashboard/static/dist/assets/index-ClpBYKZR.js b/internal/admin/dashboard/static/dist/assets/index-ClpBYKZR.js new file mode 100644 index 000000000..edb1f1699 --- /dev/null +++ b/internal/admin/dashboard/static/dist/assets/index-ClpBYKZR.js @@ -0,0 +1,68 @@ +var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){for(var t=0;t{e=n,t=r}),resolve:e,reject:t}}function _(e,t,n=!1){return e===void 0?n?t():t:e}function v(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var y=1<<24,b=1024,x=2048,S=4096,C=8192,w=16384,ee=32768,te=1<<25,ne=65536,re=1<<19,ie=1<<20,ae=1<<25,oe=65536,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`legacy props`),fe=Symbol(``),pe=Symbol(`attributes`),me=Symbol(`class`),he=Symbol(`style`),ge=Symbol(`text`),_e=Symbol(`form reset`),ve=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ye=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function be(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function xe(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Se(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ce(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function we(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Te(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ee(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function De(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Oe(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function ke(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ae(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var je={},Me=Symbol(`uninitialized`),Ne=`http://www.w3.org/1999/xhtml`,Pe=`http://www.w3.org/2000/svg`,Fe=`http://www.w3.org/1998/Math/MathML`;function Ie(){console.warn(`https://svelte.dev/e/derived_inert`)}function Le(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Re(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function ze(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var Be=!1;function Ve(e){Be=e}var He;function Ue(e){if(e===null)throw Le(),je;return He=e}function We(){return Ue(Sn(He))}function T(e){if(Be){if(Sn(He)!==null)throw Le(),je;He=e}}function Ge(e=1){if(Be){for(var t=e,n=He;t--;)n=Sn(n);He=n}}function Ke(e=!0){for(var t=0,n=He;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Sn(n);e&&n.remove(),n=i}}function qe(e){if(!e||e.nodeType!==8)throw Le(),je;return e.data}function Je(e){return e===this.v}function Ye(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Xe(e){return!Ye(e,this.v)}var Ze=null;function Qe(e){Ze=e}function E(e,t=!1,n){Ze={p:Ze,i:!1,c:null,e:null,s:e,x:null,r:or,l:null}}function D(e){var t=Ze,n=t.e;if(n!==null){t.e=null;for(var r of n)Nn(r)}return e!==void 0&&(t.x=e),t.i=!0,Ze=t.p,e??{}}function $e(){return!0}var et=[];function tt(){var e=et;et=[],h(e)}function nt(e){if(et.length===0&&!Vt){var t=et;queueMicrotask(()=>{t===et&&tt()})}et.push(e)}function rt(){for(;et.length>0;)tt()}function it(e){var t=or;if(t===null)return rr.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;at(e,t)}function at(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}var ot=~(x|S|b);function st(e,t){e.f=e.f&ot|t}function ct(e){e.f&512||e.deps===null?st(e,b):st(e,S)}function lt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=oe,lt(t.deps))}function ut(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),lt(e.deps),st(e,b)}var dt=!1;function ft(e){var t=dt;try{return dt=!1,[e(),dt]}finally{dt=t}}function pt(e,t){if(t){let t=document.body;e.autofocus=!0,nt(()=>{document.activeElement===t&&e.focus()})}}function mt(e){Be&&xn(e)!==null&&Cn(e)}var ht=!1;function gt(){ht||(ht=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[_e]?.()})},{capture:!0}))}function _t(e){var t=rr,n=or;ar(null),sr(null);try{return e()}finally{ar(t),sr(n)}}function vt(e,t,n,r=n){e.addEventListener(t,()=>_t(n));let i=e[_e];i?e[_e]=()=>{i(),r(!0)}:e[_e]=()=>r(!0),gt()}function yt(e){let t=0,n=sn(0),r;return()=>{An()&&(I(n),Rn(()=>(t===0&&(r=Or(()=>e(()=>dn(n)))),t+=1,()=>{nt(()=>{--t,t===0&&(r?.(),r=void 0,dn(n))})})))}}var bt=ne|re;function xt(e,t,n,r){new St(e,t,n,r)}var St=class{parent;is_pending=!1;transform_error;#e;#t=Be?He:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=yt(()=>(this.#m=sn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=or;t.b=this,t.f|=128,n(e)},this.parent=or.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=zn(()=>{if(Be){let e=this.#t;We();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},bt),Be&&(this.#e=He)}#g(){try{this.#a=Vn(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=Vn(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=Vn(()=>e(this.#e)),nt(()=>{var e=this.#c=document.createDocumentFragment(),t=bn();e.append(t),this.#a=this.#x(()=>Vn(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Jn(this.#o,()=>{this.#o=null}),this.#b(Lt))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=Vn(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Qn(this.#a,e);let t=this.#n.pending;this.#o=Vn(()=>t(this.#e))}else this.#b(Lt)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){ut(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=or,n=rr,r=Ze;sr(this.#i),ar(this.#i),Qe(this.#i.ctx);try{return qt.ensure(),e()}catch(e){return it(e),null}finally{sr(t),ar(n),Qe(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Jn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,nt(()=>{this.#d=!1,this.#m&&ln(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),I(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;Lt?.is_fork?(this.#a&&Lt.skip_effect(this.#a),this.#o&&Lt.skip_effect(this.#o),this.#s&&Lt.skip_effect(this.#s),Lt.oncommit(()=>{this.#C(e)})):this.#C(e)}#C(e){this.#a&&=(Gn(this.#a),null),this.#o&&=(Gn(this.#o),null),this.#s&&=(Gn(this.#s),null),Be&&(Ue(this.#t),Ge(),Ue(Ke()));var t=this.#n.onerror;let n=this.#n.failed;var r=!1,i=!1;let a=()=>{if(r){ze();return}r=!0,i&&Ae(),this.#s!==null&&Jn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){at(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return Vn(()=>{var t=or;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return at(e,this.#i.parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(e){at(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>at(e,this.#i&&this.#i.parent)):o(t)})}};function Ct(e,t,n,r){let i=$e()?Dt:At;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=or,c=wt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){at(e,s)}Tt()}}var d=Et();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>kt(e))).then(u).catch(e=>at(e,s)).finally(d)}l?l.then(()=>{c(),f(),Tt()}):f()}function wt(){var e=or,t=rr,n=Ze,r=Lt;return function(i=!0){sr(e),ar(t),Qe(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Tt(e=!0){sr(null),ar(null),Qe(null),e&&Lt?.deactivate()}function Et(){var e=or,t=e.b,n=Lt,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Dt(e){var t=2|x;return or!==null&&(or.f|=re),{ctx:Ze,deps:null,effects:null,equals:Je,f:t,fn:e,reactions:null,rv:0,v:Me,wv:0,parent:or,ac:null}}var Ot=Symbol(`obsolete`);function kt(e,t,n){let r=or;r===null&&be();var i=void 0,a=sn(Me),o=!rr,s=new Set;return Ln(()=>{var t=or,n=g();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==ve&&n.reject(e)}).finally(Tt)}catch(e){n.reject(e),Tt()}var c=Lt;if(o){if(t.f&32768)var l=Et();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Ot);else for(let e of s.values())e.reject(Ot);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Ot&&(c.activate(),t?(a.f|=le,ln(a,t)):(a.f&8388608&&(a.f^=le),ln(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),jn(()=>{for(let e of s)e.reject(Ot)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function O(e){let t=Dt(e);return lr(t),t}function At(e){let t=Dt(e);return t.equals=Xe,t}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n{t.ac.abort(ve),t.ac=null}),t.fn!==null&&(t.teardown=m),Cr(t,0),Un(t))}function Ft(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&wr(t)}var It=null,Lt=null,Rt=null,zt=null,Bt=null,Vt=!1,Ht=!1,Ut=null,Wt=null,Gt=0,Kt=1,qt=class e{id=Kt++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){It===null?It=this:(It.#n=this,this.#t=It),It=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)st(r,x),t(r);for(r of n.m)st(r,S),t(r)}this.#p.add(e)}#g(){this.#e=!0,Gt++>1e3&&(this.#x(),Yt());for(let e of this.#u)this.#d.delete(e),st(e,x),this.schedule(e);for(let e of this.#d)st(e,S),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=Ut=[],r=[],i=Wt=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw nn(e),this.#h()||this.discard(),t}if(Lt=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Ut=null,Wt=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)tn(e,t);i.length>0&&Lt.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),Rt=this,Zt(r),Zt(n),Rt=null,this.#s?.resolve();var s=Lt;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0)if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this;s!==null&&s.#g()}#_(e,t,n){e.f^=b;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=b:i&4?t.push(r):yr(r)&&(i&16&&this.#d.add(r),wr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),st(i,x),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),Lt=this,this.#g()}#b(e){for(var t=0;t{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=g()).promise}static ensure(){if(Lt===null){let t=Lt=new e;!Ht&&!Vt&&nt(()=>{t.#e||t.flush()})}return Lt}apply(){zt=null}schedule(e){if(Bt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut!==null&&t===or&&(rr===null||!(rr.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=b}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?It=e:t.#t=e,this.linked=!1}}};function Jt(e){var t=Vt;Vt=!0;try{var n;for(e&&(Lt!==null&&!Lt.is_fork&&Lt.flush(),n=e());;){if(rt(),Lt===null)return n;Lt.flush()}}finally{Vt=t}}function Yt(){try{Te()}catch(e){at(e,Bt)}}var Xt=null;function Zt(e){var t=e.length;if(t!==0){for(var n=0;n0)){an.clear();for(let e of Xt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)Xt.has(n)&&(Xt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||wr(n)}}Xt.clear()}}Xt=null}}function Qt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Qt(i,t,n,r):e&4194320&&!(e&2048)&&$t(i,t,r)&&(st(i,x),en(i))}}function $t(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(i.call(t,r))return!0;if(r.f&2&&$t(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function en(e){Lt.schedule(e)}function tn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),st(e,b);for(var n=e.first;n!==null;)tn(n,t),n=n.next}}function nn(e){st(e,b);for(var t=e.first;t!==null;)nn(t),t=t.next}var rn=new Set,an=new Map,on=!1;function sn(e,t){return{f:0,v:e,reactions:null,equals:Je,rv:0,wv:0}}function k(e,t){let n=sn(e,t);return lr(n),n}function cn(e,t=!1,n=!0){let r=sn(e);return t||(r.equals=Xe),r}function A(e,t,n=!1){return rr!==null&&(!ir||rr.f&131072)&&$e()&&rr.f&4325394&&(cr===null||!cr.has(e))&&ke(),ln(e,n?j(t):t,Wt)}function ln(e,t,n=null){if(!e.equals(t)){an.set(e,tr?t:e.v);var r=qt.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Mt(t),zt===null&&ct(t)}e.wv=vr(),fn(e,x,n),$e()&&or!==null&&or.f&1024&&!(or.f&96)&&(fr===null?pr([e]):fr.push(e)),!r.is_fork&&rn.size>0&&!on&&un()}return t}function un(){on=!1;for(let e of rn){e.f&1024&&st(e,S);let t;try{t=yr(e)}catch{t=!0}t&&wr(e)}rn.clear()}function dn(e){A(e,e.v+1)}function fn(e,t,n){var r=e.reactions;if(r!==null)for(var i=$e(),a=r.length,o=0;o{if(gr===c)return e();var t=rr,n=gr;ar(null),_r(c);var r=e();return ar(t),_r(n),r};return i&&r.set(`length`,k(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&De();var i=r.get(t);return i===void 0?f(()=>{var e=k(n.value,o);return r.set(t,e),e}):A(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>k(Me,o));r.set(t,e),dn(a)}}else A(n,Me),dn(a);return!0},get(t,n,i){if(n===ue)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>k(j(c?t[n]:Me),o)),r.set(n,a)),a!==void 0){var l=I(a);return l===Me?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=I(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==Me)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===ue)return!0;var n=r.get(t),i=n!==void 0&&n.v!==Me||Reflect.has(e,t);return(n!==void 0||or!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>k(i?j(e[t]):Me,o)),r.set(t,n)),I(n)===Me)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;dk(Me,o)),r.set(d+``,p)):A(p,Me)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>k(void 0,o)),A(l,j(n)),r.set(t,l));else{u=l.v!==Me;var m=f(()=>j(n));A(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&A(g,_+1)}dn(a)}return!0},ownKeys(e){I(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==Me});for(var[n,i]of r)i.v!==Me&&!(n in e)&&t.push(n);return t},setPrototypeOf(){Oe()}})}function pn(e){try{if(typeof e==`object`&&e&&ue in e)return e[ue]}catch{}return e}function mn(e,t){return Object.is(pn(e),pn(t))}var hn,gn,_n,vn;function yn(){if(hn===void 0){hn=window,gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;_n=s(t,`firstChild`).get,vn=s(t,`nextSibling`).get,f(e)&&(e[me]=void 0,e[pe]=null,e[he]=void 0,e.__e=void 0),f(n)&&(n[ge]=void 0)}}function bn(e=``){return document.createTextNode(e)}function xn(e){return _n.call(e)}function Sn(e){return vn.call(e)}function M(e,t){if(!Be)return xn(e);var n=xn(He);if(n===null)n=He.appendChild(bn());else if(t&&n.nodeType!==3){var r=bn();return n?.before(r),Ue(r),r}return t&&En(n),Ue(n),n}function N(e,t=!1){if(!Be){var n=xn(e);return n instanceof Comment&&n.data===``?Sn(n):n}if(t){if(He?.nodeType!==3){var r=bn();return He?.before(r),Ue(r),r}En(He)}return He}function P(e,t=1,n=!1){let r=Be?He:e;for(var i;t--;)i=r,r=Sn(r);if(!Be)return r;if(n){if(r?.nodeType!==3){var a=bn();return r===null?i?.after(a):r.before(a),Ue(a),a}En(r)}return Ue(r),r}function Cn(e){e.textContent=``}function wn(){return!1}function Tn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function En(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Dn(e){or===null&&(rr===null&&we(e),Ce()),tr&&Se(e)}function On(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function kn(e,t){var n=or;n!==null&&n.f&8192&&(e|=C);var r={ctx:Ze,deps:null,nodes:null,f:e|x|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};Lt?.register_created_effect(r);var i=r;if(e&4)Ut===null?qt.ensure().schedule(r):Ut.push(r);else if(t!==null){try{wr(r)}catch(e){throw Gn(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ne))}if(i!==null&&(i.parent=n,n!==null&&On(i,n),rr!==null&&rr.f&2&&!(e&64))){var a=rr;(a.effects??=[]).push(i)}return r}function An(){return rr!==null&&!ir}function jn(e){let t=kn(8,null);return st(t,b),t.teardown=e,t}function Mn(e){Dn(`$effect`);var t=or.f;if(!rr&&t&32&&Ze!==null&&!Ze.i){var n=Ze;(n.e??=[]).push(e)}else return Nn(e)}function Nn(e){return kn(4|ie,e)}function Pn(e){qt.ensure();let t=kn(64|re,e);return()=>{Gn(t)}}function Fn(e){qt.ensure();let t=kn(64|re,e);return(e={})=>new Promise(n=>{e.outro?Jn(t,()=>{Gn(t),n(void 0)}):(Gn(t),n(void 0))})}function In(e){return kn(4,e)}function Ln(e){return kn(ce|re,e)}function Rn(e,t=0){return kn(8|t,e)}function F(e,t=[],n=[],r=[]){Ct(r,t,n,t=>{kn(8,()=>{e(...t.map(I))})})}function zn(e,t=0){return kn(16|t,e)}function Bn(e,t=0){return kn(y|t,e)}function Vn(e){return kn(32|re,e)}function Hn(e){var t=e.teardown;if(t!==null){let e=tr,n=rr;nr(!0),ar(null);try{t.call(null)}finally{nr(e),ar(n)}}}function Un(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&_t(()=>{e.abort(ve)});var r=n.next;n.f&64?n.parent=null:Gn(n,t),n=r}}function Wn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||Gn(t),t=n}}function Gn(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Kn(e.nodes.start,e.nodes.end),n=!0),e.f|=te,Un(e,t&&!n),Cr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Hn(e),e.f^=te,e.f|=w;var i=e.parent;i!==null&&i.first!==null&&qn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Kn(e,t){for(;e!==null;){var n=e===t?null:Sn(e);e.remove(),e=n}}function qn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Jn(e,t,n=!0){var r=[];Yn(e,r,!0);var i=()=>{n&&Gn(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Yn(e,t,n){if(!(e.f&8192)){e.f^=C;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Yn(i,t,o?n:!1)}i=a}}}function Xn(e){Zn(e,!0)}function Zn(e,t){if(e.f&8192){e.f^=C,e.f&1024||(st(e,x),qt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Zn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Qn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Sn(n);t.append(n),n=i}}var $n=null,er=!1,tr=!1;function nr(e){tr=e}var rr=null,ir=!1;function ar(e){rr=e}var or=null;function sr(e){or=e}var cr=null;function lr(e){rr!==null&&(cr??=new Set).add(e)}var ur=null,dr=0,fr=null;function pr(e){fr=e}var mr=1,hr=0,gr=hr;function _r(e){gr=e}function vr(){return++mr}function yr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~oe),t&4096){for(var n=e.deps,r=n.length,i=0;ie.wv)return!0}t&512&&zt===null&&st(e,b)}return!1}function br(e,t,n=!0){var r=e.reactions;if(r!==null&&!(cr!==null&&cr.has(e)))for(var i=0;i{e.ac.abort(ve)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=ee;var f=e.deps,p=Lt?.is_fork;if(ur!==null){var m;if(p||Cr(e,dr),f!==null&&dr>0)for(f.length=dr+ur.length,m=0;m{s.ac.abort(ve),s.ac=null,st(s,x)}),Pt(s),Cr(s,0)}}function Cr(e,t){var n=e.deps;if(n!==null)for(var r=t;rn?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?nt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Vr(e,t,n,r,i){var a={capture:r,passive:i},o=Br(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&jn(()=>{t.removeEventListener(e,o,a)})}function L(e,t,n){(t[Lr]??={})[e]=n}function Hr(e){for(var t=0;t{throw e});throw p}}finally{e[Lr]=t,delete e.currentTarget,ar(d),sr(f)}}}var Gr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Kr(e){return Gr?.createHTML(e)??e}function qr(e){var t=Tn(`template`);return t.innerHTML=Kr(e.replaceAll(``,``)),t.content}function Jr(e,t){var n=or;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function R(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(``);return()=>{if(Be)return Jr(He,null),He;i===void 0&&(i=qr(a?e:``+e),n||(i=xn(i)));var t=r||gn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=xn(t),s=t.lastChild;Jr(o,s)}else Jr(t,t);return t}}function Yr(e,t,n=`svg`){var r=!e.startsWith(``),i=(t&1)!=0,a=`<${n}>${r?e:``+e}`,o;return()=>{if(Be)return Jr(He,null),He;if(!o){var e=xn(qr(a));if(i)for(o=document.createDocumentFragment();xn(e);)o.appendChild(xn(e));else o=xn(e)}var t=o.cloneNode(!0);if(i){var n=xn(t),r=t.lastChild;Jr(n,r)}else Jr(t,t);return t}}function Xr(e,t){return Yr(e,t,`svg`)}function Zr(e=``){if(!Be){var t=bn(e+``);return Jr(t,t),t}var n=He;return n.nodeType===3?En(n):(n.before(n=bn()),Ue(n)),Jr(n,n),n}function Qr(){if(Be)return Jr(He,null),He;var e=document.createDocumentFragment(),t=document.createComment(``),n=bn();return e.append(t,n),Jr(t,n),e}function z(e,t){if(Be){var n=or;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=He),We();return}e!==null&&e.before(t)}var $r=!0;function B(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[ge]??=e.nodeValue)&&(e[ge]=n,e.nodeValue=`${n}`)}function ei(e,t){return ni(e,t)}var ti=new Map;function ni(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){yn();var l=void 0,u=Fn(()=>{var u=n??t.appendChild(bn());xt(u,{pending:()=>{}},t=>{E({});var n=Ze;if(o&&(n.c=o),i&&(r.$$events=i),Be&&Jr(t,null),$r=s,l=e(t,r)||{},$r=!0,Be&&(or.nodes.end=He,He===null||He.nodeType!==8||He.data!==`]`))throw Le(),je;D()},c);var d=new Set,f=e=>{for(var n=0;n{for(var e of d)for(let n of[t,document]){var r=ti.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Wr),r.delete(e),r.size===0&&ti.delete(n)):r.set(e,i)}zr.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return ri.set(l,u),l}var ri=new WeakMap,ii=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Xn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(Xn(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(Gn(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Qn(r,t),t.append(bn()),this.#n.set(e,{effect:r,fragment:t})}else Gn(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Jn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(Gn(n.effect),this.#n.delete(e))};ensure(e,t){var n=Lt,r=wn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=bn();i.append(a),this.#n.set(e,{effect:Vn(()=>t(a)),fragment:i})}else this.#t.set(e,Vn(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else Be&&(this.anchor=He),this.#a(n)}};function V(e,t,n=!1){var r;Be&&(r=He,We());var i=new ii(e),a=n?ne:0;function o(e,t){if(Be){var n=qe(r);if(e!==parseInt(n.substring(1))){var a=Ke();Ue(a),i.anchor=a,Ve(!1),i.ensure(e,t),Ve(!0);return}}i.ensure(e,t)}zn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function ai(e,t){return t}function oi(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;si(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;Cn(d),d.append(u),e.items.clear()}si(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function si(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,ui(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=ae,fi(d,null,c)):Xn(d):Jn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:zn(()=>{p=I(f);var e=p.length;let n=!1;Be&&qe(c)===`[!`!=(e===0)&&(c=Ke(),Ue(c),Ve(!1),n=!0);for(var a=new Set,u=Lt,v=wn(),y=0;ys(c)):(d=Vn(()=>s(ci??=bn())),d.f|=ae)),e>a.size&&xe(``,``,``),Be&&e>0&&Ue(Ke()),!h)if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);n&&Ve(!0),I(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,Be&&(c=He)}function li(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function ui(e,t,n,r,i){var o=(r&8)!=0,s=t.length,c=e.items,l=li(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v0){var te=r&4&&s===0?n:null;if(o){for(v=0;v{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function di(e,t,n,r,i,a,o,s){var c=o&1?o&16?sn(n):cn(n,!1,!1):null,l=o&2?sn(i):null;return{v:c,i:l,e:Vn(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function fi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=Sn(r);if(a.before(r),r===i)return;r=o}}function pi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function mi(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;Be&&(o=Ue(xn(c)))}F(()=>{var e=or;if(s===(s=t()??``)){Be&&We();return}if(n&&!Be){e.nodes=null,c.innerHTML=s,s!==``&&Jr(xn(c),c.lastChild);return}if(e.nodes!==null&&(Kn(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(Be){for(var a=He.data,l=We(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=Sn(l);if(l===null)throw Le(),je;Jr(He,u),o=Ue(l);return}var d=Tn(r?`svg`:i?`math`:`template`,r?Pe:i?Fe:void 0);d.innerHTML=s;var f=r||i?d:d.content;if(Jr(xn(f),f.lastChild),r||i)for(;xn(f);)o.before(xn(f));else o.before(f)}})}function hi(e,t,...n){var r=new ii(e);zn(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ne)}function gi(e,t,n){var r;Be&&(r=He,We());var i=new ii(e);zn(()=>{var e=t()??null;if(Be&&qe(r)===`[`!=(e!==null)){var a=Ke();Ue(a),i.anchor=a,Ve(!1),i.ensure(e,e&&(t=>n(t,e))),Ve(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ne)}var _i=()=>performance.now(),vi={tick:e=>requestAnimationFrame(e),now:()=>_i(),tasks:new Set};function yi(){let e=vi.now();vi.tasks.forEach(t=>{t.c(e)||(vi.tasks.delete(t),t.f())}),vi.tasks.size!==0&&vi.tick(yi)}function bi(e){let t;return vi.tasks.size===0&&vi.tick(yi),{promise:new Promise(n=>{vi.tasks.add(t={c:e,f:n})}),abort(){vi.tasks.delete(t)}}}function xi(e,t){_t(()=>{e.dispatchEvent(new CustomEvent(t))})}function Si(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function Ci(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=Si(n.trim());t[i]=r.trim()}return t}var wi=e=>e,Ti=null;function Ei(e,t,n){var r=(Ti??or).nodes,i,a,o,s=null;r.a??={element:e,measure(){i=this.element.getBoundingClientRect()},apply(){if(o?.abort(),a=this.element.getBoundingClientRect(),i.left!==a.left||i.right!==a.right||i.top!==a.top||i.bottom!==a.bottom){let e=t()(this.element,{from:i,to:a},n?.());o=Oi(this.element,e,void 0,1,()=>{},()=>{o?.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:t,width:n,height:r}=getComputedStyle(e);if(t!==`absolute`&&t!==`fixed`){var a=e.style;s={position:a.position,width:a.width,height:a.height,transform:a.transform},a.position=`absolute`,a.width=n,a.height=r;var o=e.getBoundingClientRect();if(i.left!==o.left||i.top!==o.top){var c=`translate(${i.left-o.left}px, ${i.top-o.top}px)`;a.transform=a.transform?`${a.transform} ${c}`:c}}}},unfix(){if(s){var t=e.style;t.position=s.position,t.width=s.width,t.height=s.height,t.transform=s.transform}}},r.a.element=e}function Di(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return _t(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=Oi(t,m(),p,1,()=>{xi(t,`introstart`)},()=>{xi(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=Oi(t,m(),f,0,()=>{xi(t,`outrostart`)},()=>{xi(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=or;if((g.nodes.t??=[]).push(h),i&&$r){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&In(()=>{Or(()=>h.in())})}}function Oi(e,t,n,r,i,a){var o=r===1;if(p(t)){var s,c=!1;return nt(()=>{c||(s=Oi(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{c=!0,s?.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:m,deactivate:m,reset:m,t:()=>r};let{delay:l=0,css:u,tick:d,easing:f=wi}=t;var h=[];if(o&&n===void 0&&(d&&d(0,1),u)){var g=Ci(u(0,1));h.push(g,g)}var _=()=>1-r,v=e.animate(h,{duration:l,fill:`forwards`});return v.onfinish=()=>{v.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var p=!1;if(u)for(var m=Math.ceil(c/(1e3/60)),h=0;h<=m;h+=1){var g=o+s*f(h/m),y=Ci(u(g,1-g));l.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),_=()=>{var e=v.currentTime;return o+s*f(e/c)},d&&bi(()=>{if(v.playState!==`running`)return!1;var e=_();return d(e,1-e),!0})}v=e.animate(l,{duration:c,fill:`forwards`}),v.onfinish=()=>{_=()=>r,d?.(r,1-r),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=m)},deactivate:()=>{a=m},reset:()=>{r===0&&d?.(1,0)},t:()=>_()}}function ki(e,t){var n=void 0,r;Bn(()=>{n!==(n=t())&&(r&&=(Gn(r),null),n&&(r=Vn(()=>{In(()=>n(e))})))})}function Ai(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t=0;){var s=o+a;(o===0||Ni.includes(r[o-1]))&&(s===r.length||Ni.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Fi(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ii(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Li(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ii)),i&&c.push(...Object.keys(i).map(Ii));var l=0,u=-1;let t=e.length;for(var d=0;d{Bi(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),jn(()=>{t.disconnect()})}function Hi(e,t,n=t){var r=new WeakSet,i=!0;vt(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),Ui);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&Ui(o)}n(a),e.__value=a,Lt!==null&&r.add(Lt)}),In(()=>{var a=t();if(e===document.activeElement){var o=Lt;if(r.has(o))return}if(Bi(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=Ui(s),n(a))}e.__value=a,i=!1}),Vi(e)}function Ui(e){return`__value`in e?e.__value:e.value}var Wi=Symbol(`class`),Gi=Symbol(`style`),Ki=Symbol(`is custom element`),qi=Symbol(`is html`),Ji=ye?`link`:`LINK`,Yi=ye?`input`:`INPUT`,Xi=ye?`option`:`OPTION`,Zi=ye?`select`:`SELECT`,Qi=ye?`progress`:`PROGRESS`;function $i(e){if(Be){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;W(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;W(e,`checked`,null),e.checked=r}}};e[_e]=n,nt(n),gt()}}function ea(e,t){var n=aa(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Qi)||(e.value=t??``)}function ta(e,t){var n=aa(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function na(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function W(e,t,n,r){var i=aa(e);Be&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ji)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[fe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&sa(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ra(e,t,n,r,i=!1,a=!1){if(Be&&i&&e.nodeName===Yi){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||$i(o)}var s=aa(e),c=s[Ki],l=!s[qi];let u=Be&&c;u&&Ve(!1);var d=t||{},f=e.nodeName===Xi;for(var p in t)p in n||(n[p]=null);n.class?n.class=Mi(n.class):(r||n[Wi])&&(n.class=null),n[Gi]&&(n.style??=null);var m=sa(e);if(e.nodeName===Yi&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==d.type||h===void 0&&e.hasAttribute(`type`))&&(d.type=h,W(e,`type`,h,a))}for(let i in n){let o=n[i];if(f&&i===`value`&&o==null){e.value=e.__value=``,d[i]=o;continue}if(i===`class`){U(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Wi],n[Wi]),d[i]=o,d[Wi]=n[Wi];continue}if(i===`style`){zi(e,o,t?.[Gi],n[Gi]),d[i]=o,d[Gi]=n[Gi];continue}var g=d[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){d[i]=o;var _=i[0]+i[1];if(_!==`$$`)if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=jr(r);if(kr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,d[n],t),d[n]=null}if(v)L(r,e,o),Hr([r]);else if(o!=null){function a(e){d[i].call(this,e)}d[n]=Br(r,e,a,t)}}else if(i===`style`)W(e,i,o);else if(i===`autofocus`)pt(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&f)na(e,o);else{var y=i;l||(y=Pr(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b)if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else b||m.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=Me)):typeof o!=`function`&&W(e,y,o,a)}}}return u&&Ve(!0),d}function ia(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Ct(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Zi,l=!1;if(Bn(()=>{var u=t(...n.map(I)),d=ra(e,r,u,a,o,s);l&&c&&`value`in u&&Bi(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||Gn(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&Gn(i[t]),i[t]=Vn(()=>ki(e,()=>f))),d[t]=f}r=d}),c){var u=e;In(()=>{Bi(u,r.value,!0),Vi(u)})}l=!0})}function aa(e){return e[pe]??={[Ki]:e.nodeName.includes(`-`),[qi]:e.namespaceURI===Ne}}var oa=new Map;function sa(e){var t=e.getAttribute(`is`)||e.nodeName,n=oa.get(t);if(n)return n;oa.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=d(i)}return n}function ca(e,t,n=t){var r=new WeakSet;vt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=ua(e)?da(a):a,n(a),Lt!==null&&r.add(Lt),await Tr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(Be&&e.defaultValue!==e.value||Or(t)==null&&e.value)&&(n(ua(e)?da(e.value):e.value),Lt!==null&&r.add(Lt)),Rn(()=>{var n=t();if(e===document.activeElement){var i=Lt;if(r.has(i))return}ua(e)&&n===da(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function la(e,t,n=t){vt(e,`change`,t=>{n(t?e.defaultChecked:e.checked)}),(Be&&e.defaultChecked!==e.checked||Or(t)==null)&&n(e.checked),Rn(()=>{e.checked=!!t()})}function ua(e){var t=e.type;return t===`number`||t===`range`}function da(e){return e===``?null:+e}function fa(e,t){return e===t||e?.[ue]===t}function pa(e={},t,n,r){var i=Ze.r,a=or;return In(()=>{var o,s;return Rn(()=>{o=s,s=r?.()||[],Or(()=>{fa(n(...s),e)||(t(e,...s),o&&fa(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&fa(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}var ma={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function ha(e,t,n){return new Proxy({props:e,exclude:t},ma)}function G(e,t,n,r){var i=!0,a=(n&8)!=0,o=(n&16)!=0,c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Dt(r),I(u)):(l&&(l=!1,c=o?Or(r):r),c);let f;if(a){var p=ue in e||de in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=ft(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Ee(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Dt:At)(()=>(v=!1,g()));a&&I(y);var b=or;return(function(e,t){if(arguments.length>0){let n=t?I(y):i&&a?j(e):e;return A(y,n),v=!0,c!==void 0&&(c=n),e}return tr&&v||b.f&16384?y.v:I(y)})}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var ga=[[`path`,{d:`m14 12 4 4 4-4`}],[`path`,{d:`M18 16V7`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],_a=[[`path`,{d:`m14 11 4-4 4 4`}],[`path`,{d:`M18 16V7`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],va=[[`circle`,{cx:`16`,cy:`4`,r:`1`}],[`path`,{d:`m18 19 1-7-6 1`}],[`path`,{d:`m5 8 3-3 5.5 3-2.36 3.5`}],[`path`,{d:`M4.24 14.5a5 5 0 0 0 6.88 6`}],[`path`,{d:`M13.76 17.5a5 5 0 0 0-6.88-6`}]],ya=[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`}]],ba=[[`path`,{d:`m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16`}],[`path`,{d:`M15.697 14h5.606`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],xa=[[`path`,{d:`M10 13H6`}],[`path`,{d:`M10 15v-4a2 2 0 0 0-4 0v4`}],[`path`,{d:`M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],Sa=[[`path`,{d:`M18 17.5a2.5 2.5 0 1 1-4 2.03V12`}],[`path`,{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 8h12`}],[`path`,{d:`M6.6 15.572A2 2 0 1 0 10 17v-5`}]],Ca=[[`path`,{d:`M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1`}],[`path`,{d:`m12 15 5 6H7Z`}]],wa=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`M9 13h6`}]],Ta=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`m9 13 2 2 4-4`}]],Ea=[[`path`,{d:`M6.87 6.87a8 8 0 1 0 11.26 11.26`}],[`path`,{d:`M19.9 14.25a8 8 0 0 0-9.15-9.15`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.26 18.67 4 21`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4 4 2 6`}]],Da=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}]],Oa=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M12 9v4l2 2`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}]],ka=[[`path`,{d:`M11 21c0-2.5 2-2.5 2-5`}],[`path`,{d:`M16 21c0-2.5 2-2.5 2-5`}],[`path`,{d:`m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8`}],[`path`,{d:`M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 21c0-2.5 2-2.5 2-5`}]],Aa=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`polyline`,{points:`11 3 11 11 14 8 17 11 17 3`}]],ja=[[`path`,{d:`M2 12h20`}],[`path`,{d:`M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4`}],[`path`,{d:`M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4`}],[`path`,{d:`M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1`}]],Ma=[[`path`,{d:`M12 2v20`}],[`path`,{d:`M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4`}],[`path`,{d:`M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4`}],[`path`,{d:`M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1`}],[`path`,{d:`M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1`}]],Na=[[`rect`,{width:`6`,height:`16`,x:`4`,y:`2`,rx:`2`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`9`,rx:`2`}],[`path`,{d:`M22 22H2`}]],Pa=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M17 22v-5`}],[`path`,{d:`M17 7V2`}],[`path`,{d:`M7 22v-3`}],[`path`,{d:`M7 5V2`}]],Fa=[[`rect`,{width:`16`,height:`6`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`9`,height:`6`,x:`9`,y:`14`,rx:`2`}],[`path`,{d:`M22 22V2`}]],Ia=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M10 2v20`}],[`path`,{d:`M20 2v20`}]],La=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M4 2v20`}],[`path`,{d:`M14 2v20`}]],Ra=[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`}],[`path`,{d:`M12 2v20`}]],za=[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`12`,y:`7`,rx:`2`}],[`path`,{d:`M22 2v20`}]],Ba=[[`rect`,{width:`6`,height:`14`,x:`6`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`}],[`path`,{d:`M2 2v20`}]],Va=[[`rect`,{width:`6`,height:`10`,x:`9`,y:`7`,rx:`2`}],[`path`,{d:`M4 22V2`}],[`path`,{d:`M20 22V2`}]],Ha=[[`rect`,{width:`6`,height:`16`,x:`4`,y:`6`,rx:`2`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`6`,rx:`2`}],[`path`,{d:`M22 2H2`}]],Ua=[[`rect`,{width:`6`,height:`14`,x:`3`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`15`,y:`7`,rx:`2`}],[`path`,{d:`M3 2v20`}],[`path`,{d:`M21 2v20`}]],Wa=[[`rect`,{width:`9`,height:`6`,x:`6`,y:`14`,rx:`2`}],[`rect`,{width:`16`,height:`6`,x:`6`,y:`4`,rx:`2`}],[`path`,{d:`M2 2v20`}]],Ga=[[`path`,{d:`M22 17h-3`}],[`path`,{d:`M22 7h-5`}],[`path`,{d:`M5 17H2`}],[`path`,{d:`M7 7H2`}],[`rect`,{x:`5`,y:`14`,width:`14`,height:`6`,rx:`2`}],[`rect`,{x:`7`,y:`4`,width:`10`,height:`6`,rx:`2`}]],Ka=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`}],[`path`,{d:`M2 20h20`}],[`path`,{d:`M2 10h20`}]],qa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M2 4h20`}]],Ja=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`}],[`path`,{d:`M2 12h20`}]],Ya=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`12`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`}],[`path`,{d:`M2 22h20`}]],Xa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`6`,rx:`2`}],[`path`,{d:`M2 2h20`}]],Za=[[`rect`,{width:`10`,height:`6`,x:`7`,y:`9`,rx:`2`}],[`path`,{d:`M22 20H2`}],[`path`,{d:`M22 4H2`}]],Qa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`15`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`3`,rx:`2`}],[`path`,{d:`M2 21h20`}],[`path`,{d:`M2 3h20`}]],$a=[[`path`,{d:`M10 10H6`}],[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14`}],[`path`,{d:`M8 8v4`}],[`path`,{d:`M9 18h6`}],[`circle`,{cx:`17`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],eo=[[`path`,{d:`M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`}],[`path`,{d:`M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`}]],to=[[`path`,{d:`M16 12h3`}],[`path`,{d:`M17.5 12a8 8 0 0 1-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13`}]],no=[[`path`,{d:`M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8`}],[`path`,{d:`M10 5H8a2 2 0 0 0 0 4h.68`}],[`path`,{d:`M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8`}],[`path`,{d:`M14 5h2a2 2 0 0 1 0 4h-.68`}],[`path`,{d:`M18 22H6`}],[`path`,{d:`M9 2h6`}]],ro=[[`path`,{d:`M12 6v16`}],[`path`,{d:`m19 13 2-1a9 9 0 0 1-18 0l2 1`}],[`path`,{d:`M9 11h6`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}]],io=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`}],[`path`,{d:`M7.5 8 10 9`}],[`path`,{d:`m14 9 2.5-1`}],[`path`,{d:`M9 10h.01`}],[`path`,{d:`M15 10h.01`}]],ao=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 15h8`}],[`path`,{d:`M8 9h2`}],[`path`,{d:`M14 9h2`}]],oo=[[`path`,{d:`M2 12 7 2`}],[`path`,{d:`m7 12 5-10`}],[`path`,{d:`m12 12 5-10`}],[`path`,{d:`m17 12 5-10`}],[`path`,{d:`M4.5 7h15`}],[`path`,{d:`M12 16v6`}]],so=[[`path`,{d:`M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4`}],[`path`,{d:`M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z`}],[`path`,{d:`M9 12v5`}],[`path`,{d:`M15 12v5`}],[`path`,{d:`M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1`}]],co=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m14.31 8 5.74 9.94`}],[`path`,{d:`M9.69 8h11.48`}],[`path`,{d:`m7.38 12 5.74-9.94`}],[`path`,{d:`M9.69 16 3.95 6.06`}],[`path`,{d:`M14.31 16H2.83`}],[`path`,{d:`m16.62 12-5.74 9.94`}]],lo=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M10 8h.01`}],[`path`,{d:`M14 8h.01`}]],uo=[[`path`,{d:`M12 6.528V3a1 1 0 0 1 1-1h0`}],[`path`,{d:`M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21`}]],fo=[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}],[`path`,{d:`M10 4v4`}],[`path`,{d:`M2 8h20`}],[`path`,{d:`M6 4v4`}]],po=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h2`}],[`path`,{d:`M20 8v11a2 2 0 0 1-2 2h-2`}],[`path`,{d:`m9 15 3-3 3 3`}],[`path`,{d:`M12 12v9`}]],mo=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}],[`path`,{d:`m9.5 17 5-5`}],[`path`,{d:`m9.5 12 5 5`}]],ho=[[`path`,{d:`M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3`}],[`path`,{d:`M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],go=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}],[`path`,{d:`M10 12h4`}]],_o=[[`path`,{d:`M14 8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-6.939 6.939a1.207 1.207 0 0 1-1.708 0l-6.94-6.94a.707.707 0 0 1 .5-1.206H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1z`}],[`path`,{d:`M9 4h6`}]],vo=[[`path`,{d:`M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-7.086 7.086a1 1 0 0 1-1.414 0l-7.086-7.086a.707.707 0 0 1 .5-1.207H8a1 1 0 0 0 1-1z`}]],yo=[[`path`,{d:`M13 9a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707l6.94 6.94a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z`}],[`path`,{d:`M20 9v6`}]],bo=[[`path`,{d:`M10.793 19.793a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-6a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707z`}]],xo=[[`path`,{d:`M11 9a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707l-6.94 6.94a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`}],[`path`,{d:`M4 9v6`}]],So=[[`path`,{d:`M13.207 19.793a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707z`}]],Co=[[`path`,{d:`M14 16a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-6.939-6.939a1.207 1.207 0 0 0-1.708 0l-6.94 6.94a.707.707 0 0 0 .5 1.206H8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1z`}],[`path`,{d:`M9 20h6`}]],wo=[[`path`,{d:`M9 19a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-6a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-7.086-7.086a1 1 0 0 0-1.414 0l-7.086 7.086a.707.707 0 0 0 .5 1.207H8a1 1 0 0 1 1 1z`}]],To=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`}],[`path`,{d:`M17 20v-6h-2`}],[`path`,{d:`M15 20h4`}]],Eo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M17 10V4h-2`}],[`path`,{d:`M15 10h4`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`}]],Do=[[`path`,{d:`M19 3H5`}],[`path`,{d:`M12 21V7`}],[`path`,{d:`m6 15 6 6 6-6`}]],Oo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M20 8h-5`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`}],[`path`,{d:`M15 14h5l-5 6h5`}]],ko=[[`path`,{d:`M17 7 7 17`}],[`path`,{d:`M17 17H7V7`}]],Ao=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M11 4h4`}],[`path`,{d:`M11 8h7`}],[`path`,{d:`M11 12h10`}]],jo=[[`path`,{d:`m7 7 10 10`}],[`path`,{d:`M17 7v10H7`}]],Mo=[[`path`,{d:`M12 17V3`}],[`path`,{d:`m6 11 6 6 6-6`}],[`path`,{d:`M19 21H5`}]],No=[[`path`,{d:`M12 2v14`}],[`path`,{d:`m19 9-7 7-7-7`}],[`circle`,{cx:`12`,cy:`21`,r:`1`}]],Po=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`m21 8-4-4-4 4`}],[`path`,{d:`M17 4v16`}]],Fo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M11 4h10`}],[`path`,{d:`M11 8h7`}],[`path`,{d:`M11 12h4`}]],Io=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M15 4h5l-5 6h5`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`}],[`path`,{d:`M20 18h-5`}]],Lo=[[`path`,{d:`m9 6-6 6 6 6`}],[`path`,{d:`M3 12h14`}],[`path`,{d:`M21 19V5`}]],Ro=[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]],zo=[[`path`,{d:`M8 3 4 7l4 4`}],[`path`,{d:`M4 7h16`}],[`path`,{d:`m16 21 4-4-4-4`}],[`path`,{d:`M20 17H4`}]],Bo=[[`path`,{d:`M3 19V5`}],[`path`,{d:`m13 6-6 6 6 6`}],[`path`,{d:`M7 12h14`}]],Vo=[[`path`,{d:`m12 19-7-7 7-7`}],[`path`,{d:`M19 12H5`}]],Ho=[[`path`,{d:`M3 5v14`}],[`path`,{d:`M21 12H7`}],[`path`,{d:`m15 18 6-6-6-6`}]],Uo=[[`path`,{d:`m16 3 4 4-4 4`}],[`path`,{d:`M20 7H4`}],[`path`,{d:`m8 21-4-4 4-4`}],[`path`,{d:`M4 17h16`}]],Wo=[[`path`,{d:`M17 12H3`}],[`path`,{d:`m11 18 6-6-6-6`}],[`path`,{d:`M21 5v14`}]],Go=[[`path`,{d:`M5 12h14`}],[`path`,{d:`m12 5 7 7-7 7`}]],Ko=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`}],[`path`,{d:`M17 20v-6h-2`}],[`path`,{d:`M15 20h4`}]],qo=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M17 10V4h-2`}],[`path`,{d:`M15 10h4`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`}]],Jo=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M20 8h-5`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`}],[`path`,{d:`M15 14h5l-5 6h5`}]],Yo=[[`path`,{d:`m21 16-4 4-4-4`}],[`path`,{d:`M17 20V4`}],[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}]],Xo=[[`path`,{d:`m5 9 7-7 7 7`}],[`path`,{d:`M12 16V2`}],[`circle`,{cx:`12`,cy:`21`,r:`1`}]],Zo=[[`path`,{d:`m18 9-6-6-6 6`}],[`path`,{d:`M12 3v14`}],[`path`,{d:`M5 21h14`}]],Qo=[[`path`,{d:`M7 17V7h10`}],[`path`,{d:`M17 17 7 7`}]],$o=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M11 12h4`}],[`path`,{d:`M11 16h7`}],[`path`,{d:`M11 20h10`}]],es=[[`path`,{d:`M7 7h10v10`}],[`path`,{d:`M7 17 17 7`}]],ts=[[`path`,{d:`M5 3h14`}],[`path`,{d:`m18 13-6-6-6 6`}],[`path`,{d:`M12 7v14`}]],ns=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M11 12h10`}],[`path`,{d:`M11 16h7`}],[`path`,{d:`M11 20h4`}]],rs=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M15 4h5l-5 6h5`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`}],[`path`,{d:`M20 18h-5`}]],is=[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]],as=[[`path`,{d:`M12 6v12`}],[`path`,{d:`M17.196 9 6.804 15`}],[`path`,{d:`m6.804 9 10.392 6`}]],os=[[`path`,{d:`m4 6 3-3 3 3`}],[`path`,{d:`M7 17V3`}],[`path`,{d:`m14 6 3-3 3 3`}],[`path`,{d:`M17 17V3`}],[`path`,{d:`M4 21h16`}]],ss=[[`path`,{d:`M12.983 21.186a1 1 0 0 1-1.966 0 10 10 0 0 0-8.203-8.203 1 1 0 0 1 0-1.966 10 10 0 0 0 8.203-8.203 1 1 0 0 1 1.966 0 10 10 0 0 0 8.203 8.203 1 1 0 0 1 0 1.966 10 10 0 0 0-8.203 8.203`}]],cs=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8`}]],ls=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z`}],[`path`,{d:`M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z`}]],us=[[`path`,{d:`M2 10v3`}],[`path`,{d:`M6 6v11`}],[`path`,{d:`M10 3v18`}],[`path`,{d:`M14 8v7`}],[`path`,{d:`M18 5v13`}],[`path`,{d:`M22 10v3`}]],ds=[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`}],[`circle`,{cx:`12`,cy:`8`,r:`6`}]],fs=[[`path`,{d:`m14 12-8.381 8.38a1 1 0 0 1-3.001-3L11 9`}],[`path`,{d:`M15 15.5a.5.5 0 0 0 .5.5A6.5 6.5 0 0 0 22 9.5a.5.5 0 0 0-.5-.5h-1.672a2 2 0 0 1-1.414-.586l-5.062-5.062a1.205 1.205 0 0 0-1.704 0L9.352 5.648a1.205 1.205 0 0 0 0 1.704l5.062 5.062A2 2 0 0 1 15 13.828z`}]],ps=[[`path`,{d:`M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2`}]],ms=[[`path`,{d:`M13.5 10.5 15 9`}],[`path`,{d:`M4 4v15a1 1 0 0 0 1 1h15`}],[`path`,{d:`M4.293 19.707 6 18`}],[`path`,{d:`m9 15 1.5-1.5`}]],hs=[[`path`,{d:`M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`}],[`path`,{d:`M8 10h8`}],[`path`,{d:`M8 18h8`}],[`path`,{d:`M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6`}],[`path`,{d:`M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2`}]],gs=[[`path`,{d:`M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5`}],[`path`,{d:`M15 12h.01`}],[`path`,{d:`M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1`}],[`path`,{d:`M9 12h.01`}]],_s=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],vs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M15.4 10a4 4 0 1 0 0 4`}]],ys=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m9 12 2 2 4-4`}]],bs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`}],[`path`,{d:`M12 18V6`}]],xs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M7 12h5`}],[`path`,{d:`M15 9.4a4 4 0 1 0 0 5.2`}]],Ss=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M8 8h8`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m13 17-5-1h1a4 4 0 0 0 0-8`}]],Cs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`8`,y2:`8`}]],ws=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m9 8 3 3v7`}],[`path`,{d:`m12 11 3-3`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M9 16h6`}]],Ts=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],Es=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],Ds=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`16`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],Os=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M8 12h4`}],[`path`,{d:`M10 16V9.5a2.5 2.5 0 0 1 5 0`}],[`path`,{d:`M8 16h7`}]],ks=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`line`,{x1:`12`,x2:`12.01`,y1:`17`,y2:`17`}]],As=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M9 16h5`}],[`path`,{d:`M9 12h5a2 2 0 1 0 0-4h-3v9`}]],js=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M11 17V8h4`}],[`path`,{d:`M11 12h3`}],[`path`,{d:`M9 16h4`}]],Ms=[[`path`,{d:`M11 7v10a5 5 0 0 0 5-5`}],[`path`,{d:`m15 8-6 3`}],[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76`}]],Ns=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`}]],Ps=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}]],Fs=[[`path`,{d:`M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2`}],[`path`,{d:`M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10`}],[`rect`,{width:`13`,height:`8`,x:`8`,y:`6`,rx:`1`}],[`circle`,{cx:`18`,cy:`20`,r:`2`}],[`circle`,{cx:`9`,cy:`20`,r:`2`}]],Is=[[`path`,{d:`M12 16v1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v1`}],[`path`,{d:`M12 6a2 2 0 0 1 2 2`}],[`path`,{d:`M18 8c0 4-3.5 8-6 8s-6-4-6-8a6 6 0 0 1 12 0`}]],Ls=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M4.929 4.929 19.07 19.071`}]],Rs=[[`path`,{d:`M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5`}],[`path`,{d:`M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z`}]],zs=[[`path`,{d:`M10 10.01h.01`}],[`path`,{d:`M10 14.01h.01`}],[`path`,{d:`M14 10.01h.01`}],[`path`,{d:`M14 14.01h.01`}],[`path`,{d:`M18 6v12`}],[`path`,{d:`M6 6v12`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`12`,rx:`2`}]],Bs=[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`m16 19 3 3 3-3`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Vs=[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M19 22v-6`}],[`path`,{d:`m22 19-3-3-3 3`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Hs=[[`path`,{d:`M11.748 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4.875`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Us=[[`path`,{d:`M13 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`m17 17 5 5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`m22 17-5 5`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Ws=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M6 12h.01M18 12h.01`}]],Gs=[[`path`,{d:`M3 5v14`}],[`path`,{d:`M8 5v14`}],[`path`,{d:`M12 5v14`}],[`path`,{d:`M17 5v14`}],[`path`,{d:`M21 5v14`}]],Ks=[[`path`,{d:`M10 3a41 41 0 0 0 0 18`}],[`path`,{d:`M14 3a41 41 0 0 1 0 18`}],[`path`,{d:`M17 3a2 2 0 0 1 1.68.92 15.25 15.25 0 0 1 0 16.16A2 2 0 0 1 17 21H7a2 2 0 0 1-1.68-.92 15.25 15.25 0 0 1 0-16.16A2 2 0 0 1 7 3z`}],[`path`,{d:`M3.84 17h16.32`}],[`path`,{d:`M3.84 7h16.32`}]],qs=[[`path`,{d:`M4 20h16`}],[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}]],Js=[[`path`,{d:`M10 4 8 6`}],[`path`,{d:`M17 19v2`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`M7 19v2`}],[`path`,{d:`M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5`}]],Ys=[[`path`,{d:`m11 7-3 5h4l-3 5`}],[`path`,{d:`M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936`}]],Xs=[[`path`,{d:`M10 10v4`}],[`path`,{d:`M14 10v4`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 10v4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],Zs=[[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 14v-4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],Qs=[[`path`,{d:`M10 14v-4`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 14v-4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],$s=[[`path`,{d:`M10 9v6`}],[`path`,{d:`M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M7 12h6`}],[`path`,{d:`M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606`}]],ec=[[`path`,{d:`M10 17h.01`}],[`path`,{d:`M10 7v6`}],[`path`,{d:`M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`}]],tc=[[`path`,{d:`M 22 14 L 22 10`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],nc=[[`path`,{d:`M4.5 3h15`}],[`path`,{d:`M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3`}],[`path`,{d:`M6 14h12`}]],rc=[[`path`,{d:`M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1`}],[`path`,{d:`M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66`}],[`path`,{d:`M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],ic=[[`path`,{d:`M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z`}],[`path`,{d:`M5.341 10.62a4 4 0 1 0 5.279-5.28`}]],ac=[[`path`,{d:`M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8`}],[`path`,{d:`M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`}],[`path`,{d:`M12 4v6`}],[`path`,{d:`M2 18h20`}]],oc=[[`path`,{d:`M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8`}],[`path`,{d:`M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4`}],[`path`,{d:`M3 18h18`}]],sc=[[`path`,{d:`M2 4v16`}],[`path`,{d:`M2 8h18a2 2 0 0 1 2 2v10`}],[`path`,{d:`M2 17h20`}],[`path`,{d:`M6 8v9`}]],cc=[[`path`,{d:`M11.771 6.109a2.5 2.5 0 0 1 3.12 3.12`}],[`path`,{d:`M17.852 12.185a6.5 6.5 0 0 0-9.035-9.04`}],[`path`,{d:`M18.013 18.013C15.029 20.349 10.831 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-.139 4.393`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6.355 6.37a7 7 0 0 0-.075.23c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c3.356 0 6.993-1.267 9.85-3.151`}]],lc=[[`path`,{d:`M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`}],[`circle`,{cx:`12.5`,cy:`8.5`,r:`2.5`}]],uc=[[`path`,{d:`M13 13v5`}],[`path`,{d:`M17 11.47V8`}],[`path`,{d:`M17 11h1a3 3 0 0 1 2.745 4.211`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268`}],[`path`,{d:`M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12`}],[`path`,{d:`M9 14.6V18`}]],dc=[[`path`,{d:`M17 11h1a3 3 0 0 1 0 6h-1`}],[`path`,{d:`M9 12v6`}],[`path`,{d:`M13 12v6`}],[`path`,{d:`M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`}]],fc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],pc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`m15 8 2 2 4-4`}],[`path`,{d:`M16.8607 4.4824A6 6 0 0 0 6 8C6 12.499 4.589 13.956 3.262 15.326`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17H20A1 1 0 0 0 20.74 15.327C20.209 14.779 19.665 14.218 19.203 13.454`}]],mc=[[`path`,{d:`M18.518 17.347A7 7 0 0 1 14 19`}],[`path`,{d:`M18.8 4A11 11 0 0 1 20 9`}],[`path`,{d:`M9 9h.01`}],[`circle`,{cx:`20`,cy:`16`,r:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`7`}],[`rect`,{x:`4`,y:`16`,width:`10`,height:`6`,rx:`2`}]],hc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M15 8h6`}],[`path`,{d:`M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12`}]],gc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05`}]],_c=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M15 8h6`}],[`path`,{d:`M18 5v6`}],[`path`,{d:`M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332`}]],vc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M22 8c0-2.3-.8-4.3-2-6`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}],[`path`,{d:`M4 2C2.8 3.7 2 5.7 2 8`}]],yc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}]],bc=[[`rect`,{width:`13`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`m22 15-3-3 3-3`}],[`rect`,{width:`13`,height:`7`,x:`3`,y:`14`,rx:`1`}]],xc=[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`}],[`path`,{d:`m2 9 3 3-3 3`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`}]],Sc=[[`rect`,{width:`7`,height:`13`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`m9 22 3-3 3 3`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`3`,rx:`1`}]],Cc=[[`rect`,{width:`7`,height:`13`,x:`3`,y:`8`,rx:`1`}],[`path`,{d:`m15 2-3 3-3-3`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`8`,rx:`1`}]],wc=[[`path`,{d:`M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1`}],[`path`,{d:`M15 14a5 5 0 0 0-7.584 2`}],[`path`,{d:`M9.964 6.825C8.019 7.977 9.5 13 8 15`}]],Tc=[[`circle`,{cx:`18.5`,cy:`17.5`,r:`3.5`}],[`circle`,{cx:`5.5`,cy:`17.5`,r:`3.5`}],[`circle`,{cx:`15`,cy:`5`,r:`1`}],[`path`,{d:`M12 17.5V14l-3-3 4-3 2 3h2`}]],Ec=[[`rect`,{x:`14`,y:`14`,width:`4`,height:`6`,rx:`2`}],[`rect`,{x:`6`,y:`4`,width:`4`,height:`6`,rx:`2`}],[`path`,{d:`M6 20h4`}],[`path`,{d:`M14 10h4`}],[`path`,{d:`M6 14h2v6`}],[`path`,{d:`M14 4h2v6`}]],Dc=[[`circle`,{cx:`12`,cy:`11.9`,r:`2`}],[`path`,{d:`M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6`}],[`path`,{d:`m8.9 10.1 1.4.8`}],[`path`,{d:`M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5`}],[`path`,{d:`m15.1 10.1-1.4.8`}],[`path`,{d:`M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2`}],[`path`,{d:`M12 13.9v1.6`}],[`path`,{d:`M13.5 5.4c-1-.2-2-.2-3 0`}],[`path`,{d:`M17 16.4c.7-.7 1.2-1.6 1.5-2.5`}],[`path`,{d:`M5.5 13.9c.3.9.8 1.8 1.5 2.5`}]],Oc=[[`path`,{d:`M10 10h4`}],[`path`,{d:`M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`}],[`path`,{d:`M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z`}],[`path`,{d:`M 22 16 L 2 16`}],[`path`,{d:`M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z`}],[`path`,{d:`M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3`}]],kc=[[`path`,{d:`M16 7h.01`}],[`path`,{d:`M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20`}],[`path`,{d:`m20 7 2 .5-2 .5`}],[`path`,{d:`M10 18v3`}],[`path`,{d:`M14 17.75V21`}],[`path`,{d:`M7 18a6 6 0 0 0 3.84-10.61`}]],Ac=[[`path`,{d:`M12 18v4`}],[`path`,{d:`m17 18 1.956-11.468`}],[`path`,{d:`m3 8 7.82-5.615a2 2 0 0 1 2.36 0L21 8`}],[`path`,{d:`M4 18h16`}],[`path`,{d:`M7 18 5.044 6.532`}],[`circle`,{cx:`12`,cy:`10`,r:`2`}]],jc=[[`path`,{d:`M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727`}]],Mc=[[`circle`,{cx:`9`,cy:`9`,r:`7`}],[`circle`,{cx:`15`,cy:`15`,r:`7`}]],Nc=[[`path`,{d:`M3 3h18`}],[`path`,{d:`M20 7H8`}],[`path`,{d:`M20 11H8`}],[`path`,{d:`M10 19h10`}],[`path`,{d:`M8 15h12`}],[`path`,{d:`M4 3v14`}],[`circle`,{cx:`4`,cy:`19`,r:`2`}]],Pc=[[`path`,{d:`M8 14a2 2 0 0 0-1.963 1.615l-1.018 5.193A1 1 0 0 0 6 22h12a1 1 0 0 0 .981-1.192l-1.018-5.193A2 2 0 0 0 16 14z`}],[`path`,{d:`m17 2-1 12`}],[`path`,{d:`M8.006 14 7 2`}],[`path`,{d:`M7.565 8.787A5 5 0 0 0 12 8a5 5 0 0 1 4.56-.75`}],[`path`,{d:`M19 2H5a2 2 0 0 0-2 2v5a2 2 0 0 0 .688 1.5`}],[`path`,{d:`M12 18h.01`}]],Fc=[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`}]],Ic=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`12`}],[`line`,{x1:`3`,x2:`6`,y1:`12`,y2:`12`}]],Lc=[[`path`,{d:`m17 17-5 5V12l-5 5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M14.5 9.5 17 7l-5-5v4.5`}]],Rc=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}],[`path`,{d:`M20.83 14.83a4 4 0 0 0 0-5.66`}],[`path`,{d:`M18 12h.01`}]],zc=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}]],Bc=[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`}]],Vc=[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],Hc=[[`circle`,{cx:`11`,cy:`13`,r:`9`}],[`path`,{d:`M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95`}],[`path`,{d:`m22 2-1.5 1.5`}]],Uc=[[`path`,{d:`M14 4.5a1 1 0 0 1 5 0 .5.5 0 0 0 .5.5 1 1 0 0 1 0 5c-.81 0-1.8-.7-2.5 0l-1.958 1.957a.15.15 0 0 1-.252-.072l-.493-2.07a.15.15 0 0 0-.111-.112l-2.072-.494a.15.15 0 0 1-.072-.252L14 7c.7-.7 0-1.69 0-2.5`}],[`path`,{d:`m16 20-1-2`}],[`path`,{d:`m20 16-2-1`}],[`path`,{d:`m4 8 2 1`}],[`path`,{d:`m8 4 1 2`}],[`path`,{d:`M9.698 14.19a.15.15 0 0 0 .112.112l2.074.489a.15.15 0 0 1 .072.252L10 17c-.7.7 0 1.69 0 2.5a1 1 0 0 1-5 0 .495.495 0 0 0-.5-.5 1 1 0 0 1 0-5c.81 0 1.8.7 2.5 0l1.956-1.957a.15.15 0 0 1 .252.072z`}]],Wc=[[`path`,{d:`M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z`}]],Gc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m8 13 4-7 4 7`}],[`path`,{d:`M9.1 11h5.7`}]],Kc=[[`path`,{d:`M12 13h.01`}],[`path`,{d:`M12 6v3`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],qc=[[`path`,{d:`M12 6v7`}],[`path`,{d:`M16 8v3`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 8v3`}]],Jc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 9.5 2 2 4-4`}]],Yc=[[`path`,{d:`M5 7a2 2 0 0 0-2 2v11`}],[`path`,{d:`M5.803 18H5a2 2 0 0 0 0 4h9.5a.5.5 0 0 0 .5-.5V21`}],[`path`,{d:`M9 15V4a2 2 0 0 1 2-2h9.5a.5.5 0 0 1 .5.5v14a.5.5 0 0 1-.5.5H11a2 2 0 0 1 0-4h10`}]],Xc=[[`path`,{d:`M12 17h1.5`}],[`path`,{d:`M12 22h1.5`}],[`path`,{d:`M12 2h1.5`}],[`path`,{d:`M17.5 22H19a1 1 0 0 0 1-1`}],[`path`,{d:`M17.5 2H19a1 1 0 0 1 1 1v1.5`}],[`path`,{d:`M20 14v3h-2.5`}],[`path`,{d:`M20 8.5V10`}],[`path`,{d:`M4 10V8.5`}],[`path`,{d:`M4 19.5V14`}],[`path`,{d:`M4 4.5A2.5 2.5 0 0 1 6.5 2H8`}],[`path`,{d:`M8 22H6.5a1 1 0 0 1 0-5H8`}]],Zc=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 10 3 3 3-3`}]],Qc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 12v-2a4 4 0 0 1 8 0v2`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`12`,r:`1`}]],$c=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8.62 9.8A2.25 2.25 0 1 1 12 6.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}]],el=[[`path`,{d:`m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`10`,cy:`8`,r:`2`}]],tl=[[`path`,{d:`M13 2H6.5A2.5 2.5 0 0 0 4 4.5v15`}],[`path`,{d:`M17 2v6`}],[`path`,{d:`M17 4h2`}],[`path`,{d:`M20 15.2V21a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`17`,cy:`10`,r:`2`}]],nl=[[`path`,{d:`M18 6V4a2 2 0 1 0-4 0v2`}],[`path`,{d:`M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10`}],[`rect`,{x:`12`,y:`6`,width:`8`,height:`5`,rx:`1`}]],rl=[[`path`,{d:`M10 2v8l3-3 3 3V2`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],il=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M9 10h6`}]],al=[[`path`,{d:`M12 5v16`}],[`path`,{d:`m16 12 2 2 4-4`}],[`path`,{d:`M22 6V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2h4.001A2 2 0 0022 17v-1.344`}]],ol=[[`path`,{d:`M12 5v16`}],[`path`,{d:`M16 13h2`}],[`path`,{d:`M16 9h2`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`}],[`path`,{d:`M6 13h2`}],[`path`,{d:`M6 9h2`}]],sl=[[`path`,{d:`M12 5v16`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`}]],cl=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M9 10h6`}]],eee=[[`path`,{d:`M11 22H5.5a1 1 0 0 1 0-5h4.501`}],[`path`,{d:`m21 22-1.879-1.878`}],[`path`,{d:`M3 19.5v-15A2.5 2.5 0 0 1 5.5 2H18a1 1 0 0 1 1 1v8`}],[`circle`,{cx:`17`,cy:`18`,r:`3`}]],tee=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 11h8`}],[`path`,{d:`M8 7h6`}]],nee=[[`path`,{d:`M10 13h4`}],[`path`,{d:`M12 6v7`}],[`path`,{d:`M16 8V6H8v2`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],ree=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2`}],[`path`,{d:`m9 10 3-3 3 3`}],[`path`,{d:`m9 5 3-3 3 3`}]],iee=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 10 3-3 3 3`}]],aee=[[`path`,{d:`M15 13a3 3 0 1 0-6 0`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}]],oee=[[`path`,{d:`m14.5 7-5 5`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9.5 7 5 5`}]],see=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],cee=[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}],[`path`,{d:`m9 10 2 2 4-4`}]],lee=[[`path`,{d:`M15 10H9`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],uee=[[`path`,{d:`M19 19v1a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.656 3H17a2 2 0 0 1 2 2v8.344`}]],dee=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M15 10H9`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],fee=[[`path`,{d:`m14.5 7.5-5 5`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}],[`path`,{d:`m9.5 7.5 5 5`}]],pee=[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],mee=[[`path`,{d:`M12 6V2H8`}],[`path`,{d:`M15 11v2`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`M20 16a2 2 0 0 1-2 2H8.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 4 20.286V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z`}],[`path`,{d:`M9 11v2`}]],hee=[[`path`,{d:`M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`}],[`path`,{d:`M8 8v1`}],[`path`,{d:`M12 8v1`}],[`path`,{d:`M16 8v1`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`9`,rx:`2`}],[`circle`,{cx:`8`,cy:`15`,r:`2`}],[`circle`,{cx:`16`,cy:`15`,r:`2`}]],gee=[[`path`,{d:`M13.67 8H18a2 2 0 0 1 2 2v4.33`}],[`path`,{d:`M2 14h2`}],[`path`,{d:`M20 14h2`}],[`path`,{d:`M22 22 2 2`}],[`path`,{d:`M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586`}],[`path`,{d:`M9 13v2`}],[`path`,{d:`M9.67 4H12v2.33`}]],_ee=[[`path`,{d:`M12 8V4H8`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`}],[`path`,{d:`M2 14h2`}],[`path`,{d:`M20 14h2`}],[`path`,{d:`M15 13v2`}],[`path`,{d:`M9 13v2`}]],vee=[[`path`,{d:`M10 3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a6 6 0 0 0 1.2 3.6l.6.8A6 6 0 0 1 17 13v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a6 6 0 0 1 1.2-3.6l.6-.8A6 6 0 0 0 10 5z`}],[`path`,{d:`M17 13h-4a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h4`}]],yee=[[`path`,{d:`M17 3h4v4`}],[`path`,{d:`M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17`}],[`path`,{d:`M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05`}],[`path`,{d:`M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z`}],[`path`,{d:`M9.707 14.293 21 3`}]],bee=[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`}],[`path`,{d:`M12 22V12`}]],xee=[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`}],[`path`,{d:`m7 16.5-4.74-2.85`}],[`path`,{d:`m7 16.5 5-3`}],[`path`,{d:`M7 16.5v5.17`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`}],[`path`,{d:`m17 16.5-5-3`}],[`path`,{d:`m17 16.5 4.74-2.85`}],[`path`,{d:`M17 16.5v5.17`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`}],[`path`,{d:`M12 8 7.26 5.15`}],[`path`,{d:`m12 8 4.74-2.85`}],[`path`,{d:`M12 13.5V8`}]],ll=[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`}]],See=[[`path`,{d:`M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M8 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3`}]],Cee=[[`path`,{d:`M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z`}],[`path`,{d:`M9 13a4.5 4.5 0 0 0 3-4`}],[`path`,{d:`M6.003 5.125A3 3 0 0 0 6.401 6.5`}],[`path`,{d:`M3.477 10.896a4 4 0 0 1 .585-.396`}],[`path`,{d:`M6 18a4 4 0 0 1-1.967-.516`}],[`path`,{d:`M12 13h4`}],[`path`,{d:`M12 18h6a2 2 0 0 1 2 2v1`}],[`path`,{d:`M12 8h8`}],[`path`,{d:`M16 8V5a2 2 0 0 1 2-2`}],[`circle`,{cx:`16`,cy:`13`,r:`.5`}],[`circle`,{cx:`18`,cy:`3`,r:`.5`}],[`circle`,{cx:`20`,cy:`21`,r:`.5`}],[`circle`,{cx:`20`,cy:`8`,r:`.5`}]],wee=[[`path`,{d:`m10.852 14.772-.383.923`}],[`path`,{d:`m10.852 9.228-.383-.923`}],[`path`,{d:`m13.148 14.772.382.924`}],[`path`,{d:`m13.531 8.305-.383.923`}],[`path`,{d:`m14.772 10.852.923-.383`}],[`path`,{d:`m14.772 13.148.923.383`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 0 0-5.63-1.446 3 3 0 0 0-.368 1.571 4 4 0 0 0-2.525 5.771`}],[`path`,{d:`M17.998 5.125a4 4 0 0 1 2.525 5.771`}],[`path`,{d:`M19.505 10.294a4 4 0 0 1-1.5 7.706`}],[`path`,{d:`M4.032 17.483A4 4 0 0 0 11.464 20c.18-.311.892-.311 1.072 0a4 4 0 0 0 7.432-2.516`}],[`path`,{d:`M4.5 10.291A4 4 0 0 0 6 18`}],[`path`,{d:`M6.002 5.125a3 3 0 0 0 .4 1.375`}],[`path`,{d:`m9.228 10.852-.923-.383`}],[`path`,{d:`m9.228 13.148-.923.383`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Tee=[[`path`,{d:`M12 18V5`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`}]],Eee=[[`path`,{d:`M12 9v1.258`}],[`path`,{d:`M16 3v5.46`}],[`path`,{d:`M21 9.118V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5.75`}],[`path`,{d:`M22 17.5c0 2.499-1.75 3.749-3.83 4.474a.5.5 0 0 1-.335-.005c-2.085-.72-3.835-1.97-3.835-4.47V14a.5.5 0 0 1 .5-.499c1 0 2.25-.6 3.12-1.36a.6.6 0 0 1 .76-.001c.875.765 2.12 1.36 3.12 1.36a.5.5 0 0 1 .5.5z`}],[`path`,{d:`M3 15h7`}],[`path`,{d:`M3 9h12.142`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],Dee=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 9v6`}],[`path`,{d:`M16 15v6`}],[`path`,{d:`M16 3v6`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],Oee=[[`path`,{d:`M16 3v2.107`}],[`path`,{d:`M17 9c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 22 17a5 5 0 0 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C13 11.5 16 9 17 9`}],[`path`,{d:`M21 8.274V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.938`}],[`path`,{d:`M3 15h5.253`}],[`path`,{d:`M3 9h8.228`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],kee=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M22 13a18.15 18.15 0 0 1-20 0`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Aee=[[`path`,{d:`M10 20v2`}],[`path`,{d:`M14 20v2`}],[`path`,{d:`M18 20v2`}],[`path`,{d:`M21 20H3`}],[`path`,{d:`M6 20v2`}],[`path`,{d:`M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`10`,rx:`2`}]],jee=[[`path`,{d:`M12 11v4`}],[`path`,{d:`M14 13h-4`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M18 6v14`}],[`path`,{d:`M6 6v14`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Mee=[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Nee=[[`path`,{d:`M10 13a3 3 0 0 1-2.121-5.121`}],[`path`,{d:`M15.606 14.204c-3.5 1.5-5.899 4.503-8.899 7.503A1 1 0 0 1 6 22c-2 0-4-2-4-4a1 1 0 0 1 .293-.707c1.911-1.911 3.823-3.578 5.347-5.441`}],[`path`,{d:`M16.573 14.737A4 4 0 0 1 14 11`}],[`path`,{d:`M7.14 10.907a4 4 0 1 1 2.756-7.43A4 4 0 0 1 16.7 4.48a2 2 0 0 1 2.82 2.82 4 4 0 0 1 1.002 6.805A4 4 0 1 1 13 16`}]],Pee=[[`path`,{d:`m16 22-1-4`}],[`path`,{d:`M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1`}],[`path`,{d:`M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z`}],[`path`,{d:`m8 22 1-4`}]],Fee=[[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`2`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2`}],[`path`,{d:`M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2`}]],Iee=[[`path`,{d:`m11 10 3 3`}],[`path`,{d:`M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z`}],[`path`,{d:`M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031`}]],Lee=[[`path`,{d:`M7.001 15.085A1.5 1.5 0 0 1 9 16.5`}],[`circle`,{cx:`18.5`,cy:`8.5`,r:`3.5`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`5.5`}],[`circle`,{cx:`7.5`,cy:`4.5`,r:`2.5`}]],Ree=[[`path`,{d:`M12 20v-8`}],[`path`,{d:`M12.656 7H14a4 4 0 0 1 4 4v1.344`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M17.123 17.123A6 6 0 0 1 6 14v-3a4 4 0 0 1 1.72-3.287`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M22 13h-3.344`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9.712 4.06A3 3 0 0 1 15 6v1.13`}]],zee=[[`path`,{d:`M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97`}],[`path`,{d:`M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`}]],Bee=[[`path`,{d:`M12 20v-9`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M22 13h-4`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`}]],Vee=[[`path`,{d:`M10 12h4`}],[`path`,{d:`M10 8h4`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`}]],Hee=[[`path`,{d:`M12 10h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M12 6h.01`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M16 14h.01`}],[`path`,{d:`M16 6h.01`}],[`path`,{d:`M8 10h.01`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M8 6h.01`}],[`path`,{d:`M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],Uee=[[`path`,{d:`M4 6 2 7`}],[`path`,{d:`M10 6h4`}],[`path`,{d:`m22 7-2-1`}],[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`}],[`path`,{d:`M4 11h16`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M16 15h.01`}],[`path`,{d:`M6 19v2`}],[`path`,{d:`M18 21v-2`}]],ul=[[`path`,{d:`M8 6v6`}],[`path`,{d:`M15 6v6`}],[`path`,{d:`M2 12h19.6`}],[`path`,{d:`M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}],[`path`,{d:`M9 18h5`}],[`circle`,{cx:`16`,cy:`18`,r:`2`}]],dl=[[`path`,{d:`M10 3h.01`}],[`path`,{d:`M14 2h.01`}],[`path`,{d:`m2 9 20-5`}],[`path`,{d:`M12 12V6.5`}],[`rect`,{width:`16`,height:`10`,x:`4`,y:`12`,rx:`3`}],[`path`,{d:`M9 12v5`}],[`path`,{d:`M15 12v5`}],[`path`,{d:`M4 17h16`}]],fl=[[`path`,{d:`M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z`}],[`path`,{d:`M17 21v-2`}],[`path`,{d:`M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10`}],[`path`,{d:`M21 21v-2`}],[`path`,{d:`M3 5V3`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z`}],[`path`,{d:`M7 5V3`}]],pl=[[`path`,{d:`M16 13H3`}],[`path`,{d:`M16 17H3`}],[`path`,{d:`m7.2 7.9-3.388 2.5A2 2 0 0 0 3 12.01V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-8.654c0-2-2.44-6.026-6.44-8.026a1 1 0 0 0-1.082.057L10.4 5.6`}],[`circle`,{cx:`9`,cy:`7`,r:`2`}]],ml=[[`path`,{d:`M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8`}],[`path`,{d:`M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1`}],[`path`,{d:`M2 21h20`}],[`path`,{d:`M7 8v3`}],[`path`,{d:`M12 8v3`}],[`path`,{d:`M17 8v3`}],[`path`,{d:`M7 4h.01`}],[`path`,{d:`M12 4h.01`}],[`path`,{d:`M17 4h.01`}]],hl=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`6`,y2:`6`}],[`line`,{x1:`16`,x2:`16`,y1:`14`,y2:`18`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M12 10h.01`}],[`path`,{d:`M8 10h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M8 18h.01`}]],gl=[[`path`,{d:`M11 14h1v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],_l=[[`path`,{d:`m14 18 4 4 4-4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M18 14v8`}],[`path`,{d:`M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],vl=[[`path`,{d:`m14 18 4-4 4 4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M18 22v-8`}],[`path`,{d:`M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],yl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m9 16 2 2 4-4`}]],bl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m16 20 2 2 4-4`}]],xl=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5`}],[`path`,{d:`M3 10h5`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}]],Sl=[[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m15.228 19.148-.923.383`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`m16.47 14.305.382.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`path`,{d:`M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],Cl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M16 14h.01`}],[`path`,{d:`M8 18h.01`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M16 18h.01`}]],wl=[[`path`,{d:`M3 20a2 2 0 0 0 2 2h10a2.4 2.4 0 0 0 1.706-.706l3.588-3.588A2.4 2.4 0 0 0 21 16V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`}],[`path`,{d:`M15 22v-5a1 1 0 0 1 1-1h5`}],[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}]],Tl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M10 16h4`}]],El=[[`path`,{d:`M12.127 22H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.125`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],Dl=[[`path`,{d:`M16 19h6`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],Ol=[[`path`,{d:`M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18`}],[`path`,{d:`M21 15.5V6a2 2 0 0 0-2-2H9.5`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h7`}],[`path`,{d:`M21 10h-5.5`}],[`path`,{d:`m2 2 20 20`}]],kl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M10 16h4`}],[`path`,{d:`M12 14v4`}]],Al=[[`path`,{d:`M16 19h6`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.598V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],jl=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`path`,{d:`M17 14h-6`}],[`path`,{d:`M13 18H7`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 18h.01`}]],Ml=[[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25`}],[`path`,{d:`m22 22-1.875-1.875`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],Nl=[[`path`,{d:`M11 10v4h4`}],[`path`,{d:`m11 14 1.535-1.605a5 5 0 0 1 8 1.5`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`m21 18-1.535 1.605a5 5 0 0 1-8-1.5`}],[`path`,{d:`M21 22v-4h-4`}],[`path`,{d:`M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3`}],[`path`,{d:`M3 10h4`}],[`path`,{d:`M8 2v4`}]],Pl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m17 22 5-5`}],[`path`,{d:`m17 17 5 5`}]],Fl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m14 14-4 4`}],[`path`,{d:`m10 14 4 4`}]],Il=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}]],Ll=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M15.726 21.01A2 2 0 0 1 14 22H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`}],[`path`,{d:`M18 2v2`}],[`path`,{d:`M2 13h2`}],[`path`,{d:`M8 8h14`}],[`rect`,{x:`8`,y:`3`,width:`14`,height:`14`,rx:`2`}]],Rl=[[`path`,{d:`M14.564 14.558a3 3 0 1 1-4.122-4.121`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 .819-.175`}],[`path`,{d:`M9.695 4.024A2 2 0 0 1 10.004 4h3.993a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v7.344`}]],zl=[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`}],[`circle`,{cx:`12`,cy:`13`,r:`3`}]],Bl=[[`path`,{d:`m10.8 5 2.111 4.223`}],[`path`,{d:`M17.75 7 15 2.1`}],[`path`,{d:`m4.874 14.647 2.12 4.24`}],[`path`,{d:`M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2z`}],[`path`,{d:`m7.906 9.712 2.005 4.411`}]],Vl=[[`path`,{d:`M10 7v10.9`}],[`path`,{d:`M14 6.1V17`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`}],[`path`,{d:`M16.536 7.465a5 5 0 0 0-7.072 0l-2 2a5 5 0 0 0 0 7.07 5 5 0 0 0 7.072 0l2-2a5 5 0 0 0 0-7.07`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`}]],Hl=[[`path`,{d:`M10 10v7.9`}],[`path`,{d:`M11.802 6.145a5 5 0 0 1 6.053 6.053`}],[`path`,{d:`M14 6.1v2.243`}],[`path`,{d:`m15.5 15.571-.964.964a5 5 0 0 1-7.071 0 5 5 0 0 1 0-7.07l.964-.965`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`}]],Ul=[[`path`,{d:`M12 22v-4`}],[`path`,{d:`M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6`}]],Wl=[[`path`,{d:`M12 22v-4c1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5`}],[`path`,{d:`M13.988 8.327C13.902 6.054 13.365 3.82 12 2a9.3 9.3 0 0 0-1.445 2.9`}],[`path`,{d:`M17.375 11.725C18.882 10.53 21 7.841 21 6c-2.324 0-5.08 1.296-6.662 2.684`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21.024 15.378A15 15 0 0 0 22 15c-.426-1.279-2.67-2.557-4.25-2.907`}],[`path`,{d:`M6.995 6.992C5.714 6.4 4.29 6 3 6c0 2 2.5 5 4 6-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3`}]],Gl=[[`path`,{d:`M10.5 5H19a2 2 0 0 1 2 2v8.5`}],[`path`,{d:`M17 11h-.5`}],[`path`,{d:`M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7 11h4`}],[`path`,{d:`M7 15h2.5`}]],Kl=[[`rect`,{width:`18`,height:`14`,x:`3`,y:`5`,rx:`2`,ry:`2`}],[`path`,{d:`M7 15h4M15 15h2M7 11h2M13 11h4`}]],ql=[[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 14h.01`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],Jl=[[`path`,{d:`M10 2h4`}],[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 14h.01`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],Yl=[[`path`,{d:`M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2`}],[`circle`,{cx:`7`,cy:`17`,r:`2`}],[`path`,{d:`M9 17h6`}],[`circle`,{cx:`17`,cy:`17`,r:`2`}]],Xl=[[`path`,{d:`M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2`}],[`path`,{d:`M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2`}],[`path`,{d:`M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9`}],[`circle`,{cx:`8`,cy:`19`,r:`2`}]],Zl=[[`path`,{d:`M12 14v4`}],[`path`,{d:`M14.172 2a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 20 7.828V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z`}],[`path`,{d:`M8 14h8`}],[`rect`,{x:`8`,y:`10`,width:`8`,height:`8`,rx:`1`}]],Ql=[[`path`,{d:`M15 16a1 1 0 0 0-7-7q-4 4-5.987 12.385a.5.5 0 0 0 .602.602Q11 20 15 16l-3-3`}],[`path`,{d:`M15 9q4 4 7 0-3-4-7 0 4-4 0-7-4 3 0 7`}],[`path`,{d:`m8 15-2.58-2.58`}]],$l=[[`path`,{d:`M10 9v7`}],[`path`,{d:`M14 6v10`}],[`circle`,{cx:`17.5`,cy:`12.5`,r:`3.5`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`3.5`}]],eu=[[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M22 9v7`}],[`path`,{d:`M3.304 13h6.392`}],[`circle`,{cx:`18.5`,cy:`12.5`,r:`3.5`}]],tu=[[`path`,{d:`M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],nu=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`circle`,{cx:`8`,cy:`10`,r:`2`}],[`path`,{d:`M8 12h8`}],[`circle`,{cx:`16`,cy:`10`,r:`2`}],[`path`,{d:`m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3`}]],ru=[[`path`,{d:`M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6`}],[`path`,{d:`M2 12a9 9 0 0 1 8 8`}],[`path`,{d:`M2 16a5 5 0 0 1 4 4`}],[`line`,{x1:`2`,x2:`2.01`,y1:`20`,y2:`20`}]],iu=[[`path`,{d:`M10 5V3`}],[`path`,{d:`M14 5V3`}],[`path`,{d:`M15 21v-3a3 3 0 0 0-6 0v3`}],[`path`,{d:`M18 3v8`}],[`path`,{d:`M18 5H6`}],[`path`,{d:`M22 11H2`}],[`path`,{d:`M22 9v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9`}],[`path`,{d:`M6 3v8`}]],au=[[`path`,{d:`M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z`}],[`path`,{d:`M8 14v.5`}],[`path`,{d:`M16 14v.5`}],[`path`,{d:`M11.25 16.25h1.5L12 17l-.75-.75Z`}]],ou=[[`path`,{d:`m12.309 6.652 4.797 2.401a1 1 0 0 1 .447 1.341l-.501 1.001.605.605h2.725a1 1 0 0 1 .894 1.447l-.724 1.448`}],[`path`,{d:`m15.166 15.166-.719 1.439a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.9 2.9 0 0 1 .873-1.037`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1l1.441-2.902`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M2 21v-4`}],[`path`,{d:`M7 9h.01`}]],su=[[`path`,{d:`M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97`}],[`path`,{d:`M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15`}],[`path`,{d:`M2 21v-4`}],[`path`,{d:`M7 9h.01`}]],cu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z`}]],lu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`}]],uu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11h8`}],[`path`,{d:`M7 16h12`}],[`path`,{d:`M7 6h3`}]],du=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11h8`}],[`path`,{d:`M7 16h3`}],[`path`,{d:`M7 6h12`}]],fu=[[`path`,{d:`M11 13v4`}],[`path`,{d:`M15 5v4`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`}]],pu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 16h8`}],[`path`,{d:`M7 11h12`}],[`path`,{d:`M7 6h3`}]],mu=[[`path`,{d:`M9 5v4`}],[`rect`,{width:`4`,height:`6`,x:`7`,y:`9`,rx:`1`}],[`path`,{d:`M9 15v2`}],[`path`,{d:`M17 3v2`}],[`rect`,{width:`4`,height:`8`,x:`15`,y:`5`,rx:`1`}],[`path`,{d:`M17 13v3`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}]],hu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`}]],gu=[[`path`,{d:`M13 17V9`}],[`path`,{d:`M18 17v-3`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 17V5`}]],_u=[[`path`,{d:`M13 17V9`}],[`path`,{d:`M18 17V5`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 17v-3`}]],vu=[[`path`,{d:`M11 13H7`}],[`path`,{d:`M19 9h-4`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`}]],yu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M18 17V9`}],[`path`,{d:`M13 17V5`}],[`path`,{d:`M8 17v-3`}]],bu=[[`path`,{d:`M10 6h8`}],[`path`,{d:`M12 16h6`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 11h7`}]],xu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`m19 9-5 5-4-4-3 3`}]],Su=[[`path`,{d:`M5 21V3`}],[`path`,{d:`M12 21V9`}],[`path`,{d:`M19 21v-6`}]],Cu=[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V9`}],[`path`,{d:`M19 21V3`}]],wu=[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V3`}],[`path`,{d:`M19 21V9`}]],Tu=[[`path`,{d:`m13.11 7.664 1.78 2.672`}],[`path`,{d:`m14.162 12.788-3.324 1.424`}],[`path`,{d:`m20 4-6.06 1.515`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`circle`,{cx:`12`,cy:`6`,r:`2`}],[`circle`,{cx:`16`,cy:`12`,r:`2`}],[`circle`,{cx:`9`,cy:`15`,r:`2`}]],Eu=[[`path`,{d:`M12 16v5`}],[`path`,{d:`M16 14.639V21`}],[`path`,{d:`M20 10.656V21`}],[`path`,{d:`m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15`}],[`path`,{d:`M4 18.463V21`}],[`path`,{d:`M8 14.656V21`}]],Du=[[`path`,{d:`M6 5h12`}],[`path`,{d:`M4 12h10`}],[`path`,{d:`M12 19h8`}]],Ou=[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`}]],ku=[[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`18.5`,cy:`5.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`11.5`,cy:`11.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}]],Au=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7`}]],ju=[[`path`,{d:`M18 6 7 17l-5-5`}],[`path`,{d:`m22 10-7.5 7.5L13 16`}]],Mu=[[`path`,{d:`M20 4L9 15`}],[`path`,{d:`M21 19L3 19`}],[`path`,{d:`M9 15L4 10`}]],Nu=[[`path`,{d:`M20 6 9 17l-5-5`}]],Pu=[[`path`,{d:`M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z`}],[`path`,{d:`M6 17h12`}]],Fu=[[`path`,{d:`M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`}],[`path`,{d:`M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`}],[`path`,{d:`M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12`}],[`path`,{d:`M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z`}]],Iu=[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`}],[`path`,{d:`m6.7 18-1-1C4.35 15.682 3 14.09 3 12a5 5 0 0 1 4.95-5c1.584 0 2.7.455 4.05 1.818C13.35 7.455 14.466 7 16.05 7A5 5 0 0 1 21 12c0 2.082-1.359 3.673-2.7 5l-1 1`}],[`path`,{d:`M10 4h4`}],[`path`,{d:`M12 2v6.818`}]],Lu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M15 18c1.5-.615 3-2.461 3-4.923C18 8.769 14.5 4.462 12 2 9.5 4.462 6 8.77 6 13.077 6 15.539 7.5 17.385 9 18`}],[`path`,{d:`m16 7-2.5 2.5`}],[`path`,{d:`M9 2h6`}]],Ru=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M16.5 18c1-2 2.5-5 2.5-9a7 7 0 0 0-7-7H6.635a1 1 0 0 0-.768 1.64L7 5l-2.32 5.802a2 2 0 0 0 .95 2.526l2.87 1.456`}],[`path`,{d:`m15 5 1.425-1.425`}],[`path`,{d:`m17 8 1.53-1.53`}],[`path`,{d:`M9.713 12.185 7 18`}]],zu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`m14.5 10 1.5 8`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`m8 18 1.5-8`}],[`circle`,{cx:`12`,cy:`6`,r:`4`}]],Bu=[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`}],[`path`,{d:`m12.474 5.943 1.567 5.34a1 1 0 0 0 1.75.328l2.616-3.402`}],[`path`,{d:`m20 9-3 9`}],[`path`,{d:`m5.594 8.209 2.615 3.403a1 1 0 0 0 1.75-.329l1.567-5.34`}],[`path`,{d:`M7 18 4 9`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}],[`circle`,{cx:`20`,cy:`7`,r:`2`}],[`circle`,{cx:`4`,cy:`7`,r:`2`}]],Vu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`m17 18-1-9`}],[`path`,{d:`M6 2v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2`}],[`path`,{d:`M6 4h12`}],[`path`,{d:`m7 18 1-9`}]],Hu=[[`path`,{d:`m6 9 6 6 6-6`}]],Uu=[[`path`,{d:`m7 18 6-6-6-6`}],[`path`,{d:`M17 6v12`}]],Wu=[[`path`,{d:`m17 18-6-6 6-6`}],[`path`,{d:`M7 6v12`}]],Gu=[[`path`,{d:`m15 18-6-6 6-6`}]],Ku=[[`path`,{d:`m9 18 6-6-6-6`}]],qu=[[`path`,{d:`m18 15-6-6-6 6`}]],Ju=[[`path`,{d:`m7 6 5 5 5-5`}],[`path`,{d:`m7 13 5 5 5-5`}]],Yu=[[`path`,{d:`m7 20 5-5 5 5`}],[`path`,{d:`m7 4 5 5 5-5`}]],Xu=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`m17 7 5 5-5 5`}],[`path`,{d:`m7 7-5 5 5 5`}],[`path`,{d:`M8 12h.01`}]],Zu=[[`path`,{d:`m9 7-5 5 5 5`}],[`path`,{d:`m15 7 5 5-5 5`}]],Wee=[[`path`,{d:`m11 17-5-5 5-5`}],[`path`,{d:`m18 17-5-5 5-5`}]],Gee=[[`path`,{d:`m20 17-5-5 5-5`}],[`path`,{d:`m4 17 5-5-5-5`}]],Kee=[[`path`,{d:`m6 17 5-5-5-5`}],[`path`,{d:`m13 17 5-5-5-5`}]],Qu=[[`path`,{d:`m7 15 5 5 5-5`}],[`path`,{d:`m7 9 5-5 5 5`}]],$u=[[`path`,{d:`m17 11-5-5-5 5`}],[`path`,{d:`m17 18-5-5-5 5`}]],ed=[[`path`,{d:`M10 9h4`}],[`path`,{d:`M12 7v5`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9`}],[`path`,{d:`M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14`}]],td=[[`path`,{d:`M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M7 12v4`}]],nd=[[`path`,{d:`M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M7 12v4`}]],rd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],id=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8 12 4 4 4-4`}]],ad=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m12 8-4 4 4 4`}],[`path`,{d:`M16 12H8`}]],od=[[`path`,{d:`M2 12a10 10 0 1 1 10 10`}],[`path`,{d:`m2 22 10-10`}],[`path`,{d:`M8 22H2v-6`}]],sd=[[`path`,{d:`M12 22a10 10 0 1 1 10-10`}],[`path`,{d:`M22 22 12 12`}],[`path`,{d:`M22 16v6h-6`}]],cd=[[`path`,{d:`M2 8V2h6`}],[`path`,{d:`m2 2 10 10`}],[`path`,{d:`M12 2A10 10 0 1 1 2 12`}]],ld=[[`path`,{d:`M22 12A10 10 0 1 1 12 2`}],[`path`,{d:`M22 2 12 12`}],[`path`,{d:`M16 2h6v6`}]],ud=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m12 16 4-4-4-4`}],[`path`,{d:`M8 12h8`}]],dd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],fd=[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`}],[`path`,{d:`m9 11 3 3L22 4`}]],pd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m9 12 2 2 4-4`}]],md=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 10-4 4-4-4`}]],hd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m14 16-4-4 4-4`}]],gd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m10 8 4 4-4 4`}]],_d=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m8 14 4-4 4 4`}]],vd=[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`}],[`path`,{d:`M17.609 3.721a10 10 0 0 1 2.69 2.7`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`}],[`path`,{d:`M20.279 17.609a10 10 0 0 1-2.7 2.69`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`}],[`path`,{d:`M6.391 20.279a10 10 0 0 1-2.69-2.7`}]],yd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`}]],bd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`}],[`path`,{d:`M12 18V6`}]],xd=[[`path`,{d:`M10.1 2.18a9.93 9.93 0 0 1 3.8 0`}],[`path`,{d:`M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7`}],[`path`,{d:`M21.82 10.1a9.93 9.93 0 0 1 0 3.8`}],[`path`,{d:`M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69`}],[`path`,{d:`M13.9 21.82a9.94 9.94 0 0 1-3.8 0`}],[`path`,{d:`M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7`}],[`path`,{d:`M2.18 13.9a9.93 9.93 0 0 1 0-3.8`}],[`path`,{d:`M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],Sd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],Cd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M17 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M7 12h.01`}]],wd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M7 14h10`}]],Td=[[`path`,{d:`M15 9.4a4 4 0 1 0 0 5.2`}],[`path`,{d:`M7 12h5`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Ed=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],Dd=[[`path`,{d:`M15.6 2.7a10 10 0 1 0 5.7 5.7`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M13.4 10.6 19 5`}]],Od=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`M16 12H8`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],kd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 12h8`}]],Ad=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`}],[`path`,{d:`M19.08 19.08A10 10 0 1 1 4.92 4.92`}]],jd=[[`path`,{d:`M12.656 7H13a3 3 0 0 1 2.984 3.307`}],[`path`,{d:`M13 13H9`}],[`path`,{d:`M19.071 19.071A1 1 0 0 1 4.93 4.93`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.357 2.687a10 10 0 0 1 12.956 12.956`}],[`path`,{d:`M9 17V9`}]],Md=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`}]],Nd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`}]],Pd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],Fd=[[`circle`,{cx:`12`,cy:`19`,r:`2`}],[`circle`,{cx:`12`,cy:`5`,r:`2`}],[`circle`,{cx:`16`,cy:`12`,r:`2`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}],[`circle`,{cx:`4`,cy:`19`,r:`2`}],[`circle`,{cx:`8`,cy:`12`,r:`2`}]],Id=[[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Ld=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],Rd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M10 16V9.5a1 1 0 0 1 5 0`}],[`path`,{d:`M8 12h4`}],[`path`,{d:`M8 16h7`}]],zd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`}]],Bd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],Vd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`}]],Hd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M22 2 2 22`}]],Ud=[[`circle`,{cx:`12`,cy:`12`,r:`6`}]],Wd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M11.051 7.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.867l-1.156-1.152a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}]],Gd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`}]],Kd=[[`path`,{d:`M17.925 20.056a6 6 0 0 0-11.851.001`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],qd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662`}]],Jd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],Yd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Xd=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M11 9h4a2 2 0 0 0 2-2V3`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`M7 21v-4a2 2 0 0 1 2-2h4`}],[`circle`,{cx:`15`,cy:`15`,r:`2`}]],Zd=[[`path`,{d:`M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z`}],[`path`,{d:`M19.65 15.66A8 8 0 0 1 8.35 4.34`}],[`path`,{d:`m14 10-5.5 5.5`}],[`path`,{d:`M14 17.85V10H6.15`}]],Qd=[[`path`,{d:`m12.296 3.464 3.02 3.956`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}],[`path`,{d:`m6.18 5.276 3.1 3.899`}]],$d=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v.832`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],ef=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`m9 14 2 2 4-4`}]],tf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v4`}],[`path`,{d:`M21 14H11`}],[`path`,{d:`m15 10-4 4 4 4`}]],nf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M12 11h4`}],[`path`,{d:`M12 16h4`}],[`path`,{d:`M8 11h.01`}],[`path`,{d:`M8 16h.01`}]],rf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 14h6`}]],af=[[`path`,{d:`M11 14h10`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v1.344`}],[`path`,{d:`m17 18 4-4-4-4`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],of=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5`}],[`path`,{d:`M16 4h2a2 2 0 0 1 1.73 1`}],[`path`,{d:`M8 18h1`}],[`path`,{d:`M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],sf=[[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21.34 15.664a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`path`,{d:`M8 22H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],cf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 14h6`}],[`path`,{d:`M12 17v-6`}]],lf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 12v-1h6v1`}],[`path`,{d:`M11 17h2`}],[`path`,{d:`M12 11v6`}]],uf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`m15 11-6 6`}],[`path`,{d:`m9 11 6 6`}]],df=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}]],ff=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l2-4`}]],pf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-4-2`}]],mf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-2-4`}]],hf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6`}]],gf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4-2`}]],_f=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6h4`}]],vf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4 2`}]],yf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l2 4`}]],bf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v10`}]],xf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-2 4`}]],Sf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6H8`}]],Cf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-4 2`}]],wf=[[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M20 12v5`}],[`path`,{d:`M20 21h.01`}],[`path`,{d:`M21.25 8.2A10 10 0 1 0 16 21.16`}]],Tf=[[`path`,{d:`M12 6v6l2 1`}],[`path`,{d:`M12.337 21.994a10 10 0 1 1 9.588-8.767`}],[`path`,{d:`m14 18 4 4 4-4`}],[`path`,{d:`M18 14v8`}]],Ef=[[`path`,{d:`M12 6v6l1.5.8`}],[`path`,{d:`M12.338 21.994a10 10 0 1 1 9.587-8.767`}],[`path`,{d:`M14 18h8`}],[`path`,{d:`m18 22-4-4 4-4`}]],Df=[[`path`,{d:`M12 6v6l2 1`}],[`path`,{d:`M13.5 21.885A10 10 0 1 1 22 12`}],[`path`,{d:`M14 18h8`}],[`path`,{d:`m18 22 4-4-4-4`}]],Of=[[`path`,{d:`M12 6v6l1.56.78`}],[`path`,{d:`M13.227 21.925a10 10 0 1 1 8.767-9.588`}],[`path`,{d:`m14 18 4-4 4 4`}],[`path`,{d:`M18 22v-8`}]],kf=[[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M22 12a10 10 0 1 0-11 9.95`}],[`path`,{d:`m22 16-5.5 5.5L14 19`}]],Af=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],jf=[[`path`,{d:`M12 6v6l3.644 1.822`}],[`path`,{d:`M16 19h6`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21.92 13.267a10 10 0 1 0-8.653 8.653`}]],Mf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4 2`}]],Nf=[[`path`,{d:`M10 9.17a3 3 0 1 0 0 5.66`}],[`path`,{d:`M17 9.17a3 3 0 1 0 0 5.66`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],Pf=[[`path`,{d:`M12 12v4`}],[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.128 16.949A7 7 0 1 1 15.71 8h1.79a1 1 0 0 1 0 9h-1.642`}]],Ff=[[`path`,{d:`m17 15-5.5 5.5L9 18`}],[`path`,{d:`M5.516 16.07A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 3.501 7.327`}]],If=[[`path`,{d:`M21 15.251A4.5 4.5 0 0 0 17.5 8h-1.79A7 7 0 1 0 3 13.607`}],[`path`,{d:`M7 11v4h4`}],[`path`,{d:`M8 19a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5 4.82 4.82 0 0 0-3.41 1.41L7 15`}]],Lf=[[`path`,{d:`m10.852 19.772-.383.924`}],[`path`,{d:`m13.148 14.228.383-.923`}],[`path`,{d:`M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923`}],[`path`,{d:`m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544`}],[`path`,{d:`m14.772 15.852.923-.383`}],[`path`,{d:`m14.772 18.148.923.383`}],[`path`,{d:`M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2`}],[`path`,{d:`m9.228 15.852-.923-.383`}],[`path`,{d:`m9.228 18.148-.923.383`}]],Rf=[[`path`,{d:`M12 13v8l-4-4`}],[`path`,{d:`m12 21 4-4`}],[`path`,{d:`M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284`}]],zf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 17H7`}],[`path`,{d:`M17 21H9`}]],Bf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M8 19v1`}],[`path`,{d:`M8 14v1`}],[`path`,{d:`M16 19v1`}],[`path`,{d:`M16 14v1`}],[`path`,{d:`M12 21v1`}],[`path`,{d:`M12 16v1`}]],Vf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 14v2`}],[`path`,{d:`M8 14v2`}],[`path`,{d:`M16 20h.01`}],[`path`,{d:`M8 20h.01`}],[`path`,{d:`M12 16v2`}],[`path`,{d:`M12 22h.01`}]],Hf=[[`path`,{d:`M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973`}],[`path`,{d:`m13 12-3 5h4l-3 5`}]],Uf=[[`path`,{d:`M11 20v2`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`}],[`path`,{d:`M7 19v2`}]],Wf=[[`path`,{d:`M13 16a3 3 0 0 1 0 6H7a5 5 0 1 1 4.9-6z`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`}]],Gf=[[`path`,{d:`M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057`}],[`path`,{d:`M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78`}],[`path`,{d:`m2 2 20 20`}]],Kf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m9.2 22 3-7`}],[`path`,{d:`m9 13-3 7`}],[`path`,{d:`m17 13-3 7`}]],qf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 14v6`}],[`path`,{d:`M8 14v6`}],[`path`,{d:`M12 16v6`}]],Jf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M8 19h.01`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M12 21h.01`}],[`path`,{d:`M16 15h.01`}],[`path`,{d:`M16 19h.01`}]],Yf=[[`path`,{d:`M12 2v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`}],[`path`,{d:`M11 20v2`}],[`path`,{d:`M7 19v2`}]],Xf=[[`path`,{d:`M12 2v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`}],[`path`,{d:`M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z`}]],Zf=[[`path`,{d:`m17 18-1.535 1.605a5 5 0 0 1-8-1.5`}],[`path`,{d:`M17 22v-4h-4`}],[`path`,{d:`M20.996 15.251A4.5 4.5 0 0 0 17.495 8h-1.79a7 7 0 1 0-12.709 5.607`}],[`path`,{d:`M7 10v4h4`}],[`path`,{d:`m7 14 1.535-1.605a5 5 0 0 1 8 1.5`}]],Qf=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m8 17 4-4 4 4`}]],$f=[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`}]],ep=[[`path`,{d:`M17.5 12a1 1 0 1 1 0 9H9.006a7 7 0 1 1 6.702-9z`}],[`path`,{d:`M21.832 9A3 3 0 0 0 19 7h-2.207a5.5 5.5 0 0 0-10.72.61`}]],tp=[[`path`,{d:`M16.17 7.83 2 22`}],[`path`,{d:`M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12`}],[`path`,{d:`m7.83 7.83 8.34 8.34`}]],np=[[`path`,{d:`M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z`}],[`path`,{d:`M12 17.66L12 22`}]],rp=[[`path`,{d:`m18 16 4-4-4-4`}],[`path`,{d:`m6 8-4 4 4 4`}],[`path`,{d:`m14.5 4-5 16`}]],ip=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]],ap=[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`}],[`path`,{d:`M6 2v2`}]],op=[[`path`,{d:`M11 10.27 7 3.34`}],[`path`,{d:`m11 13.73-4 6.93`}],[`path`,{d:`M12 22v-2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M14 12h8`}],[`path`,{d:`m17 20.66-1-1.73`}],[`path`,{d:`m17 3.34-1 1.73`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`m20.66 17-1.73-1`}],[`path`,{d:`m20.66 7-1.73 1`}],[`path`,{d:`m3.34 17 1.73-1`}],[`path`,{d:`m3.34 7 1.73 1`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`8`}]],sp=[[`path`,{d:`M13.744 17.736a6 6 0 1 1-7.48-7.48`}],[`path`,{d:`M15 6h1v4`}],[`path`,{d:`m6.134 14.768.866-.5 2 3.464`}],[`circle`,{cx:`16`,cy:`8`,r:`6`}]],cp=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 3v18`}]],lp=[[`path`,{d:`M10.6 21H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v5.6`}],[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`M15 3v7.6`}],[`path`,{d:`m15.229 16.852-.924-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.773 16.852.922-.383`}],[`path`,{d:`m20.773 19.148.922.383`}],[`path`,{d:`M9 3v18`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],up=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],dp=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7.5 3v18`}],[`path`,{d:`M12 3v18`}],[`path`,{d:`M16.5 3v18`}]],fp=[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`}]],pp=[[`path`,{d:`M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`m7 15 3 3`}],[`path`,{d:`m7 21 3-3H5a2 2 0 0 1-2-2v-2`}],[`rect`,{x:`14`,y:`14`,width:`7`,height:`7`,rx:`1`}],[`rect`,{x:`3`,y:`3`,width:`7`,height:`7`,rx:`1`}]],mp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`}]],hp=[[`path`,{d:`M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`}]],gp=[[`rect`,{width:`14`,height:`8`,x:`5`,y:`2`,rx:`2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h2`}],[`path`,{d:`M12 18h6`}]],_p=[[`path`,{d:`M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z`}],[`path`,{d:`M20 16a8 8 0 1 0-16 0`}],[`path`,{d:`M12 4v4`}],[`path`,{d:`M10 4h4`}]],vp=[[`path`,{d:`m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98`}],[`ellipse`,{cx:`12`,cy:`19`,rx:`9`,ry:`3`}]],yp=[[`path`,{d:`M16 2v2`}],[`path`,{d:`M17.915 22a6 6 0 0 0-12 0`}],[`path`,{d:`M8 2v2`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],bp=[[`rect`,{x:`2`,y:`6`,width:`20`,height:`8`,rx:`1`}],[`path`,{d:`M17 14v7`}],[`path`,{d:`M7 14v7`}],[`path`,{d:`M17 3v3`}],[`path`,{d:`M7 3v3`}],[`path`,{d:`M10 14 2.3 6.3`}],[`path`,{d:`m14 6 7.7 7.7`}],[`path`,{d:`m8 6 8 8`}]],xp=[[`path`,{d:`M16 2v2`}],[`path`,{d:`M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`}],[`path`,{d:`M8 2v2`}],[`circle`,{cx:`12`,cy:`11`,r:`3`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],Sp=[[`path`,{d:`M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z`}],[`path`,{d:`M10 21.9V14L2.1 9.1`}],[`path`,{d:`m10 14 11.9-6.9`}],[`path`,{d:`M14 19.8v-8.1`}],[`path`,{d:`M18 17.5V9.4`}]],Cp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 18a6 6 0 0 0 0-12v12z`}]],wp=[[`path`,{d:`M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5`}],[`path`,{d:`M8.5 8.5v.01`}],[`path`,{d:`M16 15.5v.01`}],[`path`,{d:`M12 12v.01`}],[`path`,{d:`M11 17v.01`}],[`path`,{d:`M7 14v.01`}]],Tp=[[`path`,{d:`M2 12h20`}],[`path`,{d:`M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`}],[`path`,{d:`m4 8 16-4`}],[`path`,{d:`m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8`}]],Ep=[[`path`,{d:`m12 15 2 2 4-4`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Dp=[[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Op=[[`line`,{x1:`15`,x2:`15`,y1:`12`,y2:`18`}],[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],kp=[[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Ap=[[`line`,{x1:`12`,x2:`18`,y1:`12`,y2:`18`}],[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],jp=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Mp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.17 14.83a4 4 0 1 0 0-5.66`}]],Np=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M14.83 14.83a4 4 0 1 1 0-5.66`}]],Pp=[[`path`,{d:`M20 4v7a4 4 0 0 1-4 4H4`}],[`path`,{d:`m9 10-5 5 5 5`}]],Fp=[[`path`,{d:`m15 10 5 5-5 5`}],[`path`,{d:`M4 4v7a4 4 0 0 0 4 4h12`}]],Ip=[[`path`,{d:`M14 9 9 4 4 9`}],[`path`,{d:`M20 20h-7a4 4 0 0 1-4-4V4`}]],Lp=[[`path`,{d:`m14 15-5 5-5-5`}],[`path`,{d:`M20 4h-7a4 4 0 0 0-4 4v12`}]],Rp=[[`path`,{d:`m10 15 5 5 5-5`}],[`path`,{d:`M4 4h7a4 4 0 0 1 4 4v12`}]],zp=[[`path`,{d:`m10 9 5-5 5 5`}],[`path`,{d:`M4 20h7a4 4 0 0 0 4-4V4`}]],Bp=[[`path`,{d:`M20 20v-7a4 4 0 0 0-4-4H4`}],[`path`,{d:`M9 14 4 9l5-5`}]],Vp=[[`path`,{d:`m15 14 5-5-5-5`}],[`path`,{d:`M4 20v-7a4 4 0 0 1 4-4h12`}]],Hp=[[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M17 20v2`}],[`path`,{d:`M17 2v2`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M2 17h2`}],[`path`,{d:`M2 7h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`M20 17h2`}],[`path`,{d:`M20 7h2`}],[`path`,{d:`M7 20v2`}],[`path`,{d:`M7 2v2`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`}]],Up=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`}],[`path`,{d:`M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`}]],Wp=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`}]],Gp=[[`path`,{d:`M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487`}],[`path`,{d:`M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132`}],[`path`,{d:`M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42`}],[`path`,{d:`M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14`}],[`path`,{d:`M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676`}]],Kp=[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`}]],qp=[[`path`,{d:`M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z`}]],Jp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`}]],Yp=[[`path`,{d:`M10 22v-8`}],[`path`,{d:`M2.336 8.89 10 14l11.715-7.029`}],[`path`,{d:`M22 14a2 2 0 0 1-.971 1.715l-10 6a2 2 0 0 1-2.138-.05l-6-4A2 2 0 0 1 2 16v-6a2 2 0 0 1 .971-1.715l10-6a2 2 0 0 1 2.138.05l6 4A2 2 0 0 1 22 8z`}]],Xp=[[`path`,{d:`m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8`}],[`path`,{d:`M5 8h14`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0`}],[`path`,{d:`m12 8 1-6h2`}]],Zp=[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`}],[`path`,{d:`M5 21h14`}]],Qp=[[`circle`,{cx:`12`,cy:`12`,r:`8`}],[`line`,{x1:`3`,x2:`6`,y1:`3`,y2:`6`}],[`line`,{x1:`21`,x2:`18`,y1:`3`,y2:`6`}],[`line`,{x1:`3`,x2:`6`,y1:`21`,y2:`18`}],[`line`,{x1:`21`,x2:`18`,y1:`21`,y2:`18`}]],$p=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5v14a9 3 0 0 0 18 0V5`}]],em=[[`path`,{d:`M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`path`,{d:`M2 6h4`}],[`path`,{d:`M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z`}]],tm=[[`path`,{d:`m16 19 3 3 3-3`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`M3 12A9 3 0 0 0 15.182 14.806`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],nm=[[`path`,{d:`M19 22v-6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`m22 19-3-3-3 3`}],[`path`,{d:`M3 12A9 3 0 0 0 14.457 14.886`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],rm=[[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M21 13.127V5`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],im=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 12a9 3 0 0 0 5 2.69`}],[`path`,{d:`M21 9.3V5`}],[`path`,{d:`M3 5v14a9 3 0 0 0 6.47 2.88`}],[`path`,{d:`M12 12v4h4`}],[`path`,{d:`M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16`}]],am=[[`path`,{d:`M21 15V5`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],om=[[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M3 12A9 3 0 0 0 15.1824 14.8061`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],sm=[[`path`,{d:`M21 11.693V5`}],[`path`,{d:`m22 22-1.875-1.875`}],[`path`,{d:`M3 12a9 3 0 0 0 8.697 2.998`}],[`path`,{d:`M3 5v14a9 3 0 0 0 9.28 2.999`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],cm=[[`path`,{d:`m17 17 5 5`}],[`path`,{d:`M19.323 13.744A9 3 0 0 0 21 12`}],[`path`,{d:`M21 13.127V5`}],[`path`,{d:`m22 17-5 5`}],[`path`,{d:`M3 12A9 3 0 0 0 13.563 14.954`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13 21.981`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],lm=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5V19A9 3 0 0 0 15 21.84`}],[`path`,{d:`M21 5V8`}],[`path`,{d:`M21 12L18 17H22L19 22`}],[`path`,{d:`M3 12A9 3 0 0 0 14.59 14.87`}]],um=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}]],dm=[[`path`,{d:`M10 18h10`}],[`path`,{d:`m17 21 3-3-3-3`}],[`path`,{d:`M3 11h.01`}],[`rect`,{x:`15`,y:`3`,width:`5`,height:`8`,rx:`2.5`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`}]],fm=[[`path`,{d:`m13 21-3-3 3-3`}],[`path`,{d:`M20 18H10`}],[`path`,{d:`M3 11h.01`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`}]],pm=[[`path`,{d:`M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z`}],[`path`,{d:`m12 9 6 6`}],[`path`,{d:`m18 9-6 6`}]],mm=[[`path`,{d:`M10.162 3.167A10 10 0 0 0 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4-.006 10 10 0 0 0-8.161-9.826`}],[`path`,{d:`M20.804 14.869a9 9 0 0 1-17.608 0`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}]],hm=[[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`}],[`path`,{d:`M6.48 3.66a10 10 0 0 1 13.86 13.86`}],[`path`,{d:`m6.41 6.41 11.18 11.18`}],[`path`,{d:`M3.66 6.48a10 10 0 0 0 13.86 13.86`}]],gm=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`}],[`path`,{d:`M8 12h8`}]],_m=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z`}],[`path`,{d:`M9.2 9.2h.01`}],[`path`,{d:`m14.5 9.5-5 5`}],[`path`,{d:`M14.7 14.8h.01`}]],vm=[[`path`,{d:`M12 8v8`}],[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`}],[`path`,{d:`M8 12h8`}]],ym=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z`}]],bm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M12 12h.01`}]],xm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M15 9h.01`}],[`path`,{d:`M9 15h.01`}]],Sm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M8 16h.01`}]],Cm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 16h.01`}],[`path`,{d:`M16 16h.01`}]],wm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 16h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M12 12h.01`}]],Tm=[[`rect`,{width:`12`,height:`12`,x:`2`,y:`10`,rx:`2`,ry:`2`}],[`path`,{d:`m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 14h.01`}],[`path`,{d:`M15 6h.01`}],[`path`,{d:`M18 9h.01`}]],Em=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M8 16h.01`}]],Dm=[[`path`,{d:`M12 3v14`}],[`path`,{d:`M5 10h14`}],[`path`,{d:`M5 21h14`}]],Om=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 12h.01`}]],km=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M6 12c0-1.7.7-3.2 1.8-4.2`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M18 12c0 1.7-.7 3.2-1.8 4.2`}]],Am=[[`circle`,{cx:`12`,cy:`6`,r:`1`}],[`line`,{x1:`5`,x2:`19`,y1:`12`,y2:`12`}],[`circle`,{cx:`12`,cy:`18`,r:`1`}]],jm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`5`}],[`path`,{d:`M12 12h.01`}]],Mm=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Nm=[[`path`,{d:`M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8`}],[`path`,{d:`m17 6-2.891-2.891`}],[`path`,{d:`M2 15c3.333-3 6.667-3 10-3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`m20 9 .891.891`}],[`path`,{d:`M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1`}],[`path`,{d:`M3.109 14.109 4 15`}],[`path`,{d:`m6.5 12.5 1 1`}],[`path`,{d:`m7 18 2.891 2.891`}],[`path`,{d:`M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16`}]],Pm=[[`path`,{d:`m10 16 1.5 1.5`}],[`path`,{d:`m14 8-1.5-1.5`}],[`path`,{d:`M15 2c-1.798 1.998-2.518 3.995-2.807 5.993`}],[`path`,{d:`m16.5 10.5 1 1`}],[`path`,{d:`m17 6-2.891-2.891`}],[`path`,{d:`M2 15c6.667-6 13.333 0 20-6`}],[`path`,{d:`m20 9 .891.891`}],[`path`,{d:`M3.109 14.109 4 15`}],[`path`,{d:`m6.5 12.5 1 1`}],[`path`,{d:`m7 18 2.891 2.891`}],[`path`,{d:`M9 22c1.798-1.998 2.518-3.995 2.807-5.993`}]],Fm=[[`path`,{d:`M2 8h20`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 16h12`}]],Im=[[`path`,{d:`M11.25 16.25h1.5L12 17z`}],[`path`,{d:`M16 14v.5`}],[`path`,{d:`M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309`}],[`path`,{d:`M8 14v.5`}],[`path`,{d:`M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5`}]],Lm=[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`}]],Rm=[[`path`,{d:`M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],zm=[[`path`,{d:`M10 12h.01`}],[`path`,{d:`M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M2 20h8`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`}],[`rect`,{x:`14`,y:`17`,width:`8`,height:`5`,rx:`1`}]],Bm=[[`path`,{d:`M10 12h.01`}],[`path`,{d:`M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M2 20h20`}]],Vm=[[`path`,{d:`M11 20H2`}],[`path`,{d:`M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z`}],[`path`,{d:`M11 4H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M14 12h.01`}],[`path`,{d:`M22 20h-3`}]],Hm=[[`circle`,{cx:`12`,cy:`12`,r:`1`}]],Um=[[`path`,{d:`M12 15V3`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}],[`path`,{d:`m7 10 5 5 5-5`}]],Wm=[[`path`,{d:`M10 11h.01`}],[`path`,{d:`M14 6h.01`}],[`path`,{d:`M18 6h.01`}],[`path`,{d:`M6.5 13.1h.01`}],[`path`,{d:`M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3`}],[`path`,{d:`M17.4 9.9c-.8.8-2 .8-2.8 0`}],[`path`,{d:`M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7`}],[`path`,{d:`M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4`}]],Gm=[[`path`,{d:`M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z`}],[`path`,{d:`M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8`}],[`path`,{d:`M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M18 6h4`}],[`path`,{d:`m5 10-2 8`}],[`path`,{d:`m7 18 2-8`}]],Km=[[`path`,{d:`m12.99 6.74 1.93 3.44`}],[`path`,{d:`M19.136 12a10 10 0 0 1-14.271 0`}],[`path`,{d:`m21 21-2.16-3.84`}],[`path`,{d:`m3 21 8.02-14.26`}],[`circle`,{cx:`12`,cy:`5`,r:`2`}]],qm=[[`path`,{d:`M10 10 7 7`}],[`path`,{d:`m10 14-3 3`}],[`path`,{d:`m14 10 3-3`}],[`path`,{d:`m14 14 3 3`}],[`path`,{d:`M14.205 4.139a4 4 0 1 1 5.439 5.863`}],[`path`,{d:`M19.637 14a4 4 0 1 1-5.432 5.868`}],[`path`,{d:`M4.367 10a4 4 0 1 1 5.438-5.862`}],[`path`,{d:`M9.795 19.862a4 4 0 1 1-5.429-5.873`}],[`rect`,{x:`10`,y:`8`,width:`4`,height:`8`,rx:`1`}]],Jm=[[`path`,{d:`M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208`}]],Ym=[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`}]],Xm=[[`path`,{d:`M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z`}],[`path`,{d:`M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97`}]],Zm=[[`path`,{d:`m2 2 8 8`}],[`path`,{d:`m22 2-8 8`}],[`ellipse`,{cx:`12`,cy:`9`,rx:`10`,ry:`5`}],[`path`,{d:`M7 13.4v7.9`}],[`path`,{d:`M12 14v8`}],[`path`,{d:`M17 13.4v7.9`}],[`path`,{d:`M2 9v8a10 5 0 0 0 20 0V9`}]],Qm=[[`path`,{d:`M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23`}],[`path`,{d:`m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59`}]],$m=[[`path`,{d:`M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z`}],[`path`,{d:`m2.5 21.5 1.4-1.4`}],[`path`,{d:`m20.1 3.9 1.4-1.4`}],[`path`,{d:`M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z`}],[`path`,{d:`m9.6 14.4 4.8-4.8`}]],eh=[[`path`,{d:`M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46`}],[`path`,{d:`M6 8.5c0-.75.13-1.47.36-2.14`}],[`path`,{d:`M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76`}],[`path`,{d:`M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],th=[[`path`,{d:`M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0`}],[`path`,{d:`M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4`}]],nh=[[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`}],[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`}],[`path`,{d:`M12 2a10 10 0 1 0 9.54 13`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`}]],rh=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a7 7 0 1 0 10 10`}]],ih=[[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`}],[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],ah=[[`circle`,{cx:`11.5`,cy:`12.5`,r:`3.5`}],[`path`,{d:`M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z`}]],oh=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 14.347V14c0-6-4-12-8-12-1.078 0-2.157.436-3.157 1.19`}],[`path`,{d:`M6.206 6.21C4.871 8.4 4 11.2 4 14a8 8 0 0 0 14.568 4.568`}]],sh=[[`path`,{d:`M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12`}]],ch=[[`ellipse`,{cx:`12`,cy:`12`,rx:`10`,ry:`6`}]],lh=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`circle`,{cx:`12`,cy:`19`,r:`1`}]],uh=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}]],dh=[[`path`,{d:`M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`}],[`path`,{d:`M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`}]],fh=[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`}],[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`}]],ph=[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`}]],mh=[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`}],[`path`,{d:`m5.082 11.09 8.828 8.828`}]],hh=[[`path`,{d:`M10 8v1`}],[`path`,{d:`M14 8v1`}],[`path`,{d:`M18 8v1`}],[`path`,{d:`M19 17a2 2 0 00-1.765 1.059l-.47.882A2 2 0 0115 20H9a2 2 0 01-1.765-1.059l-.47-.882A2 2 0 005 17H4a2 2 0 01-2-2V6a2 2 0 012-2h16a2 2 0 012 2v9a2 2 0 01-2 2z`}],[`path`,{d:`M6 8v1`}]],gh=[[`path`,{d:`M4 10h12`}],[`path`,{d:`M4 14h9`}],[`path`,{d:`M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2`}]],_h=[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`}],[`path`,{d:`M2 21h13`}],[`path`,{d:`M3 7h11`}],[`path`,{d:`m9 11-2 3h3l-2 3`}]],vh=[[`path`,{d:`m15 15 6 6`}],[`path`,{d:`m15 9 6-6`}],[`path`,{d:`M21 16v5h-5`}],[`path`,{d:`M21 8V3h-5`}],[`path`,{d:`M3 16v5h5`}],[`path`,{d:`m3 21 6-6`}],[`path`,{d:`M3 8V3h5`}],[`path`,{d:`M9 9 3 3`}]],yh=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`M10 14 21 3`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}]],bh=[[`path`,{d:`m15 18-.722-3.25`}],[`path`,{d:`M2 8a10.645 10.645 0 0 0 20 0`}],[`path`,{d:`m20 15-1.726-2.05`}],[`path`,{d:`m4 15 1.726-2.05`}],[`path`,{d:`m9 18 .722-3.25`}]],xh=[[`path`,{d:`M13.054 18.946a11 11 0 0 1-2.11 0`}],[`path`,{d:`M13.054 5.054a11 11 0 0 0-2.11-.001`}],[`path`,{d:`M17.072 6.274a11 11 0 0 1 1.753 1.173`}],[`path`,{d:`M18.825 16.552a11 11 0 0 1-1.753 1.174`}],[`path`,{d:`M2.514 13.303a11 11 0 0 1-.452-.954 1 1 0 0 1 0-.697 11 11 0 0 1 .45-.955`}],[`path`,{d:`M21.485 10.697a11 11 0 0 1 .453.955 1 1 0 0 1 0 .697 11 11 0 0 1-.453.954`}],[`path`,{d:`M5.173 7.448a11 11 0 0 1 1.753-1.174`}],[`path`,{d:`M6.926 17.726a11 11 0 0 1-1.753-1.174`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Sh=[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`}],[`path`,{d:`m2 2 20 20`}]],Ch=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],wh=[[`path`,{d:`M12 16h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`}],[`path`,{d:`M8 16h.01`}]],Th=[[`path`,{d:`M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z`}],[`path`,{d:`M12 12v.01`}]],Eh=[[`path`,{d:`M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z`}],[`path`,{d:`M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z`}]],Dh=[[`path`,{d:`M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}],[`path`,{d:`M6 8h4`}],[`path`,{d:`M6 18h4`}],[`path`,{d:`m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}],[`path`,{d:`M14 8h4`}],[`path`,{d:`M14 18h4`}],[`path`,{d:`m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}]],Oh=[[`path`,{d:`M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z`}],[`path`,{d:`M16 8 2 22`}],[`path`,{d:`M17.5 15H9`}]],kh=[[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`m6.8 15-3.5 2`}],[`path`,{d:`m20.7 7-3.5 2`}],[`path`,{d:`M6.8 9 3.3 7`}],[`path`,{d:`m20.7 17-3.5-2`}],[`path`,{d:`m9 22 3-8 3 8`}],[`path`,{d:`M8 22h8`}],[`path`,{d:`M18 18.7a9 9 0 1 0-12 0`}]],Ah=[[`path`,{d:`M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 12v-1`}],[`path`,{d:`M8 18v-2`}],[`path`,{d:`M8 7V6`}],[`circle`,{cx:`8`,cy:`20`,r:`2`}]],jh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m8 18 4-4`}],[`path`,{d:`M8 10v8h8`}]],Mh=[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88`}],[`circle`,{cx:`6`,cy:`14`,r:`3`}]],Nh=[[`path`,{d:`M14 2v5a1 1 0 001 1h5`}],[`path`,{d:`M14.692 22H18a2 2 0 002-2V8a2.4 2.4 0 00-.706-1.706l-3.588-3.588A2.4 2.4 0 0014 2H6a2 2 0 00-2 2v3.804`}],[`path`,{d:`M2.264 13.752 7 16.5l4.737-2.748`}],[`path`,{d:`M2.995 13.014A2 2 0 002 14.744v3.516a2 2 0 00.996 1.73l3 1.74a2 2 0 002.008 0l3-1.74A2 2 0 0012 18.26v-3.517a2 2 0 00-.995-1.73l-3-1.742a2 2 0 00-1.892-.064z`}],[`path`,{d:`M7 16.5V22`}]],Ph=[[`path`,{d:`M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1`}],[`path`,{d:`M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1`}]],Fh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1`}],[`path`,{d:`M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1`}]],Ih=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 18v-2`}],[`path`,{d:`M12 18v-4`}],[`path`,{d:`M16 18v-6`}]],Lh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 18v-1`}],[`path`,{d:`M12 18v-6`}],[`path`,{d:`M16 18v-3`}]],Rh=[[`path`,{d:`M15.941 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.512`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M4.017 11.512a6 6 0 1 0 8.466 8.475`}],[`path`,{d:`M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z`}]],zh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m16 13-3.5 3.5-2-2L8 17`}]],Bh=[[`path`,{d:`M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m14 20 2 2 4-4`}]],Vh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m9 15 2 2 4-4`}]],Hh=[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m5 16-3 3 3 3`}],[`path`,{d:`m9 22 3-3-3-3`}]],Uh=[[`path`,{d:`M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 14v2.2l1.6 1`}],[`circle`,{cx:`8`,cy:`16`,r:`6`}]],Wh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 12.5 8 15l2 2.5`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`}]],Gh=[[`path`,{d:`M15 8a1 1 0 0 1-1-1V2a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8z`}],[`path`,{d:`M20 8v12a2 2 0 0 1-2 2h-4.182`}],[`path`,{d:`m3.305 19.53.923-.382`}],[`path`,{d:`M4 10.592V4a2 2 0 0 1 2-2h8`}],[`path`,{d:`m4.228 16.852-.924-.383`}],[`path`,{d:`m5.852 15.228-.383-.923`}],[`path`,{d:`m5.852 20.772-.383.924`}],[`path`,{d:`m8.148 15.228.383-.923`}],[`path`,{d:`m8.53 21.696-.382-.924`}],[`path`,{d:`m9.773 16.852.922-.383`}],[`path`,{d:`m9.773 19.148.922.383`}],[`circle`,{cx:`7`,cy:`18`,r:`3`}]],Kh=[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 16h2v6`}],[`path`,{d:`M10 22h4`}],[`rect`,{x:`2`,y:`16`,width:`4`,height:`6`,rx:`2`}]],qh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M9 10h6`}],[`path`,{d:`M12 13V7`}],[`path`,{d:`M9 17h6`}]],Jh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 18v-6`}],[`path`,{d:`m9 15 3 3 3-3`}]],Yh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M12 9v4`}],[`path`,{d:`M12 17h.01`}]],Xh=[[`path`,{d:`M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0`}]],Zh=[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M3.62 18.8A2.25 2.25 0 1 1 7 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a1 1 0 0 1-1.507 0z`}]],Qh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`circle`,{cx:`10`,cy:`12`,r:`2`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`}]],$h=[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M2 15h10`}],[`path`,{d:`m9 18 3-3-3-3`}]],eg=[[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M4 12v6`}],[`path`,{d:`M4 14h2`}],[`path`,{d:`M9.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v4`}],[`circle`,{cx:`4`,cy:`20`,r:`2`}]],tg=[[`path`,{d:`M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 17v-2a2 2 0 0 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`3`,y:`17`,rx:`1`}]],ng=[[`path`,{d:`M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M14 18h6`}]],rg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 15h6`}]],ig=[[`path`,{d:`M11.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 20v-7l3 1.474`}],[`circle`,{cx:`6`,cy:`20`,r:`2`}]],ag=[[`path`,{d:`M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m5 11-3 3`}],[`path`,{d:`m5 17-3-3h10`}]],og=[[`path`,{d:`M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z`}],[`path`,{d:`M14.487 7.858A1 1 0 0 1 14 7V2`}],[`path`,{d:`M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516`}],[`path`,{d:`M8 18h1`}]],sg=[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`}]],cg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z`}]],lg=[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M14 19h6`}],[`path`,{d:`M17 16v6`}]],ug=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 15h6`}],[`path`,{d:`M12 18v-6`}]],dg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`}]],fg=[[`path`,{d:`M20 10V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M16 14a2 2 0 0 0-2 2`}],[`path`,{d:`M16 22a2 2 0 0 1-2-2`}],[`path`,{d:`M20 14a2 2 0 0 1 2 2`}],[`path`,{d:`M20 22a2 2 0 0 0 2-2`}]],pg=[[`path`,{d:`M11.1 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.589 3.588A2.4 2.4 0 0 1 20 8v3.25`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m21 22-2.88-2.88`}],[`circle`,{cx:`16`,cy:`17`,r:`3`}]],mg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`circle`,{cx:`11.5`,cy:`14.5`,r:`2.5`}],[`path`,{d:`M13.3 16.3 15 18`}]],hg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M10 11v2`}],[`path`,{d:`M8 17h8`}],[`path`,{d:`M14 16v2`}]],gg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M11.5 13.5a2.5 2.5 0 0 1 0 3`}],[`path`,{d:`M15 12a5 5 0 0 1 0 6`}]],_g=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 13h2`}],[`path`,{d:`M14 13h2`}],[`path`,{d:`M8 17h2`}],[`path`,{d:`M14 17h2`}]],vg=[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m10 18 3-3-3-3`}]],yg=[[`path`,{d:`M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1`}],[`path`,{d:`M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1`}],[`path`,{d:`M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z`}]],bg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m8 16 2-2-2-2`}],[`path`,{d:`M12 18h4`}]],xg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 9H8`}],[`path`,{d:`M16 13H8`}],[`path`,{d:`M16 17H8`}]],Sg=[[`path`,{d:`M12 22h6a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M3 16v-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5V16`}],[`path`,{d:`M6 22h2`}],[`path`,{d:`M7 14v8`}]],Cg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M11 18h2`}],[`path`,{d:`M12 12v6`}],[`path`,{d:`M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5`}]],wg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 12v6`}],[`path`,{d:`m15 15-3-3-3 3`}]],Tg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M16 22a4 4 0 0 0-8 0`}],[`circle`,{cx:`12`,cy:`15`,r:`3`}]],Eg=[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157`}],[`rect`,{width:`7`,height:`6`,x:`3`,y:`16`,rx:`1`}]],Dg=[[`path`,{d:`M4 11.55V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-1.95`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 15a5 5 0 0 1 0 6`}],[`path`,{d:`M8 14.502a.5.5 0 0 0-.826-.381l-1.893 1.631a1 1 0 0 1-.651.243H3.5a.5.5 0 0 0-.5.501v3.006a.5.5 0 0 0 .5.501h1.129a1 1 0 0 1 .652.243l1.893 1.633a.5.5 0 0 0 .826-.38z`}]],Og=[[`path`,{d:`M11 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m15 17 5 5`}],[`path`,{d:`m20 17-5 5`}]],kg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m14.5 12.5-5 5`}],[`path`,{d:`m9.5 12.5 5 5`}]],Ag=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}]],jg=[[`path`,{d:`M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`}],[`path`,{d:`M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z`}],[`path`,{d:`M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1`}]],Mg=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 3v18`}],[`path`,{d:`M3 7.5h4`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M3 16.5h4`}],[`path`,{d:`M17 3v18`}],[`path`,{d:`M17 7.5h4`}],[`path`,{d:`M17 16.5h4`}]],Ng=[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`}],[`path`,{d:`M2 16h.01`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`}]],Pg=[[`path`,{d:`M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5`}],[`path`,{d:`M9 18h8`}],[`path`,{d:`M18 3h-3`}],[`path`,{d:`M11 3a6 6 0 0 0-6 6v11`}],[`path`,{d:`M5 13h4`}],[`path`,{d:`M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z`}]],Fg=[[`path`,{d:`M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20`}]],Ig=[[`path`,{d:`M2 16s9-15 20-4C11 23 2 8 2 8`}]],Lg=[[`path`,{d:`M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z`}],[`path`,{d:`M18 12v.5`}],[`path`,{d:`M16 17.93a9.77 9.77 0 0 1 0-11.86`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33`}],[`path`,{d:`M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98`}]],Rg=[[`path`,{d:`m17.586 11.414-5.93 5.93a1 1 0 0 1-8-8l3.137-3.137a.707.707 0 0 1 1.207.5V10`}],[`path`,{d:`M20.414 8.586 22 7`}],[`circle`,{cx:`19`,cy:`10`,r:`2`}]],zg=[[`path`,{d:`M4 11h1`}],[`path`,{d:`M8 15a2 2 0 0 1-4 0V3a1 1 0 0 1 1-1h.5C14 2 20 9 20 18v4`}],[`circle`,{cx:`18`,cy:`18`,r:`2`}]],Bg=[[`path`,{d:`M16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4 22V4`}],[`path`,{d:`M7.656 2H8c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10.347`}]],Vg=[[`path`,{d:`M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5`}]],Hg=[[`path`,{d:`M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5`}]],Ug=[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`}]],Wg=[[`path`,{d:`M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z`}],[`path`,{d:`m5 22 14-4`}],[`path`,{d:`m5 18 14 4`}]],Gg=[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`}]],Kg=[[`path`,{d:`M11.652 6H18`}],[`path`,{d:`M12 13v1`}],[`path`,{d:`M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V6`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7.649 2H17a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8a4 4 0 0 0-.55 1.007`}]],qg=[[`path`,{d:`M12 13v1`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8A4 4 0 0 0 16 12v8a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 6h12`}]],Jg=[[`path`,{d:`M10 2v2.343`}],[`path`,{d:`M14 2v6.343`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563`}],[`path`,{d:`M6.453 15H15`}],[`path`,{d:`M8.5 2h7`}]],Yg=[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`}],[`path`,{d:`M6.453 15h11.094`}],[`path`,{d:`M8.5 2h7`}]],Xg=[[`path`,{d:`M10 2v6.292a7 7 0 1 0 4 0V2`}],[`path`,{d:`M5 15h14`}],[`path`,{d:`M8.5 2h7`}]],Zg=[[`path`,{d:`m3 7 5 5-5 5V7`}],[`path`,{d:`m21 7-5 5 5 5V7`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 2v2`}]],Qg=[[`path`,{d:`m17 3-5 5-5-5h10`}],[`path`,{d:`m17 21-5-5-5 5h10`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],qee=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5`}],[`path`,{d:`M12 7.5V9`}],[`path`,{d:`M7.5 12H9`}],[`path`,{d:`M16.5 12H15`}],[`path`,{d:`M12 16.5V15`}],[`path`,{d:`m8 8 1.88 1.88`}],[`path`,{d:`M14.12 9.88 16 8`}],[`path`,{d:`m8 16 1.88-1.88`}],[`path`,{d:`M14.12 14.12 16 16`}]],$g=[[`path`,{d:`M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}],[`path`,{d:`M12 10v12`}],[`path`,{d:`M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z`}],[`path`,{d:`M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z`}]],e_=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}]],t_=[[`path`,{d:`M2 12h6`}],[`path`,{d:`M22 12h-6`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m19 9-3 3 3 3`}],[`path`,{d:`m5 15 3-3-3-3`}]],n_=[[`path`,{d:`M12 22v-6`}],[`path`,{d:`M12 8V2`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}],[`path`,{d:`m15 19-3-3-3 3`}],[`path`,{d:`m15 5-3 3-3-3`}]],r_=[[`circle`,{cx:`15`,cy:`19`,r:`2`}],[`path`,{d:`M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1`}],[`path`,{d:`M15 11v-1`}],[`path`,{d:`M15 17v-2`}]],i_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`m9 13 2 2 4-4`}]],a_=[[`path`,{d:`M12 6v8l3-3 3 3V6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`}]],o_=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}]],s_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M2 10h20`}]],c_=[[`path`,{d:`M10 10.5 8 13l2 2.5`}],[`path`,{d:`m14 10.5 2 2.5-2 2.5`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`}]],l_=[[`path`,{d:`M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3`}],[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],u_=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`circle`,{cx:`12`,cy:`13`,r:`1`}]],d_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`m15 13-3 3-3-3`}]],f_=[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`}],[`circle`,{cx:`13`,cy:`12`,r:`2`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}]],p_=[[`circle`,{cx:`12`,cy:`13`,r:`2`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M14 13h3`}],[`path`,{d:`M7 13h3`}]],m_=[[`path`,{d:`M10.638 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.417`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}]],h_=[[`path`,{d:`M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M2 13h10`}],[`path`,{d:`m9 16 3-3-3-3`}]],g_=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M12 10v2`}],[`path`,{d:`M16 10v6`}]],__=[[`path`,{d:`M13 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.36`}],[`path`,{d:`M19 12v6`}],[`path`,{d:`M19 14h2`}],[`circle`,{cx:`19`,cy:`20`,r:`2`}]],v_=[[`rect`,{width:`8`,height:`5`,x:`14`,y:`17`,rx:`1`}],[`path`,{d:`M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`}]],y_=[[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],b_=[[`path`,{d:`m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2`}],[`circle`,{cx:`14`,cy:`15`,r:`1`}]],x_=[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`}]],S_=[[`path`,{d:`M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5`}],[`path`,{d:`M2 13h10`}],[`path`,{d:`m5 10-3 3 3 3`}]],C_=[[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],w_=[[`path`,{d:`M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5`}],[`path`,{d:`M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],T_=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`circle`,{cx:`12`,cy:`13`,r:`2`}],[`path`,{d:`M12 15v5`}]],E_=[[`circle`,{cx:`11.5`,cy:`12.5`,r:`2.5`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M13.3 14.3 15 16`}]],D_=[[`path`,{d:`M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1`}],[`path`,{d:`m21 21-1.9-1.9`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}]],O_=[[`path`,{d:`M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`}],[`path`,{d:`m8 16 3-3-3-3`}]],k_=[[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5`}],[`path`,{d:`M12 10v4h4`}],[`path`,{d:`m12 14 1.535-1.605a5 5 0 0 1 8 1.5`}],[`path`,{d:`M22 22v-4h-4`}],[`path`,{d:`m22 18-1.535 1.605a5 5 0 0 1-8-1.5`}]],A_=[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`}]],j_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`m9 13 3-3 3 3`}]],M_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`m9.5 10.5 5 5`}],[`path`,{d:`m14.5 10.5-5 5`}]],N_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],P_=[[`path`,{d:`M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z`}],[`path`,{d:`M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1`}]],F_=[[`path`,{d:`M12 12H5a2 2 0 0 0-2 2v5`}],[`path`,{d:`M15 19h7`}],[`path`,{d:`M16 19V2`}],[`path`,{d:`M6 12V7a2 2 0 0 1 2-2h2.172a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 16 10.828`}],[`path`,{d:`M7 19h4`}],[`circle`,{cx:`13`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],I_=[[`path`,{d:`M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z`}],[`path`,{d:`M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z`}],[`path`,{d:`M16 17h4`}],[`path`,{d:`M4 13h4`}]],L_=[[`path`,{d:`M4 14h6`}],[`path`,{d:`M4 2h10`}],[`rect`,{x:`4`,y:`18`,width:`16`,height:`4`,rx:`1`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`4`,rx:`1`}]],R_=[[`path`,{d:`m15 17 5-5-5-5`}],[`path`,{d:`M4 18v-2a4 4 0 0 1 4-4h12`}]],z_=[[`line`,{x1:`22`,x2:`2`,y1:`6`,y2:`6`}],[`line`,{x1:`22`,x2:`2`,y1:`18`,y2:`18`}],[`line`,{x1:`6`,x2:`6`,y1:`2`,y2:`22`}],[`line`,{x1:`18`,x2:`18`,y1:`2`,y2:`22`}]],B_=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],V_=[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`}],[`path`,{d:`M2 21h13`}],[`path`,{d:`M3 9h11`}]],H_=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`rect`,{width:`10`,height:`8`,x:`7`,y:`8`,rx:`1`}]],U_=[[`path`,{d:`M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348`}],[`path`,{d:`M16 6h6`}],[`path`,{d:`M19 3v6`}]],W_=[[`path`,{d:`M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473`}],[`path`,{d:`m16.5 3.5 5 5`}],[`path`,{d:`m21.5 3.5-5 5`}]],G_=[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`}]],K_=[[`path`,{d:`M2 7v10`}],[`path`,{d:`M6 5v14`}],[`rect`,{width:`12`,height:`18`,x:`10`,y:`3`,rx:`2`}]],q_=[[`path`,{d:`M2 3v18`}],[`rect`,{width:`12`,height:`18`,x:`6`,y:`3`,rx:`2`}],[`path`,{d:`M22 3v18`}]],J_=[[`rect`,{width:`18`,height:`14`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M4 21h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M19 21h1`}]],Y_=[[`path`,{d:`M3 2h18`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`6`,rx:`2`}],[`path`,{d:`M3 22h18`}]],X_=[[`path`,{d:`M7 2h10`}],[`path`,{d:`M5 6h14`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`}]],Z_=[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`}]],Q_=[[`path`,{d:`M11.146 15.854a1.207 1.207 0 0 1 1.708 0l1.56 1.56A2 2 0 0 1 15 18.828V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2.172a2 2 0 0 1 .586-1.414z`}],[`path`,{d:`M18.828 15a2 2 0 0 1-1.414-.586l-1.56-1.56a1.207 1.207 0 0 1 0-1.708l1.56-1.56A2 2 0 0 1 18.828 9H21a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z`}],[`path`,{d:`M6.586 14.414A2 2 0 0 1 5.172 15H3a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2.172a2 2 0 0 1 1.414.586l1.56 1.56a1.207 1.207 0 0 1 0 1.708z`}],[`path`,{d:`M9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2.172a2 2 0 0 1-.586 1.414l-1.56 1.56a1.207 1.207 0 0 1-1.708 0l-1.56-1.56A2 2 0 0 1 9 5.172z`}]],$_=[[`line`,{x1:`6`,x2:`10`,y1:`12`,y2:`12`}],[`line`,{x1:`8`,x2:`8`,y1:`10`,y2:`14`}],[`line`,{x1:`15`,x2:`15.01`,y1:`13`,y2:`13`}],[`line`,{x1:`18`,x2:`18.01`,y1:`11`,y2:`11`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],ev=[[`path`,{d:`m12 14 4-4`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`}]],tv=[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381`}],[`path`,{d:`m16 16 6-6`}],[`path`,{d:`m21.5 10.5-8-8`}],[`path`,{d:`m8 8 6-6`}],[`path`,{d:`m8.5 7.5 8 8`}]],nv=[[`path`,{d:`M10.5 3 8 9l4 13 4-13-2.5-6`}],[`path`,{d:`M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z`}],[`path`,{d:`M2 9h20`}]],rv=[[`path`,{d:`M9 10h.01`}],[`path`,{d:`M15 10h.01`}],[`path`,{d:`M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z`}]],iv=[[`path`,{d:`M11.5 21a7.5 7.5 0 1 1 7.35-9`}],[`path`,{d:`M13 12V3`}],[`path`,{d:`M4 21h16`}],[`path`,{d:`M9 12V3`}]],av=[[`path`,{d:`M12 7v14`}],[`path`,{d:`M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`}],[`path`,{d:`M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5`}],[`rect`,{x:`3`,y:`7`,width:`18`,height:`4`,rx:`1`}]],ov=[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`}],[`path`,{d:`M21 18h-6`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}]],sv=[[`path`,{d:`M6 3v12`}],[`path`,{d:`M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`}],[`path`,{d:`M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`}],[`path`,{d:`M15 6a9 9 0 0 0-9 9`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}]],cv=[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}]],lv=[[`path`,{d:`M12 3v6`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M12 15v6`}]],uv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`}],[`path`,{d:`m15 9-3-3 3-3`}],[`circle`,{cx:`19`,cy:`18`,r:`3`}],[`path`,{d:`M12 18H7a2 2 0 0 1-2-2V9`}],[`path`,{d:`m9 15 3 3-3 3`}]],dv=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`}]],fv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`}],[`path`,{d:`M11 18H8a2 2 0 0 1-2-2V9`}]],pv=[[`circle`,{cx:`12`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`path`,{d:`M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9`}],[`path`,{d:`M12 12v3`}]],mv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v6`}],[`circle`,{cx:`5`,cy:`18`,r:`3`}],[`path`,{d:`M12 3v18`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}],[`path`,{d:`M16 15.7A9 9 0 0 0 19 9`}]],hv=[[`path`,{d:`M12 6h4a2 2 0 0 1 2 2v7`}],[`path`,{d:`M6 12v9`}],[`path`,{d:`M9 3 3 9`}],[`path`,{d:`M9 9 3 3`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],gv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`}]],_v=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v12`}],[`circle`,{cx:`19`,cy:`18`,r:`3`}],[`path`,{d:`m15 9-3-3 3-3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`}]],vv=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 9v12`}],[`path`,{d:`m21 3-6 6`}],[`path`,{d:`m21 9-6-6`}],[`path`,{d:`M18 11.5V15`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],yv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v12`}],[`path`,{d:`m15 9-3-3 3-3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v3`}],[`path`,{d:`M19 15v6`}],[`path`,{d:`M22 18h-6`}]],bv=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 9v12`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v3`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}]],xv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M18 6V5`}],[`path`,{d:`M18 11v-1`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`}]],Sv=[[`path`,{d:`M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z`}],[`path`,{d:`M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0`}]],Cv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`}]],wv=[[`circle`,{cx:`6`,cy:`15`,r:`4`}],[`circle`,{cx:`18`,cy:`15`,r:`4`}],[`path`,{d:`M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2`}],[`path`,{d:`M2.5 13 5 7c.7-1.3 1.4-2 3-2`}],[`path`,{d:`M21.5 13 19 7c-.7-1.3-1.5-2-3-2`}]],Tv=[[`path`,{d:`m15 6 2 2 4-4`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`}]],Ev=[[`path`,{d:`M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13`}],[`path`,{d:`M2 12h8.5`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`}]],Dv=[[`path`,{d:`M10.114 4.462A14.5 14.5 0 0 1 12 2a10 10 0 0 1 9.313 13.643`}],[`path`,{d:`M15.557 15.556A14.5 14.5 0 0 1 12 22 10 10 0 0 1 4.929 4.929`}],[`path`,{d:`M15.892 10.234A14.5 14.5 0 0 0 12 2a10 10 0 0 0-3.643.687`}],[`path`,{d:`M17.656 12H22`}],[`path`,{d:`M19.071 19.071A10 10 0 0 1 12 22 14.5 14.5 0 0 1 8.44 8.45`}],[`path`,{d:`M2 12h10`}],[`path`,{d:`m2 2 20 20`}]],Ov=[[`path`,{d:`m16 3 5 5`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`}],[`path`,{d:`m21 3-5 5`}]],kv=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`}],[`path`,{d:`M2 12h20`}]],Av=[[`path`,{d:`M12 13V2l8 4-8 4`}],[`path`,{d:`M20.561 10.222a9 9 0 1 1-12.55-5.29`}],[`path`,{d:`M8.002 9.997a5 5 0 1 0 8.9 2.02`}]],jv=[[`path`,{d:`M2 17h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H2`}],[`path`,{d:`M2 21V3`}],[`path`,{d:`M7 17v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3`}],[`circle`,{cx:`16`,cy:`11`,r:`2`}],[`circle`,{cx:`8`,cy:`11`,r:`2`}]],Mv=[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`}],[`path`,{d:`M22 10v6`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`}]],Nv=[[`path`,{d:`M22 5V2l-5.89 5.89`}],[`circle`,{cx:`16.6`,cy:`15.89`,r:`3`}],[`circle`,{cx:`8.11`,cy:`7.4`,r:`3`}],[`circle`,{cx:`12.35`,cy:`11.65`,r:`3`}],[`circle`,{cx:`13.91`,cy:`5.85`,r:`3`}],[`circle`,{cx:`18.15`,cy:`10.09`,r:`3`}],[`circle`,{cx:`6.56`,cy:`13.2`,r:`3`}],[`circle`,{cx:`10.8`,cy:`17.44`,r:`3`}],[`circle`,{cx:`5`,cy:`19`,r:`3`}]],Pv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`m16 19 2 2 4-4`}]],Fv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`M16 19h6`}],[`path`,{d:`M19 22v-6`}]],Iv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`m16 16 5 5`}],[`path`,{d:`m16 21 5-5`}]],Lv=[[`path`,{d:`M12 3v18`}],[`path`,{d:`M3 12h18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Rv=[[`path`,{d:`M15 3v18`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M9 3v18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],zv=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],Bv=[[`circle`,{cx:`12`,cy:`9`,r:`1`}],[`circle`,{cx:`19`,cy:`9`,r:`1`}],[`circle`,{cx:`5`,cy:`9`,r:`1`}],[`circle`,{cx:`12`,cy:`15`,r:`1`}],[`circle`,{cx:`19`,cy:`15`,r:`1`}],[`circle`,{cx:`5`,cy:`15`,r:`1`}]],Vv=[[`circle`,{cx:`9`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`5`,r:`1`}],[`circle`,{cx:`9`,cy:`19`,r:`1`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`15`,cy:`5`,r:`1`}],[`circle`,{cx:`15`,cy:`19`,r:`1`}]],Hv=[[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`circle`,{cx:`19`,cy:`5`,r:`1`}],[`circle`,{cx:`5`,cy:`5`,r:`1`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}],[`circle`,{cx:`12`,cy:`19`,r:`1`}],[`circle`,{cx:`19`,cy:`19`,r:`1`}],[`circle`,{cx:`5`,cy:`19`,r:`1`}]],Uv=[[`path`,{d:`M3 7V5c0-1.1.9-2 2-2h2`}],[`path`,{d:`M17 3h2c1.1 0 2 .9 2 2v2`}],[`path`,{d:`M21 17v2c0 1.1-.9 2-2 2h-2`}],[`path`,{d:`M7 21H5c-1.1 0-2-.9-2-2v-2`}],[`rect`,{width:`7`,height:`5`,x:`7`,y:`7`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`10`,y:`12`,rx:`1`}]],Wv=[[`path`,{d:`m11.9 12.1 4.514-4.514`}],[`path`,{d:`M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z`}],[`path`,{d:`m6 16 2 2`}],[`path`,{d:`M8.23 9.85A3 3 0 0 1 11 8a5 5 0 0 1 5 5 3 3 0 0 1-1.85 2.77l-.92.38A2 2 0 0 0 12 18a4 4 0 0 1-4 4 6 6 0 0 1-6-6 4 4 0 0 1 4-4 2 2 0 0 0 1.85-1.23z`}]],Gv=[[`path`,{d:`M12 16H4a2 2 0 1 1 0-4h16a2 2 0 1 1 0 4h-4.25`}],[`path`,{d:`M5 12a2 2 0 0 1-2-2 9 7 0 0 1 18 0 2 2 0 0 1-2 2`}],[`path`,{d:`M5 16a2 2 0 0 0-2 2 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 2 2 0 0 0-2-2q0 0 0 0`}],[`path`,{d:`m6.67 12 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`}]],Kv=[[`path`,{d:`M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856`}],[`path`,{d:`M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288`}],[`path`,{d:`M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025`}],[`path`,{d:`m8.5 16.5-1-1`}]],qv=[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`}],[`path`,{d:`m18 15 4-4`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`}]],Jv=[[`path`,{d:`M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17`}],[`path`,{d:`m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`}],[`path`,{d:`m2 16 6 6`}],[`circle`,{cx:`16`,cy:`9`,r:`2.9`}],[`circle`,{cx:`6`,cy:`5`,r:`3`}]],Yv=[[`path`,{d:`M12.035 17.012a3 3 0 0 0-3-3l-.311-.002a.72.72 0 0 1-.505-1.229l1.195-1.195A2 2 0 0 1 10.828 11H12a2 2 0 0 0 0-4H9.243a3 3 0 0 0-2.122.879l-2.707 2.707A4.83 4.83 0 0 0 3 14a8 8 0 0 0 8 8h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v2a2 2 0 1 0 4 0`}],[`path`,{d:`M13.888 9.662A2 2 0 0 0 17 8V5A2 2 0 1 0 13 5`}],[`path`,{d:`M9 5A2 2 0 1 0 5 5V10`}],[`path`,{d:`M9 7V4A2 2 0 1 1 13 4V7.268`}]],Xv=[[`path`,{d:`M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16`}],[`path`,{d:`m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95`}],[`path`,{d:`m2 15 6 6`}],[`path`,{d:`m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91`}]],Zv=[[`path`,{d:`M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`}],[`path`,{d:`M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`}],[`path`,{d:`M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5`}],[`path`,{d:`M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0`}]],Qv=[[`path`,{d:`M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14`}],[`path`,{d:`m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`}],[`path`,{d:`m2 13 6 6`}]],$v=[[`path`,{d:`M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`}],[`path`,{d:`M14 11V9a2 2 0 1 0-4 0v2`}],[`path`,{d:`M10 10.5V5a2 2 0 1 0-4 0v9`}],[`path`,{d:`m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5`}]],ey=[[`path`,{d:`M12 3V2`}],[`path`,{d:`m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5`}],[`path`,{d:`M2 14h12a2 2 0 0 1 0 4h-2`}],[`path`,{d:`M4 10h16`}],[`path`,{d:`M5 10a7 7 0 0 1 14 0`}],[`path`,{d:`M5 14v6a1 1 0 0 1-1 1H2`}]],ty=[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`}]],ny=[[`path`,{d:`M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z`}],[`path`,{d:`M8 11V6a4 4 0 0 1 8 0v5`}]],ry=[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`}],[`path`,{d:`m21 3 1 11h-2`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`}],[`path`,{d:`M3 4h8`}]],iy=[[`path`,{d:`M12 2v8`}],[`path`,{d:`m16 6-4 4-4-4`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 18h.01`}]],ay=[[`path`,{d:`M10 16h.01`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`}],[`path`,{d:`M21.946 12.013H2.054`}],[`path`,{d:`M6 16h.01`}]],oy=[[`path`,{d:`m16 6-4-4-4 4`}],[`path`,{d:`M12 2v8`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 18h.01`}]],sy=[[`path`,{d:`M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5`}],[`path`,{d:`M14 6a6 6 0 0 1 6 6v3`}],[`path`,{d:`M4 15v-3a6 6 0 0 1 6-6`}],[`rect`,{x:`2`,y:`15`,width:`20`,height:`4`,rx:`1`}]],cy=[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`}]],ly=[[`path`,{d:`M14 18a2 2 0 0 0-4 0`}],[`path`,{d:`m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11`}],[`path`,{d:`M2 11h20`}],[`circle`,{cx:`17`,cy:`18`,r:`3`}],[`circle`,{cx:`7`,cy:`18`,r:`3`}]],uy=[[`path`,{d:`m5.2 6.2 1.4 1.4`}],[`path`,{d:`M2 13h2`}],[`path`,{d:`M20 13h2`}],[`path`,{d:`m17.4 7.6 1.4-1.4`}],[`path`,{d:`M22 17H2`}],[`path`,{d:`M22 21H2`}],[`path`,{d:`M16 13a4 4 0 0 0-8 0`}],[`path`,{d:`M12 5V2.5`}]],dy=[[`path`,{d:`M10 12H6`}],[`path`,{d:`M10 15V9`}],[`path`,{d:`M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z`}],[`path`,{d:`M6 15V9`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],fy=[[`path`,{d:`M22 9a1 1 0 00-1-1H3a1 1 0 00-1 1v4a1 1 0 001 1h.5a2 2 0 011.6.8l.3.4A2 2 0 007 16h10a2 2 0 001.6-.8l.3-.4a2 2 0 011.6-.8h.5a1 1 0 001-1z`}],[`path`,{d:`M8 12h8`}]],py=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`m17 12 3-2v8`}]],my=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`}]],hy=[[`path`,{d:`M12 18V6`}],[`path`,{d:`M17 10v3a1 1 0 0 0 1 1h3`}],[`path`,{d:`M21 10v8`}],[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}]],gy=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`}]],Jee=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M17 13v-3h4`}],[`path`,{d:`M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17`}]],Yee=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`circle`,{cx:`19`,cy:`16`,r:`2`}],[`path`,{d:`M20 10c-2 2-3 3.5-3 6`}]],Xee=[[`path`,{d:`M6 12h12`}],[`path`,{d:`M6 20V4`}],[`path`,{d:`M18 20V4`}]],Zee=[[`path`,{d:`M21 14h-1.343`}],[`path`,{d:`M9.128 3.47A9 9 0 0 1 21 12v3.343`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3`}],[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364`}]],Qee=[[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3`}]],$ee=[[`path`,{d:`M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z`}],[`path`,{d:`M21 16v2a4 4 0 0 1-4 4h-5`}]],ete=[[`path`,{d:`M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15`}],[`path`,{d:`M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z`}]],tte=[[`path`,{d:`M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762`}]],nte=[[`path`,{d:`m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572`}],[`path`,{d:`M15 15h6`}]],rte=[[`path`,{d:`M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655`}],[`path`,{d:`m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761`}],[`path`,{d:`m2 2 20 20`}]],ite=[[`path`,{d:`m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49`}],[`path`,{d:`M15 15h6`}],[`path`,{d:`M18 12v6`}]],ate=[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`}],[`path`,{d:`M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27`}]],ote=[[`path`,{d:`m15.5 12.5 5 5`}],[`path`,{d:`m20.5 12.5-5 5`}],[`path`,{d:`M21.955 8.774a5.5 5.5 0 0 0-9.546-2.95.6.6 0 0 1-.818 0A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.508 5.332a2 2 0 0 0 2.57.352`}]],ste=[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`}]],cte=[[`path`,{d:`M11 8c2-3-2-3 0-6`}],[`path`,{d:`M15.5 8c2-3-2-3 0-6`}],[`path`,{d:`M6 10h.01`}],[`path`,{d:`M6 14h.01`}],[`path`,{d:`M10 16v-4`}],[`path`,{d:`M14 16v-4`}],[`path`,{d:`M18 16v-4`}],[`path`,{d:`M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3`}],[`path`,{d:`M5 20v2`}],[`path`,{d:`M19 20v2`}]],lte=[[`path`,{d:`M11 17v4`}],[`path`,{d:`M14 3v8a2 2 0 0 0 2 2h5.865`}],[`path`,{d:`M17 17v4`}],[`path`,{d:`M18 17a4 4 0 0 0 4-4 8 6 0 0 0-8-6 6 5 0 0 0-6 5v3a2 2 0 0 0 2 2z`}],[`path`,{d:`M2 10v5`}],[`path`,{d:`M6 3h16`}],[`path`,{d:`M7 21h14`}],[`path`,{d:`M8 13H2`}]],ute=[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`}]],dte=[[`path`,{d:`m9 11-6 6v3h9l3-3`}],[`path`,{d:`m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4`}]],fte=[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M12 7v5l4 2`}]],pte=[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18`}],[`path`,{d:`M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88`}],[`path`,{d:`M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87`}],[`path`,{d:`M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08`}],[`path`,{d:`M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57`}],[`path`,{d:`M4.93 4.93 3 3a.7.7 0 0 1 0-1`}],[`path`,{d:`M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15`}]],mte=[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27`}],[`path`,{d:`M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26`}],[`path`,{d:`M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25`}],[`path`,{d:`M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75`}],[`path`,{d:`M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24`}],[`path`,{d:`M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28`}],[`path`,{d:`M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05`}],[`path`,{d:`m2 2 20 20`}]],hte=[[`path`,{d:`M12 7v4`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M14 9h-4`}],[`path`,{d:`M18 11h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2`}],[`path`,{d:`M18 21V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16`}]],gte=[[`path`,{d:`M10 22v-6.57`}],[`path`,{d:`M12 11h.01`}],[`path`,{d:`M12 7h.01`}],[`path`,{d:`M14 15.43V22`}],[`path`,{d:`M15 16a5 5 0 0 0-6 0`}],[`path`,{d:`M16 11h.01`}],[`path`,{d:`M16 7h.01`}],[`path`,{d:`M8 11h.01`}],[`path`,{d:`M8 7h.01`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],_te=[[`path`,{d:`M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],vte=[[`path`,{d:`M5 22h14`}],[`path`,{d:`M5 2h14`}],[`path`,{d:`M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22`}],[`path`,{d:`M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2`}]],yte=[[`path`,{d:`M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35`}],[`path`,{d:`M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M15 18h6`}],[`path`,{d:`M18 15v6`}]],bte=[[`path`,{d:`M10 12V8.964`}],[`path`,{d:`M14 12V8.964`}],[`path`,{d:`M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z`}],[`path`,{d:`M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2`}]],xte=[[`path`,{d:`M9.5 13.866a4 4 0 0 1 5 .01`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}],[`path`,{d:`M7 10.754a8 8 0 0 1 10 0`}]],_y=[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],vy=[[`path`,{d:`M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0`}],[`path`,{d:`M12.14 11a3.5 3.5 0 1 1 6.71 0`}],[`path`,{d:`M15.5 6.5a3.5 3.5 0 1 0-7 0`}]],yy=[[`path`,{d:`m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11`}],[`path`,{d:`M17 7A5 5 0 0 0 7 7`}],[`path`,{d:`M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4`}]],Ste=[[`path`,{d:`M13.5 8h-3`}],[`path`,{d:`m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3`}],[`path`,{d:`M16.899 22A5 5 0 0 0 7.1 22`}],[`path`,{d:`m9 2 3 6`}],[`circle`,{cx:`12`,cy:`15`,r:`3`}]],Cte=[[`path`,{d:`M16 10h2`}],[`path`,{d:`M16 14h2`}],[`path`,{d:`M6.17 15a3 3 0 0 1 5.66 0`}],[`circle`,{cx:`9`,cy:`11`,r:`2`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],wte=[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`}],[`path`,{d:`m14 19 3 3v-5.5`}],[`path`,{d:`m17 22 3-3`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],Tte=[[`path`,{d:`M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`}],[`line`,{x1:`16`,x2:`22`,y1:`5`,y2:`5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]],Ete=[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`}]],Dte=[[`path`,{d:`M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}],[`path`,{d:`M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`m6 21 5-5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],Ote=[[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 2v6`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],kte=[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`}],[`path`,{d:`m14 19.5 3-3 3 3`}],[`path`,{d:`M17 22v-5.5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],Ate=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]],jte=[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`}]],Mte=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M17 21h2a2 2 0 0 0 2-2`}],[`path`,{d:`M21 12v3`}],[`path`,{d:`m21 3-5 5`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2`}],[`path`,{d:`m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19`}],[`path`,{d:`M9 3h3`}],[`rect`,{x:`3`,y:`11`,width:`10`,height:`10`,rx:`1`}]],Nte=[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`}]],Pte=[[`path`,{d:`M12 3v12`}],[`path`,{d:`m8 11 4 4 4-4`}],[`path`,{d:`M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4`}]],Fte=[[`path`,{d:`M6 3h12`}],[`path`,{d:`M6 8h12`}],[`path`,{d:`m6 13 8.5 8`}],[`path`,{d:`M6 13h3`}],[`path`,{d:`M9 13c6.667 0 6.667-10 0-10`}]],Ite=[[`path`,{d:`M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8`}]],by=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 16v-4`}],[`path`,{d:`M12 8h.01`}]],xy=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7h.01`}],[`path`,{d:`M17 7h.01`}],[`path`,{d:`M7 17h.01`}],[`path`,{d:`M17 17h.01`}]],Sy=[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`}]],Cy=[[`path`,{d:`m16 14 4 4-4 4`}],[`path`,{d:`M20 10a8 8 0 1 0-8 8h8`}]],wy=[[`path`,{d:`M4 10a8 8 0 1 1 8 8H4`}],[`path`,{d:`m8 22-4-4 4-4`}]],Ty=[[`path`,{d:`M12 9.5V21m0-11.5L6 3m6 6.5L18 3`}],[`path`,{d:`M6 15h12`}],[`path`,{d:`M6 11h12`}]],Ey=[[`path`,{d:`M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z`}],[`path`,{d:`M6 15v-2`}],[`path`,{d:`M12 15V9`}],[`circle`,{cx:`12`,cy:`6`,r:`3`}]],Dy=[[`path`,{d:`M18 17a1 1 0 0 0-1 1v1a2 2 0 1 0 2-2z`}],[`path`,{d:`M20.97 3.61a.45.45 0 0 0-.58-.58C10.2 6.6 6.6 10.2 3.03 20.39a.45.45 0 0 0 .58.58C13.8 17.4 17.4 13.8 20.97 3.61`}],[`path`,{d:`m6.707 6.707 10.586 10.586`}],[`path`,{d:`M7 5a2 2 0 1 0-2 2h1a1 1 0 0 0 1-1z`}]],Oy=[[`path`,{d:`M5 3v14`}],[`path`,{d:`M12 3v8`}],[`path`,{d:`M19 3v18`}]],ky=[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],Ay=[[`path`,{d:`M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z`}],[`path`,{d:`m14 7 3 3`}],[`path`,{d:`m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814`}]],jy=[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`}],[`path`,{d:`m21 2-9.6 9.6`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`}]],My=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 8h4`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`M6 12v4`}],[`path`,{d:`M10 12v4`}],[`path`,{d:`M14 12v4`}],[`path`,{d:`M18 12v4`}]],Ny=[[`path`,{d:`M10 8h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M7 16h10`}],[`path`,{d:`M8 12h.01`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}]],Py=[[`path`,{d:`M 20 4 A2 2 0 0 1 22 6`}],[`path`,{d:`M 22 6 L 22 16.41`}],[`path`,{d:`M 7 16 L 16 16`}],[`path`,{d:`M 9.69 4 L 20 4`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M8 12h.01`}]],Fy=[[`path`,{d:`M12 2v5`}],[`path`,{d:`M14.829 15.998a3 3 0 1 1-5.658 0`}],[`path`,{d:`M20.92 14.606A1 1 0 0 1 20 16H4a1 1 0 0 1-.92-1.394l3-7A1 1 0 0 1 7 7h10a1 1 0 0 1 .92.606z`}]],Iy=[[`path`,{d:`M10.293 2.293a1 1 0 0 1 1.414 0l2.5 2.5 5.994 1.227a1 1 0 0 1 .506 1.687l-7 7a1 1 0 0 1-1.687-.506l-1.227-5.994-2.5-2.5a1 1 0 0 1 0-1.414z`}],[`path`,{d:`m14.207 4.793-3.414 3.414`}],[`path`,{d:`M3 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z`}],[`path`,{d:`m9.086 6.5-4.793 4.793a1 1 0 0 0-.18 1.17L7 18`}]],Ly=[[`path`,{d:`M12 10v12`}],[`path`,{d:`M17.929 7.629A1 1 0 0 1 17 9H7a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 9 2h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M9 22h6`}]],Ry=[[`path`,{d:`M19.929 18.629A1 1 0 0 1 19 20H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 13h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M6 3a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z`}],[`path`,{d:`M8 6h4a2 2 0 0 1 2 2v5`}]],zy=[[`path`,{d:`M19.929 9.629A1 1 0 0 1 19 11H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 4h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M6 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`}],[`path`,{d:`M8 18h4a2 2 0 0 0 2-2v-5`}]],By=[[`path`,{d:`M12 12v6`}],[`path`,{d:`M4.077 10.615A1 1 0 0 0 5 12h14a1 1 0 0 0 .923-1.385l-3.077-7.384A2 2 0 0 0 15 2H9a2 2 0 0 0-1.846 1.23Z`}],[`path`,{d:`M8 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1z`}]],Vy=[[`path`,{d:`m12 8 6-3-6-3v10`}],[`path`,{d:`m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12`}],[`path`,{d:`m6.49 12.85 11.02 6.3`}],[`path`,{d:`M17.51 12.85 6.5 19.15`}]],Hy=[[`path`,{d:`M10 18v-7`}],[`path`,{d:`M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z`}],[`path`,{d:`M14 18v-7`}],[`path`,{d:`M18 18v-7`}],[`path`,{d:`M3 22h18`}],[`path`,{d:`M6 18v-7`}]],Uy=[[`path`,{d:`m5 8 6 6`}],[`path`,{d:`m4 14 6-6 2-3`}],[`path`,{d:`M2 5h12`}],[`path`,{d:`M7 2h1`}],[`path`,{d:`m22 22-5-10-5 10`}],[`path`,{d:`M14 18h6`}]],Wy=[[`path`,{d:`M2 20h20`}],[`path`,{d:`m9 10 2 2 4-4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`12`,rx:`2`}]],Gy=[[`rect`,{width:`18`,height:`12`,x:`3`,y:`4`,rx:`2`,ry:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`20`,y2:`20`}]],Ky=[[`path`,{d:`M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z`}],[`path`,{d:`M20.054 15.987H3.946`}]],qy=[[`path`,{d:`M7 22a5 5 0 0 1-2-4`}],[`path`,{d:`M7 16.93c.96.43 1.96.74 2.99.91`}],[`path`,{d:`M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2`}],[`path`,{d:`M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z`}],[`path`,{d:`M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z`}]],Jy=[[`path`,{d:`M3.704 14.467a10 8 0 1 1 3.115 2.375`}],[`path`,{d:`M7 22a5 5 0 0 1-2-3.994`}],[`circle`,{cx:`5`,cy:`16`,r:`2`}]],Yy=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],Xy=[[`path`,{d:`M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`}],[`path`,{d:`m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845`}]],Zy=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.832z`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M2.003 11.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18`}],[`path`,{d:`M2.003 16.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l2.11-.96`}],[`path`,{d:`M22.018 12.004a1 1 0 0 1-.598.916l-.177.08`}]],Qy=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`}]],$y=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.831z`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M19 14v6`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 .825.178`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l2.116-.962`}]],eb=[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`}]],tb=[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}]],nb=[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`path`,{d:`M14 4h7`}],[`path`,{d:`M14 9h7`}],[`path`,{d:`M14 15h7`}],[`path`,{d:`M14 20h7`}]],rb=[[`rect`,{width:`7`,height:`18`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}]],ib=[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}]],ab=[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`}]],ob=[[`path`,{d:`M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z`}],[`path`,{d:`M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12`}]],sb=[[`path`,{d:`M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22`}],[`path`,{d:`M2 22 17 7`}]],cb=[[`path`,{d:`M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3`}],[`path`,{d:`M18 6V3a1 1 0 0 0-1-1h-3`}],[`rect`,{width:`8`,height:`12`,x:`8`,y:`10`,rx:`1`}]],lb=[[`path`,{d:`M7 2a1 1 0 0 0-.8 1.6 14 14 0 0 1 0 16.8A1 1 0 0 0 7 22h10a1 1 0 0 0 .8-1.6 14 14 0 0 1 0-16.8A1 1 0 0 0 17 2z`}]],ub=[[`path`,{d:`M13.433 2a1 1 0 0 1 .824.448 18 18 0 0 1 0 19.104 1 1 0 0 1-.824.448h-2.866a1 1 0 0 1-.824-.448 18 18 0 0 1 0-19.104A1 1 0 0 1 10.567 2z`}]],db=[[`rect`,{width:`8`,height:`18`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`M7 3v18`}],[`path`,{d:`M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z`}]],fb=[[`path`,{d:`m16 6 4 14`}],[`path`,{d:`M12 6v14`}],[`path`,{d:`M8 8v12`}],[`path`,{d:`M4 4v16`}]],pb=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m4.93 4.93 4.24 4.24`}],[`path`,{d:`m14.83 9.17 4.24-4.24`}],[`path`,{d:`m14.83 14.83 4.24 4.24`}],[`path`,{d:`m9.17 14.83-4.24 4.24`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],mb=[[`path`,{d:`M14 12h2v8`}],[`path`,{d:`M14 20h4`}],[`path`,{d:`M6 12h4`}],[`path`,{d:`M6 20h4`}],[`path`,{d:`M8 20V8a4 4 0 0 1 7.464-2`}]],hb=[[`path`,{d:`M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5`}],[`path`,{d:`M9 18h6`}],[`path`,{d:`M10 22h4`}]],gb=[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`}],[`path`,{d:`M9 18h6`}],[`path`,{d:`M10 22h4`}]],_b=[[`path`,{d:`M7 3.5c5-2 7 2.5 3 4C1.5 10 2 15 5 16c5 2 9-10 14-7s.5 13.5-4 12c-5-2.5.5-11 6-2`}]],vb=[[`path`,{d:`M 3 12 L 15 12`}],[`circle`,{cx:`18`,cy:`12`,r:`3`}]],yb=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],bb=[[`path`,{d:`M11 5h2`}],[`path`,{d:`M15 12h6`}],[`path`,{d:`M19 5h2`}],[`path`,{d:`M3 12h6`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`M3 5h2`}]],xb=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],Sb=[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`}]],Cb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M11 19H3`}],[`path`,{d:`m15 18 2 2 4-4`}]],wb=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`path`,{d:`m3 7 2 2 4-4`}]],Tb=[[`path`,{d:`M3 5h8`}],[`path`,{d:`M3 12h8`}],[`path`,{d:`M3 19h8`}],[`path`,{d:`m15 5 3 3 3-3`}],[`path`,{d:`m15 19 3-3 3 3`}]],Eb=[[`path`,{d:`M3 5h8`}],[`path`,{d:`M3 12h8`}],[`path`,{d:`M3 19h8`}],[`path`,{d:`m15 8 3-3 3 3`}],[`path`,{d:`m15 16 3 3 3-3`}]],Db=[[`path`,{d:`M10 5h11`}],[`path`,{d:`M10 12h11`}],[`path`,{d:`M10 19h11`}],[`path`,{d:`m3 10 3-3-3-3`}],[`path`,{d:`m3 20 3-3-3-3`}]],Ob=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M9 19H3`}],[`path`,{d:`m16 16-3 3 3 3`}],[`path`,{d:`M21 5v12a2 2 0 0 1-2 2h-6`}]],kb=[[`path`,{d:`M12 5H2`}],[`path`,{d:`M6 12h12`}],[`path`,{d:`M9 19h6`}],[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 8V2`}]],Ab=[[`path`,{d:`M21 5H11`}],[`path`,{d:`M21 12H11`}],[`path`,{d:`M21 19H11`}],[`path`,{d:`m7 8-4 4 4 4`}]],jb=[[`path`,{d:`M2 5h20`}],[`path`,{d:`M6 12h12`}],[`path`,{d:`M9 19h6`}]],Mb=[[`path`,{d:`M21 5H11`}],[`path`,{d:`M21 12H11`}],[`path`,{d:`M21 19H11`}],[`path`,{d:`m3 8 4 4-4 4`}]],Nb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M21 12h-6`}]],Pb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M11 19H3`}],[`path`,{d:`M21 16V5`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],Fb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M18 9v6`}],[`path`,{d:`M21 12h-6`}]],Ib=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M7 12H3`}],[`path`,{d:`M7 19H3`}],[`path`,{d:`M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14`}],[`path`,{d:`M11 10v4h4`}]],Lb=[[`path`,{d:`M11 5h10`}],[`path`,{d:`M11 12h10`}],[`path`,{d:`M11 19h10`}],[`path`,{d:`M4 4h1v5`}],[`path`,{d:`M4 9h2`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`}]],Rb=[[`path`,{d:`M3 19h18`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M9 5H3`}]],zb=[[`path`,{d:`M15 12H3`}],[`path`,{d:`M3 5h18`}],[`path`,{d:`M9 19H3`}]],Bb=[[`path`,{d:`M3 5h6`}],[`path`,{d:`M3 12h13`}],[`path`,{d:`M3 19h13`}],[`path`,{d:`m16 8-3-3 3-3`}],[`path`,{d:`M21 19V7a2 2 0 0 0-2-2h-6`}]],Vb=[[`path`,{d:`M8 5h13`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`}]],Hb=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M10 12H3`}],[`path`,{d:`M10 19H3`}],[`path`,{d:`M15 12.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}]],Ub=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`}]],Wb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`m15.5 9.5 5 5`}],[`path`,{d:`m20.5 9.5-5 5`}]],Gb=[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]],Kb=[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`}]],qb=[[`path`,{d:`M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0`}],[`path`,{d:`M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6`}],[`path`,{d:`M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Jb=[[`path`,{d:`M12 2v4`}],[`path`,{d:`m16.2 7.8 2.9-2.9`}],[`path`,{d:`M18 12h4`}],[`path`,{d:`m16.2 16.2 2.9 2.9`}],[`path`,{d:`M12 18v4`}],[`path`,{d:`m4.9 19.1 2.9-2.9`}],[`path`,{d:`M2 12h4`}],[`path`,{d:`m4.9 4.9 2.9 2.9`}]],Yb=[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Xb=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M12 2v3`}],[`path`,{d:`M18.89 13.24a7 7 0 0 0-8.13-8.13`}],[`path`,{d:`M19 12h3`}],[`path`,{d:`M2 12h3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7.05 7.05a7 7 0 0 0 9.9 9.9`}]],Zb=[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}]],Qb=[[`circle`,{cx:`12`,cy:`16`,r:`1`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M7 10V7a5 5 0 0 1 9.33-2.5`}]],$b=[[`circle`,{cx:`12`,cy:`16`,r:`1`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`}]],ex=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`}]],tx=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`}]],nx=[[`path`,{d:`m10 17 5-5-5-5`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`}]],rx=[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],ix=[[`path`,{d:`M3 5h1`}],[`path`,{d:`M3 12h1`}],[`path`,{d:`M3 19h1`}],[`path`,{d:`M8 5h1`}],[`path`,{d:`M8 12h1`}],[`path`,{d:`M8 19h1`}],[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}]],ax=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0`}]],ox=[[`path`,{d:`M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2`}],[`path`,{d:`M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14`}],[`path`,{d:`M10 20h4`}],[`circle`,{cx:`16`,cy:`20`,r:`2`}],[`circle`,{cx:`8`,cy:`20`,r:`2`}]],sx=[[`path`,{d:`m12 15 4 4`}],[`path`,{d:`M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z`}],[`path`,{d:`m5 8 4 4`}]],cx=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`m16 19 2 2 4-4`}]],lx=[[`path`,{d:`M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M16 19h6`}]],ux=[[`path`,{d:`M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z`}],[`path`,{d:`m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10`}]],dx=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M16 19h6`}]],fx=[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2`}],[`path`,{d:`M20 22v.01`}]],px=[[`path`,{d:`M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`path`,{d:`m22 22-1.5-1.5`}]],mx=[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M20 14v4`}],[`path`,{d:`M20 22v.01`}]],hx=[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],gx=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`m17 17 4 4`}],[`path`,{d:`m21 17-4 4`}]],_x=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z`}],[`polyline`,{points:`15,9 18,9 18,11`}],[`path`,{d:`M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2`}],[`line`,{x1:`6`,x2:`7`,y1:`10`,y2:`10`}]],vx=[[`path`,{d:`M17 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 1-1.732`}],[`path`,{d:`m22 5.5-6.419 4.179a2 2 0 0 1-2.162 0L7 5.5`}],[`rect`,{x:`7`,y:`3`,width:`15`,height:`12`,rx:`2`}]],yx=[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V14`}],[`path`,{d:`M15 5.764V14`}],[`path`,{d:`M21 18h-6`}],[`path`,{d:`M9 3.236v15`}]],bx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`m9 10 2 2 4-4`}]],xx=[[`path`,{d:`M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`m16 18 2 2 4-4`}]],Sx=[[`path`,{d:`M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z`}],[`path`,{d:`M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2`}],[`path`,{d:`M18 22v-3`}],[`circle`,{cx:`10`,cy:`10`,r:`3`}]],Cx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`M9 10h6`}]],wx=[[`path`,{d:`M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M16 18h6`}]],Tx=[[`path`,{d:`M12.75 7.09a3 3 0 0 1 2.16 2.16`}],[`path`,{d:`M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533`}],[`path`,{d:`M9.13 9.13a3 3 0 0 0 3.74 3.74`}]],Ex=[[`path`,{d:`M17.97 9.304A8 8 0 0 0 2 10c0 4.69 4.887 9.562 7.022 11.468`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`10`,r:`3`}]],Dx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`M12 7v6`}],[`path`,{d:`M9 10h6`}]],Ox=[[`path`,{d:`M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M16 18h6`}],[`path`,{d:`M19 15v6`}]],kx=[[`path`,{d:`M 12.248 21.969 a 1 1 0 0 1 -0.849 -0.17 C 9.539 20.193 4 14.993 4 10 a 8 8 0 0 1 16 0 C 20 10.42 19.961 10.841 19.888 11.262`}],[`path`,{d:`m22 22-1.88-1.88`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],Ax=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`m14.5 7.5-5 5`}],[`path`,{d:`m9.5 7.5 5 5`}]],jx=[[`path`,{d:`M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`m21.5 15.5-5 5`}],[`path`,{d:`m21.5 20.5-5-5`}]],Mx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}]],Nx=[[`path`,{d:`M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}],[`path`,{d:`M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712`}]],Px=[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12`}],[`path`,{d:`M15 5.764V12`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}],[`path`,{d:`M9 3.236v15`}]],Fx=[[`path`,{d:`m14 6 4 4`}],[`path`,{d:`M17 3h4v4`}],[`path`,{d:`m21 3-7.75 7.75`}],[`circle`,{cx:`9`,cy:`15`,r:`6`}]],Ix=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`m21 3-6.75 6.75`}],[`circle`,{cx:`10`,cy:`14`,r:`6`}]],Lx=[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`}],[`path`,{d:`M15 5.764v15`}],[`path`,{d:`M9 3.236v15`}]],Rx=[[`path`,{d:`M12 12 4.207 4.207A.707.707 0 0 1 4.707 3h14.586a.707.707 0 0 1 .5 1.207z`}],[`path`,{d:`M12 12v10`}],[`path`,{d:`M7 22h10`}]],zx=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`m21 3-7 7`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M9 21H3v-6`}]],Bx=[[`path`,{d:`M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15`}],[`path`,{d:`M11 12 5.12 2.2`}],[`path`,{d:`m13 12 5.88-9.8`}],[`path`,{d:`M8 7h8`}],[`circle`,{cx:`12`,cy:`17`,r:`5`}],[`path`,{d:`M12 18v-2h-.5`}]],Vx=[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 8V5a2 2 0 0 0-2-2h-3`}],[`path`,{d:`M3 16v3a2 2 0 0 0 2 2h3`}],[`path`,{d:`M16 21h3a2 2 0 0 0 2-2v-3`}]],Hx=[[`path`,{d:`M11.636 6A13 13 0 0 0 19.4 3.2 1 1 0 0 1 21 4v11.344`}],[`path`,{d:`M14.378 14.357A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`}],[`path`,{d:`M8 8v6`}]],Ux=[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`}],[`path`,{d:`M8 6v8`}]],Wx=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`8`,x2:`16`,y1:`15`,y2:`15`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],Gx=[[`path`,{d:`M12 12v-2`}],[`path`,{d:`M12 18v-2`}],[`path`,{d:`M16 12v-2`}],[`path`,{d:`M16 18v-2`}],[`path`,{d:`M2 11h1.5`}],[`path`,{d:`M20 18v-2`}],[`path`,{d:`M20.5 11H22`}],[`path`,{d:`M4 18v-2`}],[`path`,{d:`M8 12v-2`}],[`path`,{d:`M8 18v-2`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`}]],Kx=[[`path`,{d:`M4 5h16`}],[`path`,{d:`M4 12h16`}],[`path`,{d:`M4 19h16`}]],qx=[[`path`,{d:`m8 6 4-4 4 4`}],[`path`,{d:`M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22`}],[`path`,{d:`m20 22-5-5`}]],Jx=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m9 12 2 2 4-4`}]],Yx=[[`path`,{d:`m10 9-3 3 3 3`}],[`path`,{d:`m14 15 3-3-3-3`}],[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}]],Xx=[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`}],[`path`,{d:`M17.609 3.72a10 10 0 0 1 2.69 2.7`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`}],[`path`,{d:`M20.28 17.61a10 10 0 0 1-2.7 2.69`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`}],[`path`,{d:`m6.163 21.117-2.906.85a1 1 0 0 1-1.236-1.169l.965-2.98`}]],Zx=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z`}]],Qx=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}]],$x=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4.93 4.929a10 10 0 0 0-1.938 11.412 2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 0 0 11.302-1.989`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`}]],eS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],tS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],nS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m10 15-3-3 3-3`}],[`path`,{d:`M7 12h8a2 2 0 0 1 2 2v1`}]],rS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M12 16h.01`}]],iS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],aS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}]],oS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m9 11 2 2 4-4`}]],sS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m10 8-3 3 3 3`}],[`path`,{d:`m14 14 3-3-3-3`}]],cS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M10 15h4`}],[`path`,{d:`M10 9h4`}],[`path`,{d:`M12 7v4`}]],lS=[[`path`,{d:`M14 3h2`}],[`path`,{d:`M16 19h-2`}],[`path`,{d:`M2 12v-2`}],[`path`,{d:`M2 16v5.286a.71.71 0 0 0 1.212.502l1.149-1.149`}],[`path`,{d:`M20 19a2 2 0 0 0 2-2v-1`}],[`path`,{d:`M22 10v2`}],[`path`,{d:`M22 6V5a2 2 0 0 0-2-2`}],[`path`,{d:`M4 3a2 2 0 0 0-2 2v1`}],[`path`,{d:`M8 19h2`}],[`path`,{d:`M8 3h2`}]],uS=[[`path`,{d:`M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}]],dS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M7.5 9.5c0 .687.265 1.383.697 1.844l3.009 3.264a1.14 1.14 0 0 0 .407.314 1 1 0 0 0 .783-.004 1.14 1.14 0 0 0 .398-.31l3.008-3.264A2.77 2.77 0 0 0 16.5 9.5 2.5 2.5 0 0 0 12 8a2.5 2.5 0 0 0-4.5 1.5`}]],fS=[[`path`,{d:`M22 8.5V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H10`}],[`path`,{d:`M20 15v-2a2 2 0 0 0-4 0v2`}],[`rect`,{x:`14`,y:`15`,width:`8`,height:`5`,rx:`1`}]],pS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 11h.01`}],[`path`,{d:`M16 11h.01`}],[`path`,{d:`M8 11h.01`}]],mS=[[`path`,{d:`M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v11.344`}]],hS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 8v6`}],[`path`,{d:`M9 11h6`}]],gS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m10 8-3 3 3 3`}],[`path`,{d:`M17 14v-1a2 2 0 0 0-2-2H7`}]],_S=[[`path`,{d:`M14 14a2 2 0 0 0 2-2V8h-2`}],[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M8 14a2 2 0 0 0 2-2V8H8`}]],vS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M7 11h10`}],[`path`,{d:`M7 15h6`}],[`path`,{d:`M7 7h8`}]],yS=[[`path`,{d:`M12 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4`}],[`path`,{d:`M16 3h6v6`}],[`path`,{d:`m16 9 6-6`}]],bS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 15h.01`}],[`path`,{d:`M12 7v4`}]],xS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m14.5 8.5-5 5`}],[`path`,{d:`m9.5 8.5 5 5`}]],SS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}]],CS=[[`path`,{d:`M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z`}],[`path`,{d:`M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1`}]],wS=[[`path`,{d:`M12 11.4V9.1`}],[`path`,{d:`m12 17 6.59-6.59`}],[`path`,{d:`m15.05 5.7-.218-.691a3 3 0 0 0-5.663 0L4.418 19.695A1 1 0 0 0 5.37 21h13.253a1 1 0 0 0 .951-1.31L18.45 16.2`}],[`circle`,{cx:`20`,cy:`9`,r:`2`}]],TS=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`}]],ES=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`}]],DS=[[`path`,{d:`m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12`}],[`path`,{d:`M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5`}],[`circle`,{cx:`16`,cy:`7`,r:`5`}]],OS=[[`path`,{d:`M10 12h4`}],[`path`,{d:`M10 17h4`}],[`path`,{d:`M10 7h4`}],[`path`,{d:`M18 12h2`}],[`path`,{d:`M18 18h2`}],[`path`,{d:`M18 6h2`}],[`path`,{d:`M4 12h2`}],[`path`,{d:`M4 18h2`}],[`path`,{d:`M4 6h2`}],[`rect`,{x:`6`,y:`2`,width:`12`,height:`20`,rx:`2`}]],kS=[[`path`,{d:`M6 18h8`}],[`path`,{d:`M3 22h18`}],[`path`,{d:`M14 22a7 7 0 1 0 0-14h-1`}],[`path`,{d:`M9 14h2`}],[`path`,{d:`M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z`}],[`path`,{d:`M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}]],AS=[[`rect`,{width:`20`,height:`15`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`8`,height:`7`,x:`6`,y:`8`,rx:`1`}],[`path`,{d:`M18 8v7`}],[`path`,{d:`M6 19v2`}],[`path`,{d:`M18 19v2`}]],jS=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M12 3v3`}],[`path`,{d:`M18.172 6a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z`}]],MS=[[`path`,{d:`M8 2h8`}],[`path`,{d:`M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],NS=[[`path`,{d:`M8 2h8`}],[`path`,{d:`M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2`}],[`path`,{d:`M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0`}]],PS=[[`path`,{d:`m14 10 7-7`}],[`path`,{d:`M20 10h-6V4`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M4 14h6v6`}]],FS=[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`}]],IS=[[`path`,{d:`M5 12h14`}]],LS=[[`path`,{d:`M11 6 8 9`}],[`path`,{d:`m16 7-8 8`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],RS=[[`path`,{d:`M10 6.6 8.6 8`}],[`path`,{d:`M12 18v4`}],[`path`,{d:`M15 7.5 9.5 13`}],[`path`,{d:`M7 22h10`}],[`circle`,{cx:`12`,cy:`10`,r:`8`}]],zS=[[`path`,{d:`m9 10 2 2 4-4`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],BS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`m14.305 7.53.923-.382`}],[`path`,{d:`m15.228 4.852-.923-.383`}],[`path`,{d:`m16.852 3.228-.383-.924`}],[`path`,{d:`m16.852 8.772-.383.923`}],[`path`,{d:`m19.148 3.228.383-.924`}],[`path`,{d:`m19.53 9.696-.382-.924`}],[`path`,{d:`m20.772 4.852.924-.383`}],[`path`,{d:`m20.772 7.148.924.383`}],[`path`,{d:`M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`}],[`path`,{d:`M8 21h8`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}]],VS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M22 12.307V15a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.693`}],[`path`,{d:`M8 21h8`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}]],HS=[[`path`,{d:`M11 13a3 3 0 1 1 2.83-4H14a2 2 0 0 1 0 4z`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],US=[[`path`,{d:`M12 13V7`}],[`path`,{d:`m15 10-3 3-3-3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],WS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`}]],GS=[[`path`,{d:`M10 13V7`}],[`path`,{d:`M14 13V7`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],KS=[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],qS=[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`}],[`path`,{d:`M10 19v-3.96 3.15`}],[`path`,{d:`M7 19h5`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`}]],JS=[[`path`,{d:`M5.5 20H8`}],[`path`,{d:`M17 9h.01`}],[`rect`,{width:`10`,height:`16`,x:`12`,y:`4`,rx:`2`}],[`path`,{d:`M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4`}],[`circle`,{cx:`17`,cy:`15`,r:`1`}]],YS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}],[`rect`,{x:`9`,y:`7`,width:`6`,height:`6`,rx:`1`}]],XS=[[`path`,{d:`m9 10 3-3 3 3`}],[`path`,{d:`M12 13V7`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],ZS=[[`path`,{d:`m14.5 12.5-5-5`}],[`path`,{d:`m9.5 12.5 5-5`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],QS=[[`path`,{d:`M18 5h4`}],[`path`,{d:`M20 3v4`}],[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],$S=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`}]],eC=[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],tC=[[`path`,{d:`m18 14-1-3`}],[`path`,{d:`m3 9 6 2a2 2 0 0 1 2-2h2a2 2 0 0 1 1.99 1.81`}],[`path`,{d:`M8 17h3a1 1 0 0 0 1-1 6 6 0 0 1 6-6 1 1 0 0 0 1-1v-.75A5 5 0 0 0 17 5`}],[`circle`,{cx:`19`,cy:`17`,r:`3`}],[`circle`,{cx:`5`,cy:`17`,r:`3`}]],nC=[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`}],[`path`,{d:`M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19`}]],rC=[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`}]],iC=[[`path`,{d:`M12 7.318V10`}],[`path`,{d:`M5 10v5a7 7 0 0 0 14 0V9c0-3.527-2.608-6.515-6-7`}],[`circle`,{cx:`7`,cy:`4`,r:`2`}]],aC=[[`path`,{d:`M12 6v.343`}],[`path`,{d:`M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218`}],[`path`,{d:`M19 13.343V9A7 7 0 0 0 8.56 2.902`}],[`path`,{d:`M22 22 2 2`}]],oC=[[`path`,{d:`m15.55 8.45 5.138 2.087a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063L8.45 15.551`}],[`path`,{d:`M22 2 2 22`}],[`path`,{d:`m6.816 11.528-2.779-6.84a.495.495 0 0 1 .651-.651l6.84 2.779`}]],sC=[[`path`,{d:`M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}],[`path`,{d:`m11.8 11.8 8.4 8.4`}]],cC=[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`}]],lC=[[`path`,{d:`M12.586 12.586 19 19`}],[`path`,{d:`M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z`}]],uC=[[`path`,{d:`M14 4.1 12 6`}],[`path`,{d:`m5.1 8-2.9-.8`}],[`path`,{d:`m6 12-1.9 2`}],[`path`,{d:`M7.2 2.2 8 5.1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`}]],dC=[[`path`,{d:`M12 7.318V10`}],[`path`,{d:`M19 10v5a7 7 0 0 1-14 0V9c0-3.527 2.608-6.515 6-7`}],[`circle`,{cx:`17`,cy:`4`,r:`2`}]],fC=[[`rect`,{x:`5`,y:`2`,width:`14`,height:`20`,rx:`7`}],[`path`,{d:`M12 6v4`}]],pC=[[`path`,{d:`M5 3v16h16`}],[`path`,{d:`m5 19 6-6`}],[`path`,{d:`m2 6 3-3 3 3`}],[`path`,{d:`m18 16 3 3-3 3`}]],mC=[[`path`,{d:`M19 13v6h-6`}],[`path`,{d:`M5 11V5h6`}],[`path`,{d:`m5 5 14 14`}]],hC=[[`path`,{d:`M11 19H5v-6`}],[`path`,{d:`M13 5h6v6`}],[`path`,{d:`M19 5 5 19`}]],gC=[[`path`,{d:`M11 19H5V13`}],[`path`,{d:`M19 5L5 19`}]],_C=[[`path`,{d:`M19 13V19H13`}],[`path`,{d:`M5 5L19 19`}]],vC=[[`path`,{d:`M8 18L12 22L16 18`}],[`path`,{d:`M12 2V22`}]],yC=[[`path`,{d:`m18 8 4 4-4 4`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`m6 8-4 4 4 4`}]],bC=[[`path`,{d:`M6 8L2 12L6 16`}],[`path`,{d:`M2 12H22`}]],xC=[[`path`,{d:`M18 8L22 12L18 16`}],[`path`,{d:`M2 12H22`}]],SC=[[`path`,{d:`M5 11V5H11`}],[`path`,{d:`M5 5L19 19`}]],CC=[[`path`,{d:`M13 5H19V11`}],[`path`,{d:`M19 5L5 19`}]],wC=[[`path`,{d:`M8 6L12 2L16 6`}],[`path`,{d:`M12 2V22`}]],TC=[[`path`,{d:`M12 2v20`}],[`path`,{d:`m8 18 4 4 4-4`}],[`path`,{d:`m8 6 4-4 4 4`}]],EC=[[`path`,{d:`M12 2v20`}],[`path`,{d:`m15 19-3 3-3-3`}],[`path`,{d:`m19 9 3 3-3 3`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`m5 9-3 3 3 3`}],[`path`,{d:`m9 5 3-3 3 3`}]],DC=[[`circle`,{cx:`8`,cy:`18`,r:`4`}],[`path`,{d:`M12 18V2l7 4`}]],OC=[[`circle`,{cx:`12`,cy:`18`,r:`4`}],[`path`,{d:`M16 18V2`}]],kC=[[`path`,{d:`M9 18V5l12-2v13`}],[`path`,{d:`m9 9 12-2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],AC=[[`path`,{d:`M9 18V5l12-2v13`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],jC=[[`path`,{d:`M9.31 9.31 5 21l7-4 7 4-1.17-3.17`}],[`path`,{d:`M14.53 8.88 12 2l-1.17 3.17`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],MC=[[`polygon`,{points:`12 2 19 21 12 17 5 21 12 2`}]],NC=[[`path`,{d:`M8.43 8.43 3 11l8 2 2 8 2.57-5.43`}],[`path`,{d:`M17.39 11.73 22 2l-9.73 4.61`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],PC=[[`polygon`,{points:`3 11 22 2 13 21 11 13 3 11`}]],FC=[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`}],[`path`,{d:`M12 12V8`}]],IC=[[`path`,{d:`M15 18h-5`}],[`path`,{d:`M18 14h-8`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`}]],LC=[[`path`,{d:`M6 8.32a7.43 7.43 0 0 1 0 7.36`}],[`path`,{d:`M9.46 6.21a11.76 11.76 0 0 1 0 11.58`}],[`path`,{d:`M12.91 4.1a15.91 15.91 0 0 1 .01 15.8`}],[`path`,{d:`M16.37 2a20.16 20.16 0 0 1 0 20`}]],RC=[[`path`,{d:`M12 2v10`}],[`path`,{d:`m8.5 4 7 4`}],[`path`,{d:`m8.5 8 7-4`}],[`circle`,{cx:`12`,cy:`17`,r:`5`}]],zC=[[`path`,{d:`M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4`}],[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`path`,{d:`M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],BC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M15 2v20`}],[`path`,{d:`M15 7h5`}],[`path`,{d:`M15 12h5`}],[`path`,{d:`M15 17h5`}]],VC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M9.5 8h5`}],[`path`,{d:`M9.5 12H16`}],[`path`,{d:`M9.5 16H14`}]],HC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M16 2v20`}]],UC=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M20 12v2`}],[`path`,{d:`M20 18v2a2 2 0 0 1-2 2h-1`}],[`path`,{d:`M13 22h-2`}],[`path`,{d:`M7 22H6a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M4 14v-2`}],[`path`,{d:`M4 8V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M8 10h6`}],[`path`,{d:`M8 14h8`}],[`path`,{d:`M8 18h5`}]],WC=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`16`,height:`18`,x:`4`,y:`4`,rx:`2`}],[`path`,{d:`M8 10h6`}],[`path`,{d:`M8 14h8`}],[`path`,{d:`M8 18h5`}]],GC=[[`path`,{d:`M12 4V2`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939`}],[`path`,{d:`M19 10v3.343`}],[`path`,{d:`M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],KC=[[`path`,{d:`M12 4V2`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4`}],[`path`,{d:`M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z`}]],qC=[[`path`,{d:`M12 16h.01`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`}]],JC=[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}],[`path`,{d:`M8 12h8`}]],YC=[[`path`,{d:`M10 15V9`}],[`path`,{d:`M14 15V9`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}]],XC=[[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}],[`path`,{d:`m9 9 6 6`}]],ZC=[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}]],QC=[[`path`,{d:`M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21`}]],$C=[[`path`,{d:`M14 3h7`}],[`path`,{d:`M3 3h5.28a1 1 0 0 1 .948.684l5.544 16.632a1 1 0 0 0 .949.684H21`}]],ew=[[`path`,{d:`M20.341 6.484A10 10 0 0 1 10.266 21.85`}],[`path`,{d:`M3.659 17.516A10 10 0 0 1 13.74 2.152`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],tw=[[`path`,{d:`M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025`}],[`path`,{d:`m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009`}],[`path`,{d:`m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027`}]],nw=[[`path`,{d:`M12 3v6`}],[`path`,{d:`M16.76 3a2 2 0 0 1 1.8 1.1l2.23 4.479a2 2 0 0 1 .21.891V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9.472a2 2 0 0 1 .211-.894L5.45 4.1A2 2 0 0 1 7.24 3z`}],[`path`,{d:`M3.054 9.013h17.893`}]],rw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`m16 17 2 2 4-4`}],[`path`,{d:`M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],iw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],aw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M19 14v6`}],[`path`,{d:`M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],ow=[[`path`,{d:`M12 22v-9`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`}]],sw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M20.27 18.27 22 20`}],[`path`,{d:`M21 10.498V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.98-.559`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}],[`circle`,{cx:`18.5`,cy:`16.5`,r:`2.5`}]],cw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`m16.5 14.5 5 5`}],[`path`,{d:`m16.5 19.5 5-5`}],[`path`,{d:`M21 10.5V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.13-.074`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],lw=[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`}],[`path`,{d:`M12 22V12`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`}],[`path`,{d:`m7.5 4.27 9 5.15`}]],uw=[[`path`,{d:`M11 7 6 2`}],[`path`,{d:`M18.992 12H2.041`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`}]],dw=[[`rect`,{width:`16`,height:`6`,x:`2`,y:`2`,rx:`2`}],[`path`,{d:`M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`}],[`rect`,{width:`4`,height:`6`,x:`8`,y:`16`,rx:`1`}]],fw=[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v4`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1`}]],pw=[[`path`,{d:`m14.622 17.897-10.68-2.913`}],[`path`,{d:`M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z`}],[`path`,{d:`M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15`}]],mw=[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],hw=[[`path`,{d:`M11.25 17.25h1.5L12 18z`}],[`path`,{d:`m15 12 2 2`}],[`path`,{d:`M18 6.5a.5.5 0 0 0-.5-.5`}],[`path`,{d:`M20.69 9.67a4.5 4.5 0 1 0-7.04-5.5 8.35 8.35 0 0 0-3.3 0 4.5 4.5 0 1 0-7.04 5.5C2.49 11.2 2 12.88 2 14.5 2 19.47 6.48 22 12 22s10-2.53 10-7.5c0-1.62-.48-3.3-1.3-4.83`}],[`path`,{d:`M6 6.5a.495.495 0 0 1 .5-.5`}],[`path`,{d:`m9 12-2 2`}]],gw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`m15 8-3 3-3-3`}]],_w=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M14 15h1`}],[`path`,{d:`M19 15h2`}],[`path`,{d:`M3 15h2`}],[`path`,{d:`M9 15h1`}]],vw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`m9 10 3-3 3 3`}]],yw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}]],bw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m16 15-3-3 3-3`}]],xw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 14v1`}],[`path`,{d:`M9 19v2`}],[`path`,{d:`M9 3v2`}],[`path`,{d:`M9 9v1`}]],Sw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m14 9 3 3-3 3`}]],Cw=[[`path`,{d:`M15 10V9`}],[`path`,{d:`M15 15v-1`}],[`path`,{d:`M15 21v-2`}],[`path`,{d:`M15 5V3`}],[`path`,{d:`M9 10V9`}],[`path`,{d:`M9 15v-1`}],[`path`,{d:`M9 21v-2`}],[`path`,{d:`M9 5V3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],ww=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}]],Tw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}],[`path`,{d:`m8 9 3 3-3 3`}]],Ew=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 14v1`}],[`path`,{d:`M15 19v2`}],[`path`,{d:`M15 3v2`}],[`path`,{d:`M15 9v1`}]],Dw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}],[`path`,{d:`m10 15-3-3 3-3`}]],Ow=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}]],kw=[[`path`,{d:`M14 15h1`}],[`path`,{d:`M14 9h1`}],[`path`,{d:`M19 15h2`}],[`path`,{d:`M19 9h2`}],[`path`,{d:`M3 15h2`}],[`path`,{d:`M3 9h2`}],[`path`,{d:`M9 15h1`}],[`path`,{d:`M9 9h1`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Aw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`m9 16 3-3 3 3`}]],jw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`m15 14-3 3-3-3`}]],Mw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M14 9h1`}],[`path`,{d:`M19 9h2`}],[`path`,{d:`M3 9h2`}],[`path`,{d:`M9 9h1`}]],Nw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}]],Pw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M9 15h12`}]],Fw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h12`}],[`path`,{d:`M15 3v18`}]],Iw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M9 21V9`}]],Lw=[[`path`,{d:`M5.364 3.848C4 6 3 9.652 3 12.652V19a2 2 0 002 2h14a2 2 0 002-2v-5c0-2.334-1.816-4.668-2.622-7.002`}],[`path`,{d:`M7 3h11.379a2 2 0 011.789 1.106l.723 1.447A1 1 0 0119.997 7h-8.525a2 2 0 01-1.789-1.106L8.79 4.105a2 2 0 10-3.579 1.789l2.261 4.522A5 5 0 018 12.652V21`}]],Rw=[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`}]],zw=[[`path`,{d:`M12.5 11.134 18.196 21`}],[`path`,{d:`M20.425 5.299a10 10 0 0 0-16.941 9.78c.183.563.843.774 1.355.478L20.16 6.711c.512-.296.66-.973.264-1.413`}],[`path`,{d:`M21 21H3`}]],Bw=[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`}]],Vw=[[`path`,{d:`M11 15h2`}],[`path`,{d:`M12 12v3`}],[`path`,{d:`M12 19v3`}],[`path`,{d:`M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z`}],[`path`,{d:`M9 9a3 3 0 1 1 6 0`}]],Hw=[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`}]],Uw=[[`path`,{d:`M5.8 11.3 2 22l10.7-3.79`}],[`path`,{d:`M4 3h.01`}],[`path`,{d:`M22 8h.01`}],[`path`,{d:`M15 2h.01`}],[`path`,{d:`M22 20h.01`}],[`path`,{d:`m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10`}],[`path`,{d:`m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17`}],[`path`,{d:`m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7`}],[`path`,{d:`M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z`}]],Ww=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`}],[`path`,{d:`M15 14h.01`}],[`path`,{d:`M9 6h6`}],[`path`,{d:`M9 10h6`}]],Gw=[[`circle`,{cx:`11`,cy:`4`,r:`2`}],[`circle`,{cx:`18`,cy:`8`,r:`2`}],[`circle`,{cx:`20`,cy:`16`,r:`2`}],[`path`,{d:`M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z`}]],Kw=[[`path`,{d:`M13 21h8`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],qw=[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`}],[`path`,{d:`m2 2 20 20`}]],Jw=[[`path`,{d:`M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z`}],[`path`,{d:`m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18`}],[`path`,{d:`m2.3 2.3 7.286 7.286`}],[`circle`,{cx:`11`,cy:`11`,r:`2`}]],Yw=[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Xw=[[`path`,{d:`M13 21h8`}],[`path`,{d:`m15 5 4 4`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Zw=[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`}],[`path`,{d:`m15 5 4 4`}],[`path`,{d:`m2 2 20 20`}]],Qw=[[`path`,{d:`M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13`}],[`path`,{d:`m8 6 2-2`}],[`path`,{d:`m18 16 2-2`}],[`path`,{d:`m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`m15 5 4 4`}]],$w=[[`path`,{d:`M10 3H8`}],[`path`,{d:`m15.007 5.008 3.987 3.986`}],[`path`,{d:`M20 15v4`}],[`path`,{d:`M21.174 6.813a2.82 2.82 0 0 0-3.986-3.987L3.842 16.175a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`M22 17h-4`}],[`path`,{d:`M4 5v4`}],[`path`,{d:`M6 7H2`}],[`path`,{d:`M9 2v2`}]],eT=[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`m15 5 4 4`}]],tT=[[`path`,{d:`M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z`}]],nT=[[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`}],[`circle`,{cx:`6.5`,cy:`6.5`,r:`2.5`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`2.5`}]],rT=[[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`path`,{d:`m9 20 3-6 3 6`}],[`path`,{d:`m6 8 6 2 6-2`}],[`path`,{d:`M12 10v4`}]],iT=[[`path`,{d:`M12 2v20`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}]],aT=[[`path`,{d:`M20 11H4`}],[`path`,{d:`M20 7H4`}],[`path`,{d:`M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7`}]],oT=[[`path`,{d:`M13 2a9 9 0 0 1 9 9`}],[`path`,{d:`M13 6a5 5 0 0 1 5 5`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],sT=[[`path`,{d:`M14 6h8`}],[`path`,{d:`m18 2 4 4-4 4`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],cT=[[`path`,{d:`M16 2v6h6`}],[`path`,{d:`m22 2-6 6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],lT=[[`path`,{d:`m16 2 6 6`}],[`path`,{d:`m22 2-6 6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],uT=[[`path`,{d:`M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272`}],[`path`,{d:`M22 2 2 22`}],[`path`,{d:`M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473`}]],dT=[[`path`,{d:`m16 8 6-6`}],[`path`,{d:`M22 8V2h-6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],fT=[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],pT=[[`line`,{x1:`9`,x2:`9`,y1:`4`,y2:`20`}],[`path`,{d:`M4 7c0-1.7 1.3-3 3-3h13`}],[`path`,{d:`M18 20c-1.7 0-3-1.3-3-3V4`}]],mT=[[`path`,{d:`M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M6 14v4`}],[`path`,{d:`M10 14v4`}],[`path`,{d:`M14 14v4`}],[`path`,{d:`M18 14v4`}]],hT=[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999`}],[`path`,{d:`M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024`}],[`path`,{d:`M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069`}],[`path`,{d:`M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z`}]],gT=[[`path`,{d:`M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4`}],[`rect`,{width:`10`,height:`7`,x:`12`,y:`13`,rx:`2`}]],_T=[[`path`,{d:`M2 10h6V4`}],[`path`,{d:`m2 4 6 6`}],[`path`,{d:`M21 10V7a2 2 0 0 0-2-2h-7`}],[`path`,{d:`M3 14v2a2 2 0 0 0 2 2h3`}],[`rect`,{x:`12`,y:`14`,width:`10`,height:`7`,rx:`1`}]],vT=[[`path`,{d:`M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M2 8v1a2 2 0 0 0 2 2h1`}]],yT=[[`path`,{d:`M14 3v11`}],[`path`,{d:`M14 9h-3a3 3 0 0 1 0-6h9`}],[`path`,{d:`M18 3v11`}],[`path`,{d:`M22 18H2l4-4`}],[`path`,{d:`m6 22-4-4`}]],bT=[[`path`,{d:`M10 3v11`}],[`path`,{d:`M10 9H7a1 1 0 0 1 0-6h8`}],[`path`,{d:`M14 3v11`}],[`path`,{d:`m18 14 4 4H2`}],[`path`,{d:`m22 18-4 4`}]],xT=[[`path`,{d:`M13 4v16`}],[`path`,{d:`M17 4v16`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`}]],ST=[[`path`,{d:`M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4`}],[`path`,{d:`M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7`}],[`rect`,{width:`16`,height:`5`,x:`4`,y:`2`,rx:`1`}]],CT=[[`path`,{d:`m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z`}],[`path`,{d:`m8.5 8.5 7 7`}]],wT=[[`path`,{d:`M12 17v5`}],[`path`,{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`}]],TT=[[`path`,{d:`M12 17v5`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`}]],ET=[[`path`,{d:`m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12`}],[`path`,{d:`m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z`}],[`path`,{d:`m2 22 .414-.414`}]],DT=[[`path`,{d:`m12 14-1 1`}],[`path`,{d:`m13.75 18.25-1.25 1.42`}],[`path`,{d:`M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12`}],[`path`,{d:`M18.8 9.3a1 1 0 0 0 2.1 7.7`}],[`path`,{d:`M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z`}]],OT=[[`path`,{d:`M2 22h20`}],[`path`,{d:`M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z`}]],kT=[[`path`,{d:`M2 22h20`}],[`path`,{d:`M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z`}]],AT=[[`path`,{d:`M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z`}]],jT=[[`path`,{d:`m10.215 4.56 9.79 5.71a2 2 0 0 1 .003 3.458l-.393.23`}],[`path`,{d:`m16.042 16.042-8.034 4.686A2 2 0 0 1 5 19V5`}],[`path`,{d:`m2 2 20 20`}]],MT=[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`}]],NT=[[`path`,{d:`M9 2v6`}],[`path`,{d:`M15 2v6`}],[`path`,{d:`M12 17v5`}],[`path`,{d:`M5 8h14`}],[`path`,{d:`M6 11V8h12v3a6 6 0 1 1-12 0Z`}]],PT=[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`}],[`path`,{d:`m2 22 3-3`}],[`path`,{d:`M7.5 13.5 10 11`}],[`path`,{d:`M10.5 16.5 13 14`}],[`path`,{d:`m18 3-4 4h6l-4 4`}]],FT=[[`path`,{d:`M12 22v-5`}],[`path`,{d:`M15 8V2`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`}],[`path`,{d:`M9 8V2`}]],IT=[[`path`,{d:`M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2`}],[`path`,{d:`M18 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z`}],[`path`,{d:`M18 11.66V22a4 4 0 0 0 4-4V6`}]],LT=[[`path`,{d:`M5 12h14`}],[`path`,{d:`M12 5v14`}]],RT=[[`path`,{d:`M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z`,fill:`currentColor`}],[`path`,{d:`M16.85 18.58a9 9 0 1 0-9.7 0`}],[`path`,{d:`M8 14a5 5 0 1 1 8 0`}],[`circle`,{cx:`12`,cy:`11`,r:`1`,fill:`currentColor`}]],zT=[[`path`,{d:`M12 6V2h-1`}],[`path`,{d:`M9 15a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1`}],[`path`,{d:`M9 21V11a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10`}]],BT=[[`path`,{d:`M10 4.5V4a2 2 0 0 0-2.41-1.957`}],[`path`,{d:`M13.9 8.4a2 2 0 0 0-1.26-1.295`}],[`path`,{d:`M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158`}],[`path`,{d:`m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343`}],[`path`,{d:`M6 6v8`}],[`path`,{d:`m2 2 20 20`}]],VT=[[`path`,{d:`M22 14a8 8 0 0 1-8 8`}],[`path`,{d:`M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1`}],[`path`,{d:`M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`}]],HT=[[`path`,{d:`M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4`}],[`path`,{d:`M10 22 9 8`}],[`path`,{d:`m14 22 1-14`}],[`path`,{d:`M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z`}]],UT=[[`path`,{d:`M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z`}],[`path`,{d:`m22 22-5.5-5.5`}]],WT=[[`path`,{d:`M18 7c0-5.333-8-5.333-8 0`}],[`path`,{d:`M10 7v14`}],[`path`,{d:`M6 21h12`}],[`path`,{d:`M6 13h10`}]],GT=[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`m2 2 20 20`}]],KT=[[`path`,{d:`M12 2v10`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`}]],qT=[[`path`,{d:`M2 3h20`}],[`path`,{d:`M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3`}],[`path`,{d:`m7 21 5-5 5 5`}]],JT=[[`path`,{d:`M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}]],YT=[[`path`,{d:`M12.531 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6.377`}],[`path`,{d:`m16.5 16.5 5 5`}],[`path`,{d:`m16.5 21.5 5-5`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.5`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}]],XT=[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`}]],ZT=[[`path`,{d:`M5 7 3 5`}],[`path`,{d:`M9 6V3`}],[`path`,{d:`m13 7 2-2`}],[`circle`,{cx:`9`,cy:`13`,r:`3`}],[`path`,{d:`M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17`}],[`path`,{d:`M16 16h2`}]],QT=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M12 9v11`}],[`path`,{d:`M2 9h13a2 2 0 0 1 2 2v9`}]],$T=[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`}]],eE=[[`path`,{d:`M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z`}],[`path`,{d:`M12 2v20`}]],tE=[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 21v.01`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M12 3h.01`}],[`path`,{d:`M12 16v.01`}],[`path`,{d:`M16 12h1`}],[`path`,{d:`M21 12v.01`}],[`path`,{d:`M12 21v-1`}]],nE=[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}]],rE=[[`path`,{d:`M19.07 4.93A10 10 0 0 0 6.99 3.34`}],[`path`,{d:`M4 6h.01`}],[`path`,{d:`M2.29 9.62A10 10 0 1 0 21.31 8.35`}],[`path`,{d:`M16.24 7.76A6 6 0 1 0 8.23 16.67`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M17.99 11.66A6 6 0 0 1 15.77 16.67`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`m13.41 10.59 5.66-5.66`}]],iE=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M14 15.4641a4 4 0 0 1-4 0L7.52786 19.74597 A 1 1 0 0 0 7.99303 21.16211 10 10 0 0 0 16.00697 21.16211 1 1 0 0 0 16.47214 19.74597z`}],[`path`,{d:`M16 12a4 4 0 0 0-2-3.464l2.472-4.282a1 1 0 0 1 1.46-.305 10 10 0 0 1 4.006 6.94A1 1 0 0 1 21 12z`}],[`path`,{d:`M8 12a4 4 0 0 1 2-3.464L7.528 4.254a1 1 0 0 0-1.46-.305 10 10 0 0 0-4.006 6.94A1 1 0 0 0 3 12z`}]],aE=[[`path`,{d:`M13 16a3 3 0 0 1 2.24 5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3`}],[`path`,{d:`M20 8.54V4a2 2 0 1 0-4 0v3`}],[`path`,{d:`M7.612 12.524a3 3 0 1 0-1.6 4.3`}]],oE=[[`path`,{d:`M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21`}]],sE=[[`path`,{d:`M13.414 13.414a2 2 0 1 1-2.828-2.828`}],[`path`,{d:`M16.247 7.761a6 6 0 0 1 1.744 4.572`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 2.234 10.72`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`}]],cE=[[`path`,{d:`M5 16v2`}],[`path`,{d:`M19 16v2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`8`,rx:`2`}],[`path`,{d:`M18 12h.01`}]],lE=[[`path`,{d:`M4.9 16.1C1 12.2 1 5.8 4.9 1.9`}],[`path`,{d:`M7.8 4.7a6.14 6.14 0 0 0-.8 7.5`}],[`circle`,{cx:`12`,cy:`9`,r:`2`}],[`path`,{d:`M16.2 4.8c2 2 2.26 5.11.8 7.47`}],[`path`,{d:`M19.1 1.9a9.96 9.96 0 0 1 0 14.1`}],[`path`,{d:`M9.5 18h5`}],[`path`,{d:`m8 22 4-11 4 11`}]],uE=[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],dE=[[`path`,{d:`M20.34 17.52a10 10 0 1 0-2.82 2.82`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`path`,{d:`m13.41 13.41 4.18 4.18`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],fE=[[`path`,{d:`M22 17a10 10 0 0 0-20 0`}],[`path`,{d:`M6 17a6 6 0 0 1 12 0`}],[`path`,{d:`M10 17a2 2 0 0 1 4 0`}]],pE=[[`path`,{d:`M13 22H4a2 2 0 0 1 0-4h12`}],[`path`,{d:`M13.236 18a3 3 0 0 0-2.2-5`}],[`path`,{d:`M16 9h.01`}],[`path`,{d:`M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3`}],[`path`,{d:`M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18`}]],mE=[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],hE=[[`path`,{d:`M12 7v10`}],[`path`,{d:`M14.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],gE=[[`path`,{d:`M15.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 12h5`}]],_E=[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 11h8`}],[`path`,{d:`M8 7h8`}],[`path`,{d:`M9 7a4 4 0 0 1 0 8H8l3 2`}]],vE=[[`path`,{d:`m12 10 3-3`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M9 11h6`}],[`path`,{d:`M9 15h6`}],[`path`,{d:`m9 7 3 3v7`}]],yE=[[`path`,{d:`M10 17V9.5a1 1 0 0 1 5 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 13h5`}],[`path`,{d:`M8 17h7`}]],bE=[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 11h5a2 2 0 0 0 0-4h-3v10`}],[`path`,{d:`M8 15h5`}]],xE=[[`path`,{d:`M10 11h4`}],[`path`,{d:`M10 17V7h5`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 15h5`}]],SE=[[`path`,{d:`M13 16H8`}],[`path`,{d:`M14 8H8`}],[`path`,{d:`M16 12H8`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],CE=[[`path`,{d:`M10 7v10a5 5 0 0 0 5-5`}],[`path`,{d:`m14 8-6 3`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],wE=[[`path`,{d:`M14 4v16H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z`}],[`circle`,{cx:`14`,cy:`12`,r:`8`}]],TE=[[`path`,{d:`M12 17V7`}],[`path`,{d:`M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],EE=[[`path`,{d:`M20 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-1.6-.8l-1.6-2.13a1 1 0 0 0-1.6 0L9.6 17.2A2 2 0 0 1 8 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`}]],DE=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M17 12h.01`}],[`path`,{d:`M7 12h.01`}]],OE=[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`}]],kE=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],AE=[[`path`,{d:`M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5`}],[`path`,{d:`M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12`}],[`path`,{d:`m14 16-3 3 3 3`}],[`path`,{d:`M8.293 13.596 7.196 9.5 3.1 10.598`}],[`path`,{d:`m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843`}],[`path`,{d:`m13.378 9.633 4.096 1.098 1.097-4.096`}]],jE=[[`path`,{d:`m15 14 5-5-5-5`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`}]],ME=[[`circle`,{cx:`12`,cy:`17`,r:`1`}],[`path`,{d:`M21 7v6h-6`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`}]],NE=[[`path`,{d:`M21 7v6h-6`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`}]],PE=[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`}],[`path`,{d:`M16 16h5v5`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],FE=[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`}],[`path`,{d:`M16 16h5v5`}]],IE=[[`path`,{d:`M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47`}],[`path`,{d:`M8 16H3v5`}],[`path`,{d:`M3 12C3 9.51 4 7.26 5.64 5.64`}],[`path`,{d:`m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64`}],[`path`,{d:`M21 12c0 1-.16 1.97-.47 2.87`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M22 22 2 2`}]],LE=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}],[`path`,{d:`M8 16H3v5`}]],RE=[[`path`,{d:`M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z`}],[`path`,{d:`M5 10h14`}],[`path`,{d:`M15 7v6`}]],zE=[[`path`,{d:`M17 3v10`}],[`path`,{d:`m12.67 5.5 8.66 5`}],[`path`,{d:`m12.67 10.5 8.66-5`}],[`path`,{d:`M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z`}]],BE=[[`path`,{d:`M4 7V4h16v3`}],[`path`,{d:`M5 20h6`}],[`path`,{d:`M13 4 8 20`}],[`path`,{d:`m15 15 5 5`}],[`path`,{d:`m20 15-5 5`}]],VE=[[`path`,{d:`m2 9 3-3 3 3`}],[`path`,{d:`M13 18H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`m22 15-3 3-3-3`}],[`path`,{d:`M11 6h6a2 2 0 0 1 2 2v10`}]],HE=[[`path`,{d:`m17 2 4 4-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`}],[`path`,{d:`m7 22-4-4 4-4`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`}],[`path`,{d:`M11 10h1v4`}]],UE=[[`path`,{d:`M11.656 6H21l-4-4`}],[`path`,{d:`M17.898 17.898A4 4 0 0 1 17 18H3l4-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 13v1a4 4 0 0 1-.171 1.159`}],[`path`,{d:`m21 6-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 3.102-3.898`}],[`path`,{d:`m7 22-4-4`}]],WE=[[`path`,{d:`m17 2 4 4-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`}],[`path`,{d:`m7 22-4-4 4-4`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`}]],GE=[[`path`,{d:`M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],KE=[[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],qE=[[`path`,{d:`m12 17-5-5 5-5`}],[`path`,{d:`M22 18v-2a4 4 0 0 0-4-4H7`}],[`path`,{d:`m7 17-5-5 5-5`}]],JE=[[`path`,{d:`M20 18v-2a4 4 0 0 0-4-4H4`}],[`path`,{d:`m9 17-5-5 5-5`}]],YE=[[`path`,{d:`M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z`}],[`path`,{d:`M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z`}]],XE=[[`path`,{d:`M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22`}],[`path`,{d:`m12 18 2.57-3.5`}],[`path`,{d:`M6.243 9.016a7 7 0 0 1 11.507-.009`}],[`path`,{d:`M9.35 14.53 12 11.22`}],[`path`,{d:`M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z`}]],ZE=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M12 5V3`}],[`path`,{d:`M12 9v3`}],[`path`,{d:`M2.077 18.449A2 2 0 0 0 4 21h16a2 2 0 0 0 1.924-2.55l-4-14A2 2 0 0 0 16 3H8a2 2 0 0 0-1.924 1.45z`}]],QE=[[`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`}],[`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09`}],[`path`,{d:`M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z`}],[`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05`}]],$E=[[`path`,{d:`m15 13 3.708 7.416`}],[`path`,{d:`M3 19a15 15 0 0 0 18 0`}],[`path`,{d:`m3 2 3.21 9.633A2 2 0 0 0 8.109 13H18`}],[`path`,{d:`m9 13-3.708 7.416`}]],eD=[[`path`,{d:`M6 19V5`}],[`path`,{d:`M10 19V6.8`}],[`path`,{d:`M14 19v-7.8`}],[`path`,{d:`M18 5v4`}],[`path`,{d:`M18 19v-6`}],[`path`,{d:`M22 19V9`}],[`path`,{d:`M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65`}]],tD=[[`path`,{d:`M17 10h-1a4 4 0 1 1 4-4v.534`}],[`path`,{d:`M17 6h1a4 4 0 0 1 1.42 7.74l-2.29.87a6 6 0 0 1-5.339-10.68l2.069-1.31`}],[`path`,{d:`M4.5 17c2.8-.5 4.4 0 5.5.8s1.8 2.2 2.3 3.7c-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2`}],[`path`,{d:`M9.77 12C4 15 2 22 2 22`}],[`circle`,{cx:`17`,cy:`8`,r:`2`}]],nD=[[`path`,{d:`m15.194 13.707 3.814 1.86-1.86 3.814`}],[`path`,{d:`M16.47214 7.52786 A 5 10 0 1 0 13 21.79796`}],[`path`,{d:`M21.79796 11 A 10 5 0 1 0 19 15.57071`}]],rD=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M12 9h2`}],[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.74 9.74 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`circle`,{cx:`12`,cy:`15`,r:`2`}]],iD=[[`path`,{d:`M20 9V7a2 2 0 0 0-2-2h-6`}],[`path`,{d:`m15 2-3 3 3 3`}],[`path`,{d:`M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2`}]],aD=[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}]],oD=[[`path`,{d:`M12 5H6a2 2 0 0 0-2 2v3`}],[`path`,{d:`m9 8 3-3-3-3`}],[`path`,{d:`M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`}]],sD=[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}]],cD=[[`circle`,{cx:`6`,cy:`19`,r:`3`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],lD=[[`circle`,{cx:`6`,cy:`19`,r:`3`}],[`path`,{d:`M9 19h8.5c.4 0 .9-.1 1.3-.2`}],[`path`,{d:`M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 15.3a3.5 3.5 0 0 0-3.3-3.3`}],[`path`,{d:`M15 5h-4.3`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],uD=[[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6.01 18H6`}],[`path`,{d:`M10.01 18H10`}],[`path`,{d:`M15 10v4`}],[`path`,{d:`M17.84 7.17a4 4 0 0 0-5.66 0`}],[`path`,{d:`M20.66 4.34a8 8 0 0 0-11.31 0`}]],dD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 12h18`}]],fD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],pD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 7.5H3`}],[`path`,{d:`M21 12H3`}],[`path`,{d:`M21 16.5H3`}]],mD=[[`path`,{d:`M4 11a9 9 0 0 1 9 9`}],[`path`,{d:`M4 4a16 16 0 0 1 16 16`}],[`circle`,{cx:`5`,cy:`19`,r:`1`}]],hD=[[`path`,{d:`M10 15v-3`}],[`path`,{d:`M14 15v-3`}],[`path`,{d:`M18 15v-3`}],[`path`,{d:`M2 8V4`}],[`path`,{d:`M22 6H2`}],[`path`,{d:`M22 8V4`}],[`path`,{d:`M6 15v-3`}],[`rect`,{x:`2`,y:`12`,width:`20`,height:`8`,rx:`2`}]],gD=[[`path`,{d:`M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z`}],[`path`,{d:`m14.5 12.5 2-2`}],[`path`,{d:`m11.5 9.5 2-2`}],[`path`,{d:`m8.5 6.5 2-2`}],[`path`,{d:`m17.5 15.5 2-2`}]],_D=[[`path`,{d:`M6 11h8a4 4 0 0 0 0-8H9v18`}],[`path`,{d:`M6 15h8`}]],vD=[[`path`,{d:`M10 2v15`}],[`path`,{d:`M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z`}],[`path`,{d:`M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z`}]],yD=[[`path`,{d:`M7 21h10`}],[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`}],[`path`,{d:`M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1`}],[`path`,{d:`m13 12 4-4`}],[`path`,{d:`M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2`}]],bD=[[`path`,{d:`m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777`}],[`path`,{d:`M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25`}],[`path`,{d:`M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9`}],[`path`,{d:`m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`}],[`rect`,{width:`20`,height:`4`,x:`2`,y:`11`,rx:`1`}]],xD=[[`path`,{d:`M4 10a7.31 7.31 0 0 0 10 10Z`}],[`path`,{d:`m9 15 3-3`}],[`path`,{d:`M17 13a6 6 0 0 0-6-6`}],[`path`,{d:`M21 13A10 10 0 0 0 11 3`}]],SD=[[`path`,{d:`m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5`}],[`path`,{d:`M16.5 7.5 19 5`}],[`path`,{d:`m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5`}],[`path`,{d:`M9 21a6 6 0 0 0-6-6`}],[`path`,{d:`M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z`}]],CD=[[`path`,{d:`m20 19.5-5.5 1.2`}],[`path`,{d:`M14.5 4v11.22a1 1 0 0 0 1.242.97L20 15.2`}],[`path`,{d:`m2.978 19.351 5.549-1.363A2 2 0 0 0 10 16V2`}],[`path`,{d:`M20 10 4 13.5`}]],wD=[[`path`,{d:`M10 2v3a1 1 0 0 0 1 1h5`}],[`path`,{d:`M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6`}],[`path`,{d:`M18 22H4a2 2 0 0 1-2-2V6`}],[`path`,{d:`M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z`}]],TD=[[`path`,{d:`M12.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4v4.35`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M17 15.13V14a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],ED=[[`path`,{d:`M13 13H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M14 8h1`}],[`path`,{d:`M17 21v-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41`}],[`path`,{d:`M29.5 11.5s5 5 4 5`}],[`path`,{d:`M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15`}]],DD=[[`path`,{d:`M13.33 13H8a1 1 0 00-1 1v7`}],[`path`,{d:`M14.363 17.634a2 2 0 00-.506.854l-.837 2.87a.5.5 0 00.62.62l2.87-.837a2 2 0 00.854-.506l4.013-4.009a1 1 0 10-3.004-3.004z`}],[`path`,{d:`M7 3v4a1 1 0 001 1h7`}],[`path`,{d:`M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h10.2a2 2 0 011.4.6l3.8 3.8a2 2 0 01.6 1.4v.3`}]],OD=[[`path`,{d:`M12.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V12`}],[`path`,{d:`M16 13H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M19 22v-6`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],kD=[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],AD=[[`path`,{d:`M5 7v11a1 1 0 0 0 1 1h11`}],[`path`,{d:`M5.293 18.707 11 13`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`}]],jD=[[`path`,{d:`M12 3v18`}],[`path`,{d:`m19 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1`}],[`path`,{d:`m5 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M7 21h10`}]],MD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M8 7v10`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M17 7v10`}]],ND=[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`}],[`path`,{d:`M14 15H9v-5`}],[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M21 3 9 15`}]],PD=[[`path`,{d:`M12 12v5.5`}],[`path`,{d:`M17 3h2a2 2 0 012 2v2`}],[`path`,{d:`M21 17v2a2 2 0 01-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 012-2h2`}],[`path`,{d:`M7 21H5a2 2 0 01-2-2v-2`}],[`path`,{d:`M7.264 9.252 12 12l4.737-2.748`}],[`path`,{d:`M7.995 8.514A2 2 0 007 10.244v3.516a2 2 0 00.996 1.73l3 1.74a2 2 0 002.008 0l3-1.74A2 2 0 0017 13.76v-3.517a2 2 0 00-.995-1.73l-3-1.742a2 2 0 00-1.892-.064z`}]],FD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`}]],ID=[[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 4.172 4.306l-3.447 3.62a1 1 0 0 1-1.449 0z`}]],LD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 9h.01`}]],RD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7 12h10`}]],zD=[[`path`,{d:`M17 12v4a1 1 0 0 1-1 1h-4`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M17 8V7`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M7 17h.01`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`rect`,{x:`7`,y:`7`,width:`5`,height:`5`,rx:`1`}]],BD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`m16 16-1.9-1.9`}]],VD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7 8h8`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h6`}]],HD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}]],UD=[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M18 4.933V21`}],[`path`,{d:`m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6`}],[`path`,{d:`m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11`}],[`path`,{d:`M6 4.933V21`}],[`circle`,{cx:`12`,cy:`9`,r:`2`}]],WD=[[`path`,{d:`M5.42 9.42 8 12`}],[`circle`,{cx:`4`,cy:`8`,r:`2`}],[`path`,{d:`m14 6-8.58 8.58`}],[`circle`,{cx:`4`,cy:`16`,r:`2`}],[`path`,{d:`M10.8 14.8 14 18`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],GD=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M8.12 8.12 12 12`}],[`path`,{d:`M20 4 8.12 15.88`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`path`,{d:`M14.8 14.8 20 20`}]],KD=[[`path`,{d:`M21 4h-3.5l2 11.05`}],[`path`,{d:`M6.95 17h5.142c.523 0 .95-.406 1.063-.916a6.5 6.5 0 0 1 5.345-5.009`}],[`circle`,{cx:`19.5`,cy:`17.5`,r:`2.5`}],[`circle`,{cx:`4.5`,cy:`17.5`,r:`2.5`}]],qD=[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`m22 3-5 5`}],[`path`,{d:`m17 3 5 5`}]],JD=[[`path`,{d:`M15 12h-5`}],[`path`,{d:`M15 8h-5`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`}]],YD=[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`m17 8 5-5`}],[`path`,{d:`M17 3h5v5`}]],XD=[[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`}]],ZD=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M11 7v4`}],[`path`,{d:`M11 15h.01`}]],QD=[[`path`,{d:`m8 11 2 2 4-4`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],$D=[[`path`,{d:`m13 13.5 2-2.5-2-2.5`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M9 8.5 7 11l2 2.5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]],eO=[[`path`,{d:`m13.5 8.5-5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],tO=[[`path`,{d:`m13.5 8.5-5 5`}],[`path`,{d:`m8.5 8.5 5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],nO=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]],rO=[[`path`,{d:`M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0`}],[`path`,{d:`M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0`}]],iO=[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`}],[`path`,{d:`M6 12h16`}]],aO=[[`rect`,{x:`14`,y:`14`,width:`8`,height:`8`,rx:`2`}],[`rect`,{x:`2`,y:`2`,width:`8`,height:`8`,rx:`2`}],[`path`,{d:`M7 14v1a2 2 0 0 0 2 2h1`}],[`path`,{d:`M14 7h1a2 2 0 0 1 2 2v1`}]],oO=[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`}],[`path`,{d:`m21.854 2.147-10.94 10.939`}]],sO=[[`path`,{d:`m16 16-4 4-4-4`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`m8 8 4-4 4 4`}]],cO=[[`path`,{d:`M12 3v18`}],[`path`,{d:`m16 16 4-4-4-4`}],[`path`,{d:`m8 8-4 4 4 4`}]],lO=[[`path`,{d:`m10.852 14.772-.383.923`}],[`path`,{d:`M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923`}],[`path`,{d:`m13.148 9.228.383-.923`}],[`path`,{d:`m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544`}],[`path`,{d:`m14.772 10.852.923-.383`}],[`path`,{d:`m14.772 13.148.923.383`}],[`path`,{d:`M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5`}],[`path`,{d:`M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`m9.228 10.852-.923-.383`}],[`path`,{d:`m9.228 13.148-.923.383`}]],uO=[[`path`,{d:`M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m13 6-4 6h6l-4 6`}]],dO=[[`path`,{d:`M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5`}],[`path`,{d:`M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z`}],[`path`,{d:`M22 17v-1a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m2 2 20 20`}]],fO=[[`path`,{d:`M12.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2`}],[`path`,{d:`M16 12h6`}],[`path`,{d:`M19 9v6`}],[`path`,{d:`M22 18v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h8.5`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M6 6h.01`}]],pO=[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`}]],mO=[[`path`,{d:`M14 17H5`}],[`path`,{d:`M19 7h-9`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}],[`circle`,{cx:`7`,cy:`7`,r:`3`}]],hO=[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],gO=[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`}]],_O=[[`circle`,{cx:`18`,cy:`5`,r:`3`}],[`circle`,{cx:`6`,cy:`12`,r:`3`}],[`circle`,{cx:`18`,cy:`19`,r:`3`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`}]],vO=[[`path`,{d:`M12 2v13`}],[`path`,{d:`m16 6-4-4-4 4`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`}]],yO=[[`path`,{d:`M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44`}]],bO=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`line`,{x1:`3`,x2:`21`,y1:`9`,y2:`9`}],[`line`,{x1:`3`,x2:`21`,y1:`15`,y2:`15`}],[`line`,{x1:`9`,x2:`9`,y1:`9`,y2:`21`}],[`line`,{x1:`15`,x2:`15`,y1:`9`,y2:`21`}]],xO=[[`path`,{d:`M12 12V9a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}],[`path`,{d:`M16 20v-3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`}],[`path`,{d:`M20 22V2`}],[`path`,{d:`M4 12h16`}],[`path`,{d:`M4 20h16`}],[`path`,{d:`M4 2v20`}],[`path`,{d:`M4 4h16`}]],SO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M12 16h.01`}]],CO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m4.243 5.21 14.39 12.472`}]],wO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]],TO=[[`path`,{d:`M11 22c-3.806-1.45-7-3.966-7-9V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v4`}],[`path`,{d:`M14.923 16.547 14 16.164`}],[`path`,{d:`m14.923 18.843-.923.383`}],[`path`,{d:`M16.547 14.923 16.164 14`}],[`path`,{d:`m16.547 20.467-.383.924`}],[`path`,{d:`m18.843 14.923.383-.923`}],[`path`,{d:`m19.225 21.391-.382-.924`}],[`path`,{d:`m20.467 16.547.923-.383`}],[`path`,{d:`m20.467 18.843.923.383`}],[`circle`,{cx:`17.695`,cy:`17.695`,r:`3`}]],EO=[[`path`,{d:`m10.929 14.467-.383.924`}],[`path`,{d:`M10.929 8.923 10.546 8`}],[`path`,{d:`M13.225 8.923 13.608 8`}],[`path`,{d:`m13.607 15.391-.382-.924`}],[`path`,{d:`m14.849 10.547.923-.383`}],[`path`,{d:`m14.849 12.843.923.383`}],[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9.305 10.547-.923-.383`}],[`path`,{d:`m9.305 12.843-.923.383`}],[`circle`,{cx:`12.077`,cy:`11.695`,r:`3`}]],DO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}]],OO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M12 22V2`}]],kO=[[`path`,{d:`M12 13v3`}],[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 01-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 011-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 011.52 0C14.51 3.81 17 5 19 5a1 1 0 011 1z`}],[`circle`,{cx:`12`,cy:`11`,r:`2`}]],AO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9 12h6`}]],jO=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`}]],MO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M12 9v6`}]],NO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],PO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M6.376 18.91a6 6 0 0 1 11.249.003`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}]],FO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m14.5 9.5-5 5`}],[`path`,{d:`m9.5 9.5 5 5`}]],IO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}]],LO=[[`circle`,{cx:`12`,cy:`12`,r:`8`}],[`path`,{d:`M12 2v7.5`}],[`path`,{d:`m19 5-5.23 5.23`}],[`path`,{d:`M22 12h-7.5`}],[`path`,{d:`m19 19-5.23-5.23`}],[`path`,{d:`M12 14.5V22`}],[`path`,{d:`M10.23 13.77 5 19`}],[`path`,{d:`M9.5 12H2`}],[`path`,{d:`M10.23 10.23 5 5`}],[`circle`,{cx:`12`,cy:`12`,r:`2.5`}]],RO=[[`path`,{d:`M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z`}]],zO=[[`path`,{d:`M12 10.189V14`}],[`path`,{d:`M12 2v3`}],[`path`,{d:`M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6`}],[`path`,{d:`M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}]],BO=[[`path`,{d:`M16 10a4 4 0 0 1-8 0`}],[`path`,{d:`M3.103 6.034h17.794`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`}]],VO=[[`path`,{d:`m15 11-1 9`}],[`path`,{d:`m19 11-4-7`}],[`path`,{d:`M2 11h20`}],[`path`,{d:`m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4`}],[`path`,{d:`M4.5 15.5h15`}],[`path`,{d:`m5 11 4-7`}],[`path`,{d:`m9 11 1 9`}]],HO=[[`circle`,{cx:`8`,cy:`21`,r:`1`}],[`circle`,{cx:`19`,cy:`21`,r:`1`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`}]],UO=[[`path`,{d:`M21.56 4.56a1.5 1.5 0 0 1 0 2.122l-.47.47a3 3 0 0 1-4.212-.03 3 3 0 0 1 0-4.243l.44-.44a1.5 1.5 0 0 1 2.121 0z`}],[`path`,{d:`M3 22a1 1 0 0 1-1-1v-3.586a1 1 0 0 1 .293-.707l3.355-3.355a1.205 1.205 0 0 1 1.704 0l3.296 3.296a1.205 1.205 0 0 1 0 1.704l-3.355 3.355a1 1 0 0 1-.707.293z`}],[`path`,{d:`m9 15 7.879-7.878`}]],WO=[[`path`,{d:`m4 4 2.5 2.5`}],[`path`,{d:`M13.5 6.5a4.95 4.95 0 0 0-7 7`}],[`path`,{d:`M15 5 5 15`}],[`path`,{d:`M14 17v.01`}],[`path`,{d:`M10 16v.01`}],[`path`,{d:`M13 13v.01`}],[`path`,{d:`M16 10v.01`}],[`path`,{d:`M11 20v.01`}],[`path`,{d:`M17 14v.01`}],[`path`,{d:`M20 11v.01`}]],GO=[[`path`,{d:`M4 13V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 22v-5`}],[`path`,{d:`M14 19v-2`}],[`path`,{d:`M18 20v-3`}],[`path`,{d:`M2 13h20`}],[`path`,{d:`M6 20v-3`}]],KO=[[`path`,{d:`m15 15 6 6m-6-6v4.8m0-4.8h4.8`}],[`path`,{d:`M9 19.8V15m0 0H4.2M9 15l-6 6`}],[`path`,{d:`M15 4.2V9m0 0h4.8M15 9l6-6`}],[`path`,{d:`M9 4.2V9m0 0H4.2M9 9 3 3`}]],qO=[[`path`,{d:`M11 12h.01`}],[`path`,{d:`M13 22c.5-.5 1.12-1 2.5-1-1.38 0-2-.5-2.5-1`}],[`path`,{d:`M14 2a3.28 3.28 0 0 1-3.227 1.798l-6.17-.561A2.387 2.387 0 1 0 4.387 8H15.5a1 1 0 0 1 0 13 1 1 0 0 0 0-5H12a7 7 0 0 1-7-7V8`}],[`path`,{d:`M14 8a8.5 8.5 0 0 1 0 8`}],[`path`,{d:`M16 16c2 0 4.5-4 4-6`}]],JO=[[`path`,{d:`M12 22v-5.172a2 2 0 0 0-.586-1.414L9.5 13.5`}],[`path`,{d:`M14.5 14.5 12 17`}],[`path`,{d:`M17 8.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0z`}]],YO=[[`path`,{d:`m18 14 4 4-4 4`}],[`path`,{d:`m18 2 4 4-4 4`}],[`path`,{d:`M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22`}],[`path`,{d:`M2 6h1.972a4 4 0 0 1 3.6 2.2`}],[`path`,{d:`M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45`}]],XO=[[`path`,{d:`M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2`}]],ZO=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}],[`path`,{d:`M17 20V8`}]],QO=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}]],$O=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}]],ek=[[`path`,{d:`M2 20h.01`}]],tk=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}],[`path`,{d:`M17 20V8`}],[`path`,{d:`M22 4v16`}]],nk=[[`path`,{d:`m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284`}],[`path`,{d:`M3 21h18`}]],rk=[[`path`,{d:`M10 9H4L2 7l2-2h6`}],[`path`,{d:`M14 5h6l2 2-2 2h-6`}],[`path`,{d:`M10 22V4a2 2 0 1 1 4 0v18`}],[`path`,{d:`M8 22h8`}]],ik=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M12 3v3`}],[`path`,{d:`M2.354 10.354a1.207 1.207 0 0 1 0-1.708l2.06-2.06A2 2 0 0 1 5.828 6h12.344a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H5.828a2 2 0 0 1-1.414-.586z`}]],ak=[[`path`,{d:`M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`}],[`path`,{d:`M3 20V4`}]],ok=[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`}],[`path`,{d:`M21 12h1`}],[`path`,{d:`M18.5 4.5 18 5`}],[`path`,{d:`M2 12h1`}],[`path`,{d:`M12 2v1`}],[`path`,{d:`m4.929 4.929.707.707`}],[`path`,{d:`M12 12v6`}]],sk=[[`path`,{d:`M21 4v16`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`}]],ck=[[`path`,{d:`m12.5 17-.5-1-.5 1h1z`}],[`path`,{d:`M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`12`,r:`1`}]],lk=[[`path`,{d:`M22 2 2 22`}]],uk=[[`path`,{d:`M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14`}]],dk=[[`path`,{d:`M10 5H3`}],[`path`,{d:`M12 19H3`}],[`path`,{d:`M14 3v4`}],[`path`,{d:`M16 17v4`}],[`path`,{d:`M21 12h-9`}],[`path`,{d:`M21 19h-5`}],[`path`,{d:`M21 5h-7`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M8 12H3`}]],fk=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12.667 8 10 12h4l-2.667 4`}]],pk=[[`path`,{d:`M10 8h4`}],[`path`,{d:`M12 21v-9`}],[`path`,{d:`M12 8V3`}],[`path`,{d:`M17 16h4`}],[`path`,{d:`M19 12V3`}],[`path`,{d:`M19 21v-5`}],[`path`,{d:`M3 14h4`}],[`path`,{d:`M5 10V3`}],[`path`,{d:`M5 21v-7`}]],mk=[[`rect`,{width:`7`,height:`12`,x:`2`,y:`6`,rx:`1`}],[`path`,{d:`M13 8.32a7.43 7.43 0 0 1 0 7.36`}],[`path`,{d:`M16.46 6.21a11.76 11.76 0 0 1 0 11.58`}],[`path`,{d:`M19.91 4.1a15.91 15.91 0 0 1 .01 15.8`}]],hk=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12 18h.01`}]],gk=[[`path`,{d:`M22 11v1a10 10 0 1 1-9-10`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}],[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 2v6`}]],_k=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],vk=[[`path`,{d:`M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0`}],[`circle`,{cx:`10`,cy:`13`,r:`8`}],[`path`,{d:`M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6`}],[`path`,{d:`M18 3 19.1 5.2`}],[`path`,{d:`M22 3 20.9 5.2`}]],yk=[[`path`,{d:`m10 20-1.25-2.5L6 18`}],[`path`,{d:`M10 4 8.75 6.5 6 6`}],[`path`,{d:`m14 20 1.25-2.5L18 18`}],[`path`,{d:`m14 4 1.25 2.5L18 6`}],[`path`,{d:`m17 21-3-6h-4`}],[`path`,{d:`m17 3-3 6 1.5 3`}],[`path`,{d:`M2 12h6.5L10 9`}],[`path`,{d:`m20 10-1.5 2 1.5 2`}],[`path`,{d:`M22 12h-6.5L14 15`}],[`path`,{d:`m4 10 1.5 2L4 14`}],[`path`,{d:`m7 21 3-6-1.5-3`}],[`path`,{d:`m7 3 3 6h4`}]],bk=[[`path`,{d:`M10.5 2v4`}],[`path`,{d:`M14 2H7a2 2 0 0 0-2 2`}],[`path`,{d:`M19.29 14.76A6.67 6.67 0 0 1 17 11a6.6 6.6 0 0 1-2.29 3.76c-1.15.92-1.71 2.04-1.71 3.19 0 2.22 1.8 4.05 4 4.05s4-1.83 4-4.05c0-1.16-.57-2.26-1.71-3.19`}],[`path`,{d:`M9.607 21H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}]],xk=[[`path`,{d:`M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3`}],[`path`,{d:`M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`}],[`path`,{d:`M4 18v2`}],[`path`,{d:`M20 18v2`}],[`path`,{d:`M12 4v9`}]],Sk=[[`path`,{d:`M11 2h2`}],[`path`,{d:`m14.28 14-4.56 8`}],[`path`,{d:`m21 22-1.558-4H4.558`}],[`path`,{d:`M3 10v2`}],[`path`,{d:`M6.245 15.04A2 2 0 0 1 8 14h12a1 1 0 0 1 .864 1.505l-3.11 5.457A2 2 0 0 1 16 22H4a1 1 0 0 1-.863-1.506z`}],[`path`,{d:`M7 2a4 4 0 0 1-4 4`}],[`path`,{d:`m8.66 7.66 1.41 1.41`}]],Ck=[[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`}],[`path`,{d:`M7 21h10`}],[`path`,{d:`M19.5 12 22 6`}],[`path`,{d:`M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62`}],[`path`,{d:`M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62`}],[`path`,{d:`M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62`}]],wk=[[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`}]],Tk=[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`}]],Ek=[[`path`,{d:`M12 18v4`}],[`path`,{d:`M2 14.499a5.5 5.5 0 0 0 9.591 3.675.6.6 0 0 1 .818.001A5.5 5.5 0 0 0 22 14.5c0-2.29-1.5-4-3-5.5l-5.492-5.312a2 2 0 0 0-3-.02L5 8.999c-1.5 1.5-3 3.2-3 5.5`}]],Dk=[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`}],[`path`,{d:`M20 2v4`}],[`path`,{d:`M22 4h-4`}],[`circle`,{cx:`4`,cy:`20`,r:`2`}]],Ok=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M12 6h.01`}],[`circle`,{cx:`12`,cy:`14`,r:`4`}],[`path`,{d:`M12 14h.01`}]],kk=[[`path`,{d:`M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20`}],[`path`,{d:`M19.8 17.8a7.5 7.5 0 0 0 .003-10.603`}],[`path`,{d:`M17 15a3.5 3.5 0 0 0-.025-4.975`}]],Ak=[[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1`}]],jk=[[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m16 20 2 2 4-4`}]],Mk=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`}],[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],Nk=[[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`}]],Pk=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M8 3H3v5`}],[`path`,{d:`M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3`}],[`path`,{d:`m15 9 6-6`}]],Fk=[[`path`,{d:`m15 10.42 4.8-5.07`}],[`path`,{d:`M19 18h3`}],[`path`,{d:`M9.5 22 21.414 9.415A2 2 0 0 0 21.2 6.4l-5.61-4.208A1 1 0 0 0 14 3v2a2 2 0 0 1-1.394 1.906L8.677 8.053A1 1 0 0 0 8 9c-.155 6.393-2.082 9-4 9a2 2 0 0 0 0 4h14`}]],Ik=[[`path`,{d:`M17 13.44 4.442 17.082A2 2 0 0 0 4.982 21H19a2 2 0 0 0 .558-3.921l-1.115-.32A2 2 0 0 1 17 14.837V7.66`}],[`path`,{d:`m7 10.56 12.558-3.642A2 2 0 0 0 19.018 3H5a2 2 0 0 0-.558 3.921l1.115.32A2 2 0 0 1 7 9.163v7.178`}]],Lk=[[`path`,{d:`M15.295 19.562 16 22`}],[`path`,{d:`m17 16 3.758 2.098`}],[`path`,{d:`m19 12.5 3.026-.598`}],[`path`,{d:`M7.61 6.3a3 3 0 0 0-3.92 1.3l-1.38 2.79a3 3 0 0 0 1.3 3.91l6.89 3.597a1 1 0 0 0 1.342-.447l3.106-6.211a1 1 0 0 0-.447-1.341z`}],[`path`,{d:`M8 9V2`}]],Rk=[[`path`,{d:`M3 3h.01`}],[`path`,{d:`M7 5h.01`}],[`path`,{d:`M11 7h.01`}],[`path`,{d:`M3 7h.01`}],[`path`,{d:`M7 9h.01`}],[`path`,{d:`M3 11h.01`}],[`rect`,{width:`4`,height:`4`,x:`15`,y:`5`}],[`path`,{d:`m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2`}],[`path`,{d:`m13 14 8-2`}],[`path`,{d:`m13 19 8-2`}]],zk=[[`path`,{d:`M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3`}],[`path`,{d:`M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4`}],[`path`,{d:`M5 21h14`}]],Bk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M17 12h-2l-2 5-2-10-2 5H7`}]],Vk=[[`path`,{d:`M15 15H9l6-6`}],[`path`,{d:`M9 15V9`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Hk=[[`path`,{d:`M15 15 9 9`}],[`path`,{d:`M9 15h6V9`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Uk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8 12 4 4 4-4`}]],Wk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m12 8-4 4 4 4`}],[`path`,{d:`M16 12H8`}]],Gk=[[`path`,{d:`M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6`}],[`path`,{d:`m3 21 9-9`}],[`path`,{d:`M9 21H3v-6`}]],Kk=[[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`m21 21-9-9`}],[`path`,{d:`M21 15v6h-6`}]],qk=[[`path`,{d:`M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6`}],[`path`,{d:`m3 3 9 9`}],[`path`,{d:`M3 9V3h6`}]],Jk=[[`path`,{d:`M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6`}],[`path`,{d:`m21 3-9 9`}],[`path`,{d:`M15 3h6v6`}]],Yk=[[`path`,{d:`m10 16 4-4-4-4`}],[`path`,{d:`M3 12h11`}],[`path`,{d:`M3 8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`}]],Xk=[[`path`,{d:`M10 12h11`}],[`path`,{d:`m17 16 4-4-4-4`}],[`path`,{d:`M21 6.344V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.344`}]],Zk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m12 16 4-4-4-4`}]],Qk=[[`path`,{d:`M15 15 9 9`}],[`path`,{d:`M9 15V9h6`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],$k=[[`path`,{d:`M15 15V9H9`}],[`path`,{d:`m9 15 6-6`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],eA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],tA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8.5 14 7-4`}],[`path`,{d:`m8.5 10 7 4`}]],nA=[[`line`,{x1:`5`,y1:`3`,x2:`19`,y2:`3`}],[`line`,{x1:`3`,y1:`5`,x2:`3`,y2:`19`}],[`line`,{x1:`21`,y1:`5`,x2:`21`,y2:`19`}],[`line`,{x1:`9`,y1:`21`,x2:`10`,y2:`21`}],[`line`,{x1:`14`,y1:`21`,x2:`15`,y2:`21`}],[`path`,{d:`M 3 5 A2 2 0 0 1 5 3`}],[`path`,{d:`M 19 3 A2 2 0 0 1 21 5`}],[`path`,{d:`M 5 21 A2 2 0 0 1 3 19`}],[`path`,{d:`M 21 19 A2 2 0 0 1 19 21`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`}]],rA=[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3`}],[`path`,{d:`M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 2v2`}]],iA=[[`path`,{d:`M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],aA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 8h7`}],[`path`,{d:`M8 12h6`}],[`path`,{d:`M11 16h5`}]],oA=[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`}],[`path`,{d:`m9 11 3 3L22 4`}]],sA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m9 12 2 2 4-4`}]],cA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m16 10-4 4-4-4`}]],lA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m14 16-4-4 4-4`}]],uA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m10 8 4 4-4 4`}]],dA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m8 14 4-4 4 4`}]],fA=[[`path`,{d:`m10 9-3 3 3 3`}],[`path`,{d:`m14 15 3-3-3-3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],pA=[[`path`,{d:`M10 9.5 8 12l2 2.5`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`m14 9.5 2 2.5-2 2.5`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`}],[`path`,{d:`M9 21h1`}]],mA=[[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 21h1`}]],hA=[[`path`,{d:`M8 7v7`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M16 7v9`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 9v1`}]],gA=[[`path`,{d:`M14 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h6`}],[`path`,{d:`M7 8h8`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M9 3h1`}]],_A=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h2`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v2`}],[`path`,{d:`M3 14v1`}]],vA=[[`path`,{d:`M14 21h1`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 21h1`}]],yA=[[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M21 14v1`}]],bA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`}]],xA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],SA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M7 14h10`}]],CA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3`}],[`path`,{d:`M9 11.2h5.7`}]],wA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 7v7`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M16 7v9`}]],TA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7v10`}],[`path`,{d:`M11 7v10`}],[`path`,{d:`m15 7 2 10`}]],EA=[[`path`,{d:`M8 16V8.5a.5.5 0 0 1 .9-.3l2.7 3.599a.5.5 0 0 0 .8 0l2.7-3.6a.5.5 0 0 1 .9.3V16`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],DA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 8h10`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h10`}]],OA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}]],kA=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}]],AA=[[`path`,{d:`M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41`}],[`path`,{d:`M3 8.7V19a2 2 0 0 0 2 2h10.3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M13 13a3 3 0 1 0 0-6H9v2`}],[`path`,{d:`M9 17v-2.3`}]],jA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`}]],MA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`}]],NA=[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`}]],PA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7h10`}],[`path`,{d:`M10 7v10`}],[`path`,{d:`M16 17a2 2 0 0 1-2-2V7`}]],FA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],IA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 12H9.5a2.5 2.5 0 0 1 0-5H17`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M16 7v10`}]],LA=[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`}]],RA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],zA=[[`path`,{d:`M12 7v4`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],BA=[[`path`,{d:`M7 12h2l2 5 2-10h4`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],VA=[[`path`,{d:`M21 11a8 8 0 0 0-8-8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],HA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`}]],UA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M16 8.9V7H8l4 5-4 5h8v-1.9`}]],WA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`}]],GA=[[`path`,{d:`M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3`}],[`path`,{d:`M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3`}],[`line`,{x1:`12`,x2:`12`,y1:`4`,y2:`20`}]],KA=[[`path`,{d:`M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3`}],[`path`,{d:`M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`}]],qA=[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`}]],JA=[[`path`,{d:`M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`}],[`path`,{d:`M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`}],[`rect`,{width:`8`,height:`8`,x:`14`,y:`14`,rx:`2`}]],YA=[[`path`,{d:`M11.035 7.69a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],XA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`}]],ZA=[[`path`,{d:`m7 11 2-2-2-2`}],[`path`,{d:`M11 13h4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}]],QA=[[`path`,{d:`M18 21a6 6 0 0 0-12 0`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],$A=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`}]],ej=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],tj=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],nj=[[`path`,{d:`M16 12v2a2 2 0 0 1-2 2H9a1 1 0 0 0-1 1v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h0`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 1-1 1h-5a2 2 0 0 0-2 2v2`}]],rj=[[`path`,{d:`M10 22a2 2 0 0 1-2-2`}],[`path`,{d:`M14 2a2 2 0 0 1 2 2`}],[`path`,{d:`M16 22h-2`}],[`path`,{d:`M2 10V8`}],[`path`,{d:`M2 4a2 2 0 0 1 2-2`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`}],[`path`,{d:`M22 14v2`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2`}],[`path`,{d:`M8 10a2 2 0 0 1 2-2h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H9a1 1 0 0 1-1-1z`}],[`path`,{d:`M8 2h2`}]],ij=[[`path`,{d:`M10 22a2 2 0 0 1-2-2`}],[`path`,{d:`M16 22h-2`}],[`path`,{d:`M16 4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-5a2 2 0 0 1 2-2h5a1 1 0 0 0 1-1z`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`}],[`path`,{d:`M22 14v2`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`}]],aj=[[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z`}]],oj=[[`path`,{d:`M13.77 3.043a34 34 0 0 0-3.54 0`}],[`path`,{d:`M13.771 20.956a33 33 0 0 1-3.541.001`}],[`path`,{d:`M20.18 17.74c-.51 1.15-1.29 1.93-2.439 2.44`}],[`path`,{d:`M20.18 6.259c-.51-1.148-1.291-1.929-2.44-2.438`}],[`path`,{d:`M20.957 10.23a33 33 0 0 1 0 3.54`}],[`path`,{d:`M3.043 10.23a34 34 0 0 0 .001 3.541`}],[`path`,{d:`M6.26 20.179c-1.15-.508-1.93-1.29-2.44-2.438`}],[`path`,{d:`M6.26 3.82c-1.149.51-1.93 1.291-2.44 2.44`}]],sj=[[`path`,{d:`M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9`}]],cj=[[`path`,{d:`M15.236 22a3 3 0 0 0-2.2-5`}],[`path`,{d:`M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4`}],[`path`,{d:`M18 13h.01`}],[`path`,{d:`M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10`}]],lj=[[`path`,{d:`M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-6 0c0 2 1 2 1 3.5V13`}],[`path`,{d:`M20 15.5a2.5 2.5 0 0 0-2.5-2.5h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1z`}],[`path`,{d:`M5 22h14`}]],uj=[[`path`,{d:`m19.06 12.501 2.78-2.707a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428.027-.014`}],[`path`,{d:`m15 18 2 2 4-4`}]],dj=[[`path`,{d:`M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2`}]],fj=[[`path`,{d:`M15 18h6`}],[`path`,{d:`M17.688 14a2.1 2.1 0 0 1 .416-.568l3.736-3.638a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428.027-.014`}]],pj=[[`path`,{d:`m10.344 4.688 1.181-2.393a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.237 3.152`}],[`path`,{d:`m17.945 17.945.43 2.505a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a8 8 0 0 0 .4-.099`}],[`path`,{d:`m2 2 20 20`}]],mj=[[`path`,{d:`M11.013 18.582 6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904L20 11.5`}],[`path`,{d:`M15 18h6`}],[`path`,{d:`M18 15v6`}]],hj=[[`path`,{d:`m15.5 15.5 5 5`}],[`path`,{d:`m20.063 11.525 1.777-1.731a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428a2.1 2.1 0 0 1 .987-.243 2 2 0 0 1 .132.004`}],[`path`,{d:`m20.5 15.5-5 5`}]],gj=[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`}]],_j=[[`path`,{d:`M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`}],[`path`,{d:`M21 20V4`}]],vj=[[`path`,{d:`M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`}],[`path`,{d:`M3 4v16`}]],yj=[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 13h.01`}],[`path`,{d:`M16 13h.01`}],[`path`,{d:`M10 16s.8 1 2 1c1.3 0 2-1 2-1`}]],bj=[[`path`,{d:`M11 2v2`}],[`path`,{d:`M5 2v2`}],[`path`,{d:`M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M8 15a6 6 0 0 0 12 0v-3`}],[`circle`,{cx:`20`,cy:`10`,r:`2`}]],xj=[[`path`,{d:`m15 19 2 2 4-4`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M21 13V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6.5`}]],Sj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M21 14V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.35`}],[`path`,{d:`M21 18h-6`}]],Cj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M3.586 3.586A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.414-.586`}],[`path`,{d:`M8.656 3H15a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 21 9v6.344`}]],wj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m16 16 5 5`}],[`path`,{d:`M21 12V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7`}],[`path`,{d:`m21 16-5 5`}]],Tj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 12.356V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.355`}],[`path`,{d:`M21 18h-6`}]],Ej=[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}]],Dj=[[`path`,{d:`M10 8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 16 14v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z`}],[`path`,{d:`M10 8v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 4a2 2 0 0 1 2-2h6a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 22 8v6a2 2 0 0 1-2 2`}],[`path`,{d:`M16 2v5a1 1 0 0 0 1 1h5`}]],Oj=[[`path`,{d:`M11.264 2.205A4 4 0 0 0 6.42 4.211l-4 8a4 4 0 0 0 1.359 5.117l6 4a4 4 0 0 0 4.438 0l6-4a4 4 0 0 0 1.576-4.592l-2-6a4 4 0 0 0-2.53-2.53z`}],[`path`,{d:`M11.99 22 14 12l7.822 3.184`}],[`path`,{d:`M14 12 8.47 2.302`}]],kj=[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`}]],Aj=[[`rect`,{width:`20`,height:`6`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`20`,height:`6`,x:`2`,y:`14`,rx:`2`}]],jj=[[`rect`,{width:`6`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`rect`,{width:`6`,height:`20`,x:`14`,y:`2`,rx:`2`}]],Mj=[[`path`,{d:`M16 4H9a3 3 0 0 0-2.83 4`}],[`path`,{d:`M14 12a4 4 0 0 1 0 8H6`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`}]],Nj=[[`path`,{d:`m4 5 8 8`}],[`path`,{d:`m12 5-8 8`}],[`path`,{d:`M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07`}]],Pj=[[`path`,{d:`M15 4H7`}],[`path`,{d:`m18 16 3 3-3 3`}],[`path`,{d:`M3 4v13a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 14h7`}],[`path`,{d:`M7 9h12`}]],Fj=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 4h.01`}],[`path`,{d:`M20 12h.01`}],[`path`,{d:`M12 20h.01`}],[`path`,{d:`M4 12h.01`}],[`path`,{d:`M17.657 6.343h.01`}],[`path`,{d:`M17.657 17.657h.01`}],[`path`,{d:`M6.343 17.657h.01`}],[`path`,{d:`M6.343 6.343h.01`}]],Ij=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 3v1`}],[`path`,{d:`M12 20v1`}],[`path`,{d:`M3 12h1`}],[`path`,{d:`M20 12h1`}],[`path`,{d:`m18.364 5.636-.707.707`}],[`path`,{d:`m6.343 17.657-.707.707`}],[`path`,{d:`m5.636 5.636.707.707`}],[`path`,{d:`m17.657 17.657.707.707`}]],Lj=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715`}],[`path`,{d:`M16 12a4 4 0 0 0-4-4`}],[`path`,{d:`m19 5-1.256 1.256`}],[`path`,{d:`M20 12h2`}]],Rj=[[`path`,{d:`M10 21v-1`}],[`path`,{d:`M10 4V3`}],[`path`,{d:`M10 9a3 3 0 0 0 0 6`}],[`path`,{d:`m14 20 1.25-2.5L18 18`}],[`path`,{d:`m14 4 1.25 2.5L18 6`}],[`path`,{d:`m17 21-3-6 1.5-3H22`}],[`path`,{d:`m17 3-3 6 1.5 3`}],[`path`,{d:`M2 12h1`}],[`path`,{d:`m20 10-1.5 2 1.5 2`}],[`path`,{d:`m3.64 18.36.7-.7`}],[`path`,{d:`m4.34 6.34-.7-.7`}]],zj=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],Bj=[[`path`,{d:`M12 2v8`}],[`path`,{d:`m4.93 10.93 1.41 1.41`}],[`path`,{d:`M2 18h2`}],[`path`,{d:`M20 18h2`}],[`path`,{d:`m19.07 10.93-1.41 1.41`}],[`path`,{d:`M22 22H2`}],[`path`,{d:`m8 6 4-4 4 4`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`}]],Vj=[[`path`,{d:`M12 10V2`}],[`path`,{d:`m4.93 10.93 1.41 1.41`}],[`path`,{d:`M2 18h2`}],[`path`,{d:`M20 18h2`}],[`path`,{d:`m19.07 10.93-1.41 1.41`}],[`path`,{d:`M22 22H2`}],[`path`,{d:`m16 6-4 4-4-4`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`}]],Hj=[[`path`,{d:`M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z`}],[`path`,{d:`M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7`}],[`path`,{d:`M 7 17h.01`}],[`path`,{d:`m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8`}]],Uj=[[`path`,{d:`m4 19 8-8`}],[`path`,{d:`m12 19-8-8`}],[`path`,{d:`M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06`}]],Wj=[[`path`,{d:`M10 21V3h8`}],[`path`,{d:`M6 16h9`}],[`path`,{d:`M10 9.5h7`}]],Gj=[[`path`,{d:`M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5`}],[`path`,{d:`M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`m18 22-3-3 3-3`}],[`path`,{d:`m6 2 3 3-3 3`}]],Kj=[[`path`,{d:`m11 19-6-6`}],[`path`,{d:`m5 21-2-2`}],[`path`,{d:`m8 16-4 4`}],[`path`,{d:`M9.5 17.5 21 6V3h-3L6.5 14.5`}]],qj=[[`path`,{d:`m18 2 4 4`}],[`path`,{d:`m17 7 3-3`}],[`path`,{d:`M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5`}],[`path`,{d:`m9 11 4 4`}],[`path`,{d:`m5 19-3 3`}],[`path`,{d:`m14 4 6 6`}]],Jj=[[`polyline`,{points:`14.5 17.5 3 6 3 3 6 3 17.5 14.5`}],[`line`,{x1:`13`,x2:`19`,y1:`19`,y2:`13`}],[`line`,{x1:`16`,x2:`20`,y1:`16`,y2:`20`}],[`line`,{x1:`19`,x2:`21`,y1:`21`,y2:`19`}],[`polyline`,{points:`14.5 6.5 18 3 21 3 21 6 17.5 9.5`}],[`line`,{x1:`5`,x2:`9`,y1:`14`,y2:`18`}],[`line`,{x1:`7`,x2:`4`,y1:`17`,y2:`20`}],[`line`,{x1:`3`,x2:`5`,y1:`19`,y2:`21`}]],Yj=[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`}]],Xj=[[`path`,{d:`M12 21v-6`}],[`path`,{d:`M12 9V3`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],Zj=[[`path`,{d:`M12 15V9`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],Qj=[[`path`,{d:`M14 14v2`}],[`path`,{d:`M14 20v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M14 8v2`}],[`path`,{d:`M2 15h8`}],[`path`,{d:`M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2`}],[`path`,{d:`M2 9h8`}],[`path`,{d:`M22 15h-4`}],[`path`,{d:`M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`}],[`path`,{d:`M22 9h-4`}],[`path`,{d:`M5 3v18`}]],$j=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M21 5h.01`}],[`path`,{d:`M21 12h.01`}],[`path`,{d:`M21 19h.01`}]],eM=[[`path`,{d:`M15 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],tM=[[`path`,{d:`M14 10h2`}],[`path`,{d:`M15 22v-8`}],[`path`,{d:`M15 2v4`}],[`path`,{d:`M2 10h2`}],[`path`,{d:`M20 10h2`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6`}],[`path`,{d:`M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2`}],[`path`,{d:`M8 10h2`}],[`path`,{d:`M9 22v-8`}],[`path`,{d:`M9 2v4`}]],nM=[[`path`,{d:`M12 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}]],rM=[[`rect`,{width:`10`,height:`14`,x:`3`,y:`8`,rx:`2`}],[`path`,{d:`M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4`}],[`path`,{d:`M8 18h.01`}]],iM=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`}]],aM=[[`circle`,{cx:`7`,cy:`7`,r:`5`}],[`circle`,{cx:`17`,cy:`17`,r:`5`}],[`path`,{d:`M12 17h10`}],[`path`,{d:`m3.46 10.54 7.08-7.08`}]],oM=[[`path`,{d:`M16 13h6`}],[`path`,{d:`m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l1.79-1.79`}],[`path`,{d:`M19 10v6`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],sM=[[`path`,{d:`m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79`}],[`path`,{d:`m16.5 10.5 5 5`}],[`path`,{d:`m21.5 10.5-5 5`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],cM=[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],lM=[[`path`,{d:`M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193`}],[`circle`,{cx:`10.5`,cy:`6.5`,r:`.5`,fill:`currentColor`}]],uM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}]],dM=[[`path`,{d:`M4 4v16`}]],fM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}]],pM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}],[`path`,{d:`M19 4v16`}]],mM=[[`circle`,{cx:`17`,cy:`4`,r:`2`}],[`path`,{d:`M15.59 5.41 5.41 15.59`}],[`circle`,{cx:`4`,cy:`17`,r:`2`}],[`path`,{d:`M12 22s-4-9-1.5-11.5S22 12 22 12`}]],hM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}],[`path`,{d:`M19 4v16`}],[`path`,{d:`M22 6 2 18`}]],gM=[[`path`,{d:`m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44`}],[`path`,{d:`m13.56 11.747 4.332-.924`}],[`path`,{d:`m16 21-3.105-6.21`}],[`path`,{d:`M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z`}],[`path`,{d:`m6.158 8.633 1.114 4.456`}],[`path`,{d:`m8 21 3.105-6.21`}],[`circle`,{cx:`12`,cy:`13`,r:`2`}]],_M=[[`circle`,{cx:`4`,cy:`4`,r:`2`}],[`path`,{d:`m14 5 3-3 3 3`}],[`path`,{d:`m14 10 3-3 3 3`}],[`path`,{d:`M17 14V2`}],[`path`,{d:`M17 14H7l-5 8h20Z`}],[`path`,{d:`M8 14v8`}],[`path`,{d:`m9 14 5 8`}]],vM=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`6`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],yM=[[`path`,{d:`M3.5 21 14 3`}],[`path`,{d:`M20.5 21 10 3`}],[`path`,{d:`M15.5 21 12 15l-3.5 6`}],[`path`,{d:`M2 21h20`}]],bM=[[`path`,{d:`M12 19h8`}],[`path`,{d:`m4 17 6-6-6-6`}]],xM=[[`path`,{d:`M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3`}],[`path`,{d:`m16 2 6 6`}],[`path`,{d:`M12 16H4`}]],SM=[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`}],[`path`,{d:`M8.5 2h7`}],[`path`,{d:`M14.5 16h-5`}]],CM=[[`path`,{d:`M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2`}],[`path`,{d:`M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2`}],[`path`,{d:`M3 2h7`}],[`path`,{d:`M14 2h7`}],[`path`,{d:`M9 16H4`}],[`path`,{d:`M20 16h-5`}]],wM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M17 12H7`}],[`path`,{d:`M19 19H5`}]],TM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M21 19H7`}]],EM=[[`path`,{d:`M3 5h18`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M3 19h18`}]],DM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M17 19H3`}]],OM=[[`path`,{d:`M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6`}],[`path`,{d:`M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7`}],[`path`,{d:`M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1`}],[`path`,{d:`M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1`}],[`path`,{d:`M9 6v12`}]],kM=[[`path`,{d:`M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1`}],[`path`,{d:`M7 22h1a4 4 0 0 0 4-4`}],[`path`,{d:`M7 2h1a4 4 0 0 1 4 4`}]],AM=[[`path`,{d:`M15 5h6`}],[`path`,{d:`M15 12h6`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12`}],[`path`,{d:`M3.92 10h6.16`}]],jM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M10 12H3`}],[`path`,{d:`M10 19H3`}],[`circle`,{cx:`17`,cy:`15`,r:`3`}],[`path`,{d:`m21 19-1.9-1.9`}]],MM=[[`path`,{d:`M17 5H3`}],[`path`,{d:`M21 12H8`}],[`path`,{d:`M21 19H8`}],[`path`,{d:`M3 12v7`}]],NM=[[`path`,{d:`m16 16-3 3 3 3`}],[`path`,{d:`M3 12h14.5a1 1 0 0 1 0 7H13`}],[`path`,{d:`M3 19h6`}],[`path`,{d:`M3 5h18`}]],PM=[[`path`,{d:`M2 10s3-3 3-8`}],[`path`,{d:`M22 10s-3-3-3-8`}],[`path`,{d:`M10 2c0 4.4-3.6 8-8 8`}],[`path`,{d:`M14 2c0 4.4 3.6 8 8 8`}],[`path`,{d:`M2 10s2 2 2 5`}],[`path`,{d:`M22 10s-2 2-2 5`}],[`path`,{d:`M8 15h8`}],[`path`,{d:`M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`}],[`path`,{d:`M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`}]],FM=[[`path`,{d:`m10 20-1.25-2.5L6 18`}],[`path`,{d:`M10 4 8.75 6.5 6 6`}],[`path`,{d:`M10.585 15H10`}],[`path`,{d:`M2 12h6.5L10 9`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`}],[`path`,{d:`m4 10 1.5 2L4 14`}],[`path`,{d:`m7 21 3-6-1.5-3`}],[`path`,{d:`m7 3 3 6h2`}]],IM=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8a4 4 0 0 0-1.645 7.647`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}]],LM=[[`path`,{d:`M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z`}]],RM=[[`path`,{d:`M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z`}],[`path`,{d:`M17 14V2`}]],zM=[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`}],[`path`,{d:`M7 10v12`}]],BM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9 12 2 2 4-4`}]],VM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 12h6`}]],HM=[[`path`,{d:`M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M15 15h.01`}]],UM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M12 9v6`}]],WM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9.5 14.5 5-5`}]],GM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9.5 14.5 5-5`}],[`path`,{d:`m9.5 9.5 5 5`}]],KM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M13 5v2`}],[`path`,{d:`M13 17v2`}],[`path`,{d:`M13 11v2`}]],qM=[[`path`,{d:`M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12`}],[`path`,{d:`m12 13.5 3.794.506`}],[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`}],[`path`,{d:`M6 10V8`}],[`path`,{d:`M6 14v1`}],[`path`,{d:`M6 19v2`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`}]],JM=[[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`}],[`path`,{d:`M6 10V8`}],[`path`,{d:`M6 14v1`}],[`path`,{d:`M6 19v2`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`}]],YM=[[`path`,{d:`M4 12h.01`}],[`path`,{d:`M4 16h.01`}],[`path`,{d:`M4 20h.01`}],[`path`,{d:`M4 4h.01`}],[`path`,{d:`M4 8h.01`}],[`path`,{d:`M9.414 13.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 12z`}],[`path`,{d:`M9.414 21.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 20z`}],[`path`,{d:`M9.414 5.414A2 2 0 0 0 10.828 6H19a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 4z`}]],XM=[[`path`,{d:`M10 2h4`}],[`path`,{d:`M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7`}],[`path`,{d:`M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M12 12v-2`}]],ZM=[[`path`,{d:`M10 2h4`}],[`path`,{d:`M12 14v-4`}],[`path`,{d:`M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6`}],[`path`,{d:`M9 17H4v5`}]],QM=[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`}],[`circle`,{cx:`12`,cy:`14`,r:`8`}]],$M=[[`circle`,{cx:`9`,cy:`12`,r:`3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`}]],eN=[[`circle`,{cx:`15`,cy:`12`,r:`3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`}]],tN=[[`path`,{d:`M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18`}],[`path`,{d:`M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8`}]],nN=[[`path`,{d:`M10 15h4`}],[`path`,{d:`m14.817 10.995-.971-1.45 1.034-1.232a2 2 0 0 0-2.025-3.238l-1.82.364L9.91 3.885a2 2 0 0 0-3.625.748L6.141 6.55l-1.725.426a2 2 0 0 0-.19 3.756l.657.27`}],[`path`,{d:`m18.822 10.995 2.26-5.38a1 1 0 0 0-.557-1.318L16.954 2.9a1 1 0 0 0-1.281.533l-.924 2.122`}],[`path`,{d:`M4 12.006A1 1 0 0 1 4.994 11H19a1 1 0 0 1 1 1v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`}]],rN=[[`path`,{d:`M16 12v4`}],[`path`,{d:`M16 6a2 2 0 0 1 1.414.586l4 4A2 2 0 0 1 22 12v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 .586-1.414l4-4A2 2 0 0 1 8 6z`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M8 12v4`}]],iN=[[`ellipse`,{cx:`12`,cy:`11`,rx:`3`,ry:`2`}],[`ellipse`,{cx:`12`,cy:`12.5`,rx:`10`,ry:`8.5`}]],aN=[[`path`,{d:`M21 4H3`}],[`path`,{d:`M18 8H6`}],[`path`,{d:`M19 12H9`}],[`path`,{d:`M16 16h-6`}],[`path`,{d:`M11 20H9`}]],oN=[[`path`,{d:`M12 20v-6`}],[`path`,{d:`M19.656 14H22`}],[`path`,{d:`M2 14h12`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`}],[`path`,{d:`M9.656 4H20a2 2 0 0 1 2 2v10.344`}]],sN=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M12 20v-6`}]],cN=[[`path`,{d:`M22 7h-2`}],[`path`,{d:`M6.5 3h11A2.5 2.5 0 0 1 20 5.5V20a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1V5.5a1 1 0 0 0-5 0V17a1 1 0 0 0 1 1h4`}],[`path`,{d:`M9 7H2`}]],lN=[[`path`,{d:`M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z`}],[`path`,{d:`M8 13v9`}],[`path`,{d:`M16 22v-9`}],[`path`,{d:`m9 6 1 7`}],[`path`,{d:`m15 6-1 7`}],[`path`,{d:`M12 6V2`}],[`path`,{d:`M13 2h-2`}]],uN=[[`rect`,{width:`18`,height:`12`,x:`3`,y:`8`,rx:`1`}],[`path`,{d:`M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3`}],[`path`,{d:`M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3`}]],dN=[[`path`,{d:`m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20`}],[`path`,{d:`M16 18h-5`}],[`path`,{d:`M18 5a1 1 0 0 0-1 1v5.573`}],[`path`,{d:`M3 4h8.129a1 1 0 0 1 .99.863L13 11.246`}],[`path`,{d:`M4 11V4`}],[`path`,{d:`M7 15h.01`}],[`path`,{d:`M8 10.1V4`}],[`circle`,{cx:`18`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`15`,r:`5`}]],fN=[[`path`,{d:`M16.05 10.966a5 2.5 0 0 1-8.1 0`}],[`path`,{d:`m16.923 14.049 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04`}],[`path`,{d:`M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z`}],[`path`,{d:`M9.194 6.57a5 2.5 0 0 0 5.61 0`}]],pN=[[`path`,{d:`M2 22V12a10 10 0 1 1 20 0v10`}],[`path`,{d:`M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8`}],[`path`,{d:`M10 15h.01`}],[`path`,{d:`M14 15h.01`}],[`path`,{d:`M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z`}],[`path`,{d:`m9 19-2 3`}],[`path`,{d:`m15 19 2 3`}]],mN=[[`path`,{d:`M8 3.1V7a4 4 0 0 0 8 0V3.1`}],[`path`,{d:`m9 15-1-1`}],[`path`,{d:`m15 15 1-1`}],[`path`,{d:`M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z`}],[`path`,{d:`m8 19-2 3`}],[`path`,{d:`m16 19 2 3`}]],hN=[[`path`,{d:`M2 17 17 2`}],[`path`,{d:`m2 14 8 8`}],[`path`,{d:`m5 11 8 8`}],[`path`,{d:`m8 8 8 8`}],[`path`,{d:`m11 5 8 8`}],[`path`,{d:`m14 2 8 8`}],[`path`,{d:`M7 22 22 7`}]],gN=[[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`}],[`path`,{d:`M4 11h16`}],[`path`,{d:`M12 3v8`}],[`path`,{d:`m8 19-2 3`}],[`path`,{d:`m18 22-2-3`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M16 15h.01`}]],_N=[[`path`,{d:`M12 16v6`}],[`path`,{d:`M14 20h-4`}],[`path`,{d:`M18 2h4v4`}],[`path`,{d:`m2 2 7.17 7.17`}],[`path`,{d:`M2 5.355V2h3.357`}],[`path`,{d:`m22 2-7.17 7.17`}],[`path`,{d:`M8 5 5 8`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],vN=[[`path`,{d:`M10 11v6`}],[`path`,{d:`M14 11v6`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],yN=[[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],bN=[[`path`,{d:`M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z`}],[`path`,{d:`M12 19v3`}]],xN=[[`path`,{d:`M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4`}],[`path`,{d:`M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3`}],[`path`,{d:`M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35`}],[`path`,{d:`M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14`}]],SN=[[`path`,{d:`m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z`}],[`path`,{d:`M12 22v-3`}]],CN=[[`path`,{d:`M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z`}],[`path`,{d:`M7 16v6`}],[`path`,{d:`M13 19v3`}],[`path`,{d:`M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5`}]],wN=[[`path`,{d:`M16 17h6v-6`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`}]],TN=[[`path`,{d:`M14.828 14.828 21 21`}],[`path`,{d:`M21 16v5h-5`}],[`path`,{d:`m21 3-9 9-4-4-6 6`}],[`path`,{d:`M21 8V3h-5`}]],EN=[[`path`,{d:`M16 7h6v6`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`}]],DN=[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`}],[`path`,{d:`M12 9v4`}],[`path`,{d:`M12 17h.01`}]],ON=[[`path`,{d:`M10.17 4.193a2 2 0 0 1 3.666.013`}],[`path`,{d:`M14 21h2`}],[`path`,{d:`m15.874 7.743 1 1.732`}],[`path`,{d:`m18.849 12.952 1 1.732`}],[`path`,{d:`M21.824 18.18a2 2 0 0 1-1.835 2.824`}],[`path`,{d:`M4.024 21a2 2 0 0 1-1.839-2.839`}],[`path`,{d:`m5.136 12.952-1 1.732`}],[`path`,{d:`M8 21h2`}],[`path`,{d:`m8.102 7.743-1 1.732`}]],kN=[[`path`,{d:`M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z`}]],AN=[[`path`,{d:`M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z`}]],jN=[[`path`,{d:`M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978`}],[`path`,{d:`M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978`}],[`path`,{d:`M18 9h1.5a1 1 0 0 0 0-5H18`}],[`path`,{d:`M4 22h16`}],[`path`,{d:`M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z`}],[`path`,{d:`M6 9H4.5a1 1 0 0 1 0-5H6`}]],MN=[[`path`,{d:`M14 19V7a2 2 0 0 0-2-2H9`}],[`path`,{d:`M15 19H9`}],[`path`,{d:`M19 19h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 9.38a1 1 0 0 0-.78-.38H14`}],[`path`,{d:`M2 13v5a1 1 0 0 0 1 1h2`}],[`path`,{d:`M4 3 2.15 5.15a.495.495 0 0 0 .35.86h2.15a.47.47 0 0 1 .35.86L3 9.02`}],[`circle`,{cx:`17`,cy:`19`,r:`2`}],[`circle`,{cx:`7`,cy:`19`,r:`2`}]],NN=[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`}],[`path`,{d:`M15 18H9`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`}],[`circle`,{cx:`17`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],PN=[[`path`,{d:`M15 4 5 9`}],[`path`,{d:`m15 8.5-10 5`}],[`path`,{d:`M18 12a9 9 0 0 1-9 9V3`}]],FN=[[`path`,{d:`m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z`}],[`path`,{d:`M4.82 7.9 8 10`}],[`path`,{d:`M15.18 7.9 12 10`}],[`path`,{d:`M16.93 10H20a2 2 0 0 1 0 4H2`}]],IN=[[`path`,{d:`M10 12.01h.01`}],[`path`,{d:`M18 8v4a8 8 0 0 1-1.07 4`}],[`circle`,{cx:`10`,cy:`12`,r:`4`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],LN=[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`}],[`path`,{d:`M7 21h10`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}]],RN=[[`path`,{d:`M7 21h10`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}]],zN=[[`path`,{d:`m17 2-5 5-5-5`}],[`rect`,{width:`20`,height:`15`,x:`2`,y:`7`,rx:`2`}]],BN=[[`path`,{d:`M12 4v16`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`}],[`path`,{d:`M9 20h6`}]],VN=[[`path`,{d:`M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z`}]],HN=[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M18.656 13h2.336a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-12.07-7.51`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5.961 5.957a10.28 10.28 0 0 0-3.922 5.769A1 1 0 0 0 3 13h10`}]],UN=[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z`}]],WN=[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`}]],GN=[[`path`,{d:`M9 14 4 9l5-5`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`}]],KN=[[`path`,{d:`M21 17a9 9 0 0 0-15-6.7L3 13`}],[`path`,{d:`M3 7v6h6`}],[`circle`,{cx:`12`,cy:`17`,r:`1`}]],qN=[[`path`,{d:`M3 7v6h6`}],[`path`,{d:`M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13`}]],JN=[[`path`,{d:`M16 12h6`}],[`path`,{d:`M8 12H2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m19 15 3-3-3-3`}],[`path`,{d:`m5 9-3 3 3 3`}]],YN=[[`path`,{d:`M12 22v-6`}],[`path`,{d:`M12 8V2`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}],[`path`,{d:`m15 19-3 3-3-3`}],[`path`,{d:`m15 5-3-3-3 3`}]],XN=[[`rect`,{x:`11`,y:`14`,width:`10`,height:`7`,rx:`2`}],[`rect`,{x:`3`,y:`3`,width:`10`,height:`7`,rx:`2`}]],ZN=[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M18 16h.01`}],[`path`,{d:`M22 7a1 1 0 0 0-1-1h-2a2 2 0 0 1-1.143-.359L13.143 2.36a2 2 0 0 0-2.286-.001L6.143 5.64A2 2 0 0 1 5 6H3a1 1 0 0 0-1 1v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2z`}],[`path`,{d:`M6 12h.01`}],[`path`,{d:`M6 16h.01`}],[`circle`,{cx:`12`,cy:`10`,r:`2`}]],QN=[[`path`,{d:`m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71`}],[`path`,{d:`m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`5`}],[`line`,{x1:`2`,x2:`5`,y1:`8`,y2:`8`}],[`line`,{x1:`16`,x2:`16`,y1:`19`,y2:`22`}],[`line`,{x1:`19`,x2:`22`,y1:`16`,y2:`16`}]],$N=[[`path`,{d:`M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2`}]],eP=[[`path`,{d:`m19 5 3-3`}],[`path`,{d:`m2 22 3-3`}],[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`}],[`path`,{d:`M7.5 13.5 10 11`}],[`path`,{d:`M10.5 16.5 13 14`}],[`path`,{d:`m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z`}]],tP=[[`path`,{d:`M12 3v12`}],[`path`,{d:`m17 8-5-5-5 5`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}]],nP=[[`circle`,{cx:`10`,cy:`7`,r:`1`}],[`circle`,{cx:`4`,cy:`20`,r:`1`}],[`path`,{d:`M4.7 19.3 19 5`}],[`path`,{d:`m21 3-3 1 2 2Z`}],[`path`,{d:`M9.26 7.68 5 12l2 5`}],[`path`,{d:`m10 14 5 2 3.5-3.5`}],[`path`,{d:`m18 12 1-1 1 1-1 1Z`}]],rP=[[`path`,{d:`m16 11 2 2 4-4`}],[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],iP=[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`m14.305 16.53.923-.382`}],[`path`,{d:`m15.228 13.852-.923-.383`}],[`path`,{d:`m16.852 12.228-.383-.923`}],[`path`,{d:`m16.852 17.772-.383.924`}],[`path`,{d:`m19.148 12.228.383-.923`}],[`path`,{d:`m19.53 18.696-.382-.924`}],[`path`,{d:`m20.772 13.852.924-.383`}],[`path`,{d:`m20.772 16.148.924.383`}],[`circle`,{cx:`18`,cy:`15`,r:`3`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],aP=[[`path`,{d:`M19 16v-2a2 2 0 0 0-4 0v2`}],[`path`,{d:`M9.5 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`rect`,{x:`13`,y:`16`,width:`8`,height:`5`,rx:`.899`}]],oP=[[`path`,{d:`M20 11v6`}],[`path`,{d:`M20 13h2`}],[`path`,{d:`M3 21v-2a4 4 0 0 1 4-4h6a4 4 0 0 1 2.072.578`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}]],sP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],cP=[[`path`,{d:`M11.5 15H7a4 4 0 0 0-4 4v2`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}]],lP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],uP=[[`path`,{d:`m19 16-3 3`}],[`path`,{d:`M2 21a8 8 0 0 1 12.664-6.5`}],[`path`,{d:`M22 19h-6l3 3`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}]],dP=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`m16 19 2 2 4-4`}]],fP=[[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],pP=[[`path`,{d:`M19 11v6`}],[`path`,{d:`M19 13h2`}],[`path`,{d:`M2 21a8 8 0 0 1 12.868-6.349`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}]],mP=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M22 19h-6`}]],hP=[[`path`,{d:`M2 21a8 8 0 0 1 10.821-7.487`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}]],gP=[[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`path`,{d:`m22 22-1.9-1.9`}]],_P=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M22 19h-6`}]],vP=[[`path`,{d:`M2 21a8 8 0 0 1 11.873-7`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`m17 17 5 5`}],[`path`,{d:`m22 17-5 5`}]],yP=[[`circle`,{cx:`12`,cy:`8`,r:`5`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`}]],bP=[[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`path`,{d:`M10.3 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}],[`path`,{d:`m21 21-1.9-1.9`}]],xP=[[`path`,{d:`M16.051 12.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}],[`path`,{d:`M8 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}]],SP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`}]],CP=[[`path`,{d:`M18 21a8 8 0 0 0-16 0`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`}]],wP=[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`12`,cy:`7`,r:`4`}]],TP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],EP=[[`path`,{d:`m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8`}],[`path`,{d:`M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7`}],[`path`,{d:`m2.1 21.8 6.4-6.3`}],[`path`,{d:`m19 5-7 7`}]],DP=[[`path`,{d:`M12 2v20`}],[`path`,{d:`M2 5h20`}],[`path`,{d:`M3 3v2`}],[`path`,{d:`M7 3v2`}],[`path`,{d:`M17 3v2`}],[`path`,{d:`M21 3v2`}],[`path`,{d:`m19 5-7 7-7-7`}]],OP=[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`}],[`path`,{d:`M7 2v20`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`}]],kP=[[`path`,{d:`M13 6v5a1 1 0 0 0 1 1h6.102a1 1 0 0 1 .712.298l.898.91a1 1 0 0 1 .288.702V17a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M5 18H3a1 1 0 0 1-1-1V8a2 2 0 0 1 2-2h12c1.1 0 2.1.8 2.4 1.8l1.176 4.2`}],[`path`,{d:`M9 18h5`}],[`circle`,{cx:`16`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],AP=[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`}]],jP=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m7.9 7.9 2.7 2.7`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m13.4 10.6 2.7-2.7`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m7.9 16.1 2.7-2.7`}],[`circle`,{cx:`16.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m13.4 13.4 2.7 2.7`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],MP=[[`path`,{d:`M19.5 7a24 24 0 0 1 0 10`}],[`path`,{d:`M4.5 7a24 24 0 0 0 0 10`}],[`path`,{d:`M7 19.5a24 24 0 0 0 10 0`}],[`path`,{d:`M7 4.5a24 24 0 0 1 10 0`}],[`rect`,{x:`17`,y:`17`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`17`,y:`2`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`2`,y:`17`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`2`,y:`2`,width:`5`,height:`5`,rx:`1`}]],NP=[[`path`,{d:`M16 8q6 0 6-6-6 0-6 6`}],[`path`,{d:`M17.41 3.59a10 10 0 1 0 3 3`}],[`path`,{d:`M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14`}]],PP=[[`path`,{d:`M18 11c-1.5 0-2.5.5-3 2`}],[`path`,{d:`M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z`}],[`path`,{d:`M6 11c1.5 0 2.5.5 3 2`}]],FP=[[`path`,{d:`M10 20h4`}],[`path`,{d:`M12 16v6`}],[`path`,{d:`M17 2h4v4`}],[`path`,{d:`m21 2-5.46 5.46`}],[`circle`,{cx:`12`,cy:`11`,r:`5`}]],IP=[[`path`,{d:`M12 15v7`}],[`path`,{d:`M9 19h6`}],[`circle`,{cx:`12`,cy:`9`,r:`6`}]],LP=[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`}],[`path`,{d:`M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2`}],[`path`,{d:`M16 10.34V6c0-.55-.45-1-1-1h-4.34`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],RP=[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`}],[`rect`,{width:`8`,height:`14`,x:`8`,y:`5`,rx:`1`}]],zP=[[`path`,{d:`M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196`}],[`path`,{d:`M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`}],[`path`,{d:`m2 2 20 20`}]],BP=[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`}]],VP=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M2 8h20`}],[`circle`,{cx:`8`,cy:`14`,r:`2`}],[`path`,{d:`M8 12h8`}],[`circle`,{cx:`16`,cy:`14`,r:`2`}]],HP=[[`path`,{d:`M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`}]],UP=[[`circle`,{cx:`6`,cy:`12`,r:`4`}],[`circle`,{cx:`18`,cy:`12`,r:`4`}],[`line`,{x1:`6`,x2:`18`,y1:`16`,y2:`16`}]],WP=[[`path`,{d:`M11 7a16 16 20 0 1 10.98 4.362`}],[`path`,{d:`M12 12a13 13 0 0 1-8.66 5`}],[`path`,{d:`M16.83 13.634a16 16 0 0 1-9.267 7.328`}],[`path`,{d:`M20.66 17A13 13 0 0 0 12 12a13 13 0 0 1 0-10`}],[`path`,{d:`M8.17 15.366a16 16 0 0 1-1.713-11.69`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],GP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`}]],KP=[[`path`,{d:`M16 9a5 5 0 0 1 .95 2.293`}],[`path`,{d:`M19.364 5.636a9 9 0 0 1 1.889 9.96`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11`}],[`path`,{d:`M9.828 4.172A.686.686 0 0 1 11 4.657v.686`}]],qP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`}]],JP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`}]],YP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}]],XP=[[`path`,{d:`m9 12 2 2 4-4`}],[`path`,{d:`M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z`}],[`path`,{d:`M22 19H2`}]],ZP=[[`path`,{d:`M3 11h3.75a2 2 0 0 1 1.6.8l.45.6a4 4 0 0 0 6.4 0l.45-.6a2 2 0 0 1 1.6-.8H21`}],[`path`,{d:`M3 7h18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],QP=[[`path`,{d:`M17 14h.01`}],[`path`,{d:`M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14`}]],$P=[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`}]],eF=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15`}],[`circle`,{cx:`8`,cy:`9`,r:`2`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],tF=[[`path`,{d:`M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11`}],[`path`,{d:`M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z`}],[`path`,{d:`M6 13h12`}],[`path`,{d:`M6 17h12`}]],nF=[[`path`,{d:`m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72`}],[`path`,{d:`m14 7 3 3`}],[`path`,{d:`M5 6v4`}],[`path`,{d:`M19 14v4`}],[`path`,{d:`M10 2v2`}],[`path`,{d:`M7 8H3`}],[`path`,{d:`M21 16h-4`}],[`path`,{d:`M11 3H9`}]],rF=[[`path`,{d:`M15 4V2`}],[`path`,{d:`M15 16v-2`}],[`path`,{d:`M8 9h2`}],[`path`,{d:`M20 9h2`}],[`path`,{d:`M17.8 11.8 19 13`}],[`path`,{d:`M15 9h.01`}],[`path`,{d:`M17.8 6.2 19 5`}],[`path`,{d:`m3 21 9-9`}],[`path`,{d:`M12.2 6.2 11 5`}]],iF=[[`path`,{d:`M3 6h3`}],[`path`,{d:`M17 6h.01`}],[`rect`,{width:`18`,height:`20`,x:`3`,y:`2`,rx:`2`}],[`circle`,{cx:`12`,cy:`13`,r:`5`}],[`path`,{d:`M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5`}]],aF=[[`path`,{d:`M12 10v2.2l1.6 1`}],[`path`,{d:`m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05`}],[`path`,{d:`m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05`}],[`circle`,{cx:`12`,cy:`12`,r:`6`}]],oF=[[`path`,{d:`M12 10L12 2`}],[`path`,{d:`M16 6L12 10L8 6`}],[`path`,{d:`M2 15C2.6 15.5 3.2 16 4.5 16C7 16 7 14 9.5 14C12.1 14 11.9 16 14.5 16C17 16 17 14 19.5 14C20.8 14 21.4 14.5 22 15`}],[`path`,{d:`M2 21C2.6 21.5 3.2 22 4.5 22C7 22 7 20 9.5 20C12.1 20 11.9 22 14.5 22C17 22 17 20 19.5 20C20.8 20 21.4 20.5 22 21`}]],sF=[[`path`,{d:`M12 2v8`}],[`path`,{d:`M2 15c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`m8 6 4-4 4 4`}]],cF=[[`path`,{d:`M2 12q2.5 2 5 0t5 0 5 0 5 0`}],[`path`,{d:`M2 19q2.5 2 5 0t5 0 5 0 5 0`}],[`path`,{d:`M2 5q2.5 2 5 0t5 0 5 0 5 0`}]],lF=[[`path`,{d:`M19 5a2 2 0 0 0-2 2v11`}],[`path`,{d:`M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M7 13h10`}],[`path`,{d:`M7 9h10`}],[`path`,{d:`M9 5a2 2 0 0 0-2 2v11`}]],uF=[[`path`,{d:`M12 2q2 2.5 0 5t0 5 0 5 0 5`}],[`path`,{d:`M19 2q2 2.5 0 5t0 5 0 5 0 5`}],[`path`,{d:`M5 2q2 2.5 0 5t0 5 0 5 0 5`}]],dF=[[`path`,{d:`m10.586 5.414-5.172 5.172`}],[`path`,{d:`m18.586 13.414-5.172 5.172`}],[`path`,{d:`M6 12h12`}],[`circle`,{cx:`12`,cy:`20`,r:`2`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}],[`circle`,{cx:`20`,cy:`12`,r:`2`}],[`circle`,{cx:`4`,cy:`12`,r:`2`}]],fF=[[`path`,{d:`M12 22v-4`}],[`path`,{d:`M12.754 7.096a3 3 0 0 1 2.15 2.15`}],[`path`,{d:`M12.863 12.873a3 3 0 0 1-3.736-3.735`}],[`path`,{d:`M16.566 16.57A8 8 0 0 1 5.43 5.433`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7 22h10`}],[`path`,{d:`M8.478 2.817a8 8 0 0 1 10.705 10.705`}]],pF=[[`circle`,{cx:`12`,cy:`10`,r:`8`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 22h10`}],[`path`,{d:`M12 22v-4`}]],mF=[[`path`,{d:`M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15`}],[`path`,{d:`M9 3.4a4 4 0 0 1 6.52.66`}],[`path`,{d:`m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05`}],[`path`,{d:`M20.3 20.3a4 4 0 0 1-2.3.7`}],[`path`,{d:`M18.6 13a4 4 0 0 1 3.357 3.414`}],[`path`,{d:`m12 6 .6 1`}],[`path`,{d:`m2 2 20 20`}]],hF=[[`path`,{d:`M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2`}],[`path`,{d:`m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06`}],[`path`,{d:`m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8`}]],gF=[[`path`,{d:`M6.5 8a2 2 0 0 0-1.906 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8z`}],[`path`,{d:`M7.999 15a2.5 2.5 0 0 1 4 0 2.5 2.5 0 0 0 4 0`}],[`circle`,{cx:`12`,cy:`5`,r:`3`}]],_F=[[`circle`,{cx:`12`,cy:`5`,r:`3`}],[`path`,{d:`M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z`}]],vF=[[`path`,{d:`M2 22 16 8`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}]],yF=[[`path`,{d:`m2 22 10-10`}],[`path`,{d:`m16 8-1.17 1.17`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97`}],[`path`,{d:`M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98`}],[`path`,{d:`M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],bF=[[`circle`,{cx:`7`,cy:`12`,r:`3`}],[`path`,{d:`M10 9v6`}],[`circle`,{cx:`17`,cy:`12`,r:`3`}],[`path`,{d:`M14 7v8`}],[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`}]],xF=[[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`M2 7.82a15 15 0 0 1 20 0`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`path`,{d:`M5 11.858a10 10 0 0 1 11.5-1.785`}],[`path`,{d:`M8.5 15.429a5 5 0 0 1 2.413-1.31`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],SF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],CF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],wF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`}],[`path`,{d:`m2 2 20 20`}]],TF=[[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 10.5-2.222`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 3-1.406`}]],EF=[[`path`,{d:`M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5`}],[`path`,{d:`M11.965 14.105h4`}],[`path`,{d:`M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M21.965 22.105v-4`}],[`path`,{d:`M5 12.86a10 10 0 0 1 3-2.032`}],[`path`,{d:`M8.5 16.429h.01`}]],DF=[[`path`,{d:`M12 20h.01`}]],OF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],kF=[[`path`,{d:`M10 2v8`}],[`path`,{d:`M12.8 21.6A2 2 0 1 0 14 18H2`}],[`path`,{d:`M17.5 10a2.5 2.5 0 1 1 2 4H2`}],[`path`,{d:`m6 6 4 4 4-4`}]],AF=[[`path`,{d:`M12.8 19.6A2 2 0 1 0 14 16H2`}],[`path`,{d:`M17.5 8a2.5 2.5 0 1 1 2 4H2`}],[`path`,{d:`M9.8 4.4A2 2 0 1 1 11 8H2`}]],jF=[[`path`,{d:`M8 22h8`}],[`path`,{d:`M7 10h3m7 0h-1.343`}],[`path`,{d:`M12 15v7`}],[`path`,{d:`M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],MF=[[`path`,{d:`M8 22h8`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M12 15v7`}],[`path`,{d:`M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z`}]],NF=[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`}]],PF=[[`path`,{d:`m19 12-1.5 3`}],[`path`,{d:`M19.63 18.81 22 20`}],[`path`,{d:`M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z`}]],FF=[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`}]],IF=[[`path`,{d:`M10.747 5.093a6 6 0 0 1 6.841-2.882c.438.12.54.662.219.984L14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-2.882 6.842`}],[`path`,{d:`m13.5 13.5-7.88 7.88a1 1 0 0 1-2.999-3l7.88-7.88`}],[`path`,{d:`m2 2 20 20`}]],LF=[[`path`,{d:`M18 4H6`}],[`path`,{d:`M18 8 6 20`}],[`path`,{d:`m6 8 12 12`}]],RF=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]],zF=[[`path`,{d:`M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317`}],[`path`,{d:`M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773`}],[`path`,{d:`M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643`}],[`path`,{d:`m2 2 20 20`}]],BF=[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`}]],VF=[[`path`,{d:`m2 10 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.096-.001l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 10`}],[`path`,{d:`m2 18.002 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.097 0l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 18.002`}]],HF=[[`path`,{d:`M12 7.5a4.5 4.5 0 1 1 5 4.5`}],[`path`,{d:`M7 12a4.5 4.5 0 1 1 5-4.5V21`}]],UF=[[`path`,{d:`M21 14.5A9 6.5 0 0 1 5.5 19`}],[`path`,{d:`M3 9.5A9 6.5 0 0 1 18.5 5`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`3.5`}],[`circle`,{cx:`6.5`,cy:`9.5`,r:`3.5`}]],WF=[[`path`,{d:`M16 4.525v14.948`}],[`path`,{d:`M20 3A17 17 0 0 1 4 3`}],[`path`,{d:`M4 21a17 17 0 0 1 16 0`}],[`path`,{d:`M8 4.525v14.948`}]],GF=[[`path`,{d:`M11 21a3 3 0 0 0 3-3V6.5a1 1 0 0 0-7 0`}],[`path`,{d:`M7 19V6a3 3 0 0 0-3-3h0`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}]],KF=[[`path`,{d:`M3 16h6.857c.162-.012.19-.323.038-.38a6 6 0 1 1 4.212 0c-.153.057-.125.368.038.38H21`}],[`path`,{d:`M3 20h18`}]],qF=[[`path`,{d:`M10 16c0-4-3-4.5-3-8a5 5 0 0 1 10 0c0 3.466-3 6.196-3 10a3 3 0 0 0 6 0`}],[`circle`,{cx:`7`,cy:`16`,r:`3`}]],JF=[[`path`,{d:`M3 10A6.06 6.06 0 0 1 12 10 A6.06 6.06 0 0 0 21 10`}],[`path`,{d:`M6 3v12a6 6 0 0 0 12 0V3`}]],YF=[[`path`,{d:`M19 21a15 15 0 0 1 0-18`}],[`path`,{d:`M20 12H4`}],[`path`,{d:`M5 3a15 15 0 0 1 0 18`}]],XF=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`M21 3 3 21`}],[`path`,{d:`m9 9 6 6`}]],ZF=[[`circle`,{cx:`12`,cy:`15`,r:`6`}],[`path`,{d:`M18 3A6 6 0 0 1 6 3`}]],QF=[[`path`,{d:`M10 19V5.5a1 1 0 0 1 5 0V17a2 2 0 0 0 2 2h5l-3-3`}],[`path`,{d:`m22 19-3 3`}],[`path`,{d:`M5 19V5.5a1 1 0 0 1 5 0`}],[`path`,{d:`M5 5.5A2.5 2.5 0 0 0 2.5 3`}]],$F=[[`path`,{d:`M11 5.5a1 1 0 0 1 5 0V16a5 5 0 0 0 5 5`}],[`path`,{d:`M16 11.5a1 1 0 0 1 5 0V16a5 5 0 0 1-5 5`}],[`path`,{d:`M6 19V6a3 3 0 0 0-3-3h0`}],[`path`,{d:`M6 5.5a1 1 0 0 1 5 0V19`}]],eI=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`}]],tI=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`}]],nI=t({AArrowDown:()=>ga,AArrowUp:()=>_a,ALargeSmall:()=>ba,Accessibility:()=>va,Activity:()=>ya,ActivitySquare:()=>Bk,Ad:()=>xa,AirVent:()=>Sa,Airplay:()=>Ca,AlarmCheck:()=>Ta,AlarmClock:()=>Oa,AlarmClockCheck:()=>Ta,AlarmClockMinus:()=>wa,AlarmClockOff:()=>Ea,AlarmClockPlus:()=>Da,AlarmMinus:()=>wa,AlarmPlus:()=>Da,AlarmSmoke:()=>ka,Album:()=>Aa,AlertCircle:()=>rd,AlertOctagon:()=>qC,AlertTriangle:()=>DN,AlignCenter:()=>wM,AlignCenterHorizontal:()=>ja,AlignCenterVertical:()=>Ma,AlignEndHorizontal:()=>Na,AlignEndVertical:()=>Fa,AlignHorizontalDistributeCenter:()=>Pa,AlignHorizontalDistributeEnd:()=>Ia,AlignHorizontalDistributeStart:()=>La,AlignHorizontalJustifyCenter:()=>Ra,AlignHorizontalJustifyEnd:()=>za,AlignHorizontalJustifyStart:()=>Ba,AlignHorizontalSpaceAround:()=>Va,AlignHorizontalSpaceBetween:()=>Ua,AlignJustify:()=>EM,AlignLeft:()=>DM,AlignRight:()=>TM,AlignStartHorizontal:()=>Ha,AlignStartVertical:()=>Wa,AlignVerticalDistributeCenter:()=>Ga,AlignVerticalDistributeEnd:()=>Ka,AlignVerticalDistributeStart:()=>qa,AlignVerticalJustifyCenter:()=>Ja,AlignVerticalJustifyEnd:()=>Ya,AlignVerticalJustifyStart:()=>Xa,AlignVerticalSpaceAround:()=>Za,AlignVerticalSpaceBetween:()=>Qa,Ambulance:()=>$a,Ampersand:()=>to,Ampersands:()=>eo,Amphora:()=>no,Anchor:()=>ro,Angry:()=>io,Annoyed:()=>ao,Antenna:()=>oo,Anvil:()=>so,Aperture:()=>co,AppWindow:()=>fo,AppWindowMac:()=>lo,Apple:()=>uo,Archive:()=>go,ArchiveRestore:()=>po,ArchiveX:()=>mo,AreaChart:()=>cu,Armchair:()=>ho,ArrowBigDown:()=>vo,ArrowBigDownDash:()=>_o,ArrowBigLeft:()=>bo,ArrowBigLeftDash:()=>yo,ArrowBigRight:()=>So,ArrowBigRightDash:()=>xo,ArrowBigUp:()=>wo,ArrowBigUpDash:()=>Co,ArrowDown:()=>Ro,ArrowDown01:()=>To,ArrowDown10:()=>Eo,ArrowDownAZ:()=>Oo,ArrowDownAz:()=>Oo,ArrowDownCircle:()=>id,ArrowDownFromLine:()=>Do,ArrowDownLeft:()=>ko,ArrowDownLeftFromCircle:()=>od,ArrowDownLeftFromSquare:()=>Gk,ArrowDownLeftSquare:()=>Vk,ArrowDownNarrowWide:()=>Ao,ArrowDownRight:()=>jo,ArrowDownRightFromCircle:()=>sd,ArrowDownRightFromSquare:()=>Kk,ArrowDownRightSquare:()=>Hk,ArrowDownSquare:()=>Uk,ArrowDownToDot:()=>No,ArrowDownToLine:()=>Mo,ArrowDownUp:()=>Po,ArrowDownWideNarrow:()=>Fo,ArrowDownZA:()=>Io,ArrowDownZa:()=>Io,ArrowLeft:()=>Vo,ArrowLeftCircle:()=>ad,ArrowLeftFromLine:()=>Lo,ArrowLeftRight:()=>zo,ArrowLeftSquare:()=>Wk,ArrowLeftToLine:()=>Bo,ArrowRight:()=>Go,ArrowRightCircle:()=>ud,ArrowRightFromLine:()=>Ho,ArrowRightLeft:()=>Uo,ArrowRightSquare:()=>Zk,ArrowRightToLine:()=>Wo,ArrowUp:()=>is,ArrowUp01:()=>Ko,ArrowUp10:()=>qo,ArrowUpAZ:()=>Jo,ArrowUpAz:()=>Jo,ArrowUpCircle:()=>dd,ArrowUpDown:()=>Yo,ArrowUpFromDot:()=>Xo,ArrowUpFromLine:()=>Zo,ArrowUpLeft:()=>Qo,ArrowUpLeftFromCircle:()=>cd,ArrowUpLeftFromSquare:()=>qk,ArrowUpLeftSquare:()=>Qk,ArrowUpNarrowWide:()=>$o,ArrowUpRight:()=>es,ArrowUpRightFromCircle:()=>ld,ArrowUpRightFromSquare:()=>Jk,ArrowUpRightSquare:()=>$k,ArrowUpSquare:()=>eA,ArrowUpToLine:()=>ts,ArrowUpWideNarrow:()=>ns,ArrowUpZA:()=>rs,ArrowUpZa:()=>rs,ArrowsUpFromLine:()=>os,Asterisk:()=>as,AsteriskSquare:()=>tA,Astroid:()=>ss,AtSign:()=>cs,Atom:()=>ls,AudioLines:()=>us,AudioWaveform:()=>ps,Award:()=>ds,Axe:()=>fs,Axis3D:()=>ms,Axis3d:()=>ms,Baby:()=>gs,Backpack:()=>hs,Badge:()=>Ps,BadgeAlert:()=>_s,BadgeCent:()=>vs,BadgeCheck:()=>ys,BadgeDollarSign:()=>bs,BadgeEuro:()=>xs,BadgeHelp:()=>ks,BadgeIndianRupee:()=>Ss,BadgeInfo:()=>Cs,BadgeJapaneseYen:()=>ws,BadgeMinus:()=>Ts,BadgePercent:()=>Es,BadgePlus:()=>Ds,BadgePoundSterling:()=>Os,BadgeQuestionMark:()=>ks,BadgeRussianRuble:()=>As,BadgeSwissFranc:()=>js,BadgeTurkishLira:()=>Ms,BadgeX:()=>Ns,BaggageClaim:()=>Fs,Balloon:()=>Is,Ban:()=>Ls,Banana:()=>Rs,Bandage:()=>zs,Banknote:()=>Ws,BanknoteArrowDown:()=>Bs,BanknoteArrowUp:()=>Vs,BanknoteCheck:()=>Hs,BanknoteX:()=>Us,BarChart:()=>Cu,BarChart2:()=>wu,BarChart3:()=>yu,BarChart4:()=>_u,BarChartBig:()=>hu,BarChartHorizontal:()=>pu,BarChartHorizontalBig:()=>lu,Barcode:()=>Gs,Barrel:()=>Ks,Baseline:()=>qs,Bath:()=>Js,Battery:()=>tc,BatteryCharging:()=>Ys,BatteryFull:()=>Xs,BatteryLow:()=>Zs,BatteryMedium:()=>Qs,BatteryPlus:()=>$s,BatteryWarning:()=>ec,Beaker:()=>nc,Bean:()=>ic,BeanOff:()=>rc,Bed:()=>sc,BedDouble:()=>ac,BedSingle:()=>oc,Beef:()=>lc,BeefOff:()=>cc,Beer:()=>dc,BeerOff:()=>uc,Bell:()=>yc,BellCheck:()=>pc,BellDot:()=>fc,BellElectric:()=>mc,BellMinus:()=>hc,BellOff:()=>gc,BellPlus:()=>_c,BellRing:()=>vc,BetweenHorizonalEnd:()=>bc,BetweenHorizonalStart:()=>xc,BetweenHorizontalEnd:()=>bc,BetweenHorizontalStart:()=>xc,BetweenVerticalEnd:()=>Sc,BetweenVerticalStart:()=>Cc,BicepsFlexed:()=>wc,Bike:()=>Tc,Binary:()=>Ec,Binoculars:()=>Oc,Biohazard:()=>Dc,Bird:()=>kc,Birdhouse:()=>Ac,Bitcoin:()=>jc,Blend:()=>Mc,Blender:()=>Pc,Blinds:()=>Nc,Blocks:()=>Fc,Bluetooth:()=>zc,BluetoothConnected:()=>Ic,BluetoothOff:()=>Lc,BluetoothSearching:()=>Rc,Bold:()=>Bc,Bolt:()=>Vc,Bomb:()=>Hc,Bone:()=>Wc,BoneFracture:()=>Uc,Book:()=>see,BookA:()=>Gc,BookAlert:()=>Kc,BookAudio:()=>qc,BookCheck:()=>Jc,BookCopy:()=>Yc,BookDashed:()=>Xc,BookDown:()=>Zc,BookHeadphones:()=>Qc,BookHeart:()=>$c,BookImage:()=>el,BookKey:()=>tl,BookLock:()=>nl,BookMarked:()=>rl,BookMinus:()=>il,BookOpen:()=>sl,BookOpenCheck:()=>al,BookOpenText:()=>ol,BookPlus:()=>cl,BookSearch:()=>eee,BookTemplate:()=>Xc,BookText:()=>tee,BookType:()=>nee,BookUp:()=>iee,BookUp2:()=>ree,BookUser:()=>aee,BookX:()=>oee,Bookmark:()=>pee,BookmarkCheck:()=>cee,BookmarkMinus:()=>lee,BookmarkOff:()=>uee,BookmarkPlus:()=>dee,BookmarkX:()=>fee,BoomBox:()=>hee,Bot:()=>_ee,BotMessageSquare:()=>mee,BotOff:()=>gee,BottleWine:()=>vee,BowArrow:()=>yee,Box:()=>bee,BoxSelect:()=>yA,Boxes:()=>xee,Braces:()=>ll,Brackets:()=>See,Brain:()=>Tee,BrainCircuit:()=>Cee,BrainCog:()=>wee,BrickWall:()=>Dee,BrickWallFire:()=>Oee,BrickWallShield:()=>Eee,Briefcase:()=>Mee,BriefcaseBusiness:()=>kee,BriefcaseConveyorBelt:()=>Aee,BriefcaseMedical:()=>jee,BringToFront:()=>Fee,Broccoli:()=>Nee,Brush:()=>Iee,BrushCleaning:()=>Pee,Bubbles:()=>Lee,Bug:()=>Bee,BugOff:()=>Ree,BugPlay:()=>zee,Building:()=>Hee,Building2:()=>Vee,Bus:()=>ul,BusFront:()=>Uee,Cable:()=>fl,CableCar:()=>dl,Cake:()=>ml,CakeSlice:()=>pl,Calculator:()=>hl,Calendar:()=>Il,Calendar1:()=>gl,CalendarArrowDown:()=>_l,CalendarArrowUp:()=>vl,CalendarCheck:()=>yl,CalendarCheck2:()=>bl,CalendarClock:()=>xl,CalendarCog:()=>Sl,CalendarDays:()=>Cl,CalendarFold:()=>wl,CalendarHeart:()=>El,CalendarMinus:()=>Dl,CalendarMinus2:()=>Tl,CalendarOff:()=>Ol,CalendarPlus:()=>Al,CalendarPlus2:()=>kl,CalendarRange:()=>jl,CalendarSearch:()=>Ml,CalendarSync:()=>Nl,CalendarX:()=>Fl,CalendarX2:()=>Pl,Calendars:()=>Ll,Camera:()=>zl,CameraOff:()=>Rl,CandlestickChart:()=>mu,Candy:()=>Vl,CandyCane:()=>Bl,CandyOff:()=>Hl,Cannabis:()=>Ul,CannabisOff:()=>Wl,Captions:()=>Kl,CaptionsOff:()=>Gl,Car:()=>Yl,CarFront:()=>ql,CarTaxiFront:()=>Jl,Caravan:()=>Xl,CardSim:()=>Zl,Carrot:()=>Ql,CaseLower:()=>$l,CaseSensitive:()=>eu,CaseUpper:()=>tu,CassetteTape:()=>nu,Cast:()=>ru,Castle:()=>iu,Cat:()=>au,Cctv:()=>su,CctvOff:()=>ou,ChartArea:()=>cu,ChartBar:()=>pu,ChartBarBig:()=>lu,ChartBarDecreasing:()=>du,ChartBarIncreasing:()=>uu,ChartBarStacked:()=>fu,ChartCandlestick:()=>mu,ChartColumn:()=>yu,ChartColumnBig:()=>hu,ChartColumnDecreasing:()=>gu,ChartColumnIncreasing:()=>_u,ChartColumnStacked:()=>vu,ChartGantt:()=>bu,ChartLine:()=>xu,ChartNetwork:()=>Tu,ChartNoAxesColumn:()=>wu,ChartNoAxesColumnDecreasing:()=>Su,ChartNoAxesColumnIncreasing:()=>Cu,ChartNoAxesCombined:()=>Eu,ChartNoAxesGantt:()=>Du,ChartPie:()=>Ou,ChartScatter:()=>ku,ChartSpline:()=>Au,Check:()=>Nu,CheckCheck:()=>ju,CheckCircle:()=>fd,CheckCircle2:()=>pd,CheckLine:()=>Mu,CheckSquare:()=>oA,CheckSquare2:()=>sA,ChefHat:()=>Pu,Cherry:()=>Fu,ChessBishop:()=>Lu,ChessKing:()=>Iu,ChessKnight:()=>Ru,ChessPawn:()=>zu,ChessQueen:()=>Bu,ChessRook:()=>Vu,ChevronDown:()=>Hu,ChevronDownCircle:()=>md,ChevronDownSquare:()=>cA,ChevronFirst:()=>Wu,ChevronLast:()=>Uu,ChevronLeft:()=>Gu,ChevronLeftCircle:()=>hd,ChevronLeftSquare:()=>lA,ChevronRight:()=>Ku,ChevronRightCircle:()=>gd,ChevronRightSquare:()=>uA,ChevronUp:()=>qu,ChevronUpCircle:()=>_d,ChevronUpSquare:()=>dA,ChevronsDown:()=>Ju,ChevronsDownUp:()=>Yu,ChevronsLeft:()=>Wee,ChevronsLeftRight:()=>Zu,ChevronsLeftRightEllipsis:()=>Xu,ChevronsRight:()=>Kee,ChevronsRightLeft:()=>Gee,ChevronsUp:()=>$u,ChevronsUpDown:()=>Qu,Church:()=>ed,Cigarette:()=>nd,CigaretteOff:()=>td,Circle:()=>Yd,CircleAlert:()=>rd,CircleArrowDown:()=>id,CircleArrowLeft:()=>ad,CircleArrowOutDownLeft:()=>od,CircleArrowOutDownRight:()=>sd,CircleArrowOutUpLeft:()=>cd,CircleArrowOutUpRight:()=>ld,CircleArrowRight:()=>ud,CircleArrowUp:()=>dd,CircleCheck:()=>pd,CircleCheckBig:()=>fd,CircleChevronDown:()=>md,CircleChevronLeft:()=>hd,CircleChevronRight:()=>gd,CircleChevronUp:()=>_d,CircleDashed:()=>vd,CircleDivide:()=>yd,CircleDollarSign:()=>bd,CircleDot:()=>Sd,CircleDotDashed:()=>xd,CircleEllipsis:()=>Cd,CircleEqual:()=>wd,CircleEuro:()=>Td,CircleFadingArrowUp:()=>Ed,CircleFadingPlus:()=>Od,CircleGauge:()=>Dd,CircleHelp:()=>Bd,CircleMinus:()=>kd,CircleOff:()=>Ad,CircleParking:()=>Md,CircleParkingOff:()=>jd,CirclePause:()=>Nd,CirclePercent:()=>Pd,CirclePile:()=>Fd,CirclePlay:()=>Id,CirclePlus:()=>Ld,CirclePoundSterling:()=>Rd,CirclePower:()=>zd,CircleQuestionMark:()=>Bd,CircleSlash:()=>Vd,CircleSlash2:()=>Hd,CircleSlashed:()=>Hd,CircleSmall:()=>Ud,CircleStar:()=>Wd,CircleStop:()=>Gd,CircleUser:()=>qd,CircleUserRound:()=>Kd,CircleX:()=>Jd,CircuitBoard:()=>Xd,Citrus:()=>Zd,Clapperboard:()=>Qd,Clipboard:()=>df,ClipboardCheck:()=>ef,ClipboardClock:()=>$d,ClipboardCopy:()=>tf,ClipboardEdit:()=>sf,ClipboardList:()=>nf,ClipboardMinus:()=>rf,ClipboardPaste:()=>af,ClipboardPen:()=>sf,ClipboardPenLine:()=>of,ClipboardPlus:()=>cf,ClipboardSignature:()=>of,ClipboardType:()=>lf,ClipboardX:()=>uf,Clock:()=>Mf,Clock1:()=>ff,Clock10:()=>pf,Clock11:()=>mf,Clock12:()=>hf,Clock2:()=>gf,Clock3:()=>_f,Clock4:()=>vf,Clock5:()=>yf,Clock6:()=>bf,Clock7:()=>xf,Clock8:()=>Cf,Clock9:()=>Sf,ClockAlert:()=>wf,ClockArrowDown:()=>Tf,ClockArrowLeft:()=>Ef,ClockArrowRight:()=>Df,ClockArrowUp:()=>Of,ClockCheck:()=>kf,ClockFading:()=>Af,ClockPlus:()=>jf,ClosedCaption:()=>Nf,Cloud:()=>$f,CloudAlert:()=>Pf,CloudBackup:()=>If,CloudCheck:()=>Ff,CloudCog:()=>Lf,CloudDownload:()=>Rf,CloudDrizzle:()=>Bf,CloudFog:()=>zf,CloudHail:()=>Vf,CloudLightning:()=>Hf,CloudMoon:()=>Wf,CloudMoonRain:()=>Uf,CloudOff:()=>Gf,CloudRain:()=>qf,CloudRainWind:()=>Kf,CloudSnow:()=>Jf,CloudSun:()=>Xf,CloudSunRain:()=>Yf,CloudSync:()=>Zf,CloudUpload:()=>Qf,Cloudy:()=>ep,Clover:()=>tp,Club:()=>np,Code:()=>ip,Code2:()=>rp,CodeSquare:()=>fA,CodeXml:()=>rp,Coffee:()=>ap,Cog:()=>op,Coins:()=>sp,Columns:()=>cp,Columns2:()=>cp,Columns3:()=>up,Columns3Cog:()=>lp,Columns4:()=>dp,ColumnsSettings:()=>lp,Combine:()=>pp,Command:()=>fp,Compass:()=>mp,Component:()=>hp,Computer:()=>gp,ConciergeBell:()=>_p,Cone:()=>vp,Construction:()=>bp,Contact:()=>xp,Contact2:()=>yp,ContactRound:()=>yp,Container:()=>Sp,Contrast:()=>Cp,Cookie:()=>wp,CookingPot:()=>Tp,Copy:()=>jp,CopyCheck:()=>Ep,CopyMinus:()=>Dp,CopyPlus:()=>Op,CopySlash:()=>kp,CopyX:()=>Ap,Copyleft:()=>Mp,Copyright:()=>Np,CornerDownLeft:()=>Pp,CornerDownRight:()=>Fp,CornerLeftDown:()=>Lp,CornerLeftUp:()=>Ip,CornerRightDown:()=>Rp,CornerRightUp:()=>zp,CornerUpLeft:()=>Bp,CornerUpRight:()=>Vp,Cpu:()=>Hp,CreativeCommons:()=>Up,CreditCard:()=>Wp,Croissant:()=>Gp,Crop:()=>Kp,Cross:()=>qp,Crosshair:()=>Jp,Crown:()=>Zp,Cuboid:()=>Yp,CupSoda:()=>Xp,CurlyBraces:()=>ll,Currency:()=>Qp,Cylinder:()=>$p,Dam:()=>em,Database:()=>um,DatabaseArrowDown:()=>tm,DatabaseArrowUp:()=>nm,DatabaseBackup:()=>im,DatabaseCheck:()=>rm,DatabaseMinus:()=>am,DatabasePlus:()=>om,DatabaseSearch:()=>sm,DatabaseX:()=>cm,DatabaseZap:()=>lm,DecimalsArrowLeft:()=>fm,DecimalsArrowRight:()=>dm,Delete:()=>pm,Dessert:()=>mm,Diameter:()=>hm,Diamond:()=>ym,DiamondMinus:()=>gm,DiamondPercent:()=>_m,DiamondPlus:()=>vm,Dice1:()=>bm,Dice2:()=>xm,Dice3:()=>Sm,Dice4:()=>Cm,Dice5:()=>wm,Dice6:()=>Em,Dices:()=>Tm,Diff:()=>Dm,Disc:()=>Mm,Disc2:()=>Om,Disc3:()=>km,DiscAlbum:()=>jm,Divide:()=>Am,DivideCircle:()=>yd,DivideSquare:()=>bA,Dna:()=>Pm,DnaOff:()=>Nm,Dock:()=>Fm,Dog:()=>Im,DollarSign:()=>Lm,Donut:()=>Rm,DoorClosed:()=>Bm,DoorClosedLocked:()=>zm,DoorOpen:()=>Vm,Dot:()=>Hm,DotSquare:()=>xA,Download:()=>Um,DownloadCloud:()=>Rf,DraftingCompass:()=>Km,Drama:()=>Wm,Drill:()=>Gm,Drone:()=>qm,Droplet:()=>Ym,DropletOff:()=>Jm,Droplets:()=>Xm,Drum:()=>Zm,Drumstick:()=>Qm,Dumbbell:()=>$m,Ear:()=>th,EarOff:()=>eh,Earth:()=>ih,EarthLock:()=>nh,Eclipse:()=>rh,Edit:()=>NA,Edit2:()=>Yw,Edit3:()=>Kw,Egg:()=>sh,EggFried:()=>ah,EggOff:()=>oh,Ellipse:()=>ch,Ellipsis:()=>uh,EllipsisVertical:()=>lh,Equal:()=>ph,EqualApproximately:()=>dh,EqualNot:()=>fh,EqualSquare:()=>SA,Eraser:()=>mh,EthernetPort:()=>hh,Euro:()=>gh,EvCharger:()=>_h,Expand:()=>vh,ExternalLink:()=>yh,Eye:()=>Ch,EyeClosed:()=>bh,EyeDashed:()=>xh,EyeOff:()=>Sh,Factory:()=>wh,Fan:()=>Th,FastForward:()=>Eh,Feather:()=>Oh,Fence:()=>Dh,FerrisWheel:()=>kh,File:()=>Ag,FileArchive:()=>Ah,FileAudio:()=>Xh,FileAudio2:()=>Xh,FileAxis3D:()=>jh,FileAxis3d:()=>jh,FileBadge:()=>Mh,FileBadge2:()=>Mh,FileBarChart:()=>Ih,FileBarChart2:()=>Lh,FileBox:()=>Nh,FileBraces:()=>Fh,FileBracesCorner:()=>Ph,FileChartColumn:()=>Lh,FileChartColumnIncreasing:()=>Ih,FileChartLine:()=>zh,FileChartPie:()=>Rh,FileCheck:()=>Vh,FileCheck2:()=>Bh,FileCheckCorner:()=>Bh,FileClock:()=>Uh,FileCode:()=>Wh,FileCode2:()=>Hh,FileCodeCorner:()=>Hh,FileCog:()=>Gh,FileCog2:()=>Gh,FileDiff:()=>qh,FileDigit:()=>Kh,FileDown:()=>Jh,FileEdit:()=>sg,FileExclamationPoint:()=>Yh,FileHeadphone:()=>Xh,FileHeart:()=>Zh,FileImage:()=>Qh,FileInput:()=>$h,FileJson:()=>Fh,FileJson2:()=>Ph,FileKey:()=>eg,FileKey2:()=>eg,FileLineChart:()=>zh,FileLock:()=>tg,FileLock2:()=>tg,FileMinus:()=>rg,FileMinus2:()=>ng,FileMinusCorner:()=>ng,FileMusic:()=>ig,FileOutput:()=>ag,FilePen:()=>sg,FilePenLine:()=>og,FilePieChart:()=>Rh,FilePlay:()=>cg,FilePlus:()=>ug,FilePlus2:()=>lg,FilePlusCorner:()=>lg,FileQuestion:()=>dg,FileQuestionMark:()=>dg,FileScan:()=>fg,FileSearch:()=>mg,FileSearch2:()=>pg,FileSearchCorner:()=>pg,FileSignal:()=>gg,FileSignature:()=>og,FileSliders:()=>hg,FileSpreadsheet:()=>_g,FileStack:()=>yg,FileSymlink:()=>vg,FileTerminal:()=>bg,FileText:()=>xg,FileType:()=>Cg,FileType2:()=>Sg,FileTypeCorner:()=>Sg,FileUp:()=>wg,FileUser:()=>Tg,FileVideo:()=>cg,FileVideo2:()=>Eg,FileVideoCamera:()=>Eg,FileVolume:()=>Dg,FileVolume2:()=>gg,FileWarning:()=>Yh,FileX:()=>kg,FileX2:()=>Og,FileXCorner:()=>Og,Files:()=>jg,Film:()=>Mg,Filter:()=>G_,FilterX:()=>W_,Fingerprint:()=>Ng,FingerprintPattern:()=>Ng,FireExtinguisher:()=>Pg,Fish:()=>Lg,FishOff:()=>Fg,FishSymbol:()=>Ig,FishingHook:()=>Rg,FishingRod:()=>zg,Flag:()=>Ug,FlagOff:()=>Bg,FlagTriangleLeft:()=>Vg,FlagTriangleRight:()=>Hg,Flame:()=>Gg,FlameKindling:()=>Wg,Flashlight:()=>qg,FlashlightOff:()=>Kg,FlaskConical:()=>Yg,FlaskConicalOff:()=>Jg,FlaskRound:()=>Xg,FlipHorizontal:()=>rA,FlipHorizontal2:()=>Zg,FlipVertical:()=>iA,FlipVertical2:()=>Qg,Flower:()=>qee,Flower2:()=>$g,Focus:()=>e_,FoldHorizontal:()=>t_,FoldVertical:()=>n_,Folder:()=>N_,FolderArchive:()=>r_,FolderBookmark:()=>a_,FolderCheck:()=>i_,FolderClock:()=>o_,FolderClosed:()=>s_,FolderCode:()=>c_,FolderCog:()=>l_,FolderCog2:()=>l_,FolderDot:()=>u_,FolderDown:()=>d_,FolderEdit:()=>w_,FolderGit:()=>p_,FolderGit2:()=>f_,FolderHeart:()=>m_,FolderInput:()=>h_,FolderKanban:()=>g_,FolderKey:()=>__,FolderLock:()=>v_,FolderMinus:()=>y_,FolderOpen:()=>x_,FolderOpenDot:()=>b_,FolderOutput:()=>S_,FolderPen:()=>w_,FolderPlus:()=>C_,FolderRoot:()=>T_,FolderSearch:()=>D_,FolderSearch2:()=>E_,FolderSymlink:()=>O_,FolderSync:()=>k_,FolderTree:()=>A_,FolderUp:()=>j_,FolderX:()=>M_,Folders:()=>P_,Footprints:()=>I_,ForkKnife:()=>OP,ForkKnifeCrossed:()=>EP,Forklift:()=>F_,Form:()=>L_,FormInput:()=>DE,Forward:()=>R_,Frame:()=>z_,Frown:()=>B_,Fuel:()=>V_,Fullscreen:()=>H_,FunctionSquare:()=>CA,Funnel:()=>G_,FunnelPlus:()=>U_,FunnelX:()=>W_,GalleryHorizontal:()=>q_,GalleryHorizontalEnd:()=>K_,GalleryThumbnails:()=>J_,GalleryVertical:()=>Y_,GalleryVerticalEnd:()=>X_,Gamepad:()=>$_,Gamepad2:()=>Z_,GamepadDirectional:()=>Q_,GanttChart:()=>Du,GanttChartSquare:()=>aA,Gauge:()=>ev,GaugeCircle:()=>Dd,Gavel:()=>tv,Gem:()=>nv,GeorgianLari:()=>iv,Ghost:()=>rv,Gift:()=>av,GitBranch:()=>cv,GitBranchMinus:()=>ov,GitBranchPlus:()=>sv,GitCommit:()=>dv,GitCommitHorizontal:()=>dv,GitCommitVertical:()=>lv,GitCompare:()=>fv,GitCompareArrows:()=>uv,GitFork:()=>pv,GitGraph:()=>mv,GitMerge:()=>gv,GitMergeConflict:()=>hv,GitPullRequest:()=>Cv,GitPullRequestArrow:()=>_v,GitPullRequestClosed:()=>vv,GitPullRequestCreate:()=>bv,GitPullRequestCreateArrow:()=>yv,GitPullRequestDraft:()=>xv,GlassWater:()=>Sv,Glasses:()=>wv,Globe:()=>kv,Globe2:()=>ih,GlobeCheck:()=>Tv,GlobeLock:()=>Ev,GlobeOff:()=>Dv,GlobeX:()=>Ov,Goal:()=>Av,Gpu:()=>jv,Grab:()=>Zv,GraduationCap:()=>Mv,Grape:()=>Nv,Grid:()=>zv,Grid2X2:()=>Lv,Grid2X2Check:()=>Pv,Grid2X2Plus:()=>Fv,Grid2X2X:()=>Iv,Grid2x2:()=>Lv,Grid2x2Check:()=>Pv,Grid2x2Plus:()=>Fv,Grid2x2X:()=>Iv,Grid3X3:()=>zv,Grid3x2:()=>Rv,Grid3x3:()=>zv,Grip:()=>Hv,GripHorizontal:()=>Bv,GripVertical:()=>Vv,Group:()=>Uv,Guitar:()=>Wv,Ham:()=>Kv,Hamburger:()=>Gv,Hammer:()=>qv,Hand:()=>ty,HandCoins:()=>Jv,HandFist:()=>Yv,HandGrab:()=>Zv,HandHeart:()=>Xv,HandHelping:()=>Qv,HandMetal:()=>$v,HandPlatter:()=>ey,Handbag:()=>ny,Handshake:()=>ry,HardDrive:()=>ay,HardDriveDownload:()=>iy,HardDriveUpload:()=>oy,HardHat:()=>sy,Hash:()=>cy,HatGlasses:()=>ly,Haze:()=>uy,Hd:()=>dy,HdmiPort:()=>fy,Heading:()=>Xee,Heading1:()=>py,Heading2:()=>my,Heading3:()=>gy,Heading4:()=>hy,Heading5:()=>Jee,Heading6:()=>Yee,HeadphoneOff:()=>Zee,Headphones:()=>Qee,Headset:()=>$ee,Heart:()=>ste,HeartCrack:()=>ete,HeartHandshake:()=>tte,HeartMinus:()=>nte,HeartOff:()=>rte,HeartPlus:()=>ite,HeartPulse:()=>ate,HeartX:()=>ote,Heater:()=>cte,Helicopter:()=>lte,HelpCircle:()=>Bd,HelpingHand:()=>Qv,Hexagon:()=>ute,Highlighter:()=>dte,History:()=>fte,Home:()=>_y,Hop:()=>pte,HopOff:()=>mte,Hospital:()=>hte,Hotel:()=>gte,Hourglass:()=>vte,House:()=>_y,HouseHeart:()=>_te,HousePlug:()=>bte,HousePlus:()=>yte,HouseWifi:()=>xte,IceCream:()=>yy,IceCream2:()=>vy,IceCreamBowl:()=>vy,IceCreamCone:()=>yy,IdCard:()=>Cte,IdCardLanyard:()=>Ste,Image:()=>Ate,ImageDown:()=>wte,ImageMinus:()=>Tte,ImageOff:()=>Ete,ImagePlay:()=>Dte,ImagePlus:()=>Ote,ImageUp:()=>kte,ImageUpscale:()=>Mte,Images:()=>jte,Import:()=>Pte,Inbox:()=>Nte,Indent:()=>Mb,IndentDecrease:()=>Ab,IndentIncrease:()=>Mb,IndianRupee:()=>Fte,Infinity:()=>Ite,Info:()=>by,Inspect:()=>kA,InspectionPanel:()=>xy,Italic:()=>Sy,IterationCcw:()=>Cy,IterationCw:()=>wy,JapaneseYen:()=>Ty,Joystick:()=>Ey,Kanban:()=>Oy,KanbanSquare:()=>wA,KanbanSquareDashed:()=>hA,Kayak:()=>Dy,Key:()=>jy,KeyRound:()=>ky,KeySquare:()=>Ay,Keyboard:()=>Ny,KeyboardMusic:()=>My,KeyboardOff:()=>Py,Lamp:()=>By,LampCeiling:()=>Fy,LampDesk:()=>Iy,LampFloor:()=>Ly,LampWallDown:()=>Ry,LampWallUp:()=>zy,LandPlot:()=>Vy,Landmark:()=>Hy,Languages:()=>Uy,Laptop:()=>Ky,Laptop2:()=>Gy,LaptopMinimal:()=>Gy,LaptopMinimalCheck:()=>Wy,Lasso:()=>Jy,LassoSelect:()=>qy,Laugh:()=>Yy,Layers:()=>Qy,Layers2:()=>Xy,Layers3:()=>Qy,LayersMinus:()=>Zy,LayersPlus:()=>$y,Layout:()=>Iw,LayoutDashboard:()=>eb,LayoutGrid:()=>tb,LayoutList:()=>nb,LayoutPanelLeft:()=>rb,LayoutPanelTop:()=>ib,LayoutTemplate:()=>ab,Leaf:()=>ob,LeafyGreen:()=>sb,Lectern:()=>cb,LensConcave:()=>lb,LensConvex:()=>ub,LetterText:()=>AM,Library:()=>fb,LibraryBig:()=>db,LibrarySquare:()=>TA,LifeBuoy:()=>pb,Ligature:()=>mb,Lightbulb:()=>gb,LightbulbOff:()=>hb,LineChart:()=>xu,LineDotRightHorizontal:()=>vb,LineSquiggle:()=>_b,LineStyle:()=>bb,Link:()=>Sb,Link2:()=>xb,Link2Off:()=>yb,List:()=>Gb,ListCheck:()=>Cb,ListChecks:()=>wb,ListChevronsDownUp:()=>Tb,ListChevronsUpDown:()=>Eb,ListCollapse:()=>Db,ListEnd:()=>Ob,ListFilter:()=>jb,ListFilterPlus:()=>kb,ListIndentDecrease:()=>Ab,ListIndentIncrease:()=>Mb,ListMinus:()=>Nb,ListMusic:()=>Pb,ListOrdered:()=>Lb,ListPlus:()=>Fb,ListRestart:()=>Ib,ListSortAscending:()=>Rb,ListSortDescending:()=>zb,ListStart:()=>Bb,ListTodo:()=>Ub,ListTree:()=>Vb,ListVideo:()=>Hb,ListX:()=>Wb,Loader:()=>Jb,Loader2:()=>Kb,LoaderCircle:()=>Kb,LoaderPinwheel:()=>qb,Locate:()=>Zb,LocateFixed:()=>Yb,LocateOff:()=>Xb,LocationEdit:()=>Ex,Lock:()=>tx,LockKeyhole:()=>$b,LockKeyholeOpen:()=>Qb,LockOpen:()=>ex,LogIn:()=>nx,LogOut:()=>rx,Logs:()=>ix,Lollipop:()=>ax,Luggage:()=>ox,MSquare:()=>EA,Magnet:()=>sx,Mail:()=>hx,MailCheck:()=>cx,MailMinus:()=>lx,MailOpen:()=>ux,MailPlus:()=>dx,MailQuestion:()=>fx,MailQuestionMark:()=>fx,MailSearch:()=>px,MailWarning:()=>mx,MailX:()=>gx,Mailbox:()=>_x,Mails:()=>vx,Map:()=>Lx,MapMinus:()=>yx,MapPin:()=>Mx,MapPinCheck:()=>xx,MapPinCheckInside:()=>bx,MapPinHouse:()=>Sx,MapPinMinus:()=>wx,MapPinMinusInside:()=>Cx,MapPinOff:()=>Tx,MapPinPen:()=>Ex,MapPinPlus:()=>Ox,MapPinPlusInside:()=>Dx,MapPinSearch:()=>kx,MapPinX:()=>jx,MapPinXInside:()=>Ax,MapPinned:()=>Nx,MapPlus:()=>Px,Mars:()=>Ix,MarsStroke:()=>Fx,Martini:()=>Rx,Maximize:()=>Vx,Maximize2:()=>zx,Medal:()=>Bx,Megaphone:()=>Ux,MegaphoneOff:()=>Hx,Meh:()=>Wx,MemoryStick:()=>Gx,Menu:()=>Kx,MenuSquare:()=>DA,Merge:()=>qx,MessageCircle:()=>aS,MessageCircleCheck:()=>Jx,MessageCircleCode:()=>Yx,MessageCircleDashed:()=>Xx,MessageCircleHeart:()=>Zx,MessageCircleMore:()=>Qx,MessageCircleOff:()=>$x,MessageCirclePlus:()=>eS,MessageCircleQuestion:()=>tS,MessageCircleQuestionMark:()=>tS,MessageCircleReply:()=>nS,MessageCircleWarning:()=>rS,MessageCircleX:()=>iS,MessageSquare:()=>SS,MessageSquareCheck:()=>oS,MessageSquareCode:()=>sS,MessageSquareDashed:()=>lS,MessageSquareDiff:()=>cS,MessageSquareDot:()=>uS,MessageSquareHeart:()=>dS,MessageSquareLock:()=>fS,MessageSquareMore:()=>pS,MessageSquareOff:()=>mS,MessageSquarePlus:()=>hS,MessageSquareQuote:()=>_S,MessageSquareReply:()=>gS,MessageSquareShare:()=>yS,MessageSquareText:()=>vS,MessageSquareWarning:()=>bS,MessageSquareX:()=>xS,MessagesSquare:()=>CS,Metronome:()=>wS,Mic:()=>ES,Mic2:()=>DS,MicOff:()=>TS,MicVocal:()=>DS,Microchip:()=>OS,Microscope:()=>kS,Microwave:()=>AS,Milestone:()=>jS,Milk:()=>NS,MilkOff:()=>MS,Minimize:()=>FS,Minimize2:()=>PS,Minus:()=>IS,MinusCircle:()=>kd,MinusSquare:()=>OA,MirrorRectangular:()=>LS,MirrorRound:()=>RS,Monitor:()=>$S,MonitorCheck:()=>zS,MonitorCloud:()=>HS,MonitorCog:()=>BS,MonitorDot:()=>VS,MonitorDown:()=>US,MonitorOff:()=>WS,MonitorPause:()=>GS,MonitorPlay:()=>KS,MonitorSmartphone:()=>qS,MonitorSpeaker:()=>JS,MonitorStop:()=>YS,MonitorUp:()=>XS,MonitorX:()=>ZS,Moon:()=>eC,MoonStar:()=>QS,MoreHorizontal:()=>uh,MoreVertical:()=>lh,Motorbike:()=>tC,Mountain:()=>rC,MountainSnow:()=>nC,Mouse:()=>fC,MouseLeft:()=>iC,MouseOff:()=>aC,MousePointer:()=>lC,MousePointer2:()=>cC,MousePointer2Off:()=>oC,MousePointerBan:()=>sC,MousePointerClick:()=>uC,MousePointerSquareDashed:()=>_A,MouseRight:()=>dC,Move:()=>EC,Move3D:()=>pC,Move3d:()=>pC,MoveDiagonal:()=>hC,MoveDiagonal2:()=>mC,MoveDown:()=>vC,MoveDownLeft:()=>gC,MoveDownRight:()=>_C,MoveHorizontal:()=>yC,MoveLeft:()=>bC,MoveRight:()=>xC,MoveUp:()=>wC,MoveUpLeft:()=>SC,MoveUpRight:()=>CC,MoveVertical:()=>TC,Music:()=>AC,Music2:()=>DC,Music3:()=>OC,Music4:()=>kC,Navigation:()=>PC,Navigation2:()=>MC,Navigation2Off:()=>jC,NavigationOff:()=>NC,Network:()=>FC,Newspaper:()=>IC,Nfc:()=>LC,NonBinary:()=>RC,Notebook:()=>HC,NotebookPen:()=>zC,NotebookTabs:()=>BC,NotebookText:()=>VC,NotepadText:()=>WC,NotepadTextDashed:()=>UC,Nut:()=>KC,NutOff:()=>GC,Octagon:()=>ZC,OctagonAlert:()=>qC,OctagonMinus:()=>JC,OctagonPause:()=>YC,OctagonX:()=>XC,Omega:()=>QC,Option:()=>$C,Orbit:()=>ew,Origami:()=>tw,Outdent:()=>Ab,Package:()=>lw,Package2:()=>nw,PackageCheck:()=>rw,PackageMinus:()=>iw,PackageOpen:()=>ow,PackagePlus:()=>aw,PackageSearch:()=>sw,PackageX:()=>cw,PaintBucket:()=>uw,PaintRoller:()=>dw,Paintbrush:()=>pw,Paintbrush2:()=>fw,PaintbrushVertical:()=>fw,Palette:()=>mw,Palmtree:()=>xN,Panda:()=>hw,PanelBottom:()=>yw,PanelBottomClose:()=>gw,PanelBottomDashed:()=>_w,PanelBottomInactive:()=>_w,PanelBottomOpen:()=>vw,PanelLeft:()=>ww,PanelLeftClose:()=>bw,PanelLeftDashed:()=>xw,PanelLeftInactive:()=>xw,PanelLeftOpen:()=>Sw,PanelLeftRightDashed:()=>Cw,PanelRight:()=>Ow,PanelRightClose:()=>Tw,PanelRightDashed:()=>Ew,PanelRightInactive:()=>Ew,PanelRightOpen:()=>Dw,PanelTop:()=>Nw,PanelTopBottomDashed:()=>kw,PanelTopClose:()=>Aw,PanelTopDashed:()=>Mw,PanelTopInactive:()=>Mw,PanelTopOpen:()=>jw,PanelsLeftBottom:()=>Pw,PanelsLeftRight:()=>up,PanelsRightBottom:()=>Fw,PanelsTopBottom:()=>fD,PanelsTopLeft:()=>Iw,PaperBag:()=>Lw,Paperclip:()=>Rw,Parasol:()=>zw,Parentheses:()=>Bw,ParkingCircle:()=>Md,ParkingCircleOff:()=>jd,ParkingMeter:()=>Vw,ParkingSquare:()=>jA,ParkingSquareOff:()=>AA,PartyPopper:()=>Uw,Pause:()=>Hw,PauseCircle:()=>Nd,PauseOctagon:()=>YC,PawPrint:()=>Gw,PcCase:()=>Ww,Pen:()=>Yw,PenBox:()=>NA,PenLine:()=>Kw,PenOff:()=>qw,PenSquare:()=>NA,PenTool:()=>Jw,Pencil:()=>eT,PencilLine:()=>Xw,PencilOff:()=>Zw,PencilRuler:()=>Qw,PencilSparkles:()=>$w,Pentagon:()=>tT,Percent:()=>nT,PercentCircle:()=>Pd,PercentDiamond:()=>_m,PercentSquare:()=>FA,PersonStanding:()=>rT,Phi:()=>iT,PhilippinePeso:()=>aT,Phone:()=>fT,PhoneCall:()=>oT,PhoneForwarded:()=>sT,PhoneIncoming:()=>cT,PhoneMissed:()=>lT,PhoneOff:()=>uT,PhoneOutgoing:()=>dT,Pi:()=>pT,PiSquare:()=>PA,Piano:()=>mT,Pickaxe:()=>hT,PictureInPicture:()=>_T,PictureInPicture2:()=>gT,PieChart:()=>Ou,PiggyBank:()=>vT,Pilcrow:()=>xT,PilcrowLeft:()=>yT,PilcrowRight:()=>bT,PilcrowSquare:()=>IA,Pill:()=>CT,PillBottle:()=>ST,Pin:()=>TT,PinOff:()=>wT,Pipette:()=>ET,Pizza:()=>DT,Plane:()=>AT,PlaneLanding:()=>OT,PlaneTakeoff:()=>kT,Play:()=>MT,PlayCircle:()=>Id,PlayOff:()=>jT,PlaySquare:()=>LA,Plug:()=>FT,Plug2:()=>NT,PlugZap:()=>PT,PlugZap2:()=>PT,Plus:()=>LT,PlusCircle:()=>Ld,PlusSquare:()=>RA,PocketKnife:()=>IT,Podcast:()=>RT,Podium:()=>zT,Pointer:()=>VT,PointerOff:()=>BT,Popcorn:()=>HT,Popsicle:()=>UT,PoundSterling:()=>WT,Power:()=>KT,PowerCircle:()=>zd,PowerOff:()=>GT,PowerSquare:()=>zA,Presentation:()=>qT,Printer:()=>XT,PrinterCheck:()=>JT,PrinterX:()=>YT,Projector:()=>ZT,Proportions:()=>QT,Puzzle:()=>$T,Pyramid:()=>eE,QrCode:()=>tE,Quote:()=>nE,Rabbit:()=>aE,Radar:()=>rE,Radiation:()=>iE,Radical:()=>oE,Radio:()=>uE,RadioOff:()=>sE,RadioReceiver:()=>cE,RadioTower:()=>lE,Radius:()=>dE,Rainbow:()=>fE,Rat:()=>pE,Ratio:()=>mE,Receipt:()=>TE,ReceiptCent:()=>hE,ReceiptEuro:()=>gE,ReceiptIndianRupee:()=>_E,ReceiptJapaneseYen:()=>vE,ReceiptPoundSterling:()=>yE,ReceiptRussianRuble:()=>bE,ReceiptSwissFranc:()=>xE,ReceiptText:()=>SE,ReceiptTurkishLira:()=>CE,RectangleCircle:()=>wE,RectangleEllipsis:()=>DE,RectangleGoggles:()=>EE,RectangleHorizontal:()=>kE,RectangleVertical:()=>OE,Recycle:()=>AE,Redo:()=>NE,Redo2:()=>jE,RedoDot:()=>ME,RefreshCcw:()=>FE,RefreshCcwDot:()=>PE,RefreshCw:()=>LE,RefreshCwOff:()=>IE,Refrigerator:()=>RE,Regex:()=>zE,RemoveFormatting:()=>BE,Repeat:()=>WE,Repeat1:()=>HE,Repeat2:()=>VE,RepeatOff:()=>UE,Replace:()=>KE,ReplaceAll:()=>GE,Reply:()=>JE,ReplyAll:()=>qE,Rewind:()=>YE,Ribbon:()=>XE,Road:()=>ZE,Rocket:()=>QE,RockingChair:()=>$E,RollerCoaster:()=>eD,Rose:()=>tD,Rotate3D:()=>nD,Rotate3d:()=>nD,RotateCcw:()=>aD,RotateCcwKey:()=>rD,RotateCcwSquare:()=>iD,RotateCw:()=>sD,RotateCwSquare:()=>oD,Route:()=>cD,RouteOff:()=>lD,Router:()=>uD,Rows:()=>dD,Rows2:()=>dD,Rows3:()=>fD,Rows4:()=>pD,Rss:()=>mD,Ruler:()=>gD,RulerDimensionLine:()=>hD,RussianRuble:()=>_D,Sailboat:()=>vD,Salad:()=>yD,Sandwich:()=>bD,Satellite:()=>SD,SatelliteDish:()=>xD,SaudiRiyal:()=>CD,Save:()=>kD,SaveAll:()=>wD,SaveCheck:()=>TD,SaveOff:()=>ED,SavePen:()=>DD,SavePlus:()=>OD,Scale:()=>jD,Scale3D:()=>AD,Scale3d:()=>AD,Scaling:()=>ND,Scan:()=>HD,ScanBarcode:()=>MD,ScanBox:()=>PD,ScanEye:()=>FD,ScanFace:()=>LD,ScanHeart:()=>ID,ScanLine:()=>RD,ScanQrCode:()=>zD,ScanSearch:()=>BD,ScanText:()=>VD,ScatterChart:()=>ku,School:()=>UD,School2:()=>ZN,Scissors:()=>GD,ScissorsLineDashed:()=>WD,ScissorsSquare:()=>HA,ScissorsSquareDashedBottom:()=>nA,Scooter:()=>KD,ScreenShare:()=>YD,ScreenShareOff:()=>qD,Scroll:()=>XD,ScrollText:()=>JD,Search:()=>nO,SearchAlert:()=>ZD,SearchCheck:()=>QD,SearchCode:()=>$D,SearchSlash:()=>eO,SearchX:()=>tO,Section:()=>rO,Send:()=>oO,SendHorizonal:()=>iO,SendHorizontal:()=>iO,SendToBack:()=>aO,SeparatorHorizontal:()=>sO,SeparatorVertical:()=>cO,Server:()=>pO,ServerCog:()=>lO,ServerCrash:()=>uO,ServerOff:()=>dO,ServerPlus:()=>fO,Settings:()=>hO,Settings2:()=>mO,Shapes:()=>gO,Share:()=>vO,Share2:()=>_O,Sheet:()=>bO,Shell:()=>yO,ShelvingUnit:()=>xO,Shield:()=>IO,ShieldAlert:()=>SO,ShieldBan:()=>CO,ShieldCheck:()=>wO,ShieldClose:()=>FO,ShieldCog:()=>EO,ShieldCogCorner:()=>TO,ShieldEllipsis:()=>DO,ShieldHalf:()=>OO,ShieldKeyhole:()=>kO,ShieldMinus:()=>AO,ShieldOff:()=>jO,ShieldPlus:()=>MO,ShieldQuestion:()=>NO,ShieldQuestionMark:()=>NO,ShieldUser:()=>PO,ShieldX:()=>FO,Ship:()=>zO,ShipWheel:()=>LO,Shirt:()=>RO,ShoppingBag:()=>BO,ShoppingBasket:()=>VO,ShoppingCart:()=>HO,Shovel:()=>UO,ShowerHead:()=>WO,Shredder:()=>GO,Shrimp:()=>qO,Shrink:()=>KO,Shrub:()=>JO,Shuffle:()=>YO,Sidebar:()=>ww,SidebarClose:()=>bw,SidebarOpen:()=>Sw,Sigma:()=>XO,SigmaSquare:()=>UA,Signal:()=>tk,SignalHigh:()=>ZO,SignalLow:()=>QO,SignalMedium:()=>$O,SignalZero:()=>ek,Signature:()=>nk,Signpost:()=>ik,SignpostBig:()=>rk,Siren:()=>ok,SkipBack:()=>ak,SkipForward:()=>sk,Skull:()=>ck,Slash:()=>lk,SlashSquare:()=>WA,Slice:()=>uk,Sliders:()=>pk,SlidersHorizontal:()=>dk,SlidersVertical:()=>pk,Smartphone:()=>hk,SmartphoneCharging:()=>fk,SmartphoneNfc:()=>mk,Smile:()=>_k,SmilePlus:()=>gk,Snail:()=>vk,Snowflake:()=>yk,SoapDispenserDroplet:()=>bk,Sofa:()=>xk,SolarPanel:()=>Sk,SortAsc:()=>$o,SortDesc:()=>Fo,Soup:()=>Ck,Space:()=>wk,Spade:()=>Ek,Sparkle:()=>Tk,Sparkles:()=>Dk,Speaker:()=>Ok,Speech:()=>kk,SpellCheck:()=>jk,SpellCheck2:()=>Ak,Spline:()=>Nk,SplinePointer:()=>Mk,Split:()=>Pk,SplitSquareHorizontal:()=>GA,SplitSquareVertical:()=>KA,Spool:()=>Ik,SportShoe:()=>Fk,Spotlight:()=>Lk,SprayCan:()=>Rk,Sprout:()=>zk,Square:()=>tj,SquareActivity:()=>Bk,SquareArrowDown:()=>Uk,SquareArrowDownLeft:()=>Vk,SquareArrowDownRight:()=>Hk,SquareArrowLeft:()=>Wk,SquareArrowOutDownLeft:()=>Gk,SquareArrowOutDownRight:()=>Kk,SquareArrowOutUpLeft:()=>qk,SquareArrowOutUpRight:()=>Jk,SquareArrowRight:()=>Zk,SquareArrowRightEnter:()=>Yk,SquareArrowRightExit:()=>Xk,SquareArrowUp:()=>eA,SquareArrowUpLeft:()=>Qk,SquareArrowUpRight:()=>$k,SquareAsterisk:()=>tA,SquareBottomDashedScissors:()=>nA,SquareCenterlineDashedHorizontal:()=>rA,SquareCenterlineDashedVertical:()=>iA,SquareChartGantt:()=>aA,SquareCheck:()=>sA,SquareCheckBig:()=>oA,SquareChevronDown:()=>cA,SquareChevronLeft:()=>lA,SquareChevronRight:()=>uA,SquareChevronUp:()=>dA,SquareCode:()=>fA,SquareDashed:()=>yA,SquareDashedBottom:()=>mA,SquareDashedBottomCode:()=>pA,SquareDashedKanban:()=>hA,SquareDashedMousePointer:()=>_A,SquareDashedText:()=>gA,SquareDashedTopSolid:()=>vA,SquareDivide:()=>bA,SquareDot:()=>xA,SquareEqual:()=>SA,SquareFunction:()=>CA,SquareGanttChart:()=>aA,SquareKanban:()=>wA,SquareLibrary:()=>TA,SquareM:()=>EA,SquareMenu:()=>DA,SquareMinus:()=>OA,SquareMousePointer:()=>kA,SquareParking:()=>jA,SquareParkingOff:()=>AA,SquarePause:()=>MA,SquarePen:()=>NA,SquarePercent:()=>FA,SquarePi:()=>PA,SquarePilcrow:()=>IA,SquarePlay:()=>LA,SquarePlus:()=>RA,SquarePower:()=>zA,SquareRadical:()=>BA,SquareRoundCorner:()=>VA,SquareScissors:()=>HA,SquareSigma:()=>UA,SquareSlash:()=>WA,SquareSplitHorizontal:()=>GA,SquareSplitVertical:()=>KA,SquareSquare:()=>qA,SquareStack:()=>JA,SquareStar:()=>YA,SquareStop:()=>XA,SquareTerminal:()=>ZA,SquareUser:()=>$A,SquareUserRound:()=>QA,SquareX:()=>ej,SquaresExclude:()=>nj,SquaresIntersect:()=>rj,SquaresSubtract:()=>ij,SquaresUnite:()=>aj,Squircle:()=>sj,SquircleDashed:()=>oj,Squirrel:()=>cj,Stamp:()=>lj,Star:()=>gj,StarCheck:()=>uj,StarHalf:()=>dj,StarMinus:()=>fj,StarOff:()=>pj,StarPlus:()=>mj,StarX:()=>hj,Stars:()=>Dk,StepBack:()=>_j,StepForward:()=>vj,Stethoscope:()=>bj,Sticker:()=>yj,StickyNote:()=>Ej,StickyNoteCheck:()=>xj,StickyNoteMinus:()=>Sj,StickyNoteOff:()=>Cj,StickyNotePlus:()=>Tj,StickyNoteX:()=>wj,StickyNotes:()=>Dj,Stone:()=>Oj,StopCircle:()=>Gd,Store:()=>kj,StretchHorizontal:()=>Aj,StretchVertical:()=>jj,Strikethrough:()=>Mj,Subscript:()=>Nj,Subtitles:()=>Kl,Summary:()=>Pj,Sun:()=>zj,SunDim:()=>Fj,SunMedium:()=>Ij,SunMoon:()=>Lj,SunSnow:()=>Rj,Sunrise:()=>Bj,Sunset:()=>Vj,Superscript:()=>Uj,SwatchBook:()=>Hj,SwissFranc:()=>Wj,SwitchCamera:()=>Gj,Sword:()=>Kj,Swords:()=>Jj,Syringe:()=>qj,Table:()=>nM,Table2:()=>Yj,TableCellsMerge:()=>Xj,TableCellsSplit:()=>Zj,TableColumnsSplit:()=>Qj,TableConfig:()=>lp,TableOfContents:()=>$j,TableProperties:()=>eM,TableRowsSplit:()=>tM,Tablet:()=>iM,TabletSmartphone:()=>rM,Tablets:()=>aM,Tag:()=>cM,TagPlus:()=>oM,TagX:()=>sM,Tags:()=>lM,Tally1:()=>dM,Tally2:()=>uM,Tally3:()=>fM,Tally4:()=>pM,Tally5:()=>hM,Tangent:()=>mM,Target:()=>vM,Telescope:()=>gM,Tent:()=>yM,TentTree:()=>_M,Terminal:()=>bM,TerminalSquare:()=>ZA,TestTube:()=>SM,TestTube2:()=>xM,TestTubeDiagonal:()=>xM,TestTubes:()=>CM,Text:()=>DM,TextAlignCenter:()=>wM,TextAlignEnd:()=>TM,TextAlignJustify:()=>EM,TextAlignStart:()=>DM,TextCursor:()=>kM,TextCursorInput:()=>OM,TextInitial:()=>AM,TextQuote:()=>MM,TextSearch:()=>jM,TextSelect:()=>gA,TextSelection:()=>gA,TextWrap:()=>NM,Theater:()=>PM,Thermometer:()=>LM,ThermometerSnowflake:()=>FM,ThermometerSun:()=>IM,ThumbsDown:()=>RM,ThumbsUp:()=>zM,Ticket:()=>KM,TicketCheck:()=>BM,TicketMinus:()=>VM,TicketPercent:()=>HM,TicketPlus:()=>UM,TicketSlash:()=>WM,TicketX:()=>GM,Tickets:()=>JM,TicketsPlane:()=>qM,Timeline:()=>YM,Timer:()=>QM,TimerOff:()=>XM,TimerReset:()=>ZM,ToggleLeft:()=>$M,ToggleRight:()=>eN,Toilet:()=>tN,ToolCase:()=>nN,Toolbox:()=>rN,Tornado:()=>aN,Torus:()=>iN,Touchpad:()=>sN,TouchpadOff:()=>oN,TowelRack:()=>cN,TowerControl:()=>lN,ToyBrick:()=>uN,Tractor:()=>dN,TrafficCone:()=>fN,Train:()=>gN,TrainFront:()=>mN,TrainFrontTunnel:()=>pN,TrainTrack:()=>hN,TramFront:()=>gN,Transgender:()=>_N,Trash:()=>yN,Trash2:()=>vN,TreeDeciduous:()=>bN,TreePalm:()=>xN,TreePine:()=>SN,Trees:()=>CN,TrendingDown:()=>wN,TrendingUp:()=>EN,TrendingUpDown:()=>TN,Triangle:()=>AN,TriangleAlert:()=>DN,TriangleDashed:()=>ON,TriangleRight:()=>kN,Trophy:()=>jN,Truck:()=>NN,TruckElectric:()=>MN,TurkishLira:()=>PN,Turntable:()=>IN,Turtle:()=>FN,Tv:()=>zN,Tv2:()=>RN,TvMinimal:()=>RN,TvMinimalPlay:()=>LN,Type:()=>BN,TypeOutline:()=>VN,Umbrella:()=>UN,UmbrellaOff:()=>HN,Underline:()=>WN,Undo:()=>qN,Undo2:()=>GN,UndoDot:()=>KN,UnfoldHorizontal:()=>JN,UnfoldVertical:()=>YN,Ungroup:()=>XN,University:()=>ZN,Unlink:()=>QN,Unlink2:()=>$N,Unlock:()=>ex,UnlockKeyhole:()=>Qb,Unplug:()=>eP,Upload:()=>tP,UploadCloud:()=>Qf,Usb:()=>nP,User:()=>wP,User2:()=>yP,UserCheck:()=>rP,UserCheck2:()=>dP,UserCircle:()=>qd,UserCircle2:()=>Kd,UserCog:()=>iP,UserCog2:()=>fP,UserKey:()=>oP,UserLock:()=>aP,UserMinus:()=>sP,UserMinus2:()=>mP,UserPen:()=>cP,UserPlus:()=>lP,UserPlus2:()=>_P,UserRound:()=>yP,UserRoundArrowLeft:()=>uP,UserRoundCheck:()=>dP,UserRoundCog:()=>fP,UserRoundKey:()=>pP,UserRoundMinus:()=>mP,UserRoundPen:()=>hP,UserRoundPlus:()=>_P,UserRoundSearch:()=>gP,UserRoundX:()=>vP,UserSearch:()=>bP,UserSquare:()=>$A,UserSquare2:()=>QA,UserStar:()=>xP,UserX:()=>SP,UserX2:()=>vP,Users:()=>TP,Users2:()=>CP,UsersRound:()=>CP,Utensils:()=>OP,UtensilsCrossed:()=>EP,UtilityPole:()=>DP,Van:()=>kP,Variable:()=>AP,Vault:()=>jP,VectorSquare:()=>MP,Vegan:()=>NP,VenetianMask:()=>PP,Venus:()=>IP,VenusAndMars:()=>FP,Verified:()=>ys,Vibrate:()=>RP,VibrateOff:()=>LP,Video:()=>BP,VideoOff:()=>zP,Videotape:()=>VP,View:()=>HP,Voicemail:()=>UP,Volleyball:()=>WP,Volume:()=>YP,Volume1:()=>GP,Volume2:()=>qP,VolumeOff:()=>KP,VolumeX:()=>JP,Vote:()=>XP,Wallet:()=>$P,Wallet2:()=>QP,WalletCards:()=>ZP,WalletMinimal:()=>QP,Wallpaper:()=>eF,Wand:()=>rF,Wand2:()=>nF,WandSparkles:()=>nF,Warehouse:()=>tF,WashingMachine:()=>iF,Watch:()=>aF,Waves:()=>cF,WavesArrowDown:()=>oF,WavesArrowUp:()=>sF,WavesHorizontal:()=>cF,WavesLadder:()=>lF,WavesVertical:()=>uF,Waypoints:()=>dF,Webcam:()=>pF,WebcamOff:()=>fF,Webhook:()=>hF,WebhookOff:()=>mF,Weight:()=>_F,WeightTilde:()=>gF,Wheat:()=>vF,WheatOff:()=>yF,WholeWord:()=>bF,Wifi:()=>OF,WifiCog:()=>xF,WifiHigh:()=>SF,WifiLow:()=>CF,WifiOff:()=>wF,WifiPen:()=>TF,WifiSync:()=>EF,WifiZero:()=>DF,Wind:()=>AF,WindArrowDown:()=>kF,Wine:()=>MF,WineOff:()=>jF,Workflow:()=>NF,Worm:()=>PF,WrapText:()=>NM,Wrench:()=>FF,WrenchOff:()=>IF,X:()=>RF,XCircle:()=>Jd,XLineTop:()=>LF,XOctagon:()=>XC,XSquare:()=>ej,Zap:()=>BF,ZapOff:()=>zF,ZodiacAquarius:()=>VF,ZodiacAries:()=>HF,ZodiacCancer:()=>UF,ZodiacCapricorn:()=>GF,ZodiacGemini:()=>WF,ZodiacLeo:()=>qF,ZodiacLibra:()=>KF,ZodiacOphiuchus:()=>JF,ZodiacPisces:()=>YF,ZodiacSagittarius:()=>XF,ZodiacScorpio:()=>QF,ZodiacTaurus:()=>ZF,ZodiacVirgo:()=>$F,ZoomIn:()=>eI,ZoomOut:()=>tI}),rI=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`class`]),iI=Xr(``);function K(e,t){E(t,!0);let n=G(t,`name`,3,``),r=G(t,`class`,3,``),i=ha(t,rI);function a(e){return String(e||``).split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)}function o(e){return Object.entries(e).map(([e,t])=>`${e}="${String(t)}"`).join(` `)}function s([e,t,n]){let r=Array.isArray(n)?n.map(s).join(``):``;return`<${e} ${o(t||{})}>${r}`}let c=O(()=>{let e=nI[a(n())];return e?e.map(s).join(``):``});var l=iI();ia(l,()=>({xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,class:r(),"aria-hidden":`true`,focusable:`false`,...i})),mi(l,()=>I(c),!0),T(l),z(e,l),D()}var aI=Xr(``);function oI(e){z(e,aI())}function sI(){try{return typeof localStorage>`u`?null:localStorage}catch{return null}}function cI(e,t=null){let n=sI();if(!n)return t;try{return n.getItem(e)??t}catch{return t}}function lI(e,t){let n=sI();if(n)try{n.setItem(e,String(t))}catch{}}var uI=new class{#e=k(`system`);get theme(){return I(this.#e)}set theme(e){A(this.#e,e,!0)}#t=k(0);get tick(){return I(this.#t)}set tick(e){A(this.#t,e,!0)}init(){this.theme=cI(`gomodel_theme`,`system`),this.apply(),window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,()=>{this.theme===`system`&&this.tick++})}set(e){this.theme=e,lI(`gomodel_theme`,e),this.apply(),this.tick++}toggle(){let e=[`light`,`system`,`dark`];this.set(e[(e.indexOf(this.theme)+1)%e.length])}apply(){let e=document.documentElement;this.theme===`system`?e.removeAttribute(`data-theme`):e.setAttribute(`data-theme`,this.theme)}},dI=new class{#e=k(!1);get collapsed(){return I(this.#e)}set collapsed(e){A(this.#e,e,!0)}init(){this.collapsed=cI(`gomodel_sidebar_collapsed`)===`true`}toggle(){this.collapsed=!this.collapsed,lI(`gomodel_sidebar_collapsed`,this.collapsed)}},fI=new class{#e=k(j([]));get stack(){return I(this.#e)}set stack(e){A(this.#e,e,!0)}#t=1;opened(){let e=this.#t++;return this.stack=[...this.stack,e],e}closed(e){this.stack=this.stack.filter(t=>t!==e)}isTop(e){return this.stack.length>0&&this.stack[this.stack.length-1]===e}get openCount(){return this.stack.length}get anyOpen(){return this.stack.length>0}},pI=R(``),mI=R(`
`,1);function hI(e,t){E(t,!0);let n=G(t,`compact`,3,!1),r=[{value:`light`,icon:`sun`,label:`Light theme`},{value:`system`,icon:`monitor`,label:`System theme`},{value:`dark`,icon:`moon`,label:`Dark theme`}],i=O(()=>r.find(e=>e.value===uI.theme)||r[1]),a=O(()=>`Change theme (currently `+I(i).label+`)`);var o=mI(),s=N(o);let c;H(s,21,()=>r,e=>e.value,(e,t)=>{var n=pI();let r;K(M(n),{get name(){return I(t).icon},class:`theme-icon`}),T(n),F(()=>{r=U(n,1,`theme-btn svelte-1keql7b`,null,r,{active:uI.theme===I(t).value}),W(n,`aria-pressed`,uI.theme===I(t).value),W(n,`title`,I(t).label),W(n,`aria-label`,I(t).label)}),L(`click`,n,()=>uI.set(I(t).value)),z(e,n)}),T(s);var l=P(s,2);let u;K(M(l),{get name(){return I(i).icon},class:`theme-icon`}),T(l),F(()=>{c=U(s,1,`theme-toggle svelte-1keql7b`,null,c,{"is-compact":n()}),u=U(l,1,`theme-toggle-mobile svelte-1keql7b`,null,u,{"is-compact":n()}),W(l,`title`,I(a)),W(l,`aria-label`,I(a))}),L(`click`,l,()=>uI.toggle()),z(e,o),D()}Hr([`click`]);function gI(){return typeof window>`u`?`/`:window.GOMODEL_BASE_PATH||`/`}function _I(e){let t=gI();return!e||e.charAt(0)!==`/`||e.indexOf(`//`)===0||t===`/`||e===t||e.indexOf(t+`/`)===0?e:t+e}function vI(e){let t=gI();return t===`/`||!e?e:e===t?`/`:e.indexOf(t+`/`)===0?e.slice(t.length)||`/`:e}function yI(){return typeof window>`u`?``:window.GOMODEL_VERSION||``}function bI(){return typeof window>`u`?!1:window.GOMODEL_DEMO_MODE===!0}var xI=[`overview`,`usage`,`budgets`,`rate-limits`,`models`,`workflows`,`audit-logs`,`guardrails`,`mcp-servers`,`providers-config`,`auth-keys`,`settings`];function SI(e){return e.startsWith(`/admin/static/`)?`/`+e.slice(14).replace(/^\/+/,``):e}function CI(e){let t=SI(vI(e)).replace(/\/$/,``).replace(`/admin/dashboard`,``).replace(/^\//,``).split(`/`),n=t[0];n===`audit`&&(n=`audit-logs`);let r=t[1]||null;return n===`settings`&&r===`guardrails`?{page:`guardrails`,sub:null}:(n=xI.includes(n)?n:`overview`,{page:n,sub:r})}var wI=new class{#e=k(`overview`);get page(){return I(this.#e)}set page(e){A(this.#e,e,!0)}#t=k(null);get sub(){return I(this.#t)}set sub(e){A(this.#t,e,!0)}init(){let{page:e,sub:t}=CI(window.location.pathname);this.page=e,this.sub=t,window.addEventListener(`popstate`,()=>{let{page:e,sub:t}=CI(window.location.pathname);this.page=e,this.sub=t})}navigate(e,t=null){let n=t?`/`+t:``;history.pushState(null,``,_I(`/admin/dashboard/`+e+n)),this.page=e,this.sub=t}},TI=`gomodel_api_key`;function EI(e){let t=String(e||``).trim();if(/^Bearer\s*$/i.test(t))return``;let n=t.match(/^Bearer\s+(.+)$/i);return n?n[1].trim():t}var q=new class{#e=k(``);get apiKey(){return I(this.#e)}set apiKey(e){A(this.#e,e,!0)}#t=k(!1);get needsAuth(){return I(this.#t)}set needsAuth(e){A(this.#t,e,!0)}#n=k(!1);get authError(){return I(this.#n)}set authError(e){A(this.#n,e,!0)}#r=k(``);get authErrorMessage(){return I(this.#r)}set authErrorMessage(e){A(this.#r,e,!0)}#i=k(!1);get dialogOpen(){return I(this.#i)}set dialogOpen(e){A(this.#i,e,!0)}#a=k(0);get generation(){return I(this.#a)}set generation(e){A(this.#a,e,!0)}#o=k(0);get refreshTick(){return I(this.#o)}set refreshTick(e){A(this.#o,e,!0)}init(){try{this.apiKey=EI(localStorage.getItem(TI)||``)}catch{this.apiKey=``}}hasApiKey(){return EI(this.apiKey)!==``}save(){this.apiKey=EI(this.apiKey);try{localStorage.setItem(TI,this.apiKey)}catch{}}openDialog(){this.dialogOpen=!0}closeDialog(){this.dialogOpen=!1}submit(){let e=EI(this.apiKey);return e?(this.apiKey=e,this.save(),this.generation++,this.authError=!1,this.authErrorMessage=``,this.needsAuth=!1,this.closeDialog(),this.refresh(),!0):(this.apiKey=``,this.authError=!0,this.authErrorMessage=``,this.needsAuth=!0,this.openDialog(),!1)}refresh(){this.refreshTick++}handleUnauthorized(e,t=``){return typeof e==`number`&&e{r[e.type]=e.value}),r.year+`-`+r.month+`-`+r.day}formatTimestampInTimeZone(e,t){if(e==null)return`-`;let n=new Date(e);if(Number.isNaN(n.getTime()))return`-`;let r=LI(`en-CA`,{timeZone:RI(t)?t:NI,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`}).formatToParts(n),i={};return r.forEach(e=>{i[e.type]=e.value}),i.year+`-`+i.month+`-`+i.day+` `+i.hour+`:`+i.minute+`:`+i.second}formatTimestamp(e){return this.formatTimestampInTimeZone(e,this.effectiveTimezone())}currentDateKey(e){return this.dateKeyInTimeZone(e||new Date,this.effectiveTimezone())}dateKeyToDate(e){return OI(e)}dateToDateKey(e){return kI(e)}addDaysToDateKey(e,t){return AI(e,t)}todayDate(){return this.dateKeyToDate(this.currentDateKey())}startOfMonthDate(e){let t=e instanceof Date?e:this.todayDate();return new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1))}timeZoneOffsetLabel(e,t){let n=RI(e)?e:NI;try{let e=LI(`en-US`,{timeZone:n,hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`,timeZoneName:`longOffset`}).formatToParts(t||new Date).find(e=>e.type===`timeZoneName`);if(!e||!e.value)return`UTC+00:00`;let r=e.value.replace(`GMT`,`UTC`);return r===`UTC`?`UTC+00:00`:r}catch{return`UTC+00:00`}}timeZoneOffsetMinutes(e,t){let n=/^UTC([+-])(\d{2}):(\d{2})$/.exec(this.timeZoneOffsetLabel(e,t));if(!n)return 0;let r=Number(n[2])*60+Number(n[3]);return n[1]===`-`?-r:r}timeZoneOptionLabel(e,t){return e+` (`+this.timeZoneOffsetLabel(e,t)+`)`}detectedTimeZoneLabel(){return this.timeZoneOptionLabel(this.detectedTimezone)}effectiveTimeZoneLabel(){return this.timeZoneOptionLabel(this.effectiveTimezone())}ensureOptions(){if(this.optionsLoaded)return;let e=new Date,t=[];try{typeof Intl.supportedValuesOf==`function`&&(t=Intl.supportedValuesOf(`timeZone`))}catch{t=[]}[NI,this.detectedTimezone,this.override].forEach(e=>{e&&t.indexOf(e)===-1&&RI(e)&&t.push(e)}),t=t.filter(e=>RI(e)),t.sort((t,n)=>{let r=this.timeZoneOffsetMinutes(t,e)-this.timeZoneOffsetMinutes(n,e);return r===0?t.localeCompare(n):r}),this.options=t.map(t=>({value:t,label:this.timeZoneOptionLabel(t,e)})),this.optionsLoaded=!0}saveOverride(){let e=sI();if(e)if(this.override&&RI(this.override))try{e.setItem(PI,this.override)}catch{}else{try{e.removeItem(PI)}catch{}this.override=``}this.optionsLoaded=!1,this.ensureOptions()}clearOverride(){let e=sI();if(e)try{e.removeItem(PI)}catch{}this.override=``}calendarTimeZoneText(){let e=this.override?`manual override`:`auto-detected`;return`Activity grouped by `+this.effectiveTimeZoneLabel()+` (`+e+`)`}};function HI(e,t){let n=e&&typeof e==`object`&&e.error&&e.error.message;return(typeof n==`string`?n.trim():``)||t}function UI(e,t){let n=e&&e.data;if(n&&typeof n==`object`){let e=[n.message,n.error,n.error&&typeof n.error==`object`?n.error.message:null];for(let t of e)if(typeof t==`string`&&t.trim())return t.trim()}return t}function WI(){let e={"Content-Type":`application/json`},t=EI(q.apiKey);return t&&(e.Authorization=`Bearer `+t),e[`X-GoModel-Timezone`]=VI.effectiveTimezone(),e}function GI(e,t={}){return fetch(_I(e),{...t,headers:{...WI(),...t.headers||{}}})}async function KI(e,t,{label:n=e,parse:r=!0}={}){let i=q.generation,a=await GI(e,t);if(a.status===401)return q.handleUnauthorized(i),{ok:!1,stale:ie.trim()).filter(Boolean);return e.length>0?e:ZI}cacheVisible(){if(this.flag(`CACHE_ENABLED`)!==``)return this.booleanFlag(`CACHE_ENABLED`,!1);let e=this.flag(`REDIS_URL`),t=this.flag(`SEMANTIC_CACHE_ENABLED`);return e===``&&t===``||this.booleanFlag(`REDIS_URL`,!1)||this.booleanFlag(`SEMANTIC_CACHE_ENABLED`,!1)}auditVisible(){return this.booleanFlag(`LOGGING_ENABLED`,!0)}usageVisible(){return this.booleanFlag(`USAGE_ENABLED`,!0)}budgetsVisible(){return this.booleanFlag(`BUDGETS_ENABLED`,!0)}rateLimitsVisible(){return this.booleanFlag(`RATE_LIMITS_ENABLED`,!0)}guardrailsVisible(){return this.booleanFlag(`GUARDRAILS_ENABLED`,!0)}mcpVisible(){return this.booleanFlag(`MCP_ENABLED`,!0)}liveLogsVisible(){return this.booleanFlag(`DASHBOARD_LIVE_LOGS_ENABLED`,!0)}fetch(){return this.#n||=this.#r().finally(()=>{this.#n=null}),this.#n}async ensureLoaded(){if(this.#n){await this.#n;return}this.loaded||await this.fetch()}async#r(){let e=typeof AbortController==`function`?new AbortController:null,t=e?setTimeout(()=>e.abort(),1e4):null;try{let t=await qI(`/admin/runtime/config`,{label:`dashboard config`,signal:e?e.signal:void 0});if(t.stale)return;if(!t.ok){this.config={},this.loaded=!1;return}let n=t.data,r={};for(let e of XI)n&&typeof n==`object`&&!Array.isArray(n)&&n[e]!==void 0&&n[e]!==null&&(r[e]=String(n[e]).trim());this.config=r,this.loaded=!0}catch(e){console.error(`Failed to fetch dashboard config:`,e),this.config={},this.loaded=!1}finally{t!==null&&clearTimeout(t)}}},$I=[{page:`overview`,label:`Overview`,icon:`layout-dashboard`},{page:`providers-config`,label:`Providers`,icon:`server-cog`},{page:`models`,label:`Models`,icon:`box`},{page:`audit-logs`,label:`Audit Logs`,icon:`history`},{page:`usage`,label:`Usage`,icon:`chart-column`},{page:`budgets`,label:`Budgets`,icon:`wallet`,visible:()=>QI.budgetsVisible()},{page:`rate-limits`,label:`Rate Limits`,icon:`gauge`,visible:()=>QI.rateLimitsVisible()},{page:`auth-keys`,label:`API Keys`,icon:`key-round`},{page:`workflows`,label:`Workflows`,icon:`workflow`},{page:`guardrails`,label:`Guardrails (experimental)`,icon:`shield-check`,visible:()=>QI.guardrailsVisible()},{page:`mcp-servers`,label:`MCP Servers`,icon:`plug`,visible:()=>QI.mcpVisible()},{page:`settings`,label:`Settings`,icon:`settings`}],eL=R(` `),tL=R(`
`),nL=R(` `,1);function rL(e,t){E(t,!0);let n=O(()=>$I.filter(e=>!e.visible||e.visible()));var r=nL(),i=N(r);let a;var o=M(i),s=M(o);oI(M(s),{}),T(s),Ge(4),T(o);var c=P(o,2);H(c,21,()=>I(n),e=>e.page,(e,t)=>{var n=eL();let r;var i=M(n);K(i,{get name(){return I(t).icon},class:`nav-icon`});var a=P(i,2),o=M(a,!0);T(a),T(n),F(e=>{W(n,`href`,e),r=U(n,1,`nav-item svelte-1nwtzae`,null,r,{active:wI.page===I(t).page}),W(n,`title`,I(t).label),B(o,I(t).label)},[()=>_I(`/admin/dashboard/`+I(t).page)]),L(`click`,n,e=>{e.preventDefault(),wI.navigate(I(t).page)}),z(e,n)}),T(c);var l=P(c,2),u=M(l);hI(u,{get compact(){return dI.collapsed}});var d=P(u,2),f=e=>{var t=tL(),n=M(t),r=M(n);K(r,{name:`lock-keyhole`,class:`api-key-open-icon`});var i=P(r,2),a=M(i,!0);T(i),T(n),T(t),F(()=>{W(n,`aria-label`,q.needsAuth?`Enter API key`:`Change API key`),B(a,q.needsAuth?`Enter API key`:`Change API key`)}),L(`click`,n,()=>q.openDialog()),z(e,t)},p=O(()=>q.needsAuth||q.hasApiKey());V(d,e=>{I(p)&&e(f)}),T(l),T(i);var m=P(i,2);let h;F(()=>{a=U(i,1,`sidebar svelte-1nwtzae`,null,a,{"sidebar-collapsed":dI.collapsed}),h=U(m,1,`sidebar-toggle svelte-1nwtzae`,null,h,{collapsed:dI.collapsed}),W(m,`title`,dI.collapsed?`Expand sidebar`:`Collapse sidebar`),W(m,`aria-label`,dI.collapsed?`Expand sidebar`:`Collapse sidebar`),W(m,`aria-expanded`,!dI.collapsed)}),L(`click`,m,()=>dI.toggle()),z(e,r),D()}Hr([`click`]);var iL=R(``);function aL(e,t){E(t,!0);let n=G(t,`label`,3,`Close`),r=G(t,`class`,3,``),i=G(t,`iconClass`,3,`table-icon-svg`),a=G(t,`disabled`,3,!1),o=G(t,`el`,15,null);var s=iL();K(M(s),{name:`x`,get class(){return i()}}),T(s),pa(s,e=>o(e),()=>o()),F(()=>{U(s,1,`dialog-close-btn ${r()??``}`,`svelte-11l1bb5`),W(s,`aria-label`,n()),s.disabled=a()}),L(`click`,s,function(...e){t.onclick?.apply(this,e)}),z(e,s),D()}Hr([`click`]);var oL=R(`
`,1);function sL(e,t){E(t,!0);let n=G(t,`open`,3,!1),r=G(t,`variant`,3,`editor`),i=G(t,`closeOnBackdrop`,3,!0),a=O(()=>r()===`auth`?`auth-dialog-backdrop`:`editor-modal-backdrop`),o=O(()=>r()===`auth`?`auth-dialog-shell`:`editor-modal-shell`),s=k(null);Mn(()=>{if(!n())return;let e=Or(()=>fI.opened());Tr().then(()=>{let e=I(s)&&I(s).querySelector(`[data-modal-autofocus]`);e&&typeof e.focus==`function`&&e.focus()});let r=n=>{n.key===`Escape`&&fI.isTop(e)&&t.onclose?.()};return window.addEventListener(`keydown`,r),()=>{fI.closed(e),window.removeEventListener(`keydown`,r)}});function c(e){i()&&e.target===I(s)&&t.onclose?.()}var l=Qr(),u=N(l),d=e=>{var n=oL(),r=N(n),i=P(r,2);hi(M(i),()=>t.children??m),T(i),pa(i,e=>A(s,e),()=>I(s)),F(()=>{U(r,1,Mi(I(a)),`svelte-17e0w4c`),U(i,1,Mi(I(o)),`svelte-17e0w4c`)}),L(`click`,i,c),z(e,n)};V(u,e=>{n()&&e(d)}),z(e,l),D()}Hr([`click`]);var cL=R(``),lL=R(``);function uL(e,t){E(t,!0),sL(e,{get open(){return q.dialogOpen},variant:`auth`,onclose:()=>q.closeDialog(),children:(e,t)=>{var n=lL(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a),T(i),aL(P(i,2),{label:`Close authentication dialog`,onclick:()=>q.closeDialog(),class:`auth-dialog-close`,iconClass:``}),T(r);var s=P(r,2),c=M(s),l=M(c);K(l,{name:`lock-keyhole`,class:`auth-dialog-input-icon`});var u=P(l,2);$i(u),T(c);var d=P(c,2),f=e=>{var t=cL(),n=M(t,!0);T(t),F(()=>B(n,q.authErrorMessage||`Enter a valid API key to continue.`)),z(e,t)};V(d,e=>{q.authError&&e(f)});var p=P(d,4),m=M(p),h=M(m);K(h,{name:`check`,class:`auth-dialog-submit-icon`});var g=P(h,2),_=M(g,!0);T(g),T(m),T(p),T(s),T(n),F(()=>{B(o,q.needsAuth?`Dashboard locked`:`Change API key`),B(_,q.needsAuth?`Unlock dashboard`:`Save API key`)}),Vr(`submit`,s,e=>{e.preventDefault(),q.submit()}),ca(u,()=>q.apiKey,e=>q.apiKey=e),z(e,n)},$$slots:{default:!0}}),D()}function dL(){return{open:!1,title:``,titleId:`typedConfirmationDialogTitle`,inputId:`typed-confirmation-input`,message:``,requiredText:``,value:``,confirmLabel:`Confirm`,icon:`triangle-alert`,dialogClass:``,loading:!1,onConfirm:null,onClose:null}}var fL=new class{#e=k(j(dL()));get state(){return I(this.#e)}set state(e){A(this.#e,e,!0)}#t=k(``);get error(){return I(this.#t)}set error(e){A(this.#t,e,!0)}open(e){this.error=``,this.state={...dL(),open:!0,...e||{}}}close(){let e=this.state;typeof e.onClose==`function`&&e.onClose(),this.state=dL(),this.error=``}ready(){return String(this.state.value||``).trim().toLowerCase()===String(this.state.requiredText||``).trim().toLowerCase()}inputLabel(){return`Type `+String(this.state.requiredText||``).trim()+` to confirm`}async submit(){if(!this.ready()){this.error=this.inputLabel()+`.`;return}if(typeof this.state.onConfirm==`function`){this.state.loading=!0;try{await this.state.onConfirm()}finally{this.state.loading=!1}}}},pL=R(`

`),mL=R(``),hL=R(`

`);function gL(e,t){E(t,!0);let n=O(()=>fL.state);sL(e,{get open(){return I(n).open},variant:`auth`,onclose:()=>fL.close(),children:(e,t)=>{var r=hL(),i=M(r),a=M(i),o=M(a,!0);T(a),aL(P(a,2),{label:`Close confirmation dialog`,onclick:()=>fL.close(),class:`auth-dialog-close`,iconClass:``}),T(i);var s=P(i,2),c=M(s),l=e=>{var t=pL(),r=M(t,!0);T(t),F(()=>B(r,I(n).message)),z(e,t)};V(c,e=>{I(n).message&&e(l)});var u=P(c,2),d=M(u),f=M(d,!0);T(d);var p=P(d,2);$i(p),T(u);var m=P(u,2),h=e=>{var t=mL(),n=M(t,!0);T(t),F(()=>B(n,fL.error)),z(e,t)};V(m,e=>{fL.error&&e(h)});var g=P(m,2),_=M(g),v=P(_,2),y=M(v);K(y,{get name(){return I(n).icon},class:`form-action-icon`});var b=P(y,2),x=M(b,!0);T(b),T(v),T(g),T(s),T(r),F((e,t)=>{U(r,1,`auth-dialog ${I(n).dialogClass??``}`),W(r,`aria-labelledby`,I(n).titleId),W(a,`id`,I(n).titleId),B(o,I(n).title),W(d,`for`,I(n).inputId),B(f,e),W(p,`id`,I(n).inputId),v.disabled=t,B(x,I(n).confirmLabel)},[()=>fL.inputLabel(),()=>I(n).loading||!fL.ready()]),Vr(`submit`,s,e=>{e.preventDefault(),fL.submit()}),ca(p,()=>fL.state.value,e=>fL.state.value=e),L(`click`,_,()=>fL.close()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var _L=e=>e;function vL(e){let t=e-1;return t*t*t+1}function yL(e){let t=typeof e==`string`&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||`px`]:[e,`px`]}function bL(e,{delay:t=0,duration:n=400,easing:r=_L}={}){let i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>`opacity: ${e*i}`}}function xL(e,{delay:t=0,duration:n=400,easing:r=vL,x:i=0,y:a=0,opacity:o=0}={}){let s=getComputedStyle(e),c=+s.opacity,l=s.transform===`none`?``:s.transform,u=c*(1-o),[d,f]=yL(i),[p,m]=yL(a);return{delay:t,duration:n,easing:r,css:(e,t)=>` + transform: ${l} translate(${(1-e)*d}${f}, ${(1-e)*p}${m}); + opacity: ${c-u*t}`}}function SL(e,{delay:t=0,duration:n=400,easing:r=vL,axis:i=`y`}={}){let a=getComputedStyle(e),o=+a.opacity,s=i===`y`?`height`:`width`,c=parseFloat(a[s]),l=i===`y`?[`top`,`bottom`]:[`left`,`right`],u=l.map(e=>`${e[0].toUpperCase()}${e.slice(1)}`),d=parseFloat(a[`padding${u[0]}`]),f=parseFloat(a[`padding${u[1]}`]),p=parseFloat(a[`margin${u[0]}`]),m=parseFloat(a[`margin${u[1]}`]),h=parseFloat(a[`border${u[0]}Width`]),g=parseFloat(a[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:e=>`overflow: hidden;opacity: ${Math.min(e*20,1)*o};${s}: ${e*c}px;padding-${l[0]}: ${e*d}px;padding-${l[1]}: ${e*f}px;margin-${l[0]}: ${e*p}px;margin-${l[1]}: ${e*m}px;border-${l[0]}-width: ${e*h}px;border-${l[1]}-width: ${e*g}px;min-${s}: 0`}}function CL(e){return--e*e*(2.70158*e+1.70158)+1}function wL(e){let t=e-1;return t*t*t+1}var TL=5e3,EL=8e3,DL=new class{#e=k(j([]));get toasts(){return I(this.#e)}set toasts(e){A(this.#e,e,!0)}#t=0;#n=new Map;success(e){this.#r(`success`,e,TL)}error(e){this.#r(`error`,e,EL)}dismiss(e){let t=this.#n.get(e);t&&(clearTimeout(t),this.#n.delete(e)),this.toasts=this.toasts.filter(t=>t.id!==e)}#r(e,t,n){let r=String(t||``).trim();if(!r)return;let i=this.toasts.find(t=>t.kind===e&&t.text===r);i&&this.dismiss(i.id);let a=++this.#t;this.toasts=[...this.toasts,{id:a,kind:e,text:r}],this.#n.set(a,setTimeout(()=>this.dismiss(a),n))}},OL=R(`
`),kL=R(`
`);function AL(e,t){E(t,!0);var n=kL();H(n,21,()=>DL.toasts,e=>e.id,(e,t)=>{var n=OL();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2);T(n),F(()=>{r=U(n,1,`flash-toast svelte-1i257xg`,null,r,{"flash-toast-success":I(t).kind===`success`,"flash-toast-error":I(t).kind===`error`}),W(n,`role`,I(t).kind===`error`?`alert`:`status`),W(n,`aria-live`,I(t).kind===`error`?`assertive`:`polite`),B(a,I(t).text)}),L(`click`,o,()=>DL.dismiss(I(t).id)),Di(1,n,()=>xL,()=>({y:-24,duration:360,easing:CL})),Di(2,n,()=>bL,()=>({duration:150})),z(e,n)}),T(n),z(e,n),D()}Hr([`click`]);var jL=R(``);function ML(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{z(e,jL())},a=O(()=>bI());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}function NL(e){return String(e||``).split(`,`).map(e=>e.trim()).filter(e=>e)}function PL(e){if(e==null||e===``)return`Not captured`;if(typeof e==`string`){let t=e.trim();if(t.startsWith(`{`)&&t.endsWith(`}`)||t.startsWith(`[`)&&t.endsWith(`]`))try{return JSON.stringify(JSON.parse(t),null,2)}catch{return e}return e}try{return JSON.stringify(e,null,2)}catch{return String(e)}}function FL(e){return e==null||e===void 0?`-`:e.toLocaleString()}function IL(e){if(e==null)return`---`;let t=Number(e);return Number.isFinite(t)?t>0&&t<1e-4?`<$0.0001`:`$`+t.toFixed(4).replace(/(\.\d{2}\d*?)0+$/,`$1`):`---`}function LL(e){return e==null||e===void 0?`—`:`$`+e.toFixed(2)}function RL(e){return e==null||e===void 0?`—`:e<.01?`$`+e.toFixed(6):`$`+e.toFixed(4)}function zL(e){if(e==null||e===``)return`-`;let t=Number(e);if(!Number.isFinite(t))return`-`;let n=Math.abs(t),r=[{threshold:1e9,suffix:`B`},{threshold:1e6,suffix:`M`},{threshold:1e3,suffix:`K`}];for(let e=0;e=i.threshold){let n=t/i.threshold;return Math.abs(Number(n.toFixed(1)))>=1e3&&e>0&&(i=r[e-1],n=t/i.threshold),n.toFixed(1).replace(/\.0$/,``)+i.suffix}}return String(t)}function BL(e,t){let n=t==null||t===``?NaN:Number(t),r=Number.isFinite(n)?FL(n):`-`;return String(e||`Tokens`)+`: `+r}function VL(e){return e?typeof e==`string`?e:e.getUTCFullYear()+`-`+String(e.getUTCMonth()+1).padStart(2,`0`)+`-`+String(e.getUTCDate()).padStart(2,`0`):``}function HL(e){if(!e)return`-`;let t=new Date(e);return Number.isNaN(t.getTime())?`-`:t.getUTCFullYear()+`-`+String(t.getUTCMonth()+1).padStart(2,`0`)+`-`+String(t.getUTCDate()).padStart(2,`0`)}function UL(e){if(!e)return`-`;let t=new Date(e);return Number.isNaN(t.getTime())?`-`:t.getUTCFullYear()+`-`+String(t.getUTCMonth()+1).padStart(2,`0`)+`-`+String(t.getUTCDate()).padStart(2,`0`)+` `+String(t.getUTCHours()).padStart(2,`0`)+`:`+String(t.getUTCMinutes()).padStart(2,`0`)+`:`+String(t.getUTCSeconds()).padStart(2,`0`)+` UTC`}function WL(e){return String(e&&e.provider||``).trim()}function GL(e){return String(e&&e.provider_name||``).trim()||WL(e)}function KL(e,t){let n=String(t||``).trim();if(!n)return`-`;let r=GL(e);return!r||n===r||n.startsWith(r+`/`)?n:r+`/`+n}function qL(e){return KL(e,e&&e.model)}function JL(e){return KL(e,e&&e.resolved_model)}function YL(e){let t=String(e&&(e.requested_model||e.model)||``).trim();if(!e)return t;let n=String(e.data&&e.data.failover&&e.data.failover.target_model||``).trim();if(n&&n!==t)return t+` ⮕ `+n;if(e.alias_used&&e.resolved_model){let n=JL(e);if(n&&n!==`-`&&n!==t)return t+` ⮕ `+n}return t}var XL=`gomodel_date_range`,ZL=1;function QL(e){return/^[1-9]\d*$/.test(String(e??``))}var $L=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function eR({selectedPreset:e,startKey:t,endKey:n,followsToday:r}){return e&&QL(e)?{v:ZL,mode:`preset`,days:String(e)}:e?null:jI(t)&&jI(n)?{v:ZL,mode:`custom`,start:t,end:n,follow:r===!0}:null}function tR(e){let t=e;if(typeof e==`string`)try{t=JSON.parse(e)}catch{return null}return!t||typeof t!=`object`?null:t.mode===`preset`?QL(t.days)?{mode:`preset`,days:String(t.days)}:null:t.mode===`custom`&&jI(t.start)&&jI(t.end)&&t.start<=t.end?{mode:`custom`,start:t.start,end:t.end,follow:t.follow===!0}:null}function nR(e,t,n){let r=MI(e,t);return r<1||!jI(n)?{start:e,end:t}:{start:AI(n,-(r-1)),end:n}}function rR(e,t){if(e===t)return`Today`;let[n,r,i]=e.split(`-`);return $L[Number(r)-1]+` `+Number(i)+`, `+n}function iR({selectedPreset:e,startKey:t,endKey:n,followsToday:r,todayKey:i}){if(e)return`Last `+e+` days`;if(!jI(t)||!jI(n))return``;let a=MI(t,n);return r||n===i?a===1?`Today`:`Last `+a+` days`:a===1?`1 day`:a+` days`}function aR({selectedPreset:e,startKey:t,endKey:n,todayKey:r}){if(e)return`Last `+e+` days`;let i=e=>rR(e,r);return jI(t)&&jI(n)?t===n?i(t):i(t)+` – `+i(n):jI(t)?i(t)+` – ...`:`Last 30 days`}var oR=6e4,sR=new class{#e=k(j(`30`));get days(){return I(this.#e)}set days(e){A(this.#e,e,!0)}#t=k(j(`30`));get selectedPreset(){return I(this.#t)}set selectedPreset(e){A(this.#t,e,!0)}#n=k(null);get customStartDate(){return I(this.#n)}set customStartDate(e){A(this.#n,e,!0)}#r=k(null);get customEndDate(){return I(this.#r)}set customEndDate(e){A(this.#r,e,!0)}#i=k(!1);get followsToday(){return I(this.#i)}set followsToday(e){A(this.#i,e,!0)}#a=k(`daily`);get interval(){return I(this.#a)}set interval(e){A(this.#a,e,!0)}#o=k(0);get syncTick(){return I(this.#o)}set syncTick(e){A(this.#o,e,!0)}init(){this.restore(),this.syncToToday(),typeof setInterval==`function`&&setInterval(()=>this.syncToToday(),oR)}queryStr(){return this.customStartDate&&this.customEndDate?`start_date=`+VL(this.customStartDate)+`&end_date=`+VL(this.customEndDate):`days=`+this.days}selectPreset(e){this.selectedPreset=e,this.customStartDate=null,this.customEndDate=null,this.followsToday=!1,this.days=e,this.persist()}selectStart(e){this.selectedPreset=null,this.customStartDate=e,this.customEndDate&&this.customEndDatet.category===e);return t?t.count:0}get filteredModels(){if(!this.filter)return this.models;let e=this.filter.toLowerCase();return this.models.filter(t=>(t.model?.id??``).toLowerCase().includes(e)||(t.provider_name??``).toLowerCase().includes(e)||(t.provider_type??``).toLowerCase().includes(e)||(t.selector??``).toLowerCase().includes(e)||(t.model?.owned_by??``).toLowerCase().includes(e)||(t.model?.metadata?.modes??[]).join(`,`).toLowerCase().includes(e)||(t.model?.metadata?.categories??[]).join(`,`).toLowerCase().includes(e))}},lR=R(``);function uR(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=lR(),n=P(M(t),2);T(t),L(`click`,n,()=>q.openDialog()),z(e,t)};V(r,e=>{q.authError&&e(i)}),z(e,n),D()}Hr([`click`]);function dR(){return{total_requests:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,total_input_cost:null,total_output_cost:null,total_cost:null}}function fR(){return{summary:{total_hits:0,exact_hits:0,semantic_hits:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,total_saved_cost:null},daily:[]}}var pR=new class{#e=k(j(dR()));get summary(){return I(this.#e)}set summary(e){A(this.#e,e,!0)}#t=k(j([]));get daily(){return I(this.#t)}set daily(e){A(this.#t,e,!0)}#n=k(j(fR()));get cacheOverview(){return I(this.#n)}set cacheOverview(e){A(this.#n,e,!0)}#r=k(!1);get loading(){return I(this.#r)}set loading(e){A(this.#r,e,!0)}#i=null;#a=null;cacheAnalyticsEnabled(){return QI.cacheVisible()}async fetchUsage(){this.#i&&this.#i.abort();let e=new AbortController;this.#i=e,this.loading=!0;try{let t=sR.queryStr()+`&interval=`+sR.interval,[n,r]=await Promise.all([qI(`/admin/usage/summary?`+t,{label:`usage summary`,signal:e.signal}),qI(`/admin/usage/daily?`+t,{label:`usage daily`,signal:e.signal})]);if(n.stale||r.stale||e.signal.aborted)return;if(!n.ok||!r.ok){this.summary=dR(),this.daily=[],this.cacheOverview=fR();return}this.summary=n.data||dR(),this.daily=Array.isArray(r.data)?r.data:[]}catch(e){if(YI(e))return;console.error(`Failed to fetch usage:`,e),this.summary=dR(),this.daily=[]}finally{this.#i===e&&(this.#i=null,this.loading=!1)}}async fetchCacheOverview(e=``){if(await QI.ensureLoaded(),!this.cacheAnalyticsEnabled()){this.cacheOverview=fR();return}this.#a&&this.#a.abort();let t=new AbortController;this.#a=t;try{let n=await qI(`/admin/cache/overview?`+(sR.queryStr()+`&interval=`+sR.interval+e),{label:`cache overview`,signal:t.signal});if(n.stale||t.signal.aborted)return;if(!n.ok){this.cacheOverview=fR();return}let r=n.data&&typeof n.data==`object`?n.data:fR();r.summary||=fR().summary,Array.isArray(r.daily)||(r.daily=[]),this.cacheOverview=r}catch(e){if(YI(e))return;console.error(`Failed to fetch cache overview:`,e),this.cacheOverview=fR()}finally{this.#a===t&&(this.#a=null)}}},mR=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];function hR(e,t){let n=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1));return mR[n.getUTCMonth()]+` `+n.getUTCFullYear()}function gR(e,t,n){let r=e.getUTCFullYear(),i=e.getUTCMonth()+t,a=new Date(Date.UTC(r,i,1)),o=new Date(Date.UTC(r,i+1,0)),s=(a.getUTCDay()+6)%7,c=[],l=new Date(Date.UTC(r,i,0));for(let e=s-1;e>=0;e--){let t=l.getUTCDate()-e,a=new Date(Date.UTC(r,i-1,t));c.push({day:t,date:a,current:!1,key:`p-`+n(a)})}for(let e=1;e<=o.getUTCDate();e++){let t=new Date(Date.UTC(r,i,e));c.push({day:e,date:t,current:!0,key:`c-`+n(t)})}let u=42-c.length;for(let e=1;e<=u;e++){let t=new Date(Date.UTC(r,i+1,e));c.push({day:e,date:t,current:!1,key:`n-`+n(t)})}return c}function _R(e,t,n){let r=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1));return n&&r.getTime()>n.getTime()?e:r}function vR(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()}var yR=R(``),bR=R(``),xR=R(``),SR=R(`
MoTuWeThFrSaSu
`);function CR(e,t){E(t,!0);let n=G(t,`offset`,3,0),r=O(()=>gR(t.calendarMonth,n(),e=>VI.dateToDateKey(e))),i=O(()=>vR(t.calendarMonth,VI.todayDate())),a=e=>VI.dateToDateKey(e.date),o=e=>a(e)>VI.currentDateKey(),s=e=>e.current&&a(e)===VI.currentDateKey();function c(e,t){let n=t===`start`?sR.rangeStart():sR.rangeEnd();return e.current&&!!n&&a(e)===VI.dateToDateKey(n)}function l(e){let t=sR.rangeStart(),n=sR.rangeEnd();return!e.current||!t||!n?!1:a(e)>=VI.dateToDateKey(t)&&a(e)<=VI.dateToDateKey(n)}var u=SR(),d=M(u),f=M(d);let p;var m=P(f,2),h=M(m,!0);T(m);var g=P(m,2),_=e=>{z(e,yR())},v=e=>{var n=bR();F(()=>n.disabled=I(i)),L(`click`,n,function(...e){t.onnext?.apply(this,e)}),z(e,n)};V(g,e=>{n()===-1?e(_):e(v,-1)}),T(d);var y=P(d,4);H(y,21,()=>I(r),e=>e.key,(e,n)=>{var r=xR();let i;var a=M(r,!0);T(r),F((e,t)=>{i=U(r,1,`dp-day svelte-g7ga4u`,null,i,e),r.disabled=t,B(a,I(n).day)},[()=>({"other-month":!I(n).current,today:s(I(n)),"range-start":c(I(n),`start`),"range-end":c(I(n),`end`),"in-range":l(I(n)),disabled:o(I(n))}),()=>o(I(n))||!I(n).current]),L(`click`,r,()=>t.onselect?.(I(n))),z(e,r)}),T(y),T(u),F(e=>{p=U(f,1,`dp-nav-btn svelte-g7ga4u`,null,p,{"dp-nav-prev-mobile":n()!==-1}),B(h,e)},[()=>hR(t.calendarMonth,n())]),L(`click`,f,function(...e){t.onprev?.apply(this,e)}),z(e,u),D()}Hr([`click`]);var wR=R(``),TR=R(`
`),ER=Xr(``),DR=Xr(``),OR=R(`
`),kR=R(`
`);function AR(e,t){E(t,!0);let n=[`3`,`7`,`14`,`30`,`90`],r=k(!1),i=k(`start`),a=k(j(new Date)),o=k(j({show:!1,x:0,y:0})),s=k(null);function c(){A(r,!I(r)),I(r)&&(sR.syncToToday(),A(a,VI.startOfMonthDate(sR.customEndDate||VI.todayDate()),!0),A(i,`start`))}function l(){A(r,!1),A(o,{show:!1,x:0,y:0},!0)}Mn(()=>{if(!I(r))return;let e=e=>{I(s)&&!I(s).contains(e.target)&&l()},t=e=>{e.key===`Escape`&&l()};return document.addEventListener(`click`,e,!0),window.addEventListener(`keydown`,t),()=>{document.removeEventListener(`click`,e,!0),window.removeEventListener(`keydown`,t)}});let u=sR.syncTick;Mn(()=>{let e=sR.syncTick;e!==u&&(u=e,t.onchange?.())});function d(e){sR.selectPreset(e),A(i,`start`),t.onchange?.(),l()}let f=()=>A(a,_R(I(a),-1),!0),p=()=>A(a,_R(I(a),1,VI.startOfMonthDate(VI.todayDate())),!0);function m(e){let n=new Date(e.date);if(I(i)===`start`){sR.selectStart(n),A(i,`end`),t.onchange?.();return}sR.selectEnd(n),A(i,`start`),t.onchange?.(),l()}var h=kR(),g=M(h),_=P(M(g),2),v=M(_,!0);T(_);var y=P(_,2);let b;T(g);var x=P(g,2),S=e=>{var t=TR(),r=M(t);H(r,20,()=>n,e=>e,(e,t)=>{var n=wR();let r;var i=M(n);T(n),F(()=>{r=U(n,1,`preset-btn svelte-ax7ma4`,null,r,{active:sR.selectedPreset===t}),B(i,`Last ${t??``} days`)}),L(`click`,n,()=>d(t)),z(e,n)}),T(r);var i=P(r,2);H(i,20,()=>[-1,0],e=>e,(e,t)=>{CR(e,{get calendarMonth(){return I(a)},get offset(){return t},onprev:f,onnext:p,onselect:m})}),T(i),T(t),L(`mousemove`,i,e=>A(o,{show:!0,x:e.clientX,y:e.clientY},!0)),Vr(`mouseleave`,i,()=>A(o,{show:!1,x:0,y:0},!0)),z(e,t)};V(x,e=>{I(r)&&e(S)});var C=P(x,2),w=e=>{var t=OR(),n=M(t),r=e=>{z(e,ER())},a=e=>{z(e,DR())};V(n,e=>{I(i)===`start`?e(r):e(a,-1)});var s=P(n,2),c=M(s,!0);T(s),T(t),F(()=>{zi(t,`left:${I(o).x??``}px;top:${I(o).y??``}px`),B(c,I(i)===`end`?`Select end date`:`Select start date`)}),z(e,t)};V(C,e=>{I(o).show&&e(w)}),T(h),pa(h,e=>A(s,e),()=>I(s)),F((e,t)=>{W(g,`title`,e),B(v,t),b=U(y,0,`date-picker-chevron svelte-ax7ma4`,null,b,{open:I(r)})},[()=>sR.dateRangeSpanLabel(),()=>sR.dateRangeLabel()]),L(`click`,g,c),z(e,h),D()}Hr([`click`,`mousemove`]);function jR(e){return e+.5|0}var MR=(e,t,n)=>Math.max(Math.min(e,n),t);function NR(e){return MR(jR(e*2.55),0,255)}function PR(e){return MR(jR(e*255),0,255)}function FR(e){return MR(jR(e/2.55)/100,0,1)}function IR(e){return MR(jR(e*100),0,100)}var LR={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},RR=[...`0123456789ABCDEF`],zR=e=>RR[e&15],BR=e=>RR[(e&240)>>4]+RR[e&15],VR=e=>(e&240)>>4==(e&15),HR=e=>VR(e.r)&&VR(e.g)&&VR(e.b)&&VR(e.a);function UR(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&LR[e[1]]*17,g:255&LR[e[2]]*17,b:255&LR[e[3]]*17,a:t===5?LR[e[4]]*17:255}:(t===7||t===9)&&(n={r:LR[e[1]]<<4|LR[e[2]],g:LR[e[3]]<<4|LR[e[4]],b:LR[e[5]]<<4|LR[e[6]],a:t===9?LR[e[7]]<<4|LR[e[8]]:255})),n}var WR=(e,t)=>e<255?t(e):``;function GR(e){var t=HR(e)?zR:BR;return e?`#`+t(e.r)+t(e.g)+t(e.b)+WR(e.a,t):void 0}var KR=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function qR(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function JR(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function YR(e,t,n){let r=qR(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function XR(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=XR(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function QR(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(PR)}function $R(e,t,n){return QR(qR,e,t,n)}function ez(e,t,n){return QR(YR,e,t,n)}function tz(e,t,n){return QR(JR,e,t,n)}function nz(e){return(e%360+360)%360}function rz(e){let t=KR.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?NR(+t[5]):PR(+t[5]));let i=nz(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?ez(i,a,o):t[1]===`hsv`?tz(i,a,o):$R(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function iz(e,t){var n=ZR(e);n[0]=nz(n[0]+t),n=$R(n),e.r=n[0],e.g=n[1],e.b=n[2]}function az(e){if(!e)return;let t=ZR(e),n=t[0],r=IR(t[1]),i=IR(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${FR(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var oz={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},sz={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function cz(){let e={},t=Object.keys(sz),n=Object.keys(oz),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var lz;function uz(e){lz||(lz=cz(),lz.transparent=[0,0,0,0]);let t=lz[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var dz=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function fz(e){let t=dz.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?NR(e):MR(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?NR(r):MR(r,0,255)),i=255&(t[4]?NR(i):MR(i,0,255)),a=255&(t[6]?NR(a):MR(a,0,255)),{r,g:i,b:a,a:n}}}function pz(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${FR(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var mz=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,hz=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function gz(e,t,n){let r=hz(FR(e.r)),i=hz(FR(e.g)),a=hz(FR(e.b));return{r:PR(mz(r+n*(hz(FR(t.r))-r))),g:PR(mz(i+n*(hz(FR(t.g))-i))),b:PR(mz(a+n*(hz(FR(t.b))-a))),a:e.a+n*(t.a-e.a)}}function _z(e,t,n){if(e){let r=ZR(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=$R(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function vz(e,t){return e&&Object.assign(t||{},e)}function yz(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=PR(e[3]))):(t=vz(e,{r:0,g:0,b:0,a:1}),t.a=PR(t.a)),t}function bz(e){return e.charAt(0)===`r`?fz(e):rz(e)}var xz=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=yz(t):n===`string`&&(r=UR(t)||uz(t)||bz(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=vz(this._rgb);return e&&(e.a=FR(e.a)),e}set rgb(e){this._rgb=yz(e)}rgbString(){return this._valid?pz(this._rgb):void 0}hexString(){return this._valid?GR(this._rgb):void 0}hslString(){return this._valid?az(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=gz(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=PR(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=jR(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return _z(this._rgb,2,e),this}darken(e){return _z(this._rgb,2,-e),this}saturate(e){return _z(this._rgb,1,e),this}desaturate(e){return _z(this._rgb,1,-e),this}rotate(e){return iz(this._rgb,e),this}};function Sz(){}var Cz=(()=>{let e=0;return()=>e++})();function wz(e){return e==null}function Tz(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function Ez(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function Dz(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Oz(e,t){return Dz(e)?e:t}function kz(e,t){return e===void 0?t:e}var Az=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,jz=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function Mz(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function Nz(e,t,n,r){let i,a,o;if(Tz(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Hz(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function Uz(e){let t=Hz(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Wz(e,t){return(Vz[t]||(Vz[t]=Uz(t)))(e)}function Gz(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Kz=e=>e!==void 0,qz=e=>typeof e==`function`,Jz=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function Yz(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var Xz=Math.PI,Zz=2*Xz,Qz=Zz+Xz,$z=1/0,eB=Xz/180,tB=Xz/2,nB=Xz/4,rB=Xz*2/3,iB=Math.log10,aB=Math.sign;function oB(e,t,n){return Math.abs(e-t)e-t).pop(),t}function lB(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function uB(e){return!lB(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function dB(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function fB(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function wB(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var TB=(e,t,n,r)=>wB(e,n,r?r=>{let i=e[r][t];return ie[r][t]wB(e,n,r=>e[r][t]>=n);function DB(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+Gz(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function AB(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(OB.forEach(t=>{delete e[t]}),delete e._chartjs)}function jB(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var MB=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function NB(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,MB.call(window,()=>{r=!1,e.apply(t,n)}))}}function PB(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var FB=e=>e===`start`?`left`:e===`end`?`right`:`center`,IB=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,LB=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function RB(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(TB(c,u,d).lo,n?r:TB(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!wz(e[s.axis]));i-=Math.max(0,e)}i=xB(i,0,r-1)}if(m){let e=Math.max(TB(c,o.axis,f,!0).hi+1,n?0:TB(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!wz(e[s.axis]));e+=Math.max(0,t)}a=xB(e,i,r)-i}else a=r-i}return{start:i,count:a}}function zB(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var BB=e=>e===0||e===1,VB=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Zz/n)),HB=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Zz/n)+1,UB={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*tB)+1,easeOutSine:e=>Math.sin(e*tB),easeInOutSine:e=>-.5*(Math.cos(Xz*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>BB(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>BB(e)?e:VB(e,.075,.3),easeOutElastic:e=>BB(e)?e:HB(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return BB(e)?e:e<.5?.5*VB(e*2,t,n):.5+.5*HB(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-UB.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?UB.easeInBounce(e*2)*.5:UB.easeOutBounce(e*2-1)*.5+.5};function WB(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function GB(e){return WB(e)?e:new xz(e)}function KB(e){return WB(e)?e:new xz(e).saturate(.5).darken(.1).hexString()}var qB=[`x`,`y`,`borderWidth`,`radius`,`tension`],JB=[`color`,`borderColor`,`backgroundColor`];function YB(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:JB},numbers:{type:`number`,properties:qB}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function XB(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var ZB=new Map;function QB(e,t){t||={};let n=e+JSON.stringify(t),r=ZB.get(n);return r||(r=new Intl.NumberFormat(e,t),ZB.set(n,r)),r}function $B(e,t,n){return QB(t,n).format(e)}var eV={values(e){return Tz(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=tV(e,n)}let o=iB(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),$B(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(iB(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?eV.numeric.call(this,e,t,n):``}};function tV(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var nV={formatters:eV};function rV(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nV.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var iV=Object.create(null),aV=Object.create(null);function oV(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>KB(t.backgroundColor),this.hoverBorderColor=(e,t)=>KB(t.borderColor),this.hoverColor=(e,t)=>KB(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return sV(this,e,t)}get(e){return oV(this,e)}describe(e,t){return sV(aV,e,t)}override(e,t){return sV(iV,e,t)}route(e,t,n,r){let i=oV(this,e),a=oV(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return Ez(e)?Object.assign({},t,e):kz(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[YB,XB,rV]);function lV(e){return!e||wz(e.size)||wz(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function uV(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function dV(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function gV(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,xV(e,a),c=0;c+e||0;function AV(e,t){let n={},r=Ez(t),i=r?Object.keys(t):t,a=Ez(e)?r?n=>kz(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=kV(a(e));return n}function jV(e){return AV(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function MV(e){return AV(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function NV(e){let t=jV(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function PV(e,t){e||={},t||=cV.font;let n=kz(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=kz(e.style,t.style);r&&!(``+r).match(DV)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:kz(e.family,t.family),lineHeight:OV(kz(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:kz(e.weight,t.weight),string:``};return i.string=lV(i),i}function FV(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function LV(e,t){return Object.assign(Object.create(e),t)}function RV(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=eH(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>RV([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return UV(n,r,()=>$V(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return tH(e).includes(t)},ownKeys(e){return tH(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function zV(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:BV(e,r),setContext:t=>zV(e,t,n,r),override:i=>zV(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return UV(e,t,()=>WV(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function BV(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:qz(n)?n:()=>n,isIndexable:qz(r)?r:()=>r}}var VV=(e,t)=>e?e+Gz(t):t,HV=(e,t)=>Ez(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function UV(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function WV(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return qz(s)&&o.isScriptable(t)&&(s=GV(t,s,e,n)),Tz(s)&&s.length&&(s=KV(t,s,e,o.isIndexable)),HV(t,s)&&(s=zV(s,i,a&&a[t],o)),s}function GV(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),HV(e,c)&&(c=XV(i._scopes,i,e,c)),c}function KV(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(Ez(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=XV(r,i,e,c);t.push(zV(n,a,o&&o[e],s))}}return t}function qV(e,t,n){return qz(e)?e(t,n):e}var JV=(e,t)=>e===!0?t:typeof e==`string`?Wz(t,e):void 0;function YV(e,t,n,r,i){for(let a of t){let t=JV(n,a);if(t){e.add(t);let a=qV(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function XV(e,t,n,r){let i=t._rootScopes,a=qV(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=ZV(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=ZV(s,o,a,c,r),c===null)?!1:RV(Array.from(s),[``],i,a,()=>QV(t,n,r))}function ZV(e,t,n,r,i){for(;n;)n=YV(e,t,n,r,i);return n}function QV(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return Tz(i)&&Ez(n)?n:i||{}}function $V(e,t,n,r){let i;for(let a of t)if(i=eH(VV(a,e),n),i!==void 0)return HV(e,i)?XV(n,r,e,i):i}function eH(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function tH(e){let t=e._keys;return t||=e._keys=nH(e._scopes),t}function nH(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function rH(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function sH(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=_B(a,i),c=_B(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function cH(e,t,n){let r=e.length,i,a,o,s,c,l=aH(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)uH(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function vH(e,t){return _H(e).getPropertyValue(t)}var yH=[`top`,`right`,`bottom`,`left`];function bH(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=yH[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var xH=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function SH(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(xH(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function CH(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=_H(n),a=i.boxSizing===`border-box`,o=bH(i,`padding`),s=bH(i,`border`,`width`),{x:c,y:l,box:u}=SH(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function wH(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&hH(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=_H(a),s=bH(o,`border`,`width`),c=bH(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=gH(o.maxWidth,a,`clientWidth`),i=gH(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||$z,maxHeight:i||$z}}var TH=e=>Math.round(e*10)/10;function EH(e,t,n,r){let i=_H(e),a=bH(i,`margin`),o=gH(i.maxWidth,e,`clientWidth`)||$z,s=gH(i.maxHeight,e,`clientHeight`)||$z,c=wH(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=bH(i,`border`,`width`),t=bH(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=TH(Math.min(l,o,c.maxWidth)),u=TH(Math.min(u,s,c.maxHeight)),l&&!u&&(u=TH(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=TH(Math.floor(u*r))),{width:l,height:u}}function DH(e,t,n){let r=t||1,i=TH(e.height*r),a=TH(e.width*r);e.height=TH(e.height),e.width=TH(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var OH=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};mH()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function kH(e,t){let n=vH(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function AH(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function jH(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function MH(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=AH(e,i,n),s=AH(i,a,n),c=AH(a,t,n);return AH(AH(o,s,n),AH(s,c,n),n)}var NH=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},PH=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function FH(e,t,n){return e?NH(t,n):PH()}function IH(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function LH(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function RH(e){return e===`angle`?{between:bB,compare:vB,normalize:yB}:{between:CB,compare:(e,t)=>e-t,normalize:e=>e}}function zH({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function BH(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=RH(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(zH({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(zH({start:g,end:d,loop:f,count:o,style:p})),m}function HH(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function WH(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function GH(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=UH(n,i,a,r);return r===!0?KH(e,[{start:o,end:s,loop:a}],n,t):KH(e,WH(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,MB.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},eU=`transparent`,tU={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=GB(e||eU),i=r.valid&&GB(t||eU);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},nU=class{constructor(e,t,n,r){let i=t[n];r=FV([e.to,r,i,e.from]);let a=FV([e.from,i,r]);this._active=!0,this._fn=e.fn||tU[e.type||typeof a],this._easing=UB[e.easing]||UB.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=FV([e.to,t,r,e.from]),this._from=FV([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!Ez(i))return;let a={};for(let e of t)a[e]=i[e];(Tz(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=aU(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&iU(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new nU(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return $H.add(this._chart,n),!0}};function iU(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function _U(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=pU(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function yU(e,t){return LV(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function bU(e,t,n){return LV(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function xU(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var SU=e=>e===`reset`||e===`none`,CU=(e,t)=>t?e:Object.assign({},e),wU=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:lU(n,!0),values:null},TU=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=fU(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&xU(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=kz(n.xAxisID,vU(e,`x`)),a=t.yAxisID=kz(n.yAxisID,vU(e,`y`)),o=t.rAxisID=kz(n.rAxisID,vU(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&AB(this._data,this),e._stacked&&xU(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(Ez(t)){let e=this._cachedMeta;this._data=dU(t,e)}else if(n!==t){if(n){AB(n,this);let e=this._cachedMeta;xU(e),e._parsed=[]}t&&Object.isExtensible(t)&&kB(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=fU(t.vScale,t),t.stack!==n.stack&&(r=!0,xU(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(_U(this,t._parsed),t._stacked=fU(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length||n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=Tz(r[e])?this.parseArrayData(n,r,e,t):Ez(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(CU(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new rU(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||SU(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){SU(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!SU(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function DU(e){let t=e.iScale,n=EU(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(Kz(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function jU(e,t,n,r){return Tz(e)?AU(e,t,n,r):t[n.axis]=n.parse(e,r),t}function MU(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):aB(e)}function FU(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(wz(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[kz(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;dbB(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>bB(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(tB,u,f),_=m(Xz,l,d),v=m(Xz+tB,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var WU=class extends TU{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(Ez(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Wz(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*Zz:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=$B(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=wz(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},KU=class extends TU{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=$B(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return rH.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*Xz,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?pB(this.resolveDataElementOptions(e,t).angle||n):0}},qU=Object.freeze({__proto__:null,BarController:VU,BubbleController:HU,DoughnutController:WU,LineController:GU,PieController:class extends WU{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:KU,RadarController:class extends TU{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return rH.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function JU(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var YU={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return JU()}parse(){return JU()}format(){return JU()}add(){return JU()}diff(){return JU()}startOf(){return JU()}endOf(){return JU()}}};function XU(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?EB:TB;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!wz(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!wz(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function ZU(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var iW={evaluateInteractionItems:ZU,modes:{index(e,t,n,r){let i=CH(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?$U(e,i,a,r,o):nW(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=CH(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?$U(e,i,a,r,o):nW(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function sW(e,t){return e.filter(e=>aW.indexOf(e.pos)===-1&&e.box.axis===t)}function cW(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function lW(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=cW(oW(t,`left`),!0),i=cW(oW(t,`right`)),a=cW(oW(t,`top`),!0),o=cW(oW(t,`bottom`)),s=sW(t,`x`),c=sW(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:oW(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function pW(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function mW(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function hW(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!Ez(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&mW(o,a.getPadding());let s=Math.max(0,t.outerWidth-pW(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-pW(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function gW(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function _W(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function vW(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);mW(f,NV(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=dW(c.concat(l),d);vW(s.fullSize,p,d,m),vW(c,p,d,m),vW(l,p,d,m)&&vW(c,p,d,m),gW(p),bW(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,bW(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Nz(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},SW=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},CW=class extends SW{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},wW=`$chartjs`,TW={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},EW=e=>e===null||e===``;function DW(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[wW]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,EW(i)){let t=kH(e,`width`);t!==void 0&&(e.width=t)}if(EW(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=kH(e,`height`);t!==void 0&&(e.height=t)}return e}var OW=OH?{passive:!0}:!1;function kW(e,t,n){e&&e.addEventListener(t,n,OW)}function AW(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,OW)}function jW(e,t){let n=TW[e.type]||e.type,{x:r,y:i}=CH(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function MW(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function NW(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=MW(n.addedNodes,r),t&&=!MW(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function PW(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=MW(n.removedNodes,r),t&&=!MW(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var FW=new Map,IW=0;function LW(){let e=window.devicePixelRatio;e!==IW&&(IW=e,FW.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function RW(e,t){FW.size||window.addEventListener(`resize`,LW),FW.set(e,t)}function zW(e){FW.delete(e),FW.size||window.removeEventListener(`resize`,LW)}function BW(e,t,n){let r=e.canvas,i=r&&hH(r);if(!i)return;let a=NB((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),RW(e,a),o}function VW(e,t,n){n&&n.disconnect(),t===`resize`&&zW(e)}function HW(e,t,n){let r=e.canvas,i=NB(t=>{e.ctx!==null&&n(jW(t,e))},e);return kW(r,t,i),i}var UW=class extends SW{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(DW(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[wW])return!1;let n=t[wW].initial;[`height`,`width`].forEach(e=>{let r=n[e];wz(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[wW],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:NW,detach:PW,resize:BW}[t]||HW)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:VW,detach:VW,resize:VW}[t]||AW)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return EH(e,t,n,r)}isAttached(e){let t=e&&hH(e);return!!(t&&t.isConnected)}};function WW(e){return!mH()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?CW:UW}var GW=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return uB(this.x)&&uB(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function KW(e,t){let n=e.options.ticks,r=qW(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?YW(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return XW(t,l,a,o/i),l;let u=JW(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(ZW(t,l,u,wz(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function YW(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,eG=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,tG=(e,t)=>Math.min(t||e,e);function nG(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function iG(e,t){Nz(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:Oz(t,Oz(n,t)),max:Oz(n,Oz(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Mz(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=IV(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=xB(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-aG(e.grid)-t.padding-oG(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=mB(Math.min(Math.asin(xB((l.highest.height+6)/o,-1,1)),Math.asin(xB(s/c,-1,1))-Math.asin(xB(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Mz(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Mz(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=oG(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=aG(i)+a):(e.height=this.maxHeight,e.width=aG(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=pB(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Mz(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return SB(this._alignToPixels?fV(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=aG(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return fV(n,e,p)},g,_,v,y,b,x,S,C,w,ee,te,ne;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,ee=h(e.top)+m,ne=e.bottom;else if(a===`bottom`)g=h(this.top),ee=e.top,ne=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,te=e.right;else if(a===`right`)g=h(this.left),w=e.left,te=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(Ez(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}ee=e.top,ne=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(Ez(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,te=e.right}let re=kz(r.ticks.maxTicksLimit,l),ie=Math.max(1,Math.ceil(l/re));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:ne,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:re,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-pB(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);cV.route(a,i,c,s)})}function hG(e){return`id`in e&&`defaults`in e}var gG=new class{constructor(){this.controllers=new fG(TU,`datasets`,!0),this.elements=new fG(GW,`elements`),this.plugins=new fG(Object,`plugins`),this.scales=new fG(dG,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Nz(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=Gz(e);Mz(n[`before`+r],[],n),t[e](n),Mz(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function vG(e){let t={},n=[],r=Object.keys(gG.plugins.items);for(let e=0;e1&&TG(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function OG(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function kG(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return OG(e,`x`,n[0])||OG(e,`y`,n[0])}return{}}function AG(e,t){let n=iV[e.type]||{scales:{}},r=t.scales||{},i=SG(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!Ez(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=DG(t,o,kG(t,e),cV.scales[o.type]),c=wG(s,i),l=n.scales||{};a[t]=zz(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||SG(i,t),s=(iV[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=CG(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),zz(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];zz(t,[cV.scales[t.type],cV.scale])}),a}function jG(e){let t=e.options||={};t.plugins=kz(t.plugins,{}),t.scales=AG(e,t)}function MG(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function NG(e){return e||={},e.data=MG(e.data),jG(e),e}var PG=new Map,FG=new Set;function IG(e,t){let n=PG.get(e);return n||(n=t(),PG.set(e,n),FG.add(n)),n}var LG=(e,t,n)=>{let r=Wz(t,n);r!==void 0&&e.add(r)},RG=class{constructor(e){this._config=NG(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=MG(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),jG(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return IG(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return IG(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return IG(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return IG(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>LG(s,e,t))),t.forEach(e=>LG(s,r,e)),t.forEach(e=>LG(s,iV[i]||{},e)),t.forEach(e=>LG(s,cV,e)),t.forEach(e=>LG(s,aV,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),FG.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,iV[t]||{},cV.datasets[t]||{},{type:t},cV,aV]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=zG(this._resolverCache,e,r),s=a;if(VG(a,t)){i.$shared=!1,n=qz(n)?n():n;let t=this.createResolver(e,n,o);s=zV(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=zG(this._resolverCache,e,n);return Ez(t)?zV(i,t,void 0,r):i}};function zG(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:RV(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var BG=e=>Ez(e)&&Object.getOwnPropertyNames(e).some(t=>qz(e[t]));function VG(e,t){let{isScriptable:n,isIndexable:r}=BV(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(qz(o)||BG(o))||a&&Tz(o))return!0}return!1}var HG=`4.5.1`,UG=[`top`,`bottom`,`left`,`right`,`chartArea`];function WG(e,t){return e===`top`||e===`bottom`||UG.indexOf(e)===-1&&t===`x`}function GG(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function KG(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),Mz(n&&n.onComplete,[e],t)}function qG(e){let t=e.chart,n=t.options.animation;Mz(n&&n.onProgress,[e],t)}function JG(e){return mH()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var YG={},XG=e=>{let t=JG(e);return Object.values(YG).filter(e=>e.canvas===t).pop()};function ZG(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function QG(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var $G=class{static defaults=cV;static instances=YG;static overrides=iV;static registry=gG;static version=HG;static getChart=XG;static register(...e){gG.add(...e),eK()}static unregister(...e){gG.remove(...e),eK()}constructor(e,t){let n=this.config=new RG(t),r=JG(e),i=XG(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(WW(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Cz(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new _G,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=PB(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],YG[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}$H.listen(this,`complete`,KG),$H.listen(this,`progress`,qG),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return wz(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return gG}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():DH(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return pV(this.canvas,this.ctx),this}stop(){return $H.stop(this),this}resize(e,t){$H.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,DH(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),Mz(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Nz(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=DG(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),Nz(i,t=>{let i=t.options,a=i.id,o=DG(a,i),s=kz(i.type,t.dtype);(i.position===void 0||WG(i.position,o)!==WG(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(gG.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),Nz(r,(e,t)=>{e||delete n[t]}),Nz(n,e=>{xW.configure(this,e,e.options),xW.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(GG(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Nz(this.scales,e=>{xW.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!Jz(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)ZG(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;xW.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Nz(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=QH(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&_V(t,r),e.controller.draw(),r&&vV(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return gV(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=iW.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=LV(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);Kz(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),$H.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Nz(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){Nz(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Nz(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Pz(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Yz(e),c=QG(e,this._lastEvent,n,s);n&&(this._lastEvent=null,Mz(i.onHover,[e,o,this],this),s&&Mz(i.onClick,[e,o,this],this));let l=!Pz(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function eK(){return Nz($G.instances,e=>e._plugins.invalidate())}function tK(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,yB(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,yB(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*yB(r-n));if(u===`round`)e.arc(i,a,t,n-Xz/2,r+Xz/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+Xz/2)+i,c=-o*Math.sin(n+Xz/2)+a,l=o*Math.cos(r+Xz/2)+i,u=o*Math.sin(r+Xz/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function nK(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+tB,r-tB),e.closePath(),e.clip()}function rK(e){return AV(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function iK(e,t,n,r){let i=rK(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return xB(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:xB(i.innerStart,0,o),innerEnd:xB(i.innerEnd,0,o)}}function aK(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function oK(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/Xz)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=iK(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,ee=_-y/C,te=f+b,ne=f+x,re=g+b/te,ie=_-x/ne;if(e.beginPath(),a){let t=(w+ee)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,ee),y>0){let t=aK(C,ee,o,s);e.arc(t.x,t.y,y,ee,_+tB)}let n=aK(ne,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=aK(ne,ie,o,s);e.arc(t.x,t.y,x,_+tB,ie+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=aK(te,re,o,s);e.arc(t.x,t.y,b,re+Math.PI,g-tB)}let i=aK(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=aK(S,w,o,s);e.arc(t.x,t.y,v,g-tB,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(ee)*d+o,i=Math.sin(ee)*d+s;e.lineTo(r,i)}e.closePath()}function sK(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){oK(e,t,n,r,c,i);for(let t=0;t=Xz&&p===0&&u!==`miter`&&tK(e,t,h),a||(oK(e,t,n,r,h,i),e.stroke())}var lK=class extends GW{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=gB(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=kz(l,o-a),f=bB(r,a,o)&&a!==o,p=d>=Zz||f,m=CB(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>Zz?Math.floor(n/Zz):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(Xz,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,sK(e,this,s,i,a),cK(e,this,s,i,a),e.restore()}};function uK(e,t,n=t){e.lineCap=kz(n.borderCapStyle,t.borderCapStyle),e.setLineDash(kz(n.borderDash,t.borderDash)),e.lineDashOffset=kz(n.borderDashOffset,t.borderDashOffset),e.lineJoin=kz(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=kz(n.borderWidth,t.borderWidth),e.strokeStyle=kz(n.borderColor,t.borderColor)}function dK(e,t,n){e.lineTo(n.x,n.y)}function fK(e){return e.stepped?yV:e.tension||e.cubicInterpolationMode===`monotone`?bV:dK}function pK(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function gK(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?hK:mK}function _K(e){return e.stepped?jH:e.tension||e.cubicInterpolationMode===`monotone`?MH:AH}function vK(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),uK(e,t.options),e.stroke(i)}function yK(e,t,n,r){let{segments:i,options:a}=t,o=gK(t);for(let s of i)uK(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var bK=typeof Path2D==`function`;function xK(e,t,n,r){bK&&!t.options.segment?vK(e,t,n,r):yK(e,t,n,r)}var SK=class extends GW{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;pH(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=GH(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=HH(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=_K(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function LK(e){return FK[e%FK.length]}function RK(e){return IK[e%IK.length]}function zK(e,t){return e.borderColor=LK(t),e.backgroundColor=RK(t),++t}function BK(e,t){return e.backgroundColor=e.data.map(()=>LK(t++)),t}function VK(e,t){return e.backgroundColor=e.data.map(()=>RK(t++)),t}function HK(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof WU?t=BK(n,t):i instanceof KU?t=VK(n,t):i&&(t=zK(n,t))}}function UK(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function WK(e){return e&&(e.borderColor||e.backgroundColor)}function GK(){return cV.borderColor!==`rgba(0,0,0,0.1)`||cV.backgroundColor!==`rgba(0,0,0,0.1)`}var KK={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=UK(r)||WK(i)||a&&UK(a)||GK();if(!n.forceOverride&&o)return;let s=HK(e);r.forEach(s)}};function qK(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function JK(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!wz(d)&&!wz(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function YK(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function XK(e){e.data.datasets.forEach(e=>{YK(e)})}function ZK(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=xB(TB(t,a.axis,o).lo,0,n-1)),i=l?xB(TB(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var QK={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){XK(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(FV([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=ZK(s,c);if(d<=(n.threshold||4*r)){YK(t);return}wz(a)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=qK(c,u,d,r,n);break;case`min-max`:f=JK(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){XK(e)}};function $K(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=nq(r,s,i);let c=eq(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=HH(t,c);for(let t of l){let r=eq(n,a[t.start],a[t.end],t.loop),s=VH(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:rq(c,r,`start`,Math.max)},end:{[n]:rq(c,r,`end`,Math.min)}})}}return o}function eq(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=yB(i),a=yB(a)),{property:e,start:i,end:a}}function tq(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=nq(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function nq(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function rq(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function iq(e,t){let n=[],r=!1;return Tz(e)?(r=!0,n=e):n=tq(e,t),n.length?new SK({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function aq(e){return e&&e.fill!==!1}function oq(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Dz(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function sq(e,t,n){let r=dq(e);if(Ez(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return Dz(i)&&Math.floor(i)===i?cq(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function cq(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function lq(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:Ez(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function uq(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:Ez(e)?e.value:t.getBaseValue(),r}function dq(e){let t=e.options,n=t.fill,r=kz(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function fq(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=pq(t,n);s.push(iq({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Sq(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;aq(n)&&Sq(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!aq(r)||n.drawTime!==`beforeDatasetDraw`||Sq(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Aq=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},jq=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Mq=class extends GW{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=Mz(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=PV(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Aq(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=Nq(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=FH(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=IB(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=IB(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=IB(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=IB(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;_V(e,this),this._draw(),vV(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=cV.color,s=FH(e.rtl,this.left,this.width),c=PV(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Aq(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=kz(n.lineWidth,1);if(r.fillStyle=kz(n.fillStyle,o),r.lineCap=kz(n.lineCap,`butt`),r.lineDashOffset=kz(n.lineDashOffset,0),r.lineJoin=kz(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=kz(n.strokeStyle,o),r.setLineDash(kz(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;hV(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=MV(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?TV(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){wV(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:IB(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:IB(i,this.top+y+l,this.bottom-t[0].height),line:0},IH(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=IB(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=IB(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=LB(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Iq(o,e)+l}else f.y+=b}),LH(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=PV(t.font),r=NV(t.padding);if(!t.display)return;let i=FH(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=IB(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+IB(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=IB(o,u,u+d);a.textAlign=i.textAlign(FB(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,wV(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=PV(e.font),n=NV(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(CB(e,this.left,this.right)&&CB(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function Fq(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Iq(t,n)),r}function Iq(e,t){return t*(e.text?e.text.length:0)}function Lq(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var Rq={id:`legend`,_element:Mq,start(e,t,n){let r=e.legend=new Mq({ctx:e.ctx,options:n,chart:e});xW.configure(e,r,n),xW.addBox(e,r)},stop(e){xW.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;xW.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=NV(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},zq=class extends GW{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=Tz(n.text)?n.text.length:1;this._padding=NV(n.padding);let i=r*PV(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=IB(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=IB(o,r,t),s=Xz*-.5):(l=i-e,u=IB(o,t,r),s=Xz*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=PV(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);wV(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:FB(t.align),textBaseline:`middle`,translation:[i,a]})}};function Bq(e,t){let n=new zq({ctx:e.ctx,options:t,chart:e});xW.configure(e,n,t),xW.addBox(e,n),e.titleBlock=n}var Vq={id:`title`,_element:zq,start(e,t,n){Bq(e,n)},stop(e){let t=e.titleBlock;xW.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;xW.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Hq=new WeakMap,Uq={id:`subtitle`,start(e,t,n){let r=new zq({ctx:e.ctx,options:n,chart:e});xW.configure(e,r,n),xW.addBox(e,r),Hq.set(e,r)},stop(e){xW.removeBox(e,Hq.get(e)),Hq.delete(e)},beforeUpdate(e,t,n){let r=Hq.get(e);xW.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Wq={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a-1?e.split(` +`):e}function qq(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Jq(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=PV(t.bodyFont),l=PV(t.titleFont),u=PV(t.footerFont),d=a.length,f=i.length,p=r.length,m=NV(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,Nz(e.title,y),n.font=c.string,Nz(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,Nz(r,e=>{Nz(e.before,y),Nz(e.lines,y),Nz(e.after,y)}),v=0,n.font=u.string,Nz(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Yq(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Xq(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function Zq(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),Xq(l,e,t,n)&&(l=`center`),l}function Qq(e,t,n){let r=n.yAlign||t.yAlign||Yq(e,n);return{xAlign:n.xAlign||t.xAlign||Zq(e,t,n,r),yAlign:r}}function $q(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function eJ(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function tJ(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=MV(o),m=$q(t,s),h=eJ(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:xB(m,0,r.width-t.width),y:xB(h,0,r.height-t.height)}}function nJ(e,t,n){let r=NV(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function rJ(e){return Gq([],Kq(e))}function iJ(e,t,n){return LV(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function aJ(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var oJ={beforeTitle:Sz,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=aJ(n,e);Gq(t.before,Kq(sJ(i,`beforeLabel`,this,e))),Gq(t.lines,sJ(i,`label`,this,e)),Gq(t.after,Kq(sJ(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return rJ(sJ(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=sJ(n,`beforeFooter`,this,e),i=sJ(n,`footer`,this,e),a=sJ(n,`afterFooter`,this,e),o=[];return o=Gq(o,Kq(r)),o=Gq(o,Kq(i)),o=Gq(o,Kq(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),Nz(o,t=>{let n=aJ(e.callbacks,t);r.push(sJ(n,`labelColor`,this,t)),i.push(sJ(n,`labelPointStyle`,this,t)),a.push(sJ(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=Wq[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=Jq(this,n),o=Object.assign({},e,t),s=Qq(this.chart,n,o),c=tJ(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=MV(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=FH(n.rtl,this.x,this.width);for(e.x=nJ(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=PV(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,TV(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),TV(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=PV(n.bodyFont),d=u.lineHeight,f=0,p=FH(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=nJ(this,h,n),t.fillStyle=n.bodyColor,Nz(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=Wq[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Jq(this,e),o=Object.assign({},n,this._size),s=Qq(t,e,o),c=tJ(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=NV(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),IH(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),LH(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!Pz(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!Pz(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=Wq[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},lJ=Object.freeze({__proto__:null,Colors:KK,Decimation:QK,Filler:kq,Legend:Rq,SubTitle:Uq,Title:Vq,Tooltip:{id:`tooltip`,_element:cJ,positioners:Wq,afterInit(e,t,n){n&&(e.tooltip=new cJ({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:oJ},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),uJ=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function dJ(e,t,n,r){let i=e.indexOf(t);return i===-1?uJ(e,t,n,r):i===e.lastIndexOf(t)?i:n}var fJ=(e,t)=>e===null?null:xB(Math.round(e),0,t);function pJ(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function hJ(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!wz(a),_=!wz(o),v=!wz(c),y=(h-m)/(u+1),b=sB((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=sB(w*b/p/f)*f),wz(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&dB((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=oB(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let ee=Math.max(hB(b),hB(S));x=10**(wz(s)?ee:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let te=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&C!==o?n.length&&oB(n[n.length-1].value,o,gJ(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function gJ(e,t,{horizontal:n,minRotation:r}){let i=pB(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var _J=class extends dG{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return wz(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=aB(r),t=aB(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=hJ({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&fB(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return $B(e,this.chart.options.locale,this.options.ticks.format)}},vJ=class extends _J{static id=`linear`;static defaults={ticks:{callback:nV.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Dz(e)?e:0,this.max=Dz(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=pB(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},yJ=e=>Math.floor(iB(e)),bJ=(e,t)=>10**(yJ(e)+t);function xJ(e){return e/10**yJ(e)==1}function SJ(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function CJ(e,t){let n=yJ(t-e);for(;SJ(e,t,n)>10;)n++;for(;SJ(e,t,n)<10;)n--;return Math.min(n,yJ(e))}function wJ(e,{min:t,max:n}){t=Oz(e.min,t);let r=[],i=yJ(t),a=CJ(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=Oz(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=Oz(e.max,f);return r.push({value:p,major:xJ(p),significand:d}),r}var TJ=class extends dG{static id=`logarithmic`;static defaults={ticks:{callback:nV.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=_J.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return Dz(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Dz(e)?Math.max(0,e):null,this.max=Dz(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Dz(this._userMin)&&(this.min=e===bJ(this.min,0)?bJ(this.min,-1):bJ(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(bJ(n,-1)),a(bJ(r,1)))),n<=0&&i(bJ(r,-1)),r<=0&&a(bJ(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=wJ({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&fB(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:$B(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=iB(e),this._valueRange=iB(this.max)-iB(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(iB(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function EJ(e){let t=e.ticks;if(t.display&&e.display){let e=NV(t.backdropPadding);return kz(t.font&&t.font.size,cV.font.size)+e.height}return 0}function DJ(e,t,n){return n=Tz(n)?n:[n],{w:dV(e,t.string,n),h:n.length*t.lineHeight}}function OJ(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function kJ(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?Xz/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function jJ(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(mB(yB(c.angle+tB))),u=IJ(c.y,s.h,l),d=PJ(l),f=FJ(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function MJ(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(gV({x:n,y:r},t)||gV({x:n,y:a},t)||gV({x:i,y:r},t)||gV({x:i,y:a},t))}function NJ(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:EJ(a)/2,additionalAngle:o?Xz/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function LJ(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!wz(s)){let n=MV(t.borderRadius),c=NV(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),TV(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function RJ(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));LJ(n,a,t);let o=PV(a.font),{x:s,y:c,textAlign:l}=t;wV(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function zJ(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Zz);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=Mz(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?kJ(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=Zz/(this._pointLabels.length||1),n=this.options.startAngle||0;return yB(e*t+pB(n))}getDistanceFromCenterForValue(e){if(wz(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(wz(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);BJ(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=PV(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=NV(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}wV(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},UJ={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},WJ=Object.keys(UJ);function GJ(e,t){return e-t}function KJ(e,t){if(wz(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),Dz(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(uB(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function qJ(e,t,n,r){let i=WJ.length;for(let a=WJ.indexOf(e);a=WJ.indexOf(n);a--){let n=WJ[a];if(UJ[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return WJ[n?WJ.indexOf(n):0]}function YJ(e){for(let t=WJ.indexOf(e)+1,n=WJ.length;t=t?n[r]:n[i];e[a]=!0}}function ZJ(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function QJ(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=xB(t,0,a),n=xB(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||qJ(i.minUnit,t,n,this._getLabelCapacity(t)),o=kz(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=uB(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return Mz(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=TB(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=TB(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var tY=class extends $J{static id=`timeseries`;static defaults=$J.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=eY(t,this.min),this._tableRange=eY(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(eY(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return eY(this._table,n*this._tableRange+this._minPos,!0)}},nY=[qU,PK,lJ,Object.freeze({__proto__:null,CategoryScale:mJ,LinearScale:vJ,LogarithmicScale:TJ,RadialLinearScale:HJ,TimeScale:$J,TimeSeriesScale:tY})];$G.register(...nY);var rY=$G,iY=R(``);function aY(e,t){E(t,!0);let n=G(t,`class`,3,``),r=G(t,`ariaLabel`,3,``),i=k(null),a=null;Mn(()=>{if(uI.tick,!I(i)||typeof t.build!=`function`)return;let e=t.build();if(!e){a&&=(a.destroy(),null);return}return a&&=(a.destroy(),null),a=new rY(I(i).getContext(`2d`),e),()=>{a&&=(a.destroy(),null)}});var o=iY();pa(o,e=>A(i,e),()=>I(i)),F(()=>{U(o,1,Mi(n())),W(o,`aria-label`,r())}),z(e,o),D()}var oY=R(``),sY=R(`
`);function cY(e,t){E(t,!0);let n=G(t,`options`,19,()=>[]),r=G(t,`ariaLabel`,3,``),i=G(t,`class`,3,``);var a=sY();H(a,21,n,e=>e.value,(e,n)=>{var r=oY();let i;var a=M(r,!0);T(r),F(()=>{i=U(r,1,`segmented-btn svelte-92fh5i`,null,i,{active:t.value===I(n).value}),W(r,`aria-pressed`,t.value===I(n).value),B(a,I(n).label)}),L(`click`,r,()=>t.onchange?.(I(n).value)),z(e,r)}),T(a),F(()=>{U(a,1,`segmented-control ${i()??``}`,`svelte-92fh5i`),W(a,`aria-label`,r())}),z(e,a),D()}Hr([`click`]);function lY(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}function uY(){return{grid:lY(`--chart-grid`),text:lY(`--chart-text`),dayMarker:lY(`--chart-day-marker`),tooltipBg:lY(`--chart-tooltip-bg`),tooltipBorder:lY(`--chart-tooltip-border`),tooltipText:lY(`--chart-tooltip-text`)}}function dY(){return{size:11,family:`'SF Mono', Menlo, Consolas, monospace`}}function fY(e,t){return{backgroundColor:e.tooltipBg,borderColor:e.tooltipBorder,borderWidth:1,titleColor:e.tooltipText,bodyColor:e.tooltipText,callbacks:t}}function pY(e){if(typeof document>`u`||!document.body)return e;let t=document.createElement(`span`);t.style.display=`none`,t.style.color=e,document.body.appendChild(t);let n=getComputedStyle(t).color;return document.body.removeChild(t),n||e}var mY=[`#c2845a`,`#7a9e7e`,`#d4a574`,`#b8a98e`,`#8b9e6b`,`#7d8a97`,`#c47a5a`,`#6b8e6b`,`#a09486`,`#9b7ea4`,`#c49a6c`];function hY(){return[...mY]}function gY(e){let t=5381,n=String(e||``);for(let e=0;ezL(e)}}var yY={seconds:{apiName:`second`,windowLabel:`Last 60 seconds`,refreshMs:2e3},minutes:{apiName:`minute`,windowLabel:`Last 60 minutes`,refreshMs:5e3},hours:{apiName:`hour`,windowLabel:`Last 24 hours`,refreshMs:2e4},days:{apiName:`day`,windowLabel:`Last 30 days`,refreshMs:6e4}},bY=[{value:`seconds`,label:`Seconds`},{value:`minutes`,label:`Minutes`},{value:`hours`,label:`Hours`},{value:`days`,label:`Days`}];function xY(){return{input:0,output:0,prompt:0,local:0}}function SY(e){return String(e).padStart(2,`0`)}function CY(e){let t=Number(e);return Number.isFinite(t)&&t>0?t:0}function wY(e,t){if(!Number.isFinite(t))return``;let n=new Date(t);switch(e){case`seconds`:return SY(n.getHours())+`:`+SY(n.getMinutes())+`:`+SY(n.getSeconds());case`minutes`:return SY(n.getHours())+`:`+SY(n.getMinutes());case`hours`:return SY(n.getHours())+`:00`;default:return SY(n.getMonth()+1)+`-`+SY(n.getDate())}}function TY(e,t){let n=[],r=[],i={input:[],output:[],prompt:[],local:[]},a=xY();for(let o of e||[]){let e=Date.parse(o&&o.start),s=CY(o&&o.input_tokens),c=CY(o&&o.output_tokens),l=CY(o&&o.prompt_cached_tokens),u=CY(o&&o.locally_cached_tokens);n.push(wY(t,e)),r.push(Number.isFinite(e)?e:null),i.input.push(s),i.output.push(c),i.prompt.push(l),i.local.push(u),a.input+=s,a.output+=c,a.prompt+=l,a.local+=u}return{labels:n,stamps:r,cols:i,totals:a}}function EY(e){let t=e||xY();return t.input+t.output+t.prompt+t.local>0}function DY(e,t){return zL(Math.max(0,Math.round(e&&e[t]||0)))}function OY(e){return(yY[e]||yY.minutes).windowLabel}function kY(e,t){return`Live token throughput, `+OY(t).toLowerCase()+`. Input `+DY(e,`input`)+`, output `+DY(e,`output`)+`, prompt cached `+DY(e,`prompt`)+`, locally cached `+DY(e,`local`)+` tokens.`}function AY(e,t,n,r){let i=e=>zL(Math.max(0,Math.round(e))),a=n.stamps,o=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderWidth:0,borderRadius:0,categoryPercentage:1,barPercentage:1,stack:`tokens`});return{type:`bar`,plugins:[{id:`liveTokensDayMarks`,afterDatasetsDraw:t=>{if(r===`days`)return;let n=t.getDatasetMeta(0),i=t.chartArea;if(!n||!n.data||!i)return;let o=t.ctx;o.save(),o.font=`10px 'SF Mono', Menlo, Consolas, monospace`;let s=null;for(let t=0;t{if(!e.length)return``;let t=a[e[0].dataIndex];if(!t)return e[0].label;let n=new Date(t);return r===`days`?n.toLocaleDateString():n.toLocaleString()},label:e=>e.dataset.label+`: `+i(e.parsed.y),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+i(t)}})}}}}var jY=900,MY=6,NY=new class{#e=k(`minutes`);get granularity(){return I(this.#e)}set granularity(e){A(this.#e,e,!0)}#t=k(j([]));get buckets(){return I(this.#t)}set buckets(e){A(this.#t,e,!0)}#n=k(!1);get active(){return I(this.#n)}set active(e){A(this.#n,e,!0)}#r=null;#i=null;#a=null;#o=0;#s=null;#c=!1;start(){this.stop(),this.active=!0,this.fetch(),this.#l(),this.#u()}stop(){this.active=!1,this.#r&&=(clearInterval(this.#r),null),this.#i&&=(clearTimeout(this.#i),null),this.#a&&=(clearTimeout(this.#a),null),this.#o=0,this.#s&&=(this.#s.abort(),null),this.buckets=[]}setGranularity(e){!yY[e]||e===this.granularity||(this.granularity=e,this.buckets=[],this.#l(),this.fetch())}#l(){this.#r&&=(clearInterval(this.#r),null);let e=yY[this.granularity]||yY.minutes;this.#r=setInterval(()=>{this.active&&this.fetch()},e.refreshMs)}noteUsageEvent(e){!this.active||e!==`usage.flushed`||(this.#i||=setTimeout(()=>{this.#i=null,this.fetch()},jY))}async fetch(){if(!this.active||this.#c)return;this.#c=!0;let e=this.granularity;try{let t=await qI(`/admin/usage/throughput?granularity=`+(yY[e]||yY.minutes).apiName,{label:`token throughput`});if(t.stale||!t.ok||this.granularity!==e)return;this.buckets=t.data&&Array.isArray(t.data.buckets)?t.data.buckets:[]}catch(e){if(YI(e))return;console.error(`Failed to fetch token throughput:`,e)}finally{this.#c=!1,this.active&&this.granularity!==e&&this.fetch()}}async#u(){await QI.ensureLoaded(),this.active&&QI.liveLogsVisible()&&(typeof ReadableStream>`u`||(this.#s&&this.#s.abort(),this.#s=new AbortController,this.#d(this.#s)))}async#d(e){try{let t=await GI(`/admin/live/logs?types=usage`,{signal:e.signal});if(!t.ok||!t.body||typeof t.body.getReader!=`function`){this.#m();return}this.#o=0,await this.#f(t.body.getReader()),this.#m()}catch(e){if(YI(e))return;console.error(`Live usage stream failed:`,e),this.#m()}}async#f(e){let t=new TextDecoder,n=``;for(;;){let r=await e.read();if(r.done)break;n+=t.decode(r.value,{stream:!0});let i;for(;i=n.match(/\r?\n\r?\n/);){let e=i.index,t=n.slice(0,e);n=n.slice(e+i[0].length),this.#p(t)}}n+=t.decode(),n.trim()&&this.#p(n)}#p(e){let t=String(e||``).split(/\r?\n/),n=[];for(let e of t)e.indexOf(`data:`)===0&&n.push(e.slice(5).trimStart());if(n.length===0)return;let r;try{r=JSON.parse(n.join(` +`))}catch{return}if(!r||typeof r!=`object`)return;let i=String(r.type||``).trim();i.indexOf(`usage.`)===0&&this.noteUsageEvent(i)}#m(){if(!this.active||this.#a)return;let e=Math.min(this.#o+1,MY);this.#o=e;let t=Math.min(3e4,500*2**(e-1));this.#a=setTimeout(()=>{this.#a=null,this.#u()},t)}},PY=R(`
`),FY=R(`
Waiting for live requests…
`),IY=R(`

Live Token Throughput

`);function LY(e,t){E(t,!0);let n=O(()=>TY(NY.buckets,NY.granularity)),r=O(()=>I(n).totals);function i(){return{input:pY(`var(--token-input)`),output:pY(`var(--token-output)`),prompt:pY(`var(--token-prompt)`),local:pY(`var(--token-local)`)}}let a=[{metric:`input`,label:`Input Tokens`,colorVar:`--token-input`},{metric:`output`,label:`Output Tokens`,colorVar:`--token-output`},{metric:`prompt`,label:`Prompt (Input) Cached`,colorVar:`--token-prompt`},{metric:`local`,label:`Locally Cached`,colorVar:`--token-local`}];var o=IY(),s=M(o),c=M(s),l=P(M(c),2),u=M(l);let d;var f=P(u,2),p=M(f,!0);T(f),T(l),T(c),cY(P(c,2),{ariaLabel:`Live token throughput granularity`,get options(){return bY},get value(){return NY.granularity},onchange:e=>NY.setGranularity(e)}),T(s);var m=P(s,2);H(m,21,()=>a,e=>e.metric,(e,t)=>{var n=PY(),i=M(n),a=P(i,2),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(n),F(e=>{zi(i,`background: var(${I(t).colorVar??``})`),B(o,I(t).label),B(c,e)},[()=>DY(I(r),I(t).metric)]),z(e,n)}),T(m);var h=P(m,2),g=M(h);{let e=O(()=>kY(I(r),NY.granularity));aY(g,{get ariaLabel(){return I(e)},build:()=>AY(uY(),i(),I(n),NY.granularity)})}var _=P(g,2),v=e=>{z(e,FY())},y=O(()=>!EY(I(r)));V(_,e=>{I(y)&&e(v)}),T(h),T(o),F(e=>{d=U(u,1,`live-dot`,null,d,{"is-streaming":NY.active}),B(p,e)},[()=>OY(NY.granularity)]),z(e,o),D()}function RY(e){let t=e||{};if(t.total_tokens!==null&&t.total_tokens!==void 0){let e=Number(t.total_tokens);if(Number.isFinite(e))return e}let n=Number(t.total_input_tokens||0),r=Number(t.total_output_tokens||0);return(Number.isFinite(n)?n:0)+(Number.isFinite(r)?r:0)}function zY(e,t){if(!t)return 0;let n=e&&e.summary?e.summary:{},r=Number(n.total_hits||0);return Number.isFinite(r)&&r>0?r:0}function BY(e,t,n){let r=Number(e&&e.total_requests||0);return(Number.isFinite(r)?r:0)+zY(t,n)}function VY(e,t,n){let r=zY(t,n);return r<=0?``:FL(BY(e,t,n)-r)+` to providers + `+FL(r)+` from cache`}function HY(e){let t=e&&e.summary?e.summary:{},n=Number(t.total_input_tokens||0),r=Number(t.total_output_tokens||0);return(Number.isFinite(n)?n:0)+(Number.isFinite(r)?r:0)}function UY(e,t,n){let r=e=>{let t=Number(e||0);return Number.isFinite(t)&&t>0?t:0},i=e||{},a=r(i.uncached_input_tokens),o=r(i.cached_input_tokens),s=r(i.cache_write_input_tokens),c=t&&t.summary?t.summary:{},l=n?r(c.total_input_tokens):0;return[{key:`uncached`,label:`Regular`,tokens:a+s,colorVar:`--cache-meter-uncached`,note:s>0?`Includes `+FL(s)+` cache-write tokens`:``},{key:`prompt`,label:`Prompt cached`,tokens:o,colorVar:`--cache-meter-prompt`,note:`Provider prompt-cache reads`},{key:`local`,label:`Locally cached`,tokens:l,colorVar:`--cache-meter-local`,note:`Served from GoModel response cache`}]}function WY(e,t,n){return UY(e,t,n).reduce((e,t)=>e+t.tokens,0)}function GY(e,t,n){return WY(e,t,n)>0}function KY(e,t,n){let r=UY(e,t,n),i=r.reduce((e,t)=>e+t.tokens,0);if(i<=0)return r.map(e=>Object.assign({},e,{pct:0}));let a=r.map(e=>{let t=e.tokens/i*100,n=Math.floor(t);return Object.assign({},e,{pct:n,remainder:t-n})}),o=100-a.reduce((e,t)=>e+t.pct,0);return a.map((e,t)=>({index:t,remainder:e.remainder,tokens:e.tokens})).filter(e=>e.tokens>0).sort((e,t)=>t.remainder-e.remainder).forEach(e=>{o>0&&(a[e.index].pct+=1,--o)}),a}function qY(e,t,n){return KY(e,t,n).filter(e=>e.tokens>0)}function JY(e){let t=[e.label+`: `+FL(e.tokens)+` input tokens (`+e.pct+`%)`];return e.note&&t.push(e.note),t.join(` +`)}function YY(e){let t=(e||[]).map(e=>e.label+` `+e.pct+`%`);return`Cache breakdown of input tokens — `+(t.length?t.join(`, `):`no data`)}function XY(e){return e.getUTCFullYear()+`-`+String(e.getUTCMonth()+1).padStart(2,`0`)+`-`+String(e.getUTCDate()).padStart(2,`0`)}function ZY(e,t,n,r){if(t!==`daily`||!n||!r)return e;let i={};(e||[]).forEach(e=>{i[e.date]=e});let a=[];for(let e=new Date(n);e<=r;e.setUTCDate(e.getUTCDate()+1)){let t=XY(e);a.push(i[t]||{date:t,input_tokens:0,output_tokens:0,total_tokens:0,requests:0,input_cost:null,output_cost:null,total_cost:null})}return a}function QY(e,t){let n=e=>Number(e)||0,r=e.map(e=>e.date),i=e.map(e=>n(e.uncached_input_tokens)+n(e.cache_write_input_tokens)+n(e.cached_input_tokens)>0?n(e.uncached_input_tokens)+n(e.cache_write_input_tokens):n(e.input_tokens)),a=e.map(e=>n(e.output_tokens)),o=e.map(e=>n(e.cached_input_tokens)),s={};return(t||[]).forEach(e=>{s[e.date]=e}),{labels:r,inputPaid:i,output:a,prompt:o,local:r.map(e=>{let t=s[e];return t?n(t.input_tokens)+n(t.output_tokens):0})}}function $Y(e){let t=e||{},n=Math.max(0,Number(t.uncached_input_tokens)||0),r=Math.max(0,Number(t.cached_input_tokens)||0),i=Math.max(0,Number(t.cache_write_input_tokens)||0),a=n+r+i;return a>0?r/a*100:0}function eX(e){let t=e||{};return(Number(t.uncached_input_tokens)||0)+(Number(t.cached_input_tokens)||0)+(Number(t.cache_write_input_tokens)||0)>0}function tX(e){return eX(e)?Math.round($Y(e))+`%`:`—`}function nX(e,t,n={}){let r=!!n.cacheEnabled,i=n.resolve||(e=>e),a=(e,t)=>i(`color-mix(in srgb, `+e+` `+t+`%, transparent)`),o=(e,t,n,r)=>Object.assign({label:e,data:t,borderColor:n,backgroundColor:n,fill:!1,tension:.3,borderWidth:2,pointRadius:0,pointHoverRadius:4},r||{}),s=[o(`Input Tokens`,t.inputPaid,i(`var(--token-input)`),{fill:`origin`}),o(`Output Tokens`,t.output,i(`var(--token-output)`),{fill:`-1`}),o(`Prompt (Input) Cached`,t.prompt,i(`var(--token-prompt)`),{fill:`-1`,borderDash:[6,4]})];return r&&s.push(o(`Locally Cached`,t.local,a(`var(--info)`,35),{fill:`-1`,borderDash:[2,3]})),{type:`line`,data:{labels:t.labels,datasets:s},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:fY(e,{label:e=>e.dataset.label+`: `+e.parsed.y.toLocaleString(),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+t.toLocaleString()}})},scales:{x:{stacked:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:dY(),maxRotation:0,autoSkip:!0,maxTicksLimit:10}},y:{stacked:!0,beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:vY(e)}}}}}function rX(e,t,n){let r=Math.max(0,Math.min(100,e));return{type:`doughnut`,data:{datasets:[{data:[r,100-r],backgroundColor:[t,n],borderWidth:0,spacing:0}]},options:{rotation:-90,circumference:180,cutout:`84%`,responsive:!0,maintainAspectRatio:!1,animation:{duration:0},layout:{padding:1},events:[],plugins:{legend:{display:!1},tooltip:{enabled:!1}}}}}var iX=`gomodel_provider_status_details_expanded`,aX=`gomodel_provider_card_expanded_overrides`,oX=3e3,sX=`https://gomodel.enterpilot.io/docs/providers/`,cX={anthropic:`anthropic`,azure:`azure`,bailian:`bailian`,bedrock:`bedrock`,"bedrock-mantle":`bedrock-mantle`,cohere:`cohere`,deepseek:`deepseek`,gemini:`gemini`,opencode_go:`opencode-go`,oracle:`oracle`,vertex:`vertex`,vllm:`vllm`,xiaomi:`xiaomi`};function lX(){return{summary:{total:0,healthy:0,degraded:0,unhealthy:0,overall_status:`degraded`},providers:[]}}function uX(e){let t={detailsExpanded:!1,cardOverrides:{}};try{if(e){let n=e.getItem(iX);n===`true`||n===`false`?t.detailsExpanded=n===`true`:e.setItem(iX,`false`);let r=JSON.parse(e.getItem(aX)||`{}`);r&&typeof r==`object`&&!Array.isArray(r)&&(t.cardOverrides=r)}}catch{}return t}function dX(e,t){if(e)try{e.setItem(iX,t?`true`:`false`)}catch{}}function fX(e,t){if(e)try{e.setItem(aX,JSON.stringify(t))}catch{}}function pX(e,t,n){let r=n&&n.name?String(n.name):``;return r&&Object.prototype.hasOwnProperty.call(e,r)?e[r]===!0:t}function mX(e){return`is-`+(String(e&&e.overall_status||`degraded`).trim()||`degraded`)}function hX(e){return`is-`+(String(e||`degraded`).trim()||`degraded`)}function gX(e){let t=e||{};return String(t.healthy||0)+`/`+String(t.total||0)}function _X(e){let t=e||{},n=Number(t.total||0),r=Number(t.healthy||0);return n>0&&rString(e&&e.status_label||``).trim().toLowerCase()===`starting`)}function bX(e){if(!e||!e.runtime)return``;let t=e.runtime.last_model_fetch_at||``,n=e.runtime.last_availability_check_at||``;return t?n&&Date.parse(n)>Date.parse(t)?n:t:n}function xX(e,t){let n=bX(e);if(!n||typeof t!=`function`)return`-`;let r=t(n);if(!r||r===`-`)return`-`;let i=String(r).split(` `);return i.length>1?i.slice(1).join(` `):r}function SX(e,t){let n=bX(e);return n?typeof t==`function`?t(n):String(n):``}function CX(e){if(!e)return``;let t=String(e.name||``).trim(),n=String(e.type||e.config&&e.config.type||``).trim();return!n||n===t?``:n}function wX(e){let t=String(e&&(e.type||e.config&&e.config.type)||``).trim().toLowerCase(),n=t?cX[t]:``;return n?sX+n+`?utm_source=gomodel_dashboard`:``}function TX(e){let t=e&&e.config&&e.config.resilience?e.config.resilience.retry:null;return t?String(t.max_retries)+` retries, `+t.initial_backoff+` initial, `+t.max_backoff+` max, factor `+t.backoff_factor+`, jitter `+t.jitter_factor:`-`}function EX(e){let t=e&&e.config&&e.config.resilience?e.config.resilience.circuit_breaker:null;return t?String(t.failure_threshold)+` fail, `+String(t.success_threshold)+` success, `+t.timeout+` timeout`:`-`}function DX(e){let t=e&&e.config&&Array.isArray(e.config.models)?e.config.models.filter(Boolean):[];return t.length===0?`Automatic`:t.join(`, `)}function OX(e){if(!e)return``;let t=[];return e.status_reason&&t.push(String(e.status_reason)),e.last_error&&t.push(`Last error: `+String(e.last_error)),t.join(` + +`)}function kX(e){let t=e&&e.request_health;return t&&typeof t==`object`?t:null}function AX(e){let t=kX(e);return t?String(t.circuit_state||``).trim():``}function jX(e){let t=AX(e);return t?t.charAt(0).toUpperCase()+t.slice(1):``}function MX(e){let t=AX(e);return t===`open`?`is-unhealthy`:t===`half-open`?`is-degraded`:`is-healthy`}function NX(e){let t=kX(e);if(!t)return``;let n=Number(t.requests||0),r=Number(t.errors||0),i=Math.round(Number(t.window_seconds||0)/60),a=i>0?`last `+i+` min`:`recent`;return String(n)+` request`+(n===1?``:`s`)+` · `+String(r)+` error`+(r===1?``:`s`)+` (`+a+`)`}function PX(e){let t=kX(e);return t&&Array.isArray(t.models)?t.models:[]}function FX(e){return e?String(Number(e.errors||0))+`/`+String(Number(e.requests||0))+` failed`:``}function IX(e){let t=e&&e.last_error;return!t||!t.message?``:(t.status_code?`HTTP `+String(t.status_code)+`: `:``)+t.message}function LX(){return{name:``,slug:``,url:``,transport:`http`,description:``,enabled:!0,headers:[],allowed_tools:``,disallowed_tools:``,user_paths:``,tool_timeout_seconds:``}}function RX(){return{server:``,status:``,instructions:``,tools:[],prompts:[],resources:[],templates:[]}}function zX(e){return String(e&&(e.slug||e.name)||``).trim()}function BX(e){return String(e&&e.status||``).trim()||`connecting`}function VX(e){switch(BX(e)){case`connected`:return`status-success`;case`degraded`:return String(e&&e.last_error||``).trim()?`status-error`:`status-warning`;case`connecting`:return`status-neutral`;default:return`status-unknown`}}function HX(e,t){let n=BX(e),r=String(e&&e.last_error||``).trim();return r&&n!==`connected`?r:n===`connected`&&e&&e.connected_at?`Connected since `+(typeof t==`function`?t:String)(e.connected_at):``}function UX(e){return String(e&&e.transport||``)===`stdio`?`local command`:String(e&&e.url||``).trim()||`—`}function WX(e){let t=Number(e&&e.prompt_count||0),n=Number(e&&e.resource_count||0);return t+` prompts · `+n+` resources`}function GX(e){let t=String(e||``).normalize(`NFKD`).toLowerCase(),n=t.replace(/[\u0300-\u036f]/g,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``).slice(0,64).replace(/-+$/g,``);if(n)return n;let r=2166136261;for(let e of t)r=Math.imul((r^e.codePointAt(0))>>>0,16777619)>>>0;return`mcp-`+r.toString(16).padStart(8,`0`)}function KX(e){return String(e||``).split(` +`).map(e=>e.trim()).filter(e=>e)}function qX(e){return!e||typeof e!=`object`||Array.isArray(e)?[]:Object.keys(e).sort().map(t=>({name:t,value:String(e[t]||``)}))}function JX(e){let t={};return(Array.isArray(e)?e:[]).forEach(e=>{let n=String(e&&e.name||``).trim();n&&(t[n]=String(e&&e.value||``))}),t}function YX(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.slug,e.url,e.transport,e.description,e.status].some(e=>String(e||``).toLowerCase().includes(r)))}function XX(e){return{name:String(e.name||``).trim(),slug:zX(e),url:String(e.url||``).trim(),transport:e.transport===`sse`?`sse`:`http`,description:String(e.description||``).trim(),enabled:e.enabled!==!1,headers:qX(e.headers),allowed_tools:(Array.isArray(e.allowed_tools)?e.allowed_tools:[]).join(`, `),disallowed_tools:(Array.isArray(e.disallowed_tools)?e.disallowed_tools:[]).join(`, `),user_paths:(Array.isArray(e.user_paths)?e.user_paths:[]).join(` +`),tool_timeout_seconds:e.tool_timeout_seconds?String(e.tool_timeout_seconds):``}}function ZX(e,t,n){let r=String(e.name||``).trim(),i=String(e.slug||GX(r)).trim().toLowerCase(),a=String(e.url||``).trim(),o=e.transport===`sse`?`sse`:`http`;if(!r)return{error:`Name is required.`};if(!/^[a-z0-9][a-z0-9_-]{0,63}$/.test(i))return{error:`Slug must use 1–64 lowercase ASCII letters, numbers, hyphens, or underscores.`};if(t===`create`&&(n||[]).some(e=>zX(e)===i))return{error:`Slug "`+i+`" is already in use.`};if(!a)return{error:`URL is required.`};let s,c=String(e.tool_timeout_seconds||``).trim();if(c!==``){let e=Number(c);if(!Number.isSafeInteger(e)||e<0)return{error:`Tool timeout must be a non-negative whole number of seconds.`};s=e}return{payload:{name:r,slug:i,url:a,transport:o,headers:JX(e.headers),description:String(e.description||``).trim(),enabled:!!e.enabled,allowed_tools:NL(e.allowed_tools),disallowed_tools:NL(e.disallowed_tools),user_paths:KX(e.user_paths),tool_timeout_seconds:s}}}function QX(e,t){let n=t&&typeof t==`object`&&!Array.isArray(t)?t:{},r=e=>(Array.isArray(e)?e:[]).filter(e=>e&&typeof e==`object`);return{server:String(n.server||e||``).trim(),status:String(n.status||``).trim(),instructions:String(n.instructions||``).trim(),tools:r(n.tools),prompts:r(n.prompts),resources:r(n.resources),templates:r(n.templates)}}function $X(e,t){return String(e&&e.server||``)+`_`+String(t||``)}function eZ(e){let t=e||RX(),n=(e,t)=>{let n=String(e||``).trim(),r=String(t||``).trim();return n&&r?n+` — `+r:r||n},r=e=>n=>({key:e+`:`+String(n.name||``),name:String(n.name||``),aggregated:$X(t,n.name),description:String(n.description||``).trim()});return[{key:`tools`,title:`Tools`,items:(t.tools||[]).map(r(`tool`))},{key:`prompts`,title:`Prompts`,items:(t.prompts||[]).map(r(`prompt`))},{key:`resources`,title:`Resources`,items:(t.resources||[]).map(e=>({key:`resource:`+String(e.uri||``),name:String(e.uri||``),aggregated:``,description:n(e.name,e.description)}))},{key:`templates`,title:`Resource templates`,items:(t.templates||[]).map(e=>({key:`template:`+String(e.uri_template||``),name:String(e.uri_template||``),aggregated:``,description:n(e.name,e.description)}))}].filter(e=>e.items.length>0)}function tZ(e){return eZ(e).length===0}function nZ(e){return(e||[]).length}function rZ(e){return(e||[]).filter(e=>BX(e)===`connected`).length}function iZ(e){return(e||[]).filter(e=>e&&e.enabled!==!1&&BX(e)===`degraded`).length}function aZ(e,t){return!!e&&nZ(t)>0}function oZ(e){return String(rZ(e))+`/`+String(nZ(e))}function sZ(e){return iZ(e)>0?`is-degraded`:`is-healthy`}function cZ(e){let t=iZ(e);if(t>0)return String(t)+` server`+(t===1?``:`s`)+` need`+(t===1?`s`:``)+` attention`;let n=nZ(e),r=rZ(e);return n>0&&r===n?`All MCP servers connected`:String(r)+` of `+String(n)+` server`+(n===1?``:`s`)+` connected`}function lZ(){return{interval:`day`,buckets:[],summary:{requests:0},provider_latency:[]}}function uZ(e){let t=e&&typeof e==`object`?e:{};return{interval:t.interval===`hour`?`hour`:`day`,buckets:Array.isArray(t.buckets)?t.buckets:[],summary:t.summary&&typeof t.summary==`object`?t.summary:{requests:0},provider_latency:Array.isArray(t.provider_latency)?t.provider_latency:[]}}function dZ(e){return Number(e&&e.summary&&e.summary.requests||0)>0}function fZ(e){return(e&&Array.isArray(e.provider_latency)?e.provider_latency:[]).length>0}function pZ(e){let t=e&&e.summary?e.summary.success_rate:null;return t==null?`—`:(Math.round(Number(t)*1e3)/10).toFixed(1)+`%`}function mZ(e,t){return Number(e&&e.summary&&e.summary[t]||0)}function hZ(e){let t=Number(e);return Number.isFinite(t)?t>=6e4?(t/6e4).toFixed(1)+` min`:t>=1e3?(t/1e3).toFixed(2)+` s`:Math.round(t)+` ms`:`-`}function gZ(e){let t=e&&e.summary?e.summary.avg_duration_ms:null;return t==null?`—`:hZ(Number(t))}function _Z(e,t){try{let n={};return new Intl.DateTimeFormat(`en-US`,{timeZone:t,year:`numeric`,month:`short`,day:`numeric`,hour:`2-digit`,hourCycle:`h23`}).formatToParts(e).forEach(e=>{n[e.type]=e.value}),{year:n.year,month:n.month,day:n.day,hour:Number(n.hour)}}catch{return{year:String(e.getFullYear()),month:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`][e.getMonth()],day:String(e.getDate()),hour:e.getHours()}}}function vZ(e,t,n){let r=new Date(e.start);if(Number.isNaN(r.getTime()))return String(e.start||``);let i=_Z(r,n),a=i.month+` `+i.day;return t!==`hour`||i.hour===0?a:String(i.hour).padStart(2,`0`)+`:00`}function yZ(e,t,n,r){let i=new Date(e.start);if(Number.isNaN(i.getTime()))return String(e.start||``);if(t===`hour`)return r(e.start);let a=_Z(i,n);return a.month+` `+a.day+`, `+a.year}function bZ(e){return{ok:e(`var(--success)`),clientError:e(`var(--warning)`),serverError:e(`var(--danger)`),other:e(`color-mix(in srgb, var(--text-muted) 55%, transparent)`)}}function xZ(e,t,n={}){let r=n.interval===`hour`?`hour`:`day`,i=n.zone,a=n.resolve||(e=>e),o=n.formatTimestamp||(e=>String(e)),s=t.map(e=>vZ(e,r,i)),c=bZ(a),l=a(`var(--bg-surface)`),u=e=>Number(e)||0,d=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderColor:l,borderWidth:1,borderSkipped:!1,borderRadius:2,maxBarThickness:28}),f=[d(`2xx`,t.map(e=>u(e.status_2xx)),c.ok),d(`4xx`,t.map(e=>u(e.status_4xx)),c.clientError),d(`5xx`,t.map(e=>u(e.status_5xx)),c.serverError)];return t.some(e=>u(e.status_other)>0)&&f.push(d(`Other`,t.map(e=>u(e.status_other)),c.other)),{type:`bar`,data:{labels:s,datasets:f},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:fY(e,{title:e=>e.length?yZ(t[e[0].dataIndex],r,i,o):``,label:e=>e.dataset.label+`: `+e.parsed.y.toLocaleString(),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+t.toLocaleString()}})},scales:{x:{stacked:!0,grid:{display:!1},border:{display:!1},ticks:{color:e.text,font:dY(),maxRotation:0,autoSkip:!0,maxTicksLimit:12}},y:{stacked:!0,beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:dY(),precision:0,callback:e=>zL(e)}}}}}}function SZ(e=hY()){let t={};return function(n){return n in t||(t[n]=e[Object.keys(t).length%e.length]),t[n]}}function CZ(e,t,n,r={}){let i=r.interval===`hour`?`hour`:`day`,a=r.zone,o=r.formatTimestamp||(e=>String(e)),s=r.providerColor||SZ();return{type:`line`,data:{labels:t.map(e=>vZ(e,i,a)),datasets:n.map(e=>({label:e.provider,data:(e.avg_duration_ms||[]).map(e=>e==null?null:Number(e)),borderColor:s(e.provider),backgroundColor:s(e.provider),fill:!1,tension:.3,borderWidth:2,pointRadius:0,pointHoverRadius:4,spanGaps:i===`hour`&&2}))},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:fY(e,{title:e=>e.length?yZ(t[e[0].dataIndex],i,a,o):``,label:e=>{let t=(n[e.datasetIndex]&&n[e.datasetIndex].requests||[])[e.dataIndex],r=Number(t)||0;return e.dataset.label+`: `+hZ(e.parsed.y)+(r>0?` (`+r.toLocaleString()+` req)`:``)}})},scales:{x:{grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:dY(),maxRotation:0,autoSkip:!0,maxTicksLimit:12}},y:{beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:dY(),callback:e=>hZ(e)}}}}}}var wZ=class{#e=k(j(lX()));get status(){return I(this.#e)}set status(e){A(this.#e,e,!0)}#t=k(!1);get loading(){return I(this.#t)}set loading(e){A(this.#t,e,!0)}#n=k(!1);get loadedOnce(){return I(this.#n)}set loadedOnce(e){A(this.#n,e,!0)}#r=k(!1);get detailsExpanded(){return I(this.#r)}set detailsExpanded(e){A(this.#r,e,!0)}#i=k(j({}));get cardOverrides(){return I(this.#i)}set cardOverrides(e){A(this.#i,e,!0)}#a=null;#o=null;#s=!1;initPreferences(){if(this.#s)return;this.#s=!0;let e=uX(sI());this.detailsExpanded=e.detailsExpanded,this.cardOverrides=e.cardOverrides}cardExpanded(e){return pX(this.cardOverrides,this.detailsExpanded,e)}toggleCard(e){let t=e&&e.name?String(e.name):``;if(!t)return;let n={...this.cardOverrides};n[t]=!this.cardExpanded(e),this.cardOverrides=n,fX(sI(),this.cardOverrides)}toggleDetails(){this.detailsExpanded=!this.detailsExpanded,this.cardOverrides={},dX(sI(),this.detailsExpanded),fX(sI(),this.cardOverrides)}detailsToggleLabel(){return this.detailsExpanded?`Show Details`:`Hide Details`}async fetch(){this.initPreferences(),this.#a&&this.#a.abort();let e=new AbortController;this.#a=e,this.loading=!0;try{let t=await qI(`/admin/providers/status`,{label:`provider status`,signal:e.signal});if(t.stale||e.signal.aborted)return;if(!t.ok){this.status=lX(),this.#l();return}let n=t.data&&typeof t.data==`object`?t.data:lX();n.summary||=lX().summary,Array.isArray(n.providers)||(n.providers=[]),this.status=n,this.#c()}catch(e){if(YI(e))return;console.error(`Failed to fetch provider status:`,e),this.status=lX(),this.#l()}finally{this.#a===e&&(this.#a=null,this.loading=!1,this.loadedOnce=!0)}}#c(){this.#l(),yX(this.status.providers)&&(this.#o=setTimeout(()=>{this.#o=null,this.fetch()},oX))}#l(){this.#o&&=(clearTimeout(this.#o),null)}stopPolling(){this.#l()}},TZ=class{#e=k(j(lZ()));get stats(){return I(this.#e)}set stats(e){A(this.#e,e,!0)}#t=k(!1);get loading(){return I(this.#t)}set loading(e){A(this.#t,e,!0)}#n=0;async fetch(){let e=++this.#n;this.loading=!0;try{let t=await qI(`/admin/audit/stats?`+sR.queryStr(),{label:`audit stats`});if(t.stale||e!==this.#n)return;if(!t.ok){this.stats=lZ();return}this.stats=uZ(t.data)}catch(t){if(console.error(`Failed to fetch audit stats:`,t),e!==this.#n)return;this.stats=lZ()}finally{e===this.#n&&(this.loading=!1)}}},EZ=class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!1);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}async fetch(){if(await QI.ensureLoaded(),!QI.mcpVisible()){this.available=!1,this.servers=[];return}this.loading=!0;try{let e=await qI(`/admin/mcp-servers`,{label:`mcp servers`});if(e.stale)return;if(e.status===503||e.status===404){this.available=!1,this.servers=[];return}if(this.available=!0,!e.ok){this.servers=[];return}this.servers=Array.isArray(e.data)?e.data:[]}catch(e){console.error(`Failed to fetch MCP servers:`,e),this.servers=[]}finally{this.loading=!1}}},DZ=class{#e=k(j([]));get data(){return I(this.#e)}set data(e){A(this.#e,e,!0)}#t=k(`tokens`);get mode(){return I(this.#t)}set mode(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=null;async fetch(){this.#r&&this.#r.abort();let e=new AbortController;this.#r=e,this.loading=!0;try{let t=await qI(`/admin/usage/daily?days=365&interval=daily`,{label:`calendar`,signal:e.signal});if(t.stale||e.signal.aborted)return;if(!t.ok){this.data=[];return}this.data=Array.isArray(t.data)?t.data:[]}catch(e){if(YI(e))return;console.error(`Failed to fetch calendar data:`,e),this.data=[]}finally{this.#r===e&&(this.#r=null,this.loading=!1)}}},OZ=new wZ,kZ=new TZ,AZ=new EZ,jZ=new DZ,MZ=(e,t=m,n=m,r=m,i=m)=>{var a=PZ(),o=M(a),s=M(o,!0);T(o);var c=P(o,2),l=M(c),u=M(l),d=M(u,!0);T(u),Ge(),T(l);var f=P(l,4),p=M(f),h=M(p,!0);T(p),Ge(),T(f);var g=P(f,4),_=M(g,!0);T(g),T(c),T(a),F((e,n,r,i,a,o)=>{B(s,t()),W(l,`title`,e),B(d,n),W(f,`title`,r),B(h,i),W(g,`title`,a),B(_,o)},[()=>BL(`Input tokens`,n()),()=>zL(n()),()=>BL(`Output tokens`,r()),()=>zL(r()),()=>BL(`Total tokens`,i()),()=>zL(i())]),z(e,a)},NZ=(e,t=m,n=m,r=m,i=m,a=m,o=m)=>{var s=LZ(),c=M(s),l=M(c,!0);T(c);var u=P(c,2),d=M(u,!0);T(u);var f=P(u,2),p=e=>{var t=FZ(),n=M(t,!0);T(t),F(()=>{W(t,`aria-label`,o().title),W(t,`title`,o().title),B(n,a())}),L(`click`,t,function(...e){o().onclick?.apply(this,e)}),z(e,t)},h=e=>{var t=IZ(),n=M(t,!0);T(t),F(()=>B(n,a())),z(e,t)};V(f,e=>{o()?e(p):e(h,-1)}),T(s),F(()=>{U(s,1,`card provider-status-flag ${t()??``} ${n()??``}`,`svelte-6tr9cf`),B(l,r()),B(d,i())}),z(e,s)},PZ=R(`
i + o =
`),FZ=R(``),IZ=R(` `),LZ=R(`
`),RZ=R(`
Cache Hits
`),zZ=R(`
Total Requests
Estimated Cost
Prompt Cache Rate
`);function BZ(e,t){E(t,!0);let n=O(()=>pR.summary),r=O(()=>pR.cacheOverview),i=O(()=>pR.cacheAnalyticsEnabled()),a=O(()=>OZ.status.summary);function o(){let e=document.getElementById(`provider-status-section`);e&&(e.scrollIntoView({behavior:`smooth`,block:`start`}),e.focus({preventScroll:!0}))}var s=zZ(),c=M(s);{let e=O(()=>RY(I(n)));MZ(c,()=>`Tokens`,()=>I(n).total_input_tokens,()=>I(n).total_output_tokens,()=>I(e))}var l=P(c,2),u=P(M(l),2),d=M(u,!0);T(u),T(l);var f=P(l,2),p=e=>{var t=RZ(),n=P(M(t),2),i=M(n,!0);T(n),T(t),F(e=>B(i,e),[()=>FL(I(r).summary.total_hits)]),z(e,t)};V(f,e=>{I(i)&&e(p)});var m=P(f,2),h=P(M(m),2),g=M(h,!0);T(h),T(m);var _=P(m,2),v=e=>{{let t=O(()=>HY(I(r)));MZ(e,()=>`Local Cache`,()=>I(r).summary.total_input_tokens,()=>I(r).summary.total_output_tokens,()=>I(t))}};V(_,e=>{I(i)&&e(v)});var y=P(_,2),b=P(M(y),2),x=M(b);aY(x,{build:()=>rX($Y(I(n)),pY(`var(--token-prompt)`),pY(`var(--bg-surface-hover)`))});var S=P(x,2),C=M(S,!0);T(S),T(b),T(y);var w=P(y,2),ee=e=>{{let t=O(()=>mX(I(a))),n=O(()=>gX(I(a))),r=O(()=>vX(I(a))),i=O(()=>_X(I(a))?{title:`View providers overview`,onclick:o}:null);NZ(e,()=>`provider-status-overview-card`,()=>I(t),()=>`Provider Status`,()=>I(n),()=>I(r),()=>I(i))}};V(w,e=>{I(a).total>0&&e(ee)});var te=P(w,2),ne=e=>{{let t=O(()=>sZ(AZ.servers)),n=O(()=>oZ(AZ.servers)),r=O(()=>cZ(AZ.servers));NZ(e,()=>`mcp-servers-flag`,()=>I(t),()=>`MCP Servers`,()=>I(n),()=>I(r),()=>({title:`View MCP servers`,onclick:()=>wI.navigate(`mcp-servers`)}))}},re=O(()=>aZ(AZ.available,AZ.servers));V(te,e=>{I(re)&&e(ne)}),T(s),F((e,t,n,r,i)=>{W(u,`title`,e),B(d,t),B(g,n),W(b,`aria-label`,r),B(C,i)},[()=>VY(I(n),I(r),I(i)),()=>FL(BY(I(n),I(r),I(i))),()=>IL(I(n).total_cost),()=>`Prompt cache rate `+tX(I(n)),()=>tX(I(n))]),z(e,s),D()}Hr([`click`]);var VZ=R(` `),HZ=R(`
`),UZ=R(`No usage in the selected period yet`),WZ=R(`
`),GZ=R(`

Tokens

Share of input tokens over the selected period
`);function KZ(e,t){E(t,!0);let n=O(()=>pR.cacheAnalyticsEnabled()),r=O(()=>KY(pR.summary,pR.cacheOverview,I(n))),i=O(()=>qY(pR.summary,pR.cacheOverview,I(n))),a=O(()=>GY(pR.summary,pR.cacheOverview,I(n)));var o=GZ(),s=P(M(o),2);let c;var l=M(s);H(l,17,()=>I(i),e=>e.key,(e,t)=>{var n=HZ(),r=M(n),i=e=>{var n=VZ(),r=M(n);T(n),F(()=>B(r,`${I(t).pct??``}%`)),z(e,n)};V(r,e=>{I(t).pct>=8&&e(i)}),T(n),F(e=>{zi(n,`width: ${I(t).pct??``}%; background: var(${I(t).colorVar??``})`),W(n,`title`,e)},[()=>JY(I(t))]),z(e,n)});var u=P(l,2),d=e=>{z(e,UZ())};V(u,e=>{I(a)||e(d)}),T(s);var f=P(s,2);H(f,21,()=>I(r),e=>e.key,(e,t)=>{var n=WZ(),r=M(n),i=P(r,2),a=M(i,!0);T(i);var o=P(i,2),s=M(o);T(o);var c=P(o,2),l=M(c,!0);T(c),T(n),F((e,i)=>{W(n,`title`,e),zi(r,`background: var(${I(t).colorVar??``})`),B(a,I(t).label),B(s,`${I(t).pct??``}%`),B(l,i)},[()=>JY(I(t)),()=>FL(I(t).tokens)]),z(e,n)}),T(f),T(o),F(e=>{c=U(s,1,`cache-meter-bar svelte-1yzecxj`,null,c,{"is-empty":!I(a)}),W(s,`aria-label`,e)},[()=>YY(I(i))]),z(e,o),D()}var qZ=R(``);function JZ(e,t){let n=G(t,`size`,3,16),r=G(t,`label`,3,`Loading`),i=G(t,`class`,3,``);var a=qZ();F(()=>{U(a,1,`spinner ${i()??``}`,`svelte-b54l9o`),zi(a,`--spinner-size: ${n()??``}px`),W(a,`aria-label`,r())}),z(e,a)}var YZ=Xr(` `),XZ=Xr(``);function ZZ(e,t){let n=G(t,`label`,3,`No data`);var r=XZ(),i=P(M(r),9),a=e=>{var t=YZ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)};V(i,e=>{n()&&e(a)}),T(r),F(()=>{W(r,`role`,n()?`img`:void 0),W(r,`aria-label`,n()||void 0),W(r,`aria-hidden`,n()?void 0:`true`)}),z(e,r)}var QZ=R(`
`),$Z=R(`

`);function eQ(e,t){E(t,!0);let n=[`daily`,`weekly`,`monthly`,`yearly`];function r(e){sR.interval=e,t.onintervalchange?.()}function i(){let e=pR.daily;if(e.length===0)return null;let t=sR.rangeStart(),n=sR.rangeEnd(),r=QY(ZY(e,sR.interval,t,n),ZY(Array.isArray(pR.cacheOverview.daily)?pR.cacheOverview.daily:[],sR.interval,t,n));return nX(uY(),r,{cacheEnabled:pR.cacheAnalyticsEnabled(),resolve:pY})}var a=$Z(),o=M(a),s=M(o),c=M(s,!0);T(s);var l=P(s,2);{let e=O(()=>n.map(e=>({value:e,label:e.charAt(0).toUpperCase()+e.slice(1)})));cY(l,{ariaLabel:`Usage chart interval`,get options(){return I(e)},get value(){return sR.interval},onchange:r})}T(o);var u=P(o,2),d=M(u);aY(d,{build:i});var f=P(d,2),p=e=>{var t=QZ();JZ(M(t),{size:24,label:`Loading usage`}),T(t),z(e,t)},m=e=>{var t=QZ();ZZ(M(t),{}),T(t),z(e,t)};V(f,e=>{pR.daily.length===0&&pR.loading?e(p):pR.daily.length===0&&!q.authError&&e(m,1)}),T(u),T(a),F(e=>B(c,e),[()=>sR.chartTitle()]),z(e,a),D()}var tQ=10,nQ=.7;function rQ(e,t){if(e<=0||t<=0)return 0;let n=(e/t)**+nQ,r=Math.ceil(n*tQ);return r<1?1:r>tQ?tQ:r}function iQ(){let e=[];for(let t=0;t<=tQ;t++)e.push(t);return e}function aQ(e,t,n){let r={};(e||[]).forEach(e=>{r[e.date]=e});let i=OI(AI(n,-364)),a=i.getUTCDay();i.setUTCDate(i.getUTCDate()-a);let o=[];for(let e=new Date(i);kI(e)<=n;e.setUTCDate(e.getUTCDate()+1)){let n=kI(e),i=r[n],a=0;i&&(a=t===`costs`?i.total_cost==null?0:i.total_cost:i.total_tokens||0),o.push({dateStr:n,value:a,level:0,empty:!1})}let s=0;for(let e=0;es&&(s=o[e].value);for(let e=0;e0){for(;l.length<7;)l.push({dateStr:``,value:0,level:0,empty:!0});c.push(l)}return c}function oQ(e){let t=OI(AI(e,-364)),n=t.getUTCDay();t.setUTCDate(t.getUTCDate()-n);let r=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],i=[],a={},o=0;for(let n=new Date(t);kI(n)<=e;n.setUTCDate(n.getUTCDate()+7),o++){let t=null;if(o===0)t=new Date(n);else for(let r=0;r<7;r++){let i=new Date(n);if(i.setUTCDate(n.getUTCDate()+r),kI(i)>e)break;if(i.getUTCDate()===1){t=i;break}}if(!t)continue;let s=t.getUTCFullYear()+`-`+t.getUTCMonth();a[s]||(i.push({label:r[t.getUTCMonth()],col:o,key:s}),a[s]=!0)}for(let e=0;e `),uQ=R(`
`),dQ=R(`
`),fQ=R(`
`),pQ=R(`
`),mQ=R(`

Activity

Mon Wed Fri
`,1);function hQ(e,t){E(t,!0);let n=k(j({show:!1,x:0,y:0,text:``})),r=O(()=>VI.currentDateKey()),i=O(()=>aQ(jZ.data,jZ.mode,I(r))),a=O(()=>oQ(I(r)));function o(e,t){t.empty||A(n,{show:!0,x:e.clientX,y:e.clientY,text:cQ(t,jZ.mode)},!0)}function s(){A(n,{show:!1,x:0,y:0,text:``},!0)}var c=mQ(),l=N(c),u=M(l),d=P(M(u),2),f=e=>{JZ(e,{size:14,label:`Loading activity`})};V(d,e=>{jZ.loading&&jZ.data.length===0&&e(f)}),cY(P(d,2),{ariaLabel:`Activity calendar mode`,options:[{value:`tokens`,label:`Tokens`},{value:`costs`,label:`Costs`}],get value(){return jZ.mode},onchange:e=>jZ.mode=e}),T(u);var p=P(u,2),m=P(M(p),2),h=M(m);H(h,21,()=>I(a),e=>e.key,(e,t)=>{var n=lQ(),r=M(n,!0);T(n),F(()=>{zi(n,`grid-column: ${I(t).col+1} / span ${I(t).span??``}`),B(r,I(t).label)}),z(e,n)}),T(h);var g=P(h,2);H(g,21,()=>I(i),ai,(e,t,n)=>{var r=dQ();H(r,23,()=>I(t),(e,t)=>n+`-`+t,(e,t)=>{var n=uQ();F(()=>U(n,1,`contribution-calendar-cell ${I(t).empty?`empty`:`level-`+I(t).level}`,`svelte-3hfxuq`)),Vr(`mouseenter`,n,e=>o(e,I(t))),Vr(`mouseleave`,n,s),z(e,n)}),T(r),z(e,r)}),T(g),T(m),T(p);var _=P(p,2),v=M(_),y=M(v),b=M(y,!0);T(y),T(v);var x=P(v,2);H(P(M(x),2),16,iQ,e=>e,(e,t)=>{var n=fQ();F(()=>U(n,1,`contribution-calendar-cell level-${t??``}`,`svelte-3hfxuq`)),z(e,n)}),Ge(2),T(x),T(_),T(l);var S=P(l,2),C=e=>{var t=pQ(),r=M(t,!0);T(t),F(()=>{zi(t,`left: ${I(n).x??``}px; top: ${I(n).y-40}px`),B(r,I(n).text)}),z(e,t)};V(S,e=>{I(n).show&&e(C)}),F(e=>B(b,e),[()=>sQ(jZ.data,jZ.mode)]),z(e,c),D()}var gQ=R(``),_Q=R(`

`),vQ=R(`
`);function yQ(e,t){E(t,!0);let n=G(t,`label`,3,`help`),r=G(t,`text`,3,``),i=G(t,`open`,15,!1),a=G(t,`external`,3,!1),o=O(()=>!!r()||!!t.help||a());var s=vQ(),c=M(s),l=M(c);hi(l,()=>t.title??m);var u=P(l,2),d=e=>{var r=gQ();let a;F(()=>{a=U(r,1,`inline-help-toggle svelte-y40or3`,null,a,{"is-open":i()}),W(r,`aria-label`,(i()?`Hide `:`Show `)+n()),W(r,`aria-expanded`,i()),W(r,`aria-controls`,t.copyId)}),L(`click`,r,()=>i(!i())),z(e,r)};V(u,e=>{I(o)&&e(d)}),hi(P(u,2),()=>t.extra??m),T(c);var f=P(c,2),p=e=>{var n=_Q(),i=M(n),a=e=>{var n=Qr();hi(N(n),()=>t.help),z(e,n)},o=e=>{var t=Zr();F(()=>B(t,r())),z(e,t)};V(i,e=>{t.help?e(a):e(o,-1)}),T(n),F(()=>W(n,`id`,t.copyId)),z(e,n)};V(f,e=>{i()&&I(o)&&!a()&&e(p)}),T(s),z(e,s),D()}Hr([`click`]);var bQ=R(`

Provider Latency

`),xQ=R(`
Avg
`),SQ=R(`

Requests by Status

Success 2xx 4xx 5xx
`,1);function CQ(e,t){E(t,!0);let n=SZ(),r=O(()=>kZ.stats);function i(){return{interval:I(r).interval,zone:VI.effectiveTimezone(),resolve:pY,formatTimestamp:e=>VI.formatTimestamp(e)}}var a=Qr(),o=N(a),s=e=>{var t=SQ(),a=N(t),o=M(a),s=P(M(o),2),c=M(s),l=P(M(c),2),u=M(l,!0);T(l),T(c);var d=P(c,2),f=P(M(d),4),p=M(f,!0);T(f),T(d);var m=P(d,2),h=P(M(m),4),g=M(h,!0);T(h),T(m);var _=P(m,2),v=P(M(_),4),y=M(v,!0);T(v),T(_),T(s),T(o);var b=P(o,2);aY(M(b),{build:()=>xZ(uY(),I(r).buckets,i())}),T(b),T(a);var x=P(a,2),S=e=>{var t=xQ(),a=M(t),o=M(a);yQ(o,{copyId:`audit-latency-help-copy`,label:`provider latency help`,text:`Average duration of successful requests as measured at the gateway, per provider. Local cache hits and failed requests are excluded; streamed responses count until the stream completes.`,title:e=>{z(e,bQ())},$$slots:{title:!0}});var s=P(o,2),c=M(s),l=P(M(c),2),u=M(l,!0);T(l),T(c),T(s),T(a);var d=P(a,2);aY(M(d),{build:()=>CZ(uY(),I(r).buckets,I(r).provider_latency,{...i(),providerColor:n})}),T(d),T(t),F(e=>B(u,e),[()=>gZ(I(r))]),z(e,t)},C=O(()=>fZ(I(r)));V(x,e=>{I(C)&&e(S)}),F((e,t,n,r)=>{B(u,e),B(p,t),B(g,n),B(y,r)},[()=>pZ(I(r)),()=>FL(mZ(I(r),`status_2xx`)),()=>FL(mZ(I(r),`status_4xx`)),()=>FL(mZ(I(r),`status_5xx`))]),z(e,t)},c=O(()=>dZ(I(r)));V(o,e=>{I(c)&&e(s)}),z(e,a),D()}var wQ=(e,t=m,n=m,r)=>{let i=At(()=>_(r?.(),!1));var a=DQ(),o=M(a),s=M(o,!0);T(o);var c=P(o,2),l=e=>{var t=TQ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)},u=e=>{var t=EQ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)};V(c,e=>{I(i)?e(l):e(u,-1)}),T(a),F(()=>B(s,t())),z(e,a)},TQ=R(` `),EQ=R(` `),DQ=R(`
`),OQ=R(`

`),kQ=R(`
Breaker State
`),AQ=R(`
`),jQ=R(`
Models (Recent Traffic)
`),MQ=R(`
`),NQ=R(`

`);function PQ(e,t){E(t,!0);let n=O(()=>MX(t.provider)),r=O(()=>[[`Base URL`,t.provider.config?.base_url],[`API Version`,t.provider.config?.api_version]].filter(([,e])=>!!e));var i=NQ();let a;var o=M(i),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=e=>{var n=OQ(),r=M(n,!0);T(n),F(()=>B(r,t.provider.last_error)),z(e,n)};V(l,e=>{t.provider.last_error&&e(u)});var d=P(l,2),f=e=>{var r=MQ(),i=M(r);{let e=O(()=>NX(t.provider));wQ(i,()=>`Recent Requests`,()=>I(e))}var a=P(i,2),o=e=>{var r=kQ(),i=P(M(r),2),a=M(i);let o;var s=M(a,!0);T(a),T(i),T(r),F(e=>{o=U(a,1,`provider-status-health-state svelte-6y9wjv`,null,o,{"is-healthy":I(n)===`is-healthy`,"is-degraded":I(n)===`is-degraded`,"is-unhealthy":I(n)===`is-unhealthy`}),B(s,e)},[()=>jX(t.provider)]),z(e,r)},s=O(()=>AX(t.provider));V(a,e=>{I(s)&&e(o)});var c=P(a,2),l=e=>{var n=jQ(),r=P(M(n),2);H(r,21,()=>PX(t.provider),e=>e.model,(e,t)=>{var n=AQ();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(n),F((e,i)=>{r=U(n,1,`provider-status-health-model svelte-6y9wjv`,null,r,{"is-flagged":I(t).flagged}),W(n,`title`,e),B(a,I(t).model),B(s,i)},[()=>IX(I(t)),()=>FX(I(t))]),z(e,n)}),T(r),T(n),z(e,n)},u=O(()=>PX(t.provider).length>0);V(c,e=>{I(u)&&e(l)}),T(r),z(e,r)},p=O(()=>kX(t.provider));V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=M(m);H(h,17,()=>I(r),([e,t])=>e,(e,t)=>{var n=O(()=>v(I(t),2));wQ(e,()=>I(n)[0],()=>I(n)[1],()=>!0)});var g=P(h,2);{let e=O(()=>DX(t.provider));wQ(g,()=>`Configured Models`,()=>I(e))}var _=P(g,2);{let e=O(()=>TX(t.provider));wQ(_,()=>`Retry`,()=>I(e))}var y=P(_,2);{let e=O(()=>EX(t.provider));wQ(y,()=>`Circuit Breaker`,()=>I(e))}T(m),T(o),T(i),F(()=>{a=U(i,1,`provider-status-details svelte-6y9wjv`,null,a,{"is-expanded":t.expanded,"is-collapsed":!t.expanded}),W(i,`aria-hidden`,!t.expanded),B(c,t.provider.status_reason)}),z(e,i),D()}var FQ=R(` `),IQ=R(``),LQ=R(`

Models Available
Last Checked
`);function RQ(e,t){E(t,!0);let n=O(()=>OZ.cardExpanded(t.provider)),r=e=>VI.formatTimestamp(e);var i=LQ(),a=M(i),o=M(a),s=M(o),c=M(s),l=M(c,!0);T(c);var u=P(c,2),d=e=>{var n=FQ(),r=M(n);T(n),F(e=>B(r,`(${e??``})`),[()=>CX(t.provider)]),z(e,n)},f=O(()=>CX(t.provider));V(u,e=>{I(f)&&e(d)});var p=P(u,2),m=e=>{var n=IQ();F((e,t,r)=>{W(n,`href`,e),W(n,`aria-label`,t),W(n,`title`,r)},[()=>wX(t.provider),()=>`View `+(CX(t.provider)||t.provider.name)+` provider docs`,()=>`View `+(CX(t.provider)||t.provider.name)+` provider docs`]),z(e,n)},h=O(()=>wX(t.provider));V(p,e=>{I(h)&&e(m)}),T(s),T(o);var g=P(o,2),_=M(g,!0);T(g),T(a);var v=P(a,2),y=M(v),b=P(M(y),2),x=M(b,!0);T(b),T(y);var S=P(y,2),C=P(M(S),2),w=M(C,!0);T(C),T(S),T(v);var ee=P(v,2);PQ(ee,{get provider(){return t.provider},get expanded(){return I(n)}});var te=P(ee,2);let ne;K(M(te),{name:`chevron-down`,class:`provider-status-card-toggle-icon`}),T(te),T(i),F((e,r,i,a,o)=>{B(l,t.provider.name),U(g,1,`provider-status-pill ${e??``}`,`svelte-nopjmh`),W(g,`title`,r),B(_,t.provider.status_label),B(x,i),W(C,`title`,a),B(w,o),ne=U(te,1,`provider-status-card-toggle svelte-nopjmh`,null,ne,{"is-expanded":I(n)}),W(te,`aria-expanded`,I(n)),W(te,`aria-label`,(I(n)?`Collapse `:`Expand `)+t.provider.name+` details`),W(te,`title`,I(n)?`Collapse details`:`Expand details`)},[()=>hX(t.provider.status),()=>OX(t.provider),()=>FL(t.provider.runtime?.discovered_model_count),()=>SX(t.provider,r),()=>xX(t.provider,r)]),L(`click`,te,()=>OZ.toggleCard(t.provider)),z(e,i),D()}Hr([`click`]);var zQ=R(`

Providers Overview

`),BQ=R(`
`);function VQ(e,t){E(t,!0);let n=O(()=>OZ.status.providers);var r=Qr(),i=N(r),a=e=>{var t=zQ(),r=M(t),i=P(M(r),2),a=M(i),o=M(a,!0);T(a);var s=P(a,2);let c;T(i),T(r);var l=P(r,2);H(l,21,()=>I(n),e=>e.name,(e,t)=>{RQ(e,{get provider(){return I(t)}})}),T(l),T(t),F((e,t)=>{W(i,`aria-checked`,OZ.detailsExpanded),W(i,`title`,e),B(o,t),c=U(s,1,`provider-status-toggle-track svelte-1kx3uw4`,null,c,{"is-active":OZ.detailsExpanded})},[()=>OZ.detailsToggleLabel(),()=>OZ.detailsToggleLabel()]),L(`click`,i,()=>OZ.toggleDetails()),z(e,t)},o=e=>{var t=BQ();JZ(M(t),{size:18,label:`Loading provider status`}),T(t),z(e,t)};V(i,e=>{I(n).length>0?e(a):OZ.loading&&!OZ.loadedOnce&&e(o,1)}),z(e,r),D()}Hr([`click`]);var HQ=R(`
`);function UQ(e,t){E(t,!0);function n(){pR.fetchUsage(),pR.fetchCacheOverview(``),kZ.fetch(),OZ.fetch(),AZ.fetch(),jZ.fetch()}function r(){pR.fetchUsage(),pR.fetchCacheOverview(``),kZ.fetch()}function i(){r(),jZ.fetch()}Mn(()=>{if(q.refreshTick,wI.page===`overview`)return Or(()=>{n(),NY.start()}),()=>{NY.stop(),OZ.stopPolling()}});var a=HQ(),o=M(a);LY(o,{});var s=P(o,4);AR(M(s),{onchange:i}),T(s);var c=P(s,2);uR(c,{});var l=P(c,2);BZ(l,{});var u=P(l,2);KZ(u,{});var d=P(u,2);eQ(d,{onintervalchange:r});var f=P(d,2);hQ(f,{});var p=P(f,2);CQ(p,{}),VQ(P(p,2),{}),T(a),z(e,a),D()}var WQ=`/admin/live/logs?types=audit,usage`;function GQ(e,t,n){return!!t&&String(e&&e.id||``).trim()===t||!!n&&String(e&&e.request_id||``).trim()===n}function KQ(e){switch(e){case`date_range`:return`Live paused — the selected date range does not include today. Set it to today to resume.`;case`filters`:return`Live paused while filters are active. Clear them to resume.`;case`pagination`:return`Live paused on later pages. Go to the first page to resume.`;default:return``}}function qQ(e){let t=WQ,n=Number(e||0);return Number.isFinite(n)&&n>0&&(t+=`&cursor=`+encodeURIComponent(String(n))),t}function JQ(){return{async consumeLiveLogsBody(e){let t=new TextDecoder,n=``;for(;;){let r=await e.read();if(r.done)break;n+=t.decode(r.value,{stream:!0});let i;for(;i=n.match(/\r?\n\r?\n/);){let e=i.index,t=n.slice(0,e);n=n.slice(e+i[0].length),this.handleLiveLogsFrame(t)}}n+=t.decode(),n.trim()&&this.handleLiveLogsFrame(n)},handleLiveLogsFrame(e){let t=String(e||``).split(/\r?\n/),n=[];for(let e of t)e.indexOf(`data:`)===0&&n.push(e.slice(5).trimStart());if(n.length===0)return;let r;try{r=JSON.parse(n.join(` +`))}catch{return}this.applyLiveLogEvent(r)},applyLiveLogEvent(e){if(!e||typeof e!=`object`)return;let t=Number(e.seq||0);Number.isFinite(t)&&t>this.liveLogsLastSeq&&(this.liveLogsLastSeq=t);let n=String(e.type||``).trim();if(n!==`heartbeat`){if(n===`reset`){this.reloadLiveLogSources();return}if(n===`audit.removed`){this.removeLiveAuditEntry(e.data);return}if(n.indexOf(`audit.`)===0){this.mergeLiveAuditEntry(e.data||{},n);return}n.indexOf(`usage.`)===0&&(this.mergeLiveUsageEntry(e.data||{},n),typeof this.noteLiveTokenUsage==`function`&&this.noteLiveTokenUsage(n))}},reloadLiveLogSources(){typeof this.fetchUsage==`function`&&this.fetchUsage(),this.page===`audit-logs`&&typeof this.fetchAuditLog==`function`&&this.fetchAuditLog(!0)},auditLivePauseReason(){return!this.auditLog||this.auditLog.offset!==0?`pagination`:this.auditSearch||this.auditMethod||this.auditStatusCode||this.auditStream?`filters`:!this.followsToday&&(this.customStartDate||this.customEndDate)?`date_range`:null},auditLiveInsertAllowed(){return!this.auditLivePauseReason()},usageLiveInsertAllowed(){return this.usageLog&&this.usageLog.offset===0&&!this.usageLogSearch&&!this.usageFilterModel&&!this.usageFilterProvider&&!this.usageFilterLabel&&!this.usageFilterUserPath},mergeLiveAuditEntry(e,t){if(!e||typeof e!=`object`)return;let n=String(e.id||e.request_id||``).trim();if(!n)return;let r=String(e.request_id||``).trim(),i=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],a=i.findIndex(e=>GQ(e,n,r)),o=a>=0&&i[a]||{},s=t===`audit.detail`,c=s?{...e,_detail_loaded:!0,_response_partial:!1,bodies_omitted:!1}:this.liveAuditPatch(o,e,t);if(a>=0){let e=this.mergeLiveAuditPatch(o,c);return i.splice(a,1,e),this.auditLog.entries=[...i],this.regroupLiveAuditHead(e),s||this.fetchExpandedAuditDetailIfReady(e),this.notifyLiveConversation(e),e}let l=this.mergeLiveAuditChild(e,c);if(l)return s||this.fetchExpandedAuditDetailIfReady(l),this.notifyLiveConversation(l),l;if(!this.auditLiveInsertAllowed())return;if(!s&&this.auditGroupSessions){let e=this.foldLiveAuditIntoThread(c);if(e)return this.fetchExpandedAuditDetailIfReady(e),this.notifyLiveConversation(e),e}this.auditLog.entries=[this.mergeLiveAuditUsagePatch(c),...i].slice(0,this.auditLog.limit||25),this.auditLog.total=Number(this.auditLog.total||0)+1;let u=this.auditLog.entries[0];return s||this.fetchExpandedAuditDetailIfReady(u),this.notifyLiveConversation(u),u},liveAuditPatch(e,t,n){let r=this.liveAuditStateAfter(e._live_state,n),i=this.liveAuditEventFlushed(e._live_state)||this.liveAuditEventFlushed(r),a={...t,_live:!0,_live_state:r,_audit_flushed:i,_live_pending:!i};return n===`audit.stream`?a._response_partial=!0:this.liveAuditStateSettled(n)&&(a._response_partial=!1),a},mergeLiveAuditChild(e,t){let n=this.auditThreadChildren;if(!n||typeof n!=`object`)return null;let r=String(e.id||``).trim(),i=String(e.request_id||``).trim(),a=Object.keys(n);for(let e=0;eGQ(e,r,i));if(c<0)continue;let l=this.mergeLiveAuditPatch(s[c]||{},t),u=[...s];return u.splice(c,1,l),this.auditThreadChildren={...n,[a[e]]:{...o,entries:u}},l}return null},regroupLiveAuditHead(e){if(!this.auditGroupSessions)return null;let t=String(e&&e.session_id||``).trim();if(!t)return null;let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=String(e.id||``).trim(),i=n.findIndex(e=>String(e.id||``).trim()===r);if(i<0)return null;let a=n.findIndex((e,n)=>n!==i&&String(e.session_id||``).trim()===t);if(a<0)return null;let o=n[a],s=Date.parse(o&&o.timestamp),c=Date.parse(e&&e.timestamp),l=Number.isFinite(s)&&Number.isFinite(c)&&s>c,u=l?o:e,d=l?e:o,f={...u,session_count:Math.max(1,Number(o.session_count||1))+Math.max(1,Number(e.session_count||1))},p=n.filter((e,t)=>t!==i&&t!==a);return p.unshift(f),this.auditLog.entries=p,this.auditLog.total=Math.max(0,Number(this.auditLog.total||0)-1),this.prependLiveAuditThreadChild(t,d),f},foldLiveAuditIntoThread(e){let t=String(e&&e.session_id||``).trim();if(!t)return null;let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=n.findIndex(e=>String(e.session_id||``).trim()===t);if(r<0)return null;let i=n[r],a=Number(i.session_count),o=this.mergeLiveAuditUsagePatch({...e,session_count:(Number.isFinite(a)&&a>0?a:1)+1}),s=[...n];return s.splice(r,1),s.unshift(o),this.auditLog.entries=s,this.prependLiveAuditThreadChild(t,i),o},prependLiveAuditThreadChild(e,t){let n=this.auditThreadChildren||{},r=n[e],i={...t};delete i.session_count;let a=r&&Array.isArray(r.entries)?{...r,entries:[i,...r.entries],total:Number(r.total||r.entries.length)+1}:{loading:!1,loaded:!1,entries:[i],total:1};this.auditThreadChildren={...n,[e]:a}},removeLiveAuditThreadChild(e,t){let n=this.auditThreadChildren;!n||typeof n!=`object`||Object.keys(n).forEach(r=>{let i=n[r],a=i&&Array.isArray(i.entries)?i.entries:[],o=a.filter(n=>!GQ(n,e,t)),s=a.length-o.length;s!==0&&(this.auditThreadChildren={...this.auditThreadChildren,[r]:{...i,entries:o,total:Math.max(0,Number(i.total||a.length)-s)}},this.decrementLiveAuditThreadCount(r,s))})},decrementLiveAuditThreadCount(e,t){let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=n.findIndex(t=>String(t.session_id||``).trim()===e);if(r<0)return;let i=n[r],a=[...n];a.splice(r,1,{...i,session_count:Math.max(1,Number(i.session_count||1)-t)}),this.auditLog.entries=a},mergeLiveAuditPatch(e,t){let n={...e,...t};return t.data===void 0&&e.data!==void 0?n.data=e.data:e.data&&t.data&&typeof e.data==`object`&&typeof t.data==`object`&&!Array.isArray(e.data)&&!Array.isArray(t.data)&&(n.data={...e.data,...t.data}),this.mergeLiveAuditUsagePatch(n)},mergeLiveAuditUsagePatch(e){let t=this.liveUsageEntryForAudit(e);if(!t)return e;let n=this.auditEntryWithLiveUsage(e,t);return this.removeSkippedLiveUsage(t),n},liveUsageEntryForAudit(e){let t=String(e&&e.request_id||``).trim();return t&&((this.usageLog&&Array.isArray(this.usageLog.entries)?this.usageLog.entries:[]).find(e=>String(e&&e.request_id||``).trim()===t)||this.skippedLiveUsageByRequestId&&this.skippedLiveUsageByRequestId[t])||null},notifyLiveConversation(e){e&&typeof this.refreshLiveConversation==`function`&&this.refreshLiveConversation(e)},fetchExpandedAuditDetailIfReady(e){!e||!this.isAuditEntryExpanded||!this.isAuditEntryExpanded(e)||String(e._live_state||``).trim()!==`audit.flushed`&&!e._audit_flushed||typeof this.fetchAuditEntryDetail==`function`&&this.fetchAuditEntryDetail(e)},liveAuditStateRank(e){switch(String(e||``).trim()){case`audit.started`:return 10;case`audit.updated`:case`audit.stream`:return 20;case`audit.completed`:return 30;case`audit.failed`:case`audit.flushed`:case`audit.detail`:return 40;default:return 0}},liveAuditStateAfter(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return this.liveAuditStateRank(n)>this.liveAuditStateRank(r)?n:r},liveAuditStateSettled(e){return this.liveAuditStateRank(e)>=this.liveAuditStateRank(`audit.completed`)},liveAuditEventFlushed(e){let t=String(e||``).trim();return t===`audit.failed`||t===`audit.flushed`||t===`audit.detail`},removeLiveAuditEntry(e){if(!e||!this.auditLog||!Array.isArray(this.auditLog.entries))return;let t=String(e.id||``).trim(),n=String(e.request_id||``).trim();if(!t&&!n)return;let r=this.auditLog.entries,i=[],a=0,o=0,s=!1;r.forEach(e=>{if(!GQ(e,t,n)){i.push(e);return}a++;let r=String(e.session_id||``).trim(),c=Math.max(1,Number(e.session_count||1));if(!this.auditGroupSessions||!r||c<=1)return;o++;let l=this.auditThreadChildren&&this.auditThreadChildren[r],u=l&&Array.isArray(l.entries)?l.entries.filter(e=>!GQ(e,t,n)):[];if(u.length===0){s=!0;return}let d={...u[0],session_id:r,session_count:c-1};i.push(d),this.auditThreadChildren={...this.auditThreadChildren,[r]:{...l,entries:u.slice(1),total:Math.max(0,Number(l.total||c)-1)}}}),a>0&&(this.auditLog.entries=i,this.auditLog.total=Math.max(0,Number(this.auditLog.total||0)-a+o)),this.removeLiveAuditThreadChild(t,n),s&&typeof this.fetchAuditLog==`function`&&this.fetchAuditLog(!0)},mergeLiveUsageEntry(e,t){if(!e||typeof e!=`object`)return;e={...e,_live_state:t||e._live_state||`usage.completed`};let n=String(e.id||``).trim();if(!n)return;let r=this.usageLog&&Array.isArray(this.usageLog.entries)?this.usageLog.entries:[],i=r.findIndex(e=>String(e.id||``).trim()===n);if(i>=0){let t=r[i]||{},n=this.mergeLiveUsagePatch(t,e);if(this.applyLiveUsageToAudit(n),this.liveUsageShouldSkip(n)){r.splice(i,1),this.usageLog.entries=[...r],this.usageLog.total=Math.max(0,Number(this.usageLog.total||0)-1),this.storeSkippedLiveUsage(n);return}r.splice(i,1,n),this.usageLog.entries=[...r],this.removeSkippedLiveUsage(n);return}let a=this.mergeLiveUsagePatch(this.liveUsageSeedForEntry(e),e);if(this.applyLiveUsageToAudit(a),this.liveUsageShouldSkip(a)){this.storeSkippedLiveUsage(a);return}this.removeSkippedLiveUsage(a),this.usageLog.entries=[a,...r].slice(0,this.usageLog.limit||50),this.usageLog.total=Number(this.usageLog.total||0)+1},mergeLiveUsagePatch(e,t){e=e&&typeof e==`object`?e:{};let n=this.liveUsageStateAfter(e._live_state,t&&t._live_state),r=this.liveUsageEventFlushed(e)||this.liveUsageEventFlushed({...t,_live_state:n});return{...e,...t,_live:!0,_live_state:n||`usage.completed`,_live_pending:!r,_usage_flushed:r}},liveUsageShouldSkip(e){return!!(this.usageLogHideCached&&this.liveUsageEntryCached(e))||!this.usageLiveInsertAllowed()},liveUsageSeedForEntry(e){return this.skippedLiveUsageForEntry(e)||this.auditLiveUsageForEntry(e)},skippedLiveUsageForEntry(e){let t=String(e&&e.request_id||``).trim();return t&&this.skippedLiveUsageByRequestId?this.skippedLiveUsageByRequestId[t]:null},auditLiveUsageForEntry(e){let t=String(e&&e.request_id||``).trim();if(!t||!this.auditLog||!Array.isArray(this.auditLog.entries))return null;let n=this.auditLog.entries.find(e=>String(e&&e.request_id||``).trim()===t),r=n&&n.usage&&typeof n.usage==`object`&&!Array.isArray(n.usage)?n.usage:null;return r?{id:e&&e.id,request_id:t,entries:r.entries,input_tokens:r.input_tokens,uncached_input_tokens:r.uncached_input_tokens,cached_input_tokens:r.cached_input_tokens,cache_write_input_tokens:r.cache_write_input_tokens,output_tokens:r.output_tokens,total_tokens:r.total_tokens,cached_input_ratio:r.cached_input_ratio,estimated_cached_characters:r.estimated_cached_characters,_live_state:n._usage_live_state,_live_pending:n._usage_live_pending,_usage_flushed:n._usage_flushed}:null},storeSkippedLiveUsage(e){let t=String(e&&e.request_id||``).trim();t&&((!this.skippedLiveUsageByRequestId||typeof this.skippedLiveUsageByRequestId!=`object`||Array.isArray(this.skippedLiveUsageByRequestId))&&(this.skippedLiveUsageByRequestId={}),this.skippedLiveUsageByRequestId[t]=e)},removeSkippedLiveUsage(e){let t=String(e&&e.request_id||``).trim();t&&this.skippedLiveUsageByRequestId&&delete this.skippedLiveUsageByRequestId[t]},liveUsageEntryCached(e){let t=String(e&&e.cache_type||``).trim().toLowerCase();return t===`exact`||t===`semantic`||!!(e&&e.cache_hit)},liveUsageEventFlushed(e){let t=String(e&&e._live_state||``).trim();return!!(e&&e._usage_flushed)||t===`usage.failed`||t===`usage.flushed`},liveUsageStateRank(e){switch(String(e||``).trim()){case`usage.completed`:return 10;case`usage.failed`:case`usage.flushed`:return 20;default:return 0}},liveUsageStateAfter(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return this.liveUsageStateRank(n)>this.liveUsageStateRank(r)?n:r},applyLiveUsageToAudit(e){let t=String(e&&e.request_id||``).trim();if(!t||!this.auditLog||!Array.isArray(this.auditLog.entries))return;let n=this.auditLog.entries.findIndex(e=>String(e.request_id||``).trim()===t);if(n>=0){let t=this.auditLog.entries[n];this.auditLog.entries.splice(n,1,this.auditEntryWithLiveUsage(t,e)),this.auditLog.entries=[...this.auditLog.entries]}let r=this.auditThreadChildren;if(!r||typeof r!=`object`)return;let i=r,a=!1;Object.keys(r).forEach(n=>{let r=i[n],o=r&&Array.isArray(r.entries)?r.entries:[],s=o.findIndex(e=>String(e.request_id||``).trim()===t);if(s<0)return;let c=[...o];c.splice(s,1,this.auditEntryWithLiveUsage(o[s],e)),i={...i,[n]:{...r,entries:c}},a=!0}),a&&(this.auditThreadChildren=i)},auditEntryWithLiveUsage(e,t){let n=this.liveUsageStateAfter(e._usage_live_state,t._live_state||`usage.completed`),r=this.liveUsageEventFlushed({_live_state:n,_usage_flushed:e._usage_flushed||t._usage_flushed});return{...e,usage:this.liveUsageSummary(t,e.usage),_usage_live_state:n||`usage.completed`,_usage_live_pending:!r,_usage_flushed:r}},liveUsageSummary(e,t){let n=t&&typeof t==`object`&&!Array.isArray(t)?t:{},r=this.liveNumber(e.input_tokens,this.liveNumber(n.input_tokens,0)),i=this.liveNumber(e.output_tokens,this.liveNumber(n.output_tokens,0)),a=this.liveNumber(e.uncached_input_tokens,this.liveNumber(n.uncached_input_tokens,0)),o=this.liveNumber(e.cached_input_tokens,this.liveNumber(n.cached_input_tokens,0)),s=this.liveNumber(e.cache_write_input_tokens,this.liveNumber(n.cache_write_input_tokens,0));r>0&&a+o+s===0&&(a=r);let c=a+o+s||r,l=c+i||this.liveNumber(e.total_tokens,this.liveNumber(n.total_tokens,0)),u=this.liveNumber(e.cached_input_ratio,this.liveNumber(n.cached_input_ratio,c>0?o/c:0));return{entries:Math.max(1,this.liveNumber(e.entries,this.liveNumber(n.entries,1))),input_tokens:c,uncached_input_tokens:a,cached_input_tokens:o,cache_write_input_tokens:s,output_tokens:i,total_tokens:l,cached_input_ratio:u,estimated_cached_characters:this.liveNumber(e.estimated_cached_characters,this.liveNumber(n.estimated_cached_characters,o*4))}},liveNumber(e,t){let n=Number(e);return Number.isFinite(n)?n:t},auditEntryShouldFetchDetail(e){return!e||e._detail_loading||e._detail_loaded||this.auditEntryLiveDetailPending(e)?!1:this.auditEntryNeedsPersistedLiveDetail(e)||e.bodies_omitted?!0:!this.auditEntryHasDetailData(e)},auditEntryLiveDetailPending(e){if(!e||!e._live)return!1;let t=String(e._live_state||``).trim();return t===`audit.failed`||!e._audit_flushed&&t!==`audit.flushed`&&t!==`audit.detail`},auditEntryNeedsPersistedLiveDetail(e){return!!(e&&e._live&&!e._detail_loaded)},auditEntryHasDetailData(e){let t=e&&e.data;return!t||typeof t!=`object`?!1:t.request_headers!==void 0||t.response_headers!==void 0||t.request_body!==void 0||t.response_body!==void 0||t.request_body_too_big_to_handle!==void 0||t.response_body_too_big_to_handle!==void 0||t.user_agent!==void 0||t.api_key_hash!==void 0||t.temperature!==void 0||t.max_tokens!==void 0||t.error_message!==void 0||t.error_code!==void 0},clearAuditDetailLoading(e){if(!e)return;let t=String(e.id||``).trim(),n=String(e.request_id||``).trim(),r=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],i=r.find(e=>t&&String(e.id||``).trim()===t?!0:!!(n&&String(e.request_id||``).trim()===n)),a=i||e;a._detail_loading=!1,i&&(this.auditLog.entries=[...r])}}}var YQ=class{#e=k(j({entries:[],total:0,limit:25,offset:0}));get auditLog(){return I(this.#e)}set auditLog(e){A(this.#e,e,!0)}#t=k(j({entries:[],total:0,limit:50,offset:0}));get usageLog(){return I(this.#t)}set usageLog(e){A(this.#t,e,!0)}#n=k(``);get auditSearch(){return I(this.#n)}set auditSearch(e){A(this.#n,e,!0)}#r=k(``);get auditMethod(){return I(this.#r)}set auditMethod(e){A(this.#r,e,!0)}#i=k(``);get auditStatusCode(){return I(this.#i)}set auditStatusCode(e){A(this.#i,e,!0)}#a=k(``);get auditStream(){return I(this.#a)}set auditStream(e){A(this.#a,e,!0)}#o=k(cI(`gomodel_audit_group_sessions`,`true`)!==`false`);get auditGroupSessions(){return I(this.#o)}set auditGroupSessions(e){A(this.#o,e,!0)}#s=k(j({}));get auditThreadChildren(){return I(this.#s)}set auditThreadChildren(e){A(this.#s,e,!0)}#c=k(``);get usageLogSearch(){return I(this.#c)}set usageLogSearch(e){A(this.#c,e,!0)}#l=k(``);get usageFilterModel(){return I(this.#l)}set usageFilterModel(e){A(this.#l,e,!0)}#u=k(``);get usageFilterProvider(){return I(this.#u)}set usageFilterProvider(e){A(this.#u,e,!0)}#d=k(``);get usageFilterLabel(){return I(this.#d)}set usageFilterLabel(e){A(this.#d,e,!0)}#f=k(``);get usageFilterUserPath(){return I(this.#f)}set usageFilterUserPath(e){A(this.#f,e,!0)}#p=k(!1);get usageLogHideCached(){return I(this.#p)}set usageLogHideCached(e){A(this.#p,e,!0)}#m=k(!1);get liveLogsStreaming(){return I(this.#m)}set liveLogsStreaming(e){A(this.#m,e,!0)}liveLogsLastSeq=0;liveLogsReconnectAttempts=0;liveLogsReconnectTimer=null;liveLogsController=null;skippedLiveUsageByRequestId=null;fetchUsage=null;fetchAuditLog=null;isAuditEntryExpanded=null;refreshLiveConversation=null;noteLiveTokenUsage=null;get page(){return wI.page}get customStartDate(){return sR.customStartDate}get customEndDate(){return sR.customEndDate}get followsToday(){return sR.followsToday}liveLogsEnabled(){return QI.liveLogsVisible()}async startLiveLogs(){typeof fetch!=`function`||typeof ReadableStream>`u`||(await QI.ensureLoaded(),this.liveLogsEnabled()&&(this.stopLiveLogs(),this.liveLogsController=typeof AbortController==`function`?new AbortController:null,this.readLiveLogsStream(this.liveLogsController)))}stopLiveLogs(){this.liveLogsStreaming=!1,this.liveLogsReconnectTimer&&=(clearTimeout(this.liveLogsReconnectTimer),null),this.liveLogsController&&typeof this.liveLogsController.abort==`function`&&this.liveLogsController.abort(),this.liveLogsController=null}ensureLiveLogs(){this.liveLogsController||this.liveLogsReconnectTimer||this.startLiveLogs()}async readLiveLogsStream(e){let t={};e&&(t.signal=e.signal);let n=qQ(this.liveLogsLastSeq),r=q.generation;try{let i=await GI(n,t);if(i.status===401){if(q.handleUnauthorized(r),r{this.liveLogsReconnectTimer=null,this.startLiveLogs()},t)}async fetchAuditEntryDetail(e){if(!this.auditEntryShouldFetchDetail(e))return;let t=String(e.id||``).trim();if(!t)return;e._detail_loading=!0;let n=e;try{let e=await qI(`/admin/audit/detail?log_id=`+encodeURIComponent(t),{label:`audit detail`});if(e.stale||!e.ok)return;n=this.mergeLiveAuditEntry(e.data,`audit.detail`)||n}catch(e){console.error(`Failed to fetch audit detail:`,e)}finally{this.clearAuditDetailLoading(n)}}};Object.assign(YQ.prototype,JQ());var XQ=new YQ;if(typeof window<`u`){let e=!1;window.addEventListener(`pagehide`,()=>{e=!!XQ.liveLogsController,XQ.stopLiveLogs()}),window.addEventListener(`pageshow`,t=>{t.persisted&&e&&XQ.ensureLiveLogs()})}var ZQ=null;Pn(()=>{Mn(()=>{let e=q.refreshTick;if(ZQ===null){ZQ=e;return}e!==ZQ&&(ZQ=e,Or(()=>{XQ.stopLiveLogs(),XQ.startLiveLogs()}))})});function QQ(){return{total_requests:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,uncached_input_tokens:0,cached_input_tokens:0,cache_write_input_tokens:0,total_input_cost:null,total_output_cost:null,total_cost:null,rewrite_tokens_saved:0,rewrite_cost_saved:null}}function $Q(){return{entries:[],total:0,limit:50,offset:0}}function e$(e,t){let n=[[`model`,e&&e.model],[`provider`,e&&e.provider],[`label`,e&&e.label],[`user_path`,e&&e.user_path]],r=``;for(let[e,i]of n)!i||e===t||(r+=`&`+e+`=`+encodeURIComponent(i));return r}function t$({limit:e,offset:t,hideCached:n,search:r}){let i=`&limit=`+e+`&offset=`+t;return i+=`&cache_mode=`+(n?`uncached`:`all`),r&&(i+=`&search=`+encodeURIComponent(r)),i}function n$(e,t){let n=new Set(e||[]);return t&&n.add(t),[...n].sort()}function r$(e,t){let n=Number(t&&t.total_requests||0)-Number(e&&e.total_requests||0);return Number.isFinite(n)&&n>0?n:0}function i$(e,t,n){let r=n?e:t,i=Number(r&&r.total_requests||0);return Number.isFinite(i)?i:0}function a$(e,t,n){let r=r$(e,t);return r<=0?``:n?FL(r)+` cached requests hidden`:FL(Number(e&&e.total_requests||0))+` to providers + `+FL(r)+` from cache`}function o$(e){let t=e||{};return t.total_input_cost===null||t.total_input_cost===void 0?``:IL(t.total_input_cost)+` input + `+IL(t.total_output_cost)+` output`}function s$(e){let t=Number(e&&e.rewrite_tokens_saved||0);return Number.isFinite(t)&&t>0?t:0}function c$(e){return s$(e)>0}function l$(e){let t=e||{};return t.rewrite_cost_saved===void 0?null:t.rewrite_cost_saved}function u$(){return`Estimated at 4 net characters removed per token`}function d$(e,t){return t===`costs`?IL(l$(e)):zL(s$(e))}function f$(e,t){let n=t===`costs`,r=n?Number(l$(e)):s$(e);if(!Number.isFinite(r)||r<=0)return null;let i=e&&(n?e.total_cost:e.total_input_tokens);if(i==null)return null;let a=Number(i);return!Number.isFinite(a)||a<0?null:r/(a+r)*100}function p$(e,t){let n=f$(e,t);return n===null?``:(n<.1?`<0.1`:n.toFixed(1))+`% less`}function m$(e,t){let n=s$(e);if(n<=0)return``;let r=[FL(n)+` estimated prompt token-transmissions removed across provider requests`,u$(),`Savings are summed per provider request; resent conversation history is counted again`],i=l$(e);i!=null&&(r.push(IL(i)+` estimated gross input cost avoided`),r.push(`Prompt-cache changes caused by rewriting are not included`));let a=p$(e,t);return a&&r.push(a+` than the same traffic without rewriting (`+(t===`costs`?`cost`:`tokens`)+`)`),r.join(` +`)}function h$(e){return String(e&&e.cost_source||``).trim()}function g$(e){let t=h$(e);return t===`openrouter_credits`||t===`xai_cost_in_usd_ticks`}function _$(e){switch(h$(e)){case`openrouter_credits`:return`Costs from OpenRouter USD-based credits.`;case`xai_cost_in_usd_ticks`:return`Costs from xAI usage.cost_in_usd_ticks.`;default:return``}}function v$(e){return String(e&&e.cache_type||``).trim().toLowerCase()}function y$(e){let t=v$(e);return t===`exact`||t===`semantic`}function b$(e){let t=v$(e);return t===`exact`?`Exact`:t===`semantic`?`Semantic`:`-`}function x$(e,t){let n=t?String(t):``;return y$(e)?n?`Saved by cache — not charged +`+n:`Saved by cache — not charged`:n}function S$(e){let t=Number(e&&e.cached_input_ratio);return!Number.isFinite(t)||t<=0?0:Math.min(1,t)}function C$(e){return Number(e&&e.cached_input_tokens||0)>0}function w$(e){return C$(e)?(S$(e)*100).toFixed(1)+`%`:``}function T$(e){if(!C$(e))return``;let t=Number(e.cached_input_tokens||0),n=Number(e.uncached_input_tokens||0),r=Number(e.cache_write_input_tokens||0),i=t+n+r,a=[FL(t)+` cached / `+FL(i)+` input tokens`];return r>0&&a.push(FL(r)+` cache write`),a.join(` +`)}function E$(e){let t=[];if(_$(e)&&(t.push(_$(e)),t.push(``)),t.push(`Input: `+IL(e.input_cost)),t.push(`Output: `+IL(e.output_cost)),e.raw_data){t.push(``);for(let[n,r]of Object.entries(e.raw_data)){let e=n.replace(/_/g,` `).replace(/\b\w/g,e=>e.toUpperCase()),i=r&&typeof r==`object`?JSON.stringify(r):FL(r);t.push(e+`: `+i)}}return t.join(` +`)}function D$(e){return Array.isArray(e&&e.labels)?e.labels:[]}function O$(e,t,n){return(e||[]).length>0||t?!0:(n||[]).some(e=>D$(e).length>0)}function k$(e){return e&&typeof e.total_tokens==`number`?e.total_tokens:(e&&e.input_tokens||0)+(e&&e.output_tokens||0)}function A$(e,t){return t?e.total_cost||0:k$(e)}function j$(e,t){return[...e||[]].sort((e,n)=>t?(n.total_cost||0)-(e.total_cost||0):A$(n,t)-A$(e,t))}function M$(e){let t=Array.isArray(e)?e:[];if(t.length===0)return!1;if(t.length!==1)return!0;let n=String(t[0]&&t[0].user_path||``).trim();return n!==``&&n!==`/`}function N$(e){return(e||`chart`)===`chart`||e===`stacked`}function P$(e,t,n){let r=j$(e,n),i=e=>Number(e)||0,a=e=>n?Math.min(i(e.cached_input_cost),i(e.input_cost)):i(e.cached_input_tokens),o=e=>n?i(e.input_cost)-a(e):i(e.uncached_input_tokens)+i(e.cached_input_tokens)+i(e.cache_write_input_tokens)>0?i(e.uncached_input_tokens)+i(e.cache_write_input_tokens):i(e.input_tokens),s=e=>i(n?e.output_cost:e.output_tokens),c=e=>n?0:i(e.local_cached_input_tokens),l=e=>n?0:i(e.local_cached_output_tokens),u=r.slice(0,10),d=r.slice(10),f=u.map(t),p=u.map(o),m=u.map(s),h=u.map(a),g=u.map(c),_=u.map(l);if(d.length>0){f.push(`Other`);let e=e=>d.reduce((t,n)=>t+e(n),0);p.push(e(o)),m.push(e(s)),h.push(e(a)),g.push(e(c)),_.push(e(l))}return{labels:f,inputs:p,outputs:m,prompts:h,localIns:g,localOuts:_}}function F$(e){return Math.max(200,e*32+72)}var J=new class{#e=k(`tokens`);get usageMode(){return I(this.#e)}set usageMode(e){A(this.#e,e,!0)}get usageFilterModel(){return XQ.usageFilterModel}set usageFilterModel(e){XQ.usageFilterModel=e}get usageFilterProvider(){return XQ.usageFilterProvider}set usageFilterProvider(e){XQ.usageFilterProvider=e}get usageFilterLabel(){return XQ.usageFilterLabel}set usageFilterLabel(e){XQ.usageFilterLabel=e}get usageFilterUserPath(){return XQ.usageFilterUserPath}set usageFilterUserPath(e){XQ.usageFilterUserPath=e}#t=k(j({models:[],providers:[],labels:[]}));get usageFacetOptions(){return I(this.#t)}set usageFacetOptions(e){A(this.#t,e,!0)}#n=k(j(QQ()));get usageSummary(){return I(this.#n)}set usageSummary(e){A(this.#n,e,!0)}#r=k(j(QQ()));get usageSummaryAll(){return I(this.#r)}set usageSummaryAll(e){A(this.#r,e,!0)}#i=k(j([]));get modelUsage(){return I(this.#i)}set modelUsage(e){A(this.#i,e,!0)}#a=k(j([]));get userPathUsage(){return I(this.#a)}set userPathUsage(e){A(this.#a,e,!0)}#o=k(j([]));get labelUsage(){return I(this.#o)}set labelUsage(e){A(this.#o,e,!0)}get usageLog(){return XQ.usageLog}set usageLog(e){XQ.usageLog=e}get usageLogSearch(){return XQ.usageLogSearch}set usageLogSearch(e){XQ.usageLogSearch=e}get usageLogHideCached(){return XQ.usageLogHideCached}set usageLogHideCached(e){XQ.usageLogHideCached=e}#s=k(`chart`);get modelUsageView(){return I(this.#s)}set modelUsageView(e){A(this.#s,e,!0)}#c=k(`chart`);get userPathUsageView(){return I(this.#c)}set userPathUsageView(e){A(this.#c,e,!0)}#l=k(`chart`);get labelUsageView(){return I(this.#l)}set labelUsageView(e){A(this.#l,e,!0)}#u=k(!1);get summaryLoading(){return I(this.#u)}set summaryLoading(e){A(this.#u,e,!0)}#d=k(!1);get modelUsageLoading(){return I(this.#d)}set modelUsageLoading(e){A(this.#d,e,!0)}#f=k(!1);get userPathUsageLoading(){return I(this.#f)}set userPathUsageLoading(e){A(this.#f,e,!0)}#p=k(!1);get labelUsageLoading(){return I(this.#p)}set labelUsageLoading(e){A(this.#p,e,!0)}#m=k(!1);get usageLogLoading(){return I(this.#m)}set usageLogLoading(e){A(this.#m,e,!0)}#h={};#g(e){this.#h[e]&&this.#h[e].abort();let t=new AbortController;return this.#h[e]=t,t}#_(e,t){this.#h[e]===t&&(this.#h[e]=null)}filterQueryStr(e){return e$({model:this.usageFilterModel,provider:this.usageFilterProvider,label:this.usageFilterLabel,user_path:this.usageFilterUserPath},e)}onUsageFilterChanged(){this.fetchUsagePage()}toggleUsageLabelFilter(e){this.usageFilterLabel=this.usageFilterLabel===e?``:e,this.onUsageFilterChanged()}usageLabelChipTitle(e){return this.usageFilterLabel===e?`Clear label filter`:`Filter usage by "`+e+`"`}toggleUsageMode(e){this.usageMode=e,wI.navigate(`usage`,e===`costs`?`costs`:null)}toggleUsageChartView(e,t){e===`model`&&(this.modelUsageView=t),e===`userPath`&&(this.userPathUsageView=t),e===`label`&&(this.labelUsageView=t)}usageFilterModelOptions(){return n$(this.usageFacetOptions.models,this.usageFilterModel)}usageFilterProviderOptions(){return n$(this.usageFacetOptions.providers,this.usageFilterProvider)}usageFilterLabelOptions(){return n$(this.usageFacetOptions.labels,this.usageFilterLabel)}async fetchUsagePage(){await QI.ensureLoaded();let e=[this.fetchUsagePageSummary(),this.fetchUsageFacetOptions(),this.fetchModelUsage(),this.fetchUserPathUsage(),this.fetchLabelUsage(),this.fetchUsageLog(!0)];pR.cacheAnalyticsEnabled()&&e.push(pR.fetchCacheOverview(this.filterQueryStr())),await Promise.all(e)}async fetchUsagePageSummary(){let e=this.#g(`summary`);this.summaryLoading=!0;try{let t=sR.queryStr()+this.filterQueryStr(),[n,r]=await Promise.all([qI(`/admin/usage/summary?`+t+`&cache_mode=uncached`,{label:`usage page summary`,signal:e.signal}),qI(`/admin/usage/summary?`+t+`&cache_mode=all`,{label:`usage page summary (all)`,signal:e.signal})]);if(n.stale||r.stale||e.signal.aborted)return;if(!n.ok||!r.ok){this.usageSummary=QQ(),this.usageSummaryAll=QQ();return}this.usageSummary=n.data&&typeof n.data==`object`?n.data:QQ(),this.usageSummaryAll=r.data&&typeof r.data==`object`?r.data:QQ()}catch(e){if(YI(e))return;console.error(`Failed to fetch usage page summary:`,e),this.usageSummary=QQ(),this.usageSummaryAll=QQ()}finally{this.#_(`summary`,e),this.#h.summary===null&&(this.summaryLoading=!1)}}async fetchUsageFacetOptions(){let e=this.#g(`facets`);try{let t=async(t,n)=>{let r=await qI(t+`?`+sR.queryStr()+this.filterQueryStr(n),{label:`usage facet options`,signal:e.signal});return r.stale?null:r.ok&&Array.isArray(r.data)?r.data:[]},n=t(`/admin/usage/models`,`model`),r=!this.usageFilterModel&&!this.usageFilterProvider,[i,a,o]=await Promise.all([n,r?n:t(`/admin/usage/models`,`provider`),t(`/admin/usage/labels`,`label`)]);if(e.signal.aborted||i===null||a===null||o===null)return;this.usageFacetOptions={models:i.map(e=>e&&e.model).filter(Boolean),providers:a.map(e=>GL(e)).filter(Boolean),labels:o.map(e=>e&&e.label).filter(Boolean)}}catch(e){if(YI(e))return;console.error(`Failed to fetch usage facet options:`,e),this.usageFacetOptions={models:[],providers:[],labels:[]}}finally{this.#_(`facets`,e)}}async#v(e,t,n,r,i){let a=this.#g(e);i(!0);try{let e=await qI(t+`?`+sR.queryStr()+this.filterQueryStr(),{label:n,signal:a.signal});if(e.stale||a.signal.aborted)return;if(!e.ok){r([]);return}r(Array.isArray(e.data)?e.data:[])}catch(e){if(YI(e))return;console.error(`Failed to fetch `+n+`:`,e),r([])}finally{this.#_(e,a),this.#h[e]===null&&i(!1)}}fetchModelUsage(){return this.#v(`modelUsage`,`/admin/usage/models`,`usage models`,e=>this.modelUsage=e,e=>this.modelUsageLoading=e)}fetchUserPathUsage(){return this.#v(`userPathUsage`,`/admin/usage/user-paths`,`usage user paths`,e=>this.userPathUsage=e,e=>this.userPathUsageLoading=e)}fetchLabelUsage(){return this.#v(`labelUsage`,`/admin/usage/labels`,`usage labels`,e=>this.labelUsage=e,e=>this.labelUsageLoading=e)}async fetchUsageLog(e){let t=this.#g(`usageLog`);this.usageLogLoading=!0;try{e&&(this.usageLog.offset=0);let n=sR.queryStr()+this.filterQueryStr();n+=t$({limit:this.usageLog.limit,offset:this.usageLog.offset,hideCached:this.usageLogHideCached,search:this.usageLogSearch});let r=await qI(`/admin/usage/log?`+n,{label:`usage log`,signal:t.signal});if(r.stale||t.signal.aborted)return;if(!r.ok){this.usageLog=$Q();return}let i=r.data&&typeof r.data==`object`?r.data:$Q();i.entries||=[],this.usageLog=i}catch(e){if(YI(e))return;console.error(`Failed to fetch usage log:`,e),this.usageLog=$Q()}finally{this.#_(`usageLog`,t),this.#h.usageLog===null&&(this.usageLogLoading=!1)}}usageLogNextPage(){this.usageLog.offset+this.usageLog.limit0&&(this.usageLog.offset=Math.max(0,this.usageLog.offset-this.usageLog.limit),this.fetchUsageLog(!1))}};XQ.fetchUsage=()=>{wI.page===`usage`&&J.fetchUsagePage()};var I$=R(`
`);function L$(e,t){E(t,!0);let n=G(t,`value`,15,``),r=G(t,`placeholder`,3,``),i=G(t,`label`,3,``),a=G(t,`id`,3,void 0),o=G(t,`oninput`,3,void 0),s=G(t,`class`,3,``);var c=I$(),l=M(c);K(l,{name:`search`,class:`filter-input-icon`});var u=P(l,2);$i(u),T(c),F(()=>{U(c,1,`filter-input-wrap ${s()??``}`,`svelte-30xz1k`),W(u,`id`,a()),W(u,`placeholder`,r()),W(u,`aria-label`,i())}),L(`input`,u,function(...e){o()?.apply(this,e)}),ca(u,n),z(e,c),D()}Hr([`input`]);function R$(e,t=300){let n=null,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>{n=null,e(...r)},t)};return r.cancel=()=>{clearTimeout(n),n=null},r}var z$=R(``),B$=R(``),V$=R(`
`);function H$(e,t){E(t,!0);let n=R$(()=>J.onUsageFilterChanged());Mn(()=>n.cancel);var r=V$(),i=M(r),a=M(i);a.value=a.__value=``,H(P(a),16,()=>J.usageFilterModelOptions(),e=>e,(e,t)=>{var n=z$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(i);var o=P(i,2),s=M(o);s.value=s.__value=``,H(P(s),16,()=>J.usageFilterProviderOptions(),e=>e,(e,t)=>{var n=z$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(o);var c=P(o,2),l=e=>{var t=B$(),n=M(t);n.value=n.__value=``,H(P(n),16,()=>J.usageFilterLabelOptions(),e=>e,(e,t)=>{var n=z$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(t),L(`change`,t,()=>J.onUsageFilterChanged()),Hi(t,()=>J.usageFilterLabel,e=>J.usageFilterLabel=e),z(e,t)},u=O(()=>J.usageFilterLabelOptions().length>0);V(c,e=>{I(u)&&e(l)}),L$(P(c,2),{class:`usage-page-filters-user-path`,placeholder:`User path /team/alpha`,label:`Filter by user path`,get oninput(){return n},get value(){return J.usageFilterUserPath},set value(e){J.usageFilterUserPath=e}}),T(r),L(`change`,i,()=>J.onUsageFilterChanged()),Hi(i,()=>J.usageFilterModel,e=>J.usageFilterModel=e),L(`change`,o,()=>J.onUsageFilterChanged()),Hi(o,()=>J.usageFilterProvider,e=>J.usageFilterProvider=e),z(e,r),D()}Hr([`change`]);var U$=R(`
Cache Saved
Cache Hits
`,1);function W$(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=U$(),n=N(t),r=P(M(n),2),i=M(r,!0);T(r),T(n);var a=P(n,2),o=P(M(a),2),s=M(o,!0);T(o),T(a),F((e,t)=>{B(i,e),B(s,t)},[()=>IL(pR.cacheOverview.summary.total_saved_cost),()=>FL(pR.cacheOverview.summary.total_hits)]),z(e,t)},a=O(()=>pR.cacheAnalyticsEnabled());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}var G$=R(` `),K$=R(`
Pro Saved
`),q$=R(`
Total Requests
Estimated Cost
`);function J$(e,t){E(t,!0);let n=O(()=>c$(J.usageSummary)),r=O(()=>d$(J.usageSummary,J.usageMode)),i=O(()=>p$(J.usageSummary,J.usageMode));var a=q$(),o=M(a),s=P(M(o),2),c=M(s),l=e=>{JZ(e,{size:18,label:`Loading usage summary`})},u=e=>{var t=Zr();F(e=>B(t,e),[()=>FL(i$(J.usageSummary,J.usageSummaryAll,J.usageLogHideCached))]),z(e,t)};V(c,e=>{J.summaryLoading?e(l):e(u,-1)}),T(s),T(o);var d=P(o,2),f=P(M(d),2),p=M(f),m=e=>{JZ(e,{size:18,label:`Loading usage summary`})},h=e=>{var t=Zr();F(e=>B(t,e),[()=>IL(J.usageSummary.total_cost)]),z(e,t)};V(p,e=>{J.summaryLoading?e(m):e(h,-1)}),T(f),T(d);var g=P(d,2),_=e=>{var t=K$(),n=P(M(t),2),a=M(n),o=M(a,!0);T(a);var s=P(a,2),c=e=>{var t=G$(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)};V(s,e=>{I(i)&&e(c)}),T(n),T(t),F(e=>{W(n,`title`,e),B(o,I(r))},[()=>m$(J.usageSummary,J.usageMode)]),z(e,t)};V(g,e=>{I(n)&&e(_)}),W$(P(g,2),{}),T(a),F((e,t)=>{W(s,`title`,e),W(f,`title`,t)},[()=>a$(J.usageSummary,J.usageSummaryAll,J.usageLogHideCached),()=>o$(J.usageSummary)]),z(e,a),D()}function Y$(e,t,n,r){let{stacked:i=!1,costs:a=!1,resolve:o=e=>e}=r||{},s=e=>a?`$`+Math.abs(e).toFixed(2):zL(Math.abs(e)),c=e=>a?`$`+Math.abs(e).toFixed(4):Math.abs(e).toLocaleString(),l=e=>e.map(e=>i?Math.abs(e):-Math.abs(e)),u=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderColor:`transparent`,borderWidth:0,borderRadius:4,maxBarThickness:22}),d=e=>(e||[]).some(e=>Math.abs(e)>0),f=[u(a?`Input Cost`:`Input Tokens`,l(n.inputs),o(`var(--token-input)`)),u(a?`Output Cost`:`Output Tokens`,n.outputs,o(`var(--token-output)`))];return d(n.prompts)&&f.push(u(a?`Prompt Cached Cost`:`Prompt Cached`,l(n.prompts),o(`var(--token-prompt)`))),!a&&d(n.localIns)&&f.push(u(`Locally Cached (Input)`,l(n.localIns),o(`var(--token-local)`))),!a&&d(n.localOuts)&&f.push(u(`Locally Cached (Output)`,n.localOuts,o(`var(--token-local)`))),{type:`bar`,data:{labels:t,datasets:f},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,animation:{duration:0},layout:{padding:{top:8}},scales:{x:{stacked:!0,beginAtZero:!0,grid:i?{color:e.grid}:{color:t=>t.tick&&t.tick.value===0?e.text:e.grid},border:{display:!1},ticks:{color:e.text,font:dY(),callback:e=>s(e)}},y:{stacked:!0,grid:{display:!1},border:{display:!1},ticks:{color:e.text,font:dY(),autoSkip:!1}}},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:fY(e,{label:e=>e.dataset.label+`: `+c(e.parsed.x),footer:e=>{let t=0;return e.forEach(e=>{t+=Math.abs(Number(e.parsed.x))||0}),`Total: `+c(t)}})}}}}var X$=R(`
`),Z$=R(`

`),Q$=R(`

`,1),$$=R(`
`),e1=R(`Model Provider`,1),t1=R(`User Path`),n1=R(`Label Requests`,1),r1=R(` `,1),i1=R(` `),a1=R(` `,1),o1=R(` `),s1=R(`
Input TokensOutput TokensPrompt CachedLocal CachedTotal TokensInput CostOutput CostTotal Cost
`),c1=R(`
`),l1=R(`
`);function u1(e,t){E(t,!0);let n=e=>{var n=X$(),r=M(n);let a;var o=P(r,2);let s;var l=P(o,2);let u;T(n),F(()=>{W(n,`aria-label`,I(i).group),a=U(r,1,`chart-view-btn svelte-1kee4g8`,null,a,{active:I(c)===`chart`}),W(r,`aria-pressed`,I(c)===`chart`),W(r,`aria-label`,`Show ${I(i).noun??``} chart`),s=U(o,1,`chart-view-btn svelte-1kee4g8`,null,s,{active:I(c)===`stacked`}),W(o,`aria-pressed`,I(c)===`stacked`),W(o,`aria-label`,`Show ${I(i).noun??``} stacked chart`),u=U(l,1,`chart-view-btn svelte-1kee4g8`,null,u,{active:I(c)===`table`}),W(l,`aria-pressed`,I(c)===`table`),W(l,`aria-label`,`Show ${I(i).noun??``} table`)}),L(`click`,r,()=>J.toggleUsageChartView(t.kind,`chart`)),L(`click`,o,()=>J.toggleUsageChartView(t.kind,`stacked`)),L(`click`,l,()=>J.toggleUsageChartView(t.kind,`table`)),z(e,n)},r={model:{group:`Model usage view`,noun:`model usage`,tokensTitle:`Token Usage by Model`,costsTitle:`Cost by Model`},userPath:{group:`User path usage view`,noun:`user path usage`,tokensTitle:`Usage by User Path`,costsTitle:`Cost by User Path`},label:{group:`Label usage view`,noun:`label usage`,tokensTitle:`Usage by Label`,costsTitle:`Cost by Label`}},i=O(()=>r[t.kind]),a=O(()=>t.kind===`model`?e=>qL(e):t.kind===`userPath`?e=>e.user_path||`/`:e=>e.label);function o(e){return t.kind===`model`?(e.provider_name||e.provider||`-`)+`/`+e.model:t.kind===`userPath`?e.user_path||`/`:e.label}let s=O(()=>t.kind===`model`?J.modelUsage:t.kind===`userPath`?J.userPathUsage:J.labelUsage),c=O(()=>t.kind===`model`?J.modelUsageView:t.kind===`userPath`?J.userPathUsageView:J.labelUsageView),l=O(()=>t.kind===`model`?J.modelUsageLoading:t.kind===`userPath`?J.userPathUsageLoading:J.labelUsageLoading),u=O(()=>J.usageMode===`costs`),d=O(()=>t.kind===`userPath`?M$(I(s)):I(s).length>0),f=O(()=>I(u)?I(i).costsTitle:I(i).tokensTitle),p=O(()=>P$(I(s),I(a),I(u))),m=O(()=>j$(I(s),I(u)));function h(){return N$(I(c))?Y$(uY(),I(p).labels,I(p),{stacked:I(c)===`stacked`,costs:I(u),resolve:pY}):null}var g=Qr(),_=N(g),v=e=>{var r=c1(),a=M(r),s=M(a),u=e=>{yQ(e,{copyId:`label-usage-help-copy`,label:`label usage help`,text:`One request can have multiple labels. Such a request counts once under each of its labels, so label rows can overlap and add up to more than the period totals.`,title:e=>{var t=Z$(),n=M(t,!0);T(t),F(()=>B(n,I(f))),z(e,t)},extra:e=>{var t=Qr(),n=N(t),r=e=>{JZ(e,{size:14,get label(){return`Loading ${I(i).noun??``}`}})};V(n,e=>{I(l)&&e(r)}),z(e,t)},$$slots:{title:!0,extra:!0}})},d=e=>{var t=Q$(),n=N(t),r=M(n,!0);T(n);var a=P(n,2),o=e=>{JZ(e,{size:14,get label(){return`Loading ${I(i).noun??``}`}})};V(a,e=>{I(l)&&e(o)}),F(()=>B(r,I(f))),z(e,t)};V(s,e=>{t.kind===`label`?e(u):e(d,-1)});var g=P(s,2);n(g),T(a);var _=P(a,2),v=e=>{var t=$$();let n;aY(M(t),{build:h}),T(t),F(e=>n=zi(t,``,n,e),[()=>({height:`${F$(I(p).labels.length)??``}px`})]),z(e,t)},y=O(()=>N$(I(c))),b=e=>{var n=s1(),r=M(n),i=M(r),a=M(i),s=M(a),c=e=>{var t=e1();Ge(2),z(e,t)},l=e=>{z(e,t1())},u=e=>{var t=n1();Ge(2),z(e,t)};V(s,e=>{t.kind===`model`?e(c):t.kind===`userPath`?e(l,1):e(u,-1)}),Ge(8),T(a),T(i);var d=P(i);H(d,21,()=>I(m),e=>o(e),(e,n)=>{var r=o1(),i=M(r),a=e=>{var t=r1(),r=N(t),i=M(r,!0);T(r);var a=P(r,2),o=M(a),s=M(o,!0);T(o),T(a),F(e=>{B(i,I(n).model||`-`),B(s,e)},[()=>GL(I(n))||`-`]),z(e,t)},o=e=>{var t=i1(),r=M(t,!0);T(t),F(()=>B(r,I(n).user_path||`/`)),z(e,t)},s=e=>{var t=a1(),r=N(t),i=M(r);let a;var o=M(i,!0);T(i),T(r);var s=P(r,2),c=M(s,!0);T(s),F((e,t,r)=>{a=U(i,1,`usage-label-chip`,null,a,{active:J.usageFilterLabel===I(n).label}),zi(i,`--label-color: ${e??``}`),W(i,`title`,t),B(o,I(n).label),B(c,r)},[()=>gY(I(n).label),()=>J.usageLabelChipTitle(I(n).label),()=>FL(I(n).requests)]),L(`click`,i,()=>J.toggleUsageLabelFilter(I(n).label)),z(e,t)};V(i,e=>{t.kind===`model`?e(a):t.kind===`userPath`?e(o,1):e(s,-1)});var c=P(i),l=M(c,!0);T(c);var u=P(c),d=M(u,!0);T(u);var f=P(u),p=M(f,!0);T(f);var m=P(f),h=M(m,!0);T(m);var g=P(m),_=M(g,!0);T(g);var v=P(g),y=M(v,!0);T(v);var b=P(v),x=M(b,!0);T(b);var S=P(b),C=M(S,!0);T(S),T(r),F((e,t,n,r,i,a,o,s,c,u,g)=>{B(l,e),B(d,t),W(f,`title`,n),B(p,r),W(m,`title`,`${i??``} input + ${a??``} output`),B(h,o),B(_,s),B(y,c),B(x,u),B(C,g)},[()=>FL(I(n).input_tokens),()=>FL(I(n).output_tokens),()=>I(n).cached_input_cost==null?``:`~`+IL(I(n).cached_input_cost)+` at current cached-input pricing`,()=>FL(I(n).cached_input_tokens||0),()=>FL(I(n).local_cached_input_tokens||0),()=>FL(I(n).local_cached_output_tokens||0),()=>FL((I(n).local_cached_input_tokens||0)+(I(n).local_cached_output_tokens||0)),()=>FL(k$(I(n))),()=>IL(I(n).input_cost),()=>IL(I(n).output_cost),()=>IL(I(n).total_cost)]),z(e,r)}),T(d),T(r),T(n),z(e,n)};V(_,e=>{I(y)?e(v):e(b,-1)}),T(r),z(e,r)},y=e=>{var t=l1();JZ(M(t),{size:20,get label(){return`Loading ${I(i).noun??``}`}}),T(t),z(e,t)};V(_,e=>{I(d)?e(v):I(l)&&e(y,1)}),z(e,g),D()}Hr([`click`]);var d1=R(``);function f1(e,t){E(t,!0);let n=G(t,`total`,3,0),r=G(t,`offset`,3,0),i=G(t,`limit`,3,25);var a=Qr(),o=N(a),s=e=>{var a=d1(),o=M(a),s=M(o);T(o);var c=P(o,2),l=M(c),u=P(l,2);T(c),T(a),F(e=>{B(s,`Showing ${r()+1}-${e??``} of ${n()??``}`),l.disabled=r()===0,u.disabled=r()+i()>=n()},[()=>Math.min(r()+i(),n())]),L(`click`,l,()=>t.onprev?.()),L(`click`,u,()=>t.onnext?.()),z(e,a)};V(o,e=>{n()>0&&e(s)}),z(e,a),D()}Hr([`click`]);var p1=(e,t=m)=>{var n=Qr(),r=N(n),i=e=>{var n=h1();H(n,20,()=>D$(t()),e=>e,(e,t)=>{var n=m1();let r;var i=M(n,!0);T(n),F((e,a)=>{r=U(n,1,`usage-label-chip`,null,r,{active:J.usageFilterLabel===t}),zi(n,`--label-color: ${e??``}`),W(n,`title`,a),B(i,t)},[()=>gY(t),()=>J.usageLabelChipTitle(t)]),L(`click`,n,()=>J.toggleUsageLabelFilter(t)),z(e,n)}),T(n),z(e,n)},a=O(()=>D$(t()).length>0),o=e=>{z(e,g1())};V(r,e=>{I(a)?e(i):e(o,-1)}),z(e,n)},m1=R(``),h1=R(`
`),g1=R(`-`),_1=R(`Labels`),v1=R(`Cost`),y1=R(``),b1=R(` `),x1=R(``),S1=R(` `),C1=R(` `),w1=R(`
TimestampProviderModelUser PathCacheProvider Cache
`),T1=R(`
`),E1=R(`
`),D1=R(`

Request Log

`);function O1(e,t){E(t,!0);let n=O(()=>J.usageMode===`costs`),r=O(()=>O$(J.labelUsage,J.usageFilterLabel,J.usageLog.entries)),i=R$(()=>J.fetchUsageLog(!0));Mn(()=>i.cancel);var a=D1(),o=P(M(a),2),s=M(o);L$(M(s),{placeholder:`Search by request ID, model, provider...`,label:`Search by request ID, model, provider`,get oninput(){return i},get value(){return J.usageLogSearch},set value(e){J.usageLogSearch=e}}),T(s);var c=P(s,2),l=M(c),u=M(l);$i(u),Ge(2),T(l),T(c),T(o);var d=P(o,2),f=e=>{var t=w1(),i=M(t),a=M(i),o=M(a),s=P(M(o),4),c=e=>{z(e,_1())};V(s,e=>{I(r)&&e(c)});var l=P(s,3),u=M(l,!0);T(l);var d=P(l),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=e=>{z(e,v1())};V(h,e=>{I(n)||e(g)}),T(o),T(a);var _=P(a);H(_,21,()=>J.usageLog.entries,e=>e.id,(e,t)=>{var i=C1();let a;var o=M(i),s=M(o,!0);T(o);var c=P(o),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=e=>{var n=y1();p1(M(n),()=>I(t)),T(n),z(e,n)};V(h,e=>{I(r)&&e(g)});var _=P(h),v=M(_,!0);T(_);var y=P(_),b=M(y),x=e=>{var n=b1(),r=M(n,!0);T(n),F(e=>B(r,e),[()=>w$(I(t))]),z(e,n)},S=O(()=>C$(I(t))),C=e=>{z(e,g1())};V(b,e=>{I(S)?e(x):e(C,-1)}),T(y);var w=P(y),ee=M(w,!0);T(w);var te=P(w),ne=M(te,!0);T(te);var re=P(te),ie=M(re),ae=M(ie,!0);T(ie);var oe=P(ie,2),se=e=>{{let n=O(()=>_$(I(t)));K(e,{name:`circle-dollar-sign`,class:`cost-source-icon`,get title(){return I(n)}})}},ce=O(()=>I(n)&&g$(I(t)));V(oe,e=>{I(ce)&&e(se)});var le=P(oe,2),ue=e=>{K(e,{name:`database-zap`,class:`cache-savings-icon`})},de=O(()=>I(n)&&y$(I(t)));V(le,e=>{I(de)&&e(ue)});var fe=P(le,2),pe=e=>{var n=x1();F(()=>W(n,`title`,I(t).costs_calculation_caveat)),z(e,n)};V(fe,e=>{I(n)&&I(t).costs_calculation_caveat&&e(pe)}),T(re);var me=P(re),he=e=>{var n=S1(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{{let n=O(()=>_$(I(t)));K(e,{name:`circle-dollar-sign`,class:`cost-source-icon`,get title(){return I(n)}})}},s=O(()=>g$(I(t)));V(a,e=>{I(s)&&e(o)});var c=P(a,2),l=e=>{K(e,{name:`database-zap`,class:`cache-savings-icon`})},u=O(()=>y$(I(t)));V(c,e=>{I(u)&&e(l)});var d=P(c,2),f=e=>{var n=x1();F(()=>W(n,`title`,I(t).costs_calculation_caveat)),z(e,n)};V(d,e=>{I(t).costs_calculation_caveat&&e(f)}),T(n),F((e,t)=>{W(n,`title`,e),B(i,t)},[()=>x$(I(t),E$(I(t))),()=>IL(I(t).total_cost)]),z(e,n)};V(me,e=>{I(n)||e(he)}),T(i),F((e,n,r,c,l,d,p,h,g,_,b,x,S)=>{a=U(i,1,`svelte-hg4ill`,null,a,e),W(o,`title`,n),B(s,r),B(u,c),B(f,I(t).model),B(m,I(t).user_path||`-`),B(v,l),W(y,`title`,d),W(w,`title`,p),B(ee,h),W(te,`title`,g),B(ne,_),W(re,`title`,b),W(ie,`title`,x),B(ae,S)},[()=>({"usage-log-row-cached":y$(I(t))}),()=>UL(I(t).timestamp),()=>VI.formatTimestamp(I(t).timestamp),()=>GL(I(t))||`-`,()=>b$(I(t)),()=>T$(I(t)),()=>I(n)?FL(I(t).input_tokens)+` tokens`:``,()=>I(n)?IL(I(t).input_cost):FL(I(t).input_tokens),()=>I(n)?FL(I(t).output_tokens)+` tokens`:``,()=>I(n)?IL(I(t).output_cost):FL(I(t).output_tokens),()=>I(n)?x$(I(t),``):``,()=>I(n)?x$(I(t),FL(I(t).total_tokens)+` tokens +`+E$(I(t))):``,()=>I(n)?IL(I(t).total_cost):FL(I(t).total_tokens)]),z(e,i)}),T(_),T(i),T(t),F(()=>{B(u,I(n)?`Input Cost`:`Input`),B(f,I(n)?`Output Cost`:`Output`),B(m,I(n)?`Total Cost`:`Total`)}),z(e,t)},p=e=>{var t=T1();JZ(M(t),{size:20,label:`Loading request log`}),T(t),z(e,t)},m=e=>{var t=E1();ZZ(M(t),{}),T(t),z(e,t)};V(d,e=>{J.usageLog.entries.length>0?e(f):J.usageLogLoading?e(p,1):e(m,-1)}),f1(P(d,2),{get total(){return J.usageLog.total},get offset(){return J.usageLog.offset},get limit(){return J.usageLog.limit},onprev:()=>J.usageLogPrevPage(),onnext:()=>J.usageLogNextPage()}),T(a),L(`change`,u,()=>J.fetchUsageLog(!0)),la(u,()=>J.usageLogHideCached,e=>J.usageLogHideCached=e),z(e,a),D()}Hr([`click`,`change`]);var k1=R(`
`);function A1(e,t){E(t,!0);let n=`usage`;Mn(()=>{q.refreshTick,wI.page===n&&(J.fetchUsagePage(),XQ.ensureLiveLogs())}),Mn(()=>{wI.page===n&&(J.usageMode=wI.sub===`costs`?`costs`:`tokens`)});var r=k1(),i=P(M(r),2),a=M(i);cY(a,{ariaLabel:`Usage mode`,options:[{value:`tokens`,label:`Tokens`},{value:`costs`,label:`Costs`}],get value(){return J.usageMode},onchange:e=>J.toggleUsageMode(e)}),AR(P(a,2),{onchange:()=>J.fetchUsagePage()}),T(i);var o=P(i,2);H$(o,{});var s=P(o,2);J$(s,{});var c=P(s,2),l=M(c);u1(l,{kind:`model`});var u=P(l,2);u1(u,{kind:`userPath`}),u1(P(u,2),{kind:`label`}),T(c),O1(P(c,2),{}),T(r),z(e,r),D()}var j1=R(`
`);function M1(e,t){let n=G(t,`label`,3,`Loading...`),r=G(t,`class`,3,``);var i=j1(),a=P(M(i),2),o=M(a,!0);T(a),T(i),F(()=>{U(i,1,`loading-state ${r()??``}`,`svelte-hzxv1d`),B(o,n())}),z(e,i)}var N1=R(``);function P1(e,t){let n=G(t,`label`,3,``),r=G(t,`class`,3,``),i=G(t,`disabled`,3,!1);var a=N1();hi(M(a),()=>t.children??m),T(a),F(()=>{U(a,1,`table-action-btn ${r()??``}`),W(a,`aria-label`,n()),W(a,`title`,n()),a.disabled=i()}),L(`click`,a,function(...e){t.onclick?.apply(this,e)}),z(e,a)}Hr([`click`]);async function F1(e,{label:t,errorFallback:n=`Unable to load ${t}.`,unavailableStatuses:r=[503],normalize:i=e=>Array.isArray(e)?e:[],options:a}){let o;try{o=await qI(e,{...a||{},label:t})}catch(e){return YI(e)||console.error(`Failed to fetch ${t}:`,e),{status:`error`,items:[],error:n,result:null}}return o.stale?{status:`stale`,items:[],error:``,result:o}:r.includes(o.status)?{status:`unavailable`,items:[],error:``,result:o}:o.ok?{status:`ok`,items:i(o.data),error:``,result:o}:{status:`error`,items:[],error:o.status===401?``:HI(o.data,n),result:o}}async function I1(e,t,n,{label:r,errorFallback:i=`Unable to ${r}.`,unavailableStatuses:a=[503],unavailableMessage:o=`This feature is unavailable on the gateway.`,options:s}){let c;try{c=await JI(e,t,n,{...s||{},label:r})}catch(e){return YI(e)||console.error(`Failed to ${r}:`,e),{status:`error`,error:i,result:null}}return c.stale?{status:`stale`,error:``,result:c}:a.includes(c.status)?{status:`unavailable`,error:o,result:c}:c.ok?{status:`ok`,error:``,result:c}:{status:`error`,error:c.status===401?`Authentication required.`:HI(c.data,i),result:c}}function L1(){return{scope:`user_path`,subject:`/`,period:`daily`,period_seconds:86400,amount:``,source:`manual`}}function R1(e){let t={user_path:{label:`User path`,chip:`user path`,fieldLabel:`User Path`,placeholder:`/team/alpha`},label:{label:`Label`,chip:`label`,fieldLabel:`Label`,placeholder:`Mobile-App-iOS`}};return t[e]||t.user_path}function z1(){return[`user_path`,`label`].map(e=>({value:e,label:R1(e).label}))}function B1(e){return String(e&&e.scope||``).trim()||`user_path`}function V1(e){return String(e&&e.subject||``).trim()||String(e&&e.user_path||``)}function H1(e){return R1(B1(e)).chip}function U1(e){return B1(e)===`label`?`budget-label`:`budget-user-path`}function W1(e){return R1(String(e&&e.scope||``)).fieldLabel}function G1(e){return R1(String(e&&e.scope||``)).placeholder}function K1(e){e.subject=String(e&&e.scope||``)===`user_path`?`/`:``}function q1(){return[{value:`hourly`,label:`Hourly`},{value:`daily`,label:`Daily`},{value:`weekly`,label:`Weekly`},{value:`monthly`,label:`Monthly`},{value:`custom`,label:`Custom seconds`}]}function J1(e){switch(String(e||``).trim().toLowerCase()){case`hourly`:return 3600;case`daily`:return 86400;case`weekly`:return 604800;case`monthly`:return 2592e3;default:return 0}}function Y1(e){switch(Number(e||0)){case 3600:return`hourly`;case 86400:return`daily`;case 604800:return`weekly`;case 2592e3:return`monthly`;default:return`custom`}}function X1(e){return B1(e)+`:`+V1(e)+`:`+String(e&&e.period_seconds||``)}function Z1(e,t){if(!t||!Array.isArray(e))return null;let n=X1(t);return e.find(e=>X1(e)===n)||null}function Q1(e){let t=String(e||``).trim();if(!t)return`User path is required.`;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`);for(let e of n){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function $1(e){if(Q1(e))return``;let t=String(e||``).trim(),n=(t.startsWith(`/`)?t:`/`+t).split(`/`),r=[];for(let e of n){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function e0(e){return`/`+String(e||``).trimStart().replace(/^\/+/,``)}function t0(e){return Array.isArray(e)?e:e&&Array.isArray(e.budgets)?e.budgets:[]}function n0(e){let t=Number(e&&e.period_seconds||0);return[V1(e),H1(e),y0(e),Y1(t),t?String(t)+`s`:``,t?String(t)+` seconds`:``].join(` `).toLowerCase()}var r0={user_path:0,label:1};function i0(e,t){let n=Array.isArray(e)?e.slice():[],r=String(t||`subject`);return n.sort((e,t)=>{let n=(r0[B1(e)]||0)-(r0[B1(t)]||0),i=V1(e).localeCompare(V1(t)),a=Number(t&&t.period_seconds||0)-Number(e&&e.period_seconds||0);return r===`period`?a||n||i:n||i||a}),n}function a0(e,t,n){let r=Array.isArray(e)?e:[],i=String(t||``).trim().toLowerCase();return i0(i?r.filter(e=>n0(e).includes(i)):r.slice(),n)}function o0(e){let t=e||{},n=B1(t),r=String(t.subject||``).trim();if(n===`user_path`){let e=Q1(r);if(e)return{payload:null,error:e}}else if(!r)return{payload:null,error:`Label is required.`};let i=Number(t.amount);if(!Number.isFinite(i)||i<=0)return{payload:null,error:`Amount must be greater than 0.`};let a=String(t.period||``).trim(),o=J1(a);return a===`custom`&&(o=Number(t.period_seconds)),!Number.isFinite(o)||o<=0?{payload:null,error:`Period seconds must be greater than 0.`}:{payload:{scope:n,subject:n===`user_path`?$1(r):r,period_seconds:Math.trunc(o),amount:i,source:String(t.source||`manual`).trim()||`manual`},error:``}}function s0(e){return{scope:B1(e),subject:V1(e),budget_key:{period_seconds:e.period_seconds},amount:e.amount}}function c0(e){return{scope:B1(e),subject:V1(e),budget_key:{period_seconds:e.period_seconds}}}function l0(e){return{scope:B1(e),subject:V1(e),period_seconds:e.period_seconds}}function u0(e){return IL(e)}function d0(e,t){let n=e||{},r=t||{};return`A budget for "`+((V1(n)||V1(r))+` `+y0({period_seconds:n.period_seconds||r.period_seconds,period_label:r.period_label}))+`" already exists. Saving will override the current `+u0(r.amount)+` limit with `+u0(n.amount)+`.`}function f0(e){let t=Number(e);return!Number.isFinite(t)||t<0?0:t}function p0(e,t){let n=f0(e);return Math.round((t?Math.min(n,1):n)*1e3)/10}function m0(e){return f0(e&&e.usage_ratio)}function h0(e){return p0(m0(e),!0)}function g0(e){return p0(e&&e.period_ratio,!0)}function _0(e){return p0(m0(e),!1).toFixed(1).replace(/\.0$/,``)+`%`}function v0(e){return g0(e).toFixed(1).replace(/\.0$/,``)+`%`}function y0(e){let t=Number(e&&e.period_seconds||0);switch(t){case 3600:return`Hourly`;case 86400:return`Daily`;case 604800:return`Weekly`;case 2592e3:return`Monthly`;default:{let n=String(e&&e.period_label||``).trim();return n?`Custom `+n:`Custom `+String(t||``)+`s`}}}function b0(e){switch(Number(e&&e.period_seconds||0)){case 3600:return`budget-period-label-hourly`;case 86400:return`budget-period-label-daily`;case 604800:return`budget-period-label-weekly`;case 2592e3:return`budget-period-label-monthly`;default:return`budget-period-label-custom`}}function x0(e){return b0(e).replace(`budget-period-label-`,`budget-bar-fill-period-`)}function S0(e){return b0(e).replace(`budget-period-label-`,`budget-bar-track-period-`)}function C0(e){switch(Number(e&&e.period_seconds||0)){case 3600:return`clock`;case 86400:return`sun`;case 604800:return`calendar-days`;case 2592e3:return`calendar`;default:return`settings-2`}}function w0(e){let t=Math.max(0,Math.trunc(Number(e||0)));return t+` `+(t===1?`second`:`seconds`)}function T0(e){let t=Number(e&&e.period_seconds||0);switch(t){case 3600:return`1 hour`;case 86400:return`1 day`;case 604800:return`1 week`;case 2592e3:return`1 month`;default:return w0(t)}}function E0(e){return String(e&&e.source||``).trim()||`manual`}function D0(e){let t=E0(e).toLowerCase();return t===`manual`?`Created from the dashboard.`:t===`config`?`Loaded from configuration.`:`Budget source: `+t}function O0(e){let t=Number(e&&e.remaining);return Number.isFinite(t)?t<0?IL(Math.abs(t))+` over`:IL(t)+` remaining`:``}var Y=new class{#e=k(j([]));get budgets(){return I(this.#e)}set budgets(e){A(this.#e,e,!0)}#t=k(!0);get budgetsAvailable(){return I(this.#t)}set budgetsAvailable(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get filter(){return I(this.#r)}set filter(e){A(this.#r,e,!0)}#i=k(`subject`);get sortBy(){return I(this.#i)}set sortBy(e){A(this.#i,e,!0)}#a=k(``);get error(){return I(this.#a)}set error(e){A(this.#a,e,!0)}#o=k(!1);get formOpen(){return I(this.#o)}set formOpen(e){A(this.#o,e,!0)}#s=k(!1);get formSubmitting(){return I(this.#s)}set formSubmitting(e){A(this.#s,e,!0)}#c=k(``);get formError(){return I(this.#c)}set formError(e){A(this.#c,e,!0)}#l=k(!1);get editing(){return I(this.#l)}set editing(e){A(this.#l,e,!0)}#u=k(j(L1()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(!1);get overrideDialogOpen(){return I(this.#d)}set overrideDialogOpen(e){A(this.#d,e,!0)}#f=k(null);get overridePendingPayload(){return I(this.#f)}set overridePendingPayload(e){A(this.#f,e,!0)}#p=k(null);get overrideExistingBudget(){return I(this.#p)}set overrideExistingBudget(e){A(this.#p,e,!0)}#m=k(``);get resettingKey(){return I(this.#m)}set resettingKey(e){A(this.#m,e,!0)}#h=k(``);get deletingKey(){return I(this.#h)}set deletingKey(e){A(this.#h,e,!0)}#g=k(!1);get resetAllLoading(){return I(this.#g)}set resetAllLoading(e){A(this.#g,e,!0)}#_=null;managementEnabled(){return QI.budgetsVisible()}filteredBudgets(){return a0(this.budgets,this.filter,this.sortBy)}async fetchBudgetsPage(){if(await QI.ensureLoaded(),!this.managementEnabled()){this.budgets=[],this.budgetsAvailable=!1,this.error=``;return}return this.#_||=this.fetchBudgets().finally(()=>{this.#_=null}),this.#_}async fetchBudgets(){this.loading=!0,this.error=``;let e=await F1(`/admin/budgets`,{label:`budgets`,errorFallback:`Unable to load budgets.`,normalize:t0});if(this.loading=!1,e.status!==`stale`){if(e.status===`unavailable`){this.budgetsAvailable=!1,this.budgets=[];return}if(!e.result){this.budgets=[],this.error=e.error;return}if(this.budgetsAvailable=!0,e.status===`error`){this.error=e.error;return}this.budgets=e.items}}openForm(e){if(this.editing=!!e,this.formError=``,e){let t=Number(e.period_seconds||0);this.form={scope:B1(e),subject:V1(e),period:Y1(t),period_seconds:t,amount:String(e.amount||``),source:String(e.source||`manual`)}}else this.form=L1();this.formOpen=!0}syncPeriodSeconds(){let e=J1(String(this.form.period||``).trim());e>0&&(this.form.period_seconds=e)}setFormSubject(e){this.form.subject=this.form.scope===`label`?String(e??``):e0(e)}syncScope(){K1(this.form)}closeForm(){this.closeOverrideDialog(),this.formOpen=!1,this.formSubmitting=!1,this.formError=``,this.editing=!1,this.form=L1()}async submitForm(){if(this.formSubmitting)return;let{payload:e,error:t}=o0(this.form);if(!e){this.formError=t;return}if(!this.editing){let t=Z1(this.budgets,e);if(t){this.openOverrideDialog(t,e);return}}await this.saveBudgetPayload(e)}async saveBudgetPayload(e){if(this.formSubmitting||!e)return;this.formSubmitting=!0,this.formError=``;let t=await I1(`/admin/budgets`,`PUT`,s0(e),{label:`save budget`,errorFallback:`Unable to save budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.formSubmitting=!1,t.status!==`stale`){if(t.status===`unavailable`){this.budgetsAvailable=!1,this.formError=t.error;return}if(t.status===`error`){this.formError=t.error;return}this.closeForm(),DL.success(`Budget saved.`),this.fetchBudgets()}}openOverrideDialog(e,t){this.overrideExistingBudget=e||null,this.overridePendingPayload=t||null,this.overrideDialogOpen=!0}closeOverrideDialog(){this.overrideDialogOpen=!1,this.overridePendingPayload=null,this.overrideExistingBudget=null}async confirmOverride(){if(!this.overridePendingPayload){this.closeOverrideDialog();return}let e=this.overridePendingPayload;this.closeOverrideDialog(),await this.saveBudgetPayload(e)}async resetBudget(e){if(!e)return;let t=X1(e);if(this.resettingKey===t)return;let n=V1(e)+` `+y0(e);if(!confirm(`Reset budget "`+n+`"?`))return;this.resettingKey=t;let r=await I1(`/admin/budgets/reset-one`,`POST`,l0(e),{label:`reset budget`,errorFallback:`Unable to reset budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.resettingKey=``,r.status!==`stale`){if(r.status===`unavailable`){this.budgetsAvailable=!1,DL.error(r.error);return}if(r.status===`error`){DL.error(r.error);return}DL.success(`Budget reset.`),this.fetchBudgets()}}async deleteBudget(e){if(!e)return;let t=X1(e);if(this.deletingKey===t)return;let n=V1(e)+` `+y0(e);if(!confirm(`Delete budget "`+n+`"? This cannot be undone.`))return;this.deletingKey=t;let r=await I1(`/admin/budgets`,`DELETE`,c0(e),{label:`delete budget`,errorFallback:`Unable to delete budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.deletingKey=``,r.status!==`stale`){if(r.status===`unavailable`){this.budgetsAvailable=!1,DL.error(r.error);return}if(r.status===`error`){DL.error(r.error);return}this.budgets=t0(r.result.data),DL.success(`Budget deleted.`)}}openResetDialog(){fL.open({title:`Reset Budgets`,titleId:`budgetResetDialogTitle`,inputId:`budget-reset-confirmation`,requiredText:`reset`,confirmLabel:`Reset All Budgets`,icon:`rotate-ccw`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.resetAllBudgets()})}async resetAllBudgets(){if(this.resetAllLoading)return;this.resetAllLoading=!0;let e=await I1(`/admin/budgets/reset`,`POST`,{confirmation:`reset`},{label:`reset budgets`,errorFallback:`Unable to reset budgets.`,unavailableStatuses:[]});if(this.resetAllLoading=!1,e.status!==`stale`){if(e.status!==`ok`){fL.error=e.error;return}fL.close(),DL.success(`Budgets reset.`),wI.page===`budgets`&&this.fetchBudgets()}}},k0=R(` Edit`,1),A0=R(` `,1),j0=R(`
Usage
Period
`),M0=R(`
`);function N0(e,t){E(t,!0);let n=G(t,`budgets`,19,()=>[]);function r(e){if(!e)return``;let t=VI.formatTimestamp(e);return!t||t===`-`?``:t+` `+VI.effectiveTimeZoneLabel()}var i=M0();H(i,21,n,e=>X1(e),(e,t)=>{var n=j0(),i=M(n),a=M(i),o=M(a),s=M(o),c=e=>{K(e,{name:`tag`,class:`budget-scope-icon`})},l=O(()=>B1(I(t))===`label`);V(s,e=>{I(l)&&e(c)});var u=P(s);T(o);var d=P(o,2),f=M(d),p=M(f);{let e=O(()=>C0(I(t)));K(p,{get name(){return I(e)},class:`budget-period-icon`})}var m=P(p,2),h=M(m,!0);T(m),T(f),T(d);var g=P(d,2),_=M(g),v=M(_),y=M(v,!0);T(v),T(_);var b=P(_,2),x=M(b);P1(x,{label:`Edit budget`,class:`budget-action-btn`,onclick:()=>Y.openForm(I(t)),children:(e,t)=>{var n=k0();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}});var S=P(x,2);{let e=O(()=>Y.resettingKey===X1(I(t))?`Resetting budget`:`Reset budget`),n=O(()=>Y.resettingKey===X1(I(t)));P1(S,{get label(){return I(e)},class:`budget-action-btn budget-action-btn-warning`,onclick:()=>Y.resetBudget(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=A0(),i=N(r);K(i,{name:`rotate-ccw`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>Y.resettingKey===X1(I(t))?`Resetting`:`Reset`]),z(e,r)},$$slots:{default:!0}})}var C=P(S,2);{let e=O(()=>Y.deletingKey===X1(I(t))?`Deleting budget`:`Delete budget`),n=O(()=>Y.deletingKey===X1(I(t)));P1(C,{get label(){return I(e)},class:`table-action-btn-danger budget-action-btn`,onclick:()=>Y.deleteBudget(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=A0(),i=N(r);K(i,{name:`trash-2`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>Y.deletingKey===X1(I(t))?`Deleting`:`Delete`]),z(e,r)},$$slots:{default:!0}})}T(b),T(g),T(a);var w=P(a,2),ee=M(w),te=M(ee),ne=P(M(te),2),re=M(ne,!0);T(ne),T(te);var ie=P(te,2),ae=M(ie);let oe;var se=P(ae,2),ce=M(se),le=M(ce,!0);T(ce);var ue=P(ce,2),de=M(ue,!0);T(ue),T(se);var fe=P(se,2),pe=M(fe),me=M(pe,!0);T(pe);var he=P(pe,2),ge=M(he,!0);T(he),T(fe),T(ie),T(ee);var _e=P(ee,2),ve=M(_e),ye=P(M(ve),2),be=M(ye,!0);T(ye),T(ve);var xe=P(ve,2),Se=M(xe),Ce=P(Se,2),we=M(Ce),Te=M(we,!0);T(we);var Ee=P(we,2),De=M(Ee,!0);T(Ee);var Oe=P(Ee,2),ke=M(Oe,!0);T(Oe),T(Ce);var Ae=P(Ce,2),je=M(Ae),Me=M(je,!0);T(je);var Ne=P(je,2),Pe=M(Ne,!0);T(Ne);var Fe=P(Ne,2),Ie=M(Fe,!0);T(Fe),T(Ae),T(xe),T(_e),T(w),T(i),T(n),F((e,t,n,r,i,a,s,c,l,d,p,m,g,_,b,x,S,C,w,ee,te,ne,se,ce,ue,fe,pe,he,_e,ve)=>{U(o,1,`budget-scope-value ${e??``}`,`svelte-1jm56wo`),zi(o,t),W(o,`title`,n),B(u,` ${r??``}`),U(f,1,`budget-period-label ${i??``}`,`svelte-1jm56wo`),B(h,a),W(v,`title`,s),B(y,c),B(re,l),W(ie,`aria-valuenow`,d),W(ie,`aria-label`,p),zi(ie,`--budget-progress: ${m??``}%`),oe=U(ae,1,`budget-bar-fill budget-bar-fill-usage`,null,oe,g),B(le,_),B(de,b),B(me,x),B(ge,S),B(be,C),U(xe,1,`budget-bar-track ${w??``}`,`svelte-1jm56wo`),W(xe,`aria-valuenow`,ee),zi(xe,`--budget-progress: ${te??``}%`),U(Se,1,`budget-bar-fill budget-bar-fill-period ${ne??``}`,`svelte-1jm56wo`),W(we,`title`,se),B(Te,ce),B(De,ue),W(Oe,`title`,fe),B(ke,pe),B(Me,he),B(Pe,_e),B(Ie,ve)},[()=>U1(I(t)),()=>B1(I(t))===`label`?`--label-color: `+gY(V1(I(t))):void 0,()=>H1(I(t))+`: `+V1(I(t)),()=>V1(I(t)),()=>b0(I(t)),()=>y0(I(t)),()=>D0(I(t)),()=>E0(I(t)),()=>_0(I(t)),()=>h0(I(t)),()=>`Budget usage: `+IL(I(t).spent)+` of `+IL(I(t).amount)+`, `+O0(I(t)),()=>h0(I(t)),()=>({"budget-bar-fill-danger":m0(I(t))>=1}),()=>IL(I(t).spent)+` of `+IL(I(t).amount),()=>O0(I(t)),()=>IL(I(t).spent)+` of `+IL(I(t).amount),()=>O0(I(t)),()=>v0(I(t)),()=>S0(I(t)),()=>g0(I(t)),()=>g0(I(t)),()=>x0(I(t)),()=>r(I(t).period_start),()=>VI.formatTimestamp(I(t).period_start),()=>T0(I(t)),()=>r(I(t).period_end),()=>VI.formatTimestamp(I(t).period_end),()=>VI.formatTimestamp(I(t).period_start),()=>T0(I(t)),()=>VI.formatTimestamp(I(t).period_end)]),z(e,n)}),T(i),z(e,i),D()}var P0=R(`

`,1),F0=R(``),I0=R(``),L0=R(`
`);function R0(e,t){E(t,!0);let n=G(t,`open`,3,!1),r=G(t,`title`,3,``),i=G(t,`ariaLabel`,3,``),a=G(t,`error`,3,``),o=G(t,`submitting`,3,!1),s=G(t,`submitDisabled`,3,!1),c=G(t,`submitLabel`,3,`Save`),l=G(t,`submittingLabel`,3,`Saving...`),u=G(t,`submitIcon`,3,`save`),d=G(t,`cancel`,3,!0),f=G(t,`dialogClass`,3,``),p=G(t,`novalidate`,3,!1),h=G(t,`canClose`,3,()=>!0);function g(){q.dialogOpen||h()()&&t.onclose?.()}sL(e,{get open(){return n()},variant:`editor`,onclose:g,children:(e,n)=>{var h=L0(),g=M(h),_=M(g),v=M(_),y=M(v),b=e=>{var n=Qr();hi(N(n),()=>t.header),z(e,n)},x=e=>{var n=P0(),i=N(n),a=M(i,!0);T(i);var o=P(i,2),s=e=>{var n=Qr();hi(N(n),()=>t.headerHint),z(e,n)};V(o,e=>{t.headerHint&&e(s)}),F(()=>B(a,r())),z(e,n)};V(y,e=>{t.header?e(b):e(x,-1)}),T(v);var S=P(v,2);{let e=O(()=>`Close `+(i()||r()).toLowerCase());aL(S,{get label(){return I(e)},onclick:()=>t.onclose?.()})}T(_);var C=P(_,2);hi(C,()=>t.children??m);var w=P(C,2),ee=e=>{var t=F0(),n=M(t,!0);T(t),F(()=>B(n,a())),z(e,t)};V(w,e=>{a()&&e(ee)});var te=P(w,2),ne=M(te),re=e=>{var n=I0();L(`click`,n,()=>t.onclose?.()),z(e,n)};V(ne,e=>{d()&&e(re)});var ie=P(ne,2),ae=e=>{var n=Qr();hi(N(n),()=>t.extraActions),z(e,n)};V(ie,e=>{t.extraActions&&e(ae)});var oe=P(ie,2),se=M(oe);K(se,{get name(){return u()},class:`form-action-icon`});var ce=P(se,2),le=M(ce,!0);T(ce),T(oe),T(te),T(g),T(h),F(()=>{U(h,1,`model-editor`+(f()?` `+f():``)),W(h,`aria-label`,i()||r()),g.noValidate=p(),oe.disabled=o()||s(),B(le,o()?l():c())}),Vr(`submit`,g,e=>{e.preventDefault(),t.onsubmit?.()}),z(e,h)},$$slots:{default:!0}}),D()}Hr([`click`]);var z0=R(`
`);function B0(e,t){let n=G(t,`label`,3,``);var r=z0(),i=M(r),a=M(i,!0);T(i),hi(P(i,2),()=>t.children??m),T(r),F(()=>{W(i,`for`,t.id),B(a,n())}),z(e,r)}var V0=R(``),H0=R(``),U0=R(``),W0=R(``),G0=R(``),K0=R(``),q0=R(`

Editing a budget updates its limit only. Use Reset to start a new + budget period.

`),J0=R(`
`,1),Y0=R(``),X0=R(` `,1);function Z0(e,t){E(t,!0);function n(e){Y.setFormSubject(e.target.value),e.target.value=Y.form.subject}var r=X0(),i=N(r);{let e=O(()=>Y.editing?`Edit Budget`:`Create Budget`);R0(i,{get open(){return Y.formOpen},get title(){return I(e)},ariaLabel:`Budget editor`,get error(){return Y.formError},get submitting(){return Y.formSubmitting},submitLabel:`Save Budget`,dialogClass:`budget-editor`,canClose:()=>!Y.overrideDialogOpen,onclose:()=>Y.closeForm(),onsubmit:()=>Y.submitForm(),children:(e,t)=>{var r=J0(),i=N(r),a=M(i);B0(a,{id:`budget-scope`,label:`Scope`,children:(e,t)=>{var n=H0();H(n,21,z1,e=>e.value,(e,t)=>{var n=V0(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),F(()=>n.disabled=Y.editing),L(`change`,n,()=>Y.syncScope()),Hi(n,()=>Y.form.scope,e=>Y.form.scope=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);{let e=O(()=>W1(Y.form));B0(o,{id:`budget-subject`,get label(){return I(e)},children:(e,t)=>{var r=U0();$i(r),F(e=>{W(r,`placeholder`,e),ea(r,Y.form.subject),r.disabled=Y.editing,W(r,`data-modal-autofocus`,!Y.editing||void 0)},[()=>G1(Y.form)]),L(`input`,r,n),z(e,r)},$$slots:{default:!0}})}var s=P(o,2);B0(s,{id:`budget-period`,label:`Period`,children:(e,t)=>{var n=W0();H(n,21,q1,e=>e.value,(e,t)=>{var n=V0(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),F(()=>n.disabled=Y.editing),L(`change`,n,()=>Y.syncPeriodSeconds()),Hi(n,()=>Y.form.period,e=>Y.form.period=e),z(e,n)},$$slots:{default:!0}});var c=P(s,2),l=e=>{B0(e,{id:`budget-period-seconds`,label:`Period Seconds`,children:(e,t)=>{var n=G0();$i(n),F(()=>n.disabled=Y.editing),ca(n,()=>Y.form.period_seconds,e=>Y.form.period_seconds=e),z(e,n)},$$slots:{default:!0}})};V(c,e=>{Y.form.period===`custom`&&e(l)}),B0(P(c,2),{id:`budget-amount`,label:`Amount`,children:(e,t)=>{var n=K0();$i(n),F(()=>W(n,`data-modal-autofocus`,Y.editing||void 0)),ca(n,()=>Y.form.amount,e=>Y.form.amount=e),z(e,n)},$$slots:{default:!0}}),T(i);var u=P(i,2),d=e=>{z(e,q0())};V(u,e=>{Y.editing&&e(d)}),z(e,r)},$$slots:{default:!0}})}sL(P(i,2),{get open(){return Y.overrideDialogOpen},variant:`auth`,onclose:()=>Y.closeOverrideDialog(),children:(e,t)=>{var n=Y0(),r=M(n);aL(P(M(r),2),{label:`Close budget override dialog`,onclick:()=>Y.closeOverrideDialog(),class:`auth-dialog-close`,iconClass:``}),T(r);var i=P(r,2),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=P(c,2),u=M(l);K(u,{name:`save`,class:`form-action-icon`});var d=P(u,2),f=M(d,!0);T(d),T(l),T(s),T(i),T(n),F(e=>{B(o,e),l.disabled=Y.formSubmitting,B(f,Y.formSubmitting?`Saving...`:`Override Budget`)},[()=>d0(Y.overridePendingPayload,Y.overrideExistingBudget)]),Vr(`submit`,i,e=>{e.preventDefault(),Y.confirmOverride()}),L(`click`,c,()=>Y.closeOverrideDialog()),z(e,n)},$$slots:{default:!0}}),z(e,r),D()}Hr([`change`,`input`,`click`]);var Q0=R(`

Budgets

`),$0=R(``),e2=R(`
Budget management is unavailable.
`),t2=R(``),n2=R(`
`),r2=R(`

No budgets configured yet.

`),i2=R(`

No budgets match your filter.

`),a2=R(`
`);function o2(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`budgets`&&Y.fetchBudgetsPage()});let n=O(()=>Y.filteredBudgets());var r=a2(),i=M(r),a=M(i);yQ(M(a),{copyId:`budgets-help-copy`,label:`budgets help`,title:e=>{z(e,Q0())},help:e=>{Ge(),z(e,Zr(`Budgets are evaluated from tracked usage cost records for each user + path subtree. Enforcement runs only when Budget is enabled for the + active workflow.`))},$$slots:{title:!0,help:!0}}),T(a);var o=P(a,2),s=M(o),c=e=>{var t=$0();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Y.formSubmitting),L(`click`,t,()=>Y.openForm()),z(e,t)},l=O(()=>Y.managementEnabled()&&Y.budgetsAvailable&&!q.authError);V(s,e=>{I(l)&&e(c)}),T(o),T(i);var u=P(i,2);uR(u,{});var d=P(u,2),f=e=>{z(e,e2())},p=O(()=>(!Y.managementEnabled()||!Y.budgetsAvailable)&&!q.authError);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{var t=t2(),n=M(t,!0);T(t),F(()=>B(n,Y.error)),z(e,t)};V(m,e=>{Y.error&&!q.authError&&e(h)});var g=P(m,2),_=e=>{M1(e,{label:`Loading budgets...`})};V(g,e=>{Y.loading&&!q.authError&&e(_)});var v=P(g,2),y=e=>{var t=n2(),n=M(t);L$(M(n),{id:`budget-filter`,placeholder:`Filter by user path, label, or period...`,label:`Filter budgets by user path or period`,get value(){return Y.filter},set value(e){Y.filter=e}}),T(n);var r=P(n,2),i=P(M(r),2),a=M(i);a.value=a.__value=`subject`;var o=P(a);o.value=o.__value=`period`,T(i),T(r),T(t),Hi(i,()=>Y.sortBy,e=>Y.sortBy=e),z(e,t)};V(v,e=>{(Y.budgets.length>0||Y.filter)&&Y.budgetsAvailable&&!q.authError&&!Y.formOpen&&e(y)});var b=P(v,2);Z0(b,{});var x=P(b,2),S=e=>{N0(e,{get budgets(){return I(n)}})};V(x,e=>{I(n).length>0&&Y.budgetsAvailable&&!q.authError&&e(S)});var C=P(x,2),w=e=>{z(e,r2())},ee=O(()=>Y.budgets.length===0&&!Y.filter&&!Y.loading&&!q.authError&&!Y.error&&Y.budgetsAvailable&&Y.managementEnabled());V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{z(e,i2())},re=O(()=>Y.budgets.length>0&&I(n).length===0&&Y.filter&&!Y.loading&&!q.authError&&!Y.error&&Y.budgetsAvailable&&Y.managementEnabled());V(te,e=>{I(re)&&e(ne)}),T(r),z(e,r),D()}Hr([`click`]);function s2(){return{scope:`user_path`,subject:`/`,period:`minute`,period_seconds:60,max_requests:``,max_tokens:``,source:`manual`}}function c2(e){let t={user_path:{label:`User path`,chip:`user path`,fieldLabel:`User Path`,placeholder:`/team/alpha`},provider:{label:`Provider`,chip:`provider`,fieldLabel:`Provider Name`,placeholder:`openai`},model:{label:`Model`,chip:`model`,fieldLabel:`Model`,placeholder:`openai/gpt-4o`}};return t[e]||t.user_path}function l2(){return[`user_path`,`provider`,`model`].map(e=>({value:e,label:c2(e).label}))}function u2(e){return String(e&&e.scope||``).trim()||`user_path`}function d2(e){return String(e&&e.subject||``).trim()||String(e&&e.user_path||``)}function f2(e){return c2(u2(e)).chip}function p2(e){return c2(String(e&&e.scope||``)).fieldLabel}function m2(e){return c2(String(e&&e.scope||``)).placeholder}function h2(e){e.subject=String(e&&e.scope||``)===`user_path`?`/`:``}function g2(){return[{value:`minute`,label:`Per minute`},{value:`hour`,label:`Per hour`},{value:`day`,label:`Per day`},{value:`concurrent`,label:`Concurrent (in-flight)`},{value:`custom`,label:`Custom seconds`}]}function _2(e){switch(String(e||``).trim().toLowerCase()){case`minute`:return 60;case`hour`:return 3600;case`day`:return 86400;case`concurrent`:return 0;default:return-1}}function v2(e){switch(Number(e||0)){case 60:return`minute`;case 3600:return`hour`;case 86400:return`day`;case 0:return`concurrent`;default:return`custom`}}function y2(e){let t=String(e&&e.period||``).trim(),n=_2(t);n>=0&&(e.period_seconds=n),t===`concurrent`&&(e.max_tokens=``)}function b2(e){return u2(e)+`:`+d2(e)+`:`+String(e&&e.period_seconds||`0`)}function x2(e){return Number(e&&e.period_seconds||0)===0}function S2(e){return String(e&&e.period_label||``).trim()||v2(Number(e&&e.period_seconds||0))}function C2(e){return String(e&&e.source||``)===`config`?`config`:`manual`}function w2(e){return String(e&&e.source||``)===`config`}function T2(e){let t=Number(e);return Number.isFinite(t)?t.toLocaleString():`0`}function E2(e,t){let n=Number(e),r=Number(t);if(!Number.isFinite(n)||!Number.isFinite(r)||r<=0)return 0;let i=Math.round(n/r*100);return Math.min(Math.max(i,0),100)}function D2(e,t){let n=String(t||``).trim().toLowerCase(),r=Array.isArray(e)?e.slice():[],i={user_path:0,provider:1,model:2};return r.sort((e,t)=>{let n=(i[u2(e)]||0)-(i[u2(t)]||0);if(n!==0)return n;let r=d2(e).localeCompare(d2(t));return r===0?Number(e.period_seconds||0)-Number(t.period_seconds||0):r}),n?r.filter(e=>{let t=d2(e).toLowerCase(),r=f2(e).toLowerCase(),i=S2(e).toLowerCase();return t.includes(n)||r.includes(n)||i.includes(n)}):r}function O2(e){return!e||!Array.isArray(e.rate_limits)?[]:e.rate_limits}function k2(e,t,n){let r=String(t||``).trim();return r=e===`provider`||e===`model`?r.toLowerCase():`/`+r.split(`/`).map(e=>e.trim()).filter(Boolean).join(`/`),e+`:`+r+`:`+Number(n||0)}function A2(e,t){return e?k2(t.scope,t.subject,t.limit_key.period_seconds)!==k2(e.scope,e.subject,e.period_seconds):!1}function j2(e){let t=e||{},n=String(t.scope||`user_path`),r=String(t.subject||``).trim();if(n!==`user_path`&&!r)return{error:p2(t)+` is required.`};let i=String(t.period||``)===`concurrent`,a=t.period_seconds;if(a===``||a==null)return{error:`Period seconds is required.`};let o=Number(a);if(!Number.isInteger(o)||o<0||o===0&&!i)return{error:`Period seconds must be a positive integer (0 only for the concurrent period).`};let s=String(t.max_requests===void 0||t.max_requests===null?``:t.max_requests).trim(),c=String(t.max_tokens===void 0||t.max_tokens===null?``:t.max_tokens).trim();if(!s&&!c)return{error:`Set max requests, max tokens, or both.`};if(i&&c)return{error:`Token limits are not valid for the concurrent period.`};let l={scope:n,subject:r||`/`,limit_key:{period_seconds:o}};if(s){let e=Number(s);if(!Number.isInteger(e)||e<=0)return{error:`Max requests must be a positive integer.`};l.max_requests=e}if(c){let e=Number(c);if(!Number.isInteger(e)||e<=0)return{error:`Max tokens must be a positive integer.`};l.max_tokens=e}return{payload:l}}function M2(e,t,n){if(u2(e)!==`model`)return!1;let r=String(d2(e)).toLowerCase(),i=String(n||``).trim().toLowerCase();if(!i)return!1;if(r===i)return!0;let a=String(t||``).trim().toLowerCase();return a?r===a+`/`+i||i.startsWith(a+`/`)&&r===i.slice(a.length+1):!1}function N2(e,t){return u2(e)===`provider`&&String(d2(e)).toLowerCase()===String(t||``).trim().toLowerCase()}function P2(e){let t=e||{},n=String(t.model||``),r=String(t.provider||``);return!r||n.toLowerCase().startsWith(r+`/`)?n:r+`/`+n}function F2(e,t){let n=e||{},r=Array.isArray(t)?t:[],i=[];return n.kind===`model`&&i.push({key:`model`,title:`Model limits`,scope:`model`,subject:P2(n),hint:``,items:r.filter(e=>M2(e,n.provider,n.model))}),i.push({key:`provider`,title:`Provider limits (`+n.provider+`)`,scope:`provider`,subject:n.provider,hint:n.kind===`model`?`Shared by every model routed to this provider.`:``,items:r.filter(e=>N2(e,n.provider))}),i.push({key:`global`,title:`Global limits`,scope:`user_path`,subject:`/`,hint:`Root user-path rules throttle all traffic. Narrower user-path rules also apply, per consumer.`,items:r.filter(e=>u2(e)===`user_path`&&d2(e)===`/`)}),i}function I2(e){return x2(e)?E2(e.in_flight,e.max_requests):Math.max(E2(e.requests_used,e.max_requests),E2(e.tokens_used,e.max_tokens))}function L2(e){return`--rate-limit-pressure: `+I2(e)+`%`}function R2(e){let t=I2(e);return t>=100?`rate-limit-pressure-row rate-limit-pressure-full`:t>=75?`rate-limit-pressure-row rate-limit-pressure-high`:`rate-limit-pressure-row`}function z2(e){return(Array.isArray(e)?e:[]).some(e=>u2(e)===`user_path`&&d2(e)===`/`)}function B2(e,t,n){let r=Array.isArray(e)?e:[];return r.some(e=>M2(e,t,n))?`table-action-btn-active`:r.some(e=>N2(e,t))||z2(r)?`rate-limit-gauge-inherited`:``}function V2(e,t){let n=Array.isArray(e)?e:[];return n.some(e=>N2(e,t))?`table-action-btn-active`:z2(n)?`rate-limit-gauge-inherited`:``}function H2(e,t){let n=`Rate limits for `+e;return t===`table-action-btn-active`?n+` (direct limits configured)`:t?n+` (inherited limits apply)`:n}function U2(e){if(x2(e))return T2(e.in_flight)+` of `+T2(e.max_requests)+` in flight`;let t=[];return e.max_requests!==null&&e.max_requests!==void 0&&t.push(T2(e.requests_used)+`/`+T2(e.max_requests)+` req`),e.max_tokens!==null&&e.max_tokens!==void 0&&t.push(T2(e.tokens_used)+`/`+T2(e.max_tokens)+` tok`),t.join(` · `)}var X=new class{#e=k(j([]));get rateLimits(){return I(this.#e)}set rateLimits(e){A(this.#e,e,!0)}#t=k(!0);get rateLimitsAvailable(){return I(this.#t)}set rateLimitsAvailable(e){A(this.#t,e,!0)}#n=k(!1);get rateLimitsLoading(){return I(this.#n)}set rateLimitsLoading(e){A(this.#n,e,!0)}rateLimitFetchPromise=null;#r=k(``);get rateLimitFilter(){return I(this.#r)}set rateLimitFilter(e){A(this.#r,e,!0)}#i=k(``);get rateLimitError(){return I(this.#i)}set rateLimitError(e){A(this.#i,e,!0)}#a=k(!1);get rateLimitFormOpen(){return I(this.#a)}set rateLimitFormOpen(e){A(this.#a,e,!0)}#o=k(!1);get rateLimitFormSubmitting(){return I(this.#o)}set rateLimitFormSubmitting(e){A(this.#o,e,!0)}#s=k(``);get rateLimitFormError(){return I(this.#s)}set rateLimitFormError(e){A(this.#s,e,!0)}#c=k(!1);get rateLimitEditing(){return I(this.#c)}set rateLimitEditing(e){A(this.#c,e,!0)}rateLimitEditingOriginal=null;rateLimitFormReturnToInspector=!1;#l=k(``);get rateLimitResettingKey(){return I(this.#l)}set rateLimitResettingKey(e){A(this.#l,e,!0)}#u=k(``);get rateLimitDeletingKey(){return I(this.#u)}set rateLimitDeletingKey(e){A(this.#u,e,!0)}#d=k(!1);get rateLimitInspectorOpen(){return I(this.#d)}set rateLimitInspectorOpen(e){A(this.#d,e,!0)}#f=k(j({kind:``,provider:``,model:``,title:``}));get rateLimitInspector(){return I(this.#f)}set rateLimitInspector(e){A(this.#f,e,!0)}#p=k(j(s2()));get rateLimitForm(){return I(this.#p)}set rateLimitForm(e){A(this.#p,e,!0)}rateLimitsEnabled(){return QI.rateLimitsVisible()}defaultRateLimitForm(){return s2()}rateLimitScopeMeta(e){return c2(e)}rateLimitScopeOptions(){return l2()}rateLimitScope(e){return u2(e)}rateLimitSubject(e){return d2(e)}rateLimitScopeLabel(e){return f2(e)}rateLimitSubjectFieldLabel(){return p2(this.rateLimitForm)}rateLimitSubjectPlaceholder(){return m2(this.rateLimitForm)}syncRateLimitScope(){h2(this.rateLimitForm)}rateLimitPeriodOptions(){return g2()}rateLimitPeriodSeconds(e){return _2(e)}rateLimitPeriodFromSeconds(e){return v2(e)}syncRateLimitPeriodSeconds(){y2(this.rateLimitForm)}rateLimitKey(e){return b2(e)}rateLimitIsConcurrent(e){return x2(e)}rateLimitPeriodLabel(e){return S2(e)}rateLimitSourceLabel(e){return C2(e)}rateLimitIsReadOnly(e){return w2(e)}formatRateLimitNumber(e){return T2(e)}rateLimitUsagePercent(e,t){return E2(e,t)}filteredRateLimits(){return D2(this.rateLimits,this.rateLimitFilter)}normalizeRateLimitListPayload(e){return O2(e)}async fetchRateLimitsPage(){if(await QI.ensureLoaded(),!this.rateLimitsEnabled()){this.rateLimits=[],this.rateLimitsAvailable=!1,this.rateLimitError=``;return}return this.rateLimitFetchPromise||=this.fetchRateLimits().finally(()=>{this.rateLimitFetchPromise=null}),this.rateLimitFetchPromise}async fetchRateLimits(){this.rateLimitsLoading=!0,this.rateLimitError=``;let e=await F1(`/admin/rate-limits`,{label:`rate limits`,errorFallback:`Unable to load rate limits.`,normalize:O2});if(this.rateLimitsLoading=!1,e.status!==`stale`){if(e.status===`unavailable`){this.rateLimitsAvailable=!1,this.rateLimits=[];return}if(!e.result){this.rateLimits=[],this.rateLimitError=e.error;return}if(this.rateLimitsAvailable=!0,e.status===`error`){this.rateLimitError=e.error;return}this.rateLimits=e.items}}openRateLimitForm(e){if(this.rateLimitEditing=!!e,this.rateLimitFormError=``,e){let t=Number(e.period_seconds||0);this.rateLimitEditingOriginal={scope:u2(e),subject:d2(e),period_seconds:t},this.rateLimitForm={scope:u2(e),subject:d2(e),period:v2(t),period_seconds:t,max_requests:e.max_requests===null||e.max_requests===void 0?``:String(e.max_requests),max_tokens:e.max_tokens===null||e.max_tokens===void 0?``:String(e.max_tokens),source:String(e.source||`manual`)}}else this.rateLimitEditingOriginal=null,this.rateLimitForm=s2();this.rateLimitFormOpen=!0}closeRateLimitForm(){this.rateLimitFormOpen=!1,this.rateLimitFormSubmitting=!1,this.rateLimitFormError=``,this.rateLimitEditing=!1,this.rateLimitEditingOriginal=null,this.rateLimitForm=s2(),this.rateLimitFormReturnToInspector&&(this.rateLimitFormReturnToInspector=!1,this.rateLimitInspectorOpen=!0)}rateLimitNormalizedIdentity(e,t,n){return k2(e,t,n)}rateLimitIdentityMoved(e){return A2(this.rateLimitEditingOriginal,e)}setRateLimitFormSubject(e){this.rateLimitForm.subject=String(e||``)}rateLimitFormPayload(){return j2(this.rateLimitForm)}async submitRateLimitForm(){if(this.rateLimitFormSubmitting)return;let{payload:e,error:t}=this.rateLimitFormPayload();if(t){this.rateLimitFormError=t;return}let n=this.rateLimitIdentityMoved(e),r=this.rateLimitEditingOriginal;this.rateLimitFormSubmitting=!0,this.rateLimitFormError=``;try{let t=await I1(`/admin/rate-limits`,`PUT`,e,{label:`save rate limit`,errorFallback:`Unable to save rate limit.`,unavailableStatuses:[]});if(t.status===`stale`)return;if(t.status!==`ok`){this.rateLimitFormError=t.error;return}if(this.rateLimits=O2(t.result.data),n&&!await this.deleteMovedRateLimitOriginal(r))return;this.closeRateLimitForm(),DL.success(n?`Rate limit moved; live counters restarted.`:`Rate limit saved.`)}finally{this.rateLimitFormSubmitting=!1}}async deleteMovedRateLimitOriginal(e){let t=await I1(`/admin/rate-limits`,`DELETE`,{scope:e.scope,subject:e.subject,limit_key:{period_seconds:Number(e.period_seconds||0)}},{label:`remove the moved rate limit`,errorFallback:`The new rule was saved, but the previous one could not be removed. Delete it manually.`,unavailableStatuses:[]});return t.status===`stale`?!1:t.status===`ok`?(this.rateLimits=O2(t.result.data),!0):(this.rateLimitFormError=t.error,!1)}async deleteRateLimit(e){let t=b2(e);if(this.rateLimitDeletingKey===t)return;this.rateLimitDeletingKey=t;let n=await I1(`/admin/rate-limits`,`DELETE`,{scope:u2(e),subject:d2(e),limit_key:{period_seconds:Number(e.period_seconds||0)}},{label:`delete rate limit`,errorFallback:`Unable to delete rate limit.`,unavailableStatuses:[]});if(this.rateLimitDeletingKey=``,n.status!==`stale`){if(n.status!==`ok`){DL.error(n.error);return}this.rateLimits=O2(n.result.data),DL.success(`Rate limit deleted.`)}}async resetRateLimit(e){let t=b2(e);if(this.rateLimitResettingKey===t)return;this.rateLimitResettingKey=t;let n=await I1(`/admin/rate-limits/reset-one`,`POST`,{scope:u2(e),subject:d2(e),period_seconds:Number(e.period_seconds||0)},{label:`reset rate limit`,errorFallback:`Unable to reset rate limit.`,unavailableStatuses:[]});if(this.rateLimitResettingKey=``,n.status!==`stale`){if(n.status!==`ok`){DL.error(n.error);return}this.rateLimits=O2(n.result.data),DL.success(`Rate limit counters reset.`)}}rateLimitInspectorModelID(e){return String(e&&e.model&&e.model.id||``).trim()}openRateLimitInspectorForModel(e){let t=this.rateLimitInspectorModelID(e),n=String(e&&e.provider_name||``).trim().toLowerCase();this.rateLimitInspector={kind:`model`,provider:n,model:t,title:String(e&&e.display_name||t)},this.showRateLimitInspector()}openRateLimitInspectorForProvider(e){let t=String(e&&e.provider_name||``).trim().toLowerCase();this.rateLimitInspector={kind:`provider`,provider:t,model:``,title:String(e&&e.display_name||t)},this.showRateLimitInspector()}showRateLimitInspector(){this.rateLimitInspectorOpen=!0,this.fetchRateLimitsPage()}closeRateLimitInspector(){this.rateLimitInspectorOpen=!1}rateLimitRuleMatchesModel(e,t,n){return M2(e,t,n)}rateLimitRuleMatchesProvider(e,t){return N2(e,t)}rateLimitInspectorQualifiedModel(){return P2(this.rateLimitInspector)}rateLimitInspectorSections(){return F2(this.rateLimitInspector,this.rateLimits)}rateLimitPressurePercent(e){return I2(e)}rateLimitPressureStyle(e){return L2(e)}rateLimitPressureClass(e){return R2(e)}rateLimitGaugeCache={rules:null,states:{}};rateLimitGaugeMemo(e,t){this.rateLimitGaugeCache.rules!==this.rateLimits&&(this.rateLimitGaugeCache={rules:this.rateLimits,states:{}});let n=this.rateLimitGaugeCache.states;return e in n||(n[e]=t()),n[e]}rateLimitGaugeClassForModel(e){let t=this.rateLimitInspectorModelID(e),n=String(e&&e.provider_name||``).trim().toLowerCase(),r=this.rateLimits;return this.rateLimitGaugeMemo(`model:`+n+`/`+t,()=>B2(r,n,t))}rateLimitGaugeClassForProvider(e){let t=String(e&&e.provider_name||``).trim().toLowerCase(),n=this.rateLimits;return this.rateLimitGaugeMemo(`provider:`+t,()=>V2(n,t))}hasGlobalRateLimits(){let e=this.rateLimits;return this.rateLimitGaugeMemo(`global`,()=>z2(e))}rateLimitGaugeTitle(e,t){return H2(e,t)}rateLimitInspectorSummary(e){return U2(e)}openRateLimitFormFromInspector(e,t,n){this.rateLimitInspectorOpen=!1,this.rateLimitFormReturnToInspector=!0,this.openRateLimitForm(n||void 0),n||(this.rateLimitForm.scope=e,this.rateLimitForm.subject=t)}},W2=R(``),G2=R(``),K2=R(``),q2=R(``),J2=R(``),Y2=R(``),X2=R(``),Z2=R(`

Scope, subject, and period identify the rule: changing any of them + moves the rule to a new key and restarts its live counters.

`),Q2=R(`

A user path rule limits the whole subtree; provider and model rules cap + all traffic routed there and make load balancing skip the target while + it is saturated. One shared counter per rule. Leave a field empty to + skip that limit. Token limits require usage tracking.

`,1);function $2(e,t){E(t,!0);{let t=O(()=>X.rateLimitEditing?`Edit Rate Limit`:`Create Rate Limit`);R0(e,{get open(){return X.rateLimitFormOpen},get title(){return I(t)},ariaLabel:`Rate limit editor`,get error(){return X.rateLimitFormError},get submitting(){return X.rateLimitFormSubmitting},submitLabel:`Save Rate Limit`,dialogClass:`budget-editor`,novalidate:!0,onclose:()=>X.closeRateLimitForm(),onsubmit:()=>X.submitRateLimitForm(),children:(e,t)=>{var n=Q2(),r=N(n),i=M(r);B0(i,{id:`rate-limit-scope`,label:`Scope`,children:(e,t)=>{var n=G2();H(n,21,()=>X.rateLimitScopeOptions(),e=>e.value,(e,t)=>{var n=W2(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),L(`change`,n,()=>X.syncRateLimitScope()),Hi(n,()=>X.rateLimitForm.scope,e=>X.rateLimitForm.scope=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);{let e=O(()=>X.rateLimitSubjectFieldLabel());B0(a,{id:`rate-limit-subject`,get label(){return I(e)},children:(e,t)=>{var n=K2();$i(n),F(e=>{W(n,`placeholder`,e),W(n,`data-modal-autofocus`,!X.rateLimitEditing||void 0),ea(n,X.rateLimitForm.subject)},[()=>X.rateLimitSubjectPlaceholder()]),L(`input`,n,e=>X.setRateLimitFormSubject(e.currentTarget.value)),z(e,n)},$$slots:{default:!0}})}var o=P(a,2);B0(o,{id:`rate-limit-period`,label:`Period`,children:(e,t)=>{var n=q2();H(n,21,()=>X.rateLimitPeriodOptions(),e=>e.value,(e,t)=>{var n=W2(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),L(`change`,n,()=>X.syncRateLimitPeriodSeconds()),Hi(n,()=>X.rateLimitForm.period,e=>X.rateLimitForm.period=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=e=>{B0(e,{id:`rate-limit-period-seconds`,label:`Period Seconds`,children:(e,t)=>{var n=J2();$i(n),ca(n,()=>X.rateLimitForm.period_seconds,e=>X.rateLimitForm.period_seconds=e),z(e,n)},$$slots:{default:!0}})};V(s,e=>{X.rateLimitForm.period===`custom`&&e(c)});var l=P(s,2);{let e=O(()=>X.rateLimitForm.period===`concurrent`?`Max In-Flight Requests`:`Max Requests`);B0(l,{id:`rate-limit-max-requests`,get label(){return I(e)},children:(e,t)=>{var n=Y2();$i(n),F(()=>W(n,`data-modal-autofocus`,X.rateLimitEditing?!0:void 0)),ca(n,()=>X.rateLimitForm.max_requests,e=>X.rateLimitForm.max_requests=e),z(e,n)},$$slots:{default:!0}})}var u=P(l,2),d=e=>{B0(e,{id:`rate-limit-max-tokens`,label:`Max Tokens`,children:(e,t)=>{var n=X2();$i(n),ca(n,()=>X.rateLimitForm.max_tokens,e=>X.rateLimitForm.max_tokens=e),z(e,n)},$$slots:{default:!0}})};V(u,e=>{X.rateLimitForm.period!==`concurrent`&&e(d)}),T(r);var f=P(r,4),p=e=>{z(e,Z2())};V(f,e=>{X.rateLimitEditing&&e(p)}),z(e,n)},$$slots:{default:!0}})}D()}Hr([`change`,`input`]);var e4=R(` `),t4=R(` Edit`,1),n4=R(` `,1),r4=R(`
In-flight
`),i4=R(`
Requests
`),a4=R(`
Tokens
`),o4=R(`
`),s4=R(`
`);function c4(e,t){E(t,!0);var n=s4();H(n,21,()=>t.rules,e=>X.rateLimitKey(e),(e,t)=>{var n=o4(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=e=>{var n=e4(),r=M(n);{let e=O(()=>X.rateLimitScope(I(t))===`provider`?`server`:`box`);K(r,{get name(){return I(e)},class:`budget-period-icon`})}var i=P(r,2),a=M(i,!0);T(i),T(n),F((e,t)=>{W(n,`title`,e),B(a,t)},[()=>`Rule scope: `+X.rateLimitScopeLabel(I(t)),()=>X.rateLimitScopeLabel(I(t))]),z(e,n)},u=O(()=>X.rateLimitScope(I(t))!==`user_path`);V(c,e=>{I(u)&&e(l)});var d=P(c,2),f=M(d);{let e=O(()=>X.rateLimitIsConcurrent(I(t))?`activity`:`timer`);K(f,{get name(){return I(e)},class:`budget-period-icon`})}var p=P(f,2),m=M(p,!0);T(p),T(d),T(s);var h=P(s,2),g=M(h),_=M(g),v=M(_,!0);T(_),T(g);var y=P(g,2),b=M(y),x=e=>{P1(e,{label:`Edit rate limit`,class:`budget-action-btn`,onclick:()=>X.openRateLimitForm(I(t)),children:(e,t)=>{var n=t4();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}})},S=O(()=>!X.rateLimitIsReadOnly(I(t)));V(b,e=>{I(S)&&e(x)});var C=P(b,2);{let e=O(()=>X.rateLimitResettingKey===X.rateLimitKey(I(t))?`Resetting counters`:`Reset counters`),n=O(()=>X.rateLimitResettingKey===X.rateLimitKey(I(t)));P1(C,{get label(){return I(e)},class:`budget-action-btn budget-action-btn-warning`,onclick:()=>X.resetRateLimit(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=n4(),i=N(r);K(i,{name:`rotate-ccw`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>X.rateLimitResettingKey===X.rateLimitKey(I(t))?`Resetting`:`Reset`]),z(e,r)},$$slots:{default:!0}})}var w=P(C,2),ee=e=>{{let n=O(()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t))?`Deleting rate limit`:`Delete rate limit`),r=O(()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger budget-action-btn`,onclick:()=>X.deleteRateLimit(I(t)),get disabled(){return I(r)},children:(e,n)=>{var r=n4(),i=N(r);K(i,{name:`trash-2`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t))?`Deleting`:`Delete`]),z(e,r)},$$slots:{default:!0}})}},te=O(()=>!X.rateLimitIsReadOnly(I(t)));V(w,e=>{I(te)&&e(ee)}),T(y),T(h),T(i);var ne=P(i,2),re=M(ne),ie=e=>{var n=r4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u),T(l),T(o),T(n),F((e,t,n,r,i,l)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l)},[()=>X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)+`%`,()=>X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests),()=>`In-flight requests: `+X.formatRateLimitNumber(I(t).in_flight)+` of `+X.formatRateLimitNumber(I(t).max_requests),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)>=100}),()=>X.formatRateLimitNumber(I(t).in_flight)+` of `+X.formatRateLimitNumber(I(t).max_requests)+` in flight`]),z(e,n)},ae=O(()=>X.rateLimitIsConcurrent(I(t)));V(re,e=>{I(ae)&&e(ie)});var oe=P(re,2),se=e=>{var n=i4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=M(f,!0);T(f),T(l),T(o),T(n),F((e,t,n,r,i,l,u)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l),B(p,u)},[()=>X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)+`%`,()=>X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests),()=>`Requests used: `+X.formatRateLimitNumber(I(t).requests_used)+` of `+X.formatRateLimitNumber(I(t).max_requests),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)>=100}),()=>X.formatRateLimitNumber(I(t).requests_used)+` of `+X.formatRateLimitNumber(I(t).max_requests)+` requests`,()=>X.formatRateLimitNumber(I(t).requests_remaining)+` left`]),z(e,n)},ce=O(()=>!X.rateLimitIsConcurrent(I(t))&&I(t).max_requests);V(oe,e=>{I(ce)&&e(se)});var le=P(oe,2),ue=e=>{var n=a4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=M(f,!0);T(f),T(l),T(o),T(n),F((e,t,n,r,i,l,u)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l),B(p,u)},[()=>X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)+`%`,()=>X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens),()=>`Tokens used: `+X.formatRateLimitNumber(I(t).tokens_used)+` of `+X.formatRateLimitNumber(I(t).max_tokens),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)>=100}),()=>X.formatRateLimitNumber(I(t).tokens_used)+` of `+X.formatRateLimitNumber(I(t).max_tokens)+` tokens`,()=>X.formatRateLimitNumber(I(t).tokens_remaining)+` left`]),z(e,n)},de=O(()=>!X.rateLimitIsConcurrent(I(t))&&I(t).max_tokens);V(le,e=>{I(de)&&e(ue)}),T(ne),T(r),T(n),F((e,t,n,r,i)=>{W(a,`title`,e),B(o,t),B(m,n),W(_,`title`,r),B(v,i)},[()=>X.rateLimitScopeLabel(I(t))+`: `+X.rateLimitSubject(I(t)),()=>X.rateLimitSubject(I(t)),()=>X.rateLimitPeriodLabel(I(t)),()=>X.rateLimitIsReadOnly(I(t))?`Declared in configuration; read-only in the dashboard`:`Managed via dashboard or admin API`,()=>X.rateLimitSourceLabel(I(t))]),z(e,n)}),T(n),z(e,n),D()}var l4=R(`

Rate Limits

`),u4=R(``),d4=R(`
Rate limit management is unavailable.
`),f4=R(``),p4=R(`
`),m4=R(`

No rate limits configured yet.

`),h4=R(`

No rate limits match your filter.

`),g4=R(`
`);function _4(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`rate-limits`&&X.fetchRateLimitsPage()});let n=O(()=>X.filteredRateLimits());var r=g4(),i=M(r),a=M(i);yQ(M(a),{copyId:`rate-limits-help-copy`,label:`rate limits help`,text:`Rate limits cap requests, tokens, and in-flight concurrency for a user path subtree, a provider, or a model. Consumer (user path) breaches return 429 with Retry-After and x-ratelimit-* headers; saturated providers and models are skipped by load balancing and failover while capacity exists elsewhere. Counters are per gateway instance and reset on restart; token limits need usage tracking.`,title:e=>{z(e,l4())},$$slots:{title:!0}}),T(a);var o=P(a,2),s=M(o),c=e=>{var t=u4();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=X.rateLimitFormSubmitting),L(`click`,t,()=>X.openRateLimitForm()),z(e,t)},l=O(()=>X.rateLimitsEnabled()&&X.rateLimitsAvailable&&!q.authError);V(s,e=>{I(l)&&e(c)}),T(o),T(i);var u=P(i,2);uR(u,{});var d=P(u,2),f=e=>{z(e,d4())},p=O(()=>(!X.rateLimitsEnabled()||!X.rateLimitsAvailable)&&!q.authError);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{var t=f4(),n=M(t,!0);T(t),F(()=>B(n,X.rateLimitError)),z(e,t)};V(m,e=>{X.rateLimitError&&!q.authError&&e(h)});var g=P(m,2),_=e=>{M1(e,{label:`Loading rate limits...`})};V(g,e=>{X.rateLimitsLoading&&!q.authError&&e(_)});var v=P(g,2),y=e=>{var t=p4(),n=M(t);L$(M(n),{id:`rate-limit-filter`,placeholder:`Filter by subject, scope, or period...`,label:`Filter rate limits by subject, scope, or period`,get value(){return X.rateLimitFilter},set value(e){X.rateLimitFilter=e}}),T(n),T(t),z(e,t)};V(v,e=>{(X.rateLimits.length>0||X.rateLimitFilter)&&X.rateLimitsAvailable&&!q.authError&&!X.rateLimitFormOpen&&e(y)});var b=P(v,2);$2(b,{});var x=P(b,2),S=e=>{c4(e,{get rules(){return I(n)}})};V(x,e=>{I(n).length>0&&X.rateLimitsAvailable&&!q.authError&&e(S)});var C=P(x,2),w=e=>{z(e,m4())},ee=O(()=>X.rateLimits.length===0&&!X.rateLimitFilter&&!X.rateLimitsLoading&&!q.authError&&!X.rateLimitError&&X.rateLimitsAvailable&&X.rateLimitsEnabled());V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{z(e,h4())},re=O(()=>X.rateLimits.length>0&&I(n).length===0&&X.rateLimitFilter&&!X.rateLimitsLoading&&!q.authError&&!X.rateLimitError&&X.rateLimitsAvailable&&X.rateLimitsEnabled());V(te,e=>{I(re)&&e(ne)}),T(r),z(e,r),D()}Hr([`click`]);function v4(e){return String(e||``).trim().toLowerCase()}function y4(e){if(!e)return``;let t=String(e.selector||``).trim();if(t)return t;if(!e.model||!e.model.id)return``;let n=String(e.model.id||``).trim(),r=String(e.provider_name||``).trim();if(r)return r+`/`+n;let i=String(e.provider_type||``).trim();return!i||n.includes(`/`)?n:i+`/`+n}function b4(e,t,n,r){let i=new Set,a=String(e||``).trim().toLowerCase(),o=String(t||``).trim().toLowerCase(),s=String(n||``).trim().toLowerCase(),c=String(r||``).trim().toLowerCase();if(c&&i.add(c),!a)return i;i.add(a),s&&i.add(s+`/`+a),o&&!a.includes(`/`)&&i.add(o+`/`+a);let l=a.split(`/`);return l.length===2&&l[1]&&i.add(l[1]),i}function x4(e){return b4(e&&e.model?e.model.id:``,e?e.provider_type:``,e?e.provider_name:``,e?e.selector:``)}function S4(e){let t=new Set,n=String(e.resolved_model||``).trim().toLowerCase(),r=String(e.target_model||``).trim().toLowerCase(),i=String(e.target_provider||``).trim().toLowerCase();if(n){t.add(n);let e=n.split(`/`);e.length===2&&e[1]&&t.add(e[1])}if(r){t.add(r);let e=r.split(`/`);e.length===2&&e[1]&&t.add(e[1])}return r&&i&&t.add(i+`/`+r),t}function C4(e){if(!e)return``;let t=String(e.provider||``).trim(),n=String(e.model||``).trim();return!t||!n||n===t||n.startsWith(t+`/`)?n:t+`/`+n}function w4(e){if(e===``||e==null)return null;let t=Number(e);return!Number.isFinite(t)||t<=0?null:t}function T4(e,t){let n={model:e},r=w4(t);return r!==null&&(n.weight=r),n}function E4(e){let t=Array.isArray(e)?e:[],n=[];for(let e of t){let t=String(e&&e.model||``).trim();t&&n.push(T4(t,e&&e.weight))}return n}function D4(e){switch(String(e||``).toLowerCase()){case`cost`:return`lowest cost`;case`round_robin`:case``:return`round robin`;default:return e}}var O4={round_robin:`Round-robin (rotate across targets; honors weights)`,cost:`Lowest cost (cheapest target per request)`,adaptive:`Adaptive (target chosen by the registered routing extension)`};function k4(e,t){let n=Array.isArray(e)?[...e]:[],r=String(t||``).trim().toLowerCase();return r&&!n.includes(r)&&n.push(r),n.map(e=>({value:e,label:O4[e]||e}))}function A4(e){let t=Array.isArray(e.targets)?e.targets:[],n=t.length>0?t[0]:{},r=t.map(e=>{let t={provider:e.provider||``,model:e.model||``};return e.weight&&(t.weight=e.weight),t});return{name:e.source,target_provider:n.provider||``,target_model:n.model||``,targets:r,strategy:e.strategy||``,session_affinity:e.session_affinity!==!1,description:e.description||``,enabled:e.enabled!==!1,managed:!!e.managed,valid:!!e.valid,resolved_model:e.resolved_model||``,provider_type:e.provider_type||``,user_paths:Array.isArray(e.user_paths)?e.user_paths:[]}}function j4(e){let t=Array.isArray(e)?e:[],n=[],r=[];for(let e of t)!e||typeof e!=`object`||(e.kind===`redirect`?n.push(A4(e)):e.kind===`policy`&&r.push({selector:e.source,provider_name:e.provider_name||``,model:e.model||``,user_paths:Array.isArray(e.user_paths)?e.user_paths:[],description:e.description||``,enabled:e.enabled!==!1,managed:!!e.managed,scope_kind:e.scope_kind||``}));return{aliases:n,policies:r}}function M4(e){if(!e)return`—`;let t=Array.isArray(e.targets)?e.targets:[];return t.length>1?t.length+` targets · `+D4(e.strategy):e.resolved_model?e.resolved_model:e.target_provider?e.target_provider+`/`+e.target_model:e.target_model||`—`}function N4(e){return e?e.enabled===!1?`is-disabled`:e.valid?`is-valid`:`is-invalid`:`is-invalid`}function P4(e){return e?e.enabled===!1?`Disabled`:e.valid?`Active`:`Invalid`:`Invalid`}function F4(e){return Array.isArray(e)&&e.length>0&&e.indexOf(`/`)===-1}function I4(e,t){return!t||!e?``:e.effective_enabled===!1?`is-disabled`:F4(e.user_paths)?`is-restricted`:`is-enabled`}function L4(e){if(!e)return``;let t=[];e.effective_enabled===!1&&t.push(e.default_enabled===!1?`Disabled by default`:`Disabled`);let n=Array.isArray(e.user_paths)?e.user_paths:[];return n.length>0&&t.push(`Allowed for `+n.join(`, `)),t.join(` · `)}function R4({models:e,aliases:t,virtualModelsAvailable:n,activeCategory:r}){let i=Array.isArray(e)?e:[],a=Array.isArray(t)?t:[],o=new Map;if(n)for(let e of a){let t=v4(e&&e.name);!t||e.enabled===!1||!e.valid||o.set(t,e)}let s=new Map,c=i.map(e=>{let t=y4(e),n=null;for(let t of x4(e))s.has(t)||s.set(t,e),!n&&o.has(t)&&(n=o.get(t));let r=e&&e.access?e.access:null;return{key:`model:`+t,display_name:t,secondary_name:``,provider_name:e.provider_name||``,provider_type:e.provider_type||``,model:e.model,selector:e.selector||``,is_alias:!1,alias:null,access:r,masking_alias:n,has_virtual_model:!!(n||r&&r.override),alias_state_class:``,alias_state_text:``}});if(!n)return c;for(let e of a){let t=s.get(v4(e&&e.name));if(e&&e.enabled!==!1&&e.valid&&t)continue;let n=null;for(let t of S4(e))if(n=s.get(t)||null,n)break;!n&&r&&r!==`all`||c.push({key:`alias:`+e.name,display_name:e.name,secondary_name:M4(e),provider_name:n&&n.provider_name||``,provider_type:n?n.provider_type||e.provider_type||``:e.provider_type||``,model:n?n.model:{id:e.name,object:`model`},selector:``,is_alias:!0,alias:e,access:null,masking_alias:null,source_model_exists:!!t,has_virtual_model:!0,alias_state_class:N4(e),alias_state_text:P4(e)})}return c.sort((e,t)=>e.is_alias===t.is_alias?String(e.display_name||``).localeCompare(String(t.display_name||``)):e.is_alias?-1:1)}function z4(e,t){if(!t)return e;let n=String(t).toLowerCase();return e.filter(e=>[e.display_name,e.secondary_name,e.provider_name,e.provider_type,e.model&&e.model.owned_by,e.alias&&e.alias.description,e.alias&&e.alias_state_text,e.model&&e.model.metadata&&e.model.metadata.modes?e.model.metadata.modes.join(`,`):``,e.model&&e.model.metadata&&e.model.metadata.categories?e.model.metadata.categories.join(`,`):``].some(e=>String(e||``).toLowerCase().includes(n)))}function B4(e,t){return String(e||``).trim()||String(t||``).trim()||`Unassigned`}function V4(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return!r||r===n?``:r}function H4(e){let t=String(e||``).trim();return t?t+`/`:``}function U4(e){let t=Array.isArray(e)?e:[],n=t.filter(e=>e&&!e.is_alias).length,r=t.filter(e=>e&&e.is_alias).length,i=[];return n>0&&i.push(n+(n===1?` model`:` models`)),r>0&&i.push(r+(r===1?` alias`:` aliases`)),i.join(` · `)}function W4(e,t,n){let r=String(t||``).trim(),i=String(n||``).trim();for(let t of Array.isArray(e)?e:[]){let e=String(t&&t.provider_name||``).trim(),n=String(t&&t.provider_type||``).trim();if(!(r&&e!==r)&&!(!r&&i&&n!==i)&&t&&t.access)return t.access.default_enabled!==!1}return!0}function G4(e){for(let t of Array.isArray(e)?e:[])if(t&&t.access)return t.access.default_enabled!==!1;return!0}function K4(e,t){let n=String(t||``).trim();if(!n)return null;for(let t of Array.isArray(e)?e:[])if(String(t&&t.selector||``).trim()===n)return t;return null}function q4(e,t,n,r){let i=H4(t),a=r&&r.get(`/`)||null,o=i&&r&&r.get(i)||null,s=W4(e,t,n),c=o||a,l=c&&Array.isArray(c.user_paths)?Array.from(new Set(c.user_paths)).sort():[];return{selector:i,default_enabled:s,effective_enabled:c?c.enabled!==!1:s,user_paths:l,override:o}}function J4(e,t,n){if(!Array.isArray(e)||e.length===0)return[];let r=new Map;for(let e of Array.isArray(n)?n:[]){let t=String(e&&e.selector||``).trim();t&&r.set(t,e)}let i=[],a=new Map;for(let t of e){if(t&&t.is_alias){i.push(t);continue}let e=String(t&&t.provider_name||``).trim(),n=String(t&&t.provider_type||``).trim(),r=`provider-group:`+(e||n||`unassigned`);a.has(r)||a.set(r,{key:r,provider_name:e,provider_type:n,display_name:B4(e,n),type_label:V4(e,n),rows:[]});let o=a.get(r);!o.provider_name&&e&&(o.provider_name=e),!o.provider_type&&n&&(o.provider_type=n),o.display_name=B4(o.provider_name,o.provider_type),o.type_label=V4(o.provider_name,o.provider_type),o.rows.push(t)}let o=Array.from(a.values()).map(e=>{let n=q4(t,e.provider_name,e.provider_type,r);return{...e,access:n,access_summary:L4(n),item_count_label:U4(e.rows)}}).sort((e,t)=>String(e.display_name||``).localeCompare(String(t.display_name||``)));return i.length>0&&o.unshift({key:`virtual-model-group`,is_virtual_models:!0,provider_name:``,provider_type:``,display_name:`Virtual models`,type_label:``,rows:i,access:{selector:``},access_summary:``,item_count_label:U4(i)}),o}function Y4(e,t){let n=K4(t,`/`),r=G4(e),i=n&&Array.isArray(n.user_paths)?n.user_paths:[];return{key:`scope-global`,is_alias:!1,display_name:`all providers and models`,access:{selector:`/`,default_enabled:r,effective_enabled:n?n.enabled!==!1:r,user_paths:i,override:n}}}function X4(e){return e?String(e.access&&e.access.selector||``).trim()||String(e.override_selector||``).trim()||y4(e):``}function Z4(e){if(!e)return``;let t=[];return e.is_alias?t.push(`alias-row`,N4(e.alias)):e.has_virtual_model&&t.push(`alias-row`,`is-valid`),!e.is_alias&&e.masking_alias&&t.push(`masked-model-row`),!e.is_alias&&e.access&&e.access.effective_enabled===!1&&t.push(`model-access-disabled-row`),t.join(` `)}function Q4(e){return!!(e&&e.is_alias&&e.alias&&e.alias.name&&!e.alias.managed)}function $4(e){return!!(e&&!e.is_alias&&e.masking_alias&&e.masking_alias.name&&!e.masking_alias.managed)}function e3(e){return e&&e.is_alias&&e.alias&&e.alias.name?`alias-row-`+String(e.alias.name).replace(/[^a-zA-Z0-9_-]+/g,`-`):``}function t3(e){return e?e.is_alias?!!(e.alias&&e.alias.managed):!!(e.access&&e.access.override&&e.access.override.managed||e.masking_alias&&e.masking_alias.managed):!1}function n3(e){return!!(e&&e.override)}function r3(e){return e?`table-action-btn-active`:``}function i3(e,t){let n=`Edit `+String(e||`model access`);return t?n+` (virtual model exists)`:n}function a3(){return{source:``,target_model:``,target_weight:1,targets:[],strategy:`round_robin`,session_affinity:!0,user_paths:``,description:``,enabled:!0}}function o3(e){return String(e&&e.target_model||``).trim()!==``}function s3(e){return String(e&&e.target_model||``).trim()?!0:E4(e&&e.targets).length>0}function c3(e){return!!e&&Array.isArray(e.targets)&&e.targets.length>0}function l3(e){return c3(e)&&String(e&&e.strategy||``).toLowerCase()!==`cost`}function u3(e){let t=Array.isArray(e.targets)?e.targets:[];if(t.length>0){let n=t.shift();e.target_model=n.model||``,e.target_weight=n.weight||1;return}e.target_model=``,e.target_weight=1}function d3(e){let t=Array.isArray(e&&e.targets)?e.targets:[];return t.length>0?{primaryModel:C4(t[0]),primaryWeight:t[0].weight||1,extraTargets:t.slice(1).map(e=>({model:C4(e),weight:e.weight||1}))}:{primaryModel:e&&e.target_provider?e.target_provider+`/`+e.target_model:e&&e.target_model||``,primaryWeight:1,extraTargets:[]}}function f3(e){return String(e||``).split(/\r?\n|,/).map(e=>String(e||``).trim()).filter(Boolean)}function p3(e,t,n){let r=String(e&&e.source||``).trim(),i=String(e&&e.target_model||``).trim(),a=E4(e&&e.targets),o=s3(e),s=String(t||``).trim(),c=n===`edit`&&!!s&&r!==s,l={source:r,user_paths:f3(e&&e.user_paths),description:String(e&&e.description||``).trim(),enabled:!!(e&&e.enabled)};if(c&&(l.old_source=s),o){let t=[];if(i&&t.push(T4(i,e.target_weight)),t.push(...a),t.length>1){let n=e.strategy||`round_robin`;l.targets=n===`cost`?t.map(e=>({model:e.model})):t,l.strategy=n,e&&e.session_affinity===!1&&(l.session_affinity=!1)}else l.target_model=t[0].model}return{payload:l,source:r,isRedirect:o,isRename:c}}function m3(e){let t={source:e.name,description:String(e.description||``).trim(),user_paths:Array.isArray(e.user_paths)?e.user_paths:[],enabled:e.enabled===!1},n=Array.isArray(e.targets)?e.targets:[];return n.length>1?(t.strategy=e.strategy||`round_robin`,e.session_affinity===!1&&(t.session_affinity=!1),t.targets=t.strategy===`cost`?n.map(e=>({model:C4(e)})):n.map(e=>T4(C4(e),e.weight))):n.length===1?t.target_model=C4(n[0]):t.target_model=e.target_provider?e.target_provider+`/`+e.target_model:e.target_model,t}function h3(e,t,n){let r=n||{},i=r.effective_enabled===!1,a=t&&Array.isArray(t.user_paths)?t.user_paths:[],o=`PUT`,s;return i===!1?s={source:e,enabled:!1,user_paths:a}:t&&a.length===0&&r.default_enabled!==!1?(o=`DELETE`,s={source:e}):s={source:e,enabled:!0,user_paths:a},{method:o,payload:s,desired:i}}function g3(e,t,n){let r=Math.max(1,Number(t||75)),i=Math.min(n,e+r);return{limit:i,rendering:iR4({models:cR.models,aliases:this.aliases,virtualModelsAvailable:this.virtualModelsAvailable,activeCategory:cR.activeCategory}));get displayModels(){return I(this.#T)}set displayModels(e){A(this.#T,e)}#E=O(()=>J4(this.displayModels,cR.models,this.modelOverrideViews));get displayModelGroups(){return I(this.#E)}set displayModelGroups(e){A(this.#E,e)}#D=O(()=>z4(this.displayModels,cR.filter));get filteredDisplayModels(){return I(this.#D)}set filteredDisplayModels(e){A(this.#D,e)}#O=O(()=>{let e=this.filteredDisplayModels,t=Math.max(0,Math.min(Number(this.modelRenderLimit||0),e.length));return!cR.filter&&t>=this.displayModels.length?this.displayModelGroups:J4(e.slice(0,t),cR.models,this.modelOverrideViews)});get filteredDisplayModelGroups(){return I(this.#O)}set filteredDisplayModelGroups(e){A(this.#O,e)}#k=O(()=>Y4(cR.models,this.modelOverrideViews));get globalScopeRow(){return I(this.#k)}set globalScopeRow(e){A(this.#k,e)}modelsBusy(){return!!(cR.loading||this.modelsRendering)}modelLoadingText(){if(cR.loading)return this.displayModels.length>0?`Refreshing models...`:`Loading models...`;let e=this.filteredDisplayModels.length;return`Rendering models... `+Math.min(Number(this.modelRenderLimit||0),e)+` / `+e}restartModelRendering(e){let t=++this.#a,n=_3(this.modelRenderBatchSize,e);this.modelRenderLimit=n.limit,this.modelsRendering=n.rendering,n.rendering&&this.#A(t)}stopModelRendering(){this.#a++,this.modelsRendering=!1}#A(e){let t=()=>{if(e!==this.#a)return;let t=g3(this.modelRenderLimit,this.modelRenderBatchSize,this.filteredDisplayModels.length);this.modelRenderLimit=t.limit,this.modelsRendering=t.rendering,t.rendering&&this.#A(e)};typeof requestAnimationFrame==`function`?requestAnimationFrame(()=>setTimeout(t,0)):setTimeout(t,0)}async fetchVirtualModels(){this.aliasLoading=!0,this.aliasError=``;try{let e=await qI(`/admin/virtual-models`,{label:`virtual models`});if(e.status===503){this.virtualModelsAvailable=!1,this.aliases=[],this.modelOverrideViews=[];return}if(e.stale)return;if(this.virtualModelsAvailable=!0,!e.ok){this.aliases=[],this.modelOverrideViews=[];return}let{aliases:t,policies:n}=j4(e.data);this.aliases=t,this.modelOverrideViews=n}catch(e){console.error(`Failed to fetch virtual models:`,e),this.aliases=[],this.modelOverrideViews=[],this.aliasError=`Unable to load virtual models.`}finally{this.aliasLoading=!1}}qualifiedModelName(e){return y4(e)}findModelOverrideView(e){return K4(this.modelOverrideViews,e)}hasGlobalModelOverride(){return!!this.findModelOverrideView(`/`)}findExistingAliasByName(e){let t=v4(e);if(!t)return null;for(let e of this.aliases)if(v4(e&&e.name)===t)return e;return null}findConcreteModelByName(e){let t=v4(e);if(!t)return null;for(let e of cR.models)if(x4(e).has(t))return e;return null}rowToggleEnabled(e){return e?e.is_alias?e.alias&&e.alias.enabled!==!1:!!(e.access&&e.access.effective_enabled!==!1):!1}rowToggleLabel(e){return this.rowTogglingKey&&this.rowTogglingKey===e.key?`Updating...`:this.rowToggleRestricted(e)?`Restricted`:this.rowToggleEnabled(e)?`Enabled`:`Disabled`}rowToggleRestricted(e){return!!e&&!e.is_alias&&I4(e.access,this.virtualModelsAvailable)===`is-restricted`}rowToggleAriaLabel(e){if(!e)return``;let t=this.rowToggleEnabled(e)?`Disable `:`Enable `,n;return n=e.is_alias?`alias `+String(e.alias&&e.alias.name||``):String(e.display_name||e.access&&e.access.selector||`model`),t+n.trim()}async toggleRowEnabled(e){if(this.virtualModelsAvailable&&!(!e||this.rowTogglingKey===e.key)){if(t3(e)){DL.success(`This virtual model is managed by configuration and is read-only.`);return}if(e.is_alias){await this.toggleAliasRow(e);return}await this.toggleModelRow(e)}}async toggleAliasRow(e){let t=e.alias;if(!t||!t.name)return;this.rowTogglingKey=e.key;let n=m3(t);try{let e=await JI(`/admin/virtual-models`,`PUT`,n,{label:`alias state`});if(e.status===503){this.virtualModelsAvailable=!1,DL.error(`Virtual models feature is unavailable.`);return}if(e.stale)return;if(!e.ok){DL.error(e.status===401?`Authentication required.`:UI(e,`Failed to update alias state.`));return}DL.success(n.enabled?`Alias enabled.`:`Alias disabled.`),this.fetchVirtualModels()}catch(e){console.error(`Failed to toggle alias state:`,e),DL.error(`Failed to update alias state.`)}finally{this.rowTogglingKey=``}}async toggleModelRow(e){let t=X4(e);if(!t)return;let{method:n,payload:r,desired:i}=h3(t,this.findModelOverrideView(t),e.access||{});this.rowTogglingKey=e.key;try{let e=await JI(`/admin/virtual-models`,n,r,{label:`model access`});if(e.status===503){this.virtualModelsAvailable=!1,DL.error(`Virtual models feature is unavailable.`);return}if(!(n===`DELETE`&&e.status===404)){if(e.stale)return;if(!e.ok){DL.error(e.status===401?`Authentication required.`:UI(e,`Failed to update model access.`));return}}DL.success(i?`Model enabled.`:`Model disabled.`),Promise.all([cR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to toggle model access:`,e),DL.error(`Failed to update model access.`)}finally{this.rowTogglingKey=``}}async removeAliasRow(e){if(!(e&&e.is_alias&&e.alias&&e.alias.name&&!e.alias.managed)||this.rowDeletingKey)return;let t=String(e.alias.name||``).trim();t&&await this.mutateVirtualModelRow({rowKey:e.key,confirmMessage:`Remove the virtual model alias "`+t+`"?`,method:`DELETE`,payload:{source:t},operation:`virtual model`,failureMessage:`Failed to remove virtual model.`,notice:`Virtual model removed.`,ignoreNotFound:!0})}async removeRedirectRow(e){let t=e&&e.masking_alias;if(!(e&&!e.is_alias&&t&&t.name&&!t.managed)||this.rowDeletingKey)return;let n=String(t.name||``).trim();n&&await this.mutateVirtualModelRow({rowKey:e.key,confirmMessage:`Remove the redirect for "`+n+`"? Other virtual model settings will be preserved.`,method:`PUT`,payload:{source:n,user_paths:Array.isArray(t.user_paths)?t.user_paths:[],description:String(t.description||``).trim(),enabled:t.enabled!==!1},operation:`virtual model redirect`,failureMessage:`Failed to remove redirect.`,notice:`Redirect removed. Other virtual model settings were preserved.`})}async mutateVirtualModelRow(e){if(!this.rowDeletingKey&&window.confirm(e.confirmMessage)){this.rowDeletingKey=e.rowKey;try{let t=await JI(`/admin/virtual-models`,e.method,e.payload,{label:e.operation});if(t.status===503){this.virtualModelsAvailable=!1,DL.error(`Virtual models feature is unavailable.`);return}if(!(e.ignoreNotFound&&t.status===404)){if(t.stale)return;if(!t.ok){DL.error(t.status===401?`Authentication required.`:UI(t,e.failureMessage));return}}this.virtualModelsAvailable=!0,DL.success(e.notice),Promise.all([cR.fetchModels(),this.fetchVirtualModels()])}catch(t){console.error(e.failureMessage,t),DL.error(e.failureMessage)}finally{this.rowDeletingKey=``}}}addVmTarget(){Array.isArray(this.vmForm.targets)||(this.vmForm.targets=[]),this.vmForm.targets.push({model:``,weight:1})}removeVmTarget(e){Array.isArray(this.vmForm.targets)&&this.vmForm.targets.splice(e,1)}removePrimaryTarget(){u3(this.vmForm)}vmFormHasPrimaryTarget(){return o3(this.vmForm)}vmFormShowStrategy(){return c3(this.vmForm)}vmStrategyOptions(){return k4(QI.virtualModelStrategies(),this.vmForm.strategy)}vmFormShowWeights(){return l3(this.vmForm)}vmFormToggleRestricted(){return!!(this.vmForm&&this.vmForm.enabled)&&F4(f3(this.vmForm.user_paths))}vmFormToggleLabel(){return!this.vmForm||!this.vmForm.enabled?`Disabled`:this.vmFormToggleRestricted()?`Restricted`:`Enabled`}resetVirtualModelForm(){this.vmFormError=``,this.vmFormHelpOpen=!1,this.vmFormUserPathsHelpOpen=!1,this.vmSubmitting=!1,this.vmDeleting=!1,this.vmFormHasExisting=!1,this.vmFormDefaultEnabled=!0,this.vmFormEffectiveEnabled=!0,this.vmFormDisplayName=``,this.vmFormSourceLocked=!1,this.vmFormOriginalSource=``,this.vmFormManaged=!1,this.vmForm=a3()}closeVirtualModelForm(){this.vmFormOpen=!1,this.resetVirtualModelForm()}openVirtualModelCreate(e){this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`create`,this.vmFormSourceLocked=!1,this.vmFormDisplayName=`New virtual model`,e&&e.model&&e.model.id&&(this.vmForm.target_model=y4(e))}openVirtualModelEditAlias(e){if(!e)return;this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!1,this.vmFormHasExisting=!0,this.vmFormManaged=!!e.managed,this.vmFormOriginalSource=e.name||``,this.vmFormDisplayName=e.name||``,this.vmFormDefaultEnabled=G4(cR.models),this.vmFormEffectiveEnabled=e.enabled!==!1;let{primaryModel:t,primaryWeight:n,extraTargets:r}=d3(e);this.vmForm={source:e.name||``,target_model:t,target_weight:n,targets:r,strategy:e.strategy||`round_robin`,session_affinity:e.session_affinity!==!1,user_paths:(Array.isArray(e.user_paths)?e.user_paths:[]).join(` +`),description:e.description||``,enabled:e.enabled!==!1}}openVirtualModelEditModel(e){if(!e||e.is_alias)return;let t=e.access||{},n=t.override||null,r=n&&Array.isArray(n.user_paths)?n.user_paths:Array.isArray(t.user_paths)?t.user_paths:[],i=X4(e);this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!0,this.vmFormHasExisting=!!n,this.vmFormOriginalSource=i;let a=n?n.enabled!==!1:t.effective_enabled!==!1;this.vmFormDefaultEnabled=t.default_enabled!==!1,this.vmFormEffectiveEnabled=a,this.vmFormManaged=!!(n&&n.managed),this.vmFormDisplayName=e.access_display_name||e.display_name||i||``,this.vmForm={source:i,target_model:``,target_weight:``,targets:[],strategy:`round_robin`,user_paths:r.join(` +`),description:n&&n.description?n.description:``,enabled:a}}openGlobalModelOverrideEdit(){let e=this.findModelOverrideView(`/`),t=e&&Array.isArray(e.user_paths)?e.user_paths:[],n=G4(cR.models);this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!0,this.vmFormHasExisting=!!e,this.vmFormOriginalSource=`/`,this.vmFormDefaultEnabled=n,this.vmFormEffectiveEnabled=e?e.enabled!==!1:n,this.vmFormManaged=!!(e&&e.managed),this.vmFormDisplayName=`All providers and models`,this.vmForm={source:`/`,target_model:``,target_weight:``,targets:[],strategy:`round_robin`,user_paths:t.join(` +`),description:e&&e.description?e.description:``,enabled:e?e.enabled!==!1:n}}openProviderOverrideEdit(e){!e||!e.access||!e.access.selector||this.openVirtualModelEditModel({display_name:e.display_name,access_display_name:`All models in `+e.display_name,provider_name:e.provider_name,provider_type:e.provider_type,access:e.access,override_selector:e.access.selector,is_alias:!1})}async submitVirtualModelForm(){if(this.vmFormManaged){this.vmFormError=`This virtual model is managed by configuration and cannot be edited here.`;return}let{payload:e,source:t,isRedirect:n,isRename:r}=p3(this.vmForm,this.vmFormOriginalSource,this.vmFormMode);if(!t){this.vmFormError=`Source is required.`;return}if(this.vmFormError=``,this.vmFormMode!==`edit`){let e=this.findExistingAliasByName(t),r=e?null:this.findModelOverrideView(t);if(e||r){let n=e?`A virtual model named "`+e.name+`" already exists. Saving will update that virtual model. Continue?`:`An access policy for "`+t+`" already exists. Saving will update that virtual model. Continue?`;if(!window.confirm(n)){this.vmFormError=`Choose a different source or edit the existing virtual model.`;return}}else if(n){let e=this.findConcreteModelByName(t);if(e){let t=y4(e)||String(e.model&&e.model.id||``).trim();if(!window.confirm(`A model named "`+t+`" already exists. Creating this alias will mask that model in the list. Continue?`)){this.vmFormError=`Choose a different source to avoid masking an existing model.`;return}}}}else if(r){let e=(this.aliases||[]).find(e=>e&&e.name===t)||null,r=e?null:this.findModelOverrideView(t);if(e||r){this.vmFormError=`A virtual model for "`+t+`" already exists. Choose a different source.`;return}if(n){let e=this.findConcreteModelByName(t);if(e){let t=y4(e)||String(e.model&&e.model.id||``).trim();if(!window.confirm(`A model named "`+t+`" already exists. Renaming to that name will mask the model in the list. Continue?`)){this.vmFormError=`Choose a different source to avoid masking an existing model.`;return}}}}this.vmSubmitting=!0;try{let t=await JI(`/admin/virtual-models`,`PUT`,e,{label:`virtual model`});if(t.status===503){this.virtualModelsAvailable=!1,this.vmFormError=`Virtual models feature is unavailable.`;return}if(t.stale)return;if(!t.ok){this.vmFormError=t.status===401?`Authentication required.`:UI(t,`Failed to save virtual model.`);return}let r=!n&&t.status===204;this.virtualModelsAvailable=!0,this.closeVirtualModelForm(),DL.success(n?`Alias saved.`:r?`Model access reset to inherited/default.`:`Model access saved.`),Promise.all([cR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to save virtual model:`,e),this.vmFormError=`Failed to save virtual model.`}finally{this.vmSubmitting=!1}}async deleteVirtualModel(){if(this.vmFormManaged){this.vmFormError=`This virtual model is managed by configuration and cannot be removed here.`;return}let e=String(this.vmForm.source||this.vmFormOriginalSource||``).trim();if(!(!e||!this.vmFormHasExisting)&&window.confirm(`Remove the virtual model for "`+e+`"? This reverts to inherited/default behavior.`)){this.vmDeleting=!0,this.vmFormError=``;try{let t=await JI(`/admin/virtual-models`,`DELETE`,{source:e},{label:`virtual model`});if(t.status===503){this.virtualModelsAvailable=!1,this.vmFormError=`Virtual models feature is unavailable.`;return}if(t.status!==404){if(t.stale)return;if(!t.ok){this.vmFormError=t.status===401?`Authentication required.`:UI(t,`Failed to remove virtual model.`);return}}this.virtualModelsAvailable=!0,this.closeVirtualModelForm(),DL.success(`Virtual model removed.`),Promise.all([cR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to delete virtual model:`,e),this.vmFormError=`Failed to remove virtual model.`}finally{this.vmDeleting=!1}}}},y3=[{value:`input_per_mtok`,label:`Input $/MTok`,group:`Tokens`},{value:`output_per_mtok`,label:`Output $/MTok`,group:`Tokens`},{value:`cached_input_per_mtok`,label:`Cached input $/MTok`,group:`Tokens`},{value:`cache_write_per_mtok`,label:`Cache write $/MTok`,group:`Tokens`},{value:`reasoning_output_per_mtok`,label:`Reasoning output $/MTok`,group:`Tokens`},{value:`batch_input_per_mtok`,label:`Batch input $/MTok`,group:`Batch`},{value:`batch_output_per_mtok`,label:`Batch output $/MTok`,group:`Batch`},{value:`audio_input_per_mtok`,label:`Audio input $/MTok`,group:`Audio`},{value:`audio_output_per_mtok`,label:`Audio output $/MTok`,group:`Audio`},{value:`per_image`,label:`$/Image`,group:`Image`},{value:`input_per_image`,label:`Input $/Image`,group:`Image`},{value:`per_second_input`,label:`Input $/Second`,group:`Audio/Video`},{value:`per_second_output`,label:`Output $/Second`,group:`Video`},{value:`per_character_input`,label:`$/Character`,group:`Audio`},{value:`per_page`,label:`$/Page`,group:`Utility`},{value:`per_request`,label:`$/Request`,group:`Utility`}];function b3(e){let t=y3.find(t=>t.value===e);return t?t.label:String(e||``).replace(/_/g,` `)}function x3(e){return e&&typeof e==`object`?JSON.parse(JSON.stringify(e)):{}}function S3(e,t){let n=x3(e),r=t&&t.pricing?t.pricing:t;if(!r||typeof r!=`object`)return n;for(let e of y3)r[e.value]!==null&&r[e.value]!==void 0&&(n[e.value]=Number(r[e.value]));return Array.isArray(r.tiers)&&r.tiers.length>0&&(n.tiers=x3(r.tiers)),n}function C3(e){switch(String(e||``).trim()){case`config_yaml`:return`config.yaml`;case`model_registry`:return`Model registry`;default:return e?String(e):`Unknown`}}function w3(e){let t=e&&e.pricing?e.pricing:{},n=e&&e.pricing_sources&&typeof e.pricing_sources==`object`?e.pricing_sources:{},r={};for(let e of y3)t[e.value]!==null&&t[e.value]!==void 0&&(r[e.value]=C3(n[e.value]||`model_registry`));return r}function T3(e){let t=String(e&&e.selector||``).trim();return t?`Dashboard/API override (`+t+`)`:`Dashboard/API override`}function E3(e){let t=String(e||``).trim();return t?t+`/`:``}function D3(e){return String(e&&e.model&&e.model.id||``).trim()}function O3(e){let t=String(e&&e.provider_name||``).trim(),n=D3(e);return t&&n?t+`/`+n:n}function k3(e){return D3(e)}function A3(e){let t=new Map;for(let n of Array.isArray(e)?e:[]){let e=String(n&&n.selector||``).trim();e&&t.set(e,n)}return t}function j3(e,t){let n=String(t||``).trim();return n&&A3(e).get(n)||null}function M3(e,t,n){let r=A3(e),i=O3(t),a=k3(t),o=E3(t&&t.provider_name),s=String(n||``).trim();for(let e of[i,a,o,`/`]){if(!e||e===s)continue;let t=r.get(e);if(t)return t}return null}function N3(e,t,n){let r=e&&e.model&&e.model.metadata?e.model.metadata:null,i=x3(r&&r.pricing),a=w3(r),o=M3(t,e,n),s=o&&o.pricing?o.pricing:null;if(s){let e=T3(o);for(let t of y3)s[t.value]!==null&&s[t.value]!==void 0&&(i[t.value]=Number(s[t.value]),a[t.value]=e);Array.isArray(s.tiers)&&s.tiers.length>0&&(i.tiers=x3(s.tiers),a.tiers=e)}return{pricing:i,sources:a}}function P3(e,t){let n=e&&e.pricing?e.pricing:{},r=[];for(let e of y3)n[e.value]!==null&&n[e.value]!==void 0&&r.push({id:t(),field:e.value,value:String(n[e.value])});return r}function F3(e,t){let n=new Set;for(let r of Array.isArray(e)?e:[]){if(t&&r.id===t)continue;let e=String(r.field||``).trim();e&&n.add(e)}return n}function I3(e,t){let n=F3(e,t&&t.id);return y3.filter(e=>e.value===(t&&t.field)||!n.has(e.value))}function L3(e,t){let n={},r=new Set;for(let t of Array.isArray(e)?e:[]){let e=String(t.field||``).trim();if(!e)return{error:`Choose a price type for every row.`};if(r.has(e))return{error:`Each price type can only be used once.`};r.add(e);let i=String(t.value||``).trim();if(i===``)return{error:`Enter a value for `+b3(e)+`.`};let a=Number(i);if(!Number.isFinite(a)||a<0)return{error:`Pricing values must be numbers greater than or equal to 0.`};n[e]=a}let i=Array.isArray(t)?t:[];return i.length>0&&(n.tiers=x3(i)),Object.keys(n).length===0?{error:`Add at least one pricing field before saving.`}:{pricing:n}}function R3(e,t,n){let r=e||{},i=t||{},a=n||{},o=S3(r,a);return y3.map(e=>{let t=a[e.value]!==null&&a[e.value]!==void 0,n=r[e.value]!==null&&r[e.value]!==void 0;return{field:e.value,label:e.label,value:o[e.value],source:t?`Form/API value`:n?i[e.value]||`Model registry`:`Unset`}}).filter(e=>e.source!==`Unset`||e.value!==void 0)}var z3=new class{#e=k(!0);get modelPricingOverridesAvailable(){return I(this.#e)}set modelPricingOverridesAvailable(e){A(this.#e,e,!0)}#t=k(j([]));get modelPricingOverrideViews(){return I(this.#t)}set modelPricingOverrideViews(e){A(this.#t,e,!0)}#n=k(``);get modelPricingOverrideError(){return I(this.#n)}set modelPricingOverrideError(e){A(this.#n,e,!0)}#r=k(!1);get modelPricingOverrideFormOpen(){return I(this.#r)}set modelPricingOverrideFormOpen(e){A(this.#r,e,!0)}#i=k(!1);get modelPricingOverrideSubmitting(){return I(this.#i)}set modelPricingOverrideSubmitting(e){A(this.#i,e,!0)}#a=k(!1);get modelPricingOverrideFormHasExistingOverride(){return I(this.#a)}set modelPricingOverrideFormHasExistingOverride(e){A(this.#a,e,!0)}#o=k(``);get modelPricingOverrideFormDisplayName(){return I(this.#o)}set modelPricingOverrideFormDisplayName(e){A(this.#o,e,!0)}#s=k(``);get modelPricingOverrideFormScope(){return I(this.#s)}set modelPricingOverrideFormScope(e){A(this.#s,e,!0)}#c=k(j([]));get modelPricingOverrideFormScopeOptions(){return I(this.#c)}set modelPricingOverrideFormScopeOptions(e){A(this.#c,e,!0)}#l=k(null);get modelPricingOverrideFormRow(){return I(this.#l)}set modelPricingOverrideFormRow(e){A(this.#l,e,!0)}#u=k(null);get modelPricingOverrideFormBasePricing(){return I(this.#u)}set modelPricingOverrideFormBasePricing(e){A(this.#u,e,!0)}#d=k(null);get modelPricingOverrideFormBasePricingSources(){return I(this.#d)}set modelPricingOverrideFormBasePricingSources(e){A(this.#d,e,!0)}#f=k(j([]));get modelPricingOverrideFormPreservedTiers(){return I(this.#f)}set modelPricingOverrideFormPreservedTiers(e){A(this.#f,e,!0)}#p=k(j([]));get modelPricingOverrideRows(){return I(this.#p)}set modelPricingOverrideRows(e){A(this.#p,e,!0)}#m=k(j({selector:``}));get modelPricingOverrideForm(){return I(this.#m)}set modelPricingOverrideForm(e){A(this.#m,e,!0)}_modelPricingOverrideRowID=0;pricingFieldOptions(){return y3}pricingFieldLabel(e){return b3(e)}async fetchModelPricingOverrides(){this.modelPricingOverrideError=``;try{let e=await qI(`/admin/model-pricing-overrides`,{label:`model pricing overrides`});if(e.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideViews=[];return}if(e.stale)return;if(this.modelPricingOverridesAvailable=!0,!e.ok){this.modelPricingOverrideViews=[];return}this.modelPricingOverrideViews=Array.isArray(e.data)?e.data:[]}catch(e){console.error(`Failed to fetch model pricing overrides:`,e),this.modelPricingOverrideViews=[],this.modelPricingOverrideError=`Unable to load model pricing overrides.`}}findModelPricingOverrideView(e){return j3(this.modelPricingOverrideViews,e)}hasGlobalPricingOverride(){return!!this.findModelPricingOverrideView(`/`)}hasProviderPricingOverride(e){return!!this.findModelPricingOverrideView(E3(e&&e.provider_name))}hasModelPricingOverride(e){return!!this.findModelPricingOverrideView(O3(e))}modelPricingButtonClass(e){return e?`table-action-btn-active`:``}modelPricingButtonLabel(e,t){let n=`Edit `+String(e||`model pricing`);return t?n+` (override exists)`:n}modelRowPricing(e){return N3(e,this.modelPricingOverrideViews).pricing}openGlobalPricingOverrideEdit(){this.openModelPricingOverrideForm({displayName:`All providers and models`,selector:`/`,scope:`global`,scopeOptions:[{value:`global`,label:`All providers and models`,selector:`/`}],row:null})}openProviderPricingOverrideEdit(e){let t=E3(e&&e.provider_name);t&&this.openModelPricingOverrideForm({displayName:`All models in `+(e.display_name||e.provider_name||t),selector:t,scope:`provider`,scopeOptions:[{value:`provider`,label:`Provider`,selector:t}],row:null})}openModelPricingOverrideEdit(e){if(!e||e.is_alias)return;let t=O3(e),n=k3(e),r=[{value:`exact`,label:`This provider and model`,selector:t}];n&&n!==t&&r.push({value:`model`,label:`This model across providers`,selector:n}),this.openModelPricingOverrideForm({displayName:e.display_name||t,selector:t,scope:`exact`,scopeOptions:r,row:e})}openModelPricingOverrideForm(e){let t=e||{};this.modelPricingOverrideFormOpen=!0,this.modelPricingOverrideError=``,this.modelPricingOverrideFormDisplayName=t.displayName||t.selector||`Pricing`,this.modelPricingOverrideFormScope=t.scope||``,this.modelPricingOverrideFormScopeOptions=Array.isArray(t.scopeOptions)?t.scopeOptions:[],this.modelPricingOverrideFormRow=t.row||null,this.modelPricingOverrideForm={selector:t.selector||``},this.loadModelPricingOverrideFormSelector(t.selector||``)}loadModelPricingOverrideFormSelector(e){e=String(e||``).trim();let t=this.findModelPricingOverrideView(e);this.modelPricingOverrideFormHasExistingOverride=!!t,this.modelPricingOverrideRows=P3(t,()=>this.nextModelPricingOverrideRowID()),this.modelPricingOverrideFormPreservedTiers=t&&t.pricing&&Array.isArray(t.pricing.tiers)?x3(t.pricing.tiers):[],this.modelPricingOverrideRows.length===0&&this.modelPricingOverrideFormPreservedTiers.length===0&&this.addModelPricingOverrideRow();let n=this.modelPricingOverrideFormRow,r=n?N3(n,this.modelPricingOverrideViews,e):{pricing:{},sources:{}};this.modelPricingOverrideFormBasePricing=r.pricing,this.modelPricingOverrideFormBasePricingSources=r.sources}setModelPricingOverrideScope(e){this.modelPricingOverrideFormScope=e;let t=this.modelPricingOverrideFormScopeOptions.find(t=>t.value===e);t&&(this.modelPricingOverrideForm.selector=t.selector,this.loadModelPricingOverrideFormSelector(t.selector))}nextModelPricingOverrideRowID(){return this._modelPricingOverrideRowID=(this._modelPricingOverrideRowID||0)+1,`pricing-row-`+this._modelPricingOverrideRowID}availablePricingFieldOptions(e){return I3(this.modelPricingOverrideRows,e)}addModelPricingOverrideRow(){let e=F3(this.modelPricingOverrideRows),t=y3.find(t=>!e.has(t.value))||y3[0];t&&this.modelPricingOverrideRows.push({id:this.nextModelPricingOverrideRowID(),field:t.value,value:``})}removeModelPricingOverrideRow(e){this.modelPricingOverrideRows=this.modelPricingOverrideRows.filter(t=>t.id!==e.id),this.modelPricingOverrideRows.length===0&&this.modelPricingOverrideFormPreservedTiers.length===0&&this.addModelPricingOverrideRow()}modelPricingOverridePayload(){return L3(this.modelPricingOverrideRows,this.modelPricingOverrideFormPreservedTiers)}modelPricingOverrideDraftPricing(){let e=this.modelPricingOverridePayload();return e&&e.pricing?e.pricing:{}}modelPricingEffectivePreviewRows(){return R3(this.modelPricingOverrideFormBasePricing,this.modelPricingOverrideFormBasePricingSources,this.modelPricingOverrideDraftPricing())}closeModelPricingOverrideForm(){this.modelPricingOverrideFormOpen=!1,this.modelPricingOverrideSubmitting=!1,this.modelPricingOverrideError=``,this.modelPricingOverrideFormHasExistingOverride=!1,this.modelPricingOverrideFormDisplayName=``,this.modelPricingOverrideFormScope=``,this.modelPricingOverrideFormScopeOptions=[],this.modelPricingOverrideFormRow=null,this.modelPricingOverrideFormBasePricing=null,this.modelPricingOverrideFormBasePricingSources=null,this.modelPricingOverrideFormPreservedTiers=[],this.modelPricingOverrideRows=[],this.modelPricingOverrideForm={selector:``}}async submitModelPricingOverrideForm(){let e=String(this.modelPricingOverrideForm.selector||``).trim();if(!e){this.modelPricingOverrideError=`Model pricing selector is required.`;return}let t=this.modelPricingOverridePayload();if(t.error){this.modelPricingOverrideError=t.error;return}let n={selector:e,...t};this.modelPricingOverrideSubmitting=!0,this.modelPricingOverrideError=``;try{let e=await JI(`/admin/model-pricing-overrides`,`PUT`,n,{label:`model pricing override`});if(e.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideError=`Model pricing overrides feature is unavailable.`;return}if(e.stale)return;if(!e.ok){this.modelPricingOverrideError=e.status===401?`Authentication required.`:UI(e,`Failed to save model pricing.`);return}this.modelPricingOverridesAvailable=!0,this.closeModelPricingOverrideForm(),DL.success(`Model pricing saved.`),this.fetchModelPricingOverrides()}catch(e){console.error(`Failed to save model pricing override:`,e),this.modelPricingOverrideError=`Failed to save model pricing.`}finally{this.modelPricingOverrideSubmitting=!1}}async deleteModelPricingOverride(){let e=String(this.modelPricingOverrideForm.selector||``).trim();if(!(!e||!this.modelPricingOverrideFormHasExistingOverride)&&window.confirm(`Remove the model pricing override for "`+e+`"?`)){this.modelPricingOverrideSubmitting=!0,this.modelPricingOverrideError=``;try{let t=await JI(`/admin/model-pricing-overrides`,`DELETE`,{selector:e},{label:`model pricing override`});if(t.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideError=`Model pricing overrides feature is unavailable.`;return}if(t.status!==404){if(t.stale)return;if(!t.ok){this.modelPricingOverrideError=t.status===401?`Authentication required.`:UI(t,`Failed to remove model pricing override.`);return}}this.modelPricingOverridesAvailable=!0,this.closeModelPricingOverrideForm(),DL.success(`Model pricing override removed.`),this.fetchModelPricingOverrides()}catch(e){console.error(`Failed to delete model pricing override:`,e),this.modelPricingOverrideError=`Failed to remove model pricing override.`}finally{this.modelPricingOverrideSubmitting=!1}}}},B3=R(``);function V3(e,t){E(t,!0);var n=B3();let r;var i=P(M(n),2),a=M(i,!0);T(i),T(n),F((e,i,o)=>{r=U(n,1,`alias-toggle`,null,r,e),n.disabled=v3.rowTogglingKey===t.row.key||!v3.virtualModelsAvailable,W(n,`aria-label`,i),B(a,o)},[()=>({enabled:v3.rowToggleEnabled(t.row),restricted:v3.rowToggleRestricted(t.row)}),()=>v3.rowToggleAriaLabel(t.row),()=>v3.rowToggleLabel(t.row)]),L(`click`,n,()=>v3.toggleRowEnabled(t.row)),z(e,n),D()}Hr([`click`]);var H3=R(`
`);function U3(e,t){E(t,!0);var n=H3(),r=M(n),i=e=>{V3(e,{get row(){return v3.globalScopeRow}})};V(r,e=>{v3.virtualModelsAvailable&&e(i)});var a=P(r,2),o=e=>{{let t=O(()=>z3.modelPricingButtonLabel(`global model pricing`,z3.hasGlobalPricingOverride())),n=O(()=>z3.modelPricingButtonClass(z3.hasGlobalPricingOverride()));P1(e,{get label(){return I(t)},get class(){return`table-icon-btn ${I(n)??``}`},onclick:()=>z3.openGlobalPricingOverrideEdit(),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(a,e=>{z3.modelPricingOverridesAvailable&&e(o)});var s=P(a,2),c=e=>{{let t=O(()=>i3(`global model access`,v3.hasGlobalModelOverride())),n=O(()=>r3(v3.hasGlobalModelOverride()));P1(e,{get label(){return I(t)},get class(){return`table-icon-btn ${I(n)??``}`},onclick:()=>v3.openGlobalModelOverrideEdit(),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(s,e=>{v3.virtualModelsAvailable&&e(c)}),T(n),z(e,n),D()}function W3(e){return String(e&&(e.primary_model||e.source)||``).trim()}function G3(e){return Array.isArray(e&&e.fallback_models)?e.fallback_models:Array.isArray(e&&e.targets)?e.targets:[]}function K3(e){return Array.isArray(e)?e.map(e=>({...e,source:W3(e),targets:G3(e)})):[]}function q3(e){let t=G3(e);return t.length===0?`-`:t.join(`, `)}function J3(e){return e&&e.enabled===!1?`Off`:e&&e.managed?`Config`:`On`}function Y3(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>W3(e)===n)||null}function X3(e,t){if(!t||t.is_alias)return!1;let n=Y3(e,y4(t));return!!(n&&n.enabled!==!1&&G3(n).length>0)}function Z3(e,t){return X3(e,t)?`table-action-btn-failover-active`:``}function Q3(e,t){let n=`Edit failover for `+(t&&t.display_name?t.display_name:`model`);return X3(e,t)?n+` (active)`:n}function $3(e){let t=[e&&e.target_model];return(Array.isArray(e&&e.targets)?e.targets:[]).forEach(e=>t.push(e&&e.model)),t.map(e=>String(e||``).trim()).filter(Boolean)}function e6(e){let t=Array.isArray(e)?e.map(e=>String(e||``).trim()).filter(Boolean):[];return{target_model:t[0]||``,targets:t.slice(1).map(e=>({model:e}))}}function t6(e){return{primary_model:String(e&&e.source||``).trim(),fallback_models:$3(e),enabled:!(e&&e.enabled===!1)}}function n6(e){return W3(e)}function r6(e){let t={};return(Array.isArray(e)?e:[]).forEach(e=>{let n=n6(e);n&&(t[n]=!0)}),t}function i6(e,t){let n=n6(t);return!!(n&&e&&e[n])}function a6(e,t){return(Array.isArray(e)?e:[]).filter(e=>i6(t,e))}function o6(e,t){let n=Array.isArray(e)?e:[];return n.length>0&&a6(n,t).length===n.length}function s6(e){return[W3(e),G3(e).join(` `)].join(` `).toLowerCase()}function c6(e,t){let n=Array.isArray(e)?e:[],r=String(t||``).trim().toLowerCase();return r?n.filter(e=>s6(e).includes(r)):n}function l6(e){return{primary_model:W3(e),fallback_models:G3(e).map(e=>String(e||``).trim()).filter(Boolean),enabled:!!(e&&e.enabled!==!1)}}function u6(){return{source:``,target_model:``,targets:[],enabled:!0}}var Z=new class{#e=k(!0);get failoverAvailable(){return I(this.#e)}set failoverAvailable(e){A(this.#e,e,!0)}#t=k(j([]));get failoverRules(){return I(this.#t)}set failoverRules(e){A(this.#t,e,!0)}#n=k(!1);get failoverLoading(){return I(this.#n)}set failoverLoading(e){A(this.#n,e,!0)}#r=k(!1);get failoverSaving(){return I(this.#r)}set failoverSaving(e){A(this.#r,e,!0)}#i=k(!1);get failoverGenerating(){return I(this.#i)}set failoverGenerating(e){A(this.#i,e,!0)}#a=k(``);get failoverError(){return I(this.#a)}set failoverError(e){A(this.#a,e,!0)}#o=k(j([]));get failoverGeneratedRules(){return I(this.#o)}set failoverGeneratedRules(e){A(this.#o,e,!0)}#s=k(!1);get failoverDraftsOpen(){return I(this.#s)}set failoverDraftsOpen(e){A(this.#s,e,!0)}#c=k(j({}));get failoverDraftSelections(){return I(this.#c)}set failoverDraftSelections(e){A(this.#c,e,!0)}#l=k(``);get failoverDraftFilter(){return I(this.#l)}set failoverDraftFilter(e){A(this.#l,e,!0)}#u=k(!1);get failoverDraftSaving(){return I(this.#u)}set failoverDraftSaving(e){A(this.#u,e,!0)}#d=k(!1);get failoverFormOpen(){return I(this.#d)}set failoverFormOpen(e){A(this.#d,e,!0)}#f=k(`create`);get failoverFormMode(){return I(this.#f)}set failoverFormMode(e){A(this.#f,e,!0)}#p=k(!1);get failoverFormManaged(){return I(this.#p)}set failoverFormManaged(e){A(this.#p,e,!0)}#m=k(j(u6()));get failoverForm(){return I(this.#m)}set failoverForm(e){A(this.#m,e,!0)}failoverEnabled(){return QI.booleanFlag(`FAILOVER_ENABLED`,!0)}async fetchFailoverRules(){if(!this.failoverEnabled()){this.failoverAvailable=!1,this.failoverRules=[],this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!1,this.failoverError=``,this.failoverLoading=!1;return}this.failoverLoading=!0,this.failoverError=``;try{let e=await qI(`/admin/failover`,{label:`failover mappings`});if(e.status===503){this.failoverAvailable=!1,this.failoverRules=[];return}if(e.stale)return;if(this.failoverAvailable=!0,!e.ok){this.failoverRules=[];return}this.failoverRules=K3(e.data)}catch(e){console.error(`Failed to fetch failover mappings:`,e),this.failoverRules=[],this.failoverError=`Unable to load failover mappings.`}finally{this.failoverLoading=!1}}resetFailoverForm(){this.failoverFormMode=`create`,this.failoverFormManaged=!1,this.failoverForm=u6()}openFailoverCreate(){this.resetFailoverForm(),this.failoverFormOpen=!0,this.focusFailoverEditor()}openFailoverEdit(e){if(!e)return;this.resetFailoverForm(),this.failoverFormMode=`edit`,this.failoverFormOpen=!0,this.failoverFormManaged=!!e.managed;let t=this.failoverPrimaryModel(e),n=this.failoverTargets(e);this.failoverForm={source:t,target_model:n[0]||``,targets:n.slice(1).map(e=>({model:e})),enabled:e.enabled!==!1},this.focusFailoverEditor()}openFailoverForModel(e){if(!e||e.is_alias)return;let t=this.qualifiedModelName(e),n=this.failoverRules.find(e=>this.failoverPrimaryModel(e)===t);if(n){this.openFailoverEdit(n);return}this.resetFailoverForm(),this.failoverFormMode=`create`,this.failoverFormOpen=!0,this.failoverForm.source=t,this.focusFailoverEditor()}closeFailoverForm(){this.failoverFormOpen=!1}closeFailoverDraftsModal(){this.failoverDraftSaving||(this.failoverDraftsOpen=!1)}failoverFormTargets(){return $3(this.failoverForm)}setFailoverFormTargets(e){let t=e6(e);this.failoverForm.target_model=t.target_model,this.failoverForm.targets=t.targets}addFailoverTarget(){Array.isArray(this.failoverForm.targets)||(this.failoverForm.targets=[]),this.failoverForm.targets.push({model:``}),this.focusFailoverEditor()}removeFailoverTarget(e){if(!Array.isArray(this.failoverForm.targets)){this.failoverForm.targets=[];return}this.failoverForm.targets.splice(e,1)}removePrimaryFailoverTarget(){let e=Array.isArray(this.failoverForm.targets)?this.failoverForm.targets:[];if(e.length>0){let t=e.shift();this.failoverForm.target_model=t&&t.model?t.model:``,this.failoverForm.targets=e;return}this.failoverForm.target_model=``}failoverRulePayload(){return t6(this.failoverForm)}async submitFailoverForm(){if(this.failoverSaving||this.failoverGenerating||this.failoverFormManaged)return;let e=this.failoverRulePayload();if(!e.primary_model){this.failoverError=`Primary model is required.`;return}if(e.enabled&&e.fallback_models.length===0){this.failoverError=`Add at least one failover target.`;return}this.failoverSaving=!0,this.failoverError=``;try{let t=await JI(`/admin/failover`,`PUT`,e,{label:`failover mapping`});if(t.stale)return;if(!t.ok){this.failoverError=`Failed to save failover mapping.`;return}DL.success(`Failover mapping saved.`),this.closeFailoverForm(),this.fetchFailoverRules()}catch(e){console.error(`Failed to save failover mapping:`,e),this.failoverError=`Failed to save failover mapping.`}finally{this.failoverSaving=!1}}async deleteFailoverRule(e){let t=String(e&&this.failoverPrimaryModel(e)||this.failoverForm.source||``).trim();if(!(!t||this.failoverSaving||this.failoverGenerating)&&confirm(`Remove failover mapping for "`+t+`"?`)){this.failoverSaving=!0,this.failoverError=``;try{let e=await JI(`/admin/failover`,`DELETE`,{primary_model:t},{label:`failover mapping`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to remove failover mapping.`;return}DL.success(`Failover mapping removed.`),this.closeFailoverForm(),this.fetchFailoverRules()}catch(e){console.error(`Failed to remove failover mapping:`,e),this.failoverError=`Failed to remove failover mapping.`}finally{this.failoverSaving=!1}}}async generateFailoverForForm(){if(this.failoverGenerating||this.failoverSaving||this.failoverFormManaged)return;let e=String(this.failoverForm.source||``).trim();if(!e){this.failoverError=`Primary model is required.`;return}this.failoverGenerating=!0,this.failoverError=``;try{let t=await JI(`/admin/failover/generate`,`POST`,{primary_model:e},{label:`failover generation`});if(t.stale)return;if(!t.ok){this.failoverError=`Failed to generate failover mapping.`;return}let n=K3(t.data),r=n.find(t=>this.failoverPrimaryModel(t)===e)||n[0]||null,i=this.failoverTargets(r);if(i.length===0){this.failoverError=`No failover suggestions were generated for this model.`;return}this.setFailoverFormTargets(i),DL.success(`Generated `+i.length+` fallback model`+(i.length===1?`.`:`s.`)),this.focusFailoverEditor()}catch(e){console.error(`Failed to generate failover mapping:`,e),this.failoverError=`Failed to generate failover mapping.`}finally{this.failoverGenerating=!1}}openFailoverResetDialog(){fL.open({title:`Remove failover models`,titleId:`failoverResetDialogTitle`,inputId:`failover-reset-confirmation`,message:`Remove every dashboard-managed failover mapping. Configuration-managed mappings remain active.`,requiredText:`remove`,confirmLabel:`Remove Failover`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:async()=>{await this.resetFailoverRules(),this.failoverError&&(fL.error=this.failoverError)}})}async resetFailoverRules(){if(!this.failoverSaving){this.failoverSaving=!0,this.failoverError=``;try{let e=await JI(`/admin/failover/reset`,`POST`,void 0,{label:`failover removal`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to remove failover mappings.`;return}this.failoverRules=K3(e.data),this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!1,DL.success(`Dashboard-managed failover mappings removed.`),fL.close()}catch(e){console.error(`Failed to remove failover mappings:`,e),this.failoverError=`Failed to remove failover mappings.`}finally{this.failoverSaving=!1}}}async generateFailoverRules(){if(!(this.failoverGenerating||this.failoverDraftSaving)){this.failoverGenerating=!0,this.failoverError=``,this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!0;try{let e=await JI(`/admin/failover/generate`,`POST`,void 0,{label:`failover generation`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to generate failover mappings.`;return}this.failoverGeneratedRules=K3(e.data),this.selectAllFailoverDrafts(this.failoverGeneratedRules)}catch(e){console.error(`Failed to generate failover mappings:`,e),this.failoverError=`Failed to generate failover mappings.`}finally{this.failoverGenerating=!1}}}failoverDraftKey(e){return n6(e)}selectAllFailoverDrafts(e){this.failoverDraftSelections=r6(e)}failoverDraftSelected(e){return i6(this.failoverDraftSelections,e)}setFailoverDraftSelected(e,t){let n=this.failoverDraftKey(e);n&&(this.failoverDraftSelections={...this.failoverDraftSelections,[n]:!!t})}selectedFailoverDrafts(){return a6(this.failoverGeneratedRules,this.failoverDraftSelections)}selectedFailoverDraftCount(){return this.selectedFailoverDrafts().length}failoverDraftCountLabel(){return this.selectedFailoverDraftCount()+` / `+this.failoverGeneratedRules.length+` selected`}allFailoverDraftsSelected(){return o6(this.failoverGeneratedRules,this.failoverDraftSelections)}toggleAllFailoverDrafts(){if(!(this.failoverDraftSaving||this.failoverGenerating||this.failoverGeneratedRules.length===0)){if(this.allFailoverDraftsSelected()){this.failoverDraftSelections={};return}this.selectAllFailoverDrafts(this.failoverGeneratedRules)}}failoverDraftSearchText(e){return s6(e)}filteredFailoverDrafts(){return c6(this.failoverGeneratedRules,this.failoverDraftFilter)}failoverDraftPayload(e){return l6(e)}async saveSelectedFailoverDrafts(){if(this.failoverDraftSaving||this.failoverGenerating)return;let e=this.selectedFailoverDrafts();if(e.length===0){this.failoverError=`Select at least one failover draft.`;return}this.failoverDraftSaving=!0,this.failoverError=``;try{for(let t of e){let e=this.failoverDraftPayload(t);if(!e.primary_model||e.fallback_models.length===0){this.failoverError=`Generated failover draft is missing model data.`;return}let n=await JI(`/admin/failover`,`PUT`,e,{label:`failover mapping`});if(n.stale)return;if(!n.ok){this.failoverError=`Failed to save failover mapping.`;return}}DL.success(`Saved `+e.length+` failover mapping`+(e.length===1?`.`:`s.`)),this.failoverDraftsOpen=!1,this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.fetchFailoverRules()}catch(e){console.error(`Failed to save generated failover mappings:`,e),this.failoverError=`Failed to save failover mappings.`}finally{this.failoverDraftSaving=!1}}focusFailoverEditor(){setTimeout(()=>{let e=document.querySelector(`[data-failover-editor]`),t=e&&e.querySelector?e.querySelector(`[data-modal-autofocus], input:not([disabled]), textarea:not([disabled]), button:not([disabled])`):null;t&&typeof t.focus==`function`&&t.focus({preventScroll:!0})},0)}failoverTargetLabel(e){return q3(e)}failoverPrimaryModel(e){return W3(e)}failoverTargets(e){return G3(e)}findFailoverMapping(e){return Y3(this.failoverRules,e)}hasActiveFailoverMapping(e){return X3(this.failoverRules,e)}failoverButtonClass(e){return Z3(this.failoverRules,e)}failoverButtonLabel(e){return Q3(this.failoverRules,e)}normalizeFailoverRules(e){return K3(e)}failoverRuleStatus(e){return J3(e)}qualifiedModelName(e){return y4(e)}},d6=R(``),f6=R(``),p6=R(`Config`),m6=R(`
Targets
`),h6=R(``),g6=R(`
Redirects to
`),_6=R(` `),v6=R(`
`),y6=R(`
`),b6=R(`
`);function x6(e,t){E(t,!0);let n=O(()=>z3.modelRowPricing(t.row));var r=b6(),i=M(r),a=M(i),o=M(a),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=e=>{z(e,d6())};V(l,e=>{t.row.is_alias&&e(u)});var d=P(l,2),f=e=>{z(e,f6())};V(d,e=>{!t.row.is_alias&&t.row.masking_alias&&e(f)});var p=P(d,2),m=e=>{z(e,p6())},h=O(()=>t3(t.row));V(p,e=>{I(h)&&e(m)}),T(o);var g=P(o,2),_=e=>{var n=m6(),r=P(M(n)),i=M(r,!0);T(r),T(n),F(()=>B(i,t.row.secondary_name)),z(e,n)};V(g,e=>{t.row.is_alias&&e(_)});var v=P(g,2),y=e=>{var n=g6(),r=P(M(n)),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=h6();F(e=>{W(n,`aria-label`,v3.rowDeletingKey===t.row.key?`Removing redirect for `+t.row.display_name:`Remove redirect for `+t.row.display_name),W(n,`title`,v3.rowDeletingKey===t.row.key?`Removing redirect for `+t.row.display_name:`Remove redirect for `+t.row.display_name),n.disabled=e},[()=>!!v3.rowDeletingKey]),L(`click`,n,()=>v3.removeRedirectRow(t.row)),z(e,n)},s=O(()=>v3.virtualModelsAvailable&&$4(t.row));V(a,e=>{I(s)&&e(o)}),T(n),F(e=>B(i,e),[()=>M4(t.row.masking_alias)]),z(e,n)};V(v,e=>{!t.row.is_alias&&t.row.masking_alias&&e(y)}),T(a),T(i);var b=P(i);H(b,17,()=>t.columns,ai,(e,r)=>{var i=_6(),a=M(i,!0);T(i),F(e=>{U(i,1,Mi(I(r).class),`svelte-1iynym`),B(a,e)},[()=>I(r).value(t.row,I(n))]),z(e,i)});var x=P(b),S=M(x),C=e=>{var n=v6(),r=M(n);V3(r,{get row(){return t.row}});var i=P(r,2),a=e=>{{let n=O(()=>v3.rowDeletingKey===t.row.key?`Removing alias `+t.row.alias.name:`Remove alias `+t.row.alias.name),r=O(()=>!!v3.rowDeletingKey);P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>v3.removeAliasRow(t.row),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})}},o=O(()=>v3.virtualModelsAvailable&&Q4(t.row));V(i,e=>{I(o)&&e(a)});var s=P(i,2),c=e=>{{let n=O(()=>`Edit alias `+t.row.alias.name);P1(e,{get label(){return I(n)},class:`table-icon-btn table-action-btn-active`,onclick:()=>v3.openVirtualModelEditAlias(t.row.alias),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(s,e=>{v3.virtualModelsAvailable&&e(c)}),T(n),z(e,n)},w=e=>{var n=y6(),r=M(n);V3(r,{get row(){return t.row}});var i=P(r,2),a=e=>{{let n=O(()=>z3.modelPricingButtonLabel(`model pricing for `+t.row.display_name,z3.hasModelPricingOverride(t.row))),r=O(()=>z3.modelPricingButtonClass(z3.hasModelPricingOverride(t.row)));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>z3.openModelPricingOverrideEdit(t.row),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(i,e=>{z3.modelPricingOverridesAvailable&&e(a)});var o=P(i,2),s=e=>{{let n=O(()=>Z.failoverButtonLabel(t.row)),r=O(()=>Z.failoverButtonClass(t.row));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>Z.openFailoverForModel(t.row),children:(e,t)=>{K(e,{name:`shuffle`,class:`table-icon-svg`})},$$slots:{default:!0}})}},c=O(()=>Z.failoverAvailable&&Z.failoverEnabled());V(o,e=>{I(c)&&e(s)});var l=P(o,2),u=e=>{{let n=O(()=>X.rateLimitGaugeTitle(t.row.display_name,X.rateLimitGaugeClassForModel(t.row))),r=O(()=>X.rateLimitGaugeClassForModel(t.row));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>X.openRateLimitInspectorForModel(t.row),children:(e,t)=>{K(e,{name:`gauge`,class:`table-icon-svg`})},$$slots:{default:!0}})}},d=O(()=>X.rateLimitsEnabled()&&X.rateLimitInspectorModelID(t.row));V(l,e=>{I(d)&&e(u)});var f=P(l,2),p=e=>{{let n=O(()=>`Edit redirect for `+t.row.display_name);P1(e,{get label(){return I(n)},class:`table-icon-btn table-action-btn-active`,onclick:()=>v3.openVirtualModelEditAlias(t.row.masking_alias),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(f,e=>{v3.virtualModelsAvailable&&t.row.masking_alias&&t.row.masking_alias.name&&e(p)});var m=P(f,2),h=e=>{{let n=O(()=>i3(`model access for `+t.row.display_name,n3(t.row.access))),r=O(()=>r3(n3(t.row.access)));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>v3.openVirtualModelEditModel(t.row),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(m,e=>{v3.virtualModelsAvailable&&!t.row.masking_alias&&e(h)}),T(n),z(e,n)};V(S,e=>{t.row.is_alias?e(C):e(w,-1)}),T(x),T(r),F((e,n)=>{W(r,`id`,e),U(r,1,n,`svelte-1iynym`),B(c,t.row.display_name)},[()=>e3(t.row)||void 0,()=>Mi(Z4(t.row))]),z(e,r),D()}Hr([`click`]);var S6={headerLines:[`Modes`],value:e=>(e.model?.metadata?.modes??[]).join(`, `)||`-`};function C6(e,t){return{headerLines:e,class:`col-price`,value:t}}var w6=C6([`Input / Output ($/MTok)`],(e,t)=>LL(t?.input_per_mtok)+` / `+LL(t?.output_per_mtok)),T6={all:[S6,w6],text_generation:[S6,w6,C6([`Cached $/MTok`],(e,t)=>LL(t?.cached_input_per_mtok))],embedding:[C6([`Input`,`$/MTok`],(e,t)=>LL(t?.input_per_mtok))],image:[C6([`$/Image`],(e,t)=>RL(t?.per_image))],audio:[C6([`$/Second`],(e,t)=>RL(t?.per_second_input)),C6([`$/Character`],(e,t)=>RL(t?.per_character_input))],video:[C6([`$/Second (In)`],(e,t)=>RL(t?.per_second_input)),C6([`$/Second (Out)`],(e,t)=>RL(t?.per_second_output))],utility:[C6([`$/Page`],(e,t)=>RL(t?.per_page)),C6([`$/Request`],(e,t)=>RL(t?.per_request))]};function E6(e){return T6[e]||T6.all}function D6(e){return E6(e).length+2}var O6=R(`
`),k6=R(` `,1),A6=R(``),j6=R(` `),M6=R(` `),N6=R(`
`),P6=R(`
`),F6=R(`
Model
`);function I6(e,t){E(t,!0);let n=O(()=>cR.activeCategory||`all`),r=O(()=>E6(I(n))),i=O(()=>D6(I(n)));var a=F6(),o=M(a),s=M(o),c=M(s),l=P(M(c));H(l,17,()=>I(r),ai,(e,t)=>{var n=A6();H(n,21,()=>I(t).headerLines,ai,(e,t,n)=>{var r=k6(),i=N(r),a=e=>{z(e,O6())};V(i,e=>{n>0&&e(a)});var o=P(i,1,!0);F(()=>B(o,I(t))),z(e,r)}),T(n),F(()=>U(n,1,Mi(I(t).class),`svelte-1911hy6`)),z(e,n)});var u=P(l);U3(M(u),{}),T(u),T(c),T(s),H(P(s),17,()=>v3.filteredDisplayModelGroups,e=>e.key,(e,t)=>{var n=P6(),a=M(n),o=M(a),s=M(o),c=M(s),l=M(c),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=e=>{var n=j6(),r=M(n,!0);T(n),F(()=>B(r,`(`+I(t).type_label+`)`)),z(e,n)};V(f,e=>{I(t).type_label&&e(p)});var m=P(f,2),h=e=>{var n=M6(),r=M(n,!0);T(n),F(()=>B(r,I(t).item_count_label)),z(e,n)};V(m,e=>{I(t).item_count_label&&e(h)}),T(l);var g=P(l,2),_=e=>{var n=N6(),r=M(n,!0);T(n),F(()=>B(r,I(t).access_summary)),z(e,n)};V(g,e=>{I(t).access_summary&&e(_)}),T(c);var v=P(c,2),y=M(v),b=e=>{V3(e,{get row(){return I(t)}})};V(y,e=>{I(t).access.selector&&e(b)});var x=P(y,2),S=e=>{{let n=O(()=>z3.modelPricingButtonLabel(`provider pricing for `+I(t).display_name,z3.hasProviderPricingOverride(I(t)))),r=O(()=>z3.modelPricingButtonClass(z3.hasProviderPricingOverride(I(t))));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>z3.openProviderPricingOverrideEdit(I(t)),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(x,e=>{z3.modelPricingOverridesAvailable&&I(t).provider_name&&e(S)});var C=P(x,2),w=e=>{{let n=O(()=>X.rateLimitGaugeTitle(`provider `+I(t).display_name,X.rateLimitGaugeClassForProvider(I(t)))),r=O(()=>X.rateLimitGaugeClassForProvider(I(t)));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>X.openRateLimitInspectorForProvider(I(t)),children:(e,t)=>{K(e,{name:`gauge`,class:`table-icon-svg`})},$$slots:{default:!0}})}},ee=O(()=>X.rateLimitsEnabled()&&I(t).provider_name);V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{{let n=O(()=>i3(`provider access for `+I(t).display_name,n3(I(t).access))),r=O(()=>r3(n3(I(t).access)));P1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>v3.openProviderOverrideEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(te,e=>{v3.virtualModelsAvailable&&I(t).access.selector&&e(ne)}),T(v),T(s),T(o),T(a),H(P(a),17,()=>I(t).rows,e=>e.key,(e,t)=>{x6(e,{get row(){return I(t)},get columns(){return I(r)}})}),T(n),F(()=>{W(o,`colspan`,I(i)),B(d,I(t).display_name)}),z(e,n)}),T(o),T(a),z(e,a),D()}var L6=R(``);function R6(e,t){let n=G(t,`enabled`,3,!1),r=G(t,`label`,3,``),i=G(t,`disabled`,3,!1),a=G(t,`restricted`,3,!1);var o=L6();let s;var c=P(M(o),2),l=M(c,!0);T(c),T(o),F(()=>{s=U(o,1,`alias-toggle`,null,s,{enabled:n(),restricted:a()}),o.disabled=i(),W(o,`aria-label`,(n()?`Disable `:`Enable `)+r()),B(l,t.text??(n()?`Enabled`:`Disabled`))}),L(`click`,o,function(...e){t.onclick?.apply(this,e)}),z(e,o)}Hr([`click`]);var z6=R(``),B6=R(`
`);function V6(e,t){E(t,!0);let n=G(t,`model`,15,``),r=G(t,`weight`,15),i=G(t,`id`,3,void 0),a=G(t,`placeholder`,3,`openai/gpt-4o`),o=G(t,`showRemove`,3,!0);var s=B6(),c=M(s);$i(c);var l=P(c,2),u=e=>{var t=z6();$i(t),F(()=>t.disabled=v3.vmFormManaged),ca(t,r),z(e,t)},d=O(()=>v3.vmFormShowWeights());V(l,e=>{I(d)&&e(u)});var f=P(l,2),p=e=>{P1(e,{label:`Remove target`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,get onclick(){return t.onremove},get disabled(){return v3.vmFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})};V(f,e=>{o()&&e(p)}),T(s),F(()=>{W(c,`id`,i()),W(c,`placeholder`,a()),c.disabled=v3.vmFormManaged}),ca(c,n),z(e,s),D()}var H6=R(`

`),U6=R(`adaptive lets the registered routing extension pick the target per + request.`,1),W6=R(`Add one target to make this a redirect/alias, or two or more to load + balance across them, then pick a strategy: round_robin rotates across targets + (weight biases the share) and cost always routes to the cheapest available + target. Leave Targets empty to make it only an access policy on the Source selector. The selector uses / for all providers and + models, for one provider, or for one model. user_paths is + matched against the effective request user_path: the managed API key user_path when present, otherwise the configured user path request header.`,1),G6=R(``),K6=R(`

This virtual model is defined in configuration (config.yaml / VIRTUAL_MODELS) and is read-only here. Edit your configuration to change it.

`),q6=R(``),J6=R(``),Y6=R(``),X6=R(`
`,1),Z6=R(``),Q6=R(`Use / to allow every user path. Use a team path to restrict to that + subtree, or an unused path to make the selector unavailable.`,1),$6=R(``),e8=R(` `),t8=R(`
Targets
`,1);function n8(e,t){E(t,!0);let n=v3;Mn(()=>{n.vmFormOpen&&QI.ensureLoaded()});{let t=e=>{yQ(e,{copyId:`virtual-model-help-copy`,label:`virtual model help`,get open(){return n.vmFormHelpOpen},set open(e){n.vmFormHelpOpen=e},title:e=>{var t=H6(),r=M(t,!0);T(t),F(()=>B(r,n.vmFormDisplayName||n.vmForm.source||`Virtual model`)),z(e,t)},help:e=>{Ge();var t=W6(),n=P(N(t),7),r=e=>{var t=U6();Ge(),z(e,t)},i=O(()=>QI.virtualModelStrategies().includes(`adaptive`));V(n,e=>{I(i)&&e(r)});var a=P(n,8);a.textContent=`{provider_name}/`;var o=P(a,2);o.textContent=`{provider_name}/{model}`,Ge(7),z(e,t)},$$slots:{title:!0,help:!0}})},r=e=>{var t=Qr(),r=N(t),i=e=>{var t=G6();F(()=>t.disabled=n.vmDeleting||n.vmSubmitting),L(`click`,t,()=>n.deleteVirtualModel()),z(e,t)};V(r,e=>{n.vmFormHasExisting&&!n.vmFormManaged&&e(i)}),z(e,t)},i=O(()=>n.vmDeleting||n.vmFormManaged),a=O(()=>n.vmFormMode===`edit`?`Save`:`Create`),o=O(()=>n.vmFormMode===`edit`?`save`:`plus`);R0(e,{get open(){return n.vmFormOpen},ariaLabel:`Virtual model editor`,get error(){return n.vmFormError},get submitting(){return n.vmSubmitting},get submitDisabled(){return I(i)},get submitLabel(){return I(a)},get submitIcon(){return I(o)},onclose:()=>n.closeVirtualModelForm(),onsubmit:()=>n.submitVirtualModelForm(),header:t,extraActions:r,children:(e,t)=>{var r=t8(),i=N(r),a=e=>{z(e,K6())};V(i,e=>{n.vmFormManaged&&e(a)});var o=P(i,2);B0(o,{id:`virtual-model-source`,label:`Source`,children:(e,t)=>{var r=q6();$i(r),F(()=>r.disabled=n.vmFormSourceLocked||n.vmFormManaged),ca(r,()=>n.vmForm.source,e=>n.vmForm.source=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2);H(s,21,()=>cR.models,e=>y4(e),(e,t)=>{var n=J6(),r=M(n,!0);T(n);var i={};F((e,t)=>{B(r,e),i!==(i=t)&&(n.value=(n.__value=t)??``)},[()=>y4(I(t)),()=>y4(I(t))]),z(e,n)}),T(s);var c=P(s,2),l=P(M(c),2);{let e=O(()=>n.vmFormHasPrimaryTarget());V6(l,{id:`virtual-model-target`,get showRemove(){return I(e)},onremove:()=>n.removePrimaryTarget(),get model(){return n.vmForm.target_model},set model(e){n.vmForm.target_model=e},get weight(){return n.vmForm.target_weight},set weight(e){n.vmForm.target_weight=e}})}var u=P(l,2);H(u,17,()=>n.vmForm.targets,ai,(e,t,r)=>{V6(e,{placeholder:`groq/llama`,onremove:()=>n.removeVmTarget(r),get model(){return I(t).model},set model(e){I(t).model=e},get weight(){return I(t).weight},set weight(e){I(t).weight=e}})});var d=P(u,2),f=M(d);K(M(f),{name:`plus`,class:`form-action-icon`}),Ge(2),T(f),T(d),T(c);var p=P(c,2),m=e=>{var t=X6(),r=N(t);B0(r,{id:`virtual-model-strategy`,label:`Load-balancing strategy`,children:(e,t)=>{var r=Y6();H(r,21,()=>n.vmStrategyOptions(),e=>e.value,(e,t)=>{var n=J6(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(r),F(()=>r.disabled=n.vmFormManaged),Hi(r,()=>n.vmForm.strategy,e=>n.vmForm.strategy=e),z(e,r)},$$slots:{default:!0}});var i=P(r,2),a=M(i),o=M(a);$i(o),Ge(2),T(a),T(i),F(()=>o.disabled=n.vmFormManaged),la(o,()=>n.vmForm.session_affinity,e=>n.vmForm.session_affinity=e),z(e,t)},h=O(()=>n.vmFormShowStrategy());V(p,e=>{I(h)&&e(m)});var g=P(p,2),_=M(g);yQ(_,{copyId:`virtual-model-user-paths-help`,label:`user paths help`,get open(){return n.vmFormUserPathsHelpOpen},set open(e){n.vmFormUserPathsHelpOpen=e},title:e=>{z(e,Z6())},help:e=>{Ge();var t=Q6();Ge(2),z(e,t)},$$slots:{title:!0,help:!0}});var v=P(_,2);mt(v),W(v,`placeholder`,`/ +/team/alpha +/non-existing`),T(g);var y=P(g,2);B0(y,{id:`virtual-model-description`,label:`Description`,children:(e,t)=>{var r=$6();mt(r),F(()=>r.disabled=n.vmFormManaged),ca(r,()=>n.vmForm.description,e=>n.vmForm.description=e),z(e,r)},$$slots:{default:!0}});var b=P(y,2),x=M(b),S=e=>{var t=e8(),r=M(t,!0);T(t),F(()=>B(r,`Default enabled: `+(n.vmFormDefaultEnabled?`yes`:`no`)+` · Effective now: `+(n.vmFormEffectiveEnabled?`yes`:`no`))),z(e,t)};V(x,e=>{n.vmFormMode===`edit`&&e(S)});var C=P(x,2),w=M(C);{let e=O(()=>n.vmFormToggleRestricted()),t=O(()=>n.vmFormToggleLabel());R6(w,{get enabled(){return n.vmForm.enabled},get restricted(){return I(e)},label:`virtual model`,get disabled(){return n.vmFormManaged},get text(){return I(t)},onclick:()=>{n.vmFormManaged||(n.vmForm.enabled=!n.vmForm.enabled)}})}T(C),T(b),F(()=>{f.disabled=n.vmFormManaged,v.disabled=n.vmFormManaged}),L(`click`,f,()=>n.addVmTarget()),ca(v,()=>n.vmForm.user_paths,e=>n.vmForm.user_paths=e),z(e,r)},$$slots:{header:!0,extraActions:!0,default:!0}})}D()}Hr([`click`]);var r8=R(`

Pricing override

`,1),i8=R(``),a8=R(``),o8=R(``),s8=R(``),c8=R(`
`),l8=R(`
Tiered pricing exists for this override and will be preserved. Tier editing can be added + without a database migration.
`),u8=R(`
No pricing fields set.
`),d8=R(`
`),f8=R(`

Currency is USD. Saved fields override model registry and config.yaml pricing for this + selector; unset fields continue to inherit.

Price Type USD Source
`,1);function p8(e,t){E(t,!0);let n=z3;R0(e,{get open(){return n.modelPricingOverrideFormOpen},ariaLabel:`Model pricing editor`,dialogClass:`model-pricing-editor`,get error(){return n.modelPricingOverrideError},get submitting(){return n.modelPricingOverrideSubmitting},submitLabel:`Save Pricing`,onclose:()=>n.closeModelPricingOverrideForm(),onsubmit:()=>n.submitModelPricingOverrideForm(),header:e=>{var t=r8(),r=P(N(t),2),i=M(r,!0);T(r),F(()=>B(i,n.modelPricingOverrideFormDisplayName||n.modelPricingOverrideForm.selector||`Pricing`)),z(e,t)},extraActions:e=>{var t=Qr(),r=N(t),i=e=>{var t=i8();F(()=>t.disabled=n.modelPricingOverrideSubmitting),L(`click`,t,()=>n.deleteModelPricingOverride()),z(e,t)};V(r,e=>{n.modelPricingOverrideFormHasExistingOverride&&e(i)}),z(e,t)},children:(e,t)=>{var r=f8(),i=N(r),a=M(i);B0(a,{id:`model-pricing-override-selector`,label:`Selector`,children:(e,t)=>{var r=a8();$i(r),ca(r,()=>n.modelPricingOverrideForm.selector,e=>n.modelPricingOverrideForm.selector=e),z(e,r)},$$slots:{default:!0}});var o=P(a,2),s=e=>{B0(e,{id:`model-pricing-override-scope`,label:`Scope`,children:(e,t)=>{var r=s8();H(r,21,()=>n.modelPricingOverrideFormScopeOptions,e=>e.value,(e,t)=>{var n=o8(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(r),L(`change`,r,()=>n.setModelPricingOverrideScope(n.modelPricingOverrideFormScope)),Hi(r,()=>n.modelPricingOverrideFormScope,e=>n.modelPricingOverrideFormScope=e),z(e,r)},$$slots:{default:!0}})};V(o,e=>{n.modelPricingOverrideFormScopeOptions.length>1&&e(s)}),T(i);var c=P(i,4);H(c,21,()=>n.modelPricingOverrideRows,e=>e.id,(e,t,r)=>{var i=c8(),a=M(i),o=M(a),s=P(o,2);H(s,21,()=>n.availablePricingFieldOptions(I(t)),e=>e.value,(e,t)=>{var n=o8(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).group+` - `+I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(s),T(a);var c=P(a,2),l=M(c),u=P(l,2);$i(u),T(c);var d=P(c,2);{let e=O(()=>`Remove `+n.pricingFieldLabel(I(t).field));P1(d,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn pricing-override-remove-row`,onclick:()=>n.removeModelPricingOverrideRow(I(t)),children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(i),F(()=>{W(o,`for`,`pricing-type-`+I(t).id),W(s,`id`,`pricing-type-`+I(t).id),W(l,`for`,`pricing-value-`+I(t).id),W(u,`id`,`pricing-value-`+I(t).id)}),Hi(s,()=>I(t).field,e=>I(t).field=e),ca(u,()=>I(t).value,e=>I(t).value=e),z(e,i)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l);var d=P(l,2),f=e=>{z(e,l8())};V(d,e=>{n.modelPricingOverrideFormPreservedTiers.length>0&&e(f)});var p=P(d,2),m=P(M(p),2),h=e=>{z(e,u8())},g=O(()=>n.modelPricingEffectivePreviewRows().length===0);V(m,e=>{I(g)&&e(h)}),H(P(m,2),17,()=>n.modelPricingEffectivePreviewRows(),e=>e.field,(e,t)=>{var n=d8(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(n),F(e=>{B(i,I(t).label),B(o,e),B(c,I(t).source)},[()=>I(t).value===null||I(t).value===void 0?`-`:RL(Number(I(t).value))]),z(e,n)}),T(p),L(`click`,u,()=>n.addModelPricingOverrideRow()),z(e,r)},$$slots:{header:!0,extraActions:!0,default:!0}}),D()}Hr([`click`,`change`]);var m8=R(`

Failover mapping

`,1),h8=R(``),g8=R(`

This failover mapping is defined in configuration and is read-only here.

`),_8=R(``),v8=R(`
`),y8=R(`
`,1),b8=R(`
`);function x8(e,t){E(t,!0);{let t=e=>{var t=m8(),n=P(N(t),2),r=M(n,!0);T(n),F(()=>B(r,Z.failoverForm.source||`Failover`)),z(e,t)},n=e=>{var t=Qr(),n=N(t),r=e=>{var t=h8();F(()=>t.disabled=Z.failoverSaving||Z.failoverGenerating),L(`click`,t,()=>Z.deleteFailoverRule()),z(e,t)};V(n,e=>{Z.failoverFormMode===`edit`&&!Z.failoverFormManaged&&e(r)}),z(e,t)},r=O(()=>Z.failoverGenerating||Z.failoverFormManaged);R0(e,{get open(){return Z.failoverFormOpen},ariaLabel:`Failover editor`,get error(){return Z.failoverError},get submitting(){return Z.failoverSaving},get submitDisabled(){return I(r)},submitLabel:`Save`,onclose:()=>Z.closeFailoverForm(),onsubmit:()=>Z.submitFailoverForm(),header:t,extraActions:n,children:(e,t)=>{var n=b8(),r=M(n),i=e=>{z(e,g8())};V(r,e=>{Z.failoverFormManaged&&e(i)});var a=P(r,2);H(a,21,()=>cR.models,ai,(e,t)=>{var n=_8(),r=M(n,!0);T(n);var i={};F((e,t)=>{B(r,e),i!==(i=t)&&(n.value=(n.__value=t)??``)},[()=>y4(I(t)),()=>y4(I(t))]),z(e,n)}),T(a);var o=P(a,2);B0(o,{id:`failover-target`,label:`Fallback models`,children:(e,t)=>{var n=y8(),r=N(n),i=M(r),a=M(i);$i(a);var o=P(a,2),s=e=>{P1(e,{label:`Remove fallback model`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Z.removePrimaryFailoverTarget(),get disabled(){return Z.failoverFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})};V(o,e=>{Z.failoverForm.target_model&&e(s)}),T(i),H(P(i,2),17,()=>Z.failoverForm.targets,ai,(e,t,n)=>{var r=v8(),i=M(r);$i(i),P1(P(i,2),{label:`Remove fallback model`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Z.removeFailoverTarget(n),get disabled(){return Z.failoverFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),F(()=>i.disabled=Z.failoverFormManaged),ca(i,()=>I(t).model,e=>I(t).model=e),z(e,r)}),T(r);var c=P(r,2),l=M(c);K(M(l),{name:`plus`,class:`form-action-icon`}),Ge(2),T(l);var u=P(l,2),d=M(u);K(d,{name:`wand-sparkles`,class:`form-action-icon`});var f=P(d,2),p=M(f,!0);T(f),T(u),T(c),F(e=>{a.disabled=Z.failoverFormManaged,l.disabled=Z.failoverFormManaged||Z.failoverGenerating||Z.failoverSaving,u.disabled=e,B(p,Z.failoverGenerating?`Generating...`:`Generate automatically`)},[()=>Z.failoverFormManaged||Z.failoverGenerating||Z.failoverSaving||!Z.failoverEnabled()]),ca(a,()=>Z.failoverForm.target_model,e=>Z.failoverForm.target_model=e),L(`click`,l,()=>Z.addFailoverTarget()),L(`click`,u,()=>Z.generateFailoverForForm()),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=M(s);R6(M(c),{get enabled(){return Z.failoverForm.enabled},label:`failover mapping`,get disabled(){return Z.failoverFormManaged},onclick:()=>{Z.failoverFormManaged||(Z.failoverForm.enabled=!Z.failoverForm.enabled)}}),T(c),T(s),T(n),z(e,n)},$$slots:{header:!0,extraActions:!0,default:!0}})}D()}Hr([`click`]);var S8=R(` `),C8=R(`
`),w8=R(``),T8=R(`
`),E8=R(`

No failover suggestions were generated.

`),D8=R(`

No failover drafts match the filter.

`),O8=R(``),k8=R(``);function A8(e,t){E(t,!0),sL(e,{get open(){return Z.failoverDraftsOpen},variant:`editor`,onclose:()=>Z.closeFailoverDraftsModal(),children:(e,t)=>{var n=k8(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=S8(),n=M(t,!0);T(t),F(e=>B(n,e),[()=>Z.failoverDraftCountLabel()]),z(e,t)};V(a,e=>{Z.failoverGeneratedRules.length>0&&e(o)}),aL(P(a,2),{label:`Close failover drafts`,onclick:()=>Z.closeFailoverDraftsModal(),get disabled(){return Z.failoverDraftSaving}}),T(i),T(r);var s=P(r,2),c=e=>{M1(e,{label:`Generating failover drafts...`,class:`failover-drafts-loading`})};V(s,e=>{Z.failoverGenerating&&e(c)});var l=P(s,2),u=e=>{var t=C8(),n=M(t);L$(n,{placeholder:`Filter failover drafts...`,label:`Filter failover drafts`,get value(){return Z.failoverDraftFilter},set value(e){Z.failoverDraftFilter=e}});var r=P(n,2),i=M(r);K(i,{name:`check`,class:`form-action-icon`});var a=P(i,2),o=M(a,!0);T(a),T(r),T(t),F(e=>{r.disabled=Z.failoverDraftSaving,B(o,e)},[()=>Z.allFailoverDraftsSelected()?`Deselect all`:`Select all`]),L(`click`,r,()=>Z.toggleAllFailoverDrafts()),z(e,t)};V(l,e=>{!Z.failoverGenerating&&Z.failoverGeneratedRules.length>0&&e(u)});var d=P(l,2),f=e=>{var t=T8();H(t,21,()=>Z.filteredFailoverDrafts(),e=>`failover-draft:`+Z.failoverPrimaryModel(e),(e,t)=>{var n=w8(),r=M(n);$i(r);var i=P(r,2),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(i),T(n),F((e,t,n,i)=>{ta(r,e),r.disabled=Z.failoverDraftSaving,W(r,`aria-label`,t),B(o,n),B(c,i)},[()=>Z.failoverDraftSelected(I(t)),()=>`Select failover draft for `+Z.failoverPrimaryModel(I(t)),()=>Z.failoverPrimaryModel(I(t)),()=>Z.failoverTargetLabel(I(t))]),L(`change`,r,e=>Z.setFailoverDraftSelected(I(t),e.currentTarget.checked)),z(e,n)}),T(t),z(e,t)},p=O(()=>!Z.failoverGenerating&&Z.filteredFailoverDrafts().length>0);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{z(e,E8())};V(m,e=>{!Z.failoverGenerating&&Z.failoverGeneratedRules.length===0&&!Z.failoverError&&e(h)});var g=P(m,2),_=e=>{z(e,D8())},v=O(()=>!Z.failoverGenerating&&Z.failoverGeneratedRules.length>0&&Z.filteredFailoverDrafts().length===0);V(g,e=>{I(v)&&e(_)});var y=P(g,2),b=e=>{var t=O8(),n=M(t,!0);T(t),F(()=>B(n,Z.failoverError)),z(e,t)};V(y,e=>{Z.failoverError&&e(b)});var x=P(y,2),S=M(x),C=P(S,2),w=M(C);K(w,{name:`save`,class:`form-action-icon`});var ee=P(w,2),te=M(ee,!0);T(ee),T(C),T(x),T(n),F(e=>{S.disabled=Z.failoverDraftSaving,C.disabled=e,B(te,Z.failoverDraftSaving?`Saving...`:`Save selected`)},[()=>Z.failoverGenerating||Z.failoverDraftSaving||Z.selectedFailoverDraftCount()===0]),L(`click`,S,()=>Z.closeFailoverDraftsModal()),L(`click`,C,()=>Z.saveSelectedFailoverDrafts()),z(e,n)},$$slots:{default:!0}}),D()}Hr([`click`,`change`]);var j8=R(`
Rate limit management is unavailable.
`),M8=R(` Add`,1),N8=R(`

`),P8=R(`

No rules.

`),F8=R(` Edit`,1),I8=R(`
`),L8=R(`
`),R8=R(`

`),z8=R(``),B8=R(``);function V8(e,t){E(t,!0);function n(){q.dialogOpen||X.closeRateLimitInspector()}sL(e,{get open(){return X.rateLimitInspectorOpen},variant:`editor`,onclose:n,children:(e,t)=>{var n=B8(),r=M(n),i=M(r),a=P(M(i),2),o=M(a),s=M(o,!0);T(o),T(a),T(i),aL(P(i,2),{label:`Close rate limits inspector`,onclick:()=>X.closeRateLimitInspector()}),T(r);var c=P(r,2),l=e=>{M1(e,{label:`Loading rate limits...`})},u=e=>{z(e,j8())},d=e=>{var t=Qr();H(N(t),17,()=>X.rateLimitInspectorSections(),e=>e.key,(e,t)=>{var n=R8(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2);{let e=O(()=>`Add `+I(t).title.toLowerCase());P1(o,{get label(){return I(e)},class:`budget-action-btn`,onclick:()=>X.openRateLimitFormFromInspector(I(t).scope,I(t).subject),children:(e,t)=>{var n=M8();K(N(n),{name:`plus`,class:`table-icon-svg`}),Ge(2),z(e,n)},$$slots:{default:!0}})}T(r);var s=P(r,2),c=e=>{var n=N8(),r=M(n,!0);T(n),F(()=>B(r,I(t).hint)),z(e,n)};V(s,e=>{I(t).hint&&e(c)});var l=P(s,2),u=e=>{z(e,P8())},d=e=>{var n=L8();H(n,21,()=>I(t).items,e=>X.rateLimitKey(e),(e,t)=>{var n=I8(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=M(c);{let e=O(()=>X.rateLimitIsConcurrent(I(t))?`activity`:`timer`);K(l,{get name(){return I(e)},class:`budget-period-icon`})}var u=P(l,2),d=M(u,!0);T(u),T(c),T(s);var f=P(s,2),p=M(f),m=M(p),h=M(m,!0);T(m);var g=P(m,2),_=M(g,!0);T(g),T(p);var v=P(p,2),y=M(v),b=e=>{P1(e,{label:`Edit rate limit`,class:`budget-action-btn`,onclick:()=>X.openRateLimitFormFromInspector(null,null,I(t)),children:(e,t)=>{var n=F8();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}})},x=O(()=>!X.rateLimitIsReadOnly(I(t)));V(y,e=>{I(x)&&e(b)}),T(v),T(f),T(i),T(r),T(n),F((e,t,r,i,a,s,c,l)=>{U(n,1,`budget-row ${e??``}`),zi(n,t),W(n,`title`,r),B(o,i),B(d,a),B(h,s),W(g,`title`,c),B(_,l)},[()=>X.rateLimitPressureClass(I(t)),()=>X.rateLimitPressureStyle(I(t)),()=>X.rateLimitPressurePercent(I(t))+`% of the most constrained cap used`,()=>X.rateLimitSubject(I(t)),()=>X.rateLimitPeriodLabel(I(t)),()=>X.rateLimitInspectorSummary(I(t)),()=>X.rateLimitIsReadOnly(I(t))?`Declared in configuration; read-only in the dashboard`:`Managed via dashboard or admin API`,()=>X.rateLimitSourceLabel(I(t))]),z(e,n)}),T(n),z(e,n)};V(l,e=>{I(t).items.length===0?e(u):e(d,-1)}),T(n),F(()=>B(a,I(t).title)),z(e,n)}),z(e,t)};V(c,e=>{X.rateLimitsLoading?e(l):X.rateLimitsAvailable?e(d,-1):e(u,1)});var f=P(c,2),p=M(f),m=P(p,2),h=e=>{var t=z8();L(`click`,t,()=>{X.closeRateLimitInspector(),wI.navigate(`rate-limits`)}),z(e,t)},g=O(()=>X.rateLimitsEnabled());V(m,e=>{I(g)&&e(h)}),T(f),T(n),F(()=>B(s,X.rateLimitInspector.title)),L(`click`,p,()=>X.closeRateLimitInspector()),z(e,n)},$$slots:{default:!0}}),D()}Hr([`click`]);var H8=R(`
models
`),U8=R(`
Virtual models feature is unavailable.
`),W8=R(`
`),G8=R(``),K8=R(`
`),q8=R(``),J8=R(`
`),Y8=R(`

No models registered.

`),X8=R(`

No models in this category.

`),Z8=R(`

No models match your filter.

`),Q8=R(`
`);function $8(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`models`&&(v3.fetchVirtualModels(),z3.fetchModelPricingOverrides(),Z.fetchFailoverRules(),X.fetchRateLimitsPage())}),Mn(()=>{let e=v3.filteredDisplayModels.length;return Or(()=>v3.restartModelRendering(e)),()=>v3.stopModelRendering()});let n=O(()=>q.needsAuth);var r=Q8(),i=M(r),a=P(M(i),2),o=e=>{var t=H8(),n=M(t),r=M(n,!0);T(n),Ge(),T(t),F(()=>B(r,cR.filter?v3.filteredDisplayModels.length+` / `+v3.displayModels.length:v3.displayModels.length)),z(e,t)};V(a,e=>{v3.displayModels.length>0&&e(o)}),T(i);var s=P(i,2);uR(s,{});var c=P(s,2),l=e=>{z(e,U8())};V(c,e=>{!v3.virtualModelsAvailable&&!I(n)&&e(l)});var u=P(c,2),d=e=>{var t=W8(),n=M(t,!0);T(t),F(()=>B(n,v3.aliasError)),z(e,t)};V(u,e=>{v3.aliasError&&!I(n)&&e(d)});var f=P(u,2),p=e=>{var t=W8(),n=M(t,!0);T(t),F(()=>B(n,z3.modelPricingOverrideError)),z(e,t)};V(f,e=>{z3.modelPricingOverrideError&&!I(n)&&!z3.modelPricingOverrideFormOpen&&e(p)});var m=P(f,2),h=e=>{var t=K8();H(t,21,()=>cR.categories,e=>e.category,(e,t)=>{var n=G8();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(n),F(()=>{r=U(n,1,`category-tab svelte-scpjps`,null,r,{active:cR.activeCategory===I(t).category}),B(a,I(t).display_name),B(s,I(t).count)}),L(`click`,n,()=>cR.selectCategory(I(t).category)),z(e,n)}),T(t),z(e,t)};V(m,e=>{cR.categories.length>0&&e(h)});var g=P(m,2),_=e=>{var t=J8(),n=M(t);L$(M(n),{placeholder:`Filter by provider, provider/model, alias, or owner...`,label:`Filter models by provider, provider/model, alias, or owner`,get value(){return cR.filter},set value(e){cR.filter=e}}),T(n);var r=P(n,2),i=M(r),a=e=>{var t=q8();K(M(t),{name:`plus`,class:`alias-create-icon`}),Ge(2),T(t),L(`click`,t,()=>v3.openVirtualModelCreate()),z(e,t)};V(i,e=>{v3.virtualModelsAvailable&&e(a)}),T(r),T(t),z(e,t)};V(g,e=>{(v3.displayModels.length>0||cR.filter||v3.virtualModelsAvailable)&&e(_)});var v=P(g,2),y=e=>{{let t=O(()=>v3.modelLoadingText());M1(e,{get label(){return I(t)},class:`models-loading-state`})}},b=O(()=>v3.modelsBusy()&&!I(n));V(v,e=>{I(b)&&e(y)});var x=P(v,2);n8(x,{});var S=P(x,2);p8(S,{});var C=P(S,2),w=e=>{I6(e,{})};V(C,e=>{(v3.displayModels.length>0||cR.filter)&&e(w)});var ee=P(C,2),te=e=>{z(e,Y8())};V(ee,e=>{v3.displayModels.length===0&&!cR.loading&&!I(n)&&!cR.filter&&(cR.activeCategory===`all`||!cR.activeCategory)&&e(te)});var ne=P(ee,2),re=e=>{z(e,X8())};V(ne,e=>{v3.displayModels.length===0&&!cR.loading&&!I(n)&&!cR.filter&&cR.activeCategory&&cR.activeCategory!==`all`&&e(re)});var ie=P(ne,2),ae=e=>{z(e,Z8())};V(ie,e=>{v3.displayModels.length>0&&v3.filteredDisplayModels.length===0&&cR.filter&&e(ae)});var oe=P(ie,2);V8(oe,{});var se=P(oe,2);$2(se,{});var ce=P(se,2);x8(ce,{}),A8(P(ce,2),{}),T(r),z(e,r),D()}Hr([`click`]);var e5=`draft-workflow-preview`;function t5(){return{scope_provider:``,scope_model:``,scope_user_path:``,name:``,description:``,features:{cache:!0,audit:!0,usage:!0,budget:!0,guardrails:!1,failover:!0},guardrails:[]}}function n5(){return{scope_provider:``,scope_model:``,scope_user_path:``}}function r5(e){return{ref:``,step:Number.isFinite(e)?e:10}}function i5(e){let t=e==null?``:String(e).trim();if(t===``)return NaN;let n=Number(t);return Number.isFinite(n)?n:NaN}function a5(e,t,n){if(!e||typeof e!=`object`||Array.isArray(e))return n;let r=t.charAt(0).toUpperCase()+t.slice(1);for(let n of[t,r])if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==null&&e[n]!==void 0)return e[n];return n}function o5(e,t){return!e||typeof e!=`object`||Array.isArray(e)?!1:[t,t.charAt(0).toUpperCase()+t.slice(1)].some(t=>Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==null&&e[t]!==void 0)}function s5(e){return{cache:!!a5(e,`cache`,!1),audit:!!a5(e,`audit`,!1),usage:!!a5(e,`usage`,!1),budget:a5(e,`budget`,!0)!==!1,guardrails:!!a5(e,`guardrails`,!1),failover:a5(e,`failover`,!0)!==!1}}function c5(e,t){let n=s5(e),r=t||{},i=n.usage&&!!r.usage;return{cache:n.cache&&!!r.cache,audit:n.audit&&!!r.audit,usage:i,budget:i&&n.budget&&!!r.budget,guardrails:n.guardrails&&!!r.guardrails,failover:n.failover&&!!r.failover}}function l5(e,t){let n=e&&e.workflow_payload&&e.workflow_payload.features?e.workflow_payload.features:e&&e.features?e.features:{};return{...c5((e&&e.effective_features&&typeof e.effective_features==`object`&&!Array.isArray(e.effective_features)?e.effective_features:null)||n,t),failover:s5(n).failover}}function u5(e,t){return l5(e,t).failover?`On`:`Off`}function d5(e){return(Array.isArray(e&&e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:Array.isArray(e&&e.guardrails)?e.guardrails:[]).map(e=>({ref:String(e&&e.ref||``).trim(),step:i5(e&&e.step)})).filter(e=>Number.isInteger(e.step)&&e.step>=0)}function f5(e,t){return l5(e,t).guardrails&&Array.isArray(e&&e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:[]}function p5(e){return String(e&&(e.scope_provider_name||e.scope_provider)||``).trim()}function m5(e){return String(e&&(e.provider_name||e.provider_type)||``).trim()}function h5(e,t){let n=new Set,r=String(t&&t.scope_provider||``).trim();return r&&n.add(r),(Array.isArray(e)?e:[]).forEach(e=>{let t=m5(e);t&&n.add(t)}),[...n].sort()}function g5(e,t,n){let r=String(t||``).trim(),i=new Set,a=String(n&&n.scope_provider||``).trim(),o=String(n&&n.scope_model||``).trim();return r&&r===a&&o&&i.add(o),(Array.isArray(e)?e:[]).forEach(e=>{if(r&&m5(e)!==r)return;let t=String(e&&e.model&&e.model.id||``).trim();t&&i.add(t)}),[...i].sort()}function _5(e){let t=String(e&&e.scope_type||``).trim();return t===`provider_model`?`Provider Name + Model`:t===`provider_model_path`?`Provider Name + Model + Path`:t===`provider_path`?`Provider Name + Path`:t===`path`?`Path`:t===`provider`?`Provider Name`:`Global`}function v5(e){return String(e&&e.scope_display||`global`).trim()||`global`}function y5(e){let t=String(e&&e.name||``).trim();if(t)return t;let n=v5(e);return n===`global`?`All models`:n}function b5(e){let t=String(e||``).trim();if(!t)return``;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`);for(let e of n){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function x5(e){if(b5(e))return``;let t=String(e||``).trim();if(!t)return``;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`),r=[];for(let e of n){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function S5(e){let t=e||t5(),n=String(t.scope_provider||``).trim(),r=x5(t.scope_user_path);return{scope_provider:n,scope_model:n?String(t.scope_model||``).trim():``,scope_user_path:r}}function C5(e){let t=String(e&&e.scope_provider||``).trim(),n=t?String(e&&e.scope_model||``).trim():``,r=x5(e&&e.scope_user_path);return!t&&!r?`global`:!t&&r?`path`:!n&&!r?`provider`:!n&&r?`provider_path`:r?`provider_model_path`:`provider_model`}function w5(e){let t=String(e&&e.scope_provider||``).trim(),n=t?String(e&&e.scope_model||``).trim():``,r=x5(e&&e.scope_user_path),i=C5({scope_provider:t,scope_model:n,scope_user_path:r});return i===`global`?`global`:i===`path`?r:i===`provider`?t:i===`provider_path`?t+` @ `+r:i===`provider_model_path`?t+`/`+n+` @ `+r:t+`/`+n}function T5(e,t){let n=t||n5(),r=p5(e&&e.scope),i=r?String(e&&e.scope&&e.scope.scope_model||``).trim():``,a=x5(e&&e.scope&&e.scope.scope_user_path);return r===String(n.scope_provider||``).trim()&&i===String(n.scope_model||``).trim()&&a===x5(n.scope_user_path)}function E5(e,t,n){let r=S5(t);return!(r.scope_provider!==``||r.scope_model!==``||r.scope_user_path!==``)&&!n?null:(Array.isArray(e)?e:[]).find(e=>T5(e,r))||null}function D5(e){return String(e&&e.scope_type||``).trim()!==`global`}function O5(e){let t=String(e||``).trim();return t?t.length<=14?t:t.slice(0,12)+`…`:`—`}function k5(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.description,e.scope_display,e.scope_type,p5(e&&e.scope),e.scope&&e.scope.scope_model,e.scope&&e.scope.scope_user_path,e.workflow_hash,...Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails.map(e=>e.ref):[]].some(e=>String(e||``).toLowerCase().includes(r)))}function A5(e,t){let n=e||t5(),r=S5(n),i=s5(n.features||{}),a=c5(i,t);a.failover=i.failover;let o=!!a.guardrails,s=o?d5(n):[];return{id:e5,scope_type:C5(r),scope_display:w5(r),scope:{scope_provider_name:r.scope_provider,scope_model:r.scope_model,...r.scope_user_path?{scope_user_path:r.scope_user_path}:{}},name:String(n.name||``).trim(),description:String(n.description||``).trim(),workflow_payload:{schema_version:1,features:{cache:!!a.cache,audit:!!a.audit,usage:!!a.usage,budget:!!a.budget,guardrails:o,failover:!!a.failover},guardrails:s}}}function j5({form:e,caps:t,workflows:n=[],formHydrated:r=!1,hydratedScope:i=null}){let a=e||t5(),o=String(a.scope_provider||``).trim(),s=o?String(a.scope_model||``).trim():``,c=x5(a.scope_user_path),l=s5(a.features||{}),u=c5(l,t),d=E5(n,a,r),f=d&&d.workflow_payload&&d.workflow_payload.features,p=o5(f,`failover`),m=p?a5(f,`failover`,!0)!==!1:null,h=i||n5(),g=String(h.scope_provider||``).trim()===o&&String(h.scope_model||``).trim()===s&&x5(h.scope_user_path)===x5(c),_=!!(t&&t.failover),v=_||!!r&&g&&Object.prototype.hasOwnProperty.call(l,`failover`)||!r&&!!d&&p,y=u.guardrails?(Array.isArray(a.guardrails)?a.guardrails:[]).map(e=>({ref:String(e&&e.ref||``).trim(),step:i5(e&&e.step)})):[],b={scope_provider_name:o,scope_model:s,...c?{scope_user_path:c}:{},name:String(a.name||``).trim(),description:String(a.description||``).trim(),workflow_payload:{schema_version:1,features:{cache:!!u.cache,audit:!!u.audit,usage:!!u.usage,budget:!!u.budget,guardrails:!!u.guardrails},guardrails:y}};return v&&(b.workflow_payload.features.failover=!_&&!r&&d&&p?m:!!l.failover),b}function M5(e,{models:t=[],hydratedScope:n=null}={}){let r=n||n5(),i=String(r.scope_provider||``).trim(),a=String(r.scope_model||``).trim(),o=String(e&&(e.scope_provider_name||e.scope_provider)||``).trim(),s=String(e&&e.scope_model||``).trim();if(o&&!h5(t,r).includes(o)&&o!==i)return`Choose a registered provider name.`;if(s&&!o)return`Model selection requires a provider name.`;if(s){let e=g5(t,o,r),n=o===i&&s===a;if(!e.includes(s)&&!n)return`Choose a registered model for the selected provider name.`}let c=b5(e.scope_user_path);if(c)return c;let l=e.workflow_payload&&e.workflow_payload.features?e.workflow_payload.features:{},u=Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:[];if(!l.guardrails)return``;let d=new Set;for(let e of u){if(!e.ref)return`Each guardrail step needs a guardrail ref.`;if(!Number.isInteger(e.step)||e.step<0)return`Each guardrail step must use a non-negative integer step number.`;if(d.has(e.ref))return`Each guardrail ref may appear only once in a workflow.`;d.add(e.ref)}return``}var N5=new class{#e=k(j([]));get workflows(){return I(this.#e)}set workflows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get submitting(){return I(this.#o)}set submitting(e){A(this.#o,e,!0)}#s=k(``);get deactivatingID(){return I(this.#s)}set deactivatingID(e){A(this.#s,e,!0)}#c=k(``);get formError(){return I(this.#c)}set formError(e){A(this.#c,e,!0)}#l=k(!1);get formHydrated(){return I(this.#l)}set formHydrated(e){A(this.#l,e,!0)}#u=k(j(n5()));get hydratedScope(){return I(this.#u)}set hydratedScope(e){A(this.#u,e,!0)}#d=k(j([]));get guardrailRefs(){return I(this.#d)}set guardrailRefs(e){A(this.#d,e,!0)}#f=k(j(t5()));get form(){return I(this.#f)}set form(e){A(this.#f,e,!0)}#p=null;failoverVisible(){return QI.booleanFlag(`FAILOVER_ENABLED`,!0)}featureCaps(){return{cache:QI.cacheVisible(),audit:QI.auditVisible(),usage:QI.usageVisible(),budget:QI.budgetsVisible(),guardrails:QI.guardrailsVisible(),failover:this.failoverVisible()}}get filteredWorkflows(){return k5(this.workflows,this.filter)}providerOptions(){return h5(cR.models,this.hydratedScope)}modelOptions(e){return g5(cR.models,e,this.hydratedScope)}activeScopeMatch(){return E5(this.workflows,this.form,this.formHydrated)}submitMode(){return this.activeScopeMatch()?`save`:`create`}submitLabel(){return this.submitMode()===`save`?`Save`:`Create`}submittingLabel(){return this.submitMode()===`save`?`Saving...`:`Creating...`}preview(){return A5(this.form,this.featureCaps())}openCreate(e){if(this.formOpen=!0,this.submitting=!1,this.formError=``,!e){this.formHydrated=!1,this.hydratedScope=n5(),this.form=t5();return}this.formHydrated=!0,this.hydratedScope={scope_provider:p5(e.scope),scope_model:String(e.scope&&e.scope.scope_model||``).trim(),scope_user_path:String(e.scope&&e.scope.scope_user_path||``).trim()};let t=e.workflow_payload&&e.workflow_payload.features?s5(e.workflow_payload.features):l5(e,this.featureCaps()),n=Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails.map(e=>({ref:String(e&&e.ref||``).trim(),step:i5(e&&e.step)})).filter(e=>Number.isInteger(e.step)&&e.step>=0):d5(e);this.form={scope_provider:p5(e.scope),scope_model:String(e.scope&&e.scope.scope_model||``),scope_user_path:String(e.scope&&e.scope.scope_user_path||``),name:String(e.name||``),description:String(e.description||``),features:{cache:!!t.cache,audit:!!t.audit,usage:!!t.usage,budget:!!t.budget,guardrails:!!t.guardrails,failover:!!t.failover},guardrails:n.map(e=>({ref:String(e&&e.ref||``),step:Number.isFinite(e&&e.step)?e.step:10}))}}closeForm(){this.formOpen=!1,this.submitting=!1,this.formError=``,this.formHydrated=!1,this.hydratedScope=n5(),this.form=t5()}setProvider(e){if(this.form.scope_provider=String(e||``).trim(),!this.form.scope_provider){this.form.scope_model=``;return}this.modelOptions(this.form.scope_provider).includes(String(this.form.scope_model||``).trim())||(this.form.scope_model=``)}addGuardrailStep(){let e=(Array.isArray(this.form.guardrails)?this.form.guardrails:[]).reduce((e,t)=>{let n=Number(t&&t.step);return Number.isFinite(n)?Math.max(e,n):e},0)+10;this.form.guardrails.push(r5(e))}removeGuardrailStep(e){Array.isArray(this.form.guardrails)&&this.form.guardrails.splice(e,1)}buildRequest(){return j5({form:this.form,caps:this.featureCaps(),workflows:this.workflows,formHydrated:this.formHydrated,hydratedScope:this.hydratedScope})}async fetchWorkflows(){this.#p&&this.#p.abort();let e=new AbortController;this.#p=e,this.loading=!0,this.error=``;let t=setTimeout(()=>e.abort(),1e4),n=await F1(`/admin/workflows`,{label:`workflows`,options:{signal:e.signal}});if(clearTimeout(t),this.#p===e&&(this.#p=null,this.loading=!1,n.status!==`stale`)){if(n.status===`unavailable`){this.available=!1,this.workflows=[];return}if(n.result&&(this.available=!0),n.status===`error`){this.workflows=[],this.error=e.signal.aborted?`Loading workflows timed out.`:n.error;return}this.workflows=n.items}}async fetchGuardrailRefs(){let e=await F1(`/admin/workflows/guardrails`,{label:`workflow guardrails`});e.status!==`stale`&&(this.guardrailRefs=e.items)}async fetchPage(){await Promise.all([QI.ensureLoaded(),this.fetchWorkflows(),this.fetchGuardrailRefs()])}async submitForm(){if(this.submitting)return;this.formError=``;let e=this.buildRequest(),t=M5(e,{models:cR.models,hydratedScope:this.hydratedScope});if(t){this.formError=t;return}this.submitting=!0;try{let t=await I1(`/admin/workflows`,`POST`,e,{label:`create workflow`,unavailableStatuses:[]});if(t.status===`stale`||t.result&&t.result.status===401)return;if(t.status===`error`){this.formError=t.error;return}DL.success(`Workflow created and activated.`),this.closeForm(),this.fetchPage()}finally{this.submitting=!1}}async deactivate(e){let t=String(e&&e.id||``).trim();if(!t||this.deactivatingID||!D5(e))return;let n=y5(e);if(confirm(`Deactivate workflow "`+n+`"? Requests will fall back to the next active workflow for this scope.`)){this.deactivatingID=t;try{let e=await I1(`/admin/workflows/`+encodeURIComponent(t)+`/deactivate`,`POST`,void 0,{label:`deactivate workflow`,unavailableStatuses:[]});if(e.status===`stale`||e.result&&e.result.status===401)return;if(e.status===`error`){DL.error(e.error);return}DL.success(`Workflow deactivated.`),this.fetchPage()}finally{this.deactivatingID=``}}}};function P5(e){let t=String(e??``),n=typeof navigator<`u`?navigator.clipboard:null;if(n&&typeof n.writeText==`function`)return n.writeText(t);let r=typeof document<`u`?document:null;if(!r||!r.body||typeof r.execCommand!=`function`)return Promise.reject(Error(`Clipboard API unavailable`));let i=r.createElement(`textarea`);i.value=t,i.setAttribute(`readonly`,``),i.style.position=`fixed`,i.style.top=`0`,i.style.left=`0`,i.style.opacity=`0`;try{if(r.body.appendChild(i),i.focus(),i.select(),i.setSelectionRange(0,i.value.length),!r.execCommand(`copy`))throw Error(`execCommand copy returned false`)}finally{i.parentNode&&i.parentNode.removeChild(i)}return Promise.resolve()}function F5({resetDelayMs:e=2e3,logPrefix:t}={}){let n=j({copied:!1,error:!1}),r=null;function i(){r!==null&&clearTimeout(r),r=null}function a(){i(),r=setTimeout(()=>{n.copied=!1,n.error=!1,r=null},e)}return{get copied(){return n.copied},get error(){return n.error},reset(){i(),n.copied=!1,n.error=!1},async copy(e,r){if(!(e==null||e===``)){i(),n.copied=!1,n.error=!1;try{await P5(typeof r==`function`?r(e):String(e)),n.copied=!0,n.error=!1}catch(e){console.error(t||`Failed to copy text:`,e),n.copied=!1,n.error=!0}a()}}}}var I5=R(``);function L5(e,t){E(t,!0);let n=G(t,`workflowID`,3,``),r=F5({logPrefix:`Failed to copy workflow ID:`});Mn(()=>{n(),r.reset()});let i=O(()=>r.error?`Unable to copy workflow ID`:r.copied?`Workflow ID copied`:`Copy workflow ID`),a=O(()=>n()?I(i)+` `+n():I(i));async function o(e){e.preventDefault(),n()&&await r.copy(n())}var s=I5();let c;var l=P(M(s),4),u=M(l,!0);T(l);var d=P(l,2);K(M(d),{name:`copy`}),T(d),T(s),F(()=>{c=U(s,1,`workflow-pipeline-meta mono svelte-1viff7o`,null,c,{"workflow-pipeline-meta-copied":r.copied,"workflow-pipeline-meta-error":r.error}),W(s,`title`,I(i)),W(s,`aria-label`,I(a)),B(u,n())}),L(`click`,s,o),z(e,s),D()}Hr([`click`]);var R5=(e,t)=>{let n=()=>(t?.()).icon,r=()=>(t?.()).label,i=At(()=>_((t?.()).variant,`workflow-node-feature`)),a=()=>(t?.()).state,o=()=>(t?.()).sub,s=()=>(t?.()).badge;var c=H5(),l=M(c),u=e=>{var t=z5();let r;K(M(t),{get name(){return n()}}),T(t),F(()=>r=U(t,1,`workflow-node-icon svelte-nbptrg`,null,r,{"workflow-node-icon-endpoint":I(i)===`workflow-node-endpoint`})),z(e,t)};V(l,e=>{n()&&e(u)});var d=P(l,2),f=M(d,!0);T(d);var p=P(d,2),m=e=>{var t=B5(),n=M(t,!0);T(t),F(()=>B(n,s())),z(e,t)};V(p,e=>{s()&&e(m)});var h=P(p,2),g=e=>{var t=V5(),n=M(t,!0);T(t),F(()=>B(n,o())),z(e,t)};V(h,e=>{o()&&e(g)}),T(c),F(()=>{U(c,1,`workflow-node ${I(i)??``} ${(a()||``)??``}`,`svelte-nbptrg`),B(f,r())}),z(e,c)},z5=R(`
`),B5=R(` `),V5=R(` `),H5=R(`
`),U5=R(`
`,1),W5=R(`
`,1),G5=R(`
`),K5=R(`
Async
`),q5=R(`
`);function J5(e,t){E(t,!0);let n=G(t,`chart`,19,()=>({}));var r=q5();let i;var a=M(r),o=e=>{L5(e,{get workflowID(){return n().workflowID}})};V(a,e=>{n().workflowID&&e(o)});var s=P(a,2),c=M(s);R5(c,()=>({icon:`user`,label:`Client`,variant:`workflow-node-endpoint`}));var l=P(c,4);R5(l,()=>({icon:`database`,label:`Auth`,state:n().authNodeClass,sub:n().authNodeSublabel}));var u=P(l,2),d=e=>{var t=U5(),r=N(t);R5(P(r,2),()=>({icon:`database`,label:`Cache`,state:n().cacheNodeClass,badge:n().cacheStatusLabel})),F(()=>U(r,1,`workflow-conn ${(n().cacheConnClass||``)??``}`,`svelte-nbptrg`)),z(e,t)};V(u,e=>{n().showCache&&e(d)});var f=P(u,2),p=e=>{var t=W5();R5(P(N(t),2),()=>({icon:`wallet`,label:`Budget`,state:n().budgetNodeClass,badge:n().budgetStatusLabel})),z(e,t)};V(f,e=>{n().showBudget&&e(p)});var m=P(f,2),h=e=>{var t=W5();R5(P(N(t),2),()=>({icon:`shield`,label:`Guardrails`,sub:n().guardrailLabel})),z(e,t)};V(m,e=>{n().showGuardrails&&e(h)});var g=P(m,2),_=P(g,2);R5(_,()=>({label:n().aiLabel,variant:`workflow-node-ai`,state:n().aiNodeClass,sub:n().aiSublabel}));var v=P(_,2),y=e=>{var t=U5(),r=N(t);R5(P(r,2),()=>({icon:`maximize-2`,label:`Failover`,state:n().failoverNodeClass,badge:n().failoverStatusLabel,sub:n().failoverTargetLabel})),F(()=>U(r,1,`workflow-conn ${(n().failoverConnClass||``)??``}`,`svelte-nbptrg`)),z(e,t)};V(v,e=>{n().showFailover&&e(y)});var b=P(v,2);R5(P(b,2),()=>({icon:`circle-check-big`,label:`Response`,variant:`workflow-node-endpoint`,state:n().responseNodeClass,sub:n().responseNodeSublabel})),T(s);var x=P(s,2),S=e=>{var t=K5(),r=M(t),i=M(r),a=e=>{R5(e,()=>({icon:`chart-column-increasing`,label:`Usage`,variant:`workflow-node-feature workflow-node-async`,state:n().usageNodeClass}))};V(i,e=>{n().showUsage&&e(a)});var o=P(i,2),s=e=>{z(e,G5())};V(o,e=>{n().showUsage&&n().showAudit&&e(s)});var c=P(o,2),l=e=>{R5(e,()=>({icon:`file-text`,label:`Audit Log`,variant:`workflow-node-feature workflow-node-async`,state:n().auditNodeClass}))};V(c,e=>{n().showAudit&&e(l)}),T(r),Ge(4),T(t),z(e,t)};V(x,e=>{n().showAsync&&e(S)}),T(r),F(()=>{i=U(r,1,`workflow-pipeline svelte-nbptrg`,null,i,{"workflow-pipeline-has-meta":n().workflowID}),U(g,1,`workflow-conn ${(n().aiConnClass||``)??``}`,`svelte-nbptrg`),U(b,1,`workflow-conn ${(n().responseConnClass||``)??``}`,`svelte-nbptrg`)}),z(e,r),D()}function Y5(e){let t=d5(e).length;return t===0?``:t===1?`1 step`:t+` steps`}function X5(e,t){return t&&t.provider?t.provider:p5(e&&e.scope)||`AI`}function Z5(e,t){return t&&t.model?t.model:e&&e.scope&&e.scope.scope_model||null}function Q5(e,t){let n=String(e&&e.id||``).trim();if(n&&n!==`draft-workflow-preview`)return n;let r=String(t&&t.workflow_version_id||``).trim();return r&&r!==`draft-workflow-preview`?r:null}function $5(e){let t=e&&e.data&&e.data.workflow_features;return!t||typeof t!=`object`||Array.isArray(t)?null:s5(t)}function e7(e){let t=e&&e.data&&e.data.failover;if(!t||typeof t!=`object`||Array.isArray(t))return null;let n=String(t.target_model||t.targetModel||``).trim()||null;return n?{targetModel:n}:null}function t7(e,t=0){if(t>4||e==null)return``;if(typeof e==`string`){let n=e.trim();if(!n||n[0]!==`{`&&n[0]!==`[`)return``;try{return t7(JSON.parse(n),t+1)}catch{return``}}if(Array.isArray(e)){for(let n of e){let e=t7(n,t+1);if(e)return e}return``}return typeof e==`object`?String(e.code||``).trim()||(e.error===void 0?``:t7(e.error,t+1)):``}function n7(e){let t=e&&e.data&&typeof e.data==`object`&&!Array.isArray(e.data)?e.data:{};return String(t.error_code||t.errorCode||``).trim()||t7(t.response_body)}function r7(e){let t=String(e||``).trim();if(!t)return null;let n=t.indexOf(`/`);return n<=0||n>=t.length-1?null:{provider:t.slice(0,n),model:t.slice(n+1)}}function i7(e,t){let n=String(e&&(e.requested_model||e.model)||``).trim(),r=e7(e);if(!(r&&r.targetModel))return{provider:String(e&&e.provider||``).trim()||null,model:n||null};let i=r7(n);if(i)return i;let a=p5(t&&t.scope),o=a?String(t&&t.scope&&t.scope.scope_model||``).trim():``;return a||o?{provider:a||null,model:o||n||null}:{provider:null,model:n||null}}function a7(e,t){if(!e)return null;let n=(()=>{let t=String(e.cache_type||``).trim().toLowerCase();return t===`exact`||t===`semantic`?t:null})(),r=(()=>{if(e.status_code===void 0||e.status_code===null)return null;let t=String(e.status_code).trim();if(!t)return null;let n=Number(t);return Number.isFinite(n)?n:null})(),i=n?!0:e.cache_hit!==void 0&&e.cache_hit!==null&&!!e.cache_hit,a=e7(e),o=i7(e,t),s=Number.isFinite(r)&&r>=200&&r<300,c=String(e.error_type||``).trim().toLowerCase()===`authentication_error`,l=String(e.auth_method||``).trim().toLowerCase()||null,u=n7(e).toLowerCase()===`budget_exceeded`;return{cacheHit:i,cacheType:n||null,failoverTarget:a&&a.targetModel?a.targetModel:null,provider:o.provider,model:o.model,statusCode:r,responseSuccess:s,aiSuccess:s&&!i,authError:c,authMethod:l,budgetExceeded:u}}function o7(e){return!!(e&&e.cacheHit)}function s7(e){return!!(e&&e.failoverTarget)}function c7(e){return!!(e&&e.budgetExceeded)}function l7(e,t){return t?`workflow-node-current`:e&&e.cacheHit?`workflow-node-success`:``}function u7(e){return e&&e.cacheHit?`workflow-conn-hit`:``}function d7(e){return!e||!e.cacheHit?null:e.cacheType===`semantic`?`Hit (Semantic)`:`Hit (Exact)`}function f7(e,t,n,r){return e?c7(t)?`workflow-node-error`:r?`workflow-node-current`:n?`workflow-node-success`:``:``}function p7(e){return c7(e)?`Exceeded`:null}function m7(e){return e&&e.cacheHit?`workflow-node-skipped`:e&&e.failoverTarget?`workflow-node-success`:``}function h7(e){return e&&e.cacheHit?`workflow-conn-dim`:e&&e.failoverTarget?`workflow-conn-hit`:``}function g7(e){return e&&e.failoverTarget?`Redirected`:null}function _7(e){return e&&e.failoverTarget?e.failoverTarget:null}function v7(e){return e&&e.cacheHit?`workflow-conn-dim`:``}function y7(e,t){return e?e.cacheHit?`workflow-node-skipped`:t?`workflow-node-current`:e.aiSuccess?`workflow-node-success`:``:``}function Lte(e,t){if(!e)return``;let n=e.statusCode;return!Number.isFinite(n)&&t?`workflow-node-current`:Number.isFinite(n)?n>=500?`workflow-node-error`:n>=400?`workflow-node-warning`:n>=300?`workflow-node-neutral`:n>=200?`workflow-node-success`:``:``}function Rte(e){return!e||!Number.isFinite(e.statusCode)?null:String(e.statusCode)}function zte(e,t){return e?e.authError?`workflow-node-error`:t?`workflow-node-current`:e.authMethod===`api_key`||e.authMethod===`master_key`?`workflow-node-success`:``:``}function Bte(e){return!e||!e.authMethod?null:e.authMethod}function b7(e,t,n){return e?n?`workflow-node-current`:t?`workflow-node-success`:``:``}function x7(e,t){if(!e||!e._live)return!!t;let n=String(e._live_state||``).trim();return!!e._audit_flushed||n===`audit.flushed`||n===`audit.detail`}function Vte(e,t){if(!e)return!!t;let n=e.usage||{},r=Number(n.entries||0)>0;if(!e._live)return r;let i=String(e._usage_live_state||``).trim();return e._usage_flushed||i===`usage.flushed`?!0:!e._usage_live_pending&&r&&!e._live_pending}function S7(e){return!!(e&&e._live&&e._usage_live_pending&&!e._usage_flushed)}function C7(e,t){return!e||!e._live||x7(e,!1)?!1:String(e._live_state||``).trim()===`audit.completed`||!!(t&&Number.isFinite(t.statusCode))}function Hte(e,t,n){return!e||!e._live?``:S7(e)?`usage`:C7(e,t)?`audit`:x7(e,!1)&&!e._live_pending?``:t&&t.cacheHit?`cache`:t&&(t.provider||t.model)?`ai`:n&&n.budget&&(e.workflow_version_id||e.requested_model)?`budget`:t&&t.authMethod?``:`auth`}function w7(e,t,n,r){let i=n||{},a=i.features&&typeof i.features==`object`&&!Array.isArray(i.features)?s5(i.features):l5(e,r),o=!!i.forceAudit,s=!!i.highlightAsyncPresent,c=!!a.budget||c7(t),l=!!a.guardrails,u=!!a.usage,d=o||!!a.audit,f=!!i.forceAsync||!!(u||d),p=!!a.failover||s7(t),m=Q5(e,i.entry),h=Hte(i.entry,t,a),g=S7(i.entry),_=C7(i.entry,t),v=x7(i.entry,s),y=Vte(i.entry,s);return{showBudget:c,budgetNodeClass:f7(c,t,s,h===`budget`),budgetStatusLabel:p7(t),showGuardrails:l,guardrailLabel:l?Y5(e):``,showCache:!!i.forceCache||!!a.cache||o7(t),cacheNodeClass:l7(t,h===`cache`),cacheConnClass:u7(t),cacheStatusLabel:d7(t),showFailover:p,failoverNodeClass:p?m7(t):``,failoverConnClass:p?h7(t):``,failoverStatusLabel:p?g7(t):null,failoverTargetLabel:p?_7(t):null,aiLabel:X5(e,t),aiSublabel:Z5(e,t),aiConnClass:v7(t),aiNodeClass:y7(t,h===`ai`),responseConnClass:v7(t),responseNodeClass:Lte(t,h===`response`),responseNodeSublabel:Rte(t),authNodeClass:zte(t,h===`auth`),authNodeSublabel:Bte(t),usageNodeClass:b7(u,y,g),auditNodeClass:b7(d,v,_),showAsync:f,showUsage:u,showAudit:d,workflowID:m}}function Ute(e,t){return w7(e,null,{forceCache:!1},t)}function Wte(e,t,n){return w7(t,a7(e,t),{entry:e,features:$5(e)||(t?l5(t,n):{cache:!1,audit:!1,usage:!1,budget:!1,guardrails:!1,failover:!1}),forceAudit:!0,forceAsync:!0,highlightAsyncPresent:!0},n)}var Gte=R(`

`),Kte=R(`

`),qte=R(`
`),Jte=R(`
`),Yte=R(`

No guardrails configured for this workflow.

`),Xte=R(`

Guardrails

`),Zte=R(``),Qte=R(`

`);function T7(e,t){E(t,!0);let n=G(t,`preview`,3,!1),r=O(()=>N5.featureCaps()),i=O(()=>y5(t.workflow)),a=O(()=>f5(t.workflow,I(r))),o=O(()=>Ute(t.workflow,I(r))),s=O(()=>n()?`draft-workflow-preview-guardrail-`:t.workflow.id+`-guardrail-`);var c=Qte();let l;var u=M(c),d=M(u),f=M(d),p=M(f,!0);T(f);var m=P(f,2),h=M(m,!0);T(m),T(d);var g=P(d,2),_=M(g),v=M(_,!0);T(_),T(g),T(u);var y=P(u,2),b=e=>{var n=Gte(),r=M(n,!0);T(n),F(()=>B(r,t.workflow.description)),z(e,n)};V(y,e=>{t.workflow.description&&e(b)});var x=P(y,2),S=e=>{var n=Kte(),i=M(n);T(n),F(e=>B(i,`Failover: ${e??``}`),[()=>u5(t.workflow,I(r))]),z(e,n)},C=O(()=>N5.failoverVisible());V(x,e=>{I(C)&&e(S)});var w=P(x,2);J5(w,{get chart(){return I(o)}});var ee=P(w,2),te=e=>{var t=Xte(),n=M(t),r=P(M(n),2),i=M(r,!0);T(r),T(n);var o=P(n,2),c=e=>{var t=Jte();H(t,23,()=>I(a),(e,t)=>I(s)+t,(e,t)=>{var n=qte(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=M(a);T(a),T(n),F(()=>{B(i,I(t).ref),B(o,`step ${I(t).step??``}`)}),z(e,n)}),T(t),z(e,t)},l=e=>{z(e,Yte())};V(o,e=>{I(a).length>0?e(c):e(l,-1)}),T(t),F(()=>B(i,I(a).length?I(a).length+` steps`:`None`)),z(e,t)},ne=O(()=>QI.guardrailsVisible());V(ee,e=>{I(ne)&&e(te)});var re=P(ee,2),ie=e=>{var n=Zte(),r=M(n),a=M(r),o=M(a,!0);T(a);var s=P(a,2);{let e=O(()=>`Edit workflow `+I(i));P1(s,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>N5.openCreate(t.workflow),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(r);var c=P(r,2),l=M(c),u=M(l);T(l);var d=P(l,2),f=M(d);T(d);var p=P(d,2),m=M(p);T(p),T(c),T(n),F((e,n,r,s)=>{a.disabled=e,W(a,`aria-label`,`Deactivate workflow `+I(i)),W(a,`title`,n),B(o,N5.deactivatingID===t.workflow.id?`Deactivating...`:`Deactivate`),B(u,`version: v${t.workflow.version??``}`),B(f,`created: ${r??``}`),B(m,`hash: ${s??``}`)},[()=>N5.deactivatingID===t.workflow.id||!D5(t.workflow),()=>D5(t.workflow)?`Deactivate active workflow`:`The global workflow cannot be deactivated.`,()=>VI.formatTimestamp(t.workflow.created_at),()=>O5(t.workflow.workflow_hash)]),L(`click`,a,()=>N5.deactivate(t.workflow)),z(e,n)};V(re,e=>{n()||e(ie)}),T(c),F((e,t)=>{l=U(c,1,`workflow-card svelte-1fo9fvq`,null,l,{"workflow-preview-card":n()}),B(p,e),B(h,I(i)),B(v,t)},[()=>_5(t.workflow),()=>v5(t.workflow)]),z(e,c),D()}Hr([`click`]);var $te=R(`

`),E7=R(``),ene=R(``),tne=R(``),nne=R(``),rne=R(``),ine=R(``),ane=R(``),one=R(``),sne=R(``),cne=R(``),lne=R(``),une=R(``),dne=R(`
No named guardrails are currently registered on this deployment. You can still draft a workflow, but guardrail-backed creation may be rejected.
`),fne=R(`
`),pne=R(`
`),mne=R(`

No guardrail steps configured yet.

`),hne=R(`

Guardrail Steps

Guardrails in the same numeric step run together. Later steps wait for earlier ones to finish.

`),gne=R(`

Leave provider name empty to target all providers and models. Select a provider name without a model to target all models for that configured provider.

Add a path to scope the workflow to that subtree. Leading slashes are optional and will be normalized; you can enter "team/alpha" or "/team/alpha". Matching checks the deepest user path first, then falls back toward the root.

If you leave the name empty, the workflow will display as the matched provider/model scope or “All models”.

Preview

Live
`,1);function _ne(e,t){E(t,!0);{let t=e=>{yQ(e,{copyId:`workflow-help-copy`,label:`workflow help`,text:`Create immutable version. Submitting activates it for the selected scope.`,title:e=>{var t=$te(),n=M(t,!0);T(t),F(e=>B(n,e),[()=>N5.submitMode()===`save`?`Edit Workflow`:`Create Workflow`]),z(e,t)},$$slots:{title:!0}})},n=O(()=>N5.submitLabel()),r=O(()=>N5.submittingLabel()),i=O(()=>N5.submitMode()===`create`?`plus`:`save`);R0(e,{get open(){return N5.formOpen},ariaLabel:`Workflow editor`,get error(){return N5.formError},get submitting(){return N5.submitting},get submitLabel(){return I(n)},get submittingLabel(){return I(r)},get submitIcon(){return I(i)},dialogClass:`workflow-editor`,onclose:()=>N5.closeForm(),onsubmit:()=>N5.submitForm(),header:t,children:(e,t)=>{var n=gne(),r=N(n),i=M(r);B0(i,{id:`workflow-scope-provider`,label:`Provider Name`,children:(e,t)=>{var n=ene(),r=M(n);r.value=r.__value=``,H(P(r),16,()=>N5.providerOptions(),e=>e,(e,t)=>{var n=E7(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(n),L(`change`,n,e=>N5.setProvider(e.currentTarget.value)),Hi(n,()=>N5.form.scope_provider,e=>N5.form.scope_provider=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2),o=e=>{B0(e,{id:`workflow-scope-model`,label:`Model`,children:(e,t)=>{var n=tne(),r=M(n);r.value=r.__value=``,H(P(r),17,()=>N5.modelOptions(N5.form.scope_provider),e=>N5.form.scope_provider+`-`+e,(e,t)=>{var n=E7(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t)),i!==(i=I(t))&&(n.value=(n.__value=I(t))??``)}),z(e,n)}),T(n),Hi(n,()=>N5.form.scope_model,e=>N5.form.scope_model=e),z(e,n)},$$slots:{default:!0}})};V(a,e=>{N5.form.scope_provider&&e(o)});var s=P(a,2);B0(s,{id:`workflow-name`,label:`Name`,children:(e,t)=>{var n=nne();$i(n),ca(n,()=>N5.form.name,e=>N5.form.name=e),z(e,n)},$$slots:{default:!0}}),B0(P(s,2),{id:`workflow-user-path`,label:`User Path`,children:(e,t)=>{var n=rne();$i(n),ca(n,()=>N5.form.scope_user_path,e=>N5.form.scope_user_path=e),z(e,n)},$$slots:{default:!0}}),T(r);var c=P(r,8);B0(c,{id:`workflow-description`,label:`Description`,children:(e,t)=>{var n=ine();mt(n),ca(n,()=>N5.form.description,e=>N5.form.description=e),z(e,n)},$$slots:{default:!0}});var l=P(c,2),u=M(l),d=e=>{var t=ane(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.cache,e=>N5.form.features.cache=e),z(e,t)},f=O(()=>QI.cacheVisible());V(u,e=>{I(f)&&e(d)});var p=P(u,2),m=e=>{var t=one(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.audit,e=>N5.form.features.audit=e),z(e,t)},h=O(()=>QI.auditVisible());V(p,e=>{I(h)&&e(m)});var g=P(p,2),_=e=>{var t=sne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.usage,e=>N5.form.features.usage=e),z(e,t)},v=O(()=>QI.usageVisible());V(g,e=>{I(v)&&e(_)});var y=P(g,2),b=e=>{var t=cne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.budget,e=>N5.form.features.budget=e),z(e,t)},x=O(()=>QI.budgetsVisible());V(y,e=>{I(x)&&e(b)});var S=P(y,2),C=e=>{var t=lne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.guardrails,e=>N5.form.features.guardrails=e),z(e,t)},w=O(()=>QI.guardrailsVisible());V(S,e=>{I(w)&&e(C)});var ee=P(S,2),te=e=>{var t=une(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>N5.form.features.failover,e=>N5.form.features.failover=e),z(e,t)},ne=O(()=>N5.failoverVisible());V(ee,e=>{I(ne)&&e(te)}),T(l);var re=P(l,2),ie=P(M(re),2);{let e=O(()=>N5.preview());T7(ie,{get workflow(){return I(e)},preview:!0})}T(re);var ae=P(re,2),oe=e=>{var t=hne(),n=M(t),r=P(M(n),2);T(n);var i=P(n,2),a=e=>{var t=dne(),n=P(M(t),2);T(t),L(`click`,n,()=>wI.navigate(`guardrails`)),z(e,t)};V(i,e=>{N5.guardrailRefs.length===0&&e(a)});var o=P(i,2),s=e=>{var t=pne();H(t,21,()=>N5.form.guardrails,ai,(e,t,n)=>{var r=fne(),i=M(r),a=M(i);W(a,`for`,`workflow-guardrail-ref-`+n);var o=P(a,2);$i(o),W(o,`id`,`workflow-guardrail-ref-`+n),W(o,`aria-label`,`Guardrail reference `+(n+1)),T(i);var s=P(i,2),c=M(s);W(c,`for`,`workflow-guardrail-step-`+n);var l=P(c,2);$i(l),W(l,`id`,`workflow-guardrail-step-`+n),W(l,`aria-label`,`Guardrail step `+(n+1)),T(s);var u=P(s,2);T(r),ca(o,()=>I(t).ref,e=>I(t).ref=e),ca(l,()=>I(t).step,e=>I(t).step=e),L(`click`,u,()=>N5.removeGuardrailStep(n)),z(e,r)}),T(t),z(e,t)},c=e=>{z(e,mne())};V(o,e=>{N5.form.guardrails.length>0?e(s):e(c,-1)}),T(t),L(`click`,r,()=>N5.addGuardrailStep()),z(e,t)},se=O(()=>N5.form.features.guardrails&&QI.guardrailsVisible());V(ae,e=>{I(se)&&e(oe)}),z(e,n)},$$slots:{header:!0,default:!0}})}D()}Hr([`change`,`click`]);var vne=R(`

Loading workflows...

`),yne=R(`
`),bne=R(`

No active workflows found.

`),xne=R(`

No workflows match your filter.

`),Sne=R(`
`);function Cne(e,t){E(t,!0);var n=Sne(),r=M(n),i=e=>{var t=vne();JZ(M(t),{size:16,label:`Loading workflows`}),Ge(),T(t),z(e,t)};V(r,e=>{N5.loading&&!q.authError&&e(i)});var a=P(r,2),o=e=>{var t=yne();H(t,21,()=>N5.filteredWorkflows,e=>e.id,(e,t)=>{T7(e,{get workflow(){return I(t)}})}),T(t),z(e,t)};V(a,e=>{N5.filteredWorkflows.length>0&&e(o)});var s=P(a,2),c=e=>{z(e,bne())};V(s,e=>{N5.workflows.length===0&&!N5.loading&&!q.authError&&N5.available&&e(c)});var l=P(s,2),u=e=>{z(e,xne())};V(l,e=>{N5.workflows.length>0&&N5.filteredWorkflows.length===0&&!N5.loading&&e(u)}),T(n),z(e,n),D()}var wne=R(``),Tne=R(`
Workflows feature is unavailable.
`),Ene=R(`
`),Dne=R(`
`),One=R(``),kne=R(`
`);function Ane(e,t){E(t,!0),Mn(()=>{q.refreshTick,N5.fetchPage()});var n=kne(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=wne();K(M(t),{name:`plus`,class:`form-action-icon`,"aria-hidden":`true`}),Ge(2),T(t),L(`click`,t,()=>N5.openCreate()),z(e,t)};V(a,e=>{N5.available&&e(o)}),T(i),T(r);var s=P(r,2),c=e=>{z(e,Tne())};V(s,e=>{!N5.available&&!q.authError&&e(c)});var l=P(s,2),u=e=>{var t=Ene(),n=M(t,!0);T(t),F(()=>B(n,N5.error)),z(e,t)};V(l,e=>{N5.error&&!q.authError&&e(u)});var d=P(l,2),f=e=>{var t=Dne(),n=M(t);L$(M(n),{placeholder:`Filter by scope, name, hash, or guardrail...`,label:`Filter workflows by scope, name, hash, or guardrail`,get value(){return N5.filter},set value(e){N5.filter=e}}),T(n);var r=P(n,2),i=M(r),a=M(i,!0);T(i),T(r),T(t),F(()=>B(a,N5.filteredWorkflows.length+` active scopes`)),z(e,t)};V(d,e=>{N5.available&&e(f)});var p=P(d,2);_ne(p,{});var m=P(p,2);Cne(m,{});var h=P(m,2);H(h,20,()=>N5.guardrailRefs,e=>e,(e,t)=>{var n=One(),r={};F(()=>{r!==(r=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(h),T(n),z(e,n),D()}Hr([`click`]);function jne(e,{from:t,to:n},r={}){var{delay:i=0,duration:a=e=>Math.sqrt(e)*120,easing:o=wL}=r,s=getComputedStyle(e),c=s.transform===`none`?``:s.transform,[l,u]=s.transformOrigin.split(` `).map(parseFloat);l/=e.clientWidth,u/=e.clientHeight;var d=Mne(e),f=e.clientWidth/n.width/d,p=e.clientHeight/n.height/d,m=t.left+t.width*l,h=t.top+t.height*u,g=n.left+n.width*l,_=n.top+n.height*u,v=(m-g)*f,y=(h-_)*p,b=t.width/n.width,x=t.height/n.height;return{delay:i,duration:typeof a==`function`?a(Math.sqrt(v*v+y*y)):a,easing:o,css:(e,t)=>`transform: ${c} translate(${t*v}px, ${t*y}px) scale(${e+t*b}, ${e+t*x});`}}function Mne(e){if(`currentCSSZoom`in e)return e.currentCSSZoom;for(var t=e,n=1;t!==null;)n*=+getComputedStyle(t).zoom,t=t.parentElement;return n}var D7=null;function Nne(){return D7===null&&(D7=typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`)),!!(D7&&D7.matches)}function O7(e){return Nne()?0:e}function Pne(e,t){return!t||!t.live?{duration:0}:SL(e,{duration:O7(150)})}var k7=new class{#e=k(j({}));get workflowVersionsByID(){return I(this.#e)}set workflowVersionsByID(e){A(this.#e,e,!0)}workflowVersionRequests={};workflowFeatureCaps(){return{cache:QI.cacheVisible(),audit:QI.auditVisible(),usage:QI.usageVisible(),budget:QI.budgetsVisible(),guardrails:QI.guardrailsVisible(),failover:QI.booleanFlag(`FAILOVER_ENABLED`,!0)}}cacheWorkflowVersion(e){let t=String(e&&e.id||``).trim();return t?(this.workflowVersionsByID={...this.workflowVersionsByID||{},[t]:e},e):null}cacheMissingWorkflowVersion(e){let t=String(e||``).trim();t&&(this.workflowVersionsByID={...this.workflowVersionsByID||{},[t]:null})}workflowVersionCacheHas(e){return Object.prototype.hasOwnProperty.call(this.workflowVersionsByID||{},String(e||``).trim())}workflowVersionByID(e){let t=String(e||``).trim();return t&&this.workflowVersionCacheHas(t)?this.workflowVersionsByID[t]:null}async fetchWorkflowVersion(e){let t=String(e||``).trim();if(!t)return null;if(this.workflowVersionCacheHas(t))return this.workflowVersionsByID[t];if(this.workflowVersionRequests[t])return this.workflowVersionRequests[t];let n=(async()=>{let e=typeof AbortController==`function`?new AbortController:null,n=e?setTimeout(()=>e.abort(),1e4):null;try{let n=await qI(`/admin/workflows/`+encodeURIComponent(t),{label:`workflow`,signal:e?e.signal:void 0});if(n.stale)return null;if(n.status===404)return this.cacheMissingWorkflowVersion(t),null;if(!n.ok)return null;let r=n.data;return!r||typeof r!=`object`||Array.isArray(r)?(this.cacheMissingWorkflowVersion(t),null):this.cacheWorkflowVersion(r)}catch(e){return e&&e.name===`AbortError`||console.error(`Failed to fetch workflow version:`,e),null}finally{n!==null&&clearTimeout(n),delete this.workflowVersionRequests[t]}})();return this.workflowVersionRequests[t]=n,n}async prefetchAuditWorkflows(e){let t=[...new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.workflow_version_id||``).trim()).filter(Boolean))];t.length!==0&&await Promise.all(t.map(e=>this.fetchWorkflowVersion(e)))}auditEntryWorkflow(e){let t=String(e&&e.workflow_version_id||``).trim();return t?this.workflowVersionByID(t):null}},A7=6;function j7(e){if(typeof e!=`string`)return null;try{return JSON.parse(e)}catch{return null}}function M7(e,t=0,n=null){let r=String(e||``).trim();if(!r)return``;if(t>A7)return r;let i=j7(r);return i==null?r:N7(i,t+1,n)||n&&n(i)||r}function N7(e,t=0,n=null,r=null){if(e==null||t>A7)return``;if(typeof e==`string`){let i=j7(e.trim());return i==null?``:N7(i,t+1,n,r)}if(typeof e!=`object`)return``;let i=r||new Set;if(i.has(e))return``;if(i.add(e),Array.isArray(e)){for(let r=0;r=400||Lne(t&&t.response_body)}function zne(e){let t=e&&e.data?e.data:null;return t?Fne(t.error_message)||(Rne(e,t)?N7(t.response_body,0):``):``}function P7(e){if(e==null||String(e).trim()===``)return null;let t=Number(e);return!Number.isInteger(t)||t<0?null:t}function Bne(e){let t=P7(e);return t===null?``:t===0?`Audit logs are retained indefinitely.`:t===1?`Audit logs are retained for 1 day.`:`Audit logs are retained for `+t+` days.`}function Vne(e){let t=P7(e);return t===null?``:t===0?`Audit logs are retained `:`Audit logs are retained for `}function Hne(e){let t=P7(e);return t===null?``:t===0?`indefinitely`:t===1?`1 day`:t+` days`}function Une({dateQuery:e,limit:t,offset:n,search:r,method:i,statusCode:a,stream:o}){let s=e;return s+=`&limit=`+t+`&offset=`+n,r&&(s+=`&search=`+encodeURIComponent(r)),i&&(s+=`&method=`+encodeURIComponent(i)),a&&(s+=`&status_code=`+encodeURIComponent(a)),o&&(s+=`&stream=`+encodeURIComponent(o)),s}function Wne({sessionId:e,limit:t}){return`session_id=`+encodeURIComponent(e)+`&limit=`+(t||100)+`&offset=0`}function F7(e){return String(e&&e.session_id||``).trim()}function I7(e){let t=Number(e&&e.session_count);return Number.isFinite(t)&&t>1?t:1}function Gne(e){return!!F7(e)&&I7(e)>1}function Kne(e){return{entries:(Array.isArray(e&&e.sessions)?e.sessions:[]).filter(e=>e&&e.latest).map(e=>({...e.latest,session_id:F7(e.latest)||String(e.session_id||``).trim(),session_count:Number(e.count||1)})),total:Number(e&&e.total||0),limit:Number(e&&e.limit||25),offset:Number(e&&e.offset||0)}}function qne(e,t,n){let r=new Set((Array.isArray(n)?n:[]).flatMap(e=>B7(e))),i=(Array.isArray(t)?t:[]).filter(e=>!B7(e).some(e=>r.has(e))),a=new Set([...r,...i.flatMap(e=>B7(e))]),o=(e&&Array.isArray(e.entries)?e.entries:[]).filter(e=>e&&e._live&&!B7(e).some(e=>a.has(e)));return{entries:[...o,...i],preservedCount:o.length}}function L7(e,t){let n=e||{};if(!t)return n;if(n[t]){let e={...n};return delete e[t],e}return{...n,[t]:!0}}function R7(e,t){let n=e||{},r=new Set((Array.isArray(t)?t:[]).map(e=>F7(e)).filter(Boolean)),i={},a=!1;return Object.keys(n).forEach(e=>{if(r.has(e)){i[e]=n[e];return}a=!0}),a?i:n}function z7(e){return String(e&&e.id||``).trim()}function B7(e){if(!e)return[];let t=[],n=String(e.id||``).trim(),r=String(e.request_id||``).trim();return n&&t.push(`id:`+n),r&&t.push(`request:`+r),t}function V7(e){return!!(e&&e._live&&e._live_pending&&!e._audit_flushed)}function Jne(e){let t=e&&e.customStartDate,n=e&&e.customEndDate;if(!t&&!n)return!0;let r=new Date;if(t){let e=new Date(t);if(e.setHours(0,0,0,0),Number.isFinite(e.getTime())&&re)return!1}return!0}function H7(e,t){return e&&Number(e.offset||0)===0&&!(t&&t.search)&&!(t&&t.method)&&!(t&&t.statusCode)&&!(t&&t.stream)&&Jne(t)}function Yne(e,t,n){let r=e&&typeof e==`object`?{...e}:{entries:[],total:0,limit:25,offset:0},i=Array.isArray(r.entries)?r.entries:[];if(r.entries=i,!H7(r,n))return r;let a=(Array.isArray(t)?t:[]).filter(e=>V7(e));if(a.length===0)return r;let o=new Set(i.flatMap(e=>B7(e))),s=[];return a.forEach(e=>{let t=B7(e);t.length!==0&&(t.some(e=>o.has(e))||(t.forEach(e=>o.add(e)),s.push(e)))}),s.length===0?r:(r.entries=[...s,...i].slice(0,r.limit||25),r.total=Number(r.total||0)+s.length,r)}function Xne(e,t,n){let r=e&&typeof e==`object`?{...e}:{entries:[],total:0,limit:25,offset:0},i=Array.isArray(r.entries)?r.entries:[];if(r.entries=i,!H7(r,n))return r;let a=(Array.isArray(t)?t:[]).filter(e=>V7(e));if(a.length===0)return r;let o=new Set(i.flatMap(e=>B7(e))),s=new Map;i.forEach((e,t)=>{let n=F7(e);n&&!s.has(n)&&s.set(n,t)});let c=[],l=i;return a.forEach(e=>{let t=B7(e);if(t.length===0||t.some(e=>o.has(e)))return;let n=F7(e);if(n&&s.has(n)){let r=s.get(n);l===i&&(l=[...i]),l[r]={...e,session_count:Math.max(I7(l[r]),I7(e))},t.forEach(e=>o.add(e));return}t.forEach(e=>o.add(e)),c.push(e)}),r.entries=[...c,...l].slice(0,r.limit||25),r.total=Number(r.total||0)+c.length,r}function Zne(e,t){let n=z7(t),r=e||{};if(!n)return r;if(r[n]){let e={...r};return delete e[n],e}return{...r,[n]:!0}}function Qne(e,t){let n=e||{},r=new Set((Array.isArray(t)?t:[]).map(e=>z7(e)).filter(Boolean)),i={},a=!1;return Object.keys(n).forEach(e=>{if(r.has(e)){i[e]=!0;return}a=!0}),a?i:n}function $ne(e){if(e==null)return`-`;let t=Number(e);return Number.isFinite(t)?t<=0?`pending`:t<1e6?Math.round(t/1e3)+` µs`:t<1e9?(t/1e6).toFixed(2)+` ms`:(t/1e9).toFixed(2)+` s`:`-`}function U7(e){if(e==null||e===``)return`status-unknown`;let t=Number(e);return Number.isFinite(t)?t>=500?`status-error`:t>=400?`status-warning`:t>=300?`status-neutral`:`status-success`:`status-unknown`}function W7(e){if(!e||!e._live||!e._live_pending)return!1;let t=String(e._live_state||``).trim();if(t===`audit.completed`||t===`audit.flushed`||t===`audit.detail`)return!1;if(e._response_partial)return!0;if(e.status_code!==null&&e.status_code!==void 0&&e.status_code!==``||Number(e.duration_ns||0)>0||e.error_type||e.error_message)return!1;let n=e.data||{};return!(n.response_headers||n.response_body||n.error_message)}function G7(e){let t=e&&e.data&&e.data.failover;return!t||typeof t!=`object`||Array.isArray(t)?null:String(t.target_model||t.targetModel||``).trim()||null}function K7(e){return(e&&e.data&&Array.isArray(e.data.attempts)?e.data.attempts:[]).map((e,t)=>({...e,seq:Number(e&&e.seq||t+1)})).sort((e,t)=>e.seq-t.seq)}function q7(e){let t=K7(e);return t.length>1||t.some(e=>!(e&&e.success))}function ere(e){if(!e)return`-`;let t=e.status_code||e.status;return t?String(t):e.success?`ok`:`error`}function J7(e){return String(e&&e.kind||``).trim()||`attempt`}function tre(e){if(!e)return`-`;let t=String(e.provider_name||``).trim(),n=String(e.provider_type||e.provider||``).trim();return t&&n&&t!==n?t+` (`+n+`)`:t||n||`-`}function nre(e){return String(e&&e.model||``).trim()||`-`}function rre(e){let t=K7(e);return t.length>1||t.some(e=>!(e&&e.success))?t:[]}function ire(e){return K7(e).length+`×`}function are(e){let t=K7(e),n=t.filter(e=>!(e&&e.success)).length,r=t.length===1?`attempt`:`attempts`,i=t.length+` provider `+r;return n>0?i+` · `+n+` failed`:i}function ore(e){if(!e)return``;let t=[`#`+Number(e.seq||0)],n=J7(e);n&&n!==`attempt`&&t.push(n),t.push(ere(e));let r=tre(e);r&&r!==`-`&&t.push(r);let i=nre(e);return i&&i!==`-`&&t.push(i),t.push(e.success?`succeeded`:`failed`),t.join(` · `)}function sre(e,t){if(!t)return null;if(t.success){let t=e&&e.data?e.data:null;return t&&t.response_body!=null?t.response_body:null}return t.response_body!=null&&t.response_body!==``?t.response_body:null}function cre(e){if(!e||e.success)return``;let t=String(e.error_message||``).trim(),n=String(e.error_code||``).trim(),r=String(e.error_type||``).trim();return t&&n?n+`: `+t:t||n||r||`Provider attempt failed`}function lre(e,t){if(!t)return null;if(t.success){let t=e&&e.data?e.data:null;return t?t.response_headers:null}return t.response_headers||null}function ure(e){let t=Number(e&&e.status_code);return Number.isFinite(t)&&t>0?t:null}function dre(e,t){let n=!!(t&&t.success),r=e&&e.data?e.data:null,i=sre(e,t),a=lre(e,t),o=cre(t),s=i!=null&&i!==``,c=J7(t),l=K7(e).length<=1;return{title:`Response`,direction:`response`,seq:l?0:Number(t&&t.seq||0),kind:l||c===`attempt`?``:c,statusCode:l?null:ure(t),layout:`split`,entry:e,copyHeaders:a,copyBody:i,showErrorMessage:!!o,errorMessage:o,showHeaders:!!a,headers:a,showBody:s,body:i,showEmpty:!o&&!s&&!a,emptyMessage:`No response was captured for this attempt.`,showTooLarge:!!(n&&r&&r.response_body_too_big_to_handle),tooLargeMessage:`Response body was too large to capture.`}}function Y7(e){return e&&e.data&&Array.isArray(e.data.request_revisions)?e.data.request_revisions:[]}function X7(e){return Y7(e).filter(e=>!(e&&e.no_change))}function fre(e){return Y7(e).filter(e=>e&&e.no_change).map(e=>{let t=String(e.rewriter||`rewriter`);return{id:`step-`+Number(e.seq||0),rewriter:t,label:t+`: no change`,title:t+` ran and forwarded the request unchanged`}})}function pre(e){let t=Number(e&&e.bytes_before),n=Number(e&&e.bytes_after);if(!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n>=t)return``;let r=(1-n/t)*100;return`-`+(r>=10?String(Math.round(r)):r.toFixed(1))+`%`}function mre(e,t){let n=t&&t.body,r=n!=null&&n!==``,i=X7(e).length<=1,a={rewriter:t&&t.rewriter||``,bytes:Number(t&&t.bytes_before||0)+` → `+Number(t&&t.bytes_after||0)};return t&&t.detail!=null&&(a.detail=t.detail),{title:`Rewritten`,direction:`request`,seq:i?0:Number(t&&t.seq||0),kind:t&&t.rewriter?String(t.rewriter):``,savingsLabel:pre(t),layout:`split`,entry:e,copyHeaders:a,copyBody:n,showErrorMessage:!1,errorMessage:null,showHeaders:!0,headers:a,headersTitle:`What changed`,showBody:r,body:n,showEmpty:!1,emptyMessage:``,showTooLarge:!r,tooLargeMessage:`Rewritten body not captured (body logging disabled or body too large).`}}function Z7(e){let t=e&&e.usage;return!t||typeof t!=`object`?null:t}function hre(e){let t=Z7(e);return Number(t&&t.cached_input_tokens||0)>0}function gre(e){let t=Z7(e),n=Number(t&&t.input_tokens||0),r=Number(t&&t.cached_input_tokens||0);return!Number.isFinite(n)||n<=0||!Number.isFinite(r)||r<=0?0:Math.max(0,Math.min(100,r/n*100))}function _re(e){let t=Z7(e);if(!t)return``;let n=Number(t.input_tokens||0),r=Number(t.cached_input_tokens||0);return n<=0?FL(r)+` cached`:gre(e).toFixed(1)+`% cached`}function vre(e){return hre(e)?_re(e):``}function yre(e,t){let n=Z7(e);if(!n||!e||!e.data||!e.data.request_body)return null;let r=Number(n.estimated_cached_characters||0);if(!Number.isFinite(r)||r<=0||typeof t!=`function`)return null;let i=t(e.data.request_body);return!Array.isArray(i)||i.length===0?null:{characters:r,segments:i}}function bre(e,t){let n=e&&e.data?e.data:null,r=!n||!n.request_headers&&!n.request_body,i=r&&W7(e);return{title:`Request`,direction:`request`,layout:`split`,entry:e,copyHeaders:n&&n.request_headers,copyBody:n&&n.request_body,showErrorMessage:!1,errorMessage:null,showHeaders:!!(n&&n.request_headers),headers:n&&n.request_headers,showBody:!!(n&&n.request_body),body:n&&n.request_body,bodyCacheRatioLabel:vre(e),promptCacheHighlight:yre(e,t),noChangeSteps:fre(e),showEmpty:r&&!i,emptyMessage:`Request details were not captured.`,showPending:i,pendingMessage:`Waiting for request data…`,showTooLarge:!!(n&&n.request_body_too_big_to_handle),tooLargeMessage:`Request body was too large to capture.`}}function xre(e){let t=e&&e.data?e.data:null,n=zne(e),r=!t||!n&&!t.response_headers&&!t.response_body,i=r&&W7(e);return{title:`Response`,direction:`response`,layout:`split`,entry:e,copyHeaders:t&&t.response_headers,copyBody:t&&t.response_body,showErrorMessage:!!n,errorMessage:n,showHeaders:!!(t&&t.response_headers),headers:t&&t.response_headers,showBody:!!(t&&t.response_body),body:t&&t.response_body,streaming:!!(e&&e._response_partial&&t&&t.response_body)&&W7(e),showEmpty:r&&!i,emptyMessage:`Response details were not captured.`,showPending:i,pendingMessage:`Response in progress…`,showTooLarge:!!(t&&t.response_body_too_big_to_handle),tooLargeMessage:`Response body was too large to capture.`}}function Q7(e,t){let n=[{id:`request`,pane:bre(e,t)}];return X7(e).forEach(t=>{n.push({id:`revision-`+Number(t&&t.seq||0),pane:mre(e,t)})}),q7(e)?K7(e).forEach(t=>{n.push({id:`response-`+Number(t&&t.seq||0),pane:dre(e,t)})}):n.push({id:`response`,pane:xre(e)}),n}function Sre(e){if(!q7(e))return`response`;let t=K7(e),n=null;return t.forEach(e=>{e&&e.success&&(n=e)}),n||=t[t.length-1],n?`response-`+Number(n.seq||0):`request`}function Cre(e,t,n){return e&&(Array.isArray(n)?n:Q7(t)).some(t=>t.id===e)?e:Sre(t)}function wre(e,t,n){if(!t||!t.length)return null;let r=t.indexOf(n);r<0&&(r=0);let i;switch(e){case`ArrowRight`:case`ArrowDown`:i=(r+1)%t.length;break;case`ArrowLeft`:case`ArrowUp`:i=(r-1+t.length)%t.length;break;case`Home`:i=0;break;case`End`:i=t.length-1;break;default:return null}return t[i]}var Tre=100;function $7(){return{entries:[],total:0,limit:25,offset:0}}var e9=new class{#e=k(j({}));get auditExpandedEntries(){return I(this.#e)}set auditExpandedEntries(e){A(this.#e,e,!0)}#t=k(j({}));get auditExpandedThreads(){return I(this.#t)}set auditExpandedThreads(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}auditFetchToken=0;get auditLog(){return XQ.auditLog}set auditLog(e){XQ.auditLog=e}get auditSearch(){return XQ.auditSearch}set auditSearch(e){XQ.auditSearch=e}get auditMethod(){return XQ.auditMethod}set auditMethod(e){XQ.auditMethod=e}get auditStatusCode(){return XQ.auditStatusCode}set auditStatusCode(e){XQ.auditStatusCode=e}get auditStream(){return XQ.auditStream}set auditStream(e){XQ.auditStream=e}get auditGroupSessions(){return XQ.auditGroupSessions}liveFilters(){return{search:this.auditSearch,method:this.auditMethod,statusCode:this.auditStatusCode,stream:this.auditStream,customStartDate:sR.customStartDate,customEndDate:sR.customEndDate}}toggleAuditGroupSessions(){XQ.auditGroupSessions=!XQ.auditGroupSessions,lI(`gomodel_audit_group_sessions`,XQ.auditGroupSessions),this.auditExpandedThreads={},XQ.auditThreadChildren={},this.fetchAuditLog(!0)}async fetchAuditLog(e){let t=++this.auditFetchToken;this.loading=!0;try{e&&(this.auditLog.offset=0);let n=this.auditGroupSessions,r=Une({dateQuery:sR.queryStr(),limit:this.auditLog.limit,offset:this.auditLog.offset,search:this.auditSearch,method:this.auditMethod,statusCode:this.auditStatusCode,stream:this.auditStream}),i=await qI((n?`/admin/audit/sessions?`:`/admin/audit/log?`)+r,{label:`audit log`});if(i.stale||t!==this.auditFetchToken)return;if(!i.ok){this.auditLog=$7();return}let a=n?Kne(i.data):i.data,o=(n?Xne:Yne)(a,this.auditLog&&this.auditLog.entries,this.liveFilters());Array.isArray(o.entries)||(o.entries=[]),this.auditLog=o,this.auditExpandedThreads=R7(this.auditExpandedThreads,o.entries),XQ.auditThreadChildren=R7(XQ.auditThreadChildren,o.entries);let s=[...o.entries,...this.loadedThreadChildren()];this.auditExpandedEntries=Qne(this.auditExpandedEntries,s);try{await k7.prefetchAuditWorkflows(s)}catch(e){console.error(`Failed to prefetch audit workflows:`,e)}}catch(e){if(console.error(`Failed to fetch audit log:`,e),t!==this.auditFetchToken)return;this.auditLog=$7()}finally{t===this.auditFetchToken&&(this.loading=!1)}}loadedThreadChildren(){let e=XQ.auditThreadChildren||{};return Object.keys(e).flatMap(t=>Array.isArray(e[t]&&e[t].entries)?e[t].entries:[])}isThreadExpanded(e){return!!(e&&this.auditExpandedThreads[e])}threadChildren(e){return e&&XQ.auditThreadChildren[e]||null}async toggleThread(e){let t=F7(e);if(!t)return;let n=!this.isThreadExpanded(t);this.auditExpandedThreads=L7(this.auditExpandedThreads,t);let r=XQ.auditThreadChildren[t];n&&!(r&&(r.loaded||r.loading))&&await this.fetchThreadEntries(e)}async fetchThreadEntries(e){let t=F7(e);if(!t)return;let n=XQ.auditThreadChildren[t];XQ.auditThreadChildren={...XQ.auditThreadChildren,[t]:{loading:!0,loaded:!1,entries:n&&Array.isArray(n.entries)?n.entries:[],total:Number(n&&n.total||0)}};let r=()=>{let e={...XQ.auditThreadChildren},n=e[t],r=n&&Array.isArray(n.entries)?n.entries:[];r.length>0?e[t]={loading:!1,loaded:!1,entries:r,total:r.length}:(delete e[t],this.auditExpandedThreads[t]&&(this.auditExpandedThreads=L7(this.auditExpandedThreads,t))),XQ.auditThreadChildren=e};try{let n=await qI(`/admin/audit/log?`+Wne({sessionId:t,limit:Tre}),{label:`audit session`});if(n.stale){r();return}if(!n.ok)throw Error(`audit session fetch failed`);let i=XQ.auditThreadChildren[t],a=this.auditLog.entries.find(e=>F7(e)===t),o=qne(i,n.data.entries,a?[a]:[e]);XQ.auditThreadChildren={...XQ.auditThreadChildren,[t]:{loading:!1,loaded:!0,entries:o.entries,total:Number(n.data.total||0)+o.preservedCount}}}catch(e){console.error(`Failed to fetch audit session entries:`,e),r()}}clearAuditFilters(){this.auditSearch=``,this.auditMethod=``,this.auditStatusCode=``,this.auditStream=``,this.fetchAuditLog(!0)}auditLogNextPage(){this.auditLog.offset+this.auditLog.limit0&&(this.auditLog.offset=Math.max(0,this.auditLog.offset-this.auditLog.limit),this.fetchAuditLog(!1))}isAuditEntryExpanded(e){let t=z7(e);return t?!!(this.auditExpandedEntries&&this.auditExpandedEntries[t]):!1}toggleAuditEntryExpanded(e){this.auditExpandedEntries=Zne(this.auditExpandedEntries,e);let t=this.isAuditEntryExpanded(e);return t&&typeof XQ.fetchAuditEntryDetail==`function`&&XQ.fetchAuditEntryDetail(e),t}expandAuditEntry(e){this.isAuditEntryExpanded(e)||this.toggleAuditEntryExpanded(e)}};XQ.fetchAuditLog=e=>e9.fetchAuditLog(e),XQ.isAuditEntryExpanded=e=>e9.isAuditEntryExpanded(e);var Ere=R(`
`);function Dre(e,t){E(t,!0);let n=R$(()=>e9.fetchAuditLog(!0));Mn(()=>n.cancel);var r=Ere(),i=M(r);L$(M(i),{id:`audit-filter-search`,placeholder:`Search by request ID, model, provider, path, user path, or error...`,label:`Search by request ID, model, provider, path, user path, or error`,get oninput(){return n},get value(){return e9.auditSearch},set value(e){e9.auditSearch=e}}),T(i);var a=P(i,2),o=M(a),s=M(o);s.value=s.__value=``;var c=P(s);c.value=c.__value=`GET`;var l=P(c);l.value=l.__value=`POST`;var u=P(l);u.value=u.__value=`PUT`;var d=P(u);d.value=d.__value=`PATCH`;var f=P(d);f.value=f.__value=`DELETE`,T(o);var p=P(o,2),m=M(p);m.value=m.__value=``;var h=P(m);h.value=h.__value=`200`;var g=P(h);g.value=g.__value=`201`;var _=P(g);_.value=_.__value=`400`;var v=P(_);v.value=v.__value=`401`;var y=P(v);y.value=y.__value=`403`;var b=P(y);b.value=b.__value=`404`;var x=P(b);x.value=x.__value=`429`;var S=P(x);S.value=S.__value=`500`;var C=P(S);C.value=C.__value=`502`;var w=P(C);w.value=w.__value=`503`;var ee=P(w);ee.value=ee.__value=`504`,T(p);var te=P(p,2),ne=M(te);ne.value=ne.__value=``;var re=P(ne);re.value=re.__value=`true`;var ie=P(re);ie.value=ie.__value=`false`,T(te);var ae=P(te,2);K(M(ae),{name:`x`,class:`table-icon-svg`}),Ge(2),T(ae),T(a),T(r),L(`change`,o,()=>e9.fetchAuditLog(!0)),Hi(o,()=>e9.auditMethod,e=>e9.auditMethod=e),L(`change`,p,()=>e9.fetchAuditLog(!0)),Hi(p,()=>e9.auditStatusCode,e=>e9.auditStatusCode=e),L(`change`,te,()=>e9.fetchAuditLog(!0)),Hi(te,()=>e9.auditStream,e=>e9.auditStream=e),L(`click`,ae,()=>e9.clearAuditFilters()),z(e,r),D()}Hr([`change`,`click`]);var Ore=R(`Live stream connecting…`),kre=R(` `),Are=R(`Live`),jre=R(` `);function Mre(e,t){E(t,!0);let n=O(()=>XQ.auditLivePauseReason()),r=O(()=>XQ.liveLogsStreaming&&!I(n));var i=Qr(),a=N(i),o=e=>{var t=jre(),i=M(t);let a;var o=P(i,2),s=e=>{z(e,Ore())},c=e=>{var t=kre(),r=M(t,!0);T(t),F(e=>B(r,e),[()=>KQ(I(n))]),z(e,t)},l=e=>{z(e,Are())};V(o,e=>{XQ.liveLogsStreaming?I(n)?e(c,1):e(l,-1):e(s)}),T(t),F(()=>a=U(i,1,`live-dot svelte-tve6yv`,null,a,{"is-streaming":I(r)})),z(e,t)},s=O(()=>QI.liveLogsVisible());V(a,e=>{I(s)&&e(o)}),z(e,i),D()}var Nre=R(` `),Pre=R(``);function Fre(e,t){E(t,!0);let n=O(()=>[{key:`provider`,text:GL(t.entry)||`-`},{key:`model`,text:t.entry.requested_model||t.entry.model||`-`,mono:!0},{key:`user_path`,text:t.entry.user_path,mono:!0},{key:`request_id`,text:`request_id: `+(t.entry.request_id||`-`),mono:!0},{key:`ip`,text:t.entry.client_ip&&`ip: `+t.entry.client_ip,mono:!0},{key:`auth_key_id`,text:t.entry.auth_key_id&&`auth_key_id: `+t.entry.auth_key_id,mono:!0},{key:`alias`,text:t.entry.alias_used&&`alias`,class:`audit-alias-badge`},{key:`resolved`,text:t.entry.alias_used&&t.entry.resolved_model&&`resolved: `+JL(t.entry),mono:!0},{key:`failover`,text:G7(t.entry)&&`failover: `+G7(t.entry),mono:!0},{key:`stream`,text:t.entry.stream&&`stream`},{key:`error_type`,text:t.entry.error_type}].filter(e=>!!e.text));var r=Pre(),i=P(M(r),2);H(i,21,()=>I(n),e=>e.key,(e,t)=>{var n=Nre();let r;var i=M(n,!0);T(n),F(()=>{r=U(n,1,`provider-badge ${(I(t).class||``)??``}`,`svelte-hyopt0`,r,{mono:I(t).mono}),B(i,I(t).text)}),z(e,n)}),T(i),T(r),z(e,r),D()}var Ire=R(``),Lre=R(` `);function Rre(e,t){E(t,!0);let n=O(()=>rre(t.entry)),r=O(()=>I(n).length>0?are(t.entry):``),i=O(()=>I(n).length>0?ire(t.entry):``);var a=Qr(),o=N(a),s=e=>{var a=Lre(),o=M(a);H(o,21,()=>I(n),e=>t.entry.id+`-pip-`+e.seq,(e,t)=>{var n=Ire();let r;F(e=>{r=U(n,1,`audit-attempt-pip svelte-1eu22xn`,null,r,{"audit-attempt-success":!!(I(t)&&I(t).success),"audit-attempt-error":!(I(t)&&I(t).success)}),W(n,`title`,e)},[()=>ore(I(t))]),z(e,n)}),T(o);var s=P(o,2),c=M(s,!0);T(s),T(a),F(()=>{W(a,`title`,I(r)),W(a,`aria-label`,I(r)),B(c,I(i))}),z(e,a)};V(o,e=>{I(n).length>0&&e(s)}),z(e,a),D()}var zre=new Set([`instructions`,`messages`,`input`,`previous_response_id`,`choices`,`output`]);function t9(e){if(e==null)return``;if(typeof e==`string`)return e.trim();if(Array.isArray(e))return e.map(e=>typeof e==`string`?e:!e||typeof e!=`object`?``:typeof e.text==`string`?e.text:typeof e.output_text==`string`?e.output_text:``).filter(Boolean).join(` +`).trim();if(typeof e==`object`){if(typeof e.text==`string`)return e.text.trim();try{return JSON.stringify(e,null,2)}catch{return``}}return String(e).trim()}function n9(e){if(e==null)return[];if(typeof e==`string`)return e?[e]:[];if(Array.isArray(e))return e.flatMap(e=>typeof e==`string`?e?[e]:[]:!e||typeof e!=`object`?[]:typeof e.text==`string`?e.text?[e.text]:[]:typeof e.output_text==`string`&&e.output_text?[e.output_text]:[]);if(typeof e==`object`)return typeof e.text==`string`&&e.text?[e.text]:[];let t=String(e);return t?[t]:[]}function Bre(e){if(e==null)return[];if(typeof e==`string`){let t=e.trim();return t?[{role:`user`,text:t}]:[]}if(!Array.isArray(e)){let t=t9(e);return t?[{role:`user`,text:t}]:[]}return e.map(e=>{if(!e||typeof e!=`object`)return null;let t=String(e.role||`user`).toLowerCase(),n=t9(e.content);return n?{role:t,text:n}:null}).filter(Boolean)}function Vre(e){return!e||typeof e!=`object`?``:Array.isArray(e.content)?e.content.map(e=>e&&typeof e.text==`string`?e.text:``).filter(Boolean).join(` +`).trim():t9(e.content)}function Hre(e){if(!e||typeof e!=`object`)return[];let t=[];return t.push(...n9(e.instructions)),Array.isArray(e.messages)&&e.messages.forEach(e=>{!e||typeof e!=`object`||t.push(...n9(e.content))}),typeof e.input==`string`?t.push(e.input):Array.isArray(e.input)?e.input.forEach(e=>{!e||typeof e!=`object`||(t.push(...n9(e.content)),typeof e.text==`string`&&t.push(e.text))}):e.input&&typeof e.input==`object`&&(t.push(...n9(e.input.content)),typeof e.input.text==`string`&&t.push(e.input.text)),t.map(e=>String(e||``)).filter(e=>e.length>0)}var r9=e=>t9(e);function Ure(e){if(!e||!e.data)return``;let t=N7(e.data.response_body,0,r9);if(t)return t;let n=e.data.error_message;if(n==null)return``;if(typeof n==`string`){let e=n.trim();return e?N7(j7(e),0,r9)||e:``}return N7(n,0,r9)||t9(n)}function Wre(e){return Array.isArray(e)?e.some(e=>!e||typeof e!=`object`?!1:e.type===`message`||e.role===`assistant`||e.role===`user`||e.role===`system`?!0:Array.isArray(e.content)?e.content.some(e=>!e||typeof e!=`object`?!1:typeof e.text==`string`||e.type===`output_text`||e.type===`input_text`):!1):!1}function Gre(e){if(!e)return!1;let t=String(e).toLowerCase();return t===`/v1/embeddings`||t===`/v1/embeddings/`||t.startsWith(`/v1/embeddings?`)||t.startsWith(`/v1/embeddings/`)}function Kre(e){if(!e)return!1;let t=String(e).toLowerCase();return t===`/v1/chat/completions`||t===`/v1/chat/completions/`||t.startsWith(`/v1/chat/completions?`)||t.startsWith(`/v1/chat/completions/`)||t===`/v1/responses`||t===`/v1/responses/`||t.startsWith(`/v1/responses?`)||t.startsWith(`/v1/responses/`)}function qre(e){if(e&&e.conversation_payload)return!0;let t=e&&e.data?e.data.request_body:null,n=e&&e.data?e.data.response_body:null,r=t&&(Array.isArray(t.messages)||t.input!==void 0||typeof t.instructions==`string`||typeof t.previous_response_id==`string`),i=n&&(Array.isArray(n.choices)||Wre(n.output));return!!(r||i)}function Jre(e){return!e||Gre(e.path)?!1:Kre(e.path)||qre(e)}function i9(e){let t=0,n=!1,r=!1,i=String(e||``);for(let e=0;e0&&a+1`,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`)}function Zre(e){return!!(e&&typeof e==`object`&&e.__audio__===!0)}function Qre(e){let t=Number(e||0);if(!Number.isFinite(t)||t<=0)return`0 B`;let n=[`B`,`KB`,`MB`,`GB`],r=0,i=t;for(;i>=1024&&r`
`+a9(t)+``+a9(eie(e[t]))+`
`);return t.length?``:``}function nie(e){let t=$re(e.content_type),n=a9(t+` · `+Qre(e.bytes)),r=tie(e.meta);if(e.stored&&e.encoding===`base64`&&e.data){let i=String(e.data).replace(/[^A-Za-z0-9+/=]/g,``);return`
`+n+`
`+r+`
`}let i=e.too_large?`Audio too large to store.`:`Audio not logged. Set LOGGING_LOG_AUDIO_BODIES=true to capture playable audio.`;return`
`+n+`
`+a9(i)+`
`+r+`
`}function o9(e){try{return JSON.stringify(String(e)).slice(1,-1)}catch{return``}}function rie(e){if(!e||typeof e!=`object`)return null;let t=Number(e.characters||0);if(!Number.isFinite(t)||t<=0)return null;let n=Array.isArray(e.segments)?e.segments.map(e=>String(e||``)).filter(Boolean):[];return n.length===0?null:{remaining:Math.floor(t),segments:n,segmentIndex:0}}function s9(e,t){if(!t||t.remaining<=0||t.segmentIndex>=t.segments.length)return a9(e);let n=``,r=0,i=0;for(;t.remaining>0&&t.segmentIndex`+a9(l)+``,r=s+l.length,i=s+o.length,t.remaining-=c,c>=a.length){t.segmentIndex++;continue}break}return n?n+a9(e.slice(r)):a9(e)}function iie(e,t,n){let r=n&&typeof n.formatJSON==`function`?n.formatJSON:e=>String(e),i=n&&typeof n.canShowConversation==`function`?n.canShowConversation:()=>!1,a=rie(n&&n.promptCacheHighlight),o=r(t);if(!o||o===`Not captured`)return a9(o);if(!i(e))return o.split(` +`).map(e=>s9(e,a)).join(` +`);let s=o.split(` +`),c=[],l=0;for(;ls9(e,a)).join(` +`);c.push(``+o+``),l=r+1;continue}c.push(s9(e,a)),l++}return c.join(` +`)}function aie(e){let t=String(e||``).toLowerCase();return t===`system`||t===`developer`?{role:`system`,label:`System Prompt`,className:`role-system`}:t===`assistant`?{role:`assistant`,label:`Agent`,className:`role-assistant`}:t===`error`?{role:`error`,label:`Error`,className:`role-error`}:t===`function_call`?{role:`function_call`,label:`Function Call`,className:`role-function-call`}:t===`function_result`?{role:`function_result`,label:`Function Result`,className:`role-function-result`}:{role:`user`,label:`User`,className:`role-user`}}function c9(e,t,n,r,i,a,o,s){let c=aie(e);return{uid:r+`-`+a,entryID:r,timestamp:n,text:t,role:c.role,roleLabel:c.label,roleClass:c.className,isAnchor:i,toolCalls:Array.isArray(o)&&o.length>0?o:null,functionName:s||``}}function l9(e){return Array.isArray(e)?e.map(e=>{if(!e)return null;let t=e.function||e;return{name:t.name||e.name||``,arguments:t.arguments||e.arguments||``}}).filter(Boolean):[]}function oie(e,t,n){if(t&&Array.isArray(t.messages)&&t.messages.forEach(t=>{!t||!Array.isArray(t.tool_calls)||t.tool_calls.forEach(t=>{if(!t)return;let n=t.id||``,r=(t.function||t).name||t.name||``;n&&r&&(e[n]=r)})}),t&&Array.isArray(t.input)&&t.input.forEach(t=>{if(!t||typeof t!=`object`||t.type!==`function_call`)return;let n=t.id||t.call_id||``,r=t.name||``;n&&r&&(e[n]=r)}),n&&Array.isArray(n.choices)){let t=n.choices[0];t&&t.message&&Array.isArray(t.message.tool_calls)&&t.message.tool_calls.forEach(t=>{if(!t)return;let n=t.id||``,r=(t.function||t).name||t.name||``;n&&r&&(e[n]=r)})}n&&Array.isArray(n.output)&&n.output.forEach(t=>{if(!t||t.type!==`function_call`)return;let n=t.id||t.call_id||``,r=t.name||``;n&&r&&(e[n]=r)})}function sie(e,t){if(!Array.isArray(e)||e.length===0)return[];let n=[...e].sort((e,t)=>new Date(e.timestamp)-new Date(t.timestamp)),r={};n.forEach(e=>{let t=e.data&&e.data.request_body?e.data.request_body:null,n=e.data&&e.data.response_body?e.data.response_body:null;oie(r,t,n)});let i=[],a=0;return n.forEach(e=>{let n=e.id===t,o=e.timestamp,s=e.data&&e.data.request_body?e.data.request_body:null,c=e.data&&e.data.response_body?e.data.response_body:null;if(s&&typeof s.instructions==`string`&&s.instructions.trim()&&i.push(c9(`system`,s.instructions,o,e.id,n,++a)),s&&Array.isArray(s.messages)&&s.messages.forEach(t=>{if(!t)return;let s=(t.role||`user`).toLowerCase();if(s===`tool`){let s=t9(t.content),c=t.name||r[t.tool_call_id]||``;s&&i.push(c9(`function_result`,s,o,e.id,n,++a,[],c));return}if(s===`assistant`){let r=t9(t.content),c=l9(t.tool_calls);(r||c.length>0)&&i.push(c9(s,r,o,e.id,n,++a,c));return}let c=t9(t.content);c&&i.push(c9(s,c,o,e.id,n,++a))}),s&&s.input!==void 0&&(Array.isArray(s.input)?s.input.forEach(t=>{if(!(!t||typeof t!=`object`)){if(t.type===`function_call_output`){let s=typeof t.output==`string`?t.output:t9(t.output);s&&i.push(c9(`function_result`,s,o,e.id,n,++a,[],r[t.call_id]||``))}else if(t.type===`function_call`)i.push(c9(`function_call`,``,o,e.id,n,++a,[{name:t.name||``,arguments:t.arguments||``}]));else if(t.role){let r=String(t.role).toLowerCase(),s=t9(t.content);s&&i.push(c9(r,s,o,e.id,n,++a))}}}):Bre(s.input).forEach(t=>{t.text&&i.push(c9(t.role,t.text,o,e.id,n,++a))})),c&&Array.isArray(c.choices)){let t=c.choices[0];if(t&&t.message){let r=(t.message.role||`assistant`).toLowerCase(),s=t9(t.message.content),c=l9(t.message.tool_calls);(s||c.length>0)&&i.push(c9(r,s,o,e.id,n,++a,c))}}c&&Array.isArray(c.output)&&c.output.forEach(t=>{if(!t)return;if(t.type===`function_call`){i.push(c9(`function_call`,``,o,e.id,n,++a,[{name:t.name||``,arguments:t.arguments||``}]));return}let r=(t.role||`assistant`).toLowerCase(),s=Vre(t);s&&i.push(c9(r,s,o,e.id,n,++a))});let l=Ure(e);l&&i.push(c9(`error`,l,o,e.id,n,++a))}),i}function u9(e){return e.role===`function_call`?(e.toolCalls||[]).map(function(e){let t=e.arguments||``;try{t=JSON.stringify(JSON.parse(t),null,2)}catch{}return e.name+`(`+t+`)`}).join(` + +`):e.text||``}var d9=new class{#e=k(!1);get conversationOpen(){return I(this.#e)}set conversationOpen(e){A(this.#e,e,!0)}#t=k(!1);get conversationLoading(){return I(this.#t)}set conversationLoading(e){A(this.#t,e,!0)}#n=k(``);get conversationError(){return I(this.#n)}set conversationError(e){A(this.#n,e,!0)}#r=k(``);get conversationAnchorID(){return I(this.#r)}set conversationAnchorID(e){A(this.#r,e,!0)}#i=k(j([]));get conversationEntries(){return I(this.#i)}set conversationEntries(e){A(this.#i,e,!0)}#a=k(j([]));get conversationMessages(){return I(this.#a)}set conversationMessages(e){A(this.#a,e,!0)}#o=k(``);get conversationLiveEntryId(){return I(this.#o)}set conversationLiveEntryId(e){A(this.#o,e,!0)}conversationRequestToken=0;conversationReturnFocusEl=null;bodyPointerStart=null;conversationDialogEl=null;conversationCloseBtnEl=null;canShowConversation(e){return Jre(e)}startBodyInteraction(e){this.bodyPointerStart={x:e.clientX,y:e.clientY}}_isBodyDrag(e){if(!this.bodyPointerStart)return!1;let t=Math.abs(e.clientX-this.bodyPointerStart.x),n=Math.abs(e.clientY-this.bodyPointerStart.y);return t>4||n>4}_hasActiveSelection(){let e=window.getSelection?window.getSelection():null;return!e||e.isCollapsed?!1:String(e.toString()||``).trim().length>0}handleBodyConversationClick(e,t){let n=this._isBodyDrag(e);if(this.bodyPointerStart=null,n||this._hasActiveSelection()||!this.canShowConversation(t))return;let r=e.target&&e.target.closest?e.target.closest(`[data-conversation-trigger="1"]`):null;r&&(e.preventDefault(),e.stopPropagation(),this.openConversation(t,r))}handleErrorConversationClick(e,t){let n=this._isBodyDrag(e);this.bodyPointerStart=null,!n&&(this._hasActiveSelection()||this.canShowConversation(t)&&(e.preventDefault(),e.stopPropagation(),this.openConversation(t,e.currentTarget)))}formatJSON(e){return PL(e)}renderBodyWithConversationHighlights(e,t,n){return iie(e,t,{formatJSON:e=>this.formatJSON(e),canShowConversation:e=>this.canShowConversation(e),promptCacheHighlight:n&&n.promptCacheHighlight})}async openConversation(e,t){if(!e||!e.id||!this.canShowConversation(e))return;let n=document.activeElement instanceof HTMLElement?document.activeElement:null;t instanceof HTMLElement?this.conversationReturnFocusEl=t:n&&n!==document.body&&(this.conversationReturnFocusEl=n);let r=++this.conversationRequestToken;if(this.conversationOpen=!0,this.conversationError=``,this.conversationAnchorID=e.id,this.conversationEntries=[],this.conversationMessages=[],document.body.classList.add(`conversation-drawer-open`),requestAnimationFrame(()=>this._focusConversationDrawer()),this._conversationEntryLivePending(e)){this.conversationLiveEntryId=String(e.id).trim(),this.conversationLoading=!1,this.applyLiveConversationEntry(e);return}this.conversationLiveEntryId=``,this.conversationLoading=!0,await this.fetchConversation(e.id,r)}_conversationEntryLivePending(e){return typeof XQ.auditEntryLiveDetailPending==`function`&&XQ.auditEntryLiveDetailPending(e)}applyLiveConversationEntry(e){this.conversationEntries=[e],this.conversationMessages=this.buildConversationMessages([e],e.id)}refreshLiveConversation(e){if(!this.conversationOpen||!this.conversationLiveEntryId||!e||String(e.id||``).trim()!==this.conversationLiveEntryId)return;let t=String(e._live_state||``).trim();if(t===`audit.flushed`||t===`audit.detail`){this.conversationLiveEntryId=``;let t=++this.conversationRequestToken;this.fetchConversation(e.id,t);return}this.applyLiveConversationEntry(e)}conversationLiveWaiting(){if(!this.conversationOpen||!this.conversationLiveEntryId)return!1;let e=(this.conversationEntries||[])[0];return!e||typeof XQ.liveAuditStateSettled!=`function`||!XQ.liveAuditStateSettled(e._live_state)}conversationLiveStatusText(){return(this.conversationMessages||[]).length>0?`Model is responding…`:`Waiting for request data…`}closeConversation(){this.conversationOpen=!1,this.conversationRequestToken++,this.conversationLiveEntryId=``,document.body.classList.remove(`conversation-drawer-open`);let e=this.conversationReturnFocusEl;this.conversationReturnFocusEl=null,e&&typeof e.focus==`function`&&document.contains(e)&&requestAnimationFrame(()=>e.focus())}_focusConversationDrawer(){if(!this.conversationOpen)return;let e=this.conversationCloseBtnEl;if(e&&typeof e.focus==`function`){e.focus();return}let t=this.conversationDialogEl;t&&typeof t.focus==`function`&&t.focus()}async fetchConversation(e,t){try{let n=await qI(`/admin/audit/conversation?`+(`log_id=`+encodeURIComponent(e)+`&limit=120`),{label:`audit conversation`});if(t!==this.conversationRequestToken||n.stale)return;if(!n.ok){this.conversationError=`Unable to load interactions.`,this.conversationEntries=[],this.conversationMessages=[];return}let r=n.data||{};this.conversationAnchorID=r.anchor_id||e,this.conversationEntries=Array.isArray(r.entries)?r.entries:[],this.conversationMessages=this.buildConversationMessages(this.conversationEntries,this.conversationAnchorID)}catch(e){if(t!==this.conversationRequestToken)return;console.error(`Failed to fetch audit conversation:`,e),this.conversationError=`Failed to load interactions.`,this.conversationEntries=[],this.conversationMessages=[]}finally{t===this.conversationRequestToken&&(this.conversationLoading=!1)}}buildConversationMessages(e,t){return sie(e,t)}functionExpandedContent(e){return u9(e)}};XQ.refreshLiveConversation=e=>d9.refreshLiveConversation(e);var cie=R(``),lie=R(` `),uie=R(``),die=R(`
`);function fie(e,t){E(t,!0);let n=G(t,`thread`,3,null),r=G(t,`expanded`,3,!1),i=G(t,`onactivate`,3,null);function a(e){e.preventDefault(),i()&&i()()}function o(e){e.stopPropagation(),e.preventDefault(),n().ontoggle()}function s(e){e.stopPropagation(),e.preventDefault(),e9.expandAuditEntry(t.entry),d9.openConversation(t.entry,e.currentTarget)}var c=die();let l;var u=M(c),d=M(u),f=e=>{var t=cie(),r=M(t);{let e=O(()=>n().expanded?`chevron-down`:`chevron-right`);K(r,{get name(){return I(e)},class:`audit-thread-expander-svg`})}var i=P(r,2),a=M(i,!0);T(i),T(t),F(()=>{W(t,`aria-expanded`,n().expanded),W(t,`title`,`Session with `+n().count+` requests`),W(t,`aria-label`,`Session with `+n().count+` requests, `+(n().expanded?`collapse`:`expand`)),B(a,n().count)}),L(`click`,t,o),z(e,t)};V(d,e=>{n()&&e(f)});var p=P(d,2),m=M(p,!0);T(p);var h=P(p,2),g=M(h,!0);T(h);var _=P(h,2),v=e=>{var n=lie(),r=M(n,!0);T(n),F(e=>B(r,e),[()=>YL(t.entry)]),z(e,n)};V(_,e=>{(t.entry.requested_model||t.entry.model)&&e(v)});var y=P(_,2),b=M(y,!0);T(y),T(u);var x=P(u,2),S=M(x);Rre(S,{get entry(){return t.entry}});var C=P(S,2),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee);var ne=P(ee,2),re=e=>{var t=uie();K(M(t),{name:`chevron-right`,class:`audit-conversation-trigger-svg`}),T(t),L(`click`,t,s),z(e,t)},ie=O(()=>d9.canShowConversation(t.entry));V(ne,e=>{I(ie)&&e(re)}),T(x),T(c),F((e,n,i,a,o)=>{l=U(c,1,`audit-entry-summary svelte-17mysgz`,null,l,e),W(c,`aria-expanded`,r()),U(p,1,`audit-status-badge ${n??``}`,`svelte-17mysgz`),B(m,t.entry.status_code||`-`),B(g,t.entry.method||`-`),B(b,t.entry.path||`-`),W(C,`title`,i),B(w,a),B(te,o)},[()=>({"audit-entry-summary-live-in-progress":W7(t.entry)}),()=>U7(t.entry.status_code),()=>UL(t.entry.timestamp),()=>VI.formatTimestamp(t.entry.timestamp),()=>$ne(t.entry.duration_ns)]),L(`click`,c,a),z(e,c),D()}Hr([`click`]);var pie=R(``);function f9(e,t){E(t,!0);let n=G(t,`label`,3,`Copy`),r=G(t,`copiedLabel`,3,`Copied`),i=G(t,`errorLabel`,3,``),a=G(t,`class`,3,`btn`),o=O(()=>t.state.error&&i()?i():t.state.copied?r():n());var s=pie();let c;var l=M(s),u=e=>{K(e,{name:`circle-check`,width:`14`,height:`14`,"stroke-width":`2.5`})},d=e=>{K(e,{name:`copy`,width:`14`,height:`14`})};V(l,e=>{t.state.copied?e(u):e(d,-1)});var f=P(l,2),p=M(f,!0);T(f),T(s),F(()=>{c=U(s,1,`copy-feedback-btn ${a()??``}`,null,c,{"copy-feedback-btn-copied":t.state.copied}),B(p,I(o))}),L(`click`,s,e=>{e.preventDefault(),t.onclick?.(e)}),z(e,s),D()}Hr([`click`]);var mie=R(`
Error Message
 
`),hie=R(`
 
`),gie=R(` `),_ie=R(` streaming`),vie=R(`
Body
`),yie=R(`

`),bie=R(`

`),xie=R(`

`),Sie=R(`
`);function Cie(e,t){E(t,!0);let n=F5({logPrefix:`Failed to copy audit payload:`}),r=F5({logPrefix:`Failed to copy audit payload:`}),i=O(()=>t.pane&&t.pane.showHeaders?PL(t.pane.headers):``),a=O(()=>!t.pane||!t.pane.showBody?``:Zre(t.pane.body)?nie(t.pane.body):d9.renderBodyWithConversationHighlights(t.pane.entry,t.pane.body,{promptCacheHighlight:t.pane.promptCacheHighlight})),o=O(()=>!!(t.pane&&d9.canShowConversation(t.pane.entry)));function s(e){e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),d9.handleErrorConversationClick(e,t.pane.entry))}var c=Sie();let l;var u=M(c),d=e=>{var n=mie(),r=P(M(n),2);let i;var a=M(r,!0);T(r),T(n),F(()=>{i=U(r,1,`audit-json audit-pane-error-message svelte-1h5puht`,null,i,{"audit-pane-clickable-preview":I(o)}),W(r,`role`,I(o)?`button`:null),W(r,`tabindex`,I(o)?0:null),B(a,t.pane.errorMessage)}),L(`mousedown`,r,e=>d9.startBodyInteraction(e)),L(`keydown`,r,s),L(`click`,r,e=>d9.handleErrorConversationClick(e,t.pane.entry)),z(e,n)};V(u,e=>{t.pane.showErrorMessage&&e(d)});var f=P(u,2),p=e=>{var n=hie(),a=M(n),o=M(a),s=M(o,!0);T(o),f9(P(o,2),{get state(){return r},label:`Copy Headers`,errorLabel:`Copy failed`,class:`audit-copy-btn`,onclick:()=>r.copy(t.pane.copyHeaders,PL)}),T(a);var c=P(a,2),l=M(c,!0);T(c),T(n),F(()=>{B(s,t.pane.headersTitle||`Headers`),B(l,I(i))}),z(e,n)};V(f,e=>{t.pane.showHeaders&&e(p)});var m=P(f,2),h=e=>{var r=vie(),i=M(r),o=M(i),s=P(M(o),2),c=e=>{var n=gie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.bodyCacheRatioLabel)),z(e,n)};V(s,e=>{t.pane.bodyCacheRatioLabel&&e(c)});var l=P(s,2),u=e=>{z(e,_ie())};V(l,e=>{t.pane.streaming&&e(u)}),T(o),f9(P(o,2),{get state(){return n},label:`Copy Body`,errorLabel:`Copy failed`,class:`audit-copy-btn`,onclick:()=>n.copy(t.pane.copyBody,PL)}),T(i);var d=P(i,2);mi(d,()=>I(a),!0),T(d),T(r),L(`mousedown`,d,e=>d9.startBodyInteraction(e)),L(`click`,d,e=>d9.handleBodyConversationClick(e,t.pane.entry)),z(e,r)};V(m,e=>{t.pane.showBody&&e(h)});var g=P(m,2),_=e=>{var n=yie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.emptyMessage)),z(e,n)};V(g,e=>{t.pane.showEmpty&&e(_)});var v=P(g,2),y=e=>{var n=bie(),r=P(M(n),2),i=M(r,!0);T(r),T(n),F(()=>B(i,t.pane.pendingMessage)),z(e,n)};V(v,e=>{t.pane.showPending&&e(y)});var b=P(v,2),x=e=>{var n=xie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.tooLargeMessage)),z(e,n)};V(b,e=>{t.pane.showTooLarge&&e(x)}),T(c),F(()=>l=U(c,1,`audit-pane svelte-1h5puht`,null,l,{"audit-pane-split":t.pane&&t.pane.layout===`split`,"audit-pane-split-single":t.pane&&t.pane.layout===`split`&&!(t.pane.showHeaders&&t.pane.showBody)})),z(e,c),D()}Hr([`mousedown`,`keydown`,`click`]);var wie=R(` `),p9=R(` `),Tie=R(` `),Eie=R(` `),Die=R(``),Oie=R(`
`),kie=R(`
`);function Aie(e,t){E(t,!0);let n=G(t,`panes`,19,()=>[]),r=k(null),i=O(()=>Cre(I(r),t.entry,n())),a=e=>`audit-tab-`+t.entry.id+`-`+e,o=e=>`audit-tabpanel-`+t.entry.id+`-`+e;function s(e,t){let i=n().map(e=>e.id),a=wre(e.key,i,t);a!=null&&(e.preventDefault(),((e.currentTarget?.closest?.(`.audit-pane-tablist`))?.querySelectorAll(`.audit-pane-tab`)[i.indexOf(a)])?.focus?.(),A(r,a,!0))}var c=kie(),l=M(c);H(l,21,n,e=>e.id,(e,t)=>{var n=Die();let c;var l=M(n),u=M(l),d=e=>{K(e,{name:`arrow-right`})},f=e=>{K(e,{name:`arrow-left`})};V(u,e=>{I(t).pane.direction===`request`?e(d):I(t).pane.direction===`response`&&e(f,1)}),T(l);var p=P(l,2),m=M(p,!0);T(p);var h=P(p,2),g=e=>{var n=wie(),r=M(n);T(n),F(()=>B(r,`#${I(t).pane.seq??``}`)),z(e,n)};V(h,e=>{I(t).pane.seq&&e(g)});var _=P(h,2),v=e=>{var n=p9(),r=M(n,!0);T(n),F(()=>{U(n,1,`provider-badge audit-pane-kind audit-pane-kind-${(I(t).pane.kind||``)??``}`,`svelte-1bc5vi5`),B(r,I(t).pane.kind)}),z(e,n)};V(_,e=>{I(t).pane.kind&&e(v)});var y=P(_,2);H(y,17,()=>I(t).pane.noChangeSteps||[],e=>e.id,(e,t)=>{var n=Tie(),r=M(n,!0);T(n),F(()=>{W(n,`title`,I(t).title),B(r,I(t).label)}),z(e,n)});var b=P(y,2),x=e=>{var n=Eie(),r=M(n,!0);T(n),F(()=>B(r,I(t).pane.savingsLabel)),z(e,n)};V(b,e=>{I(t).pane.savingsLabel&&e(x)});var S=P(b,2),C=e=>{var n=p9(),r=M(n,!0);T(n),F(e=>{U(n,1,`audit-status-badge ${e??``}`,`svelte-1bc5vi5`),B(r,I(t).pane.statusCode)},[()=>U7(I(t).pane.statusCode)]),z(e,n)};V(S,e=>{I(t).pane.statusCode&&e(C)}),T(n),F((e,r)=>{c=U(n,1,`audit-pane-tab svelte-1bc5vi5`,null,c,{"audit-pane-tab-active":I(i)===I(t).id}),W(n,`aria-selected`,I(i)===I(t).id),W(n,`id`,e),W(n,`aria-controls`,r),W(n,`tabindex`,I(i)===I(t).id?0:-1),U(l,1,`audit-pane-icon audit-pane-icon-${(I(t).pane.direction||``)??``}`,`svelte-1bc5vi5`),B(m,I(t).pane.title)},[()=>a(I(t).id),()=>o(I(t).id)]),L(`keydown`,n,e=>s(e,I(t).id)),L(`click`,n,()=>A(r,I(t).id,!0)),z(e,n)}),T(l),H(P(l,2),17,n,e=>e.id,(e,t)=>{var n=Oie();let r;Cie(M(n),{get pane(){return I(t).pane}}),T(n),F((e,a)=>{W(n,`id`,e),W(n,`aria-labelledby`,a),r=zi(n,``,r,{display:I(i)===I(t).id?null:`none`})},[()=>o(I(t).id),()=>a(I(t).id)]),z(e,n)}),T(c),z(e,c),D()}Hr([`keydown`,`click`]);var jie=R(`
`),Mie=R(`
`);function m9(e,t){E(t,!0);let n=G(t,`thread`,3,null),r=O(()=>e9.isAuditEntryExpanded(t.entry)),i=O(()=>I(r)?Q7(t.entry,Hre):[]),a=O(()=>I(r)?Wte(t.entry,k7.auditEntryWorkflow(t.entry),k7.workflowFeatureCaps()):null);function o(){e9.toggleAuditEntryExpanded(t.entry)}var s=Mie(),c=M(s);fie(c,{get entry(){return t.entry},get thread(){return n()},get expanded(){return I(r)},onactivate:o});var l=P(c,2),u=e=>{var n=jie(),r=M(n),o=e=>{J5(e,{get chart(){return I(a)}})};V(r,e=>{I(a)&&e(o)});var s=P(r,2);Aie(s,{get entry(){return t.entry},get panes(){return I(i)}}),Fre(P(s,2),{get entry(){return t.entry}}),T(n),Di(3,n,()=>xL,()=>({y:-6,duration:O7(150)})),z(e,n)};V(l,e=>{I(r)&&e(u)}),T(s),z(e,s),D()}var Nie=R(`
`),Pie=R(`
`),Fie=R(`

`),Iie=R(`
`),Lie=R(`
`);function Rie(e,t){E(t,!0);let n=O(()=>F7(t.entry)),r=O(()=>e9.isThreadExpanded(I(n))),i=O(()=>e9.threadChildren(I(n))),a=O(()=>I(i)&&!I(i).loading&&Number(I(i).total||0)>I(i).entries.length+1);var o=Qr(),s=N(o),c=e=>{m9(e,{get entry(){return t.entry}})},l=O(()=>!Gne(t.entry)),u=e=>{var n=Lie(),o=M(n);{let e=O(()=>({count:I7(t.entry),expanded:I(r),ontoggle:()=>e9.toggleThread(t.entry)}));m9(o,{get entry(){return t.entry},get thread(){return I(e)}})}var s=P(o,2),c=e=>{var t=Iie(),n=M(t),r=e=>{var t=Nie();JZ(M(t),{size:14,label:`Loading session requests`}),T(t),z(e,t)};V(n,e=>{I(i)&&I(i).loading&&e(r)});var o=P(n,2);H(o,17,()=>I(i)&&I(i).entries||[],e=>e.id,(e,t)=>{var n=Pie();m9(M(n),{get entry(){return I(t)}}),T(n),z(e,n)});var s=P(o,2),c=e=>{var t=Fie(),n=M(t);T(t),F(()=>B(n,`Showing the latest ${I(i).entries.length+1} of ${I(i).total??``} + requests in this session.`)),z(e,t)};V(s,e=>{I(a)&&e(c)}),T(t),Di(3,t,()=>SL,()=>({duration:O7(150)})),z(e,t)};V(s,e=>{I(r)&&e(c)}),T(n),z(e,n)};V(s,e=>{I(l)?e(c):e(u,-1)}),z(e,o),D()}var zie=R(`
 
`),Bie=R(`
 
`),Vie=R(`
`),Hie=R(`
`),Uie=R(`
`,1),Wie=R(`
`);function Gie(e,t){E(t,!0);function n(e){return[e.role===`function_call`||e.role===`function_result`?`chat-function-note`:`chat-message`,e.roleClass,e.isAnchor?`is-anchor`:``].filter(Boolean).join(` `)}function r(e){return e.role===`function_call`?(e.toolCalls||[]).map(e=>e.name+`()`).join(`, `):(e.functionName?e.functionName+`: `:``)+e.text}var i=Wie(),a=M(i),o=e=>{var n=zie(),i=M(n),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(i);var l=P(i,2),u=M(l,!0);T(l),T(n),F((e,n)=>{B(o,t.msg.roleLabel),B(c,e),B(u,n)},[()=>r(t.msg),()=>u9(t.msg)]),z(e,n)},s=e=>{var n=Uie(),r=N(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(r);var c=P(r,2),l=e=>{var n=Bie(),r=M(n,!0);T(n),F(()=>B(r,t.msg.text)),z(e,n)};V(c,e=>{t.msg.text&&e(l)});var u=P(c,2),d=e=>{var n=Hie();H(n,23,()=>t.msg.toolCalls,(e,t)=>e.name+`-`+t,(e,t)=>{var n=Vie(),r=M(n),i=M(r,!0);T(r),T(n),F(()=>B(i,I(t).name+`()`)),z(e,n)}),T(n),z(e,n)};V(u,e=>{t.msg.toolCalls&&e(d)}),F(e=>{B(a,t.msg.roleLabel),B(s,e)},[()=>VI.formatTimestamp(t.msg.timestamp)]),z(e,n)};V(a,e=>{t.msg.role===`function_call`||t.msg.role===`function_result`?e(o):e(s,-1)}),T(i),F(e=>U(i,1,e,`svelte-12s99s5`),[()=>Mi(n(t.msg))]),z(e,i),D()}var Kie=R(``),qie=R(`
`),Jie=R(`

Loading interactions...

`),Yie=R(`

No interaction data available for this entry.

`),Xie=R(`
`),Zie=R(`
`),Qie=R(``),$ie=R(`

Interactions

`,1);function eae(e,t){E(t,!0);let n=d9;Mn(()=>{if(!n.conversationOpen)return;let e=Or(()=>fI.opened()),t=e=>{e.key===`Escape`&&fI.openCount<=1&&n.closeConversation()};return window.addEventListener(`keydown`,t),()=>{fI.closed(e),window.removeEventListener(`keydown`,t)}});var r=$ie(),i=N(r),a=e=>{var t=Kie();L(`click`,t,()=>n.closeConversation()),z(e,t)};V(i,e=>{n.conversationOpen&&e(a)});var o=P(i,2);let s;var c=M(o);aL(P(M(c),2),{label:`Close interactions`,onclick:()=>n.closeConversation(),get el(){return n.conversationCloseBtnEl},set el(e){n.conversationCloseBtnEl=e}}),T(c);var l=P(c,2),u=M(l),d=e=>{var t=qie(),r=M(t,!0);T(t),F(()=>B(r,n.conversationError)),z(e,t)};V(u,e=>{n.conversationError&&e(d)});var f=P(u,2),p=e=>{z(e,Jie())};V(f,e=>{n.conversationLoading&&e(p)});var m=P(f,2),h=e=>{z(e,Yie())},g=O(()=>!n.conversationLoading&&!n.conversationError&&n.conversationMessages.length===0&&!n.conversationLiveWaiting());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{var t=Xie();H(t,21,()=>n.conversationMessages,e=>e.uid,(e,t)=>{Gie(e,{get msg(){return I(t)}})}),T(t),z(e,t)};V(_,e=>{n.conversationMessages.length>0&&e(v)});var y=P(_,2),b=e=>{var t=Zie(),r=P(M(t),2),i=M(r,!0);T(r),T(t),F(e=>B(i,e),[()=>n.conversationLiveStatusText()]),z(e,t)},x=O(()=>n.conversationLiveWaiting());V(y,e=>{I(x)&&e(b)}),T(l);var S=P(l,2),C=e=>{var t=Qie(),r=M(t),i=M(r,!0);T(r),T(t),F(()=>B(i,`Opened from log: `+n.conversationAnchorID)),z(e,t)};V(S,e=>{n.conversationAnchorID&&e(C)}),T(o),pa(o,e=>n.conversationDialogEl=e,()=>n?.conversationDialogEl),F(()=>{s=U(o,1,`conversation-drawer`,null,s,{open:n.conversationOpen}),W(o,`aria-hidden`,!n.conversationOpen)}),z(e,r),D()}Hr([`click`]);var tae=R(`

.

`),nae=R(`
Audit logging is off. Live entries are temporary and disappear after + refresh. Set LOGGING_ENABLED=true to persist them.
`),rae=R(`

`),iae=R(`
`),aae=R(`
`),oae=R(`
`),sae=R(`
`),cae=R(`
`);function lae(e,t){E(t,!0);let n=O(()=>QI.config&&QI.config.LOGGING_RETENTION_DAYS);Mn(()=>{if(q.refreshTick,wI.page===`audit-logs`)return Or(()=>r())});function r(){let e=!1;return(async()=>{try{await QI.ensureLoaded()}finally{await e9.fetchAuditLog(!0),!e&&QI.liveLogsVisible()&&XQ.ensureLiveLogs()}})(),()=>{e=!0,XQ.stopLiveLogs()}}var i=cae(),a=M(i),o=M(a),s=P(M(o),2),c=e=>{yQ(e,{copyId:`audit-retention-help-copy`,label:`retention help`,text:`If you want to change the retention period, set LOGGING_RETENTION_DAYS (env var) or logging.retention_days (config.yaml) and restart the gateway. Default is 30 days; 0 keeps audit logs forever.`,title:e=>{var t=tae(),r=M(t,!0),i=P(r),a=M(i,!0);T(i),Ge(),T(t),F((e,t)=>{B(r,e),B(a,t)},[()=>Vne(I(n)),()=>Hne(I(n))]),z(e,t)},$$slots:{title:!0}})},l=O(()=>Bne(I(n)));V(s,e=>{I(l)&&e(c)}),T(o),T(a);var u=P(a,2);AR(M(u),{onchange:()=>e9.fetchAuditLog(!0)}),T(u);var d=P(u,2);uR(d,{});var f=P(d,2),p=e=>{z(e,nae())},m=O(()=>QI.loaded&&!QI.auditVisible()&&!q.needsAuth);V(f,e=>{I(m)&&e(p)});var h=P(f,2),g=M(h);Dre(g,{});var _=P(g,2),v=M(_),y=M(v),b=e=>{var t=rae(),n=M(t);T(t),F(e=>B(n,`Showing ${e9.auditLog.offset+1}-${e??``} of ${e9.auditLog.total??``} + ${e9.auditGroupSessions?`sessions`:`logs`}`),[()=>Math.min(e9.auditLog.offset+e9.auditLog.limit,e9.auditLog.total)]),z(e,t)};V(y,e=>{e9.auditLog.total>0&&e(b)});var x=P(y,2),S=M(x);$i(S),Ge(2),T(x),T(v),Mre(P(v,2),{}),T(_);var C=P(_,2),w=e=>{var t=iae();JZ(M(t),{size:18,label:`Loading audit logs`}),T(t),z(e,t)},ee=e=>{var t=oae();H(t,29,()=>e9.auditLog.entries,e=>e.id,(e,t)=>{var n=aae(),r=M(n),i=e=>{Rie(e,{get entry(){return I(t)}})},a=e=>{m9(e,{get entry(){return I(t)}})};V(r,e=>{e9.auditGroupSessions?e(i):e(a,-1)}),T(n),Ei(n,()=>jne,()=>({duration:O7(150)})),Di(1,n,()=>Pne,()=>({live:I(t)._live})),z(e,n)}),T(t),z(e,t)};V(C,e=>{e9.loading&&e9.auditLog.entries.length===0?e(w):e9.auditLog.entries.length>0&&e(ee,1)});var te=P(C,2),ne=e=>{var t=sae();ZZ(M(t),{}),T(t),z(e,t)};V(te,e=>{e9.auditLog.entries.length===0&&!e9.loading&&!q.needsAuth&&e(ne)}),f1(P(te,2),{get total(){return e9.auditLog.total},get offset(){return e9.auditLog.offset},get limit(){return e9.auditLog.limit},onprev:()=>e9.auditLogPrevPage(),onnext:()=>e9.auditLogNextPage()}),T(h),eae(P(h,2),{}),T(i),F(()=>ta(S,e9.auditGroupSessions)),L(`change`,S,()=>e9.toggleAuditGroupSessions()),z(e,i),D()}Hr([`change`]);function h9(e){try{let t=JSON.parse(JSON.stringify(e||{}));return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}catch{return{}}}function g9(e){return Array.isArray(e)?e.map(e=>String(e||``).trim()).filter(e=>e):e==null?[]:String(e).split(`,`).map(e=>e.trim()).filter(e=>e)}function _9(e,t){let n=String(t||``).trim();return(e||[]).find(e=>String(e&&e.type||``).trim()===n)||null}function v9(e){return Array.isArray(e)&&e.length>0&&String(e[0].type||``).trim()||`system_prompt`}function y9(e,t){let n=String(t||``).trim();return n&&_9(e,n)?n:v9(e)}function b9(e,t){let n=_9(e,t);return!n||!n.defaults?{}:h9(n.defaults)}function x9(e,t,n){return{...b9(e,n),...h9(t)}}function S9(e,t){let n=y9(e,t);return{name:``,type:n,description:``,user_path:``,config:b9(e,n)}}function uae(e,t){if(!t)return e||[];let n=String(t).toLowerCase();return(e||[]).filter(e=>[e.name,e.type,e.user_path,e.description,e.summary].some(e=>String(e||``).toLowerCase().includes(n)))}function dae(e,t){let n=_9(e,t);return n&&n.label?n.label:t||`Unknown`}function fae(e,t){let n=_9(e,t);return Array.isArray(n&&n.fields)?n.fields:[]}function C9(e,t){if(!t||!e)return t&&t.input===`checkboxes`?[]:``;let n=e[t.key];return n==null?t.input===`checkboxes`?[]:``:t.input===`checkboxes`?g9(n):n}function w9(e,t,n){if(!t)return e;let r=h9(e);if(t.input===`number`){let e=String(n||``).trim();if(e===``)delete r[t.key];else{let n=Number(e);r[t.key]=Number.isFinite(n)?n:e}}else t.input===`checkboxes`?r[t.key]=g9(n):r[t.key]=n;return r}function pae(e,t,n){return C9(e,t).includes(String(n||``).trim())}function mae(e,t,n,r){let i=g9(C9(e,t)),a=String(n||``).trim();return a?w9(e,t,r?Array.from(new Set([...i,a])):i.filter(e=>e!==a)):e}function hae(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),description:String(e&&e.description||``).trim()||void 0,user_path:String(e&&e.user_path||``).trim()||void 0,config:h9(e&&e.config)}}var T9=new class{#e=k(j([]));get guardrails(){return I(this.#e)}set guardrails(e){A(this.#e,e,!0)}#t=k(j([]));get types(){return I(this.#t)}set types(e){A(this.#t,e,!0)}#n=k(!0);get available(){return I(this.#n)}set available(e){A(this.#n,e,!0)}#r=k(!1);get loading(){return I(this.#r)}set loading(e){A(this.#r,e,!0)}#i=k(!1);get typesLoading(){return I(this.#i)}set typesLoading(e){A(this.#i,e,!0)}#a=k(``);get error(){return I(this.#a)}set error(e){A(this.#a,e,!0)}#o=k(``);get filter(){return I(this.#o)}set filter(e){A(this.#o,e,!0)}#s=k(!1);get formOpen(){return I(this.#s)}set formOpen(e){A(this.#s,e,!0)}#c=k(!1);get formSubmitting(){return I(this.#c)}set formSubmitting(e){A(this.#c,e,!0)}#l=k(``);get deletingName(){return I(this.#l)}set deletingName(e){A(this.#l,e,!0)}#u=k(`create`);get formMode(){return I(this.#u)}set formMode(e){A(this.#u,e,!0)}#d=k(``);get formOriginalName(){return I(this.#d)}set formOriginalName(e){A(this.#d,e,!0)}#f=k(j({name:``,type:``,description:``,user_path:``,config:{}}));get form(){return I(this.#f)}set form(e){A(this.#f,e,!0)}get filtered(){return uae(this.guardrails,this.filter)}typeLabel(e){return dae(this.types,e)}typeFields(e){return fae(this.types,e)}fieldValue(e){return C9(this.form&&this.form.config,e)}setFieldValue(e,t){this.form={...this.form,config:w9(this.form.config,e,t)}}arrayFieldSelected(e,t){return pae(this.form&&this.form.config,e,t)}toggleArrayFieldValue(e,t,n){this.form={...this.form,config:mae(this.form.config,e,t,n)}}openCreate(){this.formMode=`create`,this.formOriginalName=``,this.error=``,this.form=S9(this.types,v9(this.types)),this.formOpen=!0}openEdit(e){let t=y9(this.types,e&&e.type);this.formMode=`edit`,this.formOriginalName=String(e&&e.name||``).trim(),this.error=``,this.form={name:this.formOriginalName,type:t,description:String(e&&e.description||``).trim(),user_path:String(e&&e.user_path||``).trim(),config:x9(this.types,e&&e.config,t)},this.formOpen=!0}closeForm(){this.formOpen=!1,this.formMode=`create`,this.formOriginalName=``,this.error=``,this.form=S9(this.types,v9(this.types))}changeType(e){let t=y9(this.types,e);this.form={...this.form,type:t,config:b9(this.types,t)}}async fetchTypes(){this.typesLoading=!0;try{let e=await F1(`/admin/guardrails/types`,{label:`guardrail types`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.types=[];return}if(e.result&&(this.available=!0),this.types=e.items,e.status===`error`){this.error=e.error;return}let t=y9(this.types,this.form.type);this.form={...this.form,type:t,config:x9(this.types,this.form.config,t)}}finally{this.typesLoading=!1}}async fetchGuardrails(){this.loading=!0,this.error=``;try{let e=await F1(`/admin/guardrails`,{label:`guardrails`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.guardrails=[];return}e.result&&(this.available=!0),this.guardrails=e.items,this.error=e.error}finally{this.loading=!1}}async fetchPage(){await Promise.all([this.fetchTypes(),this.fetchGuardrails()])}async submitForm(){let e=String(this.form.name||``).trim(),t=String(this.form.type||``).trim();if(!e){this.error=`Name is required.`;return}if(!t){this.error=`Type is required.`;return}this.error=``,this.formSubmitting=!0;let n=hae(this.form);try{let t=await I1(`/admin/guardrails`,`PUT`,n,{label:`save guardrail`,errorFallback:`Failed to save guardrail.`,unavailableMessage:`Guardrails feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}DL.success(`Guardrail "`+e+`" saved.`),this.closeForm(),this.fetchGuardrails()}finally{this.formSubmitting=!1}}async deleteGuardrail(e){let t=String(e&&e.name||``).trim();if(!(!t||this.deletingName)&&window.confirm(`Delete guardrail "`+t+`"? Workflows that still reference it must be updated first.`)){this.deletingName=t;try{let e=await I1(`/admin/guardrails`,`DELETE`,{name:t},{label:`delete guardrail`,errorFallback:`Failed to delete guardrail.`,unavailableMessage:`Guardrails feature is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}DL.success(`Guardrail "`+t+`" deleted.`),this.formOpen&&this.formOriginalName===t&&this.closeForm(),this.fetchGuardrails()}finally{this.deletingName=``}}}},gae=R(`
`),_ae=R(`

Loading guardrails...

`),vae=R(`
`),yae=R(`
`),bae=R(`
NameTypeUser PathSummaryActions
`),xae=R(`

No guardrails defined yet.

`),Sae=R(`

Instances

Each instance has a reusable name, a type, an optional user path for + future UI visibility scoping, and a JSON-backed config payload for + that type.

`);function Cae(e,t){E(t,!0);var n=Sae(),r=M(n),i=P(M(r),2);K(M(i),{name:`plus`,class:`form-action-icon`}),Ge(2),T(i),T(r);var a=P(r,2),o=e=>{var t=gae(),n=M(t);L$(M(n),{id:`guardrail-filter`,placeholder:`Filter by name, type, user path, summary...`,label:`Guardrail filter`,get value(){return T9.filter},set value(e){T9.filter=e}}),T(n),T(t),z(e,t)};V(a,e=>{T9.available&&e(o)});var s=P(a,2),c=e=>{var t=_ae();JZ(M(t),{size:16,label:`Loading guardrails`}),Ge(),T(t),z(e,t)};V(s,e=>{T9.loading&&T9.filtered.length===0&&e(c)});var l=P(s,2),u=e=>{var t=bae(),n=M(t),r=P(M(n));H(r,21,()=>T9.filtered,e=>e.name,(e,t)=>{var n=yae(),r=M(n),i=M(r,!0);T(r);var a=P(r),o=M(a),s=M(o,!0);T(o),T(a);var c=P(a),l=M(c,!0);T(c);var u=P(c),d=M(u),f=M(d,!0);T(d);var p=P(d,2),m=e=>{var n=vae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(p,e=>{I(t).description&&e(m)}),T(u);var h=P(u),g=M(h),_=M(g);{let e=O(()=>`Edit guardrail `+I(t).name);P1(_,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>T9.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var v=P(_,2);{let e=O(()=>(T9.deletingName===I(t).name?`Deleting guardrail `:`Delete guardrail `)+I(t).name),n=O(()=>T9.deletingName===I(t).name);P1(v,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>T9.deleteGuardrail(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(g),T(h),T(n),F(e=>{B(i,I(t).name),B(s,e),B(l,I(t).user_path||`—`),B(f,I(t).summary||I(t).description||`No summary yet.`)},[()=>T9.typeLabel(I(t).type)]),z(e,n)}),T(r),T(n),T(t),z(e,t)};V(l,e=>{T9.filtered.length>0&&e(u)});var d=P(l,2),f=e=>{z(e,xae())};V(d,e=>{T9.filtered.length===0&&!T9.loading&&T9.available&&!T9.error&&!q.authError&&e(f)}),T(n),F(()=>i.disabled=T9.typesLoading||T9.formSubmitting||!T9.available),L(`click`,i,()=>T9.openCreate()),z(e,n),D()}Hr([`click`]);var wae=R(`

Workflows reference these names directly, so renames are + intentionally avoided after creation.

`),Tae=R(``),E9=R(``),Eae=R(``),Dae=R(``),Oae=R(``),kae=R(``),Aae=R(``),jae=R(``),Mae=R(``),Nae=R(`
`),Pae=R(``),Fae=R(` `),Iae=R(`
`),Lae=R(`
`);function Rae(e,t){E(t,!0);let n=O(()=>T9.formMode===`edit`);{let t=e=>{z(e,wae())},r=O(()=>I(n)?`Edit Guardrail`:`Create Guardrail`);R0(e,{get open(){return T9.formOpen},get title(){return I(r)},ariaLabel:`Guardrail editor`,get error(){return T9.error},get submitting(){return T9.formSubmitting},submitLabel:`Save Guardrail`,dialogClass:`settings-guardrails-editor guardrails-editor-wide`,onclose:()=>T9.closeForm(),onsubmit:()=>T9.submitForm(),headerHint:t,children:(e,t)=>{var r=Lae(),i=M(r);B0(i,{id:`guardrail-name`,label:`Name`,children:(e,t)=>{var r=Tae();$i(r),F(()=>{r.disabled=I(n),W(r,`data-modal-autofocus`,!I(n)||void 0)}),ca(r,()=>T9.form.name,e=>T9.form.name=e),z(e,r)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`guardrail-type`,label:`Type`,children:(e,t)=>{var r=Eae();H(r,21,()=>T9.types,e=>e.type,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).type)&&(n.value=(n.__value=I(t).type)??``)}),z(e,n)}),T(r);var i;Vi(r),F(()=>{r.disabled=I(n),i!==(i=T9.form.type)&&(r.value=(r.__value=T9.form.type)??``,Bi(r,T9.form.type))}),L(`change`,r,e=>T9.changeType(e.currentTarget.value)),z(e,r)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`guardrail-description`,label:`Description`,children:(e,t)=>{var r=Dae();$i(r),F(()=>W(r,`data-modal-autofocus`,I(n)?!0:void 0)),ca(r,()=>T9.form.description,e=>T9.form.description=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2),c=M(s);yQ(c,{copyId:`guardrail-user-path-help-copy`,label:`guardrail user path help`,text:`Only used for auxiliary rewrite (llm_based_altering) guardrails; ignored for other guardrail types.`,title:e=>{z(e,Oae())},$$slots:{title:!0}});var l=P(c,2);$i(l),T(s),H(P(s,2),17,()=>T9.typeFields(T9.form.type),e=>e.key,(e,t)=>{var n=Qr(),r=N(n),i=e=>{var n=Nae(),r=M(n);{let e=e=>{var n=kae(),r=M(n,!0);T(n),F(()=>{W(n,`for`,`guardrail-field-`+I(t).key),B(r,I(t).label)}),z(e,n)},n=O(()=>`guardrail-field-help-`+I(t).key),i=O(()=>I(t).label+` help`),a=O(()=>I(t).help||``);yQ(r,{get copyId(){return I(n)},get label(){return I(i)},get text(){return I(a)},title:e,$$slots:{title:!0}})}var i=P(r,2),a=e=>{var n=Aae();H(n,21,()=>I(t).options||[],e=>e.value,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n);var r;Vi(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),r!==(r=e)&&(n.value=(n.__value=e)??``,Bi(n,e))},[()=>T9.fieldValue(I(t))]),L(`change`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},o=e=>{var n=jae();mt(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},s=e=>{var n=Mae();$i(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`type`,I(t).input||`text`),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)};V(i,e=>{I(t).input===`select`?e(a):I(t).input===`textarea`?e(o,1):e(s,-1)}),T(n),z(e,n)},a=e=>{var n=Iae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).options||[],e=>I(t).key+`-`+e.value,(e,n)=>{var r=Pae(),i=M(r);$i(i);var a=P(i,2),o=M(a,!0);T(a),T(r),F(e=>{ta(i,e),B(o,I(n).label)},[()=>T9.arrayFieldSelected(I(t),I(n).value)]),L(`change`,i,e=>T9.toggleArrayFieldValue(I(t),I(n).value,e.currentTarget.checked)),z(e,r)}),T(a);var o=P(a,2),s=e=>{var n=Fae(),r=M(n,!0);T(n),F(()=>{W(n,`id`,`guardrail-field-help-`+I(t).key),B(r,I(t).help)}),z(e,n)};V(o,e=>{I(t).help&&e(s)}),T(n),F(()=>{W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),B(i,I(t).label)}),z(e,n)};V(r,e=>{I(t).input===`checkboxes`?e(a,-1):e(i)}),z(e,n)}),T(r),ca(l,()=>T9.form.user_path,e=>T9.form.user_path=e),z(e,r)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var zae=R(`

Guardrails

`),Bae=R(`
Runtime guardrail execution is currently off because GUARDRAILS_ENABLED is disabled. You can still manage + definitions here.
`),Vae=R(`
Guardrails feature is unavailable.
`),Hae=R(`
`),Uae=R(`

Reusable Policy Objects

Guardrail Library

Store guardrails in the database, keep them hot in memory, and attach + them to workflows by reference.

Instances
Types
`);function Wae(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`guardrails`&&(QI.ensureLoaded(),T9.fetchPage())});var n=Uae(),r=M(n),i=M(r);yQ(M(i),{copyId:`guardrails-help-copy`,label:`guardrails help`,text:`Reusable policy objects stored in the database and kept hot in memory for workflow execution.`,title:e=>{z(e,zae())},$$slots:{title:!0}}),T(i),T(r);var a=P(r,2),o=P(M(a),2),s=M(o),c=P(M(s),2),l=M(c,!0);T(c),T(s);var u=P(s,2),d=P(M(u),2),f=M(d,!0);T(d),T(u),T(o),T(a);var p=P(a,2);uR(p,{});var m=P(p,2),h=e=>{z(e,Bae())},g=O(()=>!QI.guardrailsVisible());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{z(e,Vae())};V(_,e=>{!q.authError&&!T9.available&&e(v)});var y=P(_,2),b=e=>{var t=Hae(),n=M(t,!0);T(t),F(()=>B(n,T9.error)),z(e,t)};V(y,e=>{!q.authError&&T9.error&&!T9.formOpen&&e(b)});var x=P(y,2);Rae(x,{}),Cae(P(x,2),{}),T(n),F((e,t)=>{B(l,e),B(f,t)},[()=>FL(T9.guardrails.length),()=>FL(T9.types.length)]),z(e,n),D()}var Q=new class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get slugEdited(){return I(this.#c)}set slugEdited(e){A(this.#c,e,!0)}#l=k(!1);get advancedOpen(){return I(this.#l)}set advancedOpen(e){A(this.#l,e,!0)}#u=k(j(LX()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(``);get deletingName(){return I(this.#d)}set deletingName(e){A(this.#d,e,!0)}#f=k(``);get reconnectingName(){return I(this.#f)}set reconnectingName(e){A(this.#f,e,!0)}#p=k(!1);get catalogOpen(){return I(this.#p)}set catalogOpen(e){A(this.#p,e,!0)}#m=k(!1);get catalogLoading(){return I(this.#m)}set catalogLoading(e){A(this.#m,e,!0)}#h=k(``);get catalogError(){return I(this.#h)}set catalogError(e){A(this.#h,e,!0)}#g=k(j(RX()));get catalog(){return I(this.#g)}set catalog(e){A(this.#g,e,!0)}#_=O(()=>YX(this.servers,this.filter));get filtered(){return I(this.#_)}set filtered(e){A(this.#_,e)}async fetchServers(){if(await QI.ensureLoaded(),!QI.mcpVisible()){this.available=!1,this.servers=[],this.error=``,this.loading=!1;return}this.loading=!0,this.error=``;try{let e=await F1(`/admin/mcp-servers`,{label:`mcp servers`,errorFallback:`Failed to load MCP servers.`,unavailableStatuses:[503,404]});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.servers=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.servers=[],this.error=e.error;return}this.available=!0,this.servers=e.items}finally{this.loading=!1}}openCreate(){this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX(),this.formOpen=!0}openEdit(e){!e||e.managed||(this.formMode=`edit`,this.slugEdited=!0,this.advancedOpen=!1,this.error=``,this.form=XX(e),this.formOpen=!0)}closeForm(){this.formOpen=!1,this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX()}syncSlugFromName(){this.formMode===`create`&&!this.slugEdited&&(this.form.slug=GX(this.form.name))}markSlugEdited(){this.formMode===`create`&&(this.slugEdited=!0)}addHeader(){this.form.headers.push({name:``,value:``})}removeHeader(e){this.form.headers.splice(e,1)}async submitForm(){let e=ZX(this.form,this.formMode,this.servers);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/mcp-servers`,`PUT`,e.payload,{label:`save mcp server`,errorFallback:`Failed to save MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}DL.success(`MCP server "`+e.payload.name+`" saved.`),this.closeForm(),this.fetchServers()}finally{this.formSubmitting=!1}}async deleteServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.deletingName||e&&e.managed)&&confirm(`Delete MCP server "`+t+`"? Clients lose access to its tools immediately.`)){this.deletingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n),`DELETE`,void 0,{label:`delete mcp server`,errorFallback:`Failed to delete MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}DL.success(`MCP server "`+t+`" deleted.`),this.formOpen&&this.form.slug===n&&this.closeForm(),this.fetchServers()}finally{this.deletingName=``}}}async reconnectServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.reconnectingName)){this.reconnectingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n)+`/reconnect`,`POST`,void 0,{label:`reconnect mcp server`,errorFallback:`Failed to reconnect MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}let r=e.result.data,i=BX(r);i===`connected`?DL.success(`MCP server "`+t+`" reconnected.`):i===`disabled`?DL.success(`MCP server "`+t+`" is disabled; no connection was attempted.`):DL.error(`Reconnect attempted, but MCP server "`+t+`" is still `+i+`.`),r&&r.name?this.servers=(this.servers||[]).map(e=>zX(e)===zX(r)?r:e):this.fetchServers()}finally{this.reconnectingName=``}}}async openCatalog(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(n){this.catalogOpen=!0,this.catalogLoading=!0,this.catalogError=``,this.catalog={...RX(),server:n,status:BX(e)};try{let e=await qI(`/admin/mcp-servers/`+encodeURIComponent(n)+`/catalog`,{label:`mcp server catalog`});if(e.stale)return;if(e.status===503){this.available=!1,this.catalogError=`MCP server management is unavailable.`;return}if(e.status===404){this.catalogError=`MCP server "`+t+`" was not found.`;return}if(!e.ok){this.catalogError=e.status===401?`Authentication required.`:HI(e.data,`Failed to load MCP server catalog.`);return}this.catalog=QX(n,e.data)}catch(e){console.error(`Failed to load MCP server catalog:`,e),this.catalogError=`Failed to load MCP server catalog.`}finally{this.catalogLoading=!1}}}closeCatalog(){this.catalogOpen=!1,this.catalogLoading=!1,this.catalogError=``,this.catalog=RX()}},Gae=R(``),Kae=R(`

`),qae=R(`
`),Jae=R(`

`),Yae=R(`
  • `),Xae=R(`

      `),Zae=R(`

      No tools listed — the server may still be connecting or degraded.

      `),D9=R(` `,1),Qae=R(``);function $ae(e,t){E(t,!0);let n=O(()=>eZ(Q.catalog));sL(e,{get open(){return Q.catalogOpen},variant:`editor`,onclose:()=>Q.closeCatalog(),children:(e,t)=>{var r=Qae(),i=M(r),a=M(i),o=P(M(a),2),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=M(l,!0);T(l),T(o),T(a),aL(P(a,2),{label:`Close MCP server catalog`,onclick:()=>Q.closeCatalog()}),T(i);var d=P(i,2),f=e=>{M1(e,{label:`Loading catalog...`})},p=e=>{var t=Gae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalogError)),z(e,t)},m=e=>{var t=D9(),r=N(t),i=e=>{var t=Kae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalog.instructions)),z(e,t)};V(r,e=>{Q.catalog.instructions&&e(i)});var a=P(r,2);H(a,17,()=>I(n),e=>e.key,(e,t)=>{var n=Xae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).items,e=>e.key,(e,t)=>{var n=Yae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=qae(),r=M(n,!0);T(n),F(()=>{W(n,`title`,`Exposed on the aggregated /mcp endpoint as `+I(t).aggregated),B(r,I(t).aggregated)}),z(e,n)};V(a,e=>{I(t).aggregated&&e(o)});var s=P(a,2),c=e=>{var n=Jae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(s,e=>{I(t).description&&e(c)}),T(n),F(()=>{W(r,`title`,I(t).aggregated||I(t).name),B(i,I(t).name)}),z(e,n)}),T(a),T(n),F(()=>B(i,I(t).title)),z(e,n)});var o=P(a,2),s=e=>{z(e,Zae())},c=O(()=>tZ(Q.catalog));V(o,e=>{I(c)&&e(s)}),z(e,t)};V(d,e=>{Q.catalogLoading?e(f):Q.catalogError?e(p,1):e(m,-1)});var h=P(d,2),g=M(h);T(h),T(r),F((e,t)=>{B(c,Q.catalog.server),U(l,1,`audit-status-badge ${e??``}`,`svelte-1xqrzco`),B(u,t)},[()=>VX(Q.catalog),()=>BX(Q.catalog)]),L(`click`,g,()=>Q.closeCatalog()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var eoe=R(`

      The display name can change. The slug is the stable client-facing identity.

      `),toe=R(` Human-readable and Unicode-friendly. You can change it later.`,1),noe=R(`Derived from the name. You may edit it before saving.`),roe=R(`Immutable because it is used in URLs, scope headers, and aggregated tool names.`),ioe=R(` `,1),aoe=R(` stdio servers are config-only: declare them in config.yaml under mcp.servers.`,1),ooe=R(``),soe=R(`
      `),coe=R(`
      Headers
      Sent only to the configured server origin. Saved values are shown as ***; leave *** unchanged to keep the stored value.
      Advanced settings Description, access rules, and timeout
      `,1);function loe(e,t){E(t,!0);{let t=e=>{z(e,eoe())},n=O(()=>Q.formMode===`edit`?`Edit MCP Server`:`Add MCP Server`);R0(e,{get open(){return Q.formOpen},get title(){return I(n)},ariaLabel:`MCP server editor`,get error(){return Q.error},get submitting(){return Q.formSubmitting},onclose:()=>Q.closeForm(),onsubmit:()=>Q.submitForm(),headerHint:t,children:(e,t)=>{var n=coe(),r=N(n);B0(r,{id:`mcp-server-name`,label:`Name`,children:(e,t)=>{var n=toe(),r=N(n);$i(r),Ge(2),L(`input`,r,()=>Q.syncSlugFromName()),ca(r,()=>Q.form.name,e=>Q.form.name=e),z(e,n)},$$slots:{default:!0}});var i=P(r,2);B0(i,{id:`mcp-server-slug`,label:`Slug`,children:(e,t)=>{var n=ioe(),r=N(n);$i(r);var i=P(r,2),a=e=>{z(e,noe())},o=e=>{z(e,roe())};V(i,e=>{Q.formMode===`create`?e(a):e(o,-1)}),F(()=>r.disabled=Q.formMode===`edit`),L(`input`,r,()=>Q.markSlugEdited()),ca(r,()=>Q.form.slug,e=>Q.form.slug=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`mcp-server-transport`,label:`Transport`,children:(e,t)=>{var n=aoe(),r=N(n),i=M(r);i.value=i.__value=`http`;var a=P(i);a.value=a.__value=`sse`,T(r),Ge(2),Hi(r,()=>Q.form.transport,e=>Q.form.transport=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`mcp-server-url`,label:`URL`,children:(e,t)=>{var n=ooe();$i(n),ca(n,()=>Q.form.url,e=>Q.form.url=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=P(M(s),2);H(c,21,()=>Q.form.headers,ai,(e,t,n)=>{var r=soe(),i=M(r);$i(i);var a=P(i,2);$i(a),P1(P(a,2),{label:`Remove header`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Q.removeHeader(n),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),ca(i,()=>I(t).name,e=>I(t).name=e),ca(a,()=>I(t).value,e=>I(t).value=e),z(e,r)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l),Ge(2),T(s);var d=P(s,2),f=M(d);R6(M(f),{get enabled(){return Q.form.enabled},label:`MCP server`,onclick:()=>Q.form.enabled=!Q.form.enabled}),T(f),T(d);var p=P(d,2),m=P(M(p),2),h=M(m),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=P(M(y),2);$i(b),T(y);var x=P(y,2),S=P(M(x),2);mt(S),W(S,`placeholder`,`/ +/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var uoe=R(`Config`),doe=R(`
      `),foe=R(`
      `),poe=R(`
      NameTransportEndpointStatusToolsEnabledActions
      `);function moe(e,t){E(t,!0);function n(e){return HX(e,e=>VI.formatTimestamp(e))}var r=poe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>zX(e),(e,t)=>{var r=foe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,uoe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=doe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>BX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);P1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);P1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===zX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===zX(I(t)));P1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===zX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===zX(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>zX(I(t)),()=>UX(I(t)),()=>UX(I(t)),()=>VX(I(t)),()=>n(I(t)),()=>BX(I(t)),()=>FL(I(t).tool_count||0),()=>WX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var hoe=R(`

      MCP Servers

      `),goe=R(``),_oe=R(`
      MCP server management is unavailable.
      `),voe=R(``),yoe=R(`
      `),boe=R(`

      No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

      `),xoe=R(`

      No MCP servers match your filter.

      `),Soe=R(`
      `);function Coe(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`mcp-servers`&&Q.fetchServers()});var n=Soe(),r=M(n),i=M(r);yQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,hoe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=goe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,_oe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=voe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=yoe(),n=M(t);L$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);loe(g,{});var _=P(g,2);$ae(_,{});var v=P(_,2),y=e=>{moe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,boe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,xoe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var O9=`api_keys`,k9=`session_sticky_keys`,woe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[O9]:{label:`API Keys`,control:`keys`,hint:`Identified sessions stay on one key by default, improving provider prompt-cache hits. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[k9]:{label:`Session-sticky API keys`,control:`checkbox`,hint:`Keep each identified conversation on one API key to preserve provider prompt-cache affinity. Turn off to rotate keys round-robin on every request.`},[woe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function Toe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],session_sticky_keys:!0,base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Eoe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Doe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Ooe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==O9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...Toe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var koe=new Set([`name`,`type`,`enabled`]);function Aoe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!koe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function joe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function Moe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Noe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Poe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Foe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Noe(e&&e.api_keys),session_sticky_keys:!e||e.session_sticky_keys!==!1,base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Ioe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Loe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Roe(e,t);n&&(i[t.name]=n)}return i}function Roe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Ioe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function zoe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=new Set;for(let t of[...r,...i])a.add(t.name),n[t.name]=I9(e,t.name);for(let t of Object.keys(M9)){if(a.has(t)||t===`session_sticky_keys`)continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case O9:return F9(e&&e.api_keys);case j9:return NL(e&&e.models);case k9:return!!(e&&e.session_sticky_keys);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Eoe(this.rows,this.filter)}get schema(){return Ooe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await F1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await F1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Foe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=Aoe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=HI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){cR.fetchModels(),cR.fetchCategories()}async submitForm(){let e=this.schema,t=Loe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=zoe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await I1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}DL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await I1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,fL.error=t.error;return}if(t.status===`error`){fL.error=t.error;return}DL.success(`Provider "`+e+`" deleted.`),fL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||fL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},Boe=R(`Config`),Voe=R(` `,1),Hoe=R(`
      `),Uoe=R(`
      NameTypeBase URLAuthModelsEnabledUpdatedActions
      `);function Woe(e,t){E(t,!0);var n=Uoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Hoe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,Boe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Voe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);P1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>joe(I(t)),()=>Moe(I(t)),()=>VI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Goe=R(``),Koe=R(`
      `),qoe=R(`
      `,1),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(``),Qoe=R(``),$oe=R(` `),ese=R(` `),tse=R(`
      `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=tse(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Goe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=qoe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Koe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),P1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Yoe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=Joe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`change`,a,o),la(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Zoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},_=e=>{var a=Qoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`checkbox`?e(h,2):t.field.control===`textarea`?e(g,3):e(_,-1)});var v=P(f,2),y=e=>{var t=$oe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},b=e=>{var r=ese(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(v,e=>{I(r)?e(y):t.field.hint&&e(b,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var nse=R(`

      The name is the stable identity used for routing and cannot change once created.

      `),rse=R(``),ise=R(` `),ase=R(`Determines which fields the gateway uses to build requests.`),ose=R(` `),sse=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),cse=R(`Immutable once created.`),lse=R(`

      Pick a type to configure its credentials — each provider type asks for different settings.

      `),use=R(`
      Advanced settings
      `),dse=R(`
      `,1);function fse(e,t){E(t,!0);let n=O(()=>Doe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Poe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,nse())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);R0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=dse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=rse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,ase())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ose(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,sse())},y=e=>{z(e,cse())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,lse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);R6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=use(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var pse=R(`

      Providers

      `),mse=R(``),hse=R(`
      Provider credential management is unavailable.
      `),gse=R(``),_se=R(`
      `),vse=R(`

      No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

      `),yse=R(`

      No providers match your filter.

      `),bse=R(`
      `);function xse(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`providers-config`&&$.fetchPage()});var n=bse(),r=M(n),i=M(r);yQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,pse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as + environment variables. Providers declared in config.yaml or env vars + are read-only (Config badge) and cannot be edited or deleted from the + dashboard. Keys are masked after saving.`))},$$slots:{title:!0,help:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=mse();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=$.formSubmitting),L(`click`,t,()=>$.openCreate()),z(e,t)};V(o,e=>{$.available&&!q.needsAuth&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,hse())};V(c,e=>{!$.available&&!q.needsAuth&&e(l)});var u=P(c,2),d=e=>{var t=gse(),n=M(t,!0);T(t),F(()=>B(n,$.error)),z(e,t)};V(u,e=>{$.error&&!q.needsAuth&&!$.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading providers...`})};V(f,e=>{$.loading&&!q.needsAuth&&e(p)});var m=P(f,2),h=e=>{var t=_se(),n=M(t);L$(M(n),{id:`provider-credential-filter`,placeholder:`Filter by name, type, or base URL...`,label:`Filter providers by name, type, or base URL`,get value(){return $.filter},set value(e){$.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{($.rows.length>0||$.filter)&&$.available&&!q.needsAuth&&e(h)});var g=P(m,2);fse(g,{});var _=P(g,2),v=e=>{Woe(e,{})};V(_,e=>{$.filteredRows.length>0&&$.available&&!q.needsAuth&&e(v)});var y=P(_,2),b=e=>{z(e,vse())};V(y,e=>{$.rows.length===0&&!$.filter&&!$.loading&&!q.needsAuth&&!$.error&&$.available&&e(b)});var x=P(y,2),S=e=>{z(e,yse())};V(x,e=>{$.rows.length>0&&$.filteredRows.length===0&&$.filter&&!$.loading&&!q.needsAuth&&$.available&&e(S)}),T(n),z(e,n),D()}Hr([`click`]);function R9(){return{name:``,description:``,user_path:``,labels:``,dashboard_access:!1,expires_at:``}}function z9(e){let t=[];for(let n of String(e||``).split(`,`)){let e=n.trim();e&&!t.includes(e)&&t.push(e)}return t}function B9(e){let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t;for(let e of n.split(`/`)){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function Sse(e){if(B9(e))return``;let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t,r=[];for(let e of n.split(`/`)){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function Cse(e){let t=e||{},n=String(t.name||``).trim();if(!n)return{error:`Name is required.`};let r=B9(t.user_path);if(r)return{error:r};let i=Sse(t.user_path),a=z9(t.labels),o={name:n,description:String(t.description||``).trim()||void 0,user_path:i||void 0,labels:a.length?a:void 0,dashboard_access:t.dashboard_access?!0:void 0};return t.expires_at&&(o.expires_at=t.expires_at+`T23:59:59Z`),{payload:o}}function V9(e,t=Date.now()){let n=e&&e.expires_at;if(!n)return!1;let r=Date.parse(n);return Number.isFinite(r)&&r<=t}function H9(e){return e?!!e.deactivated_at||e.enabled===!1:!1}function U9(e,t=Date.now()){return!e||e.active===!1||H9(e)?!1:!V9(e,t)}function wse(e){return[e.name,e.description,e.user_path,e.redacted_value,...e.labels||[]].filter(Boolean).join(` `).toLowerCase()}function Tse(e,t={}){let{query:n=``,showInactive:r=!1,now:i=Date.now()}=t,a=String(n||``).trim().toLowerCase();return(Array.isArray(e)?e:[]).filter(e=>!r&&!U9(e,i)?!1:!a||wse(e).includes(a))}function W9(e,t){return H9(e)?2:+!U9(e,t)}function G9(e){let t=e&&e.expires_at;if(!t)return 1/0;let n=Date.parse(t);return Number.isFinite(n)?n:1/0}function K9(e){let t=Date.parse(e&&e.deactivated_at||``);return Number.isFinite(t)?t:-1/0}function Ese(e,t=Date.now()){return(Array.isArray(e)?e.slice():[]).sort((e,n)=>{let r=W9(e,t),i=W9(n,t);if(r!==i)return r-i;let[a,o]=r===2?[K9(e),K9(n)]:[G9(e),G9(n)];return a===o?String(e.name||``).localeCompare(String(n.name||``)):a>o?-1:1})}function Dse(e,t=Date.now()){return(Array.isArray(e)?e:[]).reduce((e,n)=>e+ +!U9(n,t),0)}function q9(){return{open:!1,id:``,name:``,value:``,submitting:!1,error:``}}var J9=new class{#e=k(j([]));get keys(){return I(this.#e)}set keys(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get showInactive(){return I(this.#a)}set showInactive(e){A(this.#a,e,!0)}#o=O(()=>Ese(Tse(this.keys,{query:this.filter,showInactive:this.showInactive})));get visibleKeys(){return I(this.#o)}set visibleKeys(e){A(this.#o,e)}#s=O(()=>Dse(this.keys));get inactiveCount(){return I(this.#s)}set inactiveCount(e){A(this.#s,e)}#c=k(!1);get formOpen(){return I(this.#c)}set formOpen(e){A(this.#c,e,!0)}#l=k(!1);get formSubmitting(){return I(this.#l)}set formSubmitting(e){A(this.#l,e,!0)}#u=k(``);get issuedValue(){return I(this.#u)}set issuedValue(e){A(this.#u,e,!0)}#d=k(``);get deactivatingID(){return I(this.#d)}set deactivatingID(e){A(this.#d,e,!0)}#f=k(``);get dashboardAccessID(){return I(this.#f)}set dashboardAccessID(e){A(this.#f,e,!0)}#p=k(j(R9()));get form(){return I(this.#p)}set form(e){A(this.#p,e,!0)}#m=k(j(q9()));get labelsEditor(){return I(this.#m)}set labelsEditor(e){A(this.#m,e,!0)}copyState=F5({logPrefix:`Failed to copy auth key:`});async fetchKeys(){this.loading=!0,this.error=``;try{let e=await F1(`/admin/auth-keys`,{label:`auth keys`,errorFallback:`Unable to load API keys.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.keys=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.error=e.error;return}this.available=!0,this.keys=e.items}finally{this.loading=!1}}openForm(){this.formSubmitting||this.formOpen||(this.formOpen=!0,this.error=``,this.issuedValue||(this.copyState.reset(),this.form=R9()))}closeForm(){this.formOpen&&(this.formOpen=!1,this.error=``,this.copyState.reset(),!this.formSubmitting&&!this.issuedValue&&(this.form=R9()))}copyIssuedValue(){return this.copyState.copy(this.issuedValue)}dismissIssuedKey(){this.issuedValue=``,this.copyState.reset(),this.form=R9()}async submitForm(){let e=Cse(this.form);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/auth-keys`,`POST`,e.payload,{label:`create API key`,errorFallback:`Failed to create API key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error,t.result&&t.result.status!==401&&console.error(`Failed to create API key:`,t.result.status,this.error);return}let n=t.result.data||{};this.issuedValue=n.value||``,this.formOpen=!0,this.copyState.reset(),this.form=R9(),this.fetchKeys()}finally{this.formSubmitting=!1}}openLabelsEditor(e){!e||this.labelsEditor.submitting||(this.labelsEditor={open:!0,id:e.id,name:e.name||``,value:(e.labels||[]).join(`, `),submitting:!1,error:``})}closeLabelsEditor(){!this.labelsEditor.open||this.labelsEditor.submitting||(this.labelsEditor=q9())}async submitLabelsEditor(){let e=this.labelsEditor;if(!e.open||e.submitting||!e.id)return;e.submitting=!0,e.error=``;let t={labels:z9(e.value)};try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/labels`,`PUT`,t,{label:`update API key labels`,errorFallback:`Failed to update labels.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,e.error=n.error;return}if(n.status===`error`){e.error=n.error,n.result&&n.result.status!==401&&console.error(`Failed to update auth key labels:`,n.result.status,e.error);return}DL.success(`Labels updated for key "`+e.name+`".`),e.submitting=!1,this.closeLabelsEditor(),this.fetchKeys()}finally{e.submitting=!1}}async toggleDashboardAccess(e){if(!e||!e.active||this.dashboardAccessID)return;let t=!e.dashboard_access;this.dashboardAccessID=e.id;try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/dashboard-access`,`PUT`,{dashboard_access:t},{label:`update API key dashboard access`,errorFallback:`Failed to update dashboard access.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,DL.error(n.error);return}if(n.status===`error`){n.result&&n.result.status!==401&&console.error(`Failed to update auth key dashboard access:`,n.result.status,n.error),DL.error(n.error);return}DL.success(`Dashboard access `+(t?`granted to`:`revoked for`)+` key "`+e.name+`".`),this.fetchKeys()}finally{this.dashboardAccessID=``}}async deactivateKey(e){if(!(!e||!e.active)&&window.confirm(`Deactivate key "`+e.name+`"? This cannot be undone.`)){this.deactivatingID=e.id;try{let t=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/deactivate`,`POST`,void 0,{label:`deactivate API key`,errorFallback:`Failed to deactivate key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,DL.error(t.error);return}if(t.status===`error`){t.result&&t.result.status!==401&&console.error(`Failed to deactivate auth key:`,t.result.status,t.error),DL.error(t.error);return}DL.success(`Key "`+e.name+`" deactivated.`),this.fetchKeys()}finally{this.deactivatingID=``}}}},Ose=R(``),kse=R(`

      Store this key securely — it won’t be shown again.

      `),Ase=R(``),jse=R(``),Mse=R(``),Nse=R(``),Pse=R(`
      `);function Fse(e,t){E(t,!0);{let t=O(()=>J9.issuedValue?``:J9.error),n=O(()=>J9.issuedValue?`Done, I’ve stored it`:`Create API Key`),r=O(()=>J9.issuedValue?`check`:`plus`);R0(e,{get open(){return J9.formOpen},title:`Create API Key`,ariaLabel:`API key editor`,get error(){return I(t)},get submitting(){return J9.formSubmitting},get submitLabel(){return I(n)},submittingLabel:`Creating...`,get submitIcon(){return I(r)},cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeForm(),onsubmit:()=>J9.issuedValue?J9.dismissIssuedKey():J9.submitForm(),children:(e,t)=>{var n=Qr(),r=N(n),i=e=>{var t=kse(),n=P(M(t),2),r=M(n),i=M(r,!0);T(r),f9(P(r,2),{get state(){return J9.copyState},onclick:()=>J9.copyIssuedValue()}),T(n);var a=P(n,2),o=e=>{z(e,Ose())};V(a,e=>{J9.copyState.error&&e(o)}),T(t),F(()=>B(i,J9.issuedValue)),z(e,t)},a=e=>{var t=Pse(),n=M(t),r=M(n),i=P(M(r),2);$i(i),T(r);var a=P(r,2),o=P(M(a),2);$i(o),T(a),T(n);var s=P(n,2),c=M(s);yQ(c,{copyId:`auth-key-user-path-help-copy`,label:`API key user path help`,title:e=>{z(e,Ase())},help:e=>{Ge(),z(e,Zr(`When set, this key overrides the configured user path request + header for audit logging and downstream request context.`))},$$slots:{title:!0,help:!0}});var l=P(c,2);$i(l),T(s);var u=P(s,2),d=M(u);yQ(d,{copyId:`auth-key-labels-help-copy`,label:`API key labels help`,title:e=>{z(e,jse())},help:e=>{Ge(),z(e,Zr(`Every request authenticated with this key gets these labels, in + addition to any labels from tagging headers. Labels show up in + usage analytics, the request log, and audit logs.`))},$$slots:{title:!0,help:!0}});var f=P(d,2);$i(f),T(u);var p=P(u,2),m=M(p);yQ(m,{copyId:`auth-key-dashboard-access-help-copy`,label:`API key dashboard access help`,title:e=>{z(e,Mse())},help:e=>{Ge(),z(e,Zr(`When off, this key is denied the dashboard and every /admin API + endpoint. Model endpoints and GET /v1/usage stay available to + the key. The master key always has dashboard access.`))},$$slots:{title:!0,help:!0}});var h=P(m,2),g=M(h);$i(g),Ge(2),T(h),T(p),B0(P(p,2),{id:`auth-key-description`,label:`Description (optional)`,children:(e,t)=>{var n=Nse();mt(n),ca(n,()=>J9.form.description,e=>J9.form.description=e),z(e,n)},$$slots:{default:!0}}),T(t),ca(i,()=>J9.form.name,e=>J9.form.name=e),ca(o,()=>J9.form.expires_at,e=>J9.form.expires_at=e),ca(l,()=>J9.form.user_path,e=>J9.form.user_path=e),ca(f,()=>J9.form.labels,e=>J9.form.labels=e),la(g,()=>J9.form.dashboard_access,e=>J9.form.dashboard_access=e),z(e,t)};V(r,e=>{J9.issuedValue?e(i):e(a,-1)}),z(e,n)},$$slots:{default:!0}})}D()}var Ise=R(`

      `),Lse=R(`

      Applies to new requests made with this key. Leave empty to remove all labels.

      `,1);function Rse(e,t){E(t,!0),R0(e,{get open(){return J9.labelsEditor.open},title:`Edit Labels`,ariaLabel:`API key labels editor`,get error(){return J9.labelsEditor.error},get submitting(){return J9.labelsEditor.submitting},submitLabel:`Save Labels`,cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeLabelsEditor(),onsubmit:()=>J9.submitLabelsEditor(),headerHint:e=>{var t=Ise(),n=M(t,!0);T(t),F(()=>B(n,J9.labelsEditor.name)),z(e,t)},children:(e,t)=>{B0(e,{id:`auth-key-labels-edit`,label:`Labels (comma-separated)`,children:(e,t)=>{var n=Lse(),r=N(n);$i(r),Ge(2),ca(r,()=>J9.labelsEditor.value,e=>J9.labelsEditor.value=e),z(e,n)},$$slots:{default:!0}})},$$slots:{headerHint:!0,default:!0}}),D()}var zse=R(` `),Bse=R(`
      `),Vse=R(``),Hse=R(`Expired`),Use=R(` `),Wse=R(` `,1),Gse=R(`Deactivated`),Kse=R(`
      `),qse=R(`
      NameDescriptionUser PathLabelsTokenDashboard Access ExpiresCreated
      `);function Jse(e,t){E(t,!0);var n=qse(),r=M(n),i=M(r),a=M(i),o=P(M(a),5),s=M(o);K(P(M(s)),{name:`info`,width:`13`,height:`13`}),T(s),T(o),Ge(3),T(a),T(i);var c=P(i);H(c,21,()=>J9.visibleKeys,e=>e.id,(e,t)=>{var n=Kse();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i),s=M(o,!0);T(o);var c=P(o),l=M(c,!0);T(c);var u=P(c),d=M(u),f=e=>{var n=Bse();H(n,20,()=>I(t).labels||[],e=>e,(e,t)=>{var n=zse(),r=M(n,!0);T(n),F(e=>{zi(n,e),B(r,t)},[()=>_Y(t)]),z(e,n)}),T(n),z(e,n)},p=e=>{z(e,Vse())};V(d,e=>{(I(t).labels||[]).length>0?e(f):e(p,-1)}),T(u);var m=P(u),h=M(m),g=M(h,!0);T(h),T(m);var _=P(m),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x),C=e=>{var n=Use(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{z(e,Hse())},s=O(()=>V9(I(t)));V(a,e=>{I(s)&&e(o)}),T(n),F(e=>B(i,e),[()=>HL(I(t).expires_at)]),z(e,n)},w=e=>{z(e,Zr(`—`))};V(S,e=>{I(t).expires_at?e(C):e(w,-1)}),T(x);var ee=P(x),te=M(ee,!0);T(ee);var ne=P(ee),re=M(ne),ie=M(re),ae=e=>{var n=Wse(),r=N(n);{let e=O(()=>(I(t).dashboard_access?`Revoke dashboard access for API key `:`Grant dashboard access to API key `)+I(t).name),n=O(()=>!!J9.dashboardAccessID);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>J9.toggleDashboardAccess(I(t)),get disabled(){return I(n)},children:(e,n)=>{{let n=O(()=>I(t).dashboard_access?`shield-off`:`shield-check`);K(e,{get name(){return I(n)},class:`table-icon-svg`})}},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>`Edit labels for API key `+I(t).name);P1(i,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>J9.openLabelsEditor(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var a=P(i,2);{let e=O(()=>(J9.deactivatingID===I(t).id?`Deactivating API key `:`Deactivate API key `)+I(t).name),n=O(()=>J9.deactivatingID===I(t).id);P1(a,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>J9.deactivateKey(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`power`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)},oe=e=>{var n=Gse();F(e=>W(n,`title`,e),[()=>I(t).deactivated_at?`Deactivated on `+UL(I(t).deactivated_at):`Deactivated`]),z(e,n)},se=O(()=>H9(I(t)));V(ie,e=>{I(t).active?e(ae):I(se)&&e(oe,1)}),T(re),T(ne),T(n),F((e,i,o)=>{r=U(n,1,`svelte-nf0ldb`,null,r,e),B(a,I(t).name),B(s,I(t).description||`—`),B(l,I(t).user_path||`—`),B(g,I(t).redacted_value),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).dashboard_access,"auth-key-status-inactive":!I(t).dashboard_access}),B(b,I(t).dashboard_access?`Allowed`:`Denied`),W(x,`title`,i),B(te,o)},[()=>({"auth-key-row-deactivated":H9(I(t))}),()=>I(t).expires_at?UL(I(t).expires_at):``,()=>VI.formatTimestamp(I(t).created_at)]),z(e,n)}),T(c),T(r),T(n),z(e,n),D()}var Yse=R(``),Xse=R(`
      API key management is unavailable.
      `),Zse=R(``),Qse=R(`

      Managed API keys authenticate requests to the gateway. Deactivation is + permanent — create a new key if access needs to be restored.

      `),$se=R(`
      `),ece=R(`
      `),tce=R(`

      `),nce=R(`

      No API keys yet. Issue a key to get started.

      `),rce=R(`
      `);function ice(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`auth-keys`&&J9.fetchKeys()});var n=rce(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=Yse();K(M(t),{name:`plus`,class:`table-icon-svg`}),Ge(2),T(t),F(()=>t.disabled=J9.formSubmitting),L(`click`,t,()=>{J9.formSubmitting||J9.openForm()}),z(e,t)};V(a,e=>{J9.available&&!q.authError&&e(o)}),T(i),T(r);var s=P(r,2),c=e=>{z(e,Xse())};V(s,e=>{!J9.available&&!q.authError&&e(c)});var l=P(s,2),u=e=>{var t=Zse(),n=M(t,!0);T(t),F(()=>B(n,J9.error)),z(e,t)};V(l,e=>{J9.error&&!q.authError&&!J9.formOpen&&e(u)});var d=P(l,2),f=e=>{z(e,Qse())};V(d,e=>{J9.available&&!q.authError&&e(f)});var p=P(d,2);Fse(p,{});var m=P(p,2);Rse(m,{});var h=P(m,2),g=e=>{var t=$se();JZ(M(t),{size:18,label:`Loading API keys`}),T(t),z(e,t)};V(h,e=>{J9.loading&&J9.keys.length===0&&e(g)});var _=P(h,2),v=e=>{var t=ece(),n=M(t);L$(M(n),{placeholder:`Filter by name, description, user path, label, or token...`,label:`Filter API keys by name, description, user path, label, or token`,get value(){return J9.filter},set value(e){J9.filter=e}}),T(n);var r=P(n,2),i=M(r),a=M(i);$i(a);var o=P(a,2),s=P(M(o)),c=e=>{var t=Zr();F(()=>B(t,`(${J9.inactiveCount??``})`)),z(e,t)};V(s,e=>{J9.inactiveCount>0&&e(c)}),T(o),T(i),T(r),T(t),la(a,()=>J9.showInactive,e=>J9.showInactive=e),z(e,t)};V(_,e=>{J9.keys.length>0&&J9.available&&e(v)});var y=P(_,2),b=e=>{Jse(e,{})};V(y,e=>{J9.visibleKeys.length>0&&J9.available&&e(b)});var x=P(y,2),S=e=>{var t=tce(),n=M(t);T(t),F(()=>B(n,`No API keys match the current filter.${J9.inactiveCount>0&&!J9.showInactive?` `+J9.inactiveCount+` inactive `+(J9.inactiveCount===1?`key is`:`keys are`)+` hidden.`:``}`)),z(e,t)};V(x,e=>{J9.keys.length>0&&J9.visibleKeys.length===0&&J9.available&&e(S)});var C=P(x,2),w=e=>{z(e,nce())};V(C,e=>{J9.keys.length===0&&!J9.loading&&!q.authError&&!J9.error&&J9.available&&e(w)}),T(n),z(e,n),D()}Hr([`click`]);var ace=R(`

      Timezone

      `),oce=R(``),sce=R(``),cce=R(`
      `,1);function lce(e,t){E(t,!0);function n(){VI.saveOverride(),q.refresh()}function r(){VI.clearOverride(),q.refresh()}var i=cce(),a=N(i);yQ(M(a),{copyId:`timezone-help-copy`,label:`timezone help`,text:`Day-based analytics, charts, and date filters use your effective timezone. Usage and audit logs keep UTC in the hover title while rendering row timestamps in your effective timezone.`,title:e=>{z(e,ace())},$$slots:{title:!0}}),T(a);var o=P(a,2),s=M(o),c=P(M(s),2),l=M(c),u=M(l);T(l),l.value=l.__value=``,H(P(l),17,()=>VI.options,e=>e.value,(e,t)=>{var n=oce(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(c),T(s),T(o);var d=P(o,2),f=M(d),p=e=>{var t=sce();L(`click`,t,r),z(e,t)};V(f,e=>{VI.override&&e(p)}),T(d),F(e=>B(u,`Automatic (${e??``})`),[()=>VI.detectedTimeZoneLabel()]),Vr(`focus`,c,()=>VI.ensureOptions()),L(`change`,c,n),Hi(c,()=>VI.override,e=>VI.override=e),z(e,i),D()}Hr([`change`,`click`]);var uce=R(``),dce=R(`

      Failover

      `,1);function fce(e,t){E(t,!0);let n=O(()=>Z.failoverSaving||Z.failoverGenerating||Z.failoverDraftSaving||!Z.failoverAvailable||!Z.failoverEnabled());var r=dce(),i=N(r),a=P(M(i),2),o=M(a),s=M(o);K(s,{name:`wand-sparkles`,class:`form-action-icon`});var c=P(s,2),l=M(c,!0);T(c),T(o);var u=P(o,2);K(M(u),{name:`trash-2`,class:`form-action-icon`}),Ge(2),T(u),T(a),T(i);var d=P(i,2),f=M(d),p=e=>{var t=uce(),n=M(t,!0);T(t),F(()=>B(n,Z.failoverError)),z(e,t)};V(f,e=>{Z.failoverError&&e(p)}),T(d),A8(P(d,2),{}),F(()=>{o.disabled=I(n),B(l,Z.failoverGenerating?`Generating...`:`Generate failover models automatically`),u.disabled=I(n)}),L(`click`,o,()=>Z.generateFailoverRules()),L(`click`,u,()=>Z.openFailoverResetDialog()),z(e,r),D()}Hr([`click`]);function pce(){return{daily_reset_hour:0,daily_reset_minute:0,weekly_reset_weekday:1,weekly_reset_hour:0,weekly_reset_minute:0,monthly_reset_day:1,monthly_reset_hour:0,monthly_reset_minute:0}}function Y9(e,t){let n=t||{},r=(e,t)=>{if(e===``)return t;let n=Number(e);return Number.isFinite(n)&&Number.isInteger(n)?Math.trunc(n):t},i=(e,t)=>r(n[e],t),a=(t,n)=>e?r(e[t],n):n;return{daily_reset_hour:a(`daily_reset_hour`,i(`daily_reset_hour`,0)),daily_reset_minute:a(`daily_reset_minute`,i(`daily_reset_minute`,0)),weekly_reset_weekday:a(`weekly_reset_weekday`,i(`weekly_reset_weekday`,1)),weekly_reset_hour:a(`weekly_reset_hour`,i(`weekly_reset_hour`,0)),weekly_reset_minute:a(`weekly_reset_minute`,i(`weekly_reset_minute`,0)),monthly_reset_day:a(`monthly_reset_day`,i(`monthly_reset_day`,1)),monthly_reset_hour:a(`monthly_reset_hour`,i(`monthly_reset_hour`,0)),monthly_reset_minute:a(`monthly_reset_minute`,i(`monthly_reset_minute`,0))}}function mce(){return[{value:0,label:`Sunday`},{value:1,label:`Monday`},{value:2,label:`Tuesday`},{value:3,label:`Wednesday`},{value:4,label:`Thursday`},{value:5,label:`Friday`},{value:6,label:`Saturday`}]}var hce=R(`

      Budget Resets

      `),gce=R(``),_ce=R(`

      If the selected day does not exist in a month, the reset runs on + the last day of that month.

      `),vce=R(``),yce=R(``),bce=R(`
      Monthly
      Weekly
      Daily
      `,1);function xce(e,t){E(t,!0);let n=k(j(pce())),r=k(!1),i=k(!1),a=k(``),o=k(!1),s=O(()=>QI.budgetsVisible());async function c(){if(await QI.ensureLoaded(),!QI.budgetsVisible()){A(a,``);return}A(r,!0),A(a,``);try{let e=await qI(`/admin/budgets/settings`,{label:`budget settings`});if(e.stale)return;if(!e.ok){A(a,`Unable to load budget settings.`);return}A(n,Y9(e.data,I(n)),!0)}catch(e){console.error(`Failed to fetch budget settings:`,e),A(a,`Unable to load budget settings.`)}finally{A(r,!1)}}async function l(){if(!I(i)){A(i,!0);try{let e=await JI(`/admin/budgets/settings`,`PUT`,Y9(I(n),I(n)),{label:`budget settings`});if(e.stale)return;if(!e.ok){DL.error(`Unable to save budget settings.`);return}A(n,Y9(e.data,I(n)),!0),A(a,``),DL.success(`Budget settings saved.`)}catch(e){console.error(`Failed to save budget settings:`,e),DL.error(`Unable to save budget settings.`)}finally{A(i,!1)}}}Mn(()=>{q.refreshTick,c()});var u=Qr(),d=N(u),f=e=>{var t=bce(),s=N(t),c=M(s);yQ(c,{copyId:`budget-settings-help-copy`,label:`budget help`,text:`Budget reset anchors are stored in the database and evaluated in UTC. Hourly budgets reset at the top of each hour.`,title:e=>{z(e,hce())},$$slots:{title:!0}});var u=P(c,2),d=M(u),f=P(M(d),2),p=M(f);yQ(p,{copyId:`budget-monthly-day-help-copy`,label:`day of month help`,external:!0,get open(){return I(o)},set open(e){A(o,e,!0)},title:e=>{z(e,gce())},$$slots:{title:!0}});var m=P(p,2);$i(m),T(f);var h=P(f,2),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=M(y),x=e=>{z(e,_ce())};V(b,e=>{I(o)&&e(x)}),T(y),T(d);var S=P(d,2),C=P(M(S),2),w=P(M(C),2);H(w,21,mce,e=>e.value,(e,t)=>{var n=vce(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(w),T(C);var ee=P(C,2),te=P(M(ee),2);$i(te),T(ee);var ne=P(ee,2),re=P(M(ne),2);$i(re),T(ne),Ge(2),T(S);var ie=P(S,2),ae=P(M(ie),4),oe=P(M(ae),2);$i(oe),T(ae);var se=P(ae,2),ce=P(M(se),2);$i(ce),T(se),Ge(2),T(ie),T(u);var le=P(u,2),ue=M(le);K(M(ue),{name:`save`,class:`form-action-icon`}),Ge(2),T(ue);var de=P(ue,2),fe=e=>{JZ(e,{size:16,label:`Loading budget settings`})};V(de,e=>{I(r)&&e(fe)}),T(le),T(s);var pe=P(s,2),me=M(pe),he=e=>{var t=yce(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)};V(me,e=>{I(a)&&e(he)}),T(pe),F(()=>{ue.disabled=I(i)||I(r),W(ue,`aria-busy`,I(i)?`true`:`false`)}),ca(m,()=>I(n).monthly_reset_day,e=>I(n).monthly_reset_day=e),ca(g,()=>I(n).monthly_reset_hour,e=>I(n).monthly_reset_hour=e),ca(v,()=>I(n).monthly_reset_minute,e=>I(n).monthly_reset_minute=e),Hi(w,()=>I(n).weekly_reset_weekday,e=>I(n).weekly_reset_weekday=e),ca(te,()=>I(n).weekly_reset_hour,e=>I(n).weekly_reset_hour=e),ca(re,()=>I(n).weekly_reset_minute,e=>I(n).weekly_reset_minute=e),ca(oe,()=>I(n).daily_reset_hour,e=>I(n).daily_reset_hour=e),ca(ce,()=>I(n).daily_reset_minute,e=>I(n).daily_reset_minute=e),L(`click`,ue,l),z(e,t)};V(d,e=>{I(s)&&e(f)}),z(e,u),D()}Hr([`click`]);var Sce=R(`

      Reset All Budgets

      Start new budget periods for every configured budget without changing + the limits.

      `);function Cce(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=Sce(),n=P(M(t),2),r=M(n);K(M(r),{name:`rotate-ccw`,class:`form-action-icon`}),Ge(2),T(r),T(n),T(t),F(()=>r.disabled=Y.resetAllLoading),L(`click`,r,()=>Y.openResetDialog()),z(e,t)},a=O(()=>QI.budgetsVisible());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}Hr([`click`]);function wce(){return{header:``,prefix:``,do_not_pass:!1,delimiter:``,managed:!1}}function X9(e){return(e&&Array.isArray(e.headers)?e.headers:[]).map(e=>({header:typeof e.header==`string`?e.header:``,prefix:typeof e.prefix==`string`?e.prefix:``,do_not_pass:e.do_not_pass===!0,delimiter:typeof e.delimiter==`string`&&e.delimiter!==`,`?e.delimiter:``,managed:e.managed===!0}))}function Tce(e){return{headers:(Array.isArray(e)?e:[]).filter(e=>!e.managed&&e.header.trim()!==``).map(e=>({header:e.header.trim(),prefix:e.prefix,do_not_pass:e.do_not_pass,delimiter:e.delimiter}))}}function Ece(e){return e&&e.error&&e.error.message?e.error.message:``}var Dce=R(`

      Tagging based on headers

      `),Oce=R(`config`),kce=R(``),Ace=R(`
      `),jce=R(`

      No tagging headers configured. Requests are not labelled.

      `),Mce=R(``),Nce=R(`
      `,1);function Pce(e,t){E(t,!0);let n=k(j([])),r=k(!0),i=k(!1),a=k(!1),o=k(``);function s(){I(n).push(wce())}function c(e){let t=I(n)[e];!t||t.managed||I(n).splice(e,1)}async function l(){A(i,!0),A(o,``);try{let e=await qI(`/admin/tagging/settings`,{label:`tagging settings`});if(e.stale)return;if(!e.ok){A(o,`Unable to load tagging settings.`);return}A(n,X9(e.data),!0),A(r,e.data&&e.data.editable!==!1,!0)}catch(e){console.error(`Failed to fetch tagging settings:`,e),A(o,`Unable to load tagging settings.`)}finally{A(i,!1)}}async function u(){if(!(I(a)||!I(r))){A(a,!0);try{let e=await JI(`/admin/tagging/settings`,`PUT`,Tce(I(n)),{label:`tagging settings`});if(e.stale)return;if(!e.ok){DL.error(e.status!==401&&Ece(e.data)||`Unable to save tagging settings.`);return}A(n,X9(e.data),!0),A(r,e.data&&e.data.editable!==!1,!0),A(o,``),DL.success(`Tagging settings saved.`)}catch(e){console.error(`Failed to save tagging settings:`,e),DL.error(`Unable to save tagging settings.`)}finally{A(a,!1)}}}Mn(()=>{q.refreshTick,l()});var d=Nce(),f=N(d),p=M(f);yQ(p,{copyId:`tagging-settings-help-copy`,label:`tagging help`,text:`Each request is labelled from the listed headers; labels land in usage tracking and audit logs. A header value can carry several labels split by the delimiter (default: comma). The prefix is trimmed from each label only — the header itself is forwarded unchanged unless 'Do not pass' is checked. Rows marked CONFIG come from config.yaml or TAGGING_HEADER_* env vars and are read-only here.`,title:e=>{z(e,Dce())},$$slots:{title:!0}});var m=P(p,2),h=M(m);H(h,17,()=>I(n),ai,(e,t,n)=>{var i=Ace(),a=M(i),o=M(a);W(o,`for`,`tagging-header-`+n);var s=P(o,2);$i(s),W(s,`id`,`tagging-header-`+n),T(a);var l=P(a,2),u=M(l);W(u,`for`,`tagging-prefix-`+n);var d=P(u,2);$i(d),W(d,`id`,`tagging-prefix-`+n),T(l);var f=P(l,2),p=M(f);W(p,`for`,`tagging-delimiter-`+n);var m=P(p,2);$i(m),W(m,`id`,`tagging-delimiter-`+n),T(f);var h=P(f,2),g=M(h);$i(g),Ge(2),T(h);var _=P(h,2),v=M(_),y=e=>{z(e,Oce())},b=e=>{var i=kce();F(()=>{i.disabled=!I(r),W(i,`aria-label`,`Remove tagging header `+(I(t).header||n+1))}),L(`click`,i,()=>c(n)),z(e,i)};V(v,e=>{I(t).managed?e(y):e(b,-1)}),T(_),T(i),F(()=>{s.disabled=I(t).managed||!I(r),d.disabled=I(t).managed||!I(r),m.disabled=I(t).managed||!I(r),g.disabled=I(t).managed||!I(r)}),ca(s,()=>I(t).header,e=>I(t).header=e),ca(d,()=>I(t).prefix,e=>I(t).prefix=e),ca(m,()=>I(t).delimiter,e=>I(t).delimiter=e),la(g,()=>I(t).do_not_pass,e=>I(t).do_not_pass=e),z(e,i)});var g=P(h,2),_=e=>{JZ(e,{size:16,label:`Loading tagging settings`})};V(g,e=>{I(i)&&e(_)});var v=P(g,2),y=e=>{z(e,jce())};V(v,e=>{!I(i)&&I(n).length===0&&e(y)}),T(m);var b=P(m,2),x=M(b);K(M(x),{name:`plus`,class:`form-action-icon`}),Ge(2),T(x);var S=P(x,2);K(M(S),{name:`save`,class:`form-action-icon`}),Ge(2),T(S),T(b),T(f);var C=P(f,2),w=M(C),ee=e=>{var t=Mce(),n=M(t,!0);T(t),F(()=>B(n,I(o))),z(e,t)};V(w,e=>{I(o)&&e(ee)}),T(C),F(()=>{x.disabled=!I(r)||I(a)||I(i),S.disabled=!I(r)||I(a)||I(i),W(S,`aria-busy`,I(a)?`true`:`false`)}),L(`click`,x,s),L(`click`,S,u),z(e,d),D()}Hr([`click`]);function Fce(e){let t=e||{};if(t.selectedPreset)return{days:parseInt(t.selectedPreset,10)||30};let n=t.customStartDate?VL(t.customStartDate):``,r=t.customEndDate||t.today||null;return{start_date:n,end_date:r?VL(r):``}}function Ice(e,t,n,r){return{...Fce(e),user_path:String(t||``).trim(),selector:String(n||``).trim(),confirmation:r}}function Lce(e){let t=Number(e&&e.matched||0),n=Number(e&&e.recalculated||0),r=Number(e&&e.without_pricing||0),i=`Pricing recalculated for `+n+` of `+t+` usage record`+(t===1?``:`s`)+`.`;return r>0&&(i+=` `+r+` usage record`+(r===1?` still lacks`:`s still lack`)+` pricing metadata.`),i}var Rce=R(`

      Usage Pricing Recalculation

      `),zce=R(`
      `);function Bce(e,t){E(t,!0);let n=k(``),r=k(``),i=k(!1),a=O(()=>QI.booleanFlag(`USAGE_PRICING_RECALCULATION_ENABLED`,!1));function o(){if(!I(a)){DL.error(`Usage pricing recalculation is unavailable.`);return}I(i)||fL.open({title:`Recalculate Pricing`,titleId:`pricingRecalculateDialogTitle`,inputId:`pricing-recalculate-confirmation`,requiredText:`recalculate`,confirmLabel:`Recalculate Pricing`,icon:`calculator`,dialogClass:`pricing-recalculate-dialog`,message:`Stored usage cost fields matching the selected filters will be overwritten.`,onConfirm:()=>s()})}async function s(){if(!I(a)){DL.error(`Usage pricing recalculation is unavailable.`);return}if(!I(i)){A(i,!0);try{let e=await JI(`/admin/usage/recalculate-pricing`,`POST`,Ice({selectedPreset:sR.selectedPreset,customStartDate:sR.customStartDate,customEndDate:sR.customEndDate,today:VI.todayDate()},I(n),I(r),`recalculate`),{label:`pricing recalculation`});if(e.stale)return;if(!e.ok){fL.error=`Unable to recalculate pricing.`;return}fL.close(),DL.success(Lce(e.data)),pR.fetchUsage()}catch(e){console.error(`Failed to recalculate pricing:`,e),fL.error=`Unable to recalculate pricing.`}finally{A(i,!1)}}}var c=Qr(),l=N(c),u=e=>{var t=zce(),s=M(t);yQ(s,{copyId:`pricing-recalculate-help-copy`,label:`pricing recalculation help`,text:`Recalculate stored input, output, total, and Pro Saved costs from the current model pricing metadata. This overwrites matching historical cost fields. Filters are applied to the selected date range, user path subtree, and provider/model selector or alias.`,title:e=>{z(e,Rce())},$$slots:{title:!0}});var c=P(s,2),l=M(c),u=P(M(l),2);AR(M(u),{}),T(u),T(l);var d=P(l,2),f=P(M(d),2);$i(f),T(d);var p=P(d,2),m=P(M(p),2);$i(m),T(p),T(c);var h=P(c,2),g=M(h);K(M(g),{name:`calculator`,class:`form-action-icon`}),Ge(2),T(g),T(h),T(t),F(()=>{g.disabled=I(i)||!I(a),W(g,`aria-busy`,I(i)?`true`:`false`)}),ca(f,()=>I(n),e=>A(n,e)),ca(m,()=>I(r),e=>A(r,e)),L(`click`,g,o),z(e,t)};V(l,e=>{I(a)&&e(u)}),z(e,c),D()}Hr([`click`]);function Z9(e){return String(e&&e.status||`ok`).toLowerCase()}function Q9(e){if(!e||typeof e!=`object`)return`Runtime refresh completed.`;let t=Number(e.model_count||0),n=Number(e.provider_count||0),r=Z9(e);return(r===`ok`?`Runtime refreshed.`:r===`partial`?`Runtime refresh completed with warnings.`:`Runtime refresh failed.`)+` `+t+` model`+(t===1?``:`s`)+` across `+n+` provider`+(n===1?``:`s`)+`.`}function Vce(e){return!!e&&Z9(e)===`ok`}function $9(e){let t=e&&e.steps;return Array.isArray(t)?t:[]}function Hce(e){let t=String(e&&e.name||``).replace(/_/g,` `),n=String(e&&e.status||``).trim(),r=String(e&&(e.error||e.message)||``).trim();return t?r?t+`: `+n+` - `+r:t+`: `+n:r||n||``}var Uce=R(`

      Runtime Refresh

      `),Wce=R(`
    • `),Gce=R(`
        `),Kce=R(`
        `,1);function qce(e,t){E(t,!0);let n=k(!1),r=k(null);async function i(){if(!I(n)){A(n,!0),A(r,null);try{let e=await JI(`/admin/runtime/refresh`,`POST`,void 0,{label:`runtime refresh`});if(e.stale)return;if(!e.ok){DL.error(`Runtime refresh failed.`);return}A(r,e.data&&typeof e.data==`object`?e.data:null,!0),Vce(I(r))?DL.success(Q9(I(r))):DL.error(Q9(I(r))),q.refresh()}catch(e){console.error(`Failed to refresh runtime:`,e),DL.error(`Runtime refresh failed.`)}finally{A(n,!1)}}}var a=Kce(),o=N(a),s=M(o);yQ(s,{copyId:`runtime-refresh-help-copy`,label:`runtime refresh help`,text:`Pull the latest model metadata, provider inventory, API keys, aliases, model access rules, guardrails, and workflows.`,title:e=>{z(e,Uce())},$$slots:{title:!0}});var c=P(s,2),l=M(c);let u;K(M(l),{name:`refresh-cw`,class:`settings-refresh-icon`}),Ge(2),T(l),T(c),T(o);var d=P(o,2),f=M(d),p=e=>{var t=Gce();H(t,21,()=>$9(I(r)),e=>e.name,(e,t)=>{var n=Wce(),r=M(n,!0);T(n),F(e=>{U(n,1,`runtime-refresh-step is-`+I(t).status,`svelte-yeq2mp`),B(r,e)},[()=>Hce(I(t))]),z(e,n)}),T(t),z(e,t)},m=O(()=>$9(I(r)).length>0);V(f,e=>{I(m)&&e(p)}),T(d),F(()=>{u=U(l,1,`btn btn-primary btn-with-icon settings-refresh-btn`,null,u,{"is-refreshing":I(n)}),l.disabled=I(n),W(l,`aria-busy`,I(n)?`true`:`false`)}),L(`click`,l,i),z(e,a),D()}Hr([`click`]);var Jce=R(`
        `);function Yce(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`settings`&&(VI.ensureOptions(),QI.ensureLoaded())});var n=Jce(),r=P(M(n),2),i=M(r);lce(i,{});var a=P(i,2);fce(a,{});var o=P(a,2);xce(o,{});var s=P(o,2);Cce(s,{});var c=P(s,2);Pce(c,{});var l=P(c,2);Bce(l,{}),qce(P(l,2),{}),T(r);var u=P(r,2),d=M(u,!0);T(u),T(n),F(e=>B(d,e),[()=>yI()]),z(e,n),D()}var Xce=R(`
        `);function Zce(e,t){E(t,!0);let n={overview:UQ,usage:A1,budgets:o2,"rate-limits":_4,models:$8,workflows:Ane,"audit-logs":lae,guardrails:Wae,"mcp-servers":Coe,"providers-config":xse,"auth-keys":ice,settings:Yce};VI.init(),sR.init(),q.init(),uI.init(),dI.init(),wI.init(),Mn(()=>{q.refreshTick,QI.fetch(),cR.fetchModels(),cR.fetchCategories()}),Mn(()=>{document.body.classList.toggle(`dashboard-modal-open`,fI.anyOpen)});let r=O(()=>n[wI.page]||UQ);var i=Xce(),a=M(i);rL(a,{});var o=P(a,2),s=M(o);ML(s,{}),gi(P(s,2),()=>I(r),(e,t)=>{t(e,{})}),T(o);var c=P(o,2);uL(c,{});var l=P(c,2);gL(l,{}),AL(P(l,2),{}),T(i),z(e,i),D()}ei(Zce,{target:document.getElementById(`app`)}); \ No newline at end of file diff --git a/internal/admin/dashboard/static/dist/assets/index-DNWYS-jJ.js b/internal/admin/dashboard/static/dist/assets/index-DNWYS-jJ.js deleted file mode 100644 index aca41916a..000000000 --- a/internal/admin/dashboard/static/dist/assets/index-DNWYS-jJ.js +++ /dev/null @@ -1,68 +0,0 @@ -var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){for(var t=0;t{e=n,t=r}),resolve:e,reject:t}}function _(e,t,n=!1){return e===void 0?n?t():t:e}function v(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var y=1<<24,b=1024,x=2048,S=4096,C=8192,w=16384,ee=32768,te=1<<25,ne=65536,re=1<<19,ie=1<<20,ae=1<<25,oe=65536,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`legacy props`),fe=Symbol(``),pe=Symbol(`attributes`),me=Symbol(`class`),he=Symbol(`style`),ge=Symbol(`text`),_e=Symbol(`form reset`),ve=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ye=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function be(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function xe(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Se(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ce(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function we(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Te(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ee(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function De(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Oe(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function ke(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ae(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var je={},Me=Symbol(`uninitialized`),Ne=`http://www.w3.org/1999/xhtml`,Pe=`http://www.w3.org/2000/svg`,Fe=`http://www.w3.org/1998/Math/MathML`;function Ie(){console.warn(`https://svelte.dev/e/derived_inert`)}function Le(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Re(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function ze(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var Be=!1;function Ve(e){Be=e}var He;function Ue(e){if(e===null)throw Le(),je;return He=e}function We(){return Ue(Sn(He))}function T(e){if(Be){if(Sn(He)!==null)throw Le(),je;He=e}}function Ge(e=1){if(Be){for(var t=e,n=He;t--;)n=Sn(n);He=n}}function Ke(e=!0){for(var t=0,n=He;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Sn(n);e&&n.remove(),n=i}}function qe(e){if(!e||e.nodeType!==8)throw Le(),je;return e.data}function Je(e){return e===this.v}function Ye(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Xe(e){return!Ye(e,this.v)}var Ze=null;function Qe(e){Ze=e}function E(e,t=!1,n){Ze={p:Ze,i:!1,c:null,e:null,s:e,x:null,r:or,l:null}}function D(e){var t=Ze,n=t.e;if(n!==null){t.e=null;for(var r of n)Nn(r)}return e!==void 0&&(t.x=e),t.i=!0,Ze=t.p,e??{}}function $e(){return!0}var et=[];function tt(){var e=et;et=[],h(e)}function nt(e){if(et.length===0&&!Vt){var t=et;queueMicrotask(()=>{t===et&&tt()})}et.push(e)}function rt(){for(;et.length>0;)tt()}function it(e){var t=or;if(t===null)return rr.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;at(e,t)}function at(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}var ot=~(x|S|b);function st(e,t){e.f=e.f&ot|t}function ct(e){e.f&512||e.deps===null?st(e,b):st(e,S)}function lt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=oe,lt(t.deps))}function ut(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),lt(e.deps),st(e,b)}var dt=!1;function ft(e){var t=dt;try{return dt=!1,[e(),dt]}finally{dt=t}}function pt(e,t){if(t){let t=document.body;e.autofocus=!0,nt(()=>{document.activeElement===t&&e.focus()})}}function mt(e){Be&&xn(e)!==null&&Cn(e)}var ht=!1;function gt(){ht||(ht=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[_e]?.()})},{capture:!0}))}function _t(e){var t=rr,n=or;ar(null),sr(null);try{return e()}finally{ar(t),sr(n)}}function vt(e,t,n,r=n){e.addEventListener(t,()=>_t(n));let i=e[_e];i?e[_e]=()=>{i(),r(!0)}:e[_e]=()=>r(!0),gt()}function yt(e){let t=0,n=sn(0),r;return()=>{An()&&(I(n),Rn(()=>(t===0&&(r=Or(()=>e(()=>dn(n)))),t+=1,()=>{nt(()=>{--t,t===0&&(r?.(),r=void 0,dn(n))})})))}}var bt=ne|re;function xt(e,t,n,r){new St(e,t,n,r)}var St=class{parent;is_pending=!1;transform_error;#e;#t=Be?He:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=yt(()=>(this.#m=sn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=or;t.b=this,t.f|=128,n(e)},this.parent=or.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=zn(()=>{if(Be){let e=this.#t;We();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},bt),Be&&(this.#e=He)}#g(){try{this.#a=Vn(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=Vn(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=Vn(()=>e(this.#e)),nt(()=>{var e=this.#c=document.createDocumentFragment(),t=bn();e.append(t),this.#a=this.#x(()=>Vn(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Jn(this.#o,()=>{this.#o=null}),this.#b(Lt))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=Vn(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Qn(this.#a,e);let t=this.#n.pending;this.#o=Vn(()=>t(this.#e))}else this.#b(Lt)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){ut(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=or,n=rr,r=Ze;sr(this.#i),ar(this.#i),Qe(this.#i.ctx);try{return qt.ensure(),e()}catch(e){return it(e),null}finally{sr(t),ar(n),Qe(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Jn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,nt(()=>{this.#d=!1,this.#m&&ln(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),I(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;Lt?.is_fork?(this.#a&&Lt.skip_effect(this.#a),this.#o&&Lt.skip_effect(this.#o),this.#s&&Lt.skip_effect(this.#s),Lt.oncommit(()=>{this.#C(e)})):this.#C(e)}#C(e){this.#a&&=(Gn(this.#a),null),this.#o&&=(Gn(this.#o),null),this.#s&&=(Gn(this.#s),null),Be&&(Ue(this.#t),Ge(),Ue(Ke()));var t=this.#n.onerror;let n=this.#n.failed;var r=!1,i=!1;let a=()=>{if(r){ze();return}r=!0,i&&Ae(),this.#s!==null&&Jn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){at(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return Vn(()=>{var t=or;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return at(e,this.#i.parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(e){at(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>at(e,this.#i&&this.#i.parent)):o(t)})}};function Ct(e,t,n,r){let i=$e()?Dt:At;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=or,c=wt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){at(e,s)}Tt()}}var d=Et();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>kt(e))).then(u).catch(e=>at(e,s)).finally(d)}l?l.then(()=>{c(),f(),Tt()}):f()}function wt(){var e=or,t=rr,n=Ze,r=Lt;return function(i=!0){sr(e),ar(t),Qe(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Tt(e=!0){sr(null),ar(null),Qe(null),e&&Lt?.deactivate()}function Et(){var e=or,t=e.b,n=Lt,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Dt(e){var t=2|x;return or!==null&&(or.f|=re),{ctx:Ze,deps:null,effects:null,equals:Je,f:t,fn:e,reactions:null,rv:0,v:Me,wv:0,parent:or,ac:null}}var Ot=Symbol(`obsolete`);function kt(e,t,n){let r=or;r===null&&be();var i=void 0,a=sn(Me),o=!rr,s=new Set;return Ln(()=>{var t=or,n=g();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==ve&&n.reject(e)}).finally(Tt)}catch(e){n.reject(e),Tt()}var c=Lt;if(o){if(t.f&32768)var l=Et();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Ot);else for(let e of s.values())e.reject(Ot);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Ot&&(c.activate(),t?(a.f|=le,ln(a,t)):(a.f&8388608&&(a.f^=le),ln(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),jn(()=>{for(let e of s)e.reject(Ot)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function O(e){let t=Dt(e);return lr(t),t}function At(e){let t=Dt(e);return t.equals=Xe,t}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n{t.ac.abort(ve),t.ac=null}),t.fn!==null&&(t.teardown=m),Cr(t,0),Un(t))}function Ft(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&wr(t)}var It=null,Lt=null,Rt=null,zt=null,Bt=null,Vt=!1,Ht=!1,Ut=null,Wt=null,Gt=0,Kt=1,qt=class e{id=Kt++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){It===null?It=this:(It.#n=this,this.#t=It),It=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)st(r,x),t(r);for(r of n.m)st(r,S),t(r)}this.#p.add(e)}#g(){this.#e=!0,Gt++>1e3&&(this.#x(),Yt());for(let e of this.#u)this.#d.delete(e),st(e,x),this.schedule(e);for(let e of this.#d)st(e,S),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=Ut=[],r=[],i=Wt=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw nn(e),this.#h()||this.discard(),t}if(Lt=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Ut=null,Wt=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)tn(e,t);i.length>0&&Lt.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),Rt=this,Zt(r),Zt(n),Rt=null,this.#s?.resolve();var s=Lt;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0)if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this;s!==null&&s.#g()}#_(e,t,n){e.f^=b;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=b:i&4?t.push(r):yr(r)&&(i&16&&this.#d.add(r),wr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),st(i,x),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),Lt=this,this.#g()}#b(e){for(var t=0;t{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=g()).promise}static ensure(){if(Lt===null){let t=Lt=new e;!Ht&&!Vt&&nt(()=>{t.#e||t.flush()})}return Lt}apply(){zt=null}schedule(e){if(Bt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut!==null&&t===or&&(rr===null||!(rr.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=b}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?It=e:t.#t=e,this.linked=!1}}};function Jt(e){var t=Vt;Vt=!0;try{var n;for(e&&(Lt!==null&&!Lt.is_fork&&Lt.flush(),n=e());;){if(rt(),Lt===null)return n;Lt.flush()}}finally{Vt=t}}function Yt(){try{Te()}catch(e){at(e,Bt)}}var Xt=null;function Zt(e){var t=e.length;if(t!==0){for(var n=0;n0)){an.clear();for(let e of Xt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)Xt.has(n)&&(Xt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||wr(n)}}Xt.clear()}}Xt=null}}function Qt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Qt(i,t,n,r):e&4194320&&!(e&2048)&&$t(i,t,r)&&(st(i,x),en(i))}}function $t(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(i.call(t,r))return!0;if(r.f&2&&$t(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function en(e){Lt.schedule(e)}function tn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),st(e,b);for(var n=e.first;n!==null;)tn(n,t),n=n.next}}function nn(e){st(e,b);for(var t=e.first;t!==null;)nn(t),t=t.next}var rn=new Set,an=new Map,on=!1;function sn(e,t){return{f:0,v:e,reactions:null,equals:Je,rv:0,wv:0}}function k(e,t){let n=sn(e,t);return lr(n),n}function cn(e,t=!1,n=!0){let r=sn(e);return t||(r.equals=Xe),r}function A(e,t,n=!1){return rr!==null&&(!ir||rr.f&131072)&&$e()&&rr.f&4325394&&(cr===null||!cr.has(e))&&ke(),ln(e,n?j(t):t,Wt)}function ln(e,t,n=null){if(!e.equals(t)){an.set(e,tr?t:e.v);var r=qt.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Mt(t),zt===null&&ct(t)}e.wv=vr(),fn(e,x,n),$e()&&or!==null&&or.f&1024&&!(or.f&96)&&(fr===null?pr([e]):fr.push(e)),!r.is_fork&&rn.size>0&&!on&&un()}return t}function un(){on=!1;for(let e of rn){e.f&1024&&st(e,S);let t;try{t=yr(e)}catch{t=!0}t&&wr(e)}rn.clear()}function dn(e){A(e,e.v+1)}function fn(e,t,n){var r=e.reactions;if(r!==null)for(var i=$e(),a=r.length,o=0;o{if(gr===c)return e();var t=rr,n=gr;ar(null),_r(c);var r=e();return ar(t),_r(n),r};return i&&r.set(`length`,k(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&De();var i=r.get(t);return i===void 0?f(()=>{var e=k(n.value,o);return r.set(t,e),e}):A(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>k(Me,o));r.set(t,e),dn(a)}}else A(n,Me),dn(a);return!0},get(t,n,i){if(n===ue)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>k(j(c?t[n]:Me),o)),r.set(n,a)),a!==void 0){var l=I(a);return l===Me?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=I(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==Me)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===ue)return!0;var n=r.get(t),i=n!==void 0&&n.v!==Me||Reflect.has(e,t);return(n!==void 0||or!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>k(i?j(e[t]):Me,o)),r.set(t,n)),I(n)===Me)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;dk(Me,o)),r.set(d+``,p)):A(p,Me)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>k(void 0,o)),A(l,j(n)),r.set(t,l));else{u=l.v!==Me;var m=f(()=>j(n));A(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&A(g,_+1)}dn(a)}return!0},ownKeys(e){I(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==Me});for(var[n,i]of r)i.v!==Me&&!(n in e)&&t.push(n);return t},setPrototypeOf(){Oe()}})}function pn(e){try{if(typeof e==`object`&&e&&ue in e)return e[ue]}catch{}return e}function mn(e,t){return Object.is(pn(e),pn(t))}var hn,gn,_n,vn;function yn(){if(hn===void 0){hn=window,gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;_n=s(t,`firstChild`).get,vn=s(t,`nextSibling`).get,f(e)&&(e[me]=void 0,e[pe]=null,e[he]=void 0,e.__e=void 0),f(n)&&(n[ge]=void 0)}}function bn(e=``){return document.createTextNode(e)}function xn(e){return _n.call(e)}function Sn(e){return vn.call(e)}function M(e,t){if(!Be)return xn(e);var n=xn(He);if(n===null)n=He.appendChild(bn());else if(t&&n.nodeType!==3){var r=bn();return n?.before(r),Ue(r),r}return t&&En(n),Ue(n),n}function N(e,t=!1){if(!Be){var n=xn(e);return n instanceof Comment&&n.data===``?Sn(n):n}if(t){if(He?.nodeType!==3){var r=bn();return He?.before(r),Ue(r),r}En(He)}return He}function P(e,t=1,n=!1){let r=Be?He:e;for(var i;t--;)i=r,r=Sn(r);if(!Be)return r;if(n){if(r?.nodeType!==3){var a=bn();return r===null?i?.after(a):r.before(a),Ue(a),a}En(r)}return Ue(r),r}function Cn(e){e.textContent=``}function wn(){return!1}function Tn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function En(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Dn(e){or===null&&(rr===null&&we(e),Ce()),tr&&Se(e)}function On(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function kn(e,t){var n=or;n!==null&&n.f&8192&&(e|=C);var r={ctx:Ze,deps:null,nodes:null,f:e|x|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};Lt?.register_created_effect(r);var i=r;if(e&4)Ut===null?qt.ensure().schedule(r):Ut.push(r);else if(t!==null){try{wr(r)}catch(e){throw Gn(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ne))}if(i!==null&&(i.parent=n,n!==null&&On(i,n),rr!==null&&rr.f&2&&!(e&64))){var a=rr;(a.effects??=[]).push(i)}return r}function An(){return rr!==null&&!ir}function jn(e){let t=kn(8,null);return st(t,b),t.teardown=e,t}function Mn(e){Dn(`$effect`);var t=or.f;if(!rr&&t&32&&Ze!==null&&!Ze.i){var n=Ze;(n.e??=[]).push(e)}else return Nn(e)}function Nn(e){return kn(4|ie,e)}function Pn(e){qt.ensure();let t=kn(64|re,e);return()=>{Gn(t)}}function Fn(e){qt.ensure();let t=kn(64|re,e);return(e={})=>new Promise(n=>{e.outro?Jn(t,()=>{Gn(t),n(void 0)}):(Gn(t),n(void 0))})}function In(e){return kn(4,e)}function Ln(e){return kn(ce|re,e)}function Rn(e,t=0){return kn(8|t,e)}function F(e,t=[],n=[],r=[]){Ct(r,t,n,t=>{kn(8,()=>{e(...t.map(I))})})}function zn(e,t=0){return kn(16|t,e)}function Bn(e,t=0){return kn(y|t,e)}function Vn(e){return kn(32|re,e)}function Hn(e){var t=e.teardown;if(t!==null){let e=tr,n=rr;nr(!0),ar(null);try{t.call(null)}finally{nr(e),ar(n)}}}function Un(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&_t(()=>{e.abort(ve)});var r=n.next;n.f&64?n.parent=null:Gn(n,t),n=r}}function Wn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||Gn(t),t=n}}function Gn(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Kn(e.nodes.start,e.nodes.end),n=!0),e.f|=te,Un(e,t&&!n),Cr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Hn(e),e.f^=te,e.f|=w;var i=e.parent;i!==null&&i.first!==null&&qn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Kn(e,t){for(;e!==null;){var n=e===t?null:Sn(e);e.remove(),e=n}}function qn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Jn(e,t,n=!0){var r=[];Yn(e,r,!0);var i=()=>{n&&Gn(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Yn(e,t,n){if(!(e.f&8192)){e.f^=C;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Yn(i,t,o?n:!1)}i=a}}}function Xn(e){Zn(e,!0)}function Zn(e,t){if(e.f&8192){e.f^=C,e.f&1024||(st(e,x),qt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Zn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Qn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Sn(n);t.append(n),n=i}}var $n=null,er=!1,tr=!1;function nr(e){tr=e}var rr=null,ir=!1;function ar(e){rr=e}var or=null;function sr(e){or=e}var cr=null;function lr(e){rr!==null&&(cr??=new Set).add(e)}var ur=null,dr=0,fr=null;function pr(e){fr=e}var mr=1,hr=0,gr=hr;function _r(e){gr=e}function vr(){return++mr}function yr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~oe),t&4096){for(var n=e.deps,r=n.length,i=0;ie.wv)return!0}t&512&&zt===null&&st(e,b)}return!1}function br(e,t,n=!0){var r=e.reactions;if(r!==null&&!(cr!==null&&cr.has(e)))for(var i=0;i{e.ac.abort(ve)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=ee;var f=e.deps,p=Lt?.is_fork;if(ur!==null){var m;if(p||Cr(e,dr),f!==null&&dr>0)for(f.length=dr+ur.length,m=0;m{s.ac.abort(ve),s.ac=null,st(s,x)}),Pt(s),Cr(s,0)}}function Cr(e,t){var n=e.deps;if(n!==null)for(var r=t;rn?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?nt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Vr(e,t,n,r,i){var a={capture:r,passive:i},o=Br(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&jn(()=>{t.removeEventListener(e,o,a)})}function L(e,t,n){(t[Lr]??={})[e]=n}function Hr(e){for(var t=0;t{throw e});throw p}}finally{e[Lr]=t,delete e.currentTarget,ar(d),sr(f)}}}var Gr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Kr(e){return Gr?.createHTML(e)??e}function qr(e){var t=Tn(`template`);return t.innerHTML=Kr(e.replaceAll(``,``)),t.content}function Jr(e,t){var n=or;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function R(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(``);return()=>{if(Be)return Jr(He,null),He;i===void 0&&(i=qr(a?e:``+e),n||(i=xn(i)));var t=r||gn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=xn(t),s=t.lastChild;Jr(o,s)}else Jr(t,t);return t}}function Yr(e,t,n=`svg`){var r=!e.startsWith(``),i=(t&1)!=0,a=`<${n}>${r?e:``+e}`,o;return()=>{if(Be)return Jr(He,null),He;if(!o){var e=xn(qr(a));if(i)for(o=document.createDocumentFragment();xn(e);)o.appendChild(xn(e));else o=xn(e)}var t=o.cloneNode(!0);if(i){var n=xn(t),r=t.lastChild;Jr(n,r)}else Jr(t,t);return t}}function Xr(e,t){return Yr(e,t,`svg`)}function Zr(e=``){if(!Be){var t=bn(e+``);return Jr(t,t),t}var n=He;return n.nodeType===3?En(n):(n.before(n=bn()),Ue(n)),Jr(n,n),n}function Qr(){if(Be)return Jr(He,null),He;var e=document.createDocumentFragment(),t=document.createComment(``),n=bn();return e.append(t,n),Jr(t,n),e}function z(e,t){if(Be){var n=or;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=He),We();return}e!==null&&e.before(t)}var $r=!0;function B(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[ge]??=e.nodeValue)&&(e[ge]=n,e.nodeValue=`${n}`)}function ei(e,t){return ni(e,t)}var ti=new Map;function ni(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){yn();var l=void 0,u=Fn(()=>{var u=n??t.appendChild(bn());xt(u,{pending:()=>{}},t=>{E({});var n=Ze;if(o&&(n.c=o),i&&(r.$$events=i),Be&&Jr(t,null),$r=s,l=e(t,r)||{},$r=!0,Be&&(or.nodes.end=He,He===null||He.nodeType!==8||He.data!==`]`))throw Le(),je;D()},c);var d=new Set,f=e=>{for(var n=0;n{for(var e of d)for(let n of[t,document]){var r=ti.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Wr),r.delete(e),r.size===0&&ti.delete(n)):r.set(e,i)}zr.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return ri.set(l,u),l}var ri=new WeakMap,ii=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Xn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(Xn(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(Gn(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Qn(r,t),t.append(bn()),this.#n.set(e,{effect:r,fragment:t})}else Gn(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Jn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(Gn(n.effect),this.#n.delete(e))};ensure(e,t){var n=Lt,r=wn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=bn();i.append(a),this.#n.set(e,{effect:Vn(()=>t(a)),fragment:i})}else this.#t.set(e,Vn(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else Be&&(this.anchor=He),this.#a(n)}};function V(e,t,n=!1){var r;Be&&(r=He,We());var i=new ii(e),a=n?ne:0;function o(e,t){if(Be){var n=qe(r);if(e!==parseInt(n.substring(1))){var a=Ke();Ue(a),i.anchor=a,Ve(!1),i.ensure(e,t),Ve(!0);return}}i.ensure(e,t)}zn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function ai(e,t){return t}function oi(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;si(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;Cn(d),d.append(u),e.items.clear()}si(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function si(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,ui(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=ae,fi(d,null,c)):Xn(d):Jn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:zn(()=>{p=I(f);var e=p.length;let n=!1;Be&&qe(c)===`[!`!=(e===0)&&(c=Ke(),Ue(c),Ve(!1),n=!0);for(var a=new Set,u=Lt,v=wn(),y=0;ys(c)):(d=Vn(()=>s(ci??=bn())),d.f|=ae)),e>a.size&&xe(``,``,``),Be&&e>0&&Ue(Ke()),!h)if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);n&&Ve(!0),I(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,Be&&(c=He)}function li(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function ui(e,t,n,r,i){var o=(r&8)!=0,s=t.length,c=e.items,l=li(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v0){var te=r&4&&s===0?n:null;if(o){for(v=0;v{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function di(e,t,n,r,i,a,o,s){var c=o&1?o&16?sn(n):cn(n,!1,!1):null,l=o&2?sn(i):null;return{v:c,i:l,e:Vn(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function fi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=Sn(r);if(a.before(r),r===i)return;r=o}}function pi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function mi(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;Be&&(o=Ue(xn(c)))}F(()=>{var e=or;if(s===(s=t()??``)){Be&&We();return}if(n&&!Be){e.nodes=null,c.innerHTML=s,s!==``&&Jr(xn(c),c.lastChild);return}if(e.nodes!==null&&(Kn(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(Be){for(var a=He.data,l=We(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=Sn(l);if(l===null)throw Le(),je;Jr(He,u),o=Ue(l);return}var d=Tn(r?`svg`:i?`math`:`template`,r?Pe:i?Fe:void 0);d.innerHTML=s;var f=r||i?d:d.content;if(Jr(xn(f),f.lastChild),r||i)for(;xn(f);)o.before(xn(f));else o.before(f)}})}function hi(e,t,...n){var r=new ii(e);zn(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ne)}function gi(e,t,n){var r;Be&&(r=He,We());var i=new ii(e);zn(()=>{var e=t()??null;if(Be&&qe(r)===`[`!=(e!==null)){var a=Ke();Ue(a),i.anchor=a,Ve(!1),i.ensure(e,e&&(t=>n(t,e))),Ve(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ne)}var _i=()=>performance.now(),vi={tick:e=>requestAnimationFrame(e),now:()=>_i(),tasks:new Set};function yi(){let e=vi.now();vi.tasks.forEach(t=>{t.c(e)||(vi.tasks.delete(t),t.f())}),vi.tasks.size!==0&&vi.tick(yi)}function bi(e){let t;return vi.tasks.size===0&&vi.tick(yi),{promise:new Promise(n=>{vi.tasks.add(t={c:e,f:n})}),abort(){vi.tasks.delete(t)}}}function xi(e,t){_t(()=>{e.dispatchEvent(new CustomEvent(t))})}function Si(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function Ci(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=Si(n.trim());t[i]=r.trim()}return t}var wi=e=>e,Ti=null;function Ei(e,t,n){var r=(Ti??or).nodes,i,a,o,s=null;r.a??={element:e,measure(){i=this.element.getBoundingClientRect()},apply(){if(o?.abort(),a=this.element.getBoundingClientRect(),i.left!==a.left||i.right!==a.right||i.top!==a.top||i.bottom!==a.bottom){let e=t()(this.element,{from:i,to:a},n?.());o=Oi(this.element,e,void 0,1,()=>{},()=>{o?.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:t,width:n,height:r}=getComputedStyle(e);if(t!==`absolute`&&t!==`fixed`){var a=e.style;s={position:a.position,width:a.width,height:a.height,transform:a.transform},a.position=`absolute`,a.width=n,a.height=r;var o=e.getBoundingClientRect();if(i.left!==o.left||i.top!==o.top){var c=`translate(${i.left-o.left}px, ${i.top-o.top}px)`;a.transform=a.transform?`${a.transform} ${c}`:c}}}},unfix(){if(s){var t=e.style;t.position=s.position,t.width=s.width,t.height=s.height,t.transform=s.transform}}},r.a.element=e}function Di(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return _t(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=Oi(t,m(),p,1,()=>{xi(t,`introstart`)},()=>{xi(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=Oi(t,m(),f,0,()=>{xi(t,`outrostart`)},()=>{xi(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=or;if((g.nodes.t??=[]).push(h),i&&$r){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&In(()=>{Or(()=>h.in())})}}function Oi(e,t,n,r,i,a){var o=r===1;if(p(t)){var s,c=!1;return nt(()=>{c||(s=Oi(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{c=!0,s?.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:m,deactivate:m,reset:m,t:()=>r};let{delay:l=0,css:u,tick:d,easing:f=wi}=t;var h=[];if(o&&n===void 0&&(d&&d(0,1),u)){var g=Ci(u(0,1));h.push(g,g)}var _=()=>1-r,v=e.animate(h,{duration:l,fill:`forwards`});return v.onfinish=()=>{v.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var p=!1;if(u)for(var m=Math.ceil(c/(1e3/60)),h=0;h<=m;h+=1){var g=o+s*f(h/m),y=Ci(u(g,1-g));l.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),_=()=>{var e=v.currentTime;return o+s*f(e/c)},d&&bi(()=>{if(v.playState!==`running`)return!1;var e=_();return d(e,1-e),!0})}v=e.animate(l,{duration:c,fill:`forwards`}),v.onfinish=()=>{_=()=>r,d?.(r,1-r),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=m)},deactivate:()=>{a=m},reset:()=>{r===0&&d?.(1,0)},t:()=>_()}}function ki(e,t){var n=void 0,r;Bn(()=>{n!==(n=t())&&(r&&=(Gn(r),null),n&&(r=Vn(()=>{In(()=>n(e))})))})}function Ai(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t=0;){var s=o+a;(o===0||Ni.includes(r[o-1]))&&(s===r.length||Ni.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Fi(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ii(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Li(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ii)),i&&c.push(...Object.keys(i).map(Ii));var l=0,u=-1;let t=e.length;for(var d=0;d{Bi(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),jn(()=>{t.disconnect()})}function Hi(e,t,n=t){var r=new WeakSet,i=!0;vt(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),Ui);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&Ui(o)}n(a),e.__value=a,Lt!==null&&r.add(Lt)}),In(()=>{var a=t();if(e===document.activeElement){var o=Lt;if(r.has(o))return}if(Bi(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=Ui(s),n(a))}e.__value=a,i=!1}),Vi(e)}function Ui(e){return`__value`in e?e.__value:e.value}var Wi=Symbol(`class`),Gi=Symbol(`style`),Ki=Symbol(`is custom element`),qi=Symbol(`is html`),Ji=ye?`link`:`LINK`,Yi=ye?`input`:`INPUT`,Xi=ye?`option`:`OPTION`,Zi=ye?`select`:`SELECT`,Qi=ye?`progress`:`PROGRESS`;function $i(e){if(Be){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;W(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;W(e,`checked`,null),e.checked=r}}};e[_e]=n,nt(n),gt()}}function ea(e,t){var n=aa(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Qi)||(e.value=t??``)}function ta(e,t){var n=aa(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function na(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function W(e,t,n,r){var i=aa(e);Be&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ji)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[fe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&sa(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ra(e,t,n,r,i=!1,a=!1){if(Be&&i&&e.nodeName===Yi){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||$i(o)}var s=aa(e),c=s[Ki],l=!s[qi];let u=Be&&c;u&&Ve(!1);var d=t||{},f=e.nodeName===Xi;for(var p in t)p in n||(n[p]=null);n.class?n.class=Mi(n.class):(r||n[Wi])&&(n.class=null),n[Gi]&&(n.style??=null);var m=sa(e);if(e.nodeName===Yi&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==d.type||h===void 0&&e.hasAttribute(`type`))&&(d.type=h,W(e,`type`,h,a))}for(let i in n){let o=n[i];if(f&&i===`value`&&o==null){e.value=e.__value=``,d[i]=o;continue}if(i===`class`){U(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Wi],n[Wi]),d[i]=o,d[Wi]=n[Wi];continue}if(i===`style`){zi(e,o,t?.[Gi],n[Gi]),d[i]=o,d[Gi]=n[Gi];continue}var g=d[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){d[i]=o;var _=i[0]+i[1];if(_!==`$$`)if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=jr(r);if(kr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,d[n],t),d[n]=null}if(v)L(r,e,o),Hr([r]);else if(o!=null){function a(e){d[i].call(this,e)}d[n]=Br(r,e,a,t)}}else if(i===`style`)W(e,i,o);else if(i===`autofocus`)pt(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&f)na(e,o);else{var y=i;l||(y=Pr(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b)if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else b||m.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=Me)):typeof o!=`function`&&W(e,y,o,a)}}}return u&&Ve(!0),d}function ia(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Ct(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Zi,l=!1;if(Bn(()=>{var u=t(...n.map(I)),d=ra(e,r,u,a,o,s);l&&c&&`value`in u&&Bi(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||Gn(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&Gn(i[t]),i[t]=Vn(()=>ki(e,()=>f))),d[t]=f}r=d}),c){var u=e;In(()=>{Bi(u,r.value,!0),Vi(u)})}l=!0})}function aa(e){return e[pe]??={[Ki]:e.nodeName.includes(`-`),[qi]:e.namespaceURI===Ne}}var oa=new Map;function sa(e){var t=e.getAttribute(`is`)||e.nodeName,n=oa.get(t);if(n)return n;oa.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=d(i)}return n}function ca(e,t,n=t){var r=new WeakSet;vt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=ua(e)?da(a):a,n(a),Lt!==null&&r.add(Lt),await Tr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(Be&&e.defaultValue!==e.value||Or(t)==null&&e.value)&&(n(ua(e)?da(e.value):e.value),Lt!==null&&r.add(Lt)),Rn(()=>{var n=t();if(e===document.activeElement){var i=Lt;if(r.has(i))return}ua(e)&&n===da(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function la(e,t,n=t){vt(e,`change`,t=>{n(t?e.defaultChecked:e.checked)}),(Be&&e.defaultChecked!==e.checked||Or(t)==null)&&n(e.checked),Rn(()=>{e.checked=!!t()})}function ua(e){var t=e.type;return t===`number`||t===`range`}function da(e){return e===``?null:+e}function fa(e,t){return e===t||e?.[ue]===t}function pa(e={},t,n,r){var i=Ze.r,a=or;return In(()=>{var o,s;return Rn(()=>{o=s,s=r?.()||[],Or(()=>{fa(n(...s),e)||(t(e,...s),o&&fa(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&fa(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}var ma={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function ha(e,t,n){return new Proxy({props:e,exclude:t},ma)}function G(e,t,n,r){var i=!0,a=(n&8)!=0,o=(n&16)!=0,c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Dt(r),I(u)):(l&&(l=!1,c=o?Or(r):r),c);let f;if(a){var p=ue in e||de in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=ft(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Ee(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Dt:At)(()=>(v=!1,g()));a&&I(y);var b=or;return(function(e,t){if(arguments.length>0){let n=t?I(y):i&&a?j(e):e;return A(y,n),v=!0,c!==void 0&&(c=n),e}return tr&&v||b.f&16384?y.v:I(y)})}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var ga=[[`path`,{d:`m14 12 4 4 4-4`}],[`path`,{d:`M18 16V7`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],_a=[[`path`,{d:`m14 11 4-4 4 4`}],[`path`,{d:`M18 16V7`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],va=[[`circle`,{cx:`16`,cy:`4`,r:`1`}],[`path`,{d:`m18 19 1-7-6 1`}],[`path`,{d:`m5 8 3-3 5.5 3-2.36 3.5`}],[`path`,{d:`M4.24 14.5a5 5 0 0 0 6.88 6`}],[`path`,{d:`M13.76 17.5a5 5 0 0 0-6.88-6`}]],ya=[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`}]],ba=[[`path`,{d:`m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16`}],[`path`,{d:`M15.697 14h5.606`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],xa=[[`path`,{d:`M10 13H6`}],[`path`,{d:`M10 15v-4a2 2 0 0 0-4 0v4`}],[`path`,{d:`M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],Sa=[[`path`,{d:`M18 17.5a2.5 2.5 0 1 1-4 2.03V12`}],[`path`,{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 8h12`}],[`path`,{d:`M6.6 15.572A2 2 0 1 0 10 17v-5`}]],Ca=[[`path`,{d:`M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1`}],[`path`,{d:`m12 15 5 6H7Z`}]],wa=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`M9 13h6`}]],Ta=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`m9 13 2 2 4-4`}]],Ea=[[`path`,{d:`M6.87 6.87a8 8 0 1 0 11.26 11.26`}],[`path`,{d:`M19.9 14.25a8 8 0 0 0-9.15-9.15`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.26 18.67 4 21`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4 4 2 6`}]],Da=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}]],Oa=[[`circle`,{cx:`12`,cy:`13`,r:`8`}],[`path`,{d:`M12 9v4l2 2`}],[`path`,{d:`M5 3 2 6`}],[`path`,{d:`m22 6-3-3`}],[`path`,{d:`M6.38 18.7 4 21`}],[`path`,{d:`M17.64 18.67 20 21`}]],ka=[[`path`,{d:`M11 21c0-2.5 2-2.5 2-5`}],[`path`,{d:`M16 21c0-2.5 2-2.5 2-5`}],[`path`,{d:`m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8`}],[`path`,{d:`M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 21c0-2.5 2-2.5 2-5`}]],Aa=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`polyline`,{points:`11 3 11 11 14 8 17 11 17 3`}]],ja=[[`path`,{d:`M2 12h20`}],[`path`,{d:`M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4`}],[`path`,{d:`M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4`}],[`path`,{d:`M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1`}]],Ma=[[`path`,{d:`M12 2v20`}],[`path`,{d:`M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4`}],[`path`,{d:`M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4`}],[`path`,{d:`M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1`}],[`path`,{d:`M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1`}]],Na=[[`rect`,{width:`6`,height:`16`,x:`4`,y:`2`,rx:`2`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`9`,rx:`2`}],[`path`,{d:`M22 22H2`}]],Pa=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M17 22v-5`}],[`path`,{d:`M17 7V2`}],[`path`,{d:`M7 22v-3`}],[`path`,{d:`M7 5V2`}]],Fa=[[`rect`,{width:`16`,height:`6`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`9`,height:`6`,x:`9`,y:`14`,rx:`2`}],[`path`,{d:`M22 22V2`}]],Ia=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M10 2v20`}],[`path`,{d:`M20 2v20`}]],La=[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`}],[`path`,{d:`M4 2v20`}],[`path`,{d:`M14 2v20`}]],Ra=[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`}],[`path`,{d:`M12 2v20`}]],za=[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`12`,y:`7`,rx:`2`}],[`path`,{d:`M22 2v20`}]],Ba=[[`rect`,{width:`6`,height:`14`,x:`6`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`}],[`path`,{d:`M2 2v20`}]],Va=[[`rect`,{width:`6`,height:`10`,x:`9`,y:`7`,rx:`2`}],[`path`,{d:`M4 22V2`}],[`path`,{d:`M20 22V2`}]],Ha=[[`rect`,{width:`6`,height:`16`,x:`4`,y:`6`,rx:`2`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`6`,rx:`2`}],[`path`,{d:`M22 2H2`}]],Ua=[[`rect`,{width:`6`,height:`14`,x:`3`,y:`5`,rx:`2`}],[`rect`,{width:`6`,height:`10`,x:`15`,y:`7`,rx:`2`}],[`path`,{d:`M3 2v20`}],[`path`,{d:`M21 2v20`}]],Wa=[[`rect`,{width:`9`,height:`6`,x:`6`,y:`14`,rx:`2`}],[`rect`,{width:`16`,height:`6`,x:`6`,y:`4`,rx:`2`}],[`path`,{d:`M2 2v20`}]],Ga=[[`path`,{d:`M22 17h-3`}],[`path`,{d:`M22 7h-5`}],[`path`,{d:`M5 17H2`}],[`path`,{d:`M7 7H2`}],[`rect`,{x:`5`,y:`14`,width:`14`,height:`6`,rx:`2`}],[`rect`,{x:`7`,y:`4`,width:`10`,height:`6`,rx:`2`}]],Ka=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`}],[`path`,{d:`M2 20h20`}],[`path`,{d:`M2 10h20`}]],qa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M2 4h20`}]],Ja=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`}],[`path`,{d:`M2 12h20`}]],Ya=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`12`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`}],[`path`,{d:`M2 22h20`}]],Xa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`6`,rx:`2`}],[`path`,{d:`M2 2h20`}]],Za=[[`rect`,{width:`10`,height:`6`,x:`7`,y:`9`,rx:`2`}],[`path`,{d:`M22 20H2`}],[`path`,{d:`M22 4H2`}]],Qa=[[`rect`,{width:`14`,height:`6`,x:`5`,y:`15`,rx:`2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`3`,rx:`2`}],[`path`,{d:`M2 21h20`}],[`path`,{d:`M2 3h20`}]],$a=[[`path`,{d:`M10 10H6`}],[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14`}],[`path`,{d:`M8 8v4`}],[`path`,{d:`M9 18h6`}],[`circle`,{cx:`17`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],eo=[[`path`,{d:`M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`}],[`path`,{d:`M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`}]],to=[[`path`,{d:`M16 12h3`}],[`path`,{d:`M17.5 12a8 8 0 0 1-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13`}]],no=[[`path`,{d:`M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8`}],[`path`,{d:`M10 5H8a2 2 0 0 0 0 4h.68`}],[`path`,{d:`M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8`}],[`path`,{d:`M14 5h2a2 2 0 0 1 0 4h-.68`}],[`path`,{d:`M18 22H6`}],[`path`,{d:`M9 2h6`}]],ro=[[`path`,{d:`M12 6v16`}],[`path`,{d:`m19 13 2-1a9 9 0 0 1-18 0l2 1`}],[`path`,{d:`M9 11h6`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}]],io=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`}],[`path`,{d:`M7.5 8 10 9`}],[`path`,{d:`m14 9 2.5-1`}],[`path`,{d:`M9 10h.01`}],[`path`,{d:`M15 10h.01`}]],ao=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 15h8`}],[`path`,{d:`M8 9h2`}],[`path`,{d:`M14 9h2`}]],oo=[[`path`,{d:`M2 12 7 2`}],[`path`,{d:`m7 12 5-10`}],[`path`,{d:`m12 12 5-10`}],[`path`,{d:`m17 12 5-10`}],[`path`,{d:`M4.5 7h15`}],[`path`,{d:`M12 16v6`}]],so=[[`path`,{d:`M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4`}],[`path`,{d:`M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z`}],[`path`,{d:`M9 12v5`}],[`path`,{d:`M15 12v5`}],[`path`,{d:`M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1`}]],co=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m14.31 8 5.74 9.94`}],[`path`,{d:`M9.69 8h11.48`}],[`path`,{d:`m7.38 12 5.74-9.94`}],[`path`,{d:`M9.69 16 3.95 6.06`}],[`path`,{d:`M14.31 16H2.83`}],[`path`,{d:`m16.62 12-5.74 9.94`}]],lo=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M10 8h.01`}],[`path`,{d:`M14 8h.01`}]],uo=[[`path`,{d:`M12 6.528V3a1 1 0 0 1 1-1h0`}],[`path`,{d:`M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21`}]],fo=[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}],[`path`,{d:`M10 4v4`}],[`path`,{d:`M2 8h20`}],[`path`,{d:`M6 4v4`}]],po=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h2`}],[`path`,{d:`M20 8v11a2 2 0 0 1-2 2h-2`}],[`path`,{d:`m9 15 3-3 3 3`}],[`path`,{d:`M12 12v9`}]],mo=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}],[`path`,{d:`m9.5 17 5-5`}],[`path`,{d:`m9.5 12 5 5`}]],ho=[[`path`,{d:`M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3`}],[`path`,{d:`M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],go=[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}],[`path`,{d:`M10 12h4`}]],_o=[[`path`,{d:`M14 8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-6.939 6.939a1.207 1.207 0 0 1-1.708 0l-6.94-6.94a.707.707 0 0 1 .5-1.206H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1z`}],[`path`,{d:`M9 4h6`}]],vo=[[`path`,{d:`M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-7.086 7.086a1 1 0 0 1-1.414 0l-7.086-7.086a.707.707 0 0 1 .5-1.207H8a1 1 0 0 0 1-1z`}]],yo=[[`path`,{d:`M13 9a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707l6.94 6.94a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z`}],[`path`,{d:`M20 9v6`}]],bo=[[`path`,{d:`M10.793 19.793a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-6a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707z`}]],xo=[[`path`,{d:`M11 9a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707l-6.94 6.94a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`}],[`path`,{d:`M4 9v6`}]],So=[[`path`,{d:`M13.207 19.793a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707z`}]],Co=[[`path`,{d:`M14 16a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-6.939-6.939a1.207 1.207 0 0 0-1.708 0l-6.94 6.94a.707.707 0 0 0 .5 1.206H8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1z`}],[`path`,{d:`M9 20h6`}]],wo=[[`path`,{d:`M9 19a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-6a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-7.086-7.086a1 1 0 0 0-1.414 0l-7.086 7.086a.707.707 0 0 0 .5 1.207H8a1 1 0 0 1 1 1z`}]],To=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`}],[`path`,{d:`M17 20v-6h-2`}],[`path`,{d:`M15 20h4`}]],Eo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M17 10V4h-2`}],[`path`,{d:`M15 10h4`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`}]],Do=[[`path`,{d:`M19 3H5`}],[`path`,{d:`M12 21V7`}],[`path`,{d:`m6 15 6 6 6-6`}]],Oo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M20 8h-5`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`}],[`path`,{d:`M15 14h5l-5 6h5`}]],ko=[[`path`,{d:`M17 7 7 17`}],[`path`,{d:`M17 17H7V7`}]],Ao=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M11 4h4`}],[`path`,{d:`M11 8h7`}],[`path`,{d:`M11 12h10`}]],jo=[[`path`,{d:`m7 7 10 10`}],[`path`,{d:`M17 7v10H7`}]],Mo=[[`path`,{d:`M12 17V3`}],[`path`,{d:`m6 11 6 6 6-6`}],[`path`,{d:`M19 21H5`}]],No=[[`path`,{d:`M12 2v14`}],[`path`,{d:`m19 9-7 7-7-7`}],[`circle`,{cx:`12`,cy:`21`,r:`1`}]],Po=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`m21 8-4-4-4 4`}],[`path`,{d:`M17 4v16`}]],Fo=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 20V4`}],[`path`,{d:`M11 4h10`}],[`path`,{d:`M11 8h7`}],[`path`,{d:`M11 12h4`}]],Io=[[`path`,{d:`m3 16 4 4 4-4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M15 4h5l-5 6h5`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`}],[`path`,{d:`M20 18h-5`}]],Lo=[[`path`,{d:`m9 6-6 6 6 6`}],[`path`,{d:`M3 12h14`}],[`path`,{d:`M21 19V5`}]],Ro=[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]],zo=[[`path`,{d:`M8 3 4 7l4 4`}],[`path`,{d:`M4 7h16`}],[`path`,{d:`m16 21 4-4-4-4`}],[`path`,{d:`M20 17H4`}]],Bo=[[`path`,{d:`M3 19V5`}],[`path`,{d:`m13 6-6 6 6 6`}],[`path`,{d:`M7 12h14`}]],Vo=[[`path`,{d:`m12 19-7-7 7-7`}],[`path`,{d:`M19 12H5`}]],Ho=[[`path`,{d:`M3 5v14`}],[`path`,{d:`M21 12H7`}],[`path`,{d:`m15 18 6-6-6-6`}]],Uo=[[`path`,{d:`m16 3 4 4-4 4`}],[`path`,{d:`M20 7H4`}],[`path`,{d:`m8 21-4-4 4-4`}],[`path`,{d:`M4 17h16`}]],Wo=[[`path`,{d:`M17 12H3`}],[`path`,{d:`m11 18 6-6-6-6`}],[`path`,{d:`M21 5v14`}]],Go=[[`path`,{d:`M5 12h14`}],[`path`,{d:`m12 5 7 7-7 7`}]],Ko=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`}],[`path`,{d:`M17 20v-6h-2`}],[`path`,{d:`M15 20h4`}]],qo=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M17 10V4h-2`}],[`path`,{d:`M15 10h4`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`}]],Jo=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M20 8h-5`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`}],[`path`,{d:`M15 14h5l-5 6h5`}]],Yo=[[`path`,{d:`m21 16-4 4-4-4`}],[`path`,{d:`M17 20V4`}],[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}]],Xo=[[`path`,{d:`m5 9 7-7 7 7`}],[`path`,{d:`M12 16V2`}],[`circle`,{cx:`12`,cy:`21`,r:`1`}]],Zo=[[`path`,{d:`m18 9-6-6-6 6`}],[`path`,{d:`M12 3v14`}],[`path`,{d:`M5 21h14`}]],Qo=[[`path`,{d:`M7 17V7h10`}],[`path`,{d:`M17 17 7 7`}]],$o=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M11 12h4`}],[`path`,{d:`M11 16h7`}],[`path`,{d:`M11 20h10`}]],es=[[`path`,{d:`M7 7h10v10`}],[`path`,{d:`M7 17 17 7`}]],ts=[[`path`,{d:`M5 3h14`}],[`path`,{d:`m18 13-6-6-6 6`}],[`path`,{d:`M12 7v14`}]],ns=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M11 12h10`}],[`path`,{d:`M11 16h7`}],[`path`,{d:`M11 20h4`}]],rs=[[`path`,{d:`m3 8 4-4 4 4`}],[`path`,{d:`M7 4v16`}],[`path`,{d:`M15 4h5l-5 6h5`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`}],[`path`,{d:`M20 18h-5`}]],is=[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]],as=[[`path`,{d:`M12 6v12`}],[`path`,{d:`M17.196 9 6.804 15`}],[`path`,{d:`m6.804 9 10.392 6`}]],os=[[`path`,{d:`m4 6 3-3 3 3`}],[`path`,{d:`M7 17V3`}],[`path`,{d:`m14 6 3-3 3 3`}],[`path`,{d:`M17 17V3`}],[`path`,{d:`M4 21h16`}]],ss=[[`path`,{d:`M12.983 21.186a1 1 0 0 1-1.966 0 10 10 0 0 0-8.203-8.203 1 1 0 0 1 0-1.966 10 10 0 0 0 8.203-8.203 1 1 0 0 1 1.966 0 10 10 0 0 0 8.203 8.203 1 1 0 0 1 0 1.966 10 10 0 0 0-8.203 8.203`}]],cs=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8`}]],ls=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z`}],[`path`,{d:`M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z`}]],us=[[`path`,{d:`M2 10v3`}],[`path`,{d:`M6 6v11`}],[`path`,{d:`M10 3v18`}],[`path`,{d:`M14 8v7`}],[`path`,{d:`M18 5v13`}],[`path`,{d:`M22 10v3`}]],ds=[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`}],[`circle`,{cx:`12`,cy:`8`,r:`6`}]],fs=[[`path`,{d:`m14 12-8.381 8.38a1 1 0 0 1-3.001-3L11 9`}],[`path`,{d:`M15 15.5a.5.5 0 0 0 .5.5A6.5 6.5 0 0 0 22 9.5a.5.5 0 0 0-.5-.5h-1.672a2 2 0 0 1-1.414-.586l-5.062-5.062a1.205 1.205 0 0 0-1.704 0L9.352 5.648a1.205 1.205 0 0 0 0 1.704l5.062 5.062A2 2 0 0 1 15 13.828z`}]],ps=[[`path`,{d:`M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2`}]],ms=[[`path`,{d:`M13.5 10.5 15 9`}],[`path`,{d:`M4 4v15a1 1 0 0 0 1 1h15`}],[`path`,{d:`M4.293 19.707 6 18`}],[`path`,{d:`m9 15 1.5-1.5`}]],hs=[[`path`,{d:`M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`}],[`path`,{d:`M8 10h8`}],[`path`,{d:`M8 18h8`}],[`path`,{d:`M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6`}],[`path`,{d:`M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2`}]],gs=[[`path`,{d:`M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5`}],[`path`,{d:`M15 12h.01`}],[`path`,{d:`M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1`}],[`path`,{d:`M9 12h.01`}]],_s=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],vs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M15.4 10a4 4 0 1 0 0 4`}]],ys=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m9 12 2 2 4-4`}]],bs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`}],[`path`,{d:`M12 18V6`}]],xs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M7 12h5`}],[`path`,{d:`M15 9.4a4 4 0 1 0 0 5.2`}]],Ss=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M8 8h8`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m13 17-5-1h1a4 4 0 0 0 0-8`}]],Cs=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`8`,y2:`8`}]],ws=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m9 8 3 3v7`}],[`path`,{d:`m12 11 3-3`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M9 16h6`}]],Ts=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],Es=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],Ds=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`16`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],Os=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M8 12h4`}],[`path`,{d:`M10 16V9.5a2.5 2.5 0 0 1 5 0`}],[`path`,{d:`M8 16h7`}]],ks=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`line`,{x1:`12`,x2:`12.01`,y1:`17`,y2:`17`}]],As=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M9 16h5`}],[`path`,{d:`M9 12h5a2 2 0 1 0 0-4h-3v9`}]],js=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`path`,{d:`M11 17V8h4`}],[`path`,{d:`M11 12h3`}],[`path`,{d:`M9 16h4`}]],Ms=[[`path`,{d:`M11 7v10a5 5 0 0 0 5-5`}],[`path`,{d:`m15 8-6 3`}],[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76`}]],Ns=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`}]],Ps=[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`}]],Fs=[[`path`,{d:`M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2`}],[`path`,{d:`M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10`}],[`rect`,{width:`13`,height:`8`,x:`8`,y:`6`,rx:`1`}],[`circle`,{cx:`18`,cy:`20`,r:`2`}],[`circle`,{cx:`9`,cy:`20`,r:`2`}]],Is=[[`path`,{d:`M12 16v1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v1`}],[`path`,{d:`M12 6a2 2 0 0 1 2 2`}],[`path`,{d:`M18 8c0 4-3.5 8-6 8s-6-4-6-8a6 6 0 0 1 12 0`}]],Ls=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M4.929 4.929 19.07 19.071`}]],Rs=[[`path`,{d:`M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5`}],[`path`,{d:`M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z`}]],zs=[[`path`,{d:`M10 10.01h.01`}],[`path`,{d:`M10 14.01h.01`}],[`path`,{d:`M14 10.01h.01`}],[`path`,{d:`M14 14.01h.01`}],[`path`,{d:`M18 6v12`}],[`path`,{d:`M6 6v12`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`12`,rx:`2`}]],Bs=[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`m16 19 3 3 3-3`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Vs=[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M19 22v-6`}],[`path`,{d:`m22 19-3-3-3 3`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Hs=[[`path`,{d:`M11.748 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4.875`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Us=[[`path`,{d:`M13 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`}],[`path`,{d:`m17 17 5 5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`m22 17-5 5`}],[`path`,{d:`M6 12h.01`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Ws=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M6 12h.01M18 12h.01`}]],Gs=[[`path`,{d:`M3 5v14`}],[`path`,{d:`M8 5v14`}],[`path`,{d:`M12 5v14`}],[`path`,{d:`M17 5v14`}],[`path`,{d:`M21 5v14`}]],Ks=[[`path`,{d:`M10 3a41 41 0 0 0 0 18`}],[`path`,{d:`M14 3a41 41 0 0 1 0 18`}],[`path`,{d:`M17 3a2 2 0 0 1 1.68.92 15.25 15.25 0 0 1 0 16.16A2 2 0 0 1 17 21H7a2 2 0 0 1-1.68-.92 15.25 15.25 0 0 1 0-16.16A2 2 0 0 1 7 3z`}],[`path`,{d:`M3.84 17h16.32`}],[`path`,{d:`M3.84 7h16.32`}]],qs=[[`path`,{d:`M4 20h16`}],[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}]],Js=[[`path`,{d:`M10 4 8 6`}],[`path`,{d:`M17 19v2`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`M7 19v2`}],[`path`,{d:`M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5`}]],Ys=[[`path`,{d:`m11 7-3 5h4l-3 5`}],[`path`,{d:`M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936`}]],Xs=[[`path`,{d:`M10 10v4`}],[`path`,{d:`M14 10v4`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 10v4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],Zs=[[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 14v-4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],Qs=[[`path`,{d:`M10 14v-4`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 14v-4`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],$s=[[`path`,{d:`M10 9v6`}],[`path`,{d:`M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M7 12h6`}],[`path`,{d:`M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606`}]],ec=[[`path`,{d:`M10 17h.01`}],[`path`,{d:`M10 7v6`}],[`path`,{d:`M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M22 14v-4`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`}]],tc=[[`path`,{d:`M 22 14 L 22 10`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`}]],nc=[[`path`,{d:`M4.5 3h15`}],[`path`,{d:`M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3`}],[`path`,{d:`M6 14h12`}]],rc=[[`path`,{d:`M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1`}],[`path`,{d:`M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66`}],[`path`,{d:`M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],ic=[[`path`,{d:`M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z`}],[`path`,{d:`M5.341 10.62a4 4 0 1 0 5.279-5.28`}]],ac=[[`path`,{d:`M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8`}],[`path`,{d:`M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`}],[`path`,{d:`M12 4v6`}],[`path`,{d:`M2 18h20`}]],oc=[[`path`,{d:`M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8`}],[`path`,{d:`M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4`}],[`path`,{d:`M3 18h18`}]],sc=[[`path`,{d:`M2 4v16`}],[`path`,{d:`M2 8h18a2 2 0 0 1 2 2v10`}],[`path`,{d:`M2 17h20`}],[`path`,{d:`M6 8v9`}]],cc=[[`path`,{d:`M11.771 6.109a2.5 2.5 0 0 1 3.12 3.12`}],[`path`,{d:`M17.852 12.185a6.5 6.5 0 0 0-9.035-9.04`}],[`path`,{d:`M18.013 18.013C15.029 20.349 10.831 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-.139 4.393`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6.355 6.37a7 7 0 0 0-.075.23c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c3.356 0 6.993-1.267 9.85-3.151`}]],lc=[[`path`,{d:`M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`}],[`circle`,{cx:`12.5`,cy:`8.5`,r:`2.5`}]],uc=[[`path`,{d:`M13 13v5`}],[`path`,{d:`M17 11.47V8`}],[`path`,{d:`M17 11h1a3 3 0 0 1 2.745 4.211`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268`}],[`path`,{d:`M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12`}],[`path`,{d:`M9 14.6V18`}]],dc=[[`path`,{d:`M17 11h1a3 3 0 0 1 0 6h-1`}],[`path`,{d:`M9 12v6`}],[`path`,{d:`M13 12v6`}],[`path`,{d:`M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`}]],fc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],pc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`m15 8 2 2 4-4`}],[`path`,{d:`M16.8607 4.4824A6 6 0 0 0 6 8C6 12.499 4.589 13.956 3.262 15.326`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17H20A1 1 0 0 0 20.74 15.327C20.209 14.779 19.665 14.218 19.203 13.454`}]],mc=[[`path`,{d:`M18.518 17.347A7 7 0 0 1 14 19`}],[`path`,{d:`M18.8 4A11 11 0 0 1 20 9`}],[`path`,{d:`M9 9h.01`}],[`circle`,{cx:`20`,cy:`16`,r:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`7`}],[`rect`,{x:`4`,y:`16`,width:`10`,height:`6`,rx:`2`}]],hc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M15 8h6`}],[`path`,{d:`M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12`}]],gc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05`}]],_c=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M15 8h6`}],[`path`,{d:`M18 5v6`}],[`path`,{d:`M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332`}]],vc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M22 8c0-2.3-.8-4.3-2-6`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}],[`path`,{d:`M4 2C2.8 3.7 2 5.7 2 8`}]],yc=[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}]],bc=[[`rect`,{width:`13`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`m22 15-3-3 3-3`}],[`rect`,{width:`13`,height:`7`,x:`3`,y:`14`,rx:`1`}]],xc=[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`}],[`path`,{d:`m2 9 3 3-3 3`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`}]],Sc=[[`rect`,{width:`7`,height:`13`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`m9 22 3-3 3 3`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`3`,rx:`1`}]],Cc=[[`rect`,{width:`7`,height:`13`,x:`3`,y:`8`,rx:`1`}],[`path`,{d:`m15 2-3 3-3-3`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`8`,rx:`1`}]],wc=[[`path`,{d:`M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1`}],[`path`,{d:`M15 14a5 5 0 0 0-7.584 2`}],[`path`,{d:`M9.964 6.825C8.019 7.977 9.5 13 8 15`}]],Tc=[[`circle`,{cx:`18.5`,cy:`17.5`,r:`3.5`}],[`circle`,{cx:`5.5`,cy:`17.5`,r:`3.5`}],[`circle`,{cx:`15`,cy:`5`,r:`1`}],[`path`,{d:`M12 17.5V14l-3-3 4-3 2 3h2`}]],Ec=[[`rect`,{x:`14`,y:`14`,width:`4`,height:`6`,rx:`2`}],[`rect`,{x:`6`,y:`4`,width:`4`,height:`6`,rx:`2`}],[`path`,{d:`M6 20h4`}],[`path`,{d:`M14 10h4`}],[`path`,{d:`M6 14h2v6`}],[`path`,{d:`M14 4h2v6`}]],Dc=[[`circle`,{cx:`12`,cy:`11.9`,r:`2`}],[`path`,{d:`M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6`}],[`path`,{d:`m8.9 10.1 1.4.8`}],[`path`,{d:`M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5`}],[`path`,{d:`m15.1 10.1-1.4.8`}],[`path`,{d:`M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2`}],[`path`,{d:`M12 13.9v1.6`}],[`path`,{d:`M13.5 5.4c-1-.2-2-.2-3 0`}],[`path`,{d:`M17 16.4c.7-.7 1.2-1.6 1.5-2.5`}],[`path`,{d:`M5.5 13.9c.3.9.8 1.8 1.5 2.5`}]],Oc=[[`path`,{d:`M10 10h4`}],[`path`,{d:`M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`}],[`path`,{d:`M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z`}],[`path`,{d:`M 22 16 L 2 16`}],[`path`,{d:`M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z`}],[`path`,{d:`M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3`}]],kc=[[`path`,{d:`M16 7h.01`}],[`path`,{d:`M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20`}],[`path`,{d:`m20 7 2 .5-2 .5`}],[`path`,{d:`M10 18v3`}],[`path`,{d:`M14 17.75V21`}],[`path`,{d:`M7 18a6 6 0 0 0 3.84-10.61`}]],Ac=[[`path`,{d:`M12 18v4`}],[`path`,{d:`m17 18 1.956-11.468`}],[`path`,{d:`m3 8 7.82-5.615a2 2 0 0 1 2.36 0L21 8`}],[`path`,{d:`M4 18h16`}],[`path`,{d:`M7 18 5.044 6.532`}],[`circle`,{cx:`12`,cy:`10`,r:`2`}]],jc=[[`path`,{d:`M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727`}]],Mc=[[`circle`,{cx:`9`,cy:`9`,r:`7`}],[`circle`,{cx:`15`,cy:`15`,r:`7`}]],Nc=[[`path`,{d:`M3 3h18`}],[`path`,{d:`M20 7H8`}],[`path`,{d:`M20 11H8`}],[`path`,{d:`M10 19h10`}],[`path`,{d:`M8 15h12`}],[`path`,{d:`M4 3v14`}],[`circle`,{cx:`4`,cy:`19`,r:`2`}]],Pc=[[`path`,{d:`M8 14a2 2 0 0 0-1.963 1.615l-1.018 5.193A1 1 0 0 0 6 22h12a1 1 0 0 0 .981-1.192l-1.018-5.193A2 2 0 0 0 16 14z`}],[`path`,{d:`m17 2-1 12`}],[`path`,{d:`M8.006 14 7 2`}],[`path`,{d:`M7.565 8.787A5 5 0 0 0 12 8a5 5 0 0 1 4.56-.75`}],[`path`,{d:`M19 2H5a2 2 0 0 0-2 2v5a2 2 0 0 0 .688 1.5`}],[`path`,{d:`M12 18h.01`}]],Fc=[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`}]],Ic=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`12`}],[`line`,{x1:`3`,x2:`6`,y1:`12`,y2:`12`}]],Lc=[[`path`,{d:`m17 17-5 5V12l-5 5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M14.5 9.5 17 7l-5-5v4.5`}]],Rc=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}],[`path`,{d:`M20.83 14.83a4 4 0 0 0 0-5.66`}],[`path`,{d:`M18 12h.01`}]],zc=[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`}]],Bc=[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`}]],Vc=[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],Hc=[[`circle`,{cx:`11`,cy:`13`,r:`9`}],[`path`,{d:`M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95`}],[`path`,{d:`m22 2-1.5 1.5`}]],Uc=[[`path`,{d:`M14 4.5a1 1 0 0 1 5 0 .5.5 0 0 0 .5.5 1 1 0 0 1 0 5c-.81 0-1.8-.7-2.5 0l-1.958 1.957a.15.15 0 0 1-.252-.072l-.493-2.07a.15.15 0 0 0-.111-.112l-2.072-.494a.15.15 0 0 1-.072-.252L14 7c.7-.7 0-1.69 0-2.5`}],[`path`,{d:`m16 20-1-2`}],[`path`,{d:`m20 16-2-1`}],[`path`,{d:`m4 8 2 1`}],[`path`,{d:`m8 4 1 2`}],[`path`,{d:`M9.698 14.19a.15.15 0 0 0 .112.112l2.074.489a.15.15 0 0 1 .072.252L10 17c-.7.7 0 1.69 0 2.5a1 1 0 0 1-5 0 .495.495 0 0 0-.5-.5 1 1 0 0 1 0-5c.81 0 1.8.7 2.5 0l1.956-1.957a.15.15 0 0 1 .252.072z`}]],Wc=[[`path`,{d:`M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z`}]],Gc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m8 13 4-7 4 7`}],[`path`,{d:`M9.1 11h5.7`}]],Kc=[[`path`,{d:`M12 13h.01`}],[`path`,{d:`M12 6v3`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],qc=[[`path`,{d:`M12 6v7`}],[`path`,{d:`M16 8v3`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 8v3`}]],Jc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 9.5 2 2 4-4`}]],Yc=[[`path`,{d:`M5 7a2 2 0 0 0-2 2v11`}],[`path`,{d:`M5.803 18H5a2 2 0 0 0 0 4h9.5a.5.5 0 0 0 .5-.5V21`}],[`path`,{d:`M9 15V4a2 2 0 0 1 2-2h9.5a.5.5 0 0 1 .5.5v14a.5.5 0 0 1-.5.5H11a2 2 0 0 1 0-4h10`}]],Xc=[[`path`,{d:`M12 17h1.5`}],[`path`,{d:`M12 22h1.5`}],[`path`,{d:`M12 2h1.5`}],[`path`,{d:`M17.5 22H19a1 1 0 0 0 1-1`}],[`path`,{d:`M17.5 2H19a1 1 0 0 1 1 1v1.5`}],[`path`,{d:`M20 14v3h-2.5`}],[`path`,{d:`M20 8.5V10`}],[`path`,{d:`M4 10V8.5`}],[`path`,{d:`M4 19.5V14`}],[`path`,{d:`M4 4.5A2.5 2.5 0 0 1 6.5 2H8`}],[`path`,{d:`M8 22H6.5a1 1 0 0 1 0-5H8`}]],Zc=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 10 3 3 3-3`}]],Qc=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 12v-2a4 4 0 0 1 8 0v2`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`12`,r:`1`}]],$c=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8.62 9.8A2.25 2.25 0 1 1 12 6.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}]],el=[[`path`,{d:`m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`10`,cy:`8`,r:`2`}]],tl=[[`path`,{d:`M13 2H6.5A2.5 2.5 0 0 0 4 4.5v15`}],[`path`,{d:`M17 2v6`}],[`path`,{d:`M17 4h2`}],[`path`,{d:`M20 15.2V21a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`17`,cy:`10`,r:`2`}]],nl=[[`path`,{d:`M18 6V4a2 2 0 1 0-4 0v2`}],[`path`,{d:`M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10`}],[`rect`,{x:`12`,y:`6`,width:`8`,height:`5`,rx:`1`}]],rl=[[`path`,{d:`M10 2v8l3-3 3 3V2`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],il=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M9 10h6`}]],al=[[`path`,{d:`M12 5v16`}],[`path`,{d:`m16 12 2 2 4-4`}],[`path`,{d:`M22 6V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2h4.001A2 2 0 0022 17v-1.344`}]],ol=[[`path`,{d:`M12 5v16`}],[`path`,{d:`M16 13h2`}],[`path`,{d:`M16 9h2`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`}],[`path`,{d:`M6 13h2`}],[`path`,{d:`M6 9h2`}]],sl=[[`path`,{d:`M12 5v16`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`}]],cl=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M9 10h6`}]],eee=[[`path`,{d:`M11 22H5.5a1 1 0 0 1 0-5h4.501`}],[`path`,{d:`m21 22-1.879-1.878`}],[`path`,{d:`M3 19.5v-15A2.5 2.5 0 0 1 5.5 2H18a1 1 0 0 1 1 1v8`}],[`circle`,{cx:`17`,cy:`18`,r:`3`}]],tee=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M8 11h8`}],[`path`,{d:`M8 7h6`}]],nee=[[`path`,{d:`M10 13h4`}],[`path`,{d:`M12 6v7`}],[`path`,{d:`M16 8V6H8v2`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],ree=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2`}],[`path`,{d:`m9 10 3-3 3 3`}],[`path`,{d:`m9 5 3-3 3 3`}]],iee=[[`path`,{d:`M12 13V7`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9 10 3-3 3 3`}]],aee=[[`path`,{d:`M15 13a3 3 0 1 0-6 0`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}]],oee=[[`path`,{d:`m14.5 7-5 5`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}],[`path`,{d:`m9.5 7 5 5`}]],see=[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],cee=[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}],[`path`,{d:`m9 10 2 2 4-4`}]],lee=[[`path`,{d:`M15 10H9`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],uee=[[`path`,{d:`M19 19v1a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.656 3H17a2 2 0 0 1 2 2v8.344`}]],dee=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M15 10H9`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],fee=[[`path`,{d:`m14.5 7.5-5 5`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}],[`path`,{d:`m9.5 7.5 5 5`}]],pee=[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`}]],mee=[[`path`,{d:`M12 6V2H8`}],[`path`,{d:`M15 11v2`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`M20 16a2 2 0 0 1-2 2H8.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 4 20.286V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z`}],[`path`,{d:`M9 11v2`}]],hee=[[`path`,{d:`M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`}],[`path`,{d:`M8 8v1`}],[`path`,{d:`M12 8v1`}],[`path`,{d:`M16 8v1`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`9`,rx:`2`}],[`circle`,{cx:`8`,cy:`15`,r:`2`}],[`circle`,{cx:`16`,cy:`15`,r:`2`}]],gee=[[`path`,{d:`M13.67 8H18a2 2 0 0 1 2 2v4.33`}],[`path`,{d:`M2 14h2`}],[`path`,{d:`M20 14h2`}],[`path`,{d:`M22 22 2 2`}],[`path`,{d:`M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586`}],[`path`,{d:`M9 13v2`}],[`path`,{d:`M9.67 4H12v2.33`}]],_ee=[[`path`,{d:`M12 8V4H8`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`}],[`path`,{d:`M2 14h2`}],[`path`,{d:`M20 14h2`}],[`path`,{d:`M15 13v2`}],[`path`,{d:`M9 13v2`}]],vee=[[`path`,{d:`M10 3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a6 6 0 0 0 1.2 3.6l.6.8A6 6 0 0 1 17 13v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a6 6 0 0 1 1.2-3.6l.6-.8A6 6 0 0 0 10 5z`}],[`path`,{d:`M17 13h-4a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h4`}]],yee=[[`path`,{d:`M17 3h4v4`}],[`path`,{d:`M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17`}],[`path`,{d:`M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05`}],[`path`,{d:`M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z`}],[`path`,{d:`M9.707 14.293 21 3`}]],bee=[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`}],[`path`,{d:`M12 22V12`}]],xee=[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`}],[`path`,{d:`m7 16.5-4.74-2.85`}],[`path`,{d:`m7 16.5 5-3`}],[`path`,{d:`M7 16.5v5.17`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`}],[`path`,{d:`m17 16.5-5-3`}],[`path`,{d:`m17 16.5 4.74-2.85`}],[`path`,{d:`M17 16.5v5.17`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`}],[`path`,{d:`M12 8 7.26 5.15`}],[`path`,{d:`m12 8 4.74-2.85`}],[`path`,{d:`M12 13.5V8`}]],ll=[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`}]],See=[[`path`,{d:`M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M8 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3`}]],Cee=[[`path`,{d:`M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z`}],[`path`,{d:`M9 13a4.5 4.5 0 0 0 3-4`}],[`path`,{d:`M6.003 5.125A3 3 0 0 0 6.401 6.5`}],[`path`,{d:`M3.477 10.896a4 4 0 0 1 .585-.396`}],[`path`,{d:`M6 18a4 4 0 0 1-1.967-.516`}],[`path`,{d:`M12 13h4`}],[`path`,{d:`M12 18h6a2 2 0 0 1 2 2v1`}],[`path`,{d:`M12 8h8`}],[`path`,{d:`M16 8V5a2 2 0 0 1 2-2`}],[`circle`,{cx:`16`,cy:`13`,r:`.5`}],[`circle`,{cx:`18`,cy:`3`,r:`.5`}],[`circle`,{cx:`20`,cy:`21`,r:`.5`}],[`circle`,{cx:`20`,cy:`8`,r:`.5`}]],wee=[[`path`,{d:`m10.852 14.772-.383.923`}],[`path`,{d:`m10.852 9.228-.383-.923`}],[`path`,{d:`m13.148 14.772.382.924`}],[`path`,{d:`m13.531 8.305-.383.923`}],[`path`,{d:`m14.772 10.852.923-.383`}],[`path`,{d:`m14.772 13.148.923.383`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 0 0-5.63-1.446 3 3 0 0 0-.368 1.571 4 4 0 0 0-2.525 5.771`}],[`path`,{d:`M17.998 5.125a4 4 0 0 1 2.525 5.771`}],[`path`,{d:`M19.505 10.294a4 4 0 0 1-1.5 7.706`}],[`path`,{d:`M4.032 17.483A4 4 0 0 0 11.464 20c.18-.311.892-.311 1.072 0a4 4 0 0 0 7.432-2.516`}],[`path`,{d:`M4.5 10.291A4 4 0 0 0 6 18`}],[`path`,{d:`M6.002 5.125a3 3 0 0 0 .4 1.375`}],[`path`,{d:`m9.228 10.852-.923-.383`}],[`path`,{d:`m9.228 13.148-.923.383`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Tee=[[`path`,{d:`M12 18V5`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`}]],Eee=[[`path`,{d:`M12 9v1.258`}],[`path`,{d:`M16 3v5.46`}],[`path`,{d:`M21 9.118V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5.75`}],[`path`,{d:`M22 17.5c0 2.499-1.75 3.749-3.83 4.474a.5.5 0 0 1-.335-.005c-2.085-.72-3.835-1.97-3.835-4.47V14a.5.5 0 0 1 .5-.499c1 0 2.25-.6 3.12-1.36a.6.6 0 0 1 .76-.001c.875.765 2.12 1.36 3.12 1.36a.5.5 0 0 1 .5.5z`}],[`path`,{d:`M3 15h7`}],[`path`,{d:`M3 9h12.142`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],Dee=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 9v6`}],[`path`,{d:`M16 15v6`}],[`path`,{d:`M16 3v6`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],Oee=[[`path`,{d:`M16 3v2.107`}],[`path`,{d:`M17 9c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 22 17a5 5 0 0 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C13 11.5 16 9 17 9`}],[`path`,{d:`M21 8.274V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.938`}],[`path`,{d:`M3 15h5.253`}],[`path`,{d:`M3 9h8.228`}],[`path`,{d:`M8 15v6`}],[`path`,{d:`M8 3v6`}]],kee=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M22 13a18.15 18.15 0 0 1-20 0`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Aee=[[`path`,{d:`M10 20v2`}],[`path`,{d:`M14 20v2`}],[`path`,{d:`M18 20v2`}],[`path`,{d:`M21 20H3`}],[`path`,{d:`M6 20v2`}],[`path`,{d:`M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`10`,rx:`2`}]],jee=[[`path`,{d:`M12 11v4`}],[`path`,{d:`M14 13h-4`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M18 6v14`}],[`path`,{d:`M6 6v14`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Mee=[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Nee=[[`path`,{d:`M10 13a3 3 0 0 1-2.121-5.121`}],[`path`,{d:`M15.606 14.204c-3.5 1.5-5.899 4.503-8.899 7.503A1 1 0 0 1 6 22c-2 0-4-2-4-4a1 1 0 0 1 .293-.707c1.911-1.911 3.823-3.578 5.347-5.441`}],[`path`,{d:`M16.573 14.737A4 4 0 0 1 14 11`}],[`path`,{d:`M7.14 10.907a4 4 0 1 1 2.756-7.43A4 4 0 0 1 16.7 4.48a2 2 0 0 1 2.82 2.82 4 4 0 0 1 1.002 6.805A4 4 0 1 1 13 16`}]],Pee=[[`path`,{d:`m16 22-1-4`}],[`path`,{d:`M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1`}],[`path`,{d:`M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z`}],[`path`,{d:`m8 22 1-4`}]],Fee=[[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`2`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2`}],[`path`,{d:`M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2`}]],Iee=[[`path`,{d:`m11 10 3 3`}],[`path`,{d:`M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z`}],[`path`,{d:`M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031`}]],Lee=[[`path`,{d:`M7.001 15.085A1.5 1.5 0 0 1 9 16.5`}],[`circle`,{cx:`18.5`,cy:`8.5`,r:`3.5`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`5.5`}],[`circle`,{cx:`7.5`,cy:`4.5`,r:`2.5`}]],Ree=[[`path`,{d:`M12 20v-8`}],[`path`,{d:`M12.656 7H14a4 4 0 0 1 4 4v1.344`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M17.123 17.123A6 6 0 0 1 6 14v-3a4 4 0 0 1 1.72-3.287`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M22 13h-3.344`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9.712 4.06A3 3 0 0 1 15 6v1.13`}]],zee=[[`path`,{d:`M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97`}],[`path`,{d:`M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`}]],Bee=[[`path`,{d:`M12 20v-9`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`}],[`path`,{d:`M14.12 3.88 16 2`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`}],[`path`,{d:`M22 13h-4`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`}],[`path`,{d:`M6 13H2`}],[`path`,{d:`m8 2 1.88 1.88`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`}]],Vee=[[`path`,{d:`M10 12h4`}],[`path`,{d:`M10 8h4`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`}]],Hee=[[`path`,{d:`M12 10h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M12 6h.01`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M16 14h.01`}],[`path`,{d:`M16 6h.01`}],[`path`,{d:`M8 10h.01`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M8 6h.01`}],[`path`,{d:`M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],ul=[[`path`,{d:`M4 6 2 7`}],[`path`,{d:`M10 6h4`}],[`path`,{d:`m22 7-2-1`}],[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`}],[`path`,{d:`M4 11h16`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M16 15h.01`}],[`path`,{d:`M6 19v2`}],[`path`,{d:`M18 21v-2`}]],dl=[[`path`,{d:`M8 6v6`}],[`path`,{d:`M15 6v6`}],[`path`,{d:`M2 12h19.6`}],[`path`,{d:`M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}],[`path`,{d:`M9 18h5`}],[`circle`,{cx:`16`,cy:`18`,r:`2`}]],fl=[[`path`,{d:`M10 3h.01`}],[`path`,{d:`M14 2h.01`}],[`path`,{d:`m2 9 20-5`}],[`path`,{d:`M12 12V6.5`}],[`rect`,{width:`16`,height:`10`,x:`4`,y:`12`,rx:`3`}],[`path`,{d:`M9 12v5`}],[`path`,{d:`M15 12v5`}],[`path`,{d:`M4 17h16`}]],pl=[[`path`,{d:`M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z`}],[`path`,{d:`M17 21v-2`}],[`path`,{d:`M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10`}],[`path`,{d:`M21 21v-2`}],[`path`,{d:`M3 5V3`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z`}],[`path`,{d:`M7 5V3`}]],ml=[[`path`,{d:`M16 13H3`}],[`path`,{d:`M16 17H3`}],[`path`,{d:`m7.2 7.9-3.388 2.5A2 2 0 0 0 3 12.01V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-8.654c0-2-2.44-6.026-6.44-8.026a1 1 0 0 0-1.082.057L10.4 5.6`}],[`circle`,{cx:`9`,cy:`7`,r:`2`}]],hl=[[`path`,{d:`M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8`}],[`path`,{d:`M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1`}],[`path`,{d:`M2 21h20`}],[`path`,{d:`M7 8v3`}],[`path`,{d:`M12 8v3`}],[`path`,{d:`M17 8v3`}],[`path`,{d:`M7 4h.01`}],[`path`,{d:`M12 4h.01`}],[`path`,{d:`M17 4h.01`}]],gl=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`6`,y2:`6`}],[`line`,{x1:`16`,x2:`16`,y1:`14`,y2:`18`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M12 10h.01`}],[`path`,{d:`M8 10h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M8 18h.01`}]],_l=[[`path`,{d:`M11 14h1v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],vl=[[`path`,{d:`m14 18 4 4 4-4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M18 14v8`}],[`path`,{d:`M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],yl=[[`path`,{d:`m14 18 4-4 4 4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M18 22v-8`}],[`path`,{d:`M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],bl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m9 16 2 2 4-4`}]],xl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m16 20 2 2 4-4`}]],Sl=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5`}],[`path`,{d:`M3 10h5`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}]],Cl=[[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m15.228 19.148-.923.383`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`m16.47 14.305.382.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`path`,{d:`M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],wl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 14h.01`}],[`path`,{d:`M12 14h.01`}],[`path`,{d:`M16 14h.01`}],[`path`,{d:`M8 18h.01`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M16 18h.01`}]],Tl=[[`path`,{d:`M3 20a2 2 0 0 0 2 2h10a2.4 2.4 0 0 0 1.706-.706l3.588-3.588A2.4 2.4 0 0 0 21 16V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`}],[`path`,{d:`M15 22v-5a1 1 0 0 1 1-1h5`}],[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}]],El=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M10 16h4`}]],Dl=[[`path`,{d:`M12.127 22H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.125`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],Ol=[[`path`,{d:`M16 19h6`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],kl=[[`path`,{d:`M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18`}],[`path`,{d:`M21 15.5V6a2 2 0 0 0-2-2H9.5`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h7`}],[`path`,{d:`M21 10h-5.5`}],[`path`,{d:`m2 2 20 20`}]],Al=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M10 16h4`}],[`path`,{d:`M12 14v4`}]],jl=[[`path`,{d:`M16 19h6`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.598V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}]],Ml=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`path`,{d:`M17 14h-6`}],[`path`,{d:`M13 18H7`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 18h.01`}]],Nl=[[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25`}],[`path`,{d:`m22 22-1.875-1.875`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`M8 2v4`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],Pl=[[`path`,{d:`M11 10v4h4`}],[`path`,{d:`m11 14 1.535-1.605a5 5 0 0 1 8 1.5`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`m21 18-1.535 1.605a5 5 0 0 1-8-1.5`}],[`path`,{d:`M21 22v-4h-4`}],[`path`,{d:`M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3`}],[`path`,{d:`M3 10h4`}],[`path`,{d:`M8 2v4`}]],Fl=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m17 22 5-5`}],[`path`,{d:`m17 17 5 5`}]],Il=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}],[`path`,{d:`m14 14-4 4`}],[`path`,{d:`m10 14 4 4`}]],Ll=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`}],[`path`,{d:`M3 10h18`}]],Rl=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M15.726 21.01A2 2 0 0 1 14 22H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`}],[`path`,{d:`M18 2v2`}],[`path`,{d:`M2 13h2`}],[`path`,{d:`M8 8h14`}],[`rect`,{x:`8`,y:`3`,width:`14`,height:`14`,rx:`2`}]],zl=[[`path`,{d:`M14.564 14.558a3 3 0 1 1-4.122-4.121`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 .819-.175`}],[`path`,{d:`M9.695 4.024A2 2 0 0 1 10.004 4h3.993a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v7.344`}]],Bl=[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`}],[`circle`,{cx:`12`,cy:`13`,r:`3`}]],Vl=[[`path`,{d:`m10.8 5 2.111 4.223`}],[`path`,{d:`M17.75 7 15 2.1`}],[`path`,{d:`m4.874 14.647 2.12 4.24`}],[`path`,{d:`M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2z`}],[`path`,{d:`m7.906 9.712 2.005 4.411`}]],Hl=[[`path`,{d:`M10 7v10.9`}],[`path`,{d:`M14 6.1V17`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`}],[`path`,{d:`M16.536 7.465a5 5 0 0 0-7.072 0l-2 2a5 5 0 0 0 0 7.07 5 5 0 0 0 7.072 0l2-2a5 5 0 0 0 0-7.07`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`}]],Ul=[[`path`,{d:`M10 10v7.9`}],[`path`,{d:`M11.802 6.145a5 5 0 0 1 6.053 6.053`}],[`path`,{d:`M14 6.1v2.243`}],[`path`,{d:`m15.5 15.571-.964.964a5 5 0 0 1-7.071 0 5 5 0 0 1 0-7.07l.964-.965`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`}]],Wl=[[`path`,{d:`M12 22v-4`}],[`path`,{d:`M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6`}]],Gl=[[`path`,{d:`M12 22v-4c1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5`}],[`path`,{d:`M13.988 8.327C13.902 6.054 13.365 3.82 12 2a9.3 9.3 0 0 0-1.445 2.9`}],[`path`,{d:`M17.375 11.725C18.882 10.53 21 7.841 21 6c-2.324 0-5.08 1.296-6.662 2.684`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21.024 15.378A15 15 0 0 0 22 15c-.426-1.279-2.67-2.557-4.25-2.907`}],[`path`,{d:`M6.995 6.992C5.714 6.4 4.29 6 3 6c0 2 2.5 5 4 6-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3`}]],Kl=[[`path`,{d:`M10.5 5H19a2 2 0 0 1 2 2v8.5`}],[`path`,{d:`M17 11h-.5`}],[`path`,{d:`M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7 11h4`}],[`path`,{d:`M7 15h2.5`}]],ql=[[`rect`,{width:`18`,height:`14`,x:`3`,y:`5`,rx:`2`,ry:`2`}],[`path`,{d:`M7 15h4M15 15h2M7 11h2M13 11h4`}]],Jl=[[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 14h.01`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],Yl=[[`path`,{d:`M10 2h4`}],[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`}],[`path`,{d:`M7 14h.01`}],[`path`,{d:`M17 14h.01`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M5 18v2`}],[`path`,{d:`M19 18v2`}]],Xl=[[`path`,{d:`M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2`}],[`circle`,{cx:`7`,cy:`17`,r:`2`}],[`path`,{d:`M9 17h6`}],[`circle`,{cx:`17`,cy:`17`,r:`2`}]],Zl=[[`path`,{d:`M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2`}],[`path`,{d:`M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2`}],[`path`,{d:`M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9`}],[`circle`,{cx:`8`,cy:`19`,r:`2`}]],Ql=[[`path`,{d:`M12 14v4`}],[`path`,{d:`M14.172 2a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 20 7.828V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z`}],[`path`,{d:`M8 14h8`}],[`rect`,{x:`8`,y:`10`,width:`8`,height:`8`,rx:`1`}]],$l=[[`path`,{d:`M15 16a1 1 0 0 0-7-7q-4 4-5.987 12.385a.5.5 0 0 0 .602.602Q11 20 15 16l-3-3`}],[`path`,{d:`M15 9q4 4 7 0-3-4-7 0 4-4 0-7-4 3 0 7`}],[`path`,{d:`m8 15-2.58-2.58`}]],eu=[[`path`,{d:`M10 9v7`}],[`path`,{d:`M14 6v10`}],[`circle`,{cx:`17.5`,cy:`12.5`,r:`3.5`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`3.5`}]],tu=[[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M22 9v7`}],[`path`,{d:`M3.304 13h6.392`}],[`circle`,{cx:`18.5`,cy:`12.5`,r:`3.5`}]],nu=[[`path`,{d:`M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M3.304 13h6.392`}]],ru=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`circle`,{cx:`8`,cy:`10`,r:`2`}],[`path`,{d:`M8 12h8`}],[`circle`,{cx:`16`,cy:`10`,r:`2`}],[`path`,{d:`m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3`}]],iu=[[`path`,{d:`M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6`}],[`path`,{d:`M2 12a9 9 0 0 1 8 8`}],[`path`,{d:`M2 16a5 5 0 0 1 4 4`}],[`line`,{x1:`2`,x2:`2.01`,y1:`20`,y2:`20`}]],au=[[`path`,{d:`M10 5V3`}],[`path`,{d:`M14 5V3`}],[`path`,{d:`M15 21v-3a3 3 0 0 0-6 0v3`}],[`path`,{d:`M18 3v8`}],[`path`,{d:`M18 5H6`}],[`path`,{d:`M22 11H2`}],[`path`,{d:`M22 9v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9`}],[`path`,{d:`M6 3v8`}]],ou=[[`path`,{d:`M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z`}],[`path`,{d:`M8 14v.5`}],[`path`,{d:`M16 14v.5`}],[`path`,{d:`M11.25 16.25h1.5L12 17l-.75-.75Z`}]],su=[[`path`,{d:`m12.309 6.652 4.797 2.401a1 1 0 0 1 .447 1.341l-.501 1.001.605.605h2.725a1 1 0 0 1 .894 1.447l-.724 1.448`}],[`path`,{d:`m15.166 15.166-.719 1.439a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.9 2.9 0 0 1 .873-1.037`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1l1.441-2.902`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M2 21v-4`}],[`path`,{d:`M7 9h.01`}]],cu=[[`path`,{d:`M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97`}],[`path`,{d:`M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15`}],[`path`,{d:`M2 21v-4`}],[`path`,{d:`M7 9h.01`}]],lu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z`}]],uu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`}]],du=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11h8`}],[`path`,{d:`M7 16h12`}],[`path`,{d:`M7 6h3`}]],fu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 11h8`}],[`path`,{d:`M7 16h3`}],[`path`,{d:`M7 6h12`}]],pu=[[`path`,{d:`M11 13v4`}],[`path`,{d:`M15 5v4`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`}]],mu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 16h8`}],[`path`,{d:`M7 11h12`}],[`path`,{d:`M7 6h3`}]],hu=[[`path`,{d:`M9 5v4`}],[`rect`,{width:`4`,height:`6`,x:`7`,y:`9`,rx:`1`}],[`path`,{d:`M9 15v2`}],[`path`,{d:`M17 3v2`}],[`rect`,{width:`4`,height:`8`,x:`15`,y:`5`,rx:`1`}],[`path`,{d:`M17 13v3`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}]],gu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`}]],_u=[[`path`,{d:`M13 17V9`}],[`path`,{d:`M18 17v-3`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 17V5`}]],vu=[[`path`,{d:`M13 17V9`}],[`path`,{d:`M18 17V5`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 17v-3`}]],yu=[[`path`,{d:`M11 13H7`}],[`path`,{d:`M19 9h-4`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`}]],bu=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M18 17V9`}],[`path`,{d:`M13 17V5`}],[`path`,{d:`M8 17v-3`}]],xu=[[`path`,{d:`M10 6h8`}],[`path`,{d:`M12 16h6`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M8 11h7`}]],Su=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`m19 9-5 5-4-4-3 3`}]],Cu=[[`path`,{d:`M5 21V3`}],[`path`,{d:`M12 21V9`}],[`path`,{d:`M19 21v-6`}]],wu=[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V9`}],[`path`,{d:`M19 21V3`}]],Tu=[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V3`}],[`path`,{d:`M19 21V9`}]],Eu=[[`path`,{d:`m13.11 7.664 1.78 2.672`}],[`path`,{d:`m14.162 12.788-3.324 1.424`}],[`path`,{d:`m20 4-6.06 1.515`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`circle`,{cx:`12`,cy:`6`,r:`2`}],[`circle`,{cx:`16`,cy:`12`,r:`2`}],[`circle`,{cx:`9`,cy:`15`,r:`2`}]],Du=[[`path`,{d:`M12 16v5`}],[`path`,{d:`M16 14.639V21`}],[`path`,{d:`M20 10.656V21`}],[`path`,{d:`m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15`}],[`path`,{d:`M4 18.463V21`}],[`path`,{d:`M8 14.656V21`}]],Ou=[[`path`,{d:`M6 5h12`}],[`path`,{d:`M4 12h10`}],[`path`,{d:`M12 19h8`}]],ku=[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`}]],Au=[[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`18.5`,cy:`5.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`11.5`,cy:`11.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}]],ju=[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7`}]],Mu=[[`path`,{d:`M18 6 7 17l-5-5`}],[`path`,{d:`m22 10-7.5 7.5L13 16`}]],Nu=[[`path`,{d:`M20 4L9 15`}],[`path`,{d:`M21 19L3 19`}],[`path`,{d:`M9 15L4 10`}]],Pu=[[`path`,{d:`M20 6 9 17l-5-5`}]],Fu=[[`path`,{d:`M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z`}],[`path`,{d:`M6 17h12`}]],Iu=[[`path`,{d:`M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`}],[`path`,{d:`M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`}],[`path`,{d:`M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12`}],[`path`,{d:`M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z`}]],Lu=[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`}],[`path`,{d:`m6.7 18-1-1C4.35 15.682 3 14.09 3 12a5 5 0 0 1 4.95-5c1.584 0 2.7.455 4.05 1.818C13.35 7.455 14.466 7 16.05 7A5 5 0 0 1 21 12c0 2.082-1.359 3.673-2.7 5l-1 1`}],[`path`,{d:`M10 4h4`}],[`path`,{d:`M12 2v6.818`}]],Ru=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M15 18c1.5-.615 3-2.461 3-4.923C18 8.769 14.5 4.462 12 2 9.5 4.462 6 8.77 6 13.077 6 15.539 7.5 17.385 9 18`}],[`path`,{d:`m16 7-2.5 2.5`}],[`path`,{d:`M9 2h6`}]],zu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M16.5 18c1-2 2.5-5 2.5-9a7 7 0 0 0-7-7H6.635a1 1 0 0 0-.768 1.64L7 5l-2.32 5.802a2 2 0 0 0 .95 2.526l2.87 1.456`}],[`path`,{d:`m15 5 1.425-1.425`}],[`path`,{d:`m17 8 1.53-1.53`}],[`path`,{d:`M9.713 12.185 7 18`}]],Bu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`m14.5 10 1.5 8`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`m8 18 1.5-8`}],[`circle`,{cx:`12`,cy:`6`,r:`4`}]],Vu=[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`}],[`path`,{d:`m12.474 5.943 1.567 5.34a1 1 0 0 0 1.75.328l2.616-3.402`}],[`path`,{d:`m20 9-3 9`}],[`path`,{d:`m5.594 8.209 2.615 3.403a1 1 0 0 0 1.75-.329l1.567-5.34`}],[`path`,{d:`M7 18 4 9`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}],[`circle`,{cx:`20`,cy:`7`,r:`2`}],[`circle`,{cx:`4`,cy:`7`,r:`2`}]],Hu=[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`}],[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`m17 18-1-9`}],[`path`,{d:`M6 2v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2`}],[`path`,{d:`M6 4h12`}],[`path`,{d:`m7 18 1-9`}]],Uu=[[`path`,{d:`m6 9 6 6 6-6`}]],Wu=[[`path`,{d:`m7 18 6-6-6-6`}],[`path`,{d:`M17 6v12`}]],Gu=[[`path`,{d:`m17 18-6-6 6-6`}],[`path`,{d:`M7 6v12`}]],Ku=[[`path`,{d:`m15 18-6-6 6-6`}]],qu=[[`path`,{d:`m9 18 6-6-6-6`}]],Ju=[[`path`,{d:`m18 15-6-6-6 6`}]],Yu=[[`path`,{d:`m7 6 5 5 5-5`}],[`path`,{d:`m7 13 5 5 5-5`}]],Xu=[[`path`,{d:`m7 20 5-5 5 5`}],[`path`,{d:`m7 4 5 5 5-5`}]],Zu=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`m17 7 5 5-5 5`}],[`path`,{d:`m7 7-5 5 5 5`}],[`path`,{d:`M8 12h.01`}]],Qu=[[`path`,{d:`m9 7-5 5 5 5`}],[`path`,{d:`m15 7 5 5-5 5`}]],Uee=[[`path`,{d:`m11 17-5-5 5-5`}],[`path`,{d:`m18 17-5-5 5-5`}]],Wee=[[`path`,{d:`m20 17-5-5 5-5`}],[`path`,{d:`m4 17 5-5-5-5`}]],Gee=[[`path`,{d:`m6 17 5-5-5-5`}],[`path`,{d:`m13 17 5-5-5-5`}]],$u=[[`path`,{d:`m7 15 5 5 5-5`}],[`path`,{d:`m7 9 5-5 5 5`}]],ed=[[`path`,{d:`m17 11-5-5-5 5`}],[`path`,{d:`m17 18-5-5-5 5`}]],td=[[`path`,{d:`M10 9h4`}],[`path`,{d:`M12 7v5`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9`}],[`path`,{d:`M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14`}]],nd=[[`path`,{d:`M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M7 12v4`}]],rd=[[`path`,{d:`M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`}],[`path`,{d:`M7 12v4`}]],id=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],ad=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8 12 4 4 4-4`}]],od=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m12 8-4 4 4 4`}],[`path`,{d:`M16 12H8`}]],sd=[[`path`,{d:`M2 12a10 10 0 1 1 10 10`}],[`path`,{d:`m2 22 10-10`}],[`path`,{d:`M8 22H2v-6`}]],cd=[[`path`,{d:`M12 22a10 10 0 1 1 10-10`}],[`path`,{d:`M22 22 12 12`}],[`path`,{d:`M22 16v6h-6`}]],ld=[[`path`,{d:`M2 8V2h6`}],[`path`,{d:`m2 2 10 10`}],[`path`,{d:`M12 2A10 10 0 1 1 2 12`}]],ud=[[`path`,{d:`M22 12A10 10 0 1 1 12 2`}],[`path`,{d:`M22 2 12 12`}],[`path`,{d:`M16 2h6v6`}]],dd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m12 16 4-4-4-4`}],[`path`,{d:`M8 12h8`}]],fd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],pd=[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`}],[`path`,{d:`m9 11 3 3L22 4`}]],md=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m9 12 2 2 4-4`}]],hd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 10-4 4-4-4`}]],gd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m14 16-4-4 4-4`}]],_d=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m10 8 4 4-4 4`}]],vd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m8 14 4-4 4 4`}]],yd=[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`}],[`path`,{d:`M17.609 3.721a10 10 0 0 1 2.69 2.7`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`}],[`path`,{d:`M20.279 17.609a10 10 0 0 1-2.7 2.69`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`}],[`path`,{d:`M6.391 20.279a10 10 0 0 1-2.69-2.7`}]],bd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`}]],xd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`}],[`path`,{d:`M12 18V6`}]],Sd=[[`path`,{d:`M10.1 2.18a9.93 9.93 0 0 1 3.8 0`}],[`path`,{d:`M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7`}],[`path`,{d:`M21.82 10.1a9.93 9.93 0 0 1 0 3.8`}],[`path`,{d:`M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69`}],[`path`,{d:`M13.9 21.82a9.94 9.94 0 0 1-3.8 0`}],[`path`,{d:`M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7`}],[`path`,{d:`M2.18 13.9a9.93 9.93 0 0 1 0-3.8`}],[`path`,{d:`M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],Cd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],wd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M17 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M7 12h.01`}]],Td=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M7 14h10`}]],Ed=[[`path`,{d:`M15 9.4a4 4 0 1 0 0 5.2`}],[`path`,{d:`M7 12h5`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Dd=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],Od=[[`path`,{d:`M15.6 2.7a10 10 0 1 0 5.7 5.7`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M13.4 10.6 19 5`}]],kd=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`M16 12H8`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],Ad=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 12h8`}]],jd=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`}],[`path`,{d:`M19.08 19.08A10 10 0 1 1 4.92 4.92`}]],Md=[[`path`,{d:`M12.656 7H13a3 3 0 0 1 2.984 3.307`}],[`path`,{d:`M13 13H9`}],[`path`,{d:`M19.071 19.071A1 1 0 0 1 4.93 4.93`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.357 2.687a10 10 0 0 1 12.956 12.956`}],[`path`,{d:`M9 17V9`}]],Nd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`}]],Pd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`}]],Fd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],Id=[[`circle`,{cx:`12`,cy:`19`,r:`2`}],[`circle`,{cx:`12`,cy:`5`,r:`2`}],[`circle`,{cx:`16`,cy:`12`,r:`2`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}],[`circle`,{cx:`4`,cy:`19`,r:`2`}],[`circle`,{cx:`8`,cy:`12`,r:`2`}]],Ld=[[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Rd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],zd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M10 16V9.5a1 1 0 0 1 5 0`}],[`path`,{d:`M8 12h4`}],[`path`,{d:`M8 16h7`}]],Bd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`}]],Vd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],Hd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`}]],Ud=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M22 2 2 22`}]],Wd=[[`circle`,{cx:`12`,cy:`12`,r:`6`}]],Gd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M11.051 7.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.867l-1.156-1.152a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}]],Kd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`}]],qd=[[`path`,{d:`M17.925 20.056a6 6 0 0 0-11.851.001`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Jd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662`}]],Yd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],Xd=[[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Zd=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M11 9h4a2 2 0 0 0 2-2V3`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`M7 21v-4a2 2 0 0 1 2-2h4`}],[`circle`,{cx:`15`,cy:`15`,r:`2`}]],Qd=[[`path`,{d:`M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z`}],[`path`,{d:`M19.65 15.66A8 8 0 0 1 8.35 4.34`}],[`path`,{d:`m14 10-5.5 5.5`}],[`path`,{d:`M14 17.85V10H6.15`}]],$d=[[`path`,{d:`m12.296 3.464 3.02 3.956`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}],[`path`,{d:`m6.18 5.276 3.1 3.899`}]],ef=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v.832`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],tf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`m9 14 2 2 4-4`}]],nf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v4`}],[`path`,{d:`M21 14H11`}],[`path`,{d:`m15 10-4 4 4 4`}]],rf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M12 11h4`}],[`path`,{d:`M12 16h4`}],[`path`,{d:`M8 11h.01`}],[`path`,{d:`M8 16h.01`}]],af=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 14h6`}]],of=[[`path`,{d:`M11 14h10`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v1.344`}],[`path`,{d:`m17 18 4-4-4-4`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],sf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5`}],[`path`,{d:`M16 4h2a2 2 0 0 1 1.73 1`}],[`path`,{d:`M8 18h1`}],[`path`,{d:`M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],cf=[[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21.34 15.664a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`path`,{d:`M8 22H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`}]],lf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 14h6`}],[`path`,{d:`M12 17v-6`}]],uf=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M9 12v-1h6v1`}],[`path`,{d:`M11 17h2`}],[`path`,{d:`M12 11v6`}]],df=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`m15 11-6 6`}],[`path`,{d:`m9 11 6 6`}]],ff=[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`}]],pf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l2-4`}]],mf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-4-2`}]],hf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-2-4`}]],gf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6`}]],_f=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4-2`}]],vf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6h4`}]],yf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4 2`}]],bf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l2 4`}]],xf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v10`}]],Sf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-2 4`}]],Cf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6H8`}]],wf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l-4 2`}]],Tf=[[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M20 12v5`}],[`path`,{d:`M20 21h.01`}],[`path`,{d:`M21.25 8.2A10 10 0 1 0 16 21.16`}]],Ef=[[`path`,{d:`M12 6v6l2 1`}],[`path`,{d:`M12.337 21.994a10 10 0 1 1 9.588-8.767`}],[`path`,{d:`m14 18 4 4 4-4`}],[`path`,{d:`M18 14v8`}]],Df=[[`path`,{d:`M12 6v6l1.5.8`}],[`path`,{d:`M12.338 21.994a10 10 0 1 1 9.587-8.767`}],[`path`,{d:`M14 18h8`}],[`path`,{d:`m18 22-4-4 4-4`}]],Of=[[`path`,{d:`M12 6v6l2 1`}],[`path`,{d:`M13.5 21.885A10 10 0 1 1 22 12`}],[`path`,{d:`M14 18h8`}],[`path`,{d:`m18 22 4-4-4-4`}]],kf=[[`path`,{d:`M12 6v6l1.56.78`}],[`path`,{d:`M13.227 21.925a10 10 0 1 1 8.767-9.588`}],[`path`,{d:`m14 18 4-4 4 4`}],[`path`,{d:`M18 22v-8`}]],Af=[[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M22 12a10 10 0 1 0-11 9.95`}],[`path`,{d:`m22 16-5.5 5.5L14 19`}]],jf=[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`}],[`path`,{d:`M12 6v6l4 2`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`}]],Mf=[[`path`,{d:`M12 6v6l3.644 1.822`}],[`path`,{d:`M16 19h6`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21.92 13.267a10 10 0 1 0-8.653 8.653`}]],Nf=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 6v6l4 2`}]],Pf=[[`path`,{d:`M10 9.17a3 3 0 1 0 0 5.66`}],[`path`,{d:`M17 9.17a3 3 0 1 0 0 5.66`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],Ff=[[`path`,{d:`M12 12v4`}],[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.128 16.949A7 7 0 1 1 15.71 8h1.79a1 1 0 0 1 0 9h-1.642`}]],If=[[`path`,{d:`m17 15-5.5 5.5L9 18`}],[`path`,{d:`M5.516 16.07A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 3.501 7.327`}]],Lf=[[`path`,{d:`M21 15.251A4.5 4.5 0 0 0 17.5 8h-1.79A7 7 0 1 0 3 13.607`}],[`path`,{d:`M7 11v4h4`}],[`path`,{d:`M8 19a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5 4.82 4.82 0 0 0-3.41 1.41L7 15`}]],Rf=[[`path`,{d:`m10.852 19.772-.383.924`}],[`path`,{d:`m13.148 14.228.383-.923`}],[`path`,{d:`M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923`}],[`path`,{d:`m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544`}],[`path`,{d:`m14.772 15.852.923-.383`}],[`path`,{d:`m14.772 18.148.923.383`}],[`path`,{d:`M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2`}],[`path`,{d:`m9.228 15.852-.923-.383`}],[`path`,{d:`m9.228 18.148-.923.383`}]],zf=[[`path`,{d:`M12 13v8l-4-4`}],[`path`,{d:`m12 21 4-4`}],[`path`,{d:`M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284`}]],Bf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 17H7`}],[`path`,{d:`M17 21H9`}]],Vf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M8 19v1`}],[`path`,{d:`M8 14v1`}],[`path`,{d:`M16 19v1`}],[`path`,{d:`M16 14v1`}],[`path`,{d:`M12 21v1`}],[`path`,{d:`M12 16v1`}]],Hf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 14v2`}],[`path`,{d:`M8 14v2`}],[`path`,{d:`M16 20h.01`}],[`path`,{d:`M8 20h.01`}],[`path`,{d:`M12 16v2`}],[`path`,{d:`M12 22h.01`}]],Uf=[[`path`,{d:`M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973`}],[`path`,{d:`m13 12-3 5h4l-3 5`}]],Wf=[[`path`,{d:`M11 20v2`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`}],[`path`,{d:`M7 19v2`}]],Gf=[[`path`,{d:`M13 16a3 3 0 0 1 0 6H7a5 5 0 1 1 4.9-6z`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`}]],Kf=[[`path`,{d:`M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057`}],[`path`,{d:`M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78`}],[`path`,{d:`m2 2 20 20`}]],qf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m9.2 22 3-7`}],[`path`,{d:`m9 13-3 7`}],[`path`,{d:`m17 13-3 7`}]],Jf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M16 14v6`}],[`path`,{d:`M8 14v6`}],[`path`,{d:`M12 16v6`}]],Yf=[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M8 19h.01`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M12 21h.01`}],[`path`,{d:`M16 15h.01`}],[`path`,{d:`M16 19h.01`}]],Xf=[[`path`,{d:`M12 2v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`}],[`path`,{d:`M11 20v2`}],[`path`,{d:`M7 19v2`}]],Zf=[[`path`,{d:`M12 2v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`}],[`path`,{d:`M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z`}]],Qf=[[`path`,{d:`m17 18-1.535 1.605a5 5 0 0 1-8-1.5`}],[`path`,{d:`M17 22v-4h-4`}],[`path`,{d:`M20.996 15.251A4.5 4.5 0 0 0 17.495 8h-1.79a7 7 0 1 0-12.709 5.607`}],[`path`,{d:`M7 10v4h4`}],[`path`,{d:`m7 14 1.535-1.605a5 5 0 0 1 8 1.5`}]],$f=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m8 17 4-4 4 4`}]],ep=[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`}]],tp=[[`path`,{d:`M17.5 12a1 1 0 1 1 0 9H9.006a7 7 0 1 1 6.702-9z`}],[`path`,{d:`M21.832 9A3 3 0 0 0 19 7h-2.207a5.5 5.5 0 0 0-10.72.61`}]],np=[[`path`,{d:`M16.17 7.83 2 22`}],[`path`,{d:`M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12`}],[`path`,{d:`m7.83 7.83 8.34 8.34`}]],rp=[[`path`,{d:`M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z`}],[`path`,{d:`M12 17.66L12 22`}]],ip=[[`path`,{d:`m18 16 4-4-4-4`}],[`path`,{d:`m6 8-4 4 4 4`}],[`path`,{d:`m14.5 4-5 16`}]],ap=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]],op=[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`}],[`path`,{d:`M6 2v2`}]],sp=[[`path`,{d:`M11 10.27 7 3.34`}],[`path`,{d:`m11 13.73-4 6.93`}],[`path`,{d:`M12 22v-2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M14 12h8`}],[`path`,{d:`m17 20.66-1-1.73`}],[`path`,{d:`m17 3.34-1 1.73`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`m20.66 17-1.73-1`}],[`path`,{d:`m20.66 7-1.73 1`}],[`path`,{d:`m3.34 17 1.73-1`}],[`path`,{d:`m3.34 7 1.73 1`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`8`}]],cp=[[`path`,{d:`M13.744 17.736a6 6 0 1 1-7.48-7.48`}],[`path`,{d:`M15 6h1v4`}],[`path`,{d:`m6.134 14.768.866-.5 2 3.464`}],[`circle`,{cx:`16`,cy:`8`,r:`6`}]],lp=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 3v18`}]],up=[[`path`,{d:`M10.6 21H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v5.6`}],[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`M15 3v7.6`}],[`path`,{d:`m15.229 16.852-.924-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.773 16.852.922-.383`}],[`path`,{d:`m20.773 19.148.922.383`}],[`path`,{d:`M9 3v18`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],dp=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],fp=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7.5 3v18`}],[`path`,{d:`M12 3v18`}],[`path`,{d:`M16.5 3v18`}]],pp=[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`}]],mp=[[`path`,{d:`M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`m7 15 3 3`}],[`path`,{d:`m7 21 3-3H5a2 2 0 0 1-2-2v-2`}],[`rect`,{x:`14`,y:`14`,width:`7`,height:`7`,rx:`1`}],[`rect`,{x:`3`,y:`3`,width:`7`,height:`7`,rx:`1`}]],hp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`}]],gp=[[`path`,{d:`M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z`}],[`path`,{d:`M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`}]],_p=[[`rect`,{width:`14`,height:`8`,x:`5`,y:`2`,rx:`2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h2`}],[`path`,{d:`M12 18h6`}]],vp=[[`path`,{d:`M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z`}],[`path`,{d:`M20 16a8 8 0 1 0-16 0`}],[`path`,{d:`M12 4v4`}],[`path`,{d:`M10 4h4`}]],yp=[[`path`,{d:`m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98`}],[`ellipse`,{cx:`12`,cy:`19`,rx:`9`,ry:`3`}]],bp=[[`path`,{d:`M16 2v2`}],[`path`,{d:`M17.915 22a6 6 0 0 0-12 0`}],[`path`,{d:`M8 2v2`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],xp=[[`rect`,{x:`2`,y:`6`,width:`20`,height:`8`,rx:`1`}],[`path`,{d:`M17 14v7`}],[`path`,{d:`M7 14v7`}],[`path`,{d:`M17 3v3`}],[`path`,{d:`M7 3v3`}],[`path`,{d:`M10 14 2.3 6.3`}],[`path`,{d:`m14 6 7.7 7.7`}],[`path`,{d:`m8 6 8 8`}]],Sp=[[`path`,{d:`M16 2v2`}],[`path`,{d:`M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`}],[`path`,{d:`M8 2v2`}],[`circle`,{cx:`12`,cy:`11`,r:`3`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}]],Cp=[[`path`,{d:`M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z`}],[`path`,{d:`M10 21.9V14L2.1 9.1`}],[`path`,{d:`m10 14 11.9-6.9`}],[`path`,{d:`M14 19.8v-8.1`}],[`path`,{d:`M18 17.5V9.4`}]],wp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 18a6 6 0 0 0 0-12v12z`}]],Tp=[[`path`,{d:`M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5`}],[`path`,{d:`M8.5 8.5v.01`}],[`path`,{d:`M16 15.5v.01`}],[`path`,{d:`M12 12v.01`}],[`path`,{d:`M11 17v.01`}],[`path`,{d:`M7 14v.01`}]],Ep=[[`path`,{d:`M2 12h20`}],[`path`,{d:`M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`}],[`path`,{d:`m4 8 16-4`}],[`path`,{d:`m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8`}]],Dp=[[`path`,{d:`m12 15 2 2 4-4`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Op=[[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],kp=[[`line`,{x1:`15`,x2:`15`,y1:`12`,y2:`18`}],[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Ap=[[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],jp=[[`line`,{x1:`12`,x2:`18`,y1:`12`,y2:`18`}],[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Mp=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],Np=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.17 14.83a4 4 0 1 0 0-5.66`}]],Pp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M14.83 14.83a4 4 0 1 1 0-5.66`}]],Fp=[[`path`,{d:`M20 4v7a4 4 0 0 1-4 4H4`}],[`path`,{d:`m9 10-5 5 5 5`}]],Ip=[[`path`,{d:`m15 10 5 5-5 5`}],[`path`,{d:`M4 4v7a4 4 0 0 0 4 4h12`}]],Lp=[[`path`,{d:`M14 9 9 4 4 9`}],[`path`,{d:`M20 20h-7a4 4 0 0 1-4-4V4`}]],Rp=[[`path`,{d:`m14 15-5 5-5-5`}],[`path`,{d:`M20 4h-7a4 4 0 0 0-4 4v12`}]],zp=[[`path`,{d:`m10 15 5 5 5-5`}],[`path`,{d:`M4 4h7a4 4 0 0 1 4 4v12`}]],Bp=[[`path`,{d:`m10 9 5-5 5 5`}],[`path`,{d:`M4 20h7a4 4 0 0 0 4-4V4`}]],Vp=[[`path`,{d:`M20 20v-7a4 4 0 0 0-4-4H4`}],[`path`,{d:`M9 14 4 9l5-5`}]],Hp=[[`path`,{d:`m15 14 5-5-5-5`}],[`path`,{d:`M4 20v-7a4 4 0 0 1 4-4h12`}]],Up=[[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M17 20v2`}],[`path`,{d:`M17 2v2`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M2 17h2`}],[`path`,{d:`M2 7h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`M20 17h2`}],[`path`,{d:`M20 7h2`}],[`path`,{d:`M7 20v2`}],[`path`,{d:`M7 2v2`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`}]],Wp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`}],[`path`,{d:`M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`}]],Gp=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`}]],Kp=[[`path`,{d:`M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487`}],[`path`,{d:`M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132`}],[`path`,{d:`M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42`}],[`path`,{d:`M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14`}],[`path`,{d:`M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676`}]],qp=[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`}]],Jp=[[`path`,{d:`M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z`}]],Yp=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`}]],Xp=[[`path`,{d:`M10 22v-8`}],[`path`,{d:`M2.336 8.89 10 14l11.715-7.029`}],[`path`,{d:`M22 14a2 2 0 0 1-.971 1.715l-10 6a2 2 0 0 1-2.138-.05l-6-4A2 2 0 0 1 2 16v-6a2 2 0 0 1 .971-1.715l10-6a2 2 0 0 1 2.138.05l6 4A2 2 0 0 1 22 8z`}]],Zp=[[`path`,{d:`m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8`}],[`path`,{d:`M5 8h14`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0`}],[`path`,{d:`m12 8 1-6h2`}]],Qp=[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`}],[`path`,{d:`M5 21h14`}]],$p=[[`circle`,{cx:`12`,cy:`12`,r:`8`}],[`line`,{x1:`3`,x2:`6`,y1:`3`,y2:`6`}],[`line`,{x1:`21`,x2:`18`,y1:`3`,y2:`6`}],[`line`,{x1:`3`,x2:`6`,y1:`21`,y2:`18`}],[`line`,{x1:`21`,x2:`18`,y1:`21`,y2:`18`}]],em=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5v14a9 3 0 0 0 18 0V5`}]],tm=[[`path`,{d:`M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`path`,{d:`M2 6h4`}],[`path`,{d:`M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z`}]],nm=[[`path`,{d:`m16 19 3 3 3-3`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`M3 12A9 3 0 0 0 15.182 14.806`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],rm=[[`path`,{d:`M19 22v-6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`m22 19-3-3-3 3`}],[`path`,{d:`M3 12A9 3 0 0 0 14.457 14.886`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],im=[[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M21 13.127V5`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],am=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 12a9 3 0 0 0 5 2.69`}],[`path`,{d:`M21 9.3V5`}],[`path`,{d:`M3 5v14a9 3 0 0 0 6.47 2.88`}],[`path`,{d:`M12 12v4h4`}],[`path`,{d:`M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16`}]],om=[[`path`,{d:`M21 15V5`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],sm=[[`path`,{d:`M19 16v6`}],[`path`,{d:`M21 12.536V5`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M3 12A9 3 0 0 0 15.1824 14.8061`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13.318 21.968`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],cm=[[`path`,{d:`M21 11.693V5`}],[`path`,{d:`m22 22-1.875-1.875`}],[`path`,{d:`M3 12a9 3 0 0 0 8.697 2.998`}],[`path`,{d:`M3 5v14a9 3 0 0 0 9.28 2.999`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],lm=[[`path`,{d:`m17 17 5 5`}],[`path`,{d:`M19.323 13.744A9 3 0 0 0 21 12`}],[`path`,{d:`M21 13.127V5`}],[`path`,{d:`m22 17-5 5`}],[`path`,{d:`M3 12A9 3 0 0 0 13.563 14.954`}],[`path`,{d:`M3 5V19A9 3 0 0 0 13 21.981`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}]],um=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5V19A9 3 0 0 0 15 21.84`}],[`path`,{d:`M21 5V8`}],[`path`,{d:`M21 12L18 17H22L19 22`}],[`path`,{d:`M3 12A9 3 0 0 0 14.59 14.87`}]],dm=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}]],fm=[[`path`,{d:`M10 18h10`}],[`path`,{d:`m17 21 3-3-3-3`}],[`path`,{d:`M3 11h.01`}],[`rect`,{x:`15`,y:`3`,width:`5`,height:`8`,rx:`2.5`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`}]],pm=[[`path`,{d:`m13 21-3-3 3-3`}],[`path`,{d:`M20 18H10`}],[`path`,{d:`M3 11h.01`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`}]],mm=[[`path`,{d:`M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z`}],[`path`,{d:`m12 9 6 6`}],[`path`,{d:`m18 9-6 6`}]],hm=[[`path`,{d:`M10.162 3.167A10 10 0 0 0 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4-.006 10 10 0 0 0-8.161-9.826`}],[`path`,{d:`M20.804 14.869a9 9 0 0 1-17.608 0`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}]],gm=[[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`}],[`path`,{d:`M6.48 3.66a10 10 0 0 1 13.86 13.86`}],[`path`,{d:`m6.41 6.41 11.18 11.18`}],[`path`,{d:`M3.66 6.48a10 10 0 0 0 13.86 13.86`}]],_m=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`}],[`path`,{d:`M8 12h8`}]],vm=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z`}],[`path`,{d:`M9.2 9.2h.01`}],[`path`,{d:`m14.5 9.5-5 5`}],[`path`,{d:`M14.7 14.8h.01`}]],ym=[[`path`,{d:`M12 8v8`}],[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`}],[`path`,{d:`M8 12h8`}]],bm=[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z`}]],xm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M12 12h.01`}]],Sm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M15 9h.01`}],[`path`,{d:`M9 15h.01`}]],Cm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M8 16h.01`}]],wm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 16h.01`}],[`path`,{d:`M16 16h.01`}]],Tm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 16h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M12 12h.01`}]],Em=[[`rect`,{width:`12`,height:`12`,x:`2`,y:`10`,rx:`2`,ry:`2`}],[`path`,{d:`m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 14h.01`}],[`path`,{d:`M15 6h.01`}],[`path`,{d:`M18 9h.01`}]],Dm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M16 8h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M8 8h.01`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M8 16h.01`}]],Om=[[`path`,{d:`M12 3v14`}],[`path`,{d:`M5 10h14`}],[`path`,{d:`M5 21h14`}]],km=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 12h.01`}]],Am=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M6 12c0-1.7.7-3.2 1.8-4.2`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M18 12c0 1.7-.7 3.2-1.8 4.2`}]],jm=[[`circle`,{cx:`12`,cy:`6`,r:`1`}],[`line`,{x1:`5`,x2:`19`,y1:`12`,y2:`12`}],[`circle`,{cx:`12`,cy:`18`,r:`1`}]],Mm=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`5`}],[`path`,{d:`M12 12h.01`}]],Nm=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],Pm=[[`path`,{d:`M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8`}],[`path`,{d:`m17 6-2.891-2.891`}],[`path`,{d:`M2 15c3.333-3 6.667-3 10-3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`m20 9 .891.891`}],[`path`,{d:`M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1`}],[`path`,{d:`M3.109 14.109 4 15`}],[`path`,{d:`m6.5 12.5 1 1`}],[`path`,{d:`m7 18 2.891 2.891`}],[`path`,{d:`M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16`}]],Fm=[[`path`,{d:`m10 16 1.5 1.5`}],[`path`,{d:`m14 8-1.5-1.5`}],[`path`,{d:`M15 2c-1.798 1.998-2.518 3.995-2.807 5.993`}],[`path`,{d:`m16.5 10.5 1 1`}],[`path`,{d:`m17 6-2.891-2.891`}],[`path`,{d:`M2 15c6.667-6 13.333 0 20-6`}],[`path`,{d:`m20 9 .891.891`}],[`path`,{d:`M3.109 14.109 4 15`}],[`path`,{d:`m6.5 12.5 1 1`}],[`path`,{d:`m7 18 2.891 2.891`}],[`path`,{d:`M9 22c1.798-1.998 2.518-3.995 2.807-5.993`}]],Im=[[`path`,{d:`M2 8h20`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 16h12`}]],Lm=[[`path`,{d:`M11.25 16.25h1.5L12 17z`}],[`path`,{d:`M16 14v.5`}],[`path`,{d:`M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309`}],[`path`,{d:`M8 14v.5`}],[`path`,{d:`M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5`}]],Rm=[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`}]],zm=[[`path`,{d:`M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Bm=[[`path`,{d:`M10 12h.01`}],[`path`,{d:`M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M2 20h8`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`}],[`rect`,{x:`14`,y:`17`,width:`8`,height:`5`,rx:`1`}]],Vm=[[`path`,{d:`M10 12h.01`}],[`path`,{d:`M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M2 20h20`}]],Hm=[[`path`,{d:`M11 20H2`}],[`path`,{d:`M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z`}],[`path`,{d:`M11 4H8a2 2 0 0 0-2 2v14`}],[`path`,{d:`M14 12h.01`}],[`path`,{d:`M22 20h-3`}]],Um=[[`circle`,{cx:`12`,cy:`12`,r:`1`}]],Wm=[[`path`,{d:`M12 15V3`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}],[`path`,{d:`m7 10 5 5 5-5`}]],Gm=[[`path`,{d:`M10 11h.01`}],[`path`,{d:`M14 6h.01`}],[`path`,{d:`M18 6h.01`}],[`path`,{d:`M6.5 13.1h.01`}],[`path`,{d:`M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3`}],[`path`,{d:`M17.4 9.9c-.8.8-2 .8-2.8 0`}],[`path`,{d:`M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7`}],[`path`,{d:`M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4`}]],Km=[[`path`,{d:`M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z`}],[`path`,{d:`M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8`}],[`path`,{d:`M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M18 6h4`}],[`path`,{d:`m5 10-2 8`}],[`path`,{d:`m7 18 2-8`}]],qm=[[`path`,{d:`m12.99 6.74 1.93 3.44`}],[`path`,{d:`M19.136 12a10 10 0 0 1-14.271 0`}],[`path`,{d:`m21 21-2.16-3.84`}],[`path`,{d:`m3 21 8.02-14.26`}],[`circle`,{cx:`12`,cy:`5`,r:`2`}]],Jm=[[`path`,{d:`M10 10 7 7`}],[`path`,{d:`m10 14-3 3`}],[`path`,{d:`m14 10 3-3`}],[`path`,{d:`m14 14 3 3`}],[`path`,{d:`M14.205 4.139a4 4 0 1 1 5.439 5.863`}],[`path`,{d:`M19.637 14a4 4 0 1 1-5.432 5.868`}],[`path`,{d:`M4.367 10a4 4 0 1 1 5.438-5.862`}],[`path`,{d:`M9.795 19.862a4 4 0 1 1-5.429-5.873`}],[`rect`,{x:`10`,y:`8`,width:`4`,height:`8`,rx:`1`}]],Ym=[[`path`,{d:`M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208`}]],Xm=[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`}]],Zm=[[`path`,{d:`M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z`}],[`path`,{d:`M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97`}]],Qm=[[`path`,{d:`m2 2 8 8`}],[`path`,{d:`m22 2-8 8`}],[`ellipse`,{cx:`12`,cy:`9`,rx:`10`,ry:`5`}],[`path`,{d:`M7 13.4v7.9`}],[`path`,{d:`M12 14v8`}],[`path`,{d:`M17 13.4v7.9`}],[`path`,{d:`M2 9v8a10 5 0 0 0 20 0V9`}]],$m=[[`path`,{d:`M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23`}],[`path`,{d:`m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59`}]],eh=[[`path`,{d:`M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z`}],[`path`,{d:`m2.5 21.5 1.4-1.4`}],[`path`,{d:`m20.1 3.9 1.4-1.4`}],[`path`,{d:`M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z`}],[`path`,{d:`m9.6 14.4 4.8-4.8`}]],th=[[`path`,{d:`M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46`}],[`path`,{d:`M6 8.5c0-.75.13-1.47.36-2.14`}],[`path`,{d:`M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76`}],[`path`,{d:`M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],nh=[[`path`,{d:`M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0`}],[`path`,{d:`M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4`}]],rh=[[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`}],[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`}],[`path`,{d:`M12 2a10 10 0 1 0 9.54 13`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`}]],ih=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a7 7 0 1 0 10 10`}]],ah=[[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`}],[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],oh=[[`circle`,{cx:`11.5`,cy:`12.5`,r:`3.5`}],[`path`,{d:`M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z`}]],sh=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 14.347V14c0-6-4-12-8-12-1.078 0-2.157.436-3.157 1.19`}],[`path`,{d:`M6.206 6.21C4.871 8.4 4 11.2 4 14a8 8 0 0 0 14.568 4.568`}]],ch=[[`path`,{d:`M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12`}]],lh=[[`ellipse`,{cx:`12`,cy:`12`,rx:`10`,ry:`6`}]],uh=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`circle`,{cx:`12`,cy:`19`,r:`1`}]],dh=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}]],fh=[[`path`,{d:`M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`}],[`path`,{d:`M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`}]],ph=[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`}],[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`}]],mh=[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`}]],hh=[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`}],[`path`,{d:`m5.082 11.09 8.828 8.828`}]],gh=[[`path`,{d:`M10 8v1`}],[`path`,{d:`M14 8v1`}],[`path`,{d:`M18 8v1`}],[`path`,{d:`M19 17a2 2 0 00-1.765 1.059l-.47.882A2 2 0 0115 20H9a2 2 0 01-1.765-1.059l-.47-.882A2 2 0 005 17H4a2 2 0 01-2-2V6a2 2 0 012-2h16a2 2 0 012 2v9a2 2 0 01-2 2z`}],[`path`,{d:`M6 8v1`}]],_h=[[`path`,{d:`M4 10h12`}],[`path`,{d:`M4 14h9`}],[`path`,{d:`M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2`}]],vh=[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`}],[`path`,{d:`M2 21h13`}],[`path`,{d:`M3 7h11`}],[`path`,{d:`m9 11-2 3h3l-2 3`}]],yh=[[`path`,{d:`m15 15 6 6`}],[`path`,{d:`m15 9 6-6`}],[`path`,{d:`M21 16v5h-5`}],[`path`,{d:`M21 8V3h-5`}],[`path`,{d:`M3 16v5h5`}],[`path`,{d:`m3 21 6-6`}],[`path`,{d:`M3 8V3h5`}],[`path`,{d:`M9 9 3 3`}]],bh=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`M10 14 21 3`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}]],xh=[[`path`,{d:`m15 18-.722-3.25`}],[`path`,{d:`M2 8a10.645 10.645 0 0 0 20 0`}],[`path`,{d:`m20 15-1.726-2.05`}],[`path`,{d:`m4 15 1.726-2.05`}],[`path`,{d:`m9 18 .722-3.25`}]],Sh=[[`path`,{d:`M13.054 18.946a11 11 0 0 1-2.11 0`}],[`path`,{d:`M13.054 5.054a11 11 0 0 0-2.11-.001`}],[`path`,{d:`M17.072 6.274a11 11 0 0 1 1.753 1.173`}],[`path`,{d:`M18.825 16.552a11 11 0 0 1-1.753 1.174`}],[`path`,{d:`M2.514 13.303a11 11 0 0 1-.452-.954 1 1 0 0 1 0-.697 11 11 0 0 1 .45-.955`}],[`path`,{d:`M21.485 10.697a11 11 0 0 1 .453.955 1 1 0 0 1 0 .697 11 11 0 0 1-.453.954`}],[`path`,{d:`M5.173 7.448a11 11 0 0 1 1.753-1.174`}],[`path`,{d:`M6.926 17.726a11 11 0 0 1-1.753-1.174`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Ch=[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`}],[`path`,{d:`m2 2 20 20`}]],wh=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Th=[[`path`,{d:`M12 16h.01`}],[`path`,{d:`M16 16h.01`}],[`path`,{d:`M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`}],[`path`,{d:`M8 16h.01`}]],Eh=[[`path`,{d:`M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z`}],[`path`,{d:`M12 12v.01`}]],Dh=[[`path`,{d:`M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z`}],[`path`,{d:`M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z`}]],Oh=[[`path`,{d:`M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}],[`path`,{d:`M6 8h4`}],[`path`,{d:`M6 18h4`}],[`path`,{d:`m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}],[`path`,{d:`M14 8h4`}],[`path`,{d:`M14 18h4`}],[`path`,{d:`m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`}]],kh=[[`path`,{d:`M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z`}],[`path`,{d:`M16 8 2 22`}],[`path`,{d:`M17.5 15H9`}]],Ah=[[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`m6.8 15-3.5 2`}],[`path`,{d:`m20.7 7-3.5 2`}],[`path`,{d:`M6.8 9 3.3 7`}],[`path`,{d:`m20.7 17-3.5-2`}],[`path`,{d:`m9 22 3-8 3 8`}],[`path`,{d:`M8 22h8`}],[`path`,{d:`M18 18.7a9 9 0 1 0-12 0`}]],jh=[[`path`,{d:`M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 12v-1`}],[`path`,{d:`M8 18v-2`}],[`path`,{d:`M8 7V6`}],[`circle`,{cx:`8`,cy:`20`,r:`2`}]],Mh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m8 18 4-4`}],[`path`,{d:`M8 10v8h8`}]],Nh=[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88`}],[`circle`,{cx:`6`,cy:`14`,r:`3`}]],Ph=[[`path`,{d:`M14 2v5a1 1 0 001 1h5`}],[`path`,{d:`M14.692 22H18a2 2 0 002-2V8a2.4 2.4 0 00-.706-1.706l-3.588-3.588A2.4 2.4 0 0014 2H6a2 2 0 00-2 2v3.804`}],[`path`,{d:`M2.264 13.752 7 16.5l4.737-2.748`}],[`path`,{d:`M2.995 13.014A2 2 0 002 14.744v3.516a2 2 0 00.996 1.73l3 1.74a2 2 0 002.008 0l3-1.74A2 2 0 0012 18.26v-3.517a2 2 0 00-.995-1.73l-3-1.742a2 2 0 00-1.892-.064z`}],[`path`,{d:`M7 16.5V22`}]],Fh=[[`path`,{d:`M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1`}],[`path`,{d:`M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1`}]],Ih=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1`}],[`path`,{d:`M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1`}]],Lh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 18v-2`}],[`path`,{d:`M12 18v-4`}],[`path`,{d:`M16 18v-6`}]],Rh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 18v-1`}],[`path`,{d:`M12 18v-6`}],[`path`,{d:`M16 18v-3`}]],zh=[[`path`,{d:`M15.941 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.512`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M4.017 11.512a6 6 0 1 0 8.466 8.475`}],[`path`,{d:`M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z`}]],Bh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m16 13-3.5 3.5-2-2L8 17`}]],Vh=[[`path`,{d:`M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m14 20 2 2 4-4`}]],Hh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m9 15 2 2 4-4`}]],Uh=[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m5 16-3 3 3 3`}],[`path`,{d:`m9 22 3-3-3-3`}]],Wh=[[`path`,{d:`M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 14v2.2l1.6 1`}],[`circle`,{cx:`8`,cy:`16`,r:`6`}]],Gh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 12.5 8 15l2 2.5`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`}]],Kh=[[`path`,{d:`M15 8a1 1 0 0 1-1-1V2a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8z`}],[`path`,{d:`M20 8v12a2 2 0 0 1-2 2h-4.182`}],[`path`,{d:`m3.305 19.53.923-.382`}],[`path`,{d:`M4 10.592V4a2 2 0 0 1 2-2h8`}],[`path`,{d:`m4.228 16.852-.924-.383`}],[`path`,{d:`m5.852 15.228-.383-.923`}],[`path`,{d:`m5.852 20.772-.383.924`}],[`path`,{d:`m8.148 15.228.383-.923`}],[`path`,{d:`m8.53 21.696-.382-.924`}],[`path`,{d:`m9.773 16.852.922-.383`}],[`path`,{d:`m9.773 19.148.922.383`}],[`circle`,{cx:`7`,cy:`18`,r:`3`}]],qh=[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 16h2v6`}],[`path`,{d:`M10 22h4`}],[`rect`,{x:`2`,y:`16`,width:`4`,height:`6`,rx:`2`}]],Jh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M9 10h6`}],[`path`,{d:`M12 13V7`}],[`path`,{d:`M9 17h6`}]],Yh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 18v-6`}],[`path`,{d:`m9 15 3 3 3-3`}]],Xh=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M12 9v4`}],[`path`,{d:`M12 17h.01`}]],Zh=[[`path`,{d:`M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0`}]],Qh=[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M3.62 18.8A2.25 2.25 0 1 1 7 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a1 1 0 0 1-1.507 0z`}]],$h=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`circle`,{cx:`10`,cy:`12`,r:`2`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`}]],eg=[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M2 15h10`}],[`path`,{d:`m9 18 3-3-3-3`}]],tg=[[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M4 12v6`}],[`path`,{d:`M4 14h2`}],[`path`,{d:`M9.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v4`}],[`circle`,{cx:`4`,cy:`20`,r:`2`}]],ng=[[`path`,{d:`M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 17v-2a2 2 0 0 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`3`,y:`17`,rx:`1`}]],rg=[[`path`,{d:`M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M14 18h6`}]],ig=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 15h6`}]],ag=[[`path`,{d:`M11.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 20v-7l3 1.474`}],[`circle`,{cx:`6`,cy:`20`,r:`2`}]],og=[[`path`,{d:`M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m5 11-3 3`}],[`path`,{d:`m5 17-3-3h10`}]],sg=[[`path`,{d:`M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z`}],[`path`,{d:`M14.487 7.858A1 1 0 0 1 14 7V2`}],[`path`,{d:`M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516`}],[`path`,{d:`M8 18h1`}]],cg=[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`}]],lg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z`}]],ug=[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M14 19h6`}],[`path`,{d:`M17 16v6`}]],dg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M9 15h6`}],[`path`,{d:`M12 18v-6`}]],fg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`}]],pg=[[`path`,{d:`M20 10V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.35`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M16 14a2 2 0 0 0-2 2`}],[`path`,{d:`M16 22a2 2 0 0 1-2-2`}],[`path`,{d:`M20 14a2 2 0 0 1 2 2`}],[`path`,{d:`M20 22a2 2 0 0 0 2-2`}]],mg=[[`path`,{d:`M11.1 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.589 3.588A2.4 2.4 0 0 1 20 8v3.25`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m21 22-2.88-2.88`}],[`circle`,{cx:`16`,cy:`17`,r:`3`}]],hg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`circle`,{cx:`11.5`,cy:`14.5`,r:`2.5`}],[`path`,{d:`M13.3 16.3 15 18`}]],gg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M10 11v2`}],[`path`,{d:`M8 17h8`}],[`path`,{d:`M14 16v2`}]],_g=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M11.5 13.5a2.5 2.5 0 0 1 0 3`}],[`path`,{d:`M15 12a5 5 0 0 1 0 6`}]],vg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 13h2`}],[`path`,{d:`M14 13h2`}],[`path`,{d:`M8 17h2`}],[`path`,{d:`M14 17h2`}]],yg=[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m10 18 3-3-3-3`}]],bg=[[`path`,{d:`M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1`}],[`path`,{d:`M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1`}],[`path`,{d:`M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z`}]],xg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m8 16 2-2-2-2`}],[`path`,{d:`M12 18h4`}]],Sg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 9H8`}],[`path`,{d:`M16 13H8`}],[`path`,{d:`M16 17H8`}]],Cg=[[`path`,{d:`M12 22h6a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M3 16v-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5V16`}],[`path`,{d:`M6 22h2`}],[`path`,{d:`M7 14v8`}]],wg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M11 18h2`}],[`path`,{d:`M12 12v6`}],[`path`,{d:`M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5`}]],Tg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 12v6`}],[`path`,{d:`m15 15-3-3-3 3`}]],Eg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M16 22a4 4 0 0 0-8 0`}],[`circle`,{cx:`12`,cy:`15`,r:`3`}]],Dg=[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157`}],[`rect`,{width:`7`,height:`6`,x:`3`,y:`16`,rx:`1`}]],Og=[[`path`,{d:`M4 11.55V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-1.95`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M12 15a5 5 0 0 1 0 6`}],[`path`,{d:`M8 14.502a.5.5 0 0 0-.826-.381l-1.893 1.631a1 1 0 0 1-.651.243H3.5a.5.5 0 0 0-.5.501v3.006a.5.5 0 0 0 .5.501h1.129a1 1 0 0 1 .652.243l1.893 1.633a.5.5 0 0 0 .826-.38z`}]],kg=[[`path`,{d:`M11 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m15 17 5 5`}],[`path`,{d:`m20 17-5 5`}]],Ag=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m14.5 12.5-5 5`}],[`path`,{d:`m9.5 12.5 5 5`}]],jg=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}]],Mg=[[`path`,{d:`M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`}],[`path`,{d:`M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z`}],[`path`,{d:`M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1`}]],Ng=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 3v18`}],[`path`,{d:`M3 7.5h4`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M3 16.5h4`}],[`path`,{d:`M17 3v18`}],[`path`,{d:`M17 7.5h4`}],[`path`,{d:`M17 16.5h4`}]],Pg=[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`}],[`path`,{d:`M2 16h.01`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`}]],Fg=[[`path`,{d:`M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5`}],[`path`,{d:`M9 18h8`}],[`path`,{d:`M18 3h-3`}],[`path`,{d:`M11 3a6 6 0 0 0-6 6v11`}],[`path`,{d:`M5 13h4`}],[`path`,{d:`M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z`}]],Ig=[[`path`,{d:`M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20`}]],Lg=[[`path`,{d:`M2 16s9-15 20-4C11 23 2 8 2 8`}]],Rg=[[`path`,{d:`M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z`}],[`path`,{d:`M18 12v.5`}],[`path`,{d:`M16 17.93a9.77 9.77 0 0 1 0-11.86`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33`}],[`path`,{d:`M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98`}]],zg=[[`path`,{d:`m17.586 11.414-5.93 5.93a1 1 0 0 1-8-8l3.137-3.137a.707.707 0 0 1 1.207.5V10`}],[`path`,{d:`M20.414 8.586 22 7`}],[`circle`,{cx:`19`,cy:`10`,r:`2`}]],Bg=[[`path`,{d:`M4 11h1`}],[`path`,{d:`M8 15a2 2 0 0 1-4 0V3a1 1 0 0 1 1-1h.5C14 2 20 9 20 18v4`}],[`circle`,{cx:`18`,cy:`18`,r:`2`}]],Vg=[[`path`,{d:`M16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4 22V4`}],[`path`,{d:`M7.656 2H8c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10.347`}]],Hg=[[`path`,{d:`M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5`}]],Ug=[[`path`,{d:`M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5`}]],Wg=[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`}]],Gg=[[`path`,{d:`M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z`}],[`path`,{d:`m5 22 14-4`}],[`path`,{d:`m5 18 14 4`}]],Kg=[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`}]],qg=[[`path`,{d:`M11.652 6H18`}],[`path`,{d:`M12 13v1`}],[`path`,{d:`M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V6`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7.649 2H17a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8a4 4 0 0 0-.55 1.007`}]],Jg=[[`path`,{d:`M12 13v1`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8A4 4 0 0 0 16 12v8a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 6h12`}]],Yg=[[`path`,{d:`M10 2v2.343`}],[`path`,{d:`M14 2v6.343`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563`}],[`path`,{d:`M6.453 15H15`}],[`path`,{d:`M8.5 2h7`}]],Xg=[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`}],[`path`,{d:`M6.453 15h11.094`}],[`path`,{d:`M8.5 2h7`}]],Zg=[[`path`,{d:`M10 2v6.292a7 7 0 1 0 4 0V2`}],[`path`,{d:`M5 15h14`}],[`path`,{d:`M8.5 2h7`}]],Qg=[[`path`,{d:`m3 7 5 5-5 5V7`}],[`path`,{d:`m21 7-5 5 5 5V7`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 2v2`}]],Kee=[[`path`,{d:`m17 3-5 5-5-5h10`}],[`path`,{d:`m17 21-5-5-5 5h10`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],$g=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5`}],[`path`,{d:`M12 7.5V9`}],[`path`,{d:`M7.5 12H9`}],[`path`,{d:`M16.5 12H15`}],[`path`,{d:`M12 16.5V15`}],[`path`,{d:`m8 8 1.88 1.88`}],[`path`,{d:`M14.12 9.88 16 8`}],[`path`,{d:`m8 16 1.88-1.88`}],[`path`,{d:`M14.12 14.12 16 16`}]],e_=[[`path`,{d:`M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}],[`path`,{d:`M12 10v12`}],[`path`,{d:`M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z`}],[`path`,{d:`M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z`}]],t_=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}]],n_=[[`path`,{d:`M2 12h6`}],[`path`,{d:`M22 12h-6`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m19 9-3 3 3 3`}],[`path`,{d:`m5 15 3-3-3-3`}]],r_=[[`path`,{d:`M12 22v-6`}],[`path`,{d:`M12 8V2`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}],[`path`,{d:`m15 19-3-3-3 3`}],[`path`,{d:`m15 5-3 3-3-3`}]],i_=[[`circle`,{cx:`15`,cy:`19`,r:`2`}],[`path`,{d:`M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1`}],[`path`,{d:`M15 11v-1`}],[`path`,{d:`M15 17v-2`}]],a_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`m9 13 2 2 4-4`}]],o_=[[`path`,{d:`M12 6v8l3-3 3 3V6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`}]],s_=[[`path`,{d:`M16 14v2.2l1.6 1`}],[`path`,{d:`M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}]],c_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M2 10h20`}]],l_=[[`path`,{d:`M10 10.5 8 13l2 2.5`}],[`path`,{d:`m14 10.5 2 2.5-2 2.5`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`}]],u_=[[`path`,{d:`M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3`}],[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],d_=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`circle`,{cx:`12`,cy:`13`,r:`1`}]],f_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`m15 13-3 3-3-3`}]],p_=[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`}],[`circle`,{cx:`13`,cy:`12`,r:`2`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}]],m_=[[`circle`,{cx:`12`,cy:`13`,r:`2`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M14 13h3`}],[`path`,{d:`M7 13h3`}]],h_=[[`path`,{d:`M10.638 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.417`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}]],g_=[[`path`,{d:`M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1`}],[`path`,{d:`M2 13h10`}],[`path`,{d:`m9 16 3-3-3-3`}]],__=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M12 10v2`}],[`path`,{d:`M16 10v6`}]],v_=[[`path`,{d:`M13 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.36`}],[`path`,{d:`M19 12v6`}],[`path`,{d:`M19 14h2`}],[`circle`,{cx:`19`,cy:`20`,r:`2`}]],y_=[[`rect`,{width:`8`,height:`5`,x:`14`,y:`17`,rx:`1`}],[`path`,{d:`M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`}]],b_=[[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],x_=[[`path`,{d:`m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2`}],[`circle`,{cx:`14`,cy:`15`,r:`1`}]],S_=[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`}]],C_=[[`path`,{d:`M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5`}],[`path`,{d:`M2 13h10`}],[`path`,{d:`m5 10-3 3 3 3`}]],w_=[[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],T_=[[`path`,{d:`M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5`}],[`path`,{d:`M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],E_=[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}],[`circle`,{cx:`12`,cy:`13`,r:`2`}],[`path`,{d:`M12 15v5`}]],D_=[[`circle`,{cx:`11.5`,cy:`12.5`,r:`2.5`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M13.3 14.3 15 16`}]],O_=[[`path`,{d:`M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1`}],[`path`,{d:`m21 21-1.9-1.9`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}]],k_=[[`path`,{d:`M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`}],[`path`,{d:`m8 16 3-3-3-3`}]],A_=[[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5`}],[`path`,{d:`M12 10v4h4`}],[`path`,{d:`m12 14 1.535-1.605a5 5 0 0 1 8 1.5`}],[`path`,{d:`M22 22v-4h-4`}],[`path`,{d:`m22 18-1.535 1.605a5 5 0 0 1-8-1.5`}]],j_=[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`}]],M_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`M12 10v6`}],[`path`,{d:`m9 13 3-3 3 3`}]],N_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}],[`path`,{d:`m9.5 10.5 5 5`}],[`path`,{d:`m14.5 10.5-5 5`}]],P_=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]],F_=[[`path`,{d:`M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z`}],[`path`,{d:`M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1`}]],I_=[[`path`,{d:`M12 12H5a2 2 0 0 0-2 2v5`}],[`path`,{d:`M15 19h7`}],[`path`,{d:`M16 19V2`}],[`path`,{d:`M6 12V7a2 2 0 0 1 2-2h2.172a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 16 10.828`}],[`path`,{d:`M7 19h4`}],[`circle`,{cx:`13`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],L_=[[`path`,{d:`M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z`}],[`path`,{d:`M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z`}],[`path`,{d:`M16 17h4`}],[`path`,{d:`M4 13h4`}]],R_=[[`path`,{d:`M4 14h6`}],[`path`,{d:`M4 2h10`}],[`rect`,{x:`4`,y:`18`,width:`16`,height:`4`,rx:`1`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`4`,rx:`1`}]],z_=[[`path`,{d:`m15 17 5-5-5-5`}],[`path`,{d:`M4 18v-2a4 4 0 0 1 4-4h12`}]],B_=[[`line`,{x1:`22`,x2:`2`,y1:`6`,y2:`6`}],[`line`,{x1:`22`,x2:`2`,y1:`18`,y2:`18`}],[`line`,{x1:`6`,x2:`6`,y1:`2`,y2:`22`}],[`line`,{x1:`18`,x2:`18`,y1:`2`,y2:`22`}]],V_=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],H_=[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`}],[`path`,{d:`M2 21h13`}],[`path`,{d:`M3 9h11`}]],U_=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`rect`,{width:`10`,height:`8`,x:`7`,y:`8`,rx:`1`}]],W_=[[`path`,{d:`M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348`}],[`path`,{d:`M16 6h6`}],[`path`,{d:`M19 3v6`}]],G_=[[`path`,{d:`M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473`}],[`path`,{d:`m16.5 3.5 5 5`}],[`path`,{d:`m21.5 3.5-5 5`}]],K_=[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`}]],q_=[[`path`,{d:`M2 7v10`}],[`path`,{d:`M6 5v14`}],[`rect`,{width:`12`,height:`18`,x:`10`,y:`3`,rx:`2`}]],J_=[[`path`,{d:`M2 3v18`}],[`rect`,{width:`12`,height:`18`,x:`6`,y:`3`,rx:`2`}],[`path`,{d:`M22 3v18`}]],Y_=[[`rect`,{width:`18`,height:`14`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M4 21h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M19 21h1`}]],X_=[[`path`,{d:`M3 2h18`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`6`,rx:`2`}],[`path`,{d:`M3 22h18`}]],Z_=[[`path`,{d:`M7 2h10`}],[`path`,{d:`M5 6h14`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`}]],Q_=[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`}]],$_=[[`path`,{d:`M11.146 15.854a1.207 1.207 0 0 1 1.708 0l1.56 1.56A2 2 0 0 1 15 18.828V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2.172a2 2 0 0 1 .586-1.414z`}],[`path`,{d:`M18.828 15a2 2 0 0 1-1.414-.586l-1.56-1.56a1.207 1.207 0 0 1 0-1.708l1.56-1.56A2 2 0 0 1 18.828 9H21a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z`}],[`path`,{d:`M6.586 14.414A2 2 0 0 1 5.172 15H3a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2.172a2 2 0 0 1 1.414.586l1.56 1.56a1.207 1.207 0 0 1 0 1.708z`}],[`path`,{d:`M9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2.172a2 2 0 0 1-.586 1.414l-1.56 1.56a1.207 1.207 0 0 1-1.708 0l-1.56-1.56A2 2 0 0 1 9 5.172z`}]],ev=[[`line`,{x1:`6`,x2:`10`,y1:`12`,y2:`12`}],[`line`,{x1:`8`,x2:`8`,y1:`10`,y2:`14`}],[`line`,{x1:`15`,x2:`15.01`,y1:`13`,y2:`13`}],[`line`,{x1:`18`,x2:`18.01`,y1:`11`,y2:`11`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],tv=[[`path`,{d:`m12 14 4-4`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`}]],nv=[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381`}],[`path`,{d:`m16 16 6-6`}],[`path`,{d:`m21.5 10.5-8-8`}],[`path`,{d:`m8 8 6-6`}],[`path`,{d:`m8.5 7.5 8 8`}]],rv=[[`path`,{d:`M10.5 3 8 9l4 13 4-13-2.5-6`}],[`path`,{d:`M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z`}],[`path`,{d:`M2 9h20`}]],iv=[[`path`,{d:`M9 10h.01`}],[`path`,{d:`M15 10h.01`}],[`path`,{d:`M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z`}]],av=[[`path`,{d:`M11.5 21a7.5 7.5 0 1 1 7.35-9`}],[`path`,{d:`M13 12V3`}],[`path`,{d:`M4 21h16`}],[`path`,{d:`M9 12V3`}]],ov=[[`path`,{d:`M12 7v14`}],[`path`,{d:`M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`}],[`path`,{d:`M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5`}],[`rect`,{x:`3`,y:`7`,width:`18`,height:`4`,rx:`1`}]],sv=[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`}],[`path`,{d:`M21 18h-6`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}]],cv=[[`path`,{d:`M6 3v12`}],[`path`,{d:`M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`}],[`path`,{d:`M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`}],[`path`,{d:`M15 6a9 9 0 0 0-9 9`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}]],lv=[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}]],uv=[[`path`,{d:`M12 3v6`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`M12 15v6`}]],dv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`}],[`path`,{d:`m15 9-3-3 3-3`}],[`circle`,{cx:`19`,cy:`18`,r:`3`}],[`path`,{d:`M12 18H7a2 2 0 0 1-2-2V9`}],[`path`,{d:`m9 15 3 3-3 3`}]],fv=[[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`}]],pv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`}],[`path`,{d:`M11 18H8a2 2 0 0 1-2-2V9`}]],mv=[[`circle`,{cx:`12`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}],[`path`,{d:`M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9`}],[`path`,{d:`M12 12v3`}]],hv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v6`}],[`circle`,{cx:`5`,cy:`18`,r:`3`}],[`path`,{d:`M12 3v18`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}],[`path`,{d:`M16 15.7A9 9 0 0 0 19 9`}]],gv=[[`path`,{d:`M12 6h4a2 2 0 0 1 2 2v7`}],[`path`,{d:`M6 12v9`}],[`path`,{d:`M9 3 3 9`}],[`path`,{d:`M9 9 3 3`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],_v=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`}]],vv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v12`}],[`circle`,{cx:`19`,cy:`18`,r:`3`}],[`path`,{d:`m15 9-3-3 3-3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`}]],yv=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 9v12`}],[`path`,{d:`m21 3-6 6`}],[`path`,{d:`m21 9-6-6`}],[`path`,{d:`M18 11.5V15`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],bv=[[`circle`,{cx:`5`,cy:`6`,r:`3`}],[`path`,{d:`M5 9v12`}],[`path`,{d:`m15 9-3-3 3-3`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v3`}],[`path`,{d:`M19 15v6`}],[`path`,{d:`M22 18h-6`}]],xv=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M6 9v12`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v3`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}]],Sv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M18 6V5`}],[`path`,{d:`M18 11v-1`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`}]],Cv=[[`path`,{d:`M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z`}],[`path`,{d:`M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0`}]],wv=[[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`}]],Tv=[[`circle`,{cx:`6`,cy:`15`,r:`4`}],[`circle`,{cx:`18`,cy:`15`,r:`4`}],[`path`,{d:`M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2`}],[`path`,{d:`M2.5 13 5 7c.7-1.3 1.4-2 3-2`}],[`path`,{d:`M21.5 13 19 7c-.7-1.3-1.5-2-3-2`}]],Ev=[[`path`,{d:`m15 6 2 2 4-4`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`}]],Dv=[[`path`,{d:`M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13`}],[`path`,{d:`M2 12h8.5`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`}]],Ov=[[`path`,{d:`M10.114 4.462A14.5 14.5 0 0 1 12 2a10 10 0 0 1 9.313 13.643`}],[`path`,{d:`M15.557 15.556A14.5 14.5 0 0 1 12 22 10 10 0 0 1 4.929 4.929`}],[`path`,{d:`M15.892 10.234A14.5 14.5 0 0 0 12 2a10 10 0 0 0-3.643.687`}],[`path`,{d:`M17.656 12H22`}],[`path`,{d:`M19.071 19.071A10 10 0 0 1 12 22 14.5 14.5 0 0 1 8.44 8.45`}],[`path`,{d:`M2 12h10`}],[`path`,{d:`m2 2 20 20`}]],kv=[[`path`,{d:`m16 3 5 5`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`}],[`path`,{d:`m21 3-5 5`}]],Av=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`}],[`path`,{d:`M2 12h20`}]],jv=[[`path`,{d:`M12 13V2l8 4-8 4`}],[`path`,{d:`M20.561 10.222a9 9 0 1 1-12.55-5.29`}],[`path`,{d:`M8.002 9.997a5 5 0 1 0 8.9 2.02`}]],Mv=[[`path`,{d:`M2 17h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H2`}],[`path`,{d:`M2 21V3`}],[`path`,{d:`M7 17v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3`}],[`circle`,{cx:`16`,cy:`11`,r:`2`}],[`circle`,{cx:`8`,cy:`11`,r:`2`}]],Nv=[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`}],[`path`,{d:`M22 10v6`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`}]],Pv=[[`path`,{d:`M22 5V2l-5.89 5.89`}],[`circle`,{cx:`16.6`,cy:`15.89`,r:`3`}],[`circle`,{cx:`8.11`,cy:`7.4`,r:`3`}],[`circle`,{cx:`12.35`,cy:`11.65`,r:`3`}],[`circle`,{cx:`13.91`,cy:`5.85`,r:`3`}],[`circle`,{cx:`18.15`,cy:`10.09`,r:`3`}],[`circle`,{cx:`6.56`,cy:`13.2`,r:`3`}],[`circle`,{cx:`10.8`,cy:`17.44`,r:`3`}],[`circle`,{cx:`5`,cy:`19`,r:`3`}]],Fv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`m16 19 2 2 4-4`}]],Iv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`M16 19h6`}],[`path`,{d:`M19 22v-6`}]],Lv=[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`}],[`path`,{d:`m16 16 5 5`}],[`path`,{d:`m16 21 5-5`}]],Rv=[[`path`,{d:`M12 3v18`}],[`path`,{d:`M3 12h18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],zv=[[`path`,{d:`M15 3v18`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M9 3v18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Bv=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],Vv=[[`circle`,{cx:`12`,cy:`9`,r:`1`}],[`circle`,{cx:`19`,cy:`9`,r:`1`}],[`circle`,{cx:`5`,cy:`9`,r:`1`}],[`circle`,{cx:`12`,cy:`15`,r:`1`}],[`circle`,{cx:`19`,cy:`15`,r:`1`}],[`circle`,{cx:`5`,cy:`15`,r:`1`}]],Hv=[[`circle`,{cx:`9`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`5`,r:`1`}],[`circle`,{cx:`9`,cy:`19`,r:`1`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`15`,cy:`5`,r:`1`}],[`circle`,{cx:`15`,cy:`19`,r:`1`}]],Uv=[[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`circle`,{cx:`19`,cy:`5`,r:`1`}],[`circle`,{cx:`5`,cy:`5`,r:`1`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}],[`circle`,{cx:`12`,cy:`19`,r:`1`}],[`circle`,{cx:`19`,cy:`19`,r:`1`}],[`circle`,{cx:`5`,cy:`19`,r:`1`}]],Wv=[[`path`,{d:`M3 7V5c0-1.1.9-2 2-2h2`}],[`path`,{d:`M17 3h2c1.1 0 2 .9 2 2v2`}],[`path`,{d:`M21 17v2c0 1.1-.9 2-2 2h-2`}],[`path`,{d:`M7 21H5c-1.1 0-2-.9-2-2v-2`}],[`rect`,{width:`7`,height:`5`,x:`7`,y:`7`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`10`,y:`12`,rx:`1`}]],Gv=[[`path`,{d:`m11.9 12.1 4.514-4.514`}],[`path`,{d:`M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z`}],[`path`,{d:`m6 16 2 2`}],[`path`,{d:`M8.23 9.85A3 3 0 0 1 11 8a5 5 0 0 1 5 5 3 3 0 0 1-1.85 2.77l-.92.38A2 2 0 0 0 12 18a4 4 0 0 1-4 4 6 6 0 0 1-6-6 4 4 0 0 1 4-4 2 2 0 0 0 1.85-1.23z`}]],Kv=[[`path`,{d:`M12 16H4a2 2 0 1 1 0-4h16a2 2 0 1 1 0 4h-4.25`}],[`path`,{d:`M5 12a2 2 0 0 1-2-2 9 7 0 0 1 18 0 2 2 0 0 1-2 2`}],[`path`,{d:`M5 16a2 2 0 0 0-2 2 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 2 2 0 0 0-2-2q0 0 0 0`}],[`path`,{d:`m6.67 12 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`}]],qv=[[`path`,{d:`M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856`}],[`path`,{d:`M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288`}],[`path`,{d:`M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025`}],[`path`,{d:`m8.5 16.5-1-1`}]],Jv=[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`}],[`path`,{d:`m18 15 4-4`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`}]],Yv=[[`path`,{d:`M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17`}],[`path`,{d:`m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`}],[`path`,{d:`m2 16 6 6`}],[`circle`,{cx:`16`,cy:`9`,r:`2.9`}],[`circle`,{cx:`6`,cy:`5`,r:`3`}]],Xv=[[`path`,{d:`M12.035 17.012a3 3 0 0 0-3-3l-.311-.002a.72.72 0 0 1-.505-1.229l1.195-1.195A2 2 0 0 1 10.828 11H12a2 2 0 0 0 0-4H9.243a3 3 0 0 0-2.122.879l-2.707 2.707A4.83 4.83 0 0 0 3 14a8 8 0 0 0 8 8h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v2a2 2 0 1 0 4 0`}],[`path`,{d:`M13.888 9.662A2 2 0 0 0 17 8V5A2 2 0 1 0 13 5`}],[`path`,{d:`M9 5A2 2 0 1 0 5 5V10`}],[`path`,{d:`M9 7V4A2 2 0 1 1 13 4V7.268`}]],Zv=[[`path`,{d:`M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16`}],[`path`,{d:`m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95`}],[`path`,{d:`m2 15 6 6`}],[`path`,{d:`m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91`}]],Qv=[[`path`,{d:`M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`}],[`path`,{d:`M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`}],[`path`,{d:`M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5`}],[`path`,{d:`M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0`}]],$v=[[`path`,{d:`M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14`}],[`path`,{d:`m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`}],[`path`,{d:`m2 13 6 6`}]],ey=[[`path`,{d:`M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`}],[`path`,{d:`M14 11V9a2 2 0 1 0-4 0v2`}],[`path`,{d:`M10 10.5V5a2 2 0 1 0-4 0v9`}],[`path`,{d:`m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5`}]],ty=[[`path`,{d:`M12 3V2`}],[`path`,{d:`m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5`}],[`path`,{d:`M2 14h12a2 2 0 0 1 0 4h-2`}],[`path`,{d:`M4 10h16`}],[`path`,{d:`M5 10a7 7 0 0 1 14 0`}],[`path`,{d:`M5 14v6a1 1 0 0 1-1 1H2`}]],ny=[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`}]],ry=[[`path`,{d:`M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z`}],[`path`,{d:`M8 11V6a4 4 0 0 1 8 0v5`}]],iy=[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`}],[`path`,{d:`m21 3 1 11h-2`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`}],[`path`,{d:`M3 4h8`}]],ay=[[`path`,{d:`M12 2v8`}],[`path`,{d:`m16 6-4 4-4-4`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 18h.01`}]],oy=[[`path`,{d:`M10 16h.01`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`}],[`path`,{d:`M21.946 12.013H2.054`}],[`path`,{d:`M6 16h.01`}]],sy=[[`path`,{d:`m16 6-4-4-4 4`}],[`path`,{d:`M12 2v8`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M10 18h.01`}]],cy=[[`path`,{d:`M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5`}],[`path`,{d:`M14 6a6 6 0 0 1 6 6v3`}],[`path`,{d:`M4 15v-3a6 6 0 0 1 6-6`}],[`rect`,{x:`2`,y:`15`,width:`20`,height:`4`,rx:`1`}]],ly=[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`}]],uy=[[`path`,{d:`M14 18a2 2 0 0 0-4 0`}],[`path`,{d:`m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11`}],[`path`,{d:`M2 11h20`}],[`circle`,{cx:`17`,cy:`18`,r:`3`}],[`circle`,{cx:`7`,cy:`18`,r:`3`}]],dy=[[`path`,{d:`m5.2 6.2 1.4 1.4`}],[`path`,{d:`M2 13h2`}],[`path`,{d:`M20 13h2`}],[`path`,{d:`m17.4 7.6 1.4-1.4`}],[`path`,{d:`M22 17H2`}],[`path`,{d:`M22 21H2`}],[`path`,{d:`M16 13a4 4 0 0 0-8 0`}],[`path`,{d:`M12 5V2.5`}]],fy=[[`path`,{d:`M10 12H6`}],[`path`,{d:`M10 15V9`}],[`path`,{d:`M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z`}],[`path`,{d:`M6 15V9`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],py=[[`path`,{d:`M22 9a1 1 0 00-1-1H3a1 1 0 00-1 1v4a1 1 0 001 1h.5a2 2 0 011.6.8l.3.4A2 2 0 007 16h10a2 2 0 001.6-.8l.3-.4a2 2 0 011.6-.8h.5a1 1 0 001-1z`}],[`path`,{d:`M8 12h8`}]],my=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`m17 12 3-2v8`}]],hy=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`}]],gy=[[`path`,{d:`M12 18V6`}],[`path`,{d:`M17 10v3a1 1 0 0 0 1 1h3`}],[`path`,{d:`M21 10v8`}],[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}]],_y=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`}]],qee=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M17 13v-3h4`}],[`path`,{d:`M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17`}]],Jee=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`circle`,{cx:`19`,cy:`16`,r:`2`}],[`path`,{d:`M20 10c-2 2-3 3.5-3 6`}]],Yee=[[`path`,{d:`M6 12h12`}],[`path`,{d:`M6 20V4`}],[`path`,{d:`M18 20V4`}]],Xee=[[`path`,{d:`M21 14h-1.343`}],[`path`,{d:`M9.128 3.47A9 9 0 0 1 21 12v3.343`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3`}],[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364`}]],Zee=[[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3`}]],Qee=[[`path`,{d:`M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z`}],[`path`,{d:`M21 16v2a4 4 0 0 1-4 4h-5`}]],$ee=[[`path`,{d:`M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15`}],[`path`,{d:`M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z`}]],ete=[[`path`,{d:`M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762`}]],tte=[[`path`,{d:`m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572`}],[`path`,{d:`M15 15h6`}]],nte=[[`path`,{d:`M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655`}],[`path`,{d:`m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761`}],[`path`,{d:`m2 2 20 20`}]],rte=[[`path`,{d:`m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49`}],[`path`,{d:`M15 15h6`}],[`path`,{d:`M18 12v6`}]],ite=[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`}],[`path`,{d:`M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27`}]],ate=[[`path`,{d:`m15.5 12.5 5 5`}],[`path`,{d:`m20.5 12.5-5 5`}],[`path`,{d:`M21.955 8.774a5.5 5.5 0 0 0-9.546-2.95.6.6 0 0 1-.818 0A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.508 5.332a2 2 0 0 0 2.57.352`}]],ote=[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`}]],ste=[[`path`,{d:`M11 8c2-3-2-3 0-6`}],[`path`,{d:`M15.5 8c2-3-2-3 0-6`}],[`path`,{d:`M6 10h.01`}],[`path`,{d:`M6 14h.01`}],[`path`,{d:`M10 16v-4`}],[`path`,{d:`M14 16v-4`}],[`path`,{d:`M18 16v-4`}],[`path`,{d:`M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3`}],[`path`,{d:`M5 20v2`}],[`path`,{d:`M19 20v2`}]],cte=[[`path`,{d:`M11 17v4`}],[`path`,{d:`M14 3v8a2 2 0 0 0 2 2h5.865`}],[`path`,{d:`M17 17v4`}],[`path`,{d:`M18 17a4 4 0 0 0 4-4 8 6 0 0 0-8-6 6 5 0 0 0-6 5v3a2 2 0 0 0 2 2z`}],[`path`,{d:`M2 10v5`}],[`path`,{d:`M6 3h16`}],[`path`,{d:`M7 21h14`}],[`path`,{d:`M8 13H2`}]],lte=[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`}]],ute=[[`path`,{d:`m9 11-6 6v3h9l3-3`}],[`path`,{d:`m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4`}]],dte=[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M12 7v5l4 2`}]],fte=[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18`}],[`path`,{d:`M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88`}],[`path`,{d:`M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87`}],[`path`,{d:`M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08`}],[`path`,{d:`M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57`}],[`path`,{d:`M4.93 4.93 3 3a.7.7 0 0 1 0-1`}],[`path`,{d:`M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15`}]],pte=[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27`}],[`path`,{d:`M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26`}],[`path`,{d:`M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25`}],[`path`,{d:`M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75`}],[`path`,{d:`M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24`}],[`path`,{d:`M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28`}],[`path`,{d:`M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05`}],[`path`,{d:`m2 2 20 20`}]],mte=[[`path`,{d:`M12 7v4`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M14 9h-4`}],[`path`,{d:`M18 11h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2`}],[`path`,{d:`M18 21V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16`}]],hte=[[`path`,{d:`M10 22v-6.57`}],[`path`,{d:`M12 11h.01`}],[`path`,{d:`M12 7h.01`}],[`path`,{d:`M14 15.43V22`}],[`path`,{d:`M15 16a5 5 0 0 0-6 0`}],[`path`,{d:`M16 11h.01`}],[`path`,{d:`M16 7h.01`}],[`path`,{d:`M8 11h.01`}],[`path`,{d:`M8 7h.01`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],gte=[[`path`,{d:`M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],_te=[[`path`,{d:`M5 22h14`}],[`path`,{d:`M5 2h14`}],[`path`,{d:`M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22`}],[`path`,{d:`M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2`}]],vte=[[`path`,{d:`M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35`}],[`path`,{d:`M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M15 18h6`}],[`path`,{d:`M18 15v6`}]],yte=[[`path`,{d:`M10 12V8.964`}],[`path`,{d:`M14 12V8.964`}],[`path`,{d:`M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z`}],[`path`,{d:`M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2`}]],bte=[[`path`,{d:`M9.5 13.866a4 4 0 0 1 5 .01`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}],[`path`,{d:`M7 10.754a8 8 0 0 1 10 0`}]],vy=[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],yy=[[`path`,{d:`M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0`}],[`path`,{d:`M12.14 11a3.5 3.5 0 1 1 6.71 0`}],[`path`,{d:`M15.5 6.5a3.5 3.5 0 1 0-7 0`}]],by=[[`path`,{d:`m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11`}],[`path`,{d:`M17 7A5 5 0 0 0 7 7`}],[`path`,{d:`M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4`}]],xte=[[`path`,{d:`M13.5 8h-3`}],[`path`,{d:`m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3`}],[`path`,{d:`M16.899 22A5 5 0 0 0 7.1 22`}],[`path`,{d:`m9 2 3 6`}],[`circle`,{cx:`12`,cy:`15`,r:`3`}]],Ste=[[`path`,{d:`M16 10h2`}],[`path`,{d:`M16 14h2`}],[`path`,{d:`M6.17 15a3 3 0 0 1 5.66 0`}],[`circle`,{cx:`9`,cy:`11`,r:`2`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`}]],Cte=[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`}],[`path`,{d:`m14 19 3 3v-5.5`}],[`path`,{d:`m17 22 3-3`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],wte=[[`path`,{d:`M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`}],[`line`,{x1:`16`,x2:`22`,y1:`5`,y2:`5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]],Tte=[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`}]],Ete=[[`path`,{d:`M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}],[`path`,{d:`M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`m6 21 5-5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],Dte=[[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 2v6`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],Ote=[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`}],[`path`,{d:`m14 19.5 3-3 3 3`}],[`path`,{d:`M17 22v-5.5`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}]],kte=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]],Ate=[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`}]],jte=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M17 21h2a2 2 0 0 0 2-2`}],[`path`,{d:`M21 12v3`}],[`path`,{d:`m21 3-5 5`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2`}],[`path`,{d:`m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19`}],[`path`,{d:`M9 3h3`}],[`rect`,{x:`3`,y:`11`,width:`10`,height:`10`,rx:`1`}]],Mte=[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`}]],Nte=[[`path`,{d:`M12 3v12`}],[`path`,{d:`m8 11 4 4 4-4`}],[`path`,{d:`M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4`}]],Pte=[[`path`,{d:`M6 3h12`}],[`path`,{d:`M6 8h12`}],[`path`,{d:`m6 13 8.5 8`}],[`path`,{d:`M6 13h3`}],[`path`,{d:`M9 13c6.667 0 6.667-10 0-10`}]],xy=[[`path`,{d:`M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8`}]],Sy=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 16v-4`}],[`path`,{d:`M12 8h.01`}]],Cy=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7h.01`}],[`path`,{d:`M17 7h.01`}],[`path`,{d:`M7 17h.01`}],[`path`,{d:`M17 17h.01`}]],wy=[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`}]],Ty=[[`path`,{d:`m16 14 4 4-4 4`}],[`path`,{d:`M20 10a8 8 0 1 0-8 8h8`}]],Ey=[[`path`,{d:`M4 10a8 8 0 1 1 8 8H4`}],[`path`,{d:`m8 22-4-4 4-4`}]],Dy=[[`path`,{d:`M12 9.5V21m0-11.5L6 3m6 6.5L18 3`}],[`path`,{d:`M6 15h12`}],[`path`,{d:`M6 11h12`}]],Oy=[[`path`,{d:`M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z`}],[`path`,{d:`M6 15v-2`}],[`path`,{d:`M12 15V9`}],[`circle`,{cx:`12`,cy:`6`,r:`3`}]],ky=[[`path`,{d:`M18 17a1 1 0 0 0-1 1v1a2 2 0 1 0 2-2z`}],[`path`,{d:`M20.97 3.61a.45.45 0 0 0-.58-.58C10.2 6.6 6.6 10.2 3.03 20.39a.45.45 0 0 0 .58.58C13.8 17.4 17.4 13.8 20.97 3.61`}],[`path`,{d:`m6.707 6.707 10.586 10.586`}],[`path`,{d:`M7 5a2 2 0 1 0-2 2h1a1 1 0 0 0 1-1z`}]],Ay=[[`path`,{d:`M5 3v14`}],[`path`,{d:`M12 3v8`}],[`path`,{d:`M19 3v18`}]],jy=[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],My=[[`path`,{d:`M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z`}],[`path`,{d:`m14 7 3 3`}],[`path`,{d:`m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814`}]],Ny=[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`}],[`path`,{d:`m21 2-9.6 9.6`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`}]],Py=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M6 8h4`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`M6 12v4`}],[`path`,{d:`M10 12v4`}],[`path`,{d:`M14 12v4`}],[`path`,{d:`M18 12v4`}]],Fy=[[`path`,{d:`M10 8h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M16 12h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M7 16h10`}],[`path`,{d:`M8 12h.01`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}]],Iy=[[`path`,{d:`M 20 4 A2 2 0 0 1 22 6`}],[`path`,{d:`M 22 6 L 22 16.41`}],[`path`,{d:`M 7 16 L 16 16`}],[`path`,{d:`M 9.69 4 L 20 4`}],[`path`,{d:`M14 8h.01`}],[`path`,{d:`M18 8h.01`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`}],[`path`,{d:`M6 8h.01`}],[`path`,{d:`M8 12h.01`}]],Ly=[[`path`,{d:`M12 2v5`}],[`path`,{d:`M14.829 15.998a3 3 0 1 1-5.658 0`}],[`path`,{d:`M20.92 14.606A1 1 0 0 1 20 16H4a1 1 0 0 1-.92-1.394l3-7A1 1 0 0 1 7 7h10a1 1 0 0 1 .92.606z`}]],Ry=[[`path`,{d:`M10.293 2.293a1 1 0 0 1 1.414 0l2.5 2.5 5.994 1.227a1 1 0 0 1 .506 1.687l-7 7a1 1 0 0 1-1.687-.506l-1.227-5.994-2.5-2.5a1 1 0 0 1 0-1.414z`}],[`path`,{d:`m14.207 4.793-3.414 3.414`}],[`path`,{d:`M3 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z`}],[`path`,{d:`m9.086 6.5-4.793 4.793a1 1 0 0 0-.18 1.17L7 18`}]],zy=[[`path`,{d:`M12 10v12`}],[`path`,{d:`M17.929 7.629A1 1 0 0 1 17 9H7a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 9 2h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M9 22h6`}]],By=[[`path`,{d:`M19.929 18.629A1 1 0 0 1 19 20H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 13h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M6 3a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z`}],[`path`,{d:`M8 6h4a2 2 0 0 1 2 2v5`}]],Vy=[[`path`,{d:`M19.929 9.629A1 1 0 0 1 19 11H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 4h6a1 1 0 0 1 .928.629z`}],[`path`,{d:`M6 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`}],[`path`,{d:`M8 18h4a2 2 0 0 0 2-2v-5`}]],Hy=[[`path`,{d:`M12 12v6`}],[`path`,{d:`M4.077 10.615A1 1 0 0 0 5 12h14a1 1 0 0 0 .923-1.385l-3.077-7.384A2 2 0 0 0 15 2H9a2 2 0 0 0-1.846 1.23Z`}],[`path`,{d:`M8 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1z`}]],Uy=[[`path`,{d:`m12 8 6-3-6-3v10`}],[`path`,{d:`m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12`}],[`path`,{d:`m6.49 12.85 11.02 6.3`}],[`path`,{d:`M17.51 12.85 6.5 19.15`}]],Wy=[[`path`,{d:`M10 18v-7`}],[`path`,{d:`M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z`}],[`path`,{d:`M14 18v-7`}],[`path`,{d:`M18 18v-7`}],[`path`,{d:`M3 22h18`}],[`path`,{d:`M6 18v-7`}]],Gy=[[`path`,{d:`m5 8 6 6`}],[`path`,{d:`m4 14 6-6 2-3`}],[`path`,{d:`M2 5h12`}],[`path`,{d:`M7 2h1`}],[`path`,{d:`m22 22-5-10-5 10`}],[`path`,{d:`M14 18h6`}]],Ky=[[`path`,{d:`M2 20h20`}],[`path`,{d:`m9 10 2 2 4-4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`12`,rx:`2`}]],qy=[[`rect`,{width:`18`,height:`12`,x:`3`,y:`4`,rx:`2`,ry:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`20`,y2:`20`}]],Jy=[[`path`,{d:`M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z`}],[`path`,{d:`M20.054 15.987H3.946`}]],Yy=[[`path`,{d:`M7 22a5 5 0 0 1-2-4`}],[`path`,{d:`M7 16.93c.96.43 1.96.74 2.99.91`}],[`path`,{d:`M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2`}],[`path`,{d:`M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z`}],[`path`,{d:`M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z`}]],Xy=[[`path`,{d:`M3.704 14.467a10 8 0 1 1 3.115 2.375`}],[`path`,{d:`M7 22a5 5 0 0 1-2-3.994`}],[`circle`,{cx:`5`,cy:`16`,r:`2`}]],Zy=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],Qy=[[`path`,{d:`M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`}],[`path`,{d:`m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845`}]],$y=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.832z`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M2.003 11.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18`}],[`path`,{d:`M2.003 16.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l2.11-.96`}],[`path`,{d:`M22.018 12.004a1 1 0 0 1-.598.916l-.177.08`}]],eb=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`}]],tb=[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.831z`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M19 14v6`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 .825.178`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l2.116-.962`}]],nb=[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`}]],rb=[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}]],ib=[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`path`,{d:`M14 4h7`}],[`path`,{d:`M14 9h7`}],[`path`,{d:`M14 15h7`}],[`path`,{d:`M14 20h7`}]],ab=[[`rect`,{width:`7`,height:`18`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}]],ob=[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}]],sb=[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`}]],cb=[[`path`,{d:`M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z`}],[`path`,{d:`M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12`}]],lb=[[`path`,{d:`M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22`}],[`path`,{d:`M2 22 17 7`}]],ub=[[`path`,{d:`M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3`}],[`path`,{d:`M18 6V3a1 1 0 0 0-1-1h-3`}],[`rect`,{width:`8`,height:`12`,x:`8`,y:`10`,rx:`1`}]],db=[[`path`,{d:`M7 2a1 1 0 0 0-.8 1.6 14 14 0 0 1 0 16.8A1 1 0 0 0 7 22h10a1 1 0 0 0 .8-1.6 14 14 0 0 1 0-16.8A1 1 0 0 0 17 2z`}]],fb=[[`path`,{d:`M13.433 2a1 1 0 0 1 .824.448 18 18 0 0 1 0 19.104 1 1 0 0 1-.824.448h-2.866a1 1 0 0 1-.824-.448 18 18 0 0 1 0-19.104A1 1 0 0 1 10.567 2z`}]],pb=[[`rect`,{width:`8`,height:`18`,x:`3`,y:`3`,rx:`1`}],[`path`,{d:`M7 3v18`}],[`path`,{d:`M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z`}]],mb=[[`path`,{d:`m16 6 4 14`}],[`path`,{d:`M12 6v14`}],[`path`,{d:`M8 8v12`}],[`path`,{d:`M4 4v16`}]],hb=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m4.93 4.93 4.24 4.24`}],[`path`,{d:`m14.83 9.17 4.24-4.24`}],[`path`,{d:`m14.83 14.83 4.24 4.24`}],[`path`,{d:`m9.17 14.83-4.24 4.24`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],gb=[[`path`,{d:`M14 12h2v8`}],[`path`,{d:`M14 20h4`}],[`path`,{d:`M6 12h4`}],[`path`,{d:`M6 20h4`}],[`path`,{d:`M8 20V8a4 4 0 0 1 7.464-2`}]],_b=[[`path`,{d:`M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5`}],[`path`,{d:`M9 18h6`}],[`path`,{d:`M10 22h4`}]],vb=[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`}],[`path`,{d:`M9 18h6`}],[`path`,{d:`M10 22h4`}]],yb=[[`path`,{d:`M7 3.5c5-2 7 2.5 3 4C1.5 10 2 15 5 16c5 2 9-10 14-7s.5 13.5-4 12c-5-2.5.5-11 6-2`}]],bb=[[`path`,{d:`M 3 12 L 15 12`}],[`circle`,{cx:`18`,cy:`12`,r:`3`}]],xb=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],Sb=[[`path`,{d:`M11 5h2`}],[`path`,{d:`M15 12h6`}],[`path`,{d:`M19 5h2`}],[`path`,{d:`M3 12h6`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`M3 5h2`}]],Cb=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}]],wb=[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`}]],Tb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M11 19H3`}],[`path`,{d:`m15 18 2 2 4-4`}]],Eb=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`path`,{d:`m3 7 2 2 4-4`}]],Db=[[`path`,{d:`M3 5h8`}],[`path`,{d:`M3 12h8`}],[`path`,{d:`M3 19h8`}],[`path`,{d:`m15 5 3 3 3-3`}],[`path`,{d:`m15 19 3-3 3 3`}]],Ob=[[`path`,{d:`M3 5h8`}],[`path`,{d:`M3 12h8`}],[`path`,{d:`M3 19h8`}],[`path`,{d:`m15 8 3-3 3 3`}],[`path`,{d:`m15 16 3 3 3-3`}]],kb=[[`path`,{d:`M10 5h11`}],[`path`,{d:`M10 12h11`}],[`path`,{d:`M10 19h11`}],[`path`,{d:`m3 10 3-3-3-3`}],[`path`,{d:`m3 20 3-3-3-3`}]],Ab=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M9 19H3`}],[`path`,{d:`m16 16-3 3 3 3`}],[`path`,{d:`M21 5v12a2 2 0 0 1-2 2h-6`}]],jb=[[`path`,{d:`M12 5H2`}],[`path`,{d:`M6 12h12`}],[`path`,{d:`M9 19h6`}],[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 8V2`}]],Mb=[[`path`,{d:`M21 5H11`}],[`path`,{d:`M21 12H11`}],[`path`,{d:`M21 19H11`}],[`path`,{d:`m7 8-4 4 4 4`}]],Nb=[[`path`,{d:`M2 5h20`}],[`path`,{d:`M6 12h12`}],[`path`,{d:`M9 19h6`}]],Pb=[[`path`,{d:`M21 5H11`}],[`path`,{d:`M21 12H11`}],[`path`,{d:`M21 19H11`}],[`path`,{d:`m3 8 4 4-4 4`}]],Fb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M21 12h-6`}]],Ib=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M11 19H3`}],[`path`,{d:`M21 16V5`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],Lb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M18 9v6`}],[`path`,{d:`M21 12h-6`}]],Rb=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M7 12H3`}],[`path`,{d:`M7 19H3`}],[`path`,{d:`M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14`}],[`path`,{d:`M11 10v4h4`}]],zb=[[`path`,{d:`M11 5h10`}],[`path`,{d:`M11 12h10`}],[`path`,{d:`M11 19h10`}],[`path`,{d:`M4 4h1v5`}],[`path`,{d:`M4 9h2`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`}]],Bb=[[`path`,{d:`M3 19h18`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M9 5H3`}]],Vb=[[`path`,{d:`M15 12H3`}],[`path`,{d:`M3 5h18`}],[`path`,{d:`M9 19H3`}]],Hb=[[`path`,{d:`M3 5h6`}],[`path`,{d:`M3 12h13`}],[`path`,{d:`M3 19h13`}],[`path`,{d:`m16 8-3-3 3-3`}],[`path`,{d:`M21 19V7a2 2 0 0 0-2-2h-6`}]],Ub=[[`path`,{d:`M8 5h13`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`}]],Wb=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M10 12H3`}],[`path`,{d:`M10 19H3`}],[`path`,{d:`M15 12.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`}]],Gb=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`}]],Kb=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`m15.5 9.5 5 5`}],[`path`,{d:`m20.5 9.5-5 5`}]],qb=[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]],Jb=[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`}]],Yb=[[`path`,{d:`M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0`}],[`path`,{d:`M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6`}],[`path`,{d:`M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],Xb=[[`path`,{d:`M12 2v4`}],[`path`,{d:`m16.2 7.8 2.9-2.9`}],[`path`,{d:`M18 12h4`}],[`path`,{d:`m16.2 16.2 2.9 2.9`}],[`path`,{d:`M12 18v4`}],[`path`,{d:`m4.9 19.1 2.9-2.9`}],[`path`,{d:`M2 12h4`}],[`path`,{d:`m4.9 4.9 2.9 2.9`}]],Zb=[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],Qb=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M12 2v3`}],[`path`,{d:`M18.89 13.24a7 7 0 0 0-8.13-8.13`}],[`path`,{d:`M19 12h3`}],[`path`,{d:`M2 12h3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7.05 7.05a7 7 0 0 0 9.9 9.9`}]],$b=[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}]],ex=[[`circle`,{cx:`12`,cy:`16`,r:`1`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`}],[`path`,{d:`M7 10V7a5 5 0 0 1 9.33-2.5`}]],tx=[[`circle`,{cx:`12`,cy:`16`,r:`1`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`}]],nx=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`}]],rx=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`}]],ix=[[`path`,{d:`m10 17 5-5-5-5`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`}]],ax=[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],ox=[[`path`,{d:`M3 5h1`}],[`path`,{d:`M3 12h1`}],[`path`,{d:`M3 19h1`}],[`path`,{d:`M8 5h1`}],[`path`,{d:`M8 12h1`}],[`path`,{d:`M8 19h1`}],[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}]],sx=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0`}]],cx=[[`path`,{d:`M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2`}],[`path`,{d:`M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14`}],[`path`,{d:`M10 20h4`}],[`circle`,{cx:`16`,cy:`20`,r:`2`}],[`circle`,{cx:`8`,cy:`20`,r:`2`}]],lx=[[`path`,{d:`m12 15 4 4`}],[`path`,{d:`M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z`}],[`path`,{d:`m5 8 4 4`}]],ux=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`m16 19 2 2 4-4`}]],dx=[[`path`,{d:`M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M16 19h6`}]],fx=[[`path`,{d:`M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z`}],[`path`,{d:`m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10`}]],px=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M16 19h6`}]],mx=[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2`}],[`path`,{d:`M20 22v.01`}]],hx=[[`path`,{d:`M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`path`,{d:`m22 22-1.5-1.5`}]],gx=[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M20 14v4`}],[`path`,{d:`M20 22v.01`}]],_x=[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],vx=[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`m17 17 4 4`}],[`path`,{d:`m21 17-4 4`}]],yx=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z`}],[`polyline`,{points:`15,9 18,9 18,11`}],[`path`,{d:`M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2`}],[`line`,{x1:`6`,x2:`7`,y1:`10`,y2:`10`}]],bx=[[`path`,{d:`M17 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 1-1.732`}],[`path`,{d:`m22 5.5-6.419 4.179a2 2 0 0 1-2.162 0L7 5.5`}],[`rect`,{x:`7`,y:`3`,width:`15`,height:`12`,rx:`2`}]],xx=[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V14`}],[`path`,{d:`M15 5.764V14`}],[`path`,{d:`M21 18h-6`}],[`path`,{d:`M9 3.236v15`}]],Sx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`m9 10 2 2 4-4`}]],Cx=[[`path`,{d:`M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`m16 18 2 2 4-4`}]],wx=[[`path`,{d:`M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z`}],[`path`,{d:`M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2`}],[`path`,{d:`M18 22v-3`}],[`circle`,{cx:`10`,cy:`10`,r:`3`}]],Tx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`M9 10h6`}]],Ex=[[`path`,{d:`M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M16 18h6`}]],Dx=[[`path`,{d:`M12.75 7.09a3 3 0 0 1 2.16 2.16`}],[`path`,{d:`M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533`}],[`path`,{d:`M9.13 9.13a3 3 0 0 0 3.74 3.74`}]],Ox=[[`path`,{d:`M17.97 9.304A8 8 0 0 0 2 10c0 4.69 4.887 9.562 7.022 11.468`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`10`,r:`3`}]],kx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`M12 7v6`}],[`path`,{d:`M9 10h6`}]],Ax=[[`path`,{d:`M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M16 18h6`}],[`path`,{d:`M19 15v6`}]],jx=[[`path`,{d:`M 12.248 21.969 a 1 1 0 0 1 -0.849 -0.17 C 9.539 20.193 4 14.993 4 10 a 8 8 0 0 1 16 0 C 20 10.42 19.961 10.841 19.888 11.262`}],[`path`,{d:`m22 22-1.88-1.88`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],Mx=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`path`,{d:`m14.5 7.5-5 5`}],[`path`,{d:`m9.5 7.5 5 5`}]],Nx=[[`path`,{d:`M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`m21.5 15.5-5 5`}],[`path`,{d:`m21.5 20.5-5-5`}]],Px=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}]],Fx=[[`path`,{d:`M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0`}],[`circle`,{cx:`12`,cy:`8`,r:`2`}],[`path`,{d:`M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712`}]],Ix=[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12`}],[`path`,{d:`M15 5.764V12`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 18h-6`}],[`path`,{d:`M9 3.236v15`}]],Lx=[[`path`,{d:`m14 6 4 4`}],[`path`,{d:`M17 3h4v4`}],[`path`,{d:`m21 3-7.75 7.75`}],[`circle`,{cx:`9`,cy:`15`,r:`6`}]],Rx=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`m21 3-6.75 6.75`}],[`circle`,{cx:`10`,cy:`14`,r:`6`}]],zx=[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`}],[`path`,{d:`M15 5.764v15`}],[`path`,{d:`M9 3.236v15`}]],Bx=[[`path`,{d:`M12 12 4.207 4.207A.707.707 0 0 1 4.707 3h14.586a.707.707 0 0 1 .5 1.207z`}],[`path`,{d:`M12 12v10`}],[`path`,{d:`M7 22h10`}]],Vx=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`m21 3-7 7`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M9 21H3v-6`}]],Hx=[[`path`,{d:`M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15`}],[`path`,{d:`M11 12 5.12 2.2`}],[`path`,{d:`m13 12 5.88-9.8`}],[`path`,{d:`M8 7h8`}],[`circle`,{cx:`12`,cy:`17`,r:`5`}],[`path`,{d:`M12 18v-2h-.5`}]],Ux=[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 8V5a2 2 0 0 0-2-2h-3`}],[`path`,{d:`M3 16v3a2 2 0 0 0 2 2h3`}],[`path`,{d:`M16 21h3a2 2 0 0 0 2-2v-3`}]],Wx=[[`path`,{d:`M11.636 6A13 13 0 0 0 19.4 3.2 1 1 0 0 1 21 4v11.344`}],[`path`,{d:`M14.378 14.357A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`}],[`path`,{d:`M8 8v6`}]],Gx=[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`}],[`path`,{d:`M8 6v8`}]],Kx=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`8`,x2:`16`,y1:`15`,y2:`15`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],qx=[[`path`,{d:`M12 12v-2`}],[`path`,{d:`M12 18v-2`}],[`path`,{d:`M16 12v-2`}],[`path`,{d:`M16 18v-2`}],[`path`,{d:`M2 11h1.5`}],[`path`,{d:`M20 18v-2`}],[`path`,{d:`M20.5 11H22`}],[`path`,{d:`M4 18v-2`}],[`path`,{d:`M8 12v-2`}],[`path`,{d:`M8 18v-2`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`}]],Jx=[[`path`,{d:`M4 5h16`}],[`path`,{d:`M4 12h16`}],[`path`,{d:`M4 19h16`}]],Yx=[[`path`,{d:`m8 6 4-4 4 4`}],[`path`,{d:`M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22`}],[`path`,{d:`m20 22-5-5`}]],Xx=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m9 12 2 2 4-4`}]],Zx=[[`path`,{d:`m10 9-3 3 3 3`}],[`path`,{d:`m14 15 3-3-3-3`}],[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}]],Qx=[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`}],[`path`,{d:`M17.609 3.72a10 10 0 0 1 2.69 2.7`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`}],[`path`,{d:`M20.28 17.61a10 10 0 0 1-2.7 2.69`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`}],[`path`,{d:`m6.163 21.117-2.906.85a1 1 0 0 1-1.236-1.169l.965-2.98`}]],$x=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z`}]],eS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}]],tS=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4.93 4.929a10 10 0 0 0-1.938 11.412 2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 0 0 11.302-1.989`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`}]],nS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],rS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],iS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m10 15-3-3 3-3`}],[`path`,{d:`M7 12h8a2 2 0 0 1 2 2v1`}]],aS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M12 16h.01`}]],oS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],sS=[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`}]],cS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m9 11 2 2 4-4`}]],lS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m10 8-3 3 3 3`}],[`path`,{d:`m14 14 3-3-3-3`}]],uS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M10 15h4`}],[`path`,{d:`M10 9h4`}],[`path`,{d:`M12 7v4`}]],dS=[[`path`,{d:`M14 3h2`}],[`path`,{d:`M16 19h-2`}],[`path`,{d:`M2 12v-2`}],[`path`,{d:`M2 16v5.286a.71.71 0 0 0 1.212.502l1.149-1.149`}],[`path`,{d:`M20 19a2 2 0 0 0 2-2v-1`}],[`path`,{d:`M22 10v2`}],[`path`,{d:`M22 6V5a2 2 0 0 0-2-2`}],[`path`,{d:`M4 3a2 2 0 0 0-2 2v1`}],[`path`,{d:`M8 19h2`}],[`path`,{d:`M8 3h2`}]],fS=[[`path`,{d:`M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}]],pS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M7.5 9.5c0 .687.265 1.383.697 1.844l3.009 3.264a1.14 1.14 0 0 0 .407.314 1 1 0 0 0 .783-.004 1.14 1.14 0 0 0 .398-.31l3.008-3.264A2.77 2.77 0 0 0 16.5 9.5 2.5 2.5 0 0 0 12 8a2.5 2.5 0 0 0-4.5 1.5`}]],mS=[[`path`,{d:`M22 8.5V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H10`}],[`path`,{d:`M20 15v-2a2 2 0 0 0-4 0v2`}],[`rect`,{x:`14`,y:`15`,width:`8`,height:`5`,rx:`1`}]],hS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 11h.01`}],[`path`,{d:`M16 11h.01`}],[`path`,{d:`M8 11h.01`}]],gS=[[`path`,{d:`M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v11.344`}]],_S=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 8v6`}],[`path`,{d:`M9 11h6`}]],vS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m10 8-3 3 3 3`}],[`path`,{d:`M17 14v-1a2 2 0 0 0-2-2H7`}]],yS=[[`path`,{d:`M14 14a2 2 0 0 0 2-2V8h-2`}],[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M8 14a2 2 0 0 0 2-2V8H8`}]],bS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M7 11h10`}],[`path`,{d:`M7 15h6`}],[`path`,{d:`M7 7h8`}]],xS=[[`path`,{d:`M12 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4`}],[`path`,{d:`M16 3h6v6`}],[`path`,{d:`m16 9 6-6`}]],SS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`M12 15h.01`}],[`path`,{d:`M12 7v4`}]],CS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}],[`path`,{d:`m14.5 8.5-5 5`}],[`path`,{d:`m9.5 8.5 5 5`}]],wS=[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}]],TS=[[`path`,{d:`M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z`}],[`path`,{d:`M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1`}]],ES=[[`path`,{d:`M12 11.4V9.1`}],[`path`,{d:`m12 17 6.59-6.59`}],[`path`,{d:`m15.05 5.7-.218-.691a3 3 0 0 0-5.663 0L4.418 19.695A1 1 0 0 0 5.37 21h13.253a1 1 0 0 0 .951-1.31L18.45 16.2`}],[`circle`,{cx:`20`,cy:`9`,r:`2`}]],DS=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`}]],OS=[[`path`,{d:`M12 19v3`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`}]],kS=[[`path`,{d:`m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12`}],[`path`,{d:`M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5`}],[`circle`,{cx:`16`,cy:`7`,r:`5`}]],AS=[[`path`,{d:`M10 12h4`}],[`path`,{d:`M10 17h4`}],[`path`,{d:`M10 7h4`}],[`path`,{d:`M18 12h2`}],[`path`,{d:`M18 18h2`}],[`path`,{d:`M18 6h2`}],[`path`,{d:`M4 12h2`}],[`path`,{d:`M4 18h2`}],[`path`,{d:`M4 6h2`}],[`rect`,{x:`6`,y:`2`,width:`12`,height:`20`,rx:`2`}]],jS=[[`path`,{d:`M6 18h8`}],[`path`,{d:`M3 22h18`}],[`path`,{d:`M14 22a7 7 0 1 0 0-14h-1`}],[`path`,{d:`M9 14h2`}],[`path`,{d:`M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z`}],[`path`,{d:`M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}]],MS=[[`rect`,{width:`20`,height:`15`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`8`,height:`7`,x:`6`,y:`8`,rx:`1`}],[`path`,{d:`M18 8v7`}],[`path`,{d:`M6 19v2`}],[`path`,{d:`M18 19v2`}]],NS=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M12 3v3`}],[`path`,{d:`M18.172 6a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z`}]],PS=[[`path`,{d:`M8 2h8`}],[`path`,{d:`M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],FS=[[`path`,{d:`M8 2h8`}],[`path`,{d:`M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2`}],[`path`,{d:`M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0`}]],IS=[[`path`,{d:`m14 10 7-7`}],[`path`,{d:`M20 10h-6V4`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M4 14h6v6`}]],LS=[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`}]],RS=[[`path`,{d:`M5 12h14`}]],zS=[[`path`,{d:`M11 6 8 9`}],[`path`,{d:`m16 7-8 8`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`}]],BS=[[`path`,{d:`M10 6.6 8.6 8`}],[`path`,{d:`M12 18v4`}],[`path`,{d:`M15 7.5 9.5 13`}],[`path`,{d:`M7 22h10`}],[`circle`,{cx:`12`,cy:`10`,r:`8`}]],VS=[[`path`,{d:`m9 10 2 2 4-4`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],HS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`m14.305 7.53.923-.382`}],[`path`,{d:`m15.228 4.852-.923-.383`}],[`path`,{d:`m16.852 3.228-.383-.924`}],[`path`,{d:`m16.852 8.772-.383.923`}],[`path`,{d:`m19.148 3.228.383-.924`}],[`path`,{d:`m19.53 9.696-.382-.924`}],[`path`,{d:`m20.772 4.852.924-.383`}],[`path`,{d:`m20.772 7.148.924.383`}],[`path`,{d:`M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`}],[`path`,{d:`M8 21h8`}],[`circle`,{cx:`18`,cy:`6`,r:`3`}]],US=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M22 12.307V15a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.693`}],[`path`,{d:`M8 21h8`}],[`circle`,{cx:`19`,cy:`6`,r:`3`}]],WS=[[`path`,{d:`M11 13a3 3 0 1 1 2.83-4H14a2 2 0 0 1 0 4z`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],GS=[[`path`,{d:`M12 13V7`}],[`path`,{d:`m15 10-3 3-3-3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],KS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`}]],qS=[[`path`,{d:`M10 13V7`}],[`path`,{d:`M14 13V7`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],JS=[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],YS=[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`}],[`path`,{d:`M10 19v-3.96 3.15`}],[`path`,{d:`M7 19h5`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`}]],XS=[[`path`,{d:`M5.5 20H8`}],[`path`,{d:`M17 9h.01`}],[`rect`,{width:`10`,height:`16`,x:`12`,y:`4`,rx:`2`}],[`path`,{d:`M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4`}],[`circle`,{cx:`17`,cy:`15`,r:`1`}]],ZS=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}],[`rect`,{x:`9`,y:`7`,width:`6`,height:`6`,rx:`1`}]],QS=[[`path`,{d:`m9 10 3-3 3 3`}],[`path`,{d:`M12 13V7`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],$S=[[`path`,{d:`m14.5 12.5-5-5`}],[`path`,{d:`m9.5 12.5 5-5`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}]],eC=[[`path`,{d:`M18 5h4`}],[`path`,{d:`M20 3v4`}],[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],tC=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`}]],nC=[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],rC=[[`path`,{d:`m18 14-1-3`}],[`path`,{d:`m3 9 6 2a2 2 0 0 1 2-2h2a2 2 0 0 1 1.99 1.81`}],[`path`,{d:`M8 17h3a1 1 0 0 0 1-1 6 6 0 0 1 6-6 1 1 0 0 0 1-1v-.75A5 5 0 0 0 17 5`}],[`circle`,{cx:`19`,cy:`17`,r:`3`}],[`circle`,{cx:`5`,cy:`17`,r:`3`}]],iC=[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`}],[`path`,{d:`M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19`}]],aC=[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`}]],oC=[[`path`,{d:`M12 7.318V10`}],[`path`,{d:`M5 10v5a7 7 0 0 0 14 0V9c0-3.527-2.608-6.515-6-7`}],[`circle`,{cx:`7`,cy:`4`,r:`2`}]],sC=[[`path`,{d:`M12 6v.343`}],[`path`,{d:`M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218`}],[`path`,{d:`M19 13.343V9A7 7 0 0 0 8.56 2.902`}],[`path`,{d:`M22 22 2 2`}]],cC=[[`path`,{d:`m15.55 8.45 5.138 2.087a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063L8.45 15.551`}],[`path`,{d:`M22 2 2 22`}],[`path`,{d:`m6.816 11.528-2.779-6.84a.495.495 0 0 1 .651-.651l6.84 2.779`}]],lC=[[`path`,{d:`M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z`}],[`circle`,{cx:`16`,cy:`16`,r:`6`}],[`path`,{d:`m11.8 11.8 8.4 8.4`}]],uC=[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`}]],dC=[[`path`,{d:`M12.586 12.586 19 19`}],[`path`,{d:`M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z`}]],fC=[[`path`,{d:`M14 4.1 12 6`}],[`path`,{d:`m5.1 8-2.9-.8`}],[`path`,{d:`m6 12-1.9 2`}],[`path`,{d:`M7.2 2.2 8 5.1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`}]],pC=[[`path`,{d:`M12 7.318V10`}],[`path`,{d:`M19 10v5a7 7 0 0 1-14 0V9c0-3.527 2.608-6.515 6-7`}],[`circle`,{cx:`17`,cy:`4`,r:`2`}]],mC=[[`rect`,{x:`5`,y:`2`,width:`14`,height:`20`,rx:`7`}],[`path`,{d:`M12 6v4`}]],hC=[[`path`,{d:`M5 3v16h16`}],[`path`,{d:`m5 19 6-6`}],[`path`,{d:`m2 6 3-3 3 3`}],[`path`,{d:`m18 16 3 3-3 3`}]],gC=[[`path`,{d:`M19 13v6h-6`}],[`path`,{d:`M5 11V5h6`}],[`path`,{d:`m5 5 14 14`}]],_C=[[`path`,{d:`M11 19H5v-6`}],[`path`,{d:`M13 5h6v6`}],[`path`,{d:`M19 5 5 19`}]],vC=[[`path`,{d:`M11 19H5V13`}],[`path`,{d:`M19 5L5 19`}]],yC=[[`path`,{d:`M19 13V19H13`}],[`path`,{d:`M5 5L19 19`}]],bC=[[`path`,{d:`M8 18L12 22L16 18`}],[`path`,{d:`M12 2V22`}]],xC=[[`path`,{d:`m18 8 4 4-4 4`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`m6 8-4 4 4 4`}]],SC=[[`path`,{d:`M6 8L2 12L6 16`}],[`path`,{d:`M2 12H22`}]],CC=[[`path`,{d:`M18 8L22 12L18 16`}],[`path`,{d:`M2 12H22`}]],wC=[[`path`,{d:`M5 11V5H11`}],[`path`,{d:`M5 5L19 19`}]],TC=[[`path`,{d:`M13 5H19V11`}],[`path`,{d:`M19 5L5 19`}]],EC=[[`path`,{d:`M8 6L12 2L16 6`}],[`path`,{d:`M12 2V22`}]],DC=[[`path`,{d:`M12 2v20`}],[`path`,{d:`m8 18 4 4 4-4`}],[`path`,{d:`m8 6 4-4 4 4`}]],OC=[[`path`,{d:`M12 2v20`}],[`path`,{d:`m15 19-3 3-3-3`}],[`path`,{d:`m19 9 3 3-3 3`}],[`path`,{d:`M2 12h20`}],[`path`,{d:`m5 9-3 3 3 3`}],[`path`,{d:`m9 5 3-3 3 3`}]],kC=[[`circle`,{cx:`8`,cy:`18`,r:`4`}],[`path`,{d:`M12 18V2l7 4`}]],AC=[[`circle`,{cx:`12`,cy:`18`,r:`4`}],[`path`,{d:`M16 18V2`}]],jC=[[`path`,{d:`M9 18V5l12-2v13`}],[`path`,{d:`m9 9 12-2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],MC=[[`path`,{d:`M9 18V5l12-2v13`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`circle`,{cx:`18`,cy:`16`,r:`3`}]],NC=[[`path`,{d:`M9.31 9.31 5 21l7-4 7 4-1.17-3.17`}],[`path`,{d:`M14.53 8.88 12 2l-1.17 3.17`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],PC=[[`polygon`,{points:`12 2 19 21 12 17 5 21 12 2`}]],FC=[[`path`,{d:`M8.43 8.43 3 11l8 2 2 8 2.57-5.43`}],[`path`,{d:`M17.39 11.73 22 2l-9.73 4.61`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],IC=[[`polygon`,{points:`3 11 22 2 13 21 11 13 3 11`}]],LC=[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`}],[`path`,{d:`M12 12V8`}]],RC=[[`path`,{d:`M15 18h-5`}],[`path`,{d:`M18 14h-8`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`}]],zC=[[`path`,{d:`M6 8.32a7.43 7.43 0 0 1 0 7.36`}],[`path`,{d:`M9.46 6.21a11.76 11.76 0 0 1 0 11.58`}],[`path`,{d:`M12.91 4.1a15.91 15.91 0 0 1 .01 15.8`}],[`path`,{d:`M16.37 2a20.16 20.16 0 0 1 0 20`}]],BC=[[`path`,{d:`M12 2v10`}],[`path`,{d:`m8.5 4 7 4`}],[`path`,{d:`m8.5 8 7-4`}],[`circle`,{cx:`12`,cy:`17`,r:`5`}]],VC=[[`path`,{d:`M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4`}],[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`path`,{d:`M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}]],HC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M15 2v20`}],[`path`,{d:`M15 7h5`}],[`path`,{d:`M15 12h5`}],[`path`,{d:`M15 17h5`}]],UC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M9.5 8h5`}],[`path`,{d:`M9.5 12H16`}],[`path`,{d:`M9.5 16H14`}]],WC=[[`path`,{d:`M2 6h4`}],[`path`,{d:`M2 10h4`}],[`path`,{d:`M2 14h4`}],[`path`,{d:`M2 18h4`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M16 2v20`}]],GC=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`M16 2v4`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M20 12v2`}],[`path`,{d:`M20 18v2a2 2 0 0 1-2 2h-1`}],[`path`,{d:`M13 22h-2`}],[`path`,{d:`M7 22H6a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M4 14v-2`}],[`path`,{d:`M4 8V6a2 2 0 0 1 2-2h2`}],[`path`,{d:`M8 10h6`}],[`path`,{d:`M8 14h8`}],[`path`,{d:`M8 18h5`}]],KC=[[`path`,{d:`M8 2v4`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`M16 2v4`}],[`rect`,{width:`16`,height:`18`,x:`4`,y:`4`,rx:`2`}],[`path`,{d:`M8 10h6`}],[`path`,{d:`M8 14h8`}],[`path`,{d:`M8 18h5`}]],qC=[[`path`,{d:`M12 4V2`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939`}],[`path`,{d:`M19 10v3.343`}],[`path`,{d:`M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],JC=[[`path`,{d:`M12 4V2`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4`}],[`path`,{d:`M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z`}]],YC=[[`path`,{d:`M12 16h.01`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`}]],XC=[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}],[`path`,{d:`M8 12h8`}]],ZC=[[`path`,{d:`M10 15V9`}],[`path`,{d:`M14 15V9`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}]],QC=[[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}],[`path`,{d:`m9 9 6 6`}]],$C=[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`}]],ew=[[`path`,{d:`M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21`}]],tw=[[`path`,{d:`M14 3h7`}],[`path`,{d:`M3 3h5.28a1 1 0 0 1 .948.684l5.544 16.632a1 1 0 0 0 .949.684H21`}]],nw=[[`path`,{d:`M20.341 6.484A10 10 0 0 1 10.266 21.85`}],[`path`,{d:`M3.659 17.516A10 10 0 0 1 13.74 2.152`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],rw=[[`path`,{d:`M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025`}],[`path`,{d:`m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009`}],[`path`,{d:`m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027`}]],iw=[[`path`,{d:`M12 3v6`}],[`path`,{d:`M16.76 3a2 2 0 0 1 1.8 1.1l2.23 4.479a2 2 0 0 1 .21.891V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9.472a2 2 0 0 1 .211-.894L5.45 4.1A2 2 0 0 1 7.24 3z`}],[`path`,{d:`M3.054 9.013h17.893`}]],aw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`m16 17 2 2 4-4`}],[`path`,{d:`M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],ow=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],sw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M16 17h6`}],[`path`,{d:`M19 14v6`}],[`path`,{d:`M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],cw=[[`path`,{d:`M12 22v-9`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`}]],lw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`M20.27 18.27 22 20`}],[`path`,{d:`M21 10.498V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.98-.559`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}],[`circle`,{cx:`18.5`,cy:`16.5`,r:`2.5`}]],uw=[[`path`,{d:`M12 22V12`}],[`path`,{d:`m16.5 14.5 5 5`}],[`path`,{d:`m16.5 19.5 5-5`}],[`path`,{d:`M21 10.5V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.13-.074`}],[`path`,{d:`M3.29 7 12 12l8.71-5`}],[`path`,{d:`m7.5 4.27 8.997 5.148`}]],dw=[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`}],[`path`,{d:`M12 22V12`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`}],[`path`,{d:`m7.5 4.27 9 5.15`}]],fw=[[`path`,{d:`M11 7 6 2`}],[`path`,{d:`M18.992 12H2.041`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`}]],pw=[[`rect`,{width:`16`,height:`6`,x:`2`,y:`2`,rx:`2`}],[`path`,{d:`M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`}],[`rect`,{width:`4`,height:`6`,x:`8`,y:`16`,rx:`1`}]],mw=[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v4`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1`}]],hw=[[`path`,{d:`m14.622 17.897-10.68-2.913`}],[`path`,{d:`M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z`}],[`path`,{d:`M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15`}]],gw=[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],_w=[[`path`,{d:`M11.25 17.25h1.5L12 18z`}],[`path`,{d:`m15 12 2 2`}],[`path`,{d:`M18 6.5a.5.5 0 0 0-.5-.5`}],[`path`,{d:`M20.69 9.67a4.5 4.5 0 1 0-7.04-5.5 8.35 8.35 0 0 0-3.3 0 4.5 4.5 0 1 0-7.04 5.5C2.49 11.2 2 12.88 2 14.5 2 19.47 6.48 22 12 22s10-2.53 10-7.5c0-1.62-.48-3.3-1.3-4.83`}],[`path`,{d:`M6 6.5a.495.495 0 0 1 .5-.5`}],[`path`,{d:`m9 12-2 2`}]],vw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`m15 8-3 3-3-3`}]],yw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M14 15h1`}],[`path`,{d:`M19 15h2`}],[`path`,{d:`M3 15h2`}],[`path`,{d:`M9 15h1`}]],bw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`m9 10 3-3 3 3`}]],xw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h18`}]],Sw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m16 15-3-3 3-3`}]],Cw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 14v1`}],[`path`,{d:`M9 19v2`}],[`path`,{d:`M9 3v2`}],[`path`,{d:`M9 9v1`}]],ww=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m14 9 3 3-3 3`}]],Tw=[[`path`,{d:`M15 10V9`}],[`path`,{d:`M15 15v-1`}],[`path`,{d:`M15 21v-2`}],[`path`,{d:`M15 5V3`}],[`path`,{d:`M9 10V9`}],[`path`,{d:`M9 15v-1`}],[`path`,{d:`M9 21v-2`}],[`path`,{d:`M9 5V3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Ew=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}]],Dw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}],[`path`,{d:`m8 9 3 3-3 3`}]],Ow=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 14v1`}],[`path`,{d:`M15 19v2`}],[`path`,{d:`M15 3v2`}],[`path`,{d:`M15 9v1`}]],kw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}],[`path`,{d:`m10 15-3-3 3-3`}]],Aw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M15 3v18`}]],jw=[[`path`,{d:`M14 15h1`}],[`path`,{d:`M14 9h1`}],[`path`,{d:`M19 15h2`}],[`path`,{d:`M19 9h2`}],[`path`,{d:`M3 15h2`}],[`path`,{d:`M3 9h2`}],[`path`,{d:`M9 15h1`}],[`path`,{d:`M9 9h1`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Mw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`m9 16 3-3 3 3`}]],Nw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`m15 14-3 3-3-3`}]],Pw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M14 9h1`}],[`path`,{d:`M19 9h2`}],[`path`,{d:`M3 9h2`}],[`path`,{d:`M9 9h1`}]],Fw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}]],Iw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M9 15h12`}]],Lw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 15h12`}],[`path`,{d:`M15 3v18`}]],Rw=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M9 21V9`}]],zw=[[`path`,{d:`M5.364 3.848C4 6 3 9.652 3 12.652V19a2 2 0 002 2h14a2 2 0 002-2v-5c0-2.334-1.816-4.668-2.622-7.002`}],[`path`,{d:`M7 3h11.379a2 2 0 011.789 1.106l.723 1.447A1 1 0 0119.997 7h-8.525a2 2 0 01-1.789-1.106L8.79 4.105a2 2 0 10-3.579 1.789l2.261 4.522A5 5 0 018 12.652V21`}]],Bw=[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`}]],Vw=[[`path`,{d:`M12.5 11.134 18.196 21`}],[`path`,{d:`M20.425 5.299a10 10 0 0 0-16.941 9.78c.183.563.843.774 1.355.478L20.16 6.711c.512-.296.66-.973.264-1.413`}],[`path`,{d:`M21 21H3`}]],Hw=[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`}]],Uw=[[`path`,{d:`M11 15h2`}],[`path`,{d:`M12 12v3`}],[`path`,{d:`M12 19v3`}],[`path`,{d:`M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z`}],[`path`,{d:`M9 9a3 3 0 1 1 6 0`}]],Ww=[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`}]],Gw=[[`path`,{d:`M5.8 11.3 2 22l10.7-3.79`}],[`path`,{d:`M4 3h.01`}],[`path`,{d:`M22 8h.01`}],[`path`,{d:`M15 2h.01`}],[`path`,{d:`M22 20h.01`}],[`path`,{d:`m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10`}],[`path`,{d:`m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17`}],[`path`,{d:`m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7`}],[`path`,{d:`M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z`}]],Kw=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`}],[`path`,{d:`M15 14h.01`}],[`path`,{d:`M9 6h6`}],[`path`,{d:`M9 10h6`}]],qw=[[`circle`,{cx:`11`,cy:`4`,r:`2`}],[`circle`,{cx:`18`,cy:`8`,r:`2`}],[`circle`,{cx:`20`,cy:`16`,r:`2`}],[`path`,{d:`M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z`}]],Jw=[[`path`,{d:`M13 21h8`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Yw=[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`}],[`path`,{d:`m2 2 20 20`}]],Xw=[[`path`,{d:`M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z`}],[`path`,{d:`m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18`}],[`path`,{d:`m2.3 2.3 7.286 7.286`}],[`circle`,{cx:`11`,cy:`11`,r:`2`}]],Zw=[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Qw=[[`path`,{d:`M13 21h8`}],[`path`,{d:`m15 5 4 4`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],$w=[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`}],[`path`,{d:`m15 5 4 4`}],[`path`,{d:`m2 2 20 20`}]],eT=[[`path`,{d:`M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13`}],[`path`,{d:`m8 6 2-2`}],[`path`,{d:`m18 16 2-2`}],[`path`,{d:`m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`m15 5 4 4`}]],tT=[[`path`,{d:`M10 3H8`}],[`path`,{d:`m15.007 5.008 3.987 3.986`}],[`path`,{d:`M20 15v4`}],[`path`,{d:`M21.174 6.813a2.82 2.82 0 0 0-3.986-3.987L3.842 16.175a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`M22 17h-4`}],[`path`,{d:`M4 5v4`}],[`path`,{d:`M6 7H2`}],[`path`,{d:`M9 2v2`}]],nT=[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`m15 5 4 4`}]],rT=[[`path`,{d:`M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z`}]],iT=[[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`}],[`circle`,{cx:`6.5`,cy:`6.5`,r:`2.5`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`2.5`}]],aT=[[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`path`,{d:`m9 20 3-6 3 6`}],[`path`,{d:`m6 8 6 2 6-2`}],[`path`,{d:`M12 10v4`}]],oT=[[`path`,{d:`M12 2v20`}],[`circle`,{cx:`12`,cy:`12`,r:`7`}]],sT=[[`path`,{d:`M20 11H4`}],[`path`,{d:`M20 7H4`}],[`path`,{d:`M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7`}]],cT=[[`path`,{d:`M13 2a9 9 0 0 1 9 9`}],[`path`,{d:`M13 6a5 5 0 0 1 5 5`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],lT=[[`path`,{d:`M14 6h8`}],[`path`,{d:`m18 2 4 4-4 4`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],uT=[[`path`,{d:`M16 2v6h6`}],[`path`,{d:`m22 2-6 6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],dT=[[`path`,{d:`m16 2 6 6`}],[`path`,{d:`m22 2-6 6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],fT=[[`path`,{d:`M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272`}],[`path`,{d:`M22 2 2 22`}],[`path`,{d:`M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473`}]],pT=[[`path`,{d:`m16 8 6-6`}],[`path`,{d:`M22 8V2h-6`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],mT=[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],hT=[[`line`,{x1:`9`,x2:`9`,y1:`4`,y2:`20`}],[`path`,{d:`M4 7c0-1.7 1.3-3 3-3h13`}],[`path`,{d:`M18 20c-1.7 0-3-1.3-3-3V4`}]],gT=[[`path`,{d:`M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M6 14v4`}],[`path`,{d:`M10 14v4`}],[`path`,{d:`M14 14v4`}],[`path`,{d:`M18 14v4`}]],_T=[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999`}],[`path`,{d:`M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024`}],[`path`,{d:`M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069`}],[`path`,{d:`M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z`}]],vT=[[`path`,{d:`M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4`}],[`rect`,{width:`10`,height:`7`,x:`12`,y:`13`,rx:`2`}]],yT=[[`path`,{d:`M2 10h6V4`}],[`path`,{d:`m2 4 6 6`}],[`path`,{d:`M21 10V7a2 2 0 0 0-2-2h-7`}],[`path`,{d:`M3 14v2a2 2 0 0 0 2 2h3`}],[`rect`,{x:`12`,y:`14`,width:`10`,height:`7`,rx:`1`}]],bT=[[`path`,{d:`M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z`}],[`path`,{d:`M16 10h.01`}],[`path`,{d:`M2 8v1a2 2 0 0 0 2 2h1`}]],xT=[[`path`,{d:`M14 3v11`}],[`path`,{d:`M14 9h-3a3 3 0 0 1 0-6h9`}],[`path`,{d:`M18 3v11`}],[`path`,{d:`M22 18H2l4-4`}],[`path`,{d:`m6 22-4-4`}]],ST=[[`path`,{d:`M10 3v11`}],[`path`,{d:`M10 9H7a1 1 0 0 1 0-6h8`}],[`path`,{d:`M14 3v11`}],[`path`,{d:`m18 14 4 4H2`}],[`path`,{d:`m22 18-4 4`}]],CT=[[`path`,{d:`M13 4v16`}],[`path`,{d:`M17 4v16`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`}]],wT=[[`path`,{d:`M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4`}],[`path`,{d:`M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7`}],[`rect`,{width:`16`,height:`5`,x:`4`,y:`2`,rx:`1`}]],TT=[[`path`,{d:`m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z`}],[`path`,{d:`m8.5 8.5 7 7`}]],ET=[[`path`,{d:`M12 17v5`}],[`path`,{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`}]],DT=[[`path`,{d:`M12 17v5`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`}]],OT=[[`path`,{d:`m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12`}],[`path`,{d:`m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z`}],[`path`,{d:`m2 22 .414-.414`}]],kT=[[`path`,{d:`m12 14-1 1`}],[`path`,{d:`m13.75 18.25-1.25 1.42`}],[`path`,{d:`M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12`}],[`path`,{d:`M18.8 9.3a1 1 0 0 0 2.1 7.7`}],[`path`,{d:`M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z`}]],AT=[[`path`,{d:`M2 22h20`}],[`path`,{d:`M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z`}]],jT=[[`path`,{d:`M2 22h20`}],[`path`,{d:`M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z`}]],MT=[[`path`,{d:`M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z`}]],NT=[[`path`,{d:`m10.215 4.56 9.79 5.71a2 2 0 0 1 .003 3.458l-.393.23`}],[`path`,{d:`m16.042 16.042-8.034 4.686A2 2 0 0 1 5 19V5`}],[`path`,{d:`m2 2 20 20`}]],PT=[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`}]],FT=[[`path`,{d:`M9 2v6`}],[`path`,{d:`M15 2v6`}],[`path`,{d:`M12 17v5`}],[`path`,{d:`M5 8h14`}],[`path`,{d:`M6 11V8h12v3a6 6 0 1 1-12 0Z`}]],IT=[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`}],[`path`,{d:`m2 22 3-3`}],[`path`,{d:`M7.5 13.5 10 11`}],[`path`,{d:`M10.5 16.5 13 14`}],[`path`,{d:`m18 3-4 4h6l-4 4`}]],LT=[[`path`,{d:`M12 22v-5`}],[`path`,{d:`M15 8V2`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`}],[`path`,{d:`M9 8V2`}]],RT=[[`path`,{d:`M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2`}],[`path`,{d:`M18 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z`}],[`path`,{d:`M18 11.66V22a4 4 0 0 0 4-4V6`}]],zT=[[`path`,{d:`M5 12h14`}],[`path`,{d:`M12 5v14`}]],BT=[[`path`,{d:`M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z`,fill:`currentColor`}],[`path`,{d:`M16.85 18.58a9 9 0 1 0-9.7 0`}],[`path`,{d:`M8 14a5 5 0 1 1 8 0`}],[`circle`,{cx:`12`,cy:`11`,r:`1`,fill:`currentColor`}]],VT=[[`path`,{d:`M12 6V2h-1`}],[`path`,{d:`M9 15a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1`}],[`path`,{d:`M9 21V11a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10`}]],HT=[[`path`,{d:`M10 4.5V4a2 2 0 0 0-2.41-1.957`}],[`path`,{d:`M13.9 8.4a2 2 0 0 0-1.26-1.295`}],[`path`,{d:`M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158`}],[`path`,{d:`m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343`}],[`path`,{d:`M6 6v8`}],[`path`,{d:`m2 2 20 20`}]],UT=[[`path`,{d:`M22 14a8 8 0 0 1-8 8`}],[`path`,{d:`M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2`}],[`path`,{d:`M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1`}],[`path`,{d:`M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`}]],WT=[[`path`,{d:`M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4`}],[`path`,{d:`M10 22 9 8`}],[`path`,{d:`m14 22 1-14`}],[`path`,{d:`M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z`}]],GT=[[`path`,{d:`M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z`}],[`path`,{d:`m22 22-5.5-5.5`}]],KT=[[`path`,{d:`M18 7c0-5.333-8-5.333-8 0`}],[`path`,{d:`M10 7v14`}],[`path`,{d:`M6 21h12`}],[`path`,{d:`M6 13h10`}]],qT=[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`}],[`path`,{d:`M12 2v4`}],[`path`,{d:`m2 2 20 20`}]],JT=[[`path`,{d:`M12 2v10`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`}]],YT=[[`path`,{d:`M2 3h20`}],[`path`,{d:`M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3`}],[`path`,{d:`m7 21 5-5 5 5`}]],XT=[[`path`,{d:`M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}]],ZT=[[`path`,{d:`M12.531 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6.377`}],[`path`,{d:`m16.5 16.5 5 5`}],[`path`,{d:`m16.5 21.5 5-5`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.5`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}]],QT=[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`}]],$T=[[`path`,{d:`M5 7 3 5`}],[`path`,{d:`M9 6V3`}],[`path`,{d:`m13 7 2-2`}],[`circle`,{cx:`9`,cy:`13`,r:`3`}],[`path`,{d:`M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17`}],[`path`,{d:`M16 16h2`}]],eE=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M12 9v11`}],[`path`,{d:`M2 9h13a2 2 0 0 1 2 2v9`}]],tE=[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`}]],nE=[[`path`,{d:`M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z`}],[`path`,{d:`M12 2v20`}]],rE=[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 21v.01`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M12 3h.01`}],[`path`,{d:`M12 16v.01`}],[`path`,{d:`M16 12h1`}],[`path`,{d:`M21 12v.01`}],[`path`,{d:`M12 21v-1`}]],iE=[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}]],aE=[[`path`,{d:`M19.07 4.93A10 10 0 0 0 6.99 3.34`}],[`path`,{d:`M4 6h.01`}],[`path`,{d:`M2.29 9.62A10 10 0 1 0 21.31 8.35`}],[`path`,{d:`M16.24 7.76A6 6 0 1 0 8.23 16.67`}],[`path`,{d:`M12 18h.01`}],[`path`,{d:`M17.99 11.66A6 6 0 0 1 15.77 16.67`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}],[`path`,{d:`m13.41 10.59 5.66-5.66`}]],oE=[[`path`,{d:`M12 12h.01`}],[`path`,{d:`M14 15.4641a4 4 0 0 1-4 0L7.52786 19.74597 A 1 1 0 0 0 7.99303 21.16211 10 10 0 0 0 16.00697 21.16211 1 1 0 0 0 16.47214 19.74597z`}],[`path`,{d:`M16 12a4 4 0 0 0-2-3.464l2.472-4.282a1 1 0 0 1 1.46-.305 10 10 0 0 1 4.006 6.94A1 1 0 0 1 21 12z`}],[`path`,{d:`M8 12a4 4 0 0 1 2-3.464L7.528 4.254a1 1 0 0 0-1.46-.305 10 10 0 0 0-4.006 6.94A1 1 0 0 0 3 12z`}]],sE=[[`path`,{d:`M13 16a3 3 0 0 1 2.24 5`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3`}],[`path`,{d:`M20 8.54V4a2 2 0 1 0-4 0v3`}],[`path`,{d:`M7.612 12.524a3 3 0 1 0-1.6 4.3`}]],cE=[[`path`,{d:`M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21`}]],lE=[[`path`,{d:`M13.414 13.414a2 2 0 1 1-2.828-2.828`}],[`path`,{d:`M16.247 7.761a6 6 0 0 1 1.744 4.572`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 2.234 10.72`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`}]],uE=[[`path`,{d:`M5 16v2`}],[`path`,{d:`M19 16v2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`8`,rx:`2`}],[`path`,{d:`M18 12h.01`}]],dE=[[`path`,{d:`M4.9 16.1C1 12.2 1 5.8 4.9 1.9`}],[`path`,{d:`M7.8 4.7a6.14 6.14 0 0 0-.8 7.5`}],[`circle`,{cx:`12`,cy:`9`,r:`2`}],[`path`,{d:`M16.2 4.8c2 2 2.26 5.11.8 7.47`}],[`path`,{d:`M19.1 1.9a9.96 9.96 0 0 1 0 14.1`}],[`path`,{d:`M9.5 18h5`}],[`path`,{d:`m8 22 4-11 4 11`}]],fE=[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],pE=[[`path`,{d:`M20.34 17.52a10 10 0 1 0-2.82 2.82`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`path`,{d:`m13.41 13.41 4.18 4.18`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],mE=[[`path`,{d:`M22 17a10 10 0 0 0-20 0`}],[`path`,{d:`M6 17a6 6 0 0 1 12 0`}],[`path`,{d:`M10 17a2 2 0 0 1 4 0`}]],hE=[[`path`,{d:`M13 22H4a2 2 0 0 1 0-4h12`}],[`path`,{d:`M13.236 18a3 3 0 0 0-2.2-5`}],[`path`,{d:`M16 9h.01`}],[`path`,{d:`M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3`}],[`path`,{d:`M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18`}]],gE=[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],_E=[[`path`,{d:`M12 7v10`}],[`path`,{d:`M14.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],vE=[[`path`,{d:`M15.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 12h5`}]],yE=[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 11h8`}],[`path`,{d:`M8 7h8`}],[`path`,{d:`M9 7a4 4 0 0 1 0 8H8l3 2`}]],bE=[[`path`,{d:`m12 10 3-3`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M9 11h6`}],[`path`,{d:`M9 15h6`}],[`path`,{d:`m9 7 3 3v7`}]],xE=[[`path`,{d:`M10 17V9.5a1 1 0 0 1 5 0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 13h5`}],[`path`,{d:`M8 17h7`}]],SE=[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 11h5a2 2 0 0 0 0-4h-3v10`}],[`path`,{d:`M8 15h5`}]],CE=[[`path`,{d:`M10 11h4`}],[`path`,{d:`M10 17V7h5`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}],[`path`,{d:`M8 15h5`}]],wE=[[`path`,{d:`M13 16H8`}],[`path`,{d:`M14 8H8`}],[`path`,{d:`M16 12H8`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],TE=[[`path`,{d:`M10 7v10a5 5 0 0 0 5-5`}],[`path`,{d:`m14 8-6 3`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],EE=[[`path`,{d:`M14 4v16H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z`}],[`circle`,{cx:`14`,cy:`12`,r:`8`}]],DE=[[`path`,{d:`M12 17V7`}],[`path`,{d:`M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`}]],OE=[[`path`,{d:`M20 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-1.6-.8l-1.6-2.13a1 1 0 0 0-1.6 0L9.6 17.2A2 2 0 0 1 8 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`}]],kE=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M17 12h.01`}],[`path`,{d:`M7 12h.01`}]],AE=[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`}]],jE=[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`}]],ME=[[`path`,{d:`M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5`}],[`path`,{d:`M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12`}],[`path`,{d:`m14 16-3 3 3 3`}],[`path`,{d:`M8.293 13.596 7.196 9.5 3.1 10.598`}],[`path`,{d:`m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843`}],[`path`,{d:`m13.378 9.633 4.096 1.098 1.097-4.096`}]],NE=[[`path`,{d:`m15 14 5-5-5-5`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`}]],PE=[[`circle`,{cx:`12`,cy:`17`,r:`1`}],[`path`,{d:`M21 7v6h-6`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`}]],FE=[[`path`,{d:`M21 7v6h-6`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`}]],IE=[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`}],[`path`,{d:`M16 16h5v5`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],LE=[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`}],[`path`,{d:`M16 16h5v5`}]],RE=[[`path`,{d:`M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47`}],[`path`,{d:`M8 16H3v5`}],[`path`,{d:`M3 12C3 9.51 4 7.26 5.64 5.64`}],[`path`,{d:`m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64`}],[`path`,{d:`M21 12c0 1-.16 1.97-.47 2.87`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M22 22 2 2`}]],zE=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}],[`path`,{d:`M8 16H3v5`}]],BE=[[`path`,{d:`M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z`}],[`path`,{d:`M5 10h14`}],[`path`,{d:`M15 7v6`}]],VE=[[`path`,{d:`M17 3v10`}],[`path`,{d:`m12.67 5.5 8.66 5`}],[`path`,{d:`m12.67 10.5 8.66-5`}],[`path`,{d:`M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z`}]],HE=[[`path`,{d:`M4 7V4h16v3`}],[`path`,{d:`M5 20h6`}],[`path`,{d:`M13 4 8 20`}],[`path`,{d:`m15 15 5 5`}],[`path`,{d:`m20 15-5 5`}]],UE=[[`path`,{d:`m2 9 3-3 3 3`}],[`path`,{d:`M13 18H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`m22 15-3 3-3-3`}],[`path`,{d:`M11 6h6a2 2 0 0 1 2 2v10`}]],WE=[[`path`,{d:`m17 2 4 4-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`}],[`path`,{d:`m7 22-4-4 4-4`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`}],[`path`,{d:`M11 10h1v4`}]],GE=[[`path`,{d:`M11.656 6H21l-4-4`}],[`path`,{d:`M17.898 17.898A4 4 0 0 1 17 18H3l4-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 13v1a4 4 0 0 1-.171 1.159`}],[`path`,{d:`m21 6-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 3.102-3.898`}],[`path`,{d:`m7 22-4-4`}]],KE=[[`path`,{d:`m17 2 4 4-4 4`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`}],[`path`,{d:`m7 22-4-4 4-4`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`}]],qE=[[`path`,{d:`M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],JE=[[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],YE=[[`path`,{d:`m12 17-5-5 5-5`}],[`path`,{d:`M22 18v-2a4 4 0 0 0-4-4H7`}],[`path`,{d:`m7 17-5-5 5-5`}]],XE=[[`path`,{d:`M20 18v-2a4 4 0 0 0-4-4H4`}],[`path`,{d:`m9 17-5-5 5-5`}]],ZE=[[`path`,{d:`M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z`}],[`path`,{d:`M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z`}]],QE=[[`path`,{d:`M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22`}],[`path`,{d:`m12 18 2.57-3.5`}],[`path`,{d:`M6.243 9.016a7 7 0 0 1 11.507-.009`}],[`path`,{d:`M9.35 14.53 12 11.22`}],[`path`,{d:`M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z`}]],$E=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M12 5V3`}],[`path`,{d:`M12 9v3`}],[`path`,{d:`M2.077 18.449A2 2 0 0 0 4 21h16a2 2 0 0 0 1.924-2.55l-4-14A2 2 0 0 0 16 3H8a2 2 0 0 0-1.924 1.45z`}]],eD=[[`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`}],[`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09`}],[`path`,{d:`M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z`}],[`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05`}]],tD=[[`path`,{d:`m15 13 3.708 7.416`}],[`path`,{d:`M3 19a15 15 0 0 0 18 0`}],[`path`,{d:`m3 2 3.21 9.633A2 2 0 0 0 8.109 13H18`}],[`path`,{d:`m9 13-3.708 7.416`}]],nD=[[`path`,{d:`M6 19V5`}],[`path`,{d:`M10 19V6.8`}],[`path`,{d:`M14 19v-7.8`}],[`path`,{d:`M18 5v4`}],[`path`,{d:`M18 19v-6`}],[`path`,{d:`M22 19V9`}],[`path`,{d:`M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65`}]],rD=[[`path`,{d:`M17 10h-1a4 4 0 1 1 4-4v.534`}],[`path`,{d:`M17 6h1a4 4 0 0 1 1.42 7.74l-2.29.87a6 6 0 0 1-5.339-10.68l2.069-1.31`}],[`path`,{d:`M4.5 17c2.8-.5 4.4 0 5.5.8s1.8 2.2 2.3 3.7c-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2`}],[`path`,{d:`M9.77 12C4 15 2 22 2 22`}],[`circle`,{cx:`17`,cy:`8`,r:`2`}]],iD=[[`path`,{d:`m15.194 13.707 3.814 1.86-1.86 3.814`}],[`path`,{d:`M16.47214 7.52786 A 5 10 0 1 0 13 21.79796`}],[`path`,{d:`M21.79796 11 A 10 5 0 1 0 19 15.57071`}]],aD=[[`path`,{d:`M12 7v6`}],[`path`,{d:`M12 9h2`}],[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.74 9.74 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}],[`circle`,{cx:`12`,cy:`15`,r:`2`}]],oD=[[`path`,{d:`M20 9V7a2 2 0 0 0-2-2h-6`}],[`path`,{d:`m15 2-3 3 3 3`}],[`path`,{d:`M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2`}]],sD=[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}]],cD=[[`path`,{d:`M12 5H6a2 2 0 0 0-2 2v3`}],[`path`,{d:`m9 8 3-3-3-3`}],[`path`,{d:`M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`}]],lD=[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}]],uD=[[`circle`,{cx:`6`,cy:`19`,r:`3`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],dD=[[`circle`,{cx:`6`,cy:`19`,r:`3`}],[`path`,{d:`M9 19h8.5c.4 0 .9-.1 1.3-.2`}],[`path`,{d:`M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M21 15.3a3.5 3.5 0 0 0-3.3-3.3`}],[`path`,{d:`M15 5h-4.3`}],[`circle`,{cx:`18`,cy:`5`,r:`3`}]],fD=[[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`}],[`path`,{d:`M6.01 18H6`}],[`path`,{d:`M10.01 18H10`}],[`path`,{d:`M15 10v4`}],[`path`,{d:`M17.84 7.17a4 4 0 0 0-5.66 0`}],[`path`,{d:`M20.66 4.34a8 8 0 0 0-11.31 0`}]],pD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 12h18`}]],mD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],hD=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 7.5H3`}],[`path`,{d:`M21 12H3`}],[`path`,{d:`M21 16.5H3`}]],gD=[[`path`,{d:`M4 11a9 9 0 0 1 9 9`}],[`path`,{d:`M4 4a16 16 0 0 1 16 16`}],[`circle`,{cx:`5`,cy:`19`,r:`1`}]],_D=[[`path`,{d:`M10 15v-3`}],[`path`,{d:`M14 15v-3`}],[`path`,{d:`M18 15v-3`}],[`path`,{d:`M2 8V4`}],[`path`,{d:`M22 6H2`}],[`path`,{d:`M22 8V4`}],[`path`,{d:`M6 15v-3`}],[`rect`,{x:`2`,y:`12`,width:`20`,height:`8`,rx:`2`}]],vD=[[`path`,{d:`M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z`}],[`path`,{d:`m14.5 12.5 2-2`}],[`path`,{d:`m11.5 9.5 2-2`}],[`path`,{d:`m8.5 6.5 2-2`}],[`path`,{d:`m17.5 15.5 2-2`}]],yD=[[`path`,{d:`M6 11h8a4 4 0 0 0 0-8H9v18`}],[`path`,{d:`M6 15h8`}]],bD=[[`path`,{d:`M10 2v15`}],[`path`,{d:`M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z`}],[`path`,{d:`M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z`}]],xD=[[`path`,{d:`M7 21h10`}],[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`}],[`path`,{d:`M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1`}],[`path`,{d:`m13 12 4-4`}],[`path`,{d:`M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2`}]],SD=[[`path`,{d:`m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777`}],[`path`,{d:`M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25`}],[`path`,{d:`M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9`}],[`path`,{d:`m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`}],[`rect`,{width:`20`,height:`4`,x:`2`,y:`11`,rx:`1`}]],CD=[[`path`,{d:`M4 10a7.31 7.31 0 0 0 10 10Z`}],[`path`,{d:`m9 15 3-3`}],[`path`,{d:`M17 13a6 6 0 0 0-6-6`}],[`path`,{d:`M21 13A10 10 0 0 0 11 3`}]],wD=[[`path`,{d:`m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5`}],[`path`,{d:`M16.5 7.5 19 5`}],[`path`,{d:`m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5`}],[`path`,{d:`M9 21a6 6 0 0 0-6-6`}],[`path`,{d:`M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z`}]],TD=[[`path`,{d:`m20 19.5-5.5 1.2`}],[`path`,{d:`M14.5 4v11.22a1 1 0 0 0 1.242.97L20 15.2`}],[`path`,{d:`m2.978 19.351 5.549-1.363A2 2 0 0 0 10 16V2`}],[`path`,{d:`M20 10 4 13.5`}]],ED=[[`path`,{d:`M10 2v3a1 1 0 0 0 1 1h5`}],[`path`,{d:`M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6`}],[`path`,{d:`M18 22H4a2 2 0 0 1-2-2V6`}],[`path`,{d:`M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z`}]],DD=[[`path`,{d:`M12.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4v4.35`}],[`path`,{d:`m16 19 2 2 4-4`}],[`path`,{d:`M17 15.13V14a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],OD=[[`path`,{d:`M13 13H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M14 8h1`}],[`path`,{d:`M17 21v-4`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41`}],[`path`,{d:`M29.5 11.5s5 5 4 5`}],[`path`,{d:`M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15`}]],kD=[[`path`,{d:`M13.33 13H8a1 1 0 00-1 1v7`}],[`path`,{d:`M14.363 17.634a2 2 0 00-.506.854l-.837 2.87a.5.5 0 00.62.62l2.87-.837a2 2 0 00.854-.506l4.013-4.009a1 1 0 10-3.004-3.004z`}],[`path`,{d:`M7 3v4a1 1 0 001 1h7`}],[`path`,{d:`M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h10.2a2 2 0 011.4.6l3.8 3.8a2 2 0 01.6 1.4v.3`}]],AD=[[`path`,{d:`M12.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V12`}],[`path`,{d:`M16 13H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M19 22v-6`}],[`path`,{d:`M22 19h-6`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],jD=[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],MD=[[`path`,{d:`M5 7v11a1 1 0 0 0 1 1h11`}],[`path`,{d:`M5.293 18.707 11 13`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`}]],ND=[[`path`,{d:`M12 3v18`}],[`path`,{d:`m19 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1`}],[`path`,{d:`m5 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M7 21h10`}]],PD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M8 7v10`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M17 7v10`}]],FD=[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`}],[`path`,{d:`M14 15H9v-5`}],[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M21 3 9 15`}]],ID=[[`path`,{d:`M12 12v5.5`}],[`path`,{d:`M17 3h2a2 2 0 012 2v2`}],[`path`,{d:`M21 17v2a2 2 0 01-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 012-2h2`}],[`path`,{d:`M7 21H5a2 2 0 01-2-2v-2`}],[`path`,{d:`M7.264 9.252 12 12l4.737-2.748`}],[`path`,{d:`M7.995 8.514A2 2 0 007 10.244v3.516a2 2 0 00.996 1.73l3 1.74a2 2 0 002.008 0l3-1.74A2 2 0 0017 13.76v-3.517a2 2 0 00-.995-1.73l-3-1.742a2 2 0 00-1.892-.064z`}]],LD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`}]],RD=[[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 4.172 4.306l-3.447 3.62a1 1 0 0 1-1.449 0z`}]],zD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 9h.01`}]],BD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7 12h10`}]],VD=[[`path`,{d:`M17 12v4a1 1 0 0 1-1 1h-4`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M17 8V7`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M7 17h.01`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`rect`,{x:`7`,y:`7`,width:`5`,height:`5`,rx:`1`}]],HD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`m16 16-1.9-1.9`}]],UD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M7 8h8`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h6`}]],WD=[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`}]],GD=[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M18 4.933V21`}],[`path`,{d:`m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6`}],[`path`,{d:`m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11`}],[`path`,{d:`M6 4.933V21`}],[`circle`,{cx:`12`,cy:`9`,r:`2`}]],KD=[[`path`,{d:`M5.42 9.42 8 12`}],[`circle`,{cx:`4`,cy:`8`,r:`2`}],[`path`,{d:`m14 6-8.58 8.58`}],[`circle`,{cx:`4`,cy:`16`,r:`2`}],[`path`,{d:`M10.8 14.8 14 18`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],qD=[[`circle`,{cx:`6`,cy:`6`,r:`3`}],[`path`,{d:`M8.12 8.12 12 12`}],[`path`,{d:`M20 4 8.12 15.88`}],[`circle`,{cx:`6`,cy:`18`,r:`3`}],[`path`,{d:`M14.8 14.8 20 20`}]],JD=[[`path`,{d:`M21 4h-3.5l2 11.05`}],[`path`,{d:`M6.95 17h5.142c.523 0 .95-.406 1.063-.916a6.5 6.5 0 0 1 5.345-5.009`}],[`circle`,{cx:`19.5`,cy:`17.5`,r:`2.5`}],[`circle`,{cx:`4.5`,cy:`17.5`,r:`2.5`}]],YD=[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`m22 3-5 5`}],[`path`,{d:`m17 3 5 5`}]],XD=[[`path`,{d:`M15 12h-5`}],[`path`,{d:`M15 8h-5`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`}]],ZD=[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`M12 17v4`}],[`path`,{d:`m17 8 5-5`}],[`path`,{d:`M17 3h5v5`}]],QD=[[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`}]],$D=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M11 7v4`}],[`path`,{d:`M11 15h.01`}]],eO=[[`path`,{d:`m8 11 2 2 4-4`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],tO=[[`path`,{d:`m13 13.5 2-2.5-2-2.5`}],[`path`,{d:`m21 21-4.3-4.3`}],[`path`,{d:`M9 8.5 7 11l2 2.5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]],nO=[[`path`,{d:`m13.5 8.5-5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],rO=[[`path`,{d:`m13.5 8.5-5 5`}],[`path`,{d:`m8.5 8.5 5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],iO=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]],aO=[[`path`,{d:`M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0`}],[`path`,{d:`M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0`}]],oO=[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`}],[`path`,{d:`M6 12h16`}]],sO=[[`rect`,{x:`14`,y:`14`,width:`8`,height:`8`,rx:`2`}],[`rect`,{x:`2`,y:`2`,width:`8`,height:`8`,rx:`2`}],[`path`,{d:`M7 14v1a2 2 0 0 0 2 2h1`}],[`path`,{d:`M14 7h1a2 2 0 0 1 2 2v1`}]],cO=[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`}],[`path`,{d:`m21.854 2.147-10.94 10.939`}]],lO=[[`path`,{d:`m16 16-4 4-4-4`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`m8 8 4-4 4 4`}]],uO=[[`path`,{d:`M12 3v18`}],[`path`,{d:`m16 16 4-4-4-4`}],[`path`,{d:`m8 8-4 4 4 4`}]],dO=[[`path`,{d:`m10.852 14.772-.383.923`}],[`path`,{d:`M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923`}],[`path`,{d:`m13.148 9.228.383-.923`}],[`path`,{d:`m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544`}],[`path`,{d:`m14.772 10.852.923-.383`}],[`path`,{d:`m14.772 13.148.923.383`}],[`path`,{d:`M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5`}],[`path`,{d:`M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`m9.228 10.852-.923-.383`}],[`path`,{d:`m9.228 13.148-.923.383`}]],fO=[[`path`,{d:`M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m13 6-4 6h6l-4 6`}]],pO=[[`path`,{d:`M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5`}],[`path`,{d:`M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z`}],[`path`,{d:`M22 17v-1a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m2 2 20 20`}]],mO=[[`path`,{d:`M12.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2`}],[`path`,{d:`M16 12h6`}],[`path`,{d:`M19 9v6`}],[`path`,{d:`M22 18v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h8.5`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`M6 6h.01`}]],hO=[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`}]],gO=[[`path`,{d:`M14 17H5`}],[`path`,{d:`M19 7h-9`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}],[`circle`,{cx:`7`,cy:`7`,r:`3`}]],_O=[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],vO=[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`}]],yO=[[`circle`,{cx:`18`,cy:`5`,r:`3`}],[`circle`,{cx:`6`,cy:`12`,r:`3`}],[`circle`,{cx:`18`,cy:`19`,r:`3`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`}]],bO=[[`path`,{d:`M12 2v13`}],[`path`,{d:`m16 6-4-4-4 4`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`}]],xO=[[`path`,{d:`M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44`}]],SO=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`line`,{x1:`3`,x2:`21`,y1:`9`,y2:`9`}],[`line`,{x1:`3`,x2:`21`,y1:`15`,y2:`15`}],[`line`,{x1:`9`,x2:`9`,y1:`9`,y2:`21`}],[`line`,{x1:`15`,x2:`15`,y1:`9`,y2:`21`}]],CO=[[`path`,{d:`M12 12V9a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}],[`path`,{d:`M16 20v-3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`}],[`path`,{d:`M20 22V2`}],[`path`,{d:`M4 12h16`}],[`path`,{d:`M4 20h16`}],[`path`,{d:`M4 2v20`}],[`path`,{d:`M4 4h16`}]],wO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M12 8v4`}],[`path`,{d:`M12 16h.01`}]],TO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m4.243 5.21 14.39 12.472`}]],EO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]],DO=[[`path`,{d:`M11 22c-3.806-1.45-7-3.966-7-9V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v4`}],[`path`,{d:`M14.923 16.547 14 16.164`}],[`path`,{d:`m14.923 18.843-.923.383`}],[`path`,{d:`M16.547 14.923 16.164 14`}],[`path`,{d:`m16.547 20.467-.383.924`}],[`path`,{d:`m18.843 14.923.383-.923`}],[`path`,{d:`m19.225 21.391-.382-.924`}],[`path`,{d:`m20.467 16.547.923-.383`}],[`path`,{d:`m20.467 18.843.923.383`}],[`circle`,{cx:`17.695`,cy:`17.695`,r:`3`}]],OO=[[`path`,{d:`m10.929 14.467-.383.924`}],[`path`,{d:`M10.929 8.923 10.546 8`}],[`path`,{d:`M13.225 8.923 13.608 8`}],[`path`,{d:`m13.607 15.391-.382-.924`}],[`path`,{d:`m14.849 10.547.923-.383`}],[`path`,{d:`m14.849 12.843.923.383`}],[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9.305 10.547-.923-.383`}],[`path`,{d:`m9.305 12.843-.923.383`}],[`circle`,{cx:`12.077`,cy:`11.695`,r:`3`}]],kO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M8 12h.01`}],[`path`,{d:`M12 12h.01`}],[`path`,{d:`M16 12h.01`}]],AO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M12 22V2`}]],jO=[[`path`,{d:`M12 13v3`}],[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 01-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 011-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 011.52 0C14.51 3.81 17 5 19 5a1 1 0 011 1z`}],[`circle`,{cx:`12`,cy:`11`,r:`2`}]],MO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9 12h6`}]],NO=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`}]],PO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M12 9v6`}]],FO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],IO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`M6.376 18.91a6 6 0 0 1 11.249.003`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}]],LO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m14.5 9.5-5 5`}],[`path`,{d:`m9.5 9.5 5 5`}]],RO=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}]],zO=[[`circle`,{cx:`12`,cy:`12`,r:`8`}],[`path`,{d:`M12 2v7.5`}],[`path`,{d:`m19 5-5.23 5.23`}],[`path`,{d:`M22 12h-7.5`}],[`path`,{d:`m19 19-5.23-5.23`}],[`path`,{d:`M12 14.5V22`}],[`path`,{d:`M10.23 13.77 5 19`}],[`path`,{d:`M9.5 12H2`}],[`path`,{d:`M10.23 10.23 5 5`}],[`circle`,{cx:`12`,cy:`12`,r:`2.5`}]],BO=[[`path`,{d:`M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z`}]],VO=[[`path`,{d:`M12 10.189V14`}],[`path`,{d:`M12 2v3`}],[`path`,{d:`M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6`}],[`path`,{d:`M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}]],HO=[[`path`,{d:`M16 10a4 4 0 0 1-8 0`}],[`path`,{d:`M3.103 6.034h17.794`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`}]],UO=[[`path`,{d:`m15 11-1 9`}],[`path`,{d:`m19 11-4-7`}],[`path`,{d:`M2 11h20`}],[`path`,{d:`m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4`}],[`path`,{d:`M4.5 15.5h15`}],[`path`,{d:`m5 11 4-7`}],[`path`,{d:`m9 11 1 9`}]],WO=[[`circle`,{cx:`8`,cy:`21`,r:`1`}],[`circle`,{cx:`19`,cy:`21`,r:`1`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`}]],GO=[[`path`,{d:`M21.56 4.56a1.5 1.5 0 0 1 0 2.122l-.47.47a3 3 0 0 1-4.212-.03 3 3 0 0 1 0-4.243l.44-.44a1.5 1.5 0 0 1 2.121 0z`}],[`path`,{d:`M3 22a1 1 0 0 1-1-1v-3.586a1 1 0 0 1 .293-.707l3.355-3.355a1.205 1.205 0 0 1 1.704 0l3.296 3.296a1.205 1.205 0 0 1 0 1.704l-3.355 3.355a1 1 0 0 1-.707.293z`}],[`path`,{d:`m9 15 7.879-7.878`}]],KO=[[`path`,{d:`m4 4 2.5 2.5`}],[`path`,{d:`M13.5 6.5a4.95 4.95 0 0 0-7 7`}],[`path`,{d:`M15 5 5 15`}],[`path`,{d:`M14 17v.01`}],[`path`,{d:`M10 16v.01`}],[`path`,{d:`M13 13v.01`}],[`path`,{d:`M16 10v.01`}],[`path`,{d:`M11 20v.01`}],[`path`,{d:`M17 14v.01`}],[`path`,{d:`M20 11v.01`}]],qO=[[`path`,{d:`M4 13V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 22v-5`}],[`path`,{d:`M14 19v-2`}],[`path`,{d:`M18 20v-3`}],[`path`,{d:`M2 13h20`}],[`path`,{d:`M6 20v-3`}]],JO=[[`path`,{d:`m15 15 6 6m-6-6v4.8m0-4.8h4.8`}],[`path`,{d:`M9 19.8V15m0 0H4.2M9 15l-6 6`}],[`path`,{d:`M15 4.2V9m0 0h4.8M15 9l6-6`}],[`path`,{d:`M9 4.2V9m0 0H4.2M9 9 3 3`}]],YO=[[`path`,{d:`M11 12h.01`}],[`path`,{d:`M13 22c.5-.5 1.12-1 2.5-1-1.38 0-2-.5-2.5-1`}],[`path`,{d:`M14 2a3.28 3.28 0 0 1-3.227 1.798l-6.17-.561A2.387 2.387 0 1 0 4.387 8H15.5a1 1 0 0 1 0 13 1 1 0 0 0 0-5H12a7 7 0 0 1-7-7V8`}],[`path`,{d:`M14 8a8.5 8.5 0 0 1 0 8`}],[`path`,{d:`M16 16c2 0 4.5-4 4-6`}]],XO=[[`path`,{d:`M12 22v-5.172a2 2 0 0 0-.586-1.414L9.5 13.5`}],[`path`,{d:`M14.5 14.5 12 17`}],[`path`,{d:`M17 8.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0z`}]],ZO=[[`path`,{d:`m18 14 4 4-4 4`}],[`path`,{d:`m18 2 4 4-4 4`}],[`path`,{d:`M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22`}],[`path`,{d:`M2 6h1.972a4 4 0 0 1 3.6 2.2`}],[`path`,{d:`M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45`}]],QO=[[`path`,{d:`M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2`}]],$O=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}],[`path`,{d:`M17 20V8`}]],ek=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}]],tk=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}]],nk=[[`path`,{d:`M2 20h.01`}]],rk=[[`path`,{d:`M2 20h.01`}],[`path`,{d:`M7 20v-4`}],[`path`,{d:`M12 20v-8`}],[`path`,{d:`M17 20V8`}],[`path`,{d:`M22 4v16`}]],ik=[[`path`,{d:`m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284`}],[`path`,{d:`M3 21h18`}]],ak=[[`path`,{d:`M10 9H4L2 7l2-2h6`}],[`path`,{d:`M14 5h6l2 2-2 2h-6`}],[`path`,{d:`M10 22V4a2 2 0 1 1 4 0v18`}],[`path`,{d:`M8 22h8`}]],ok=[[`path`,{d:`M12 13v8`}],[`path`,{d:`M12 3v3`}],[`path`,{d:`M2.354 10.354a1.207 1.207 0 0 1 0-1.708l2.06-2.06A2 2 0 0 1 5.828 6h12.344a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H5.828a2 2 0 0 1-1.414-.586z`}]],sk=[[`path`,{d:`M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`}],[`path`,{d:`M3 20V4`}]],ck=[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`}],[`path`,{d:`M21 12h1`}],[`path`,{d:`M18.5 4.5 18 5`}],[`path`,{d:`M2 12h1`}],[`path`,{d:`M12 2v1`}],[`path`,{d:`m4.929 4.929.707.707`}],[`path`,{d:`M12 12v6`}]],lk=[[`path`,{d:`M21 4v16`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`}]],uk=[[`path`,{d:`m12.5 17-.5-1-.5 1h1z`}],[`path`,{d:`M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z`}],[`circle`,{cx:`15`,cy:`12`,r:`1`}],[`circle`,{cx:`9`,cy:`12`,r:`1`}]],dk=[[`path`,{d:`M22 2 2 22`}]],fk=[[`path`,{d:`M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14`}]],pk=[[`path`,{d:`M10 5H3`}],[`path`,{d:`M12 19H3`}],[`path`,{d:`M14 3v4`}],[`path`,{d:`M16 17v4`}],[`path`,{d:`M21 12h-9`}],[`path`,{d:`M21 19h-5`}],[`path`,{d:`M21 5h-7`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M8 12H3`}]],mk=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12.667 8 10 12h4l-2.667 4`}]],hk=[[`path`,{d:`M10 8h4`}],[`path`,{d:`M12 21v-9`}],[`path`,{d:`M12 8V3`}],[`path`,{d:`M17 16h4`}],[`path`,{d:`M19 12V3`}],[`path`,{d:`M19 21v-5`}],[`path`,{d:`M3 14h4`}],[`path`,{d:`M5 10V3`}],[`path`,{d:`M5 21v-7`}]],gk=[[`rect`,{width:`7`,height:`12`,x:`2`,y:`6`,rx:`1`}],[`path`,{d:`M13 8.32a7.43 7.43 0 0 1 0 7.36`}],[`path`,{d:`M16.46 6.21a11.76 11.76 0 0 1 0 11.58`}],[`path`,{d:`M19.91 4.1a15.91 15.91 0 0 1 .01 15.8`}]],_k=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12 18h.01`}]],vk=[[`path`,{d:`M22 11v1a10 10 0 1 1-9-10`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}],[`path`,{d:`M16 5h6`}],[`path`,{d:`M19 2v6`}]],yk=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`}]],bk=[[`path`,{d:`M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0`}],[`circle`,{cx:`10`,cy:`13`,r:`8`}],[`path`,{d:`M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6`}],[`path`,{d:`M18 3 19.1 5.2`}],[`path`,{d:`M22 3 20.9 5.2`}]],xk=[[`path`,{d:`m10 20-1.25-2.5L6 18`}],[`path`,{d:`M10 4 8.75 6.5 6 6`}],[`path`,{d:`m14 20 1.25-2.5L18 18`}],[`path`,{d:`m14 4 1.25 2.5L18 6`}],[`path`,{d:`m17 21-3-6h-4`}],[`path`,{d:`m17 3-3 6 1.5 3`}],[`path`,{d:`M2 12h6.5L10 9`}],[`path`,{d:`m20 10-1.5 2 1.5 2`}],[`path`,{d:`M22 12h-6.5L14 15`}],[`path`,{d:`m4 10 1.5 2L4 14`}],[`path`,{d:`m7 21 3-6-1.5-3`}],[`path`,{d:`m7 3 3 6h4`}]],Sk=[[`path`,{d:`M10.5 2v4`}],[`path`,{d:`M14 2H7a2 2 0 0 0-2 2`}],[`path`,{d:`M19.29 14.76A6.67 6.67 0 0 1 17 11a6.6 6.6 0 0 1-2.29 3.76c-1.15.92-1.71 2.04-1.71 3.19 0 2.22 1.8 4.05 4 4.05s4-1.83 4-4.05c0-1.16-.57-2.26-1.71-3.19`}],[`path`,{d:`M9.607 21H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`}]],Ck=[[`path`,{d:`M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3`}],[`path`,{d:`M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`}],[`path`,{d:`M4 18v2`}],[`path`,{d:`M20 18v2`}],[`path`,{d:`M12 4v9`}]],wk=[[`path`,{d:`M11 2h2`}],[`path`,{d:`m14.28 14-4.56 8`}],[`path`,{d:`m21 22-1.558-4H4.558`}],[`path`,{d:`M3 10v2`}],[`path`,{d:`M6.245 15.04A2 2 0 0 1 8 14h12a1 1 0 0 1 .864 1.505l-3.11 5.457A2 2 0 0 1 16 22H4a1 1 0 0 1-.863-1.506z`}],[`path`,{d:`M7 2a4 4 0 0 1-4 4`}],[`path`,{d:`m8.66 7.66 1.41 1.41`}]],Tk=[[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`}],[`path`,{d:`M7 21h10`}],[`path`,{d:`M19.5 12 22 6`}],[`path`,{d:`M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62`}],[`path`,{d:`M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62`}],[`path`,{d:`M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62`}]],Ek=[[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`}]],Dk=[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`}]],Ok=[[`path`,{d:`M12 18v4`}],[`path`,{d:`M2 14.499a5.5 5.5 0 0 0 9.591 3.675.6.6 0 0 1 .818.001A5.5 5.5 0 0 0 22 14.5c0-2.29-1.5-4-3-5.5l-5.492-5.312a2 2 0 0 0-3-.02L5 8.999c-1.5 1.5-3 3.2-3 5.5`}]],kk=[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`}],[`path`,{d:`M20 2v4`}],[`path`,{d:`M22 4h-4`}],[`circle`,{cx:`4`,cy:`20`,r:`2`}]],Ak=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`path`,{d:`M12 6h.01`}],[`circle`,{cx:`12`,cy:`14`,r:`4`}],[`path`,{d:`M12 14h.01`}]],jk=[[`path`,{d:`M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20`}],[`path`,{d:`M19.8 17.8a7.5 7.5 0 0 0 .003-10.603`}],[`path`,{d:`M17 15a3.5 3.5 0 0 0-.025-4.975`}]],Mk=[[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1`}]],Nk=[[`path`,{d:`m6 16 6-12 6 12`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m16 20 2 2 4-4`}]],Pk=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`}],[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}]],Fk=[[`circle`,{cx:`19`,cy:`5`,r:`2`}],[`circle`,{cx:`5`,cy:`19`,r:`2`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`}]],Ik=[[`path`,{d:`M16 3h5v5`}],[`path`,{d:`M8 3H3v5`}],[`path`,{d:`M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3`}],[`path`,{d:`m15 9 6-6`}]],Lk=[[`path`,{d:`m15 10.42 4.8-5.07`}],[`path`,{d:`M19 18h3`}],[`path`,{d:`M9.5 22 21.414 9.415A2 2 0 0 0 21.2 6.4l-5.61-4.208A1 1 0 0 0 14 3v2a2 2 0 0 1-1.394 1.906L8.677 8.053A1 1 0 0 0 8 9c-.155 6.393-2.082 9-4 9a2 2 0 0 0 0 4h14`}]],Rk=[[`path`,{d:`M17 13.44 4.442 17.082A2 2 0 0 0 4.982 21H19a2 2 0 0 0 .558-3.921l-1.115-.32A2 2 0 0 1 17 14.837V7.66`}],[`path`,{d:`m7 10.56 12.558-3.642A2 2 0 0 0 19.018 3H5a2 2 0 0 0-.558 3.921l1.115.32A2 2 0 0 1 7 9.163v7.178`}]],zk=[[`path`,{d:`M15.295 19.562 16 22`}],[`path`,{d:`m17 16 3.758 2.098`}],[`path`,{d:`m19 12.5 3.026-.598`}],[`path`,{d:`M7.61 6.3a3 3 0 0 0-3.92 1.3l-1.38 2.79a3 3 0 0 0 1.3 3.91l6.89 3.597a1 1 0 0 0 1.342-.447l3.106-6.211a1 1 0 0 0-.447-1.341z`}],[`path`,{d:`M8 9V2`}]],Bk=[[`path`,{d:`M3 3h.01`}],[`path`,{d:`M7 5h.01`}],[`path`,{d:`M11 7h.01`}],[`path`,{d:`M3 7h.01`}],[`path`,{d:`M7 9h.01`}],[`path`,{d:`M3 11h.01`}],[`rect`,{width:`4`,height:`4`,x:`15`,y:`5`}],[`path`,{d:`m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2`}],[`path`,{d:`m13 14 8-2`}],[`path`,{d:`m13 19 8-2`}]],Vk=[[`path`,{d:`M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3`}],[`path`,{d:`M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4`}],[`path`,{d:`M5 21h14`}]],Hk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M17 12h-2l-2 5-2-10-2 5H7`}]],Uk=[[`path`,{d:`M15 15H9l6-6`}],[`path`,{d:`M9 15V9`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Wk=[[`path`,{d:`M15 15 9 9`}],[`path`,{d:`M9 15h6V9`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Gk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8 12 4 4 4-4`}]],Kk=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m12 8-4 4 4 4`}],[`path`,{d:`M16 12H8`}]],qk=[[`path`,{d:`M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6`}],[`path`,{d:`m3 21 9-9`}],[`path`,{d:`M9 21H3v-6`}]],Jk=[[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}],[`path`,{d:`m21 21-9-9`}],[`path`,{d:`M21 15v6h-6`}]],Yk=[[`path`,{d:`M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6`}],[`path`,{d:`m3 3 9 9`}],[`path`,{d:`M3 9V3h6`}]],Xk=[[`path`,{d:`M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6`}],[`path`,{d:`m21 3-9 9`}],[`path`,{d:`M15 3h6v6`}]],Zk=[[`path`,{d:`m10 16 4-4-4-4`}],[`path`,{d:`M3 12h11`}],[`path`,{d:`M3 8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`}]],Qk=[[`path`,{d:`M10 12h11`}],[`path`,{d:`m17 16 4-4-4-4`}],[`path`,{d:`M21 6.344V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.344`}]],$k=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`m12 16 4-4-4-4`}]],eA=[[`path`,{d:`M15 15 9 9`}],[`path`,{d:`M9 15V9h6`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],tA=[[`path`,{d:`M15 15V9H9`}],[`path`,{d:`m9 15 6-6`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],nA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],rA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 8v8`}],[`path`,{d:`m8.5 14 7-4`}],[`path`,{d:`m8.5 10 7 4`}]],iA=[[`line`,{x1:`5`,y1:`3`,x2:`19`,y2:`3`}],[`line`,{x1:`3`,y1:`5`,x2:`3`,y2:`19`}],[`line`,{x1:`21`,y1:`5`,x2:`21`,y2:`19`}],[`line`,{x1:`9`,y1:`21`,x2:`10`,y2:`21`}],[`line`,{x1:`14`,y1:`21`,x2:`15`,y2:`21`}],[`path`,{d:`M 3 5 A2 2 0 0 1 5 3`}],[`path`,{d:`M 19 3 A2 2 0 0 1 21 5`}],[`path`,{d:`M 5 21 A2 2 0 0 1 3 19`}],[`path`,{d:`M 21 19 A2 2 0 0 1 19 21`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`}]],aA=[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3`}],[`path`,{d:`M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 2v2`}]],oA=[[`path`,{d:`M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3`}],[`path`,{d:`M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}]],sA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 8h7`}],[`path`,{d:`M8 12h6`}],[`path`,{d:`M11 16h5`}]],cA=[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`}],[`path`,{d:`m9 11 3 3L22 4`}]],lA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m9 12 2 2 4-4`}]],uA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m16 10-4 4-4-4`}]],dA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m14 16-4-4 4-4`}]],fA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m10 8 4 4-4 4`}]],pA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m8 14 4-4 4 4`}]],mA=[[`path`,{d:`m10 9-3 3 3 3`}],[`path`,{d:`m14 15 3-3-3-3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],hA=[[`path`,{d:`M10 9.5 8 12l2 2.5`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`m14 9.5 2 2.5-2 2.5`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`}],[`path`,{d:`M9 21h1`}]],gA=[[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 21h1`}]],_A=[[`path`,{d:`M8 7v7`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M16 7v9`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 9v1`}]],vA=[[`path`,{d:`M14 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h6`}],[`path`,{d:`M7 8h8`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M9 3h1`}]],yA=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h2`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v2`}],[`path`,{d:`M3 14v1`}]],bA=[[`path`,{d:`M14 21h1`}],[`path`,{d:`M21 14v1`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 21h1`}]],xA=[[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M21 14v1`}]],SA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`}]],CA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}]],wA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M7 14h10`}]],TA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3`}],[`path`,{d:`M9 11.2h5.7`}]],EA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 7v7`}],[`path`,{d:`M12 7v4`}],[`path`,{d:`M16 7v9`}]],DA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7v10`}],[`path`,{d:`M11 7v10`}],[`path`,{d:`m15 7 2 10`}]],OA=[[`path`,{d:`M8 16V8.5a.5.5 0 0 1 .9-.3l2.7 3.599a.5.5 0 0 0 .8 0l2.7-3.6a.5.5 0 0 1 .9.3V16`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],kA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 8h10`}],[`path`,{d:`M7 12h10`}],[`path`,{d:`M7 16h10`}]],AA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}]],jA=[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`}],[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`}]],MA=[[`path`,{d:`M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41`}],[`path`,{d:`M3 8.7V19a2 2 0 0 0 2 2h10.3`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M13 13a3 3 0 1 0 0-6H9v2`}],[`path`,{d:`M9 17v-2.3`}]],NA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`}]],PA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`}]],FA=[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`}]],IA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 7h10`}],[`path`,{d:`M10 7v10`}],[`path`,{d:`M16 17a2 2 0 0 1-2-2V7`}]],LA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`M15 15h.01`}]],RA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M12 12H9.5a2.5 2.5 0 0 1 0-5H17`}],[`path`,{d:`M12 7v10`}],[`path`,{d:`M16 7v10`}]],zA=[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`}]],BA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M8 12h8`}],[`path`,{d:`M12 8v8`}]],VA=[[`path`,{d:`M12 7v4`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],HA=[[`path`,{d:`M7 12h2l2 5 2-10h4`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],UA=[[`path`,{d:`M21 11a8 8 0 0 0-8-8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],WA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`}]],GA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M16 8.9V7H8l4 5-4 5h8v-1.9`}]],KA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`}]],qA=[[`path`,{d:`M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3`}],[`path`,{d:`M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3`}],[`line`,{x1:`12`,x2:`12`,y1:`4`,y2:`20`}]],JA=[[`path`,{d:`M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3`}],[`path`,{d:`M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`}]],YA=[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`}]],XA=[[`path`,{d:`M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`}],[`path`,{d:`M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`}],[`rect`,{width:`8`,height:`8`,x:`14`,y:`14`,rx:`2`}]],ZA=[[`path`,{d:`M11.035 7.69a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],QA=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`}]],$A=[[`path`,{d:`m7 11 2-2-2-2`}],[`path`,{d:`M11 13h4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}]],ej=[[`path`,{d:`M18 21a6 6 0 0 0-12 0`}],[`circle`,{cx:`12`,cy:`11`,r:`4`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],tj=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`}]],nj=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],rj=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],ij=[[`path`,{d:`M16 12v2a2 2 0 0 1-2 2H9a1 1 0 0 0-1 1v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h0`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 1-1 1h-5a2 2 0 0 0-2 2v2`}]],aj=[[`path`,{d:`M10 22a2 2 0 0 1-2-2`}],[`path`,{d:`M14 2a2 2 0 0 1 2 2`}],[`path`,{d:`M16 22h-2`}],[`path`,{d:`M2 10V8`}],[`path`,{d:`M2 4a2 2 0 0 1 2-2`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`}],[`path`,{d:`M22 14v2`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2`}],[`path`,{d:`M8 10a2 2 0 0 1 2-2h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H9a1 1 0 0 1-1-1z`}],[`path`,{d:`M8 2h2`}]],oj=[[`path`,{d:`M10 22a2 2 0 0 1-2-2`}],[`path`,{d:`M16 22h-2`}],[`path`,{d:`M16 4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-5a2 2 0 0 1 2-2h5a1 1 0 0 0 1-1z`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`}],[`path`,{d:`M22 14v2`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`}]],sj=[[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z`}]],cj=[[`path`,{d:`M13.77 3.043a34 34 0 0 0-3.54 0`}],[`path`,{d:`M13.771 20.956a33 33 0 0 1-3.541.001`}],[`path`,{d:`M20.18 17.74c-.51 1.15-1.29 1.93-2.439 2.44`}],[`path`,{d:`M20.18 6.259c-.51-1.148-1.291-1.929-2.44-2.438`}],[`path`,{d:`M20.957 10.23a33 33 0 0 1 0 3.54`}],[`path`,{d:`M3.043 10.23a34 34 0 0 0 .001 3.541`}],[`path`,{d:`M6.26 20.179c-1.15-.508-1.93-1.29-2.44-2.438`}],[`path`,{d:`M6.26 3.82c-1.149.51-1.93 1.291-2.44 2.44`}]],lj=[[`path`,{d:`M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9`}]],uj=[[`path`,{d:`M15.236 22a3 3 0 0 0-2.2-5`}],[`path`,{d:`M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4`}],[`path`,{d:`M18 13h.01`}],[`path`,{d:`M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10`}]],dj=[[`path`,{d:`M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-6 0c0 2 1 2 1 3.5V13`}],[`path`,{d:`M20 15.5a2.5 2.5 0 0 0-2.5-2.5h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1z`}],[`path`,{d:`M5 22h14`}]],fj=[[`path`,{d:`m19.06 12.501 2.78-2.707a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428.027-.014`}],[`path`,{d:`m15 18 2 2 4-4`}]],pj=[[`path`,{d:`M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2`}]],mj=[[`path`,{d:`M15 18h6`}],[`path`,{d:`M17.688 14a2.1 2.1 0 0 1 .416-.568l3.736-3.638a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428.027-.014`}]],hj=[[`path`,{d:`m10.344 4.688 1.181-2.393a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.237 3.152`}],[`path`,{d:`m17.945 17.945.43 2.505a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a8 8 0 0 0 .4-.099`}],[`path`,{d:`m2 2 20 20`}]],gj=[[`path`,{d:`M11.013 18.582 6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904L20 11.5`}],[`path`,{d:`M15 18h6`}],[`path`,{d:`M18 15v6`}]],_j=[[`path`,{d:`m15.5 15.5 5 5`}],[`path`,{d:`m20.063 11.525 1.777-1.731a.53.53 0 0 0-.294-.905l-5.166-.755a2.1 2.1 0 0 1-1.595-1.16l-2.31-4.68a.53.53 0 0 0-.95.001L9.216 6.974a2.1 2.1 0 0 1-1.597 1.16l-5.165.755a.53.53 0 0 0-.294.906l3.736 3.637a2.1 2.1 0 0 1 .611 1.879l-.88 5.139a.53.53 0 0 0 .769.56l4.617-2.428a2.1 2.1 0 0 1 .987-.243 2 2 0 0 1 .132.004`}],[`path`,{d:`m20.5 15.5-5 5`}]],vj=[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`}]],yj=[[`path`,{d:`M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`}],[`path`,{d:`M21 20V4`}]],bj=[[`path`,{d:`M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`}],[`path`,{d:`M3 4v16`}]],xj=[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 13h.01`}],[`path`,{d:`M16 13h.01`}],[`path`,{d:`M10 16s.8 1 2 1c1.3 0 2-1 2-1`}]],Sj=[[`path`,{d:`M11 2v2`}],[`path`,{d:`M5 2v2`}],[`path`,{d:`M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M8 15a6 6 0 0 0 12 0v-3`}],[`circle`,{cx:`20`,cy:`10`,r:`2`}]],Cj=[[`path`,{d:`m15 19 2 2 4-4`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M21 13V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6.5`}]],wj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M21 14V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.35`}],[`path`,{d:`M21 18h-6`}]],Tj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M3.586 3.586A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.414-.586`}],[`path`,{d:`M8.656 3H15a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 21 9v6.344`}]],Ej=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`m16 16 5 5`}],[`path`,{d:`M21 12V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7`}],[`path`,{d:`m21 16-5 5`}]],Dj=[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M18 15v6`}],[`path`,{d:`M21 12.356V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.355`}],[`path`,{d:`M21 18h-6`}]],Oj=[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`}]],kj=[[`path`,{d:`M10 8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 16 14v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z`}],[`path`,{d:`M10 8v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M8 4a2 2 0 0 1 2-2h6a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 22 8v6a2 2 0 0 1-2 2`}],[`path`,{d:`M16 2v5a1 1 0 0 0 1 1h5`}]],Aj=[[`path`,{d:`M11.264 2.205A4 4 0 0 0 6.42 4.211l-4 8a4 4 0 0 0 1.359 5.117l6 4a4 4 0 0 0 4.438 0l6-4a4 4 0 0 0 1.576-4.592l-2-6a4 4 0 0 0-2.53-2.53z`}],[`path`,{d:`M11.99 22 14 12l7.822 3.184`}],[`path`,{d:`M14 12 8.47 2.302`}]],jj=[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`}]],Mj=[[`rect`,{width:`20`,height:`6`,x:`2`,y:`4`,rx:`2`}],[`rect`,{width:`20`,height:`6`,x:`2`,y:`14`,rx:`2`}]],Nj=[[`rect`,{width:`6`,height:`20`,x:`4`,y:`2`,rx:`2`}],[`rect`,{width:`6`,height:`20`,x:`14`,y:`2`,rx:`2`}]],Pj=[[`path`,{d:`M16 4H9a3 3 0 0 0-2.83 4`}],[`path`,{d:`M14 12a4 4 0 0 1 0 8H6`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`}]],Fj=[[`path`,{d:`m4 5 8 8`}],[`path`,{d:`m12 5-8 8`}],[`path`,{d:`M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07`}]],Ij=[[`path`,{d:`M15 4H7`}],[`path`,{d:`m18 16 3 3-3 3`}],[`path`,{d:`M3 4v13a2 2 0 0 0 2 2h16`}],[`path`,{d:`M7 14h7`}],[`path`,{d:`M7 9h12`}]],Lj=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 4h.01`}],[`path`,{d:`M20 12h.01`}],[`path`,{d:`M12 20h.01`}],[`path`,{d:`M4 12h.01`}],[`path`,{d:`M17.657 6.343h.01`}],[`path`,{d:`M17.657 17.657h.01`}],[`path`,{d:`M6.343 17.657h.01`}],[`path`,{d:`M6.343 6.343h.01`}]],Rj=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 3v1`}],[`path`,{d:`M12 20v1`}],[`path`,{d:`M3 12h1`}],[`path`,{d:`M20 12h1`}],[`path`,{d:`m18.364 5.636-.707.707`}],[`path`,{d:`m6.343 17.657-.707.707`}],[`path`,{d:`m5.636 5.636.707.707`}],[`path`,{d:`m17.657 17.657.707.707`}]],zj=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715`}],[`path`,{d:`M16 12a4 4 0 0 0-4-4`}],[`path`,{d:`m19 5-1.256 1.256`}],[`path`,{d:`M20 12h2`}]],Bj=[[`path`,{d:`M10 21v-1`}],[`path`,{d:`M10 4V3`}],[`path`,{d:`M10 9a3 3 0 0 0 0 6`}],[`path`,{d:`m14 20 1.25-2.5L18 18`}],[`path`,{d:`m14 4 1.25 2.5L18 6`}],[`path`,{d:`m17 21-3-6 1.5-3H22`}],[`path`,{d:`m17 3-3 6 1.5 3`}],[`path`,{d:`M2 12h1`}],[`path`,{d:`m20 10-1.5 2 1.5 2`}],[`path`,{d:`m3.64 18.36.7-.7`}],[`path`,{d:`m4.34 6.34-.7-.7`}]],Vj=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],Hj=[[`path`,{d:`M12 2v8`}],[`path`,{d:`m4.93 10.93 1.41 1.41`}],[`path`,{d:`M2 18h2`}],[`path`,{d:`M20 18h2`}],[`path`,{d:`m19.07 10.93-1.41 1.41`}],[`path`,{d:`M22 22H2`}],[`path`,{d:`m8 6 4-4 4 4`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`}]],Uj=[[`path`,{d:`M12 10V2`}],[`path`,{d:`m4.93 10.93 1.41 1.41`}],[`path`,{d:`M2 18h2`}],[`path`,{d:`M20 18h2`}],[`path`,{d:`m19.07 10.93-1.41 1.41`}],[`path`,{d:`M22 22H2`}],[`path`,{d:`m16 6-4 4-4-4`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`}]],Wj=[[`path`,{d:`M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z`}],[`path`,{d:`M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7`}],[`path`,{d:`M 7 17h.01`}],[`path`,{d:`m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8`}]],Gj=[[`path`,{d:`m4 19 8-8`}],[`path`,{d:`m12 19-8-8`}],[`path`,{d:`M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06`}]],Kj=[[`path`,{d:`M10 21V3h8`}],[`path`,{d:`M6 16h9`}],[`path`,{d:`M10 9.5h7`}]],qj=[[`path`,{d:`M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5`}],[`path`,{d:`M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}],[`path`,{d:`m18 22-3-3 3-3`}],[`path`,{d:`m6 2 3 3-3 3`}]],Jj=[[`path`,{d:`m11 19-6-6`}],[`path`,{d:`m5 21-2-2`}],[`path`,{d:`m8 16-4 4`}],[`path`,{d:`M9.5 17.5 21 6V3h-3L6.5 14.5`}]],Yj=[[`path`,{d:`m18 2 4 4`}],[`path`,{d:`m17 7 3-3`}],[`path`,{d:`M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5`}],[`path`,{d:`m9 11 4 4`}],[`path`,{d:`m5 19-3 3`}],[`path`,{d:`m14 4 6 6`}]],Xj=[[`polyline`,{points:`14.5 17.5 3 6 3 3 6 3 17.5 14.5`}],[`line`,{x1:`13`,x2:`19`,y1:`19`,y2:`13`}],[`line`,{x1:`16`,x2:`20`,y1:`16`,y2:`20`}],[`line`,{x1:`19`,x2:`21`,y1:`21`,y2:`19`}],[`polyline`,{points:`14.5 6.5 18 3 21 3 21 6 17.5 9.5`}],[`line`,{x1:`5`,x2:`9`,y1:`14`,y2:`18`}],[`line`,{x1:`7`,x2:`4`,y1:`17`,y2:`20`}],[`line`,{x1:`3`,x2:`5`,y1:`19`,y2:`21`}]],Zj=[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`}]],Qj=[[`path`,{d:`M12 21v-6`}],[`path`,{d:`M12 9V3`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],$j=[[`path`,{d:`M12 15V9`}],[`path`,{d:`M3 15h18`}],[`path`,{d:`M3 9h18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],eM=[[`path`,{d:`M14 14v2`}],[`path`,{d:`M14 20v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M14 8v2`}],[`path`,{d:`M2 15h8`}],[`path`,{d:`M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2`}],[`path`,{d:`M2 9h8`}],[`path`,{d:`M22 15h-4`}],[`path`,{d:`M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`}],[`path`,{d:`M22 9h-4`}],[`path`,{d:`M5 3v18`}]],tM=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M16 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M21 5h.01`}],[`path`,{d:`M21 12h.01`}],[`path`,{d:`M21 19h.01`}]],nM=[[`path`,{d:`M15 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],rM=[[`path`,{d:`M14 10h2`}],[`path`,{d:`M15 22v-8`}],[`path`,{d:`M15 2v4`}],[`path`,{d:`M2 10h2`}],[`path`,{d:`M20 10h2`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6`}],[`path`,{d:`M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2`}],[`path`,{d:`M8 10h2`}],[`path`,{d:`M9 22v-8`}],[`path`,{d:`M9 2v4`}]],iM=[[`path`,{d:`M12 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}]],aM=[[`rect`,{width:`10`,height:`14`,x:`3`,y:`8`,rx:`2`}],[`path`,{d:`M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4`}],[`path`,{d:`M8 18h.01`}]],oM=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`}]],sM=[[`circle`,{cx:`7`,cy:`7`,r:`5`}],[`circle`,{cx:`17`,cy:`17`,r:`5`}],[`path`,{d:`M12 17h10`}],[`path`,{d:`m3.46 10.54 7.08-7.08`}]],cM=[[`path`,{d:`M16 13h6`}],[`path`,{d:`m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l1.79-1.79`}],[`path`,{d:`M19 10v6`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],lM=[[`path`,{d:`m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79`}],[`path`,{d:`m16.5 10.5 5 5`}],[`path`,{d:`m21.5 10.5-5 5`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],uM=[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],dM=[[`path`,{d:`M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z`}],[`path`,{d:`M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193`}],[`circle`,{cx:`10.5`,cy:`6.5`,r:`.5`,fill:`currentColor`}]],fM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}]],pM=[[`path`,{d:`M4 4v16`}]],mM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}]],hM=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}],[`path`,{d:`M19 4v16`}]],gM=[[`circle`,{cx:`17`,cy:`4`,r:`2`}],[`path`,{d:`M15.59 5.41 5.41 15.59`}],[`circle`,{cx:`4`,cy:`17`,r:`2`}],[`path`,{d:`M12 22s-4-9-1.5-11.5S22 12 22 12`}]],_M=[[`path`,{d:`M4 4v16`}],[`path`,{d:`M9 4v16`}],[`path`,{d:`M14 4v16`}],[`path`,{d:`M19 4v16`}],[`path`,{d:`M22 6 2 18`}]],vM=[[`path`,{d:`m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44`}],[`path`,{d:`m13.56 11.747 4.332-.924`}],[`path`,{d:`m16 21-3.105-6.21`}],[`path`,{d:`M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z`}],[`path`,{d:`m6.158 8.633 1.114 4.456`}],[`path`,{d:`m8 21 3.105-6.21`}],[`circle`,{cx:`12`,cy:`13`,r:`2`}]],yM=[[`circle`,{cx:`4`,cy:`4`,r:`2`}],[`path`,{d:`m14 5 3-3 3 3`}],[`path`,{d:`m14 10 3-3 3 3`}],[`path`,{d:`M17 14V2`}],[`path`,{d:`M17 14H7l-5 8h20Z`}],[`path`,{d:`M8 14v8`}],[`path`,{d:`m9 14 5 8`}]],bM=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`circle`,{cx:`12`,cy:`12`,r:`6`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],xM=[[`path`,{d:`M3.5 21 14 3`}],[`path`,{d:`M20.5 21 10 3`}],[`path`,{d:`M15.5 21 12 15l-3.5 6`}],[`path`,{d:`M2 21h20`}]],SM=[[`path`,{d:`M12 19h8`}],[`path`,{d:`m4 17 6-6-6-6`}]],CM=[[`path`,{d:`M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3`}],[`path`,{d:`m16 2 6 6`}],[`path`,{d:`M12 16H4`}]],wM=[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`}],[`path`,{d:`M8.5 2h7`}],[`path`,{d:`M14.5 16h-5`}]],TM=[[`path`,{d:`M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2`}],[`path`,{d:`M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2`}],[`path`,{d:`M3 2h7`}],[`path`,{d:`M14 2h7`}],[`path`,{d:`M9 16H4`}],[`path`,{d:`M20 16h-5`}]],EM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M17 12H7`}],[`path`,{d:`M19 19H5`}]],DM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M21 19H7`}]],OM=[[`path`,{d:`M3 5h18`}],[`path`,{d:`M3 12h18`}],[`path`,{d:`M3 19h18`}]],kM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M17 19H3`}]],AM=[[`path`,{d:`M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6`}],[`path`,{d:`M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7`}],[`path`,{d:`M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1`}],[`path`,{d:`M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1`}],[`path`,{d:`M9 6v12`}]],jM=[[`path`,{d:`M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1`}],[`path`,{d:`M7 22h1a4 4 0 0 0 4-4`}],[`path`,{d:`M7 2h1a4 4 0 0 1 4 4`}]],MM=[[`path`,{d:`M15 5h6`}],[`path`,{d:`M15 12h6`}],[`path`,{d:`M3 19h18`}],[`path`,{d:`m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12`}],[`path`,{d:`M3.92 10h6.16`}]],NM=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M10 12H3`}],[`path`,{d:`M10 19H3`}],[`circle`,{cx:`17`,cy:`15`,r:`3`}],[`path`,{d:`m21 19-1.9-1.9`}]],PM=[[`path`,{d:`M17 5H3`}],[`path`,{d:`M21 12H8`}],[`path`,{d:`M21 19H8`}],[`path`,{d:`M3 12v7`}]],FM=[[`path`,{d:`m16 16-3 3 3 3`}],[`path`,{d:`M3 12h14.5a1 1 0 0 1 0 7H13`}],[`path`,{d:`M3 19h6`}],[`path`,{d:`M3 5h18`}]],IM=[[`path`,{d:`M2 10s3-3 3-8`}],[`path`,{d:`M22 10s-3-3-3-8`}],[`path`,{d:`M10 2c0 4.4-3.6 8-8 8`}],[`path`,{d:`M14 2c0 4.4 3.6 8 8 8`}],[`path`,{d:`M2 10s2 2 2 5`}],[`path`,{d:`M22 10s-2 2-2 5`}],[`path`,{d:`M8 15h8`}],[`path`,{d:`M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`}],[`path`,{d:`M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`}]],LM=[[`path`,{d:`m10 20-1.25-2.5L6 18`}],[`path`,{d:`M10 4 8.75 6.5 6 6`}],[`path`,{d:`M10.585 15H10`}],[`path`,{d:`M2 12h6.5L10 9`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`}],[`path`,{d:`m4 10 1.5 2L4 14`}],[`path`,{d:`m7 21 3-6-1.5-3`}],[`path`,{d:`m7 3 3 6h2`}]],RM=[[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8a4 4 0 0 0-1.645 7.647`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}]],zM=[[`path`,{d:`M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z`}]],BM=[[`path`,{d:`M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z`}],[`path`,{d:`M17 14V2`}]],VM=[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`}],[`path`,{d:`M7 10v12`}]],HM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9 12 2 2 4-4`}]],UM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 12h6`}]],WM=[[`path`,{d:`M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 9h.01`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`M15 15h.01`}]],GM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M9 12h6`}],[`path`,{d:`M12 9v6`}]],KM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9.5 14.5 5-5`}]],qM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`m9.5 14.5 5-5`}],[`path`,{d:`m9.5 9.5 5 5`}]],JM=[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`}],[`path`,{d:`M13 5v2`}],[`path`,{d:`M13 17v2`}],[`path`,{d:`M13 11v2`}]],YM=[[`path`,{d:`M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12`}],[`path`,{d:`m12 13.5 3.794.506`}],[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`}],[`path`,{d:`M6 10V8`}],[`path`,{d:`M6 14v1`}],[`path`,{d:`M6 19v2`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`}]],XM=[[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`}],[`path`,{d:`M6 10V8`}],[`path`,{d:`M6 14v1`}],[`path`,{d:`M6 19v2`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`}]],ZM=[[`path`,{d:`M4 12h.01`}],[`path`,{d:`M4 16h.01`}],[`path`,{d:`M4 20h.01`}],[`path`,{d:`M4 4h.01`}],[`path`,{d:`M4 8h.01`}],[`path`,{d:`M9.414 13.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 12z`}],[`path`,{d:`M9.414 21.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 20z`}],[`path`,{d:`M9.414 5.414A2 2 0 0 0 10.828 6H19a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 4z`}]],QM=[[`path`,{d:`M10 2h4`}],[`path`,{d:`M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7`}],[`path`,{d:`M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M12 12v-2`}]],$M=[[`path`,{d:`M10 2h4`}],[`path`,{d:`M12 14v-4`}],[`path`,{d:`M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6`}],[`path`,{d:`M9 17H4v5`}]],eN=[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`}],[`circle`,{cx:`12`,cy:`14`,r:`8`}]],tN=[[`circle`,{cx:`9`,cy:`12`,r:`3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`}]],nN=[[`circle`,{cx:`15`,cy:`12`,r:`3`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`}]],rN=[[`path`,{d:`M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18`}],[`path`,{d:`M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8`}]],iN=[[`path`,{d:`M10 15h4`}],[`path`,{d:`m14.817 10.995-.971-1.45 1.034-1.232a2 2 0 0 0-2.025-3.238l-1.82.364L9.91 3.885a2 2 0 0 0-3.625.748L6.141 6.55l-1.725.426a2 2 0 0 0-.19 3.756l.657.27`}],[`path`,{d:`m18.822 10.995 2.26-5.38a1 1 0 0 0-.557-1.318L16.954 2.9a1 1 0 0 0-1.281.533l-.924 2.122`}],[`path`,{d:`M4 12.006A1 1 0 0 1 4.994 11H19a1 1 0 0 1 1 1v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`}]],aN=[[`path`,{d:`M16 12v4`}],[`path`,{d:`M16 6a2 2 0 0 1 1.414.586l4 4A2 2 0 0 1 22 12v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 .586-1.414l4-4A2 2 0 0 1 8 6z`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M8 12v4`}]],oN=[[`ellipse`,{cx:`12`,cy:`11`,rx:`3`,ry:`2`}],[`ellipse`,{cx:`12`,cy:`12.5`,rx:`10`,ry:`8.5`}]],sN=[[`path`,{d:`M21 4H3`}],[`path`,{d:`M18 8H6`}],[`path`,{d:`M19 12H9`}],[`path`,{d:`M16 16h-6`}],[`path`,{d:`M11 20H9`}]],cN=[[`path`,{d:`M12 20v-6`}],[`path`,{d:`M19.656 14H22`}],[`path`,{d:`M2 14h12`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`}],[`path`,{d:`M9.656 4H20a2 2 0 0 1 2 2v10.344`}]],lN=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M2 14h20`}],[`path`,{d:`M12 20v-6`}]],uN=[[`path`,{d:`M22 7h-2`}],[`path`,{d:`M6.5 3h11A2.5 2.5 0 0 1 20 5.5V20a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1V5.5a1 1 0 0 0-5 0V17a1 1 0 0 0 1 1h4`}],[`path`,{d:`M9 7H2`}]],dN=[[`path`,{d:`M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z`}],[`path`,{d:`M8 13v9`}],[`path`,{d:`M16 22v-9`}],[`path`,{d:`m9 6 1 7`}],[`path`,{d:`m15 6-1 7`}],[`path`,{d:`M12 6V2`}],[`path`,{d:`M13 2h-2`}]],fN=[[`rect`,{width:`18`,height:`12`,x:`3`,y:`8`,rx:`1`}],[`path`,{d:`M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3`}],[`path`,{d:`M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3`}]],pN=[[`path`,{d:`m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20`}],[`path`,{d:`M16 18h-5`}],[`path`,{d:`M18 5a1 1 0 0 0-1 1v5.573`}],[`path`,{d:`M3 4h8.129a1 1 0 0 1 .99.863L13 11.246`}],[`path`,{d:`M4 11V4`}],[`path`,{d:`M7 15h.01`}],[`path`,{d:`M8 10.1V4`}],[`circle`,{cx:`18`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`15`,r:`5`}]],mN=[[`path`,{d:`M16.05 10.966a5 2.5 0 0 1-8.1 0`}],[`path`,{d:`m16.923 14.049 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04`}],[`path`,{d:`M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z`}],[`path`,{d:`M9.194 6.57a5 2.5 0 0 0 5.61 0`}]],hN=[[`path`,{d:`M2 22V12a10 10 0 1 1 20 0v10`}],[`path`,{d:`M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8`}],[`path`,{d:`M10 15h.01`}],[`path`,{d:`M14 15h.01`}],[`path`,{d:`M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z`}],[`path`,{d:`m9 19-2 3`}],[`path`,{d:`m15 19 2 3`}]],gN=[[`path`,{d:`M8 3.1V7a4 4 0 0 0 8 0V3.1`}],[`path`,{d:`m9 15-1-1`}],[`path`,{d:`m15 15 1-1`}],[`path`,{d:`M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z`}],[`path`,{d:`m8 19-2 3`}],[`path`,{d:`m16 19 2 3`}]],_N=[[`path`,{d:`M2 17 17 2`}],[`path`,{d:`m2 14 8 8`}],[`path`,{d:`m5 11 8 8`}],[`path`,{d:`m8 8 8 8`}],[`path`,{d:`m11 5 8 8`}],[`path`,{d:`m14 2 8 8`}],[`path`,{d:`M7 22 22 7`}]],vN=[[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`}],[`path`,{d:`M4 11h16`}],[`path`,{d:`M12 3v8`}],[`path`,{d:`m8 19-2 3`}],[`path`,{d:`m18 22-2-3`}],[`path`,{d:`M8 15h.01`}],[`path`,{d:`M16 15h.01`}]],yN=[[`path`,{d:`M12 16v6`}],[`path`,{d:`M14 20h-4`}],[`path`,{d:`M18 2h4v4`}],[`path`,{d:`m2 2 7.17 7.17`}],[`path`,{d:`M2 5.355V2h3.357`}],[`path`,{d:`m22 2-7.17 7.17`}],[`path`,{d:`M8 5 5 8`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],bN=[[`path`,{d:`M10 11v6`}],[`path`,{d:`M14 11v6`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],xN=[[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],SN=[[`path`,{d:`M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z`}],[`path`,{d:`M12 19v3`}]],CN=[[`path`,{d:`M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4`}],[`path`,{d:`M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3`}],[`path`,{d:`M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35`}],[`path`,{d:`M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14`}]],wN=[[`path`,{d:`m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z`}],[`path`,{d:`M12 22v-3`}]],TN=[[`path`,{d:`M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z`}],[`path`,{d:`M7 16v6`}],[`path`,{d:`M13 19v3`}],[`path`,{d:`M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5`}]],EN=[[`path`,{d:`M16 17h6v-6`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`}]],DN=[[`path`,{d:`M14.828 14.828 21 21`}],[`path`,{d:`M21 16v5h-5`}],[`path`,{d:`m21 3-9 9-4-4-6 6`}],[`path`,{d:`M21 8V3h-5`}]],ON=[[`path`,{d:`M16 7h6v6`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`}]],kN=[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`}],[`path`,{d:`M12 9v4`}],[`path`,{d:`M12 17h.01`}]],AN=[[`path`,{d:`M10.17 4.193a2 2 0 0 1 3.666.013`}],[`path`,{d:`M14 21h2`}],[`path`,{d:`m15.874 7.743 1 1.732`}],[`path`,{d:`m18.849 12.952 1 1.732`}],[`path`,{d:`M21.824 18.18a2 2 0 0 1-1.835 2.824`}],[`path`,{d:`M4.024 21a2 2 0 0 1-1.839-2.839`}],[`path`,{d:`m5.136 12.952-1 1.732`}],[`path`,{d:`M8 21h2`}],[`path`,{d:`m8.102 7.743-1 1.732`}]],jN=[[`path`,{d:`M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z`}]],MN=[[`path`,{d:`M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z`}]],NN=[[`path`,{d:`M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978`}],[`path`,{d:`M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978`}],[`path`,{d:`M18 9h1.5a1 1 0 0 0 0-5H18`}],[`path`,{d:`M4 22h16`}],[`path`,{d:`M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z`}],[`path`,{d:`M6 9H4.5a1 1 0 0 1 0-5H6`}]],PN=[[`path`,{d:`M14 19V7a2 2 0 0 0-2-2H9`}],[`path`,{d:`M15 19H9`}],[`path`,{d:`M19 19h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 9.38a1 1 0 0 0-.78-.38H14`}],[`path`,{d:`M2 13v5a1 1 0 0 0 1 1h2`}],[`path`,{d:`M4 3 2.15 5.15a.495.495 0 0 0 .35.86h2.15a.47.47 0 0 1 .35.86L3 9.02`}],[`circle`,{cx:`17`,cy:`19`,r:`2`}],[`circle`,{cx:`7`,cy:`19`,r:`2`}]],FN=[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`}],[`path`,{d:`M15 18H9`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`}],[`circle`,{cx:`17`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],IN=[[`path`,{d:`M15 4 5 9`}],[`path`,{d:`m15 8.5-10 5`}],[`path`,{d:`M18 12a9 9 0 0 1-9 9V3`}]],LN=[[`path`,{d:`m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z`}],[`path`,{d:`M4.82 7.9 8 10`}],[`path`,{d:`M15.18 7.9 12 10`}],[`path`,{d:`M16.93 10H20a2 2 0 0 1 0 4H2`}]],RN=[[`path`,{d:`M10 12.01h.01`}],[`path`,{d:`M18 8v4a8 8 0 0 1-1.07 4`}],[`circle`,{cx:`10`,cy:`12`,r:`4`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],zN=[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`}],[`path`,{d:`M7 21h10`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}]],BN=[[`path`,{d:`M7 21h10`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}]],VN=[[`path`,{d:`m17 2-5 5-5-5`}],[`rect`,{width:`20`,height:`15`,x:`2`,y:`7`,rx:`2`}]],HN=[[`path`,{d:`M12 4v16`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`}],[`path`,{d:`M9 20h6`}]],UN=[[`path`,{d:`M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z`}]],WN=[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M18.656 13h2.336a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-12.07-7.51`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5.961 5.957a10.28 10.28 0 0 0-3.922 5.769A1 1 0 0 0 3 13h10`}]],GN=[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z`}]],KN=[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`}]],qN=[[`path`,{d:`M9 14 4 9l5-5`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`}]],JN=[[`path`,{d:`M21 17a9 9 0 0 0-15-6.7L3 13`}],[`path`,{d:`M3 7v6h6`}],[`circle`,{cx:`12`,cy:`17`,r:`1`}]],YN=[[`path`,{d:`M3 7v6h6`}],[`path`,{d:`M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13`}]],XN=[[`path`,{d:`M16 12h6`}],[`path`,{d:`M8 12H2`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 8v2`}],[`path`,{d:`M12 14v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m19 15 3-3-3-3`}],[`path`,{d:`m5 9-3 3 3 3`}]],ZN=[[`path`,{d:`M12 22v-6`}],[`path`,{d:`M12 8V2`}],[`path`,{d:`M4 12H2`}],[`path`,{d:`M10 12H8`}],[`path`,{d:`M16 12h-2`}],[`path`,{d:`M22 12h-2`}],[`path`,{d:`m15 19-3 3-3-3`}],[`path`,{d:`m15 5-3-3-3 3`}]],QN=[[`rect`,{x:`11`,y:`14`,width:`10`,height:`7`,rx:`2`}],[`rect`,{x:`3`,y:`3`,width:`10`,height:`7`,rx:`2`}]],$N=[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`}],[`path`,{d:`M18 12h.01`}],[`path`,{d:`M18 16h.01`}],[`path`,{d:`M22 7a1 1 0 0 0-1-1h-2a2 2 0 0 1-1.143-.359L13.143 2.36a2 2 0 0 0-2.286-.001L6.143 5.64A2 2 0 0 1 5 6H3a1 1 0 0 0-1 1v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2z`}],[`path`,{d:`M6 12h.01`}],[`path`,{d:`M6 16h.01`}],[`circle`,{cx:`12`,cy:`10`,r:`2`}]],eP=[[`path`,{d:`m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71`}],[`path`,{d:`m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`5`}],[`line`,{x1:`2`,x2:`5`,y1:`8`,y2:`8`}],[`line`,{x1:`16`,x2:`16`,y1:`19`,y2:`22`}],[`line`,{x1:`19`,x2:`22`,y1:`16`,y2:`16`}]],tP=[[`path`,{d:`M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2`}]],nP=[[`path`,{d:`m19 5 3-3`}],[`path`,{d:`m2 22 3-3`}],[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`}],[`path`,{d:`M7.5 13.5 10 11`}],[`path`,{d:`M10.5 16.5 13 14`}],[`path`,{d:`m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z`}]],rP=[[`path`,{d:`M12 3v12`}],[`path`,{d:`m17 8-5-5-5 5`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}]],iP=[[`circle`,{cx:`10`,cy:`7`,r:`1`}],[`circle`,{cx:`4`,cy:`20`,r:`1`}],[`path`,{d:`M4.7 19.3 19 5`}],[`path`,{d:`m21 3-3 1 2 2Z`}],[`path`,{d:`M9.26 7.68 5 12l2 5`}],[`path`,{d:`m10 14 5 2 3.5-3.5`}],[`path`,{d:`m18 12 1-1 1 1-1 1Z`}]],aP=[[`path`,{d:`m16 11 2 2 4-4`}],[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],oP=[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`m14.305 16.53.923-.382`}],[`path`,{d:`m15.228 13.852-.923-.383`}],[`path`,{d:`m16.852 12.228-.383-.923`}],[`path`,{d:`m16.852 17.772-.383.924`}],[`path`,{d:`m19.148 12.228.383-.923`}],[`path`,{d:`m19.53 18.696-.382-.924`}],[`path`,{d:`m20.772 13.852.924-.383`}],[`path`,{d:`m20.772 16.148.924.383`}],[`circle`,{cx:`18`,cy:`15`,r:`3`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],sP=[[`path`,{d:`M19 16v-2a2 2 0 0 0-4 0v2`}],[`path`,{d:`M9.5 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`rect`,{x:`13`,y:`16`,width:`8`,height:`5`,rx:`.899`}]],cP=[[`path`,{d:`M20 11v6`}],[`path`,{d:`M20 13h2`}],[`path`,{d:`M3 21v-2a4 4 0 0 1 4-4h6a4 4 0 0 1 2.072.578`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`circle`,{cx:`20`,cy:`19`,r:`2`}]],lP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],uP=[[`path`,{d:`M11.5 15H7a4 4 0 0 0-4 4v2`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}]],dP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],fP=[[`path`,{d:`m19 16-3 3`}],[`path`,{d:`M2 21a8 8 0 0 1 12.664-6.5`}],[`path`,{d:`M22 19h-6l3 3`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}]],pP=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`m16 19 2 2 4-4`}]],mP=[[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],hP=[[`path`,{d:`M19 11v6`}],[`path`,{d:`M19 13h2`}],[`path`,{d:`M2 21a8 8 0 0 1 12.868-6.349`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`circle`,{cx:`19`,cy:`19`,r:`2`}]],gP=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M22 19h-6`}]],_P=[[`path`,{d:`M2 21a8 8 0 0 1 10.821-7.487`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}]],vP=[[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}],[`path`,{d:`m22 22-1.9-1.9`}]],yP=[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M19 16v6`}],[`path`,{d:`M22 19h-6`}]],bP=[[`path`,{d:`M2 21a8 8 0 0 1 11.873-7`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`m17 17 5 5`}],[`path`,{d:`m22 17-5 5`}]],xP=[[`circle`,{cx:`12`,cy:`8`,r:`5`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`}]],SP=[[`circle`,{cx:`10`,cy:`7`,r:`4`}],[`path`,{d:`M10.3 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}],[`path`,{d:`m21 21-1.9-1.9`}]],CP=[[`path`,{d:`M16.051 12.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`}],[`path`,{d:`M8 15H7a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`10`,cy:`7`,r:`4`}]],wP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`}]],TP=[[`path`,{d:`M18 21a8 8 0 0 0-16 0`}],[`circle`,{cx:`10`,cy:`8`,r:`5`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`}]],EP=[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`12`,cy:`7`,r:`4`}]],DP=[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]],OP=[[`path`,{d:`m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8`}],[`path`,{d:`M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7`}],[`path`,{d:`m2.1 21.8 6.4-6.3`}],[`path`,{d:`m19 5-7 7`}]],kP=[[`path`,{d:`M12 2v20`}],[`path`,{d:`M2 5h20`}],[`path`,{d:`M3 3v2`}],[`path`,{d:`M7 3v2`}],[`path`,{d:`M17 3v2`}],[`path`,{d:`M21 3v2`}],[`path`,{d:`m19 5-7 7-7-7`}]],AP=[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`}],[`path`,{d:`M7 2v20`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`}]],jP=[[`path`,{d:`M13 6v5a1 1 0 0 0 1 1h6.102a1 1 0 0 1 .712.298l.898.91a1 1 0 0 1 .288.702V17a1 1 0 0 1-1 1h-3`}],[`path`,{d:`M5 18H3a1 1 0 0 1-1-1V8a2 2 0 0 1 2-2h12c1.1 0 2.1.8 2.4 1.8l1.176 4.2`}],[`path`,{d:`M9 18h5`}],[`circle`,{cx:`16`,cy:`18`,r:`2`}],[`circle`,{cx:`7`,cy:`18`,r:`2`}]],MP=[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`}]],NP=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m7.9 7.9 2.7 2.7`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m13.4 10.6 2.7-2.7`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m7.9 16.1 2.7-2.7`}],[`circle`,{cx:`16.5`,cy:`16.5`,r:`.5`,fill:`currentColor`}],[`path`,{d:`m13.4 13.4 2.7 2.7`}],[`circle`,{cx:`12`,cy:`12`,r:`2`}]],PP=[[`path`,{d:`M19.5 7a24 24 0 0 1 0 10`}],[`path`,{d:`M4.5 7a24 24 0 0 0 0 10`}],[`path`,{d:`M7 19.5a24 24 0 0 0 10 0`}],[`path`,{d:`M7 4.5a24 24 0 0 1 10 0`}],[`rect`,{x:`17`,y:`17`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`17`,y:`2`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`2`,y:`17`,width:`5`,height:`5`,rx:`1`}],[`rect`,{x:`2`,y:`2`,width:`5`,height:`5`,rx:`1`}]],FP=[[`path`,{d:`M16 8q6 0 6-6-6 0-6 6`}],[`path`,{d:`M17.41 3.59a10 10 0 1 0 3 3`}],[`path`,{d:`M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14`}]],IP=[[`path`,{d:`M18 11c-1.5 0-2.5.5-3 2`}],[`path`,{d:`M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z`}],[`path`,{d:`M6 11c1.5 0 2.5.5 3 2`}]],LP=[[`path`,{d:`M10 20h4`}],[`path`,{d:`M12 16v6`}],[`path`,{d:`M17 2h4v4`}],[`path`,{d:`m21 2-5.46 5.46`}],[`circle`,{cx:`12`,cy:`11`,r:`5`}]],RP=[[`path`,{d:`M12 15v7`}],[`path`,{d:`M9 19h6`}],[`circle`,{cx:`12`,cy:`9`,r:`6`}]],zP=[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`}],[`path`,{d:`M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2`}],[`path`,{d:`M16 10.34V6c0-.55-.45-1-1-1h-4.34`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],BP=[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`}],[`rect`,{width:`8`,height:`14`,x:`8`,y:`5`,rx:`1`}]],VP=[[`path`,{d:`M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196`}],[`path`,{d:`M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`}],[`path`,{d:`m2 2 20 20`}]],HP=[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`}]],UP=[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`}],[`path`,{d:`M2 8h20`}],[`circle`,{cx:`8`,cy:`14`,r:`2`}],[`path`,{d:`M8 12h8`}],[`circle`,{cx:`16`,cy:`14`,r:`2`}]],WP=[[`path`,{d:`M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2`}],[`path`,{d:`M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2`}],[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`}]],GP=[[`circle`,{cx:`6`,cy:`12`,r:`4`}],[`circle`,{cx:`18`,cy:`12`,r:`4`}],[`line`,{x1:`6`,x2:`18`,y1:`16`,y2:`16`}]],KP=[[`path`,{d:`M11 7a16 16 20 0 1 10.98 4.362`}],[`path`,{d:`M12 12a13 13 0 0 1-8.66 5`}],[`path`,{d:`M16.83 13.634a16 16 0 0 1-9.267 7.328`}],[`path`,{d:`M20.66 17A13 13 0 0 0 12 12a13 13 0 0 1 0-10`}],[`path`,{d:`M8.17 15.366a16 16 0 0 1-1.713-11.69`}],[`circle`,{cx:`12`,cy:`12`,r:`10`}]],qP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`}]],JP=[[`path`,{d:`M16 9a5 5 0 0 1 .95 2.293`}],[`path`,{d:`M19.364 5.636a9 9 0 0 1 1.889 9.96`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11`}],[`path`,{d:`M9.828 4.172A.686.686 0 0 1 11 4.657v.686`}]],YP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`}]],XP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`}]],ZP=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}]],QP=[[`path`,{d:`m9 12 2 2 4-4`}],[`path`,{d:`M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z`}],[`path`,{d:`M22 19H2`}]],$P=[[`path`,{d:`M3 11h3.75a2 2 0 0 1 1.6.8l.45.6a4 4 0 0 0 6.4 0l.45-.6a2 2 0 0 1 1.6-.8H21`}],[`path`,{d:`M3 7h18`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],eF=[[`path`,{d:`M17 14h.01`}],[`path`,{d:`M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14`}]],tF=[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`}]],nF=[[`path`,{d:`M12 17v4`}],[`path`,{d:`M8 21h8`}],[`path`,{d:`m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15`}],[`circle`,{cx:`8`,cy:`9`,r:`2`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`}]],rF=[[`path`,{d:`M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11`}],[`path`,{d:`M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z`}],[`path`,{d:`M6 13h12`}],[`path`,{d:`M6 17h12`}]],iF=[[`path`,{d:`m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72`}],[`path`,{d:`m14 7 3 3`}],[`path`,{d:`M5 6v4`}],[`path`,{d:`M19 14v4`}],[`path`,{d:`M10 2v2`}],[`path`,{d:`M7 8H3`}],[`path`,{d:`M21 16h-4`}],[`path`,{d:`M11 3H9`}]],aF=[[`path`,{d:`M15 4V2`}],[`path`,{d:`M15 16v-2`}],[`path`,{d:`M8 9h2`}],[`path`,{d:`M20 9h2`}],[`path`,{d:`M17.8 11.8 19 13`}],[`path`,{d:`M15 9h.01`}],[`path`,{d:`M17.8 6.2 19 5`}],[`path`,{d:`m3 21 9-9`}],[`path`,{d:`M12.2 6.2 11 5`}]],oF=[[`path`,{d:`M3 6h3`}],[`path`,{d:`M17 6h.01`}],[`rect`,{width:`18`,height:`20`,x:`3`,y:`2`,rx:`2`}],[`circle`,{cx:`12`,cy:`13`,r:`5`}],[`path`,{d:`M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5`}]],sF=[[`path`,{d:`M12 10v2.2l1.6 1`}],[`path`,{d:`m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05`}],[`path`,{d:`m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05`}],[`circle`,{cx:`12`,cy:`12`,r:`6`}]],cF=[[`path`,{d:`M12 10L12 2`}],[`path`,{d:`M16 6L12 10L8 6`}],[`path`,{d:`M2 15C2.6 15.5 3.2 16 4.5 16C7 16 7 14 9.5 14C12.1 14 11.9 16 14.5 16C17 16 17 14 19.5 14C20.8 14 21.4 14.5 22 15`}],[`path`,{d:`M2 21C2.6 21.5 3.2 22 4.5 22C7 22 7 20 9.5 20C12.1 20 11.9 22 14.5 22C17 22 17 20 19.5 20C20.8 20 21.4 20.5 22 21`}]],lF=[[`path`,{d:`M12 2v8`}],[`path`,{d:`M2 15c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`m8 6 4-4 4 4`}]],uF=[[`path`,{d:`M2 12q2.5 2 5 0t5 0 5 0 5 0`}],[`path`,{d:`M2 19q2.5 2 5 0t5 0 5 0 5 0`}],[`path`,{d:`M2 5q2.5 2 5 0t5 0 5 0 5 0`}]],dF=[[`path`,{d:`M19 5a2 2 0 0 0-2 2v11`}],[`path`,{d:`M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`}],[`path`,{d:`M7 13h10`}],[`path`,{d:`M7 9h10`}],[`path`,{d:`M9 5a2 2 0 0 0-2 2v11`}]],fF=[[`path`,{d:`M12 2q2 2.5 0 5t0 5 0 5 0 5`}],[`path`,{d:`M19 2q2 2.5 0 5t0 5 0 5 0 5`}],[`path`,{d:`M5 2q2 2.5 0 5t0 5 0 5 0 5`}]],pF=[[`path`,{d:`m10.586 5.414-5.172 5.172`}],[`path`,{d:`m18.586 13.414-5.172 5.172`}],[`path`,{d:`M6 12h12`}],[`circle`,{cx:`12`,cy:`20`,r:`2`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}],[`circle`,{cx:`20`,cy:`12`,r:`2`}],[`circle`,{cx:`4`,cy:`12`,r:`2`}]],mF=[[`path`,{d:`M12 22v-4`}],[`path`,{d:`M12.754 7.096a3 3 0 0 1 2.15 2.15`}],[`path`,{d:`M12.863 12.873a3 3 0 0 1-3.736-3.735`}],[`path`,{d:`M16.566 16.57A8 8 0 0 1 5.43 5.433`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M7 22h10`}],[`path`,{d:`M8.478 2.817a8 8 0 0 1 10.705 10.705`}]],hF=[[`circle`,{cx:`12`,cy:`10`,r:`8`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}],[`path`,{d:`M7 22h10`}],[`path`,{d:`M12 22v-4`}]],gF=[[`path`,{d:`M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15`}],[`path`,{d:`M9 3.4a4 4 0 0 1 6.52.66`}],[`path`,{d:`m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05`}],[`path`,{d:`M20.3 20.3a4 4 0 0 1-2.3.7`}],[`path`,{d:`M18.6 13a4 4 0 0 1 3.357 3.414`}],[`path`,{d:`m12 6 .6 1`}],[`path`,{d:`m2 2 20 20`}]],_F=[[`path`,{d:`M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2`}],[`path`,{d:`m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06`}],[`path`,{d:`m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8`}]],vF=[[`path`,{d:`M6.5 8a2 2 0 0 0-1.906 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8z`}],[`path`,{d:`M7.999 15a2.5 2.5 0 0 1 4 0 2.5 2.5 0 0 0 4 0`}],[`circle`,{cx:`12`,cy:`5`,r:`3`}]],yF=[[`circle`,{cx:`12`,cy:`5`,r:`3`}],[`path`,{d:`M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z`}]],bF=[[`path`,{d:`M2 22 16 8`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}]],xF=[[`path`,{d:`m2 22 10-10`}],[`path`,{d:`m16 8-1.17 1.17`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`}],[`path`,{d:`m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97`}],[`path`,{d:`M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`}],[`path`,{d:`m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98`}],[`path`,{d:`M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],SF=[[`circle`,{cx:`7`,cy:`12`,r:`3`}],[`path`,{d:`M10 9v6`}],[`circle`,{cx:`17`,cy:`12`,r:`3`}],[`path`,{d:`M14 7v8`}],[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`}]],CF=[[`path`,{d:`m14.305 19.53.923-.382`}],[`path`,{d:`m15.228 16.852-.923-.383`}],[`path`,{d:`m16.852 15.228-.383-.923`}],[`path`,{d:`m16.852 20.772-.383.924`}],[`path`,{d:`m19.148 15.228.383-.923`}],[`path`,{d:`m19.53 21.696-.382-.924`}],[`path`,{d:`M2 7.82a15 15 0 0 1 20 0`}],[`path`,{d:`m20.772 16.852.924-.383`}],[`path`,{d:`m20.772 19.148.924.383`}],[`path`,{d:`M5 11.858a10 10 0 0 1 11.5-1.785`}],[`path`,{d:`M8.5 15.429a5 5 0 0 1 2.413-1.31`}],[`circle`,{cx:`18`,cy:`18`,r:`3`}]],wF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],TF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],EF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`}],[`path`,{d:`m2 2 20 20`}]],DF=[[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 10.5-2.222`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 3-1.406`}]],OF=[[`path`,{d:`M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5`}],[`path`,{d:`M11.965 14.105h4`}],[`path`,{d:`M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M21.965 22.105v-4`}],[`path`,{d:`M5 12.86a10 10 0 0 1 3-2.032`}],[`path`,{d:`M8.5 16.429h.01`}]],kF=[[`path`,{d:`M12 20h.01`}]],AF=[[`path`,{d:`M12 20h.01`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`}]],jF=[[`path`,{d:`M10 2v8`}],[`path`,{d:`M12.8 21.6A2 2 0 1 0 14 18H2`}],[`path`,{d:`M17.5 10a2.5 2.5 0 1 1 2 4H2`}],[`path`,{d:`m6 6 4 4 4-4`}]],MF=[[`path`,{d:`M12.8 19.6A2 2 0 1 0 14 16H2`}],[`path`,{d:`M17.5 8a2.5 2.5 0 1 1 2 4H2`}],[`path`,{d:`M9.8 4.4A2 2 0 1 1 11 8H2`}]],NF=[[`path`,{d:`M8 22h8`}],[`path`,{d:`M7 10h3m7 0h-1.343`}],[`path`,{d:`M12 15v7`}],[`path`,{d:`M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`}]],PF=[[`path`,{d:`M8 22h8`}],[`path`,{d:`M7 10h10`}],[`path`,{d:`M12 15v7`}],[`path`,{d:`M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z`}]],FF=[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`}]],IF=[[`path`,{d:`m19 12-1.5 3`}],[`path`,{d:`M19.63 18.81 22 20`}],[`path`,{d:`M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z`}]],LF=[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`}]],RF=[[`path`,{d:`M10.747 5.093a6 6 0 0 1 6.841-2.882c.438.12.54.662.219.984L14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-2.882 6.842`}],[`path`,{d:`m13.5 13.5-7.88 7.88a1 1 0 0 1-2.999-3l7.88-7.88`}],[`path`,{d:`m2 2 20 20`}]],zF=[[`path`,{d:`M18 4H6`}],[`path`,{d:`M18 8 6 20`}],[`path`,{d:`m6 8 12 12`}]],BF=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]],VF=[[`path`,{d:`M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317`}],[`path`,{d:`M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773`}],[`path`,{d:`M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643`}],[`path`,{d:`m2 2 20 20`}]],HF=[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`}]],UF=[[`path`,{d:`m2 10 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.096-.001l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 10`}],[`path`,{d:`m2 18.002 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.097 0l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 18.002`}]],WF=[[`path`,{d:`M12 7.5a4.5 4.5 0 1 1 5 4.5`}],[`path`,{d:`M7 12a4.5 4.5 0 1 1 5-4.5V21`}]],GF=[[`path`,{d:`M21 14.5A9 6.5 0 0 1 5.5 19`}],[`path`,{d:`M3 9.5A9 6.5 0 0 1 18.5 5`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`3.5`}],[`circle`,{cx:`6.5`,cy:`9.5`,r:`3.5`}]],KF=[[`path`,{d:`M16 4.525v14.948`}],[`path`,{d:`M20 3A17 17 0 0 1 4 3`}],[`path`,{d:`M4 21a17 17 0 0 1 16 0`}],[`path`,{d:`M8 4.525v14.948`}]],qF=[[`path`,{d:`M11 21a3 3 0 0 0 3-3V6.5a1 1 0 0 0-7 0`}],[`path`,{d:`M7 19V6a3 3 0 0 0-3-3h0`}],[`circle`,{cx:`17`,cy:`17`,r:`3`}]],JF=[[`path`,{d:`M3 16h6.857c.162-.012.19-.323.038-.38a6 6 0 1 1 4.212 0c-.153.057-.125.368.038.38H21`}],[`path`,{d:`M3 20h18`}]],YF=[[`path`,{d:`M10 16c0-4-3-4.5-3-8a5 5 0 0 1 10 0c0 3.466-3 6.196-3 10a3 3 0 0 0 6 0`}],[`circle`,{cx:`7`,cy:`16`,r:`3`}]],XF=[[`path`,{d:`M3 10A6.06 6.06 0 0 1 12 10 A6.06 6.06 0 0 0 21 10`}],[`path`,{d:`M6 3v12a6 6 0 0 0 12 0V3`}]],ZF=[[`path`,{d:`M19 21a15 15 0 0 1 0-18`}],[`path`,{d:`M20 12H4`}],[`path`,{d:`M5 3a15 15 0 0 1 0 18`}]],QF=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`M21 3 3 21`}],[`path`,{d:`m9 9 6 6`}]],$F=[[`circle`,{cx:`12`,cy:`15`,r:`6`}],[`path`,{d:`M18 3A6 6 0 0 1 6 3`}]],eI=[[`path`,{d:`M10 19V5.5a1 1 0 0 1 5 0V17a2 2 0 0 0 2 2h5l-3-3`}],[`path`,{d:`m22 19-3 3`}],[`path`,{d:`M5 19V5.5a1 1 0 0 1 5 0`}],[`path`,{d:`M5 5.5A2.5 2.5 0 0 0 2.5 3`}]],tI=[[`path`,{d:`M11 5.5a1 1 0 0 1 5 0V16a5 5 0 0 0 5 5`}],[`path`,{d:`M16 11.5a1 1 0 0 1 5 0V16a5 5 0 0 1-5 5`}],[`path`,{d:`M6 19V6a3 3 0 0 0-3-3h0`}],[`path`,{d:`M6 5.5a1 1 0 0 1 5 0V19`}]],nI=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`}]],rI=[[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`}]],iI=t({AArrowDown:()=>ga,AArrowUp:()=>_a,ALargeSmall:()=>ba,Accessibility:()=>va,Activity:()=>ya,ActivitySquare:()=>Hk,Ad:()=>xa,AirVent:()=>Sa,Airplay:()=>Ca,AlarmCheck:()=>Ta,AlarmClock:()=>Oa,AlarmClockCheck:()=>Ta,AlarmClockMinus:()=>wa,AlarmClockOff:()=>Ea,AlarmClockPlus:()=>Da,AlarmMinus:()=>wa,AlarmPlus:()=>Da,AlarmSmoke:()=>ka,Album:()=>Aa,AlertCircle:()=>id,AlertOctagon:()=>YC,AlertTriangle:()=>kN,AlignCenter:()=>EM,AlignCenterHorizontal:()=>ja,AlignCenterVertical:()=>Ma,AlignEndHorizontal:()=>Na,AlignEndVertical:()=>Fa,AlignHorizontalDistributeCenter:()=>Pa,AlignHorizontalDistributeEnd:()=>Ia,AlignHorizontalDistributeStart:()=>La,AlignHorizontalJustifyCenter:()=>Ra,AlignHorizontalJustifyEnd:()=>za,AlignHorizontalJustifyStart:()=>Ba,AlignHorizontalSpaceAround:()=>Va,AlignHorizontalSpaceBetween:()=>Ua,AlignJustify:()=>OM,AlignLeft:()=>kM,AlignRight:()=>DM,AlignStartHorizontal:()=>Ha,AlignStartVertical:()=>Wa,AlignVerticalDistributeCenter:()=>Ga,AlignVerticalDistributeEnd:()=>Ka,AlignVerticalDistributeStart:()=>qa,AlignVerticalJustifyCenter:()=>Ja,AlignVerticalJustifyEnd:()=>Ya,AlignVerticalJustifyStart:()=>Xa,AlignVerticalSpaceAround:()=>Za,AlignVerticalSpaceBetween:()=>Qa,Ambulance:()=>$a,Ampersand:()=>to,Ampersands:()=>eo,Amphora:()=>no,Anchor:()=>ro,Angry:()=>io,Annoyed:()=>ao,Antenna:()=>oo,Anvil:()=>so,Aperture:()=>co,AppWindow:()=>fo,AppWindowMac:()=>lo,Apple:()=>uo,Archive:()=>go,ArchiveRestore:()=>po,ArchiveX:()=>mo,AreaChart:()=>lu,Armchair:()=>ho,ArrowBigDown:()=>vo,ArrowBigDownDash:()=>_o,ArrowBigLeft:()=>bo,ArrowBigLeftDash:()=>yo,ArrowBigRight:()=>So,ArrowBigRightDash:()=>xo,ArrowBigUp:()=>wo,ArrowBigUpDash:()=>Co,ArrowDown:()=>Ro,ArrowDown01:()=>To,ArrowDown10:()=>Eo,ArrowDownAZ:()=>Oo,ArrowDownAz:()=>Oo,ArrowDownCircle:()=>ad,ArrowDownFromLine:()=>Do,ArrowDownLeft:()=>ko,ArrowDownLeftFromCircle:()=>sd,ArrowDownLeftFromSquare:()=>qk,ArrowDownLeftSquare:()=>Uk,ArrowDownNarrowWide:()=>Ao,ArrowDownRight:()=>jo,ArrowDownRightFromCircle:()=>cd,ArrowDownRightFromSquare:()=>Jk,ArrowDownRightSquare:()=>Wk,ArrowDownSquare:()=>Gk,ArrowDownToDot:()=>No,ArrowDownToLine:()=>Mo,ArrowDownUp:()=>Po,ArrowDownWideNarrow:()=>Fo,ArrowDownZA:()=>Io,ArrowDownZa:()=>Io,ArrowLeft:()=>Vo,ArrowLeftCircle:()=>od,ArrowLeftFromLine:()=>Lo,ArrowLeftRight:()=>zo,ArrowLeftSquare:()=>Kk,ArrowLeftToLine:()=>Bo,ArrowRight:()=>Go,ArrowRightCircle:()=>dd,ArrowRightFromLine:()=>Ho,ArrowRightLeft:()=>Uo,ArrowRightSquare:()=>$k,ArrowRightToLine:()=>Wo,ArrowUp:()=>is,ArrowUp01:()=>Ko,ArrowUp10:()=>qo,ArrowUpAZ:()=>Jo,ArrowUpAz:()=>Jo,ArrowUpCircle:()=>fd,ArrowUpDown:()=>Yo,ArrowUpFromDot:()=>Xo,ArrowUpFromLine:()=>Zo,ArrowUpLeft:()=>Qo,ArrowUpLeftFromCircle:()=>ld,ArrowUpLeftFromSquare:()=>Yk,ArrowUpLeftSquare:()=>eA,ArrowUpNarrowWide:()=>$o,ArrowUpRight:()=>es,ArrowUpRightFromCircle:()=>ud,ArrowUpRightFromSquare:()=>Xk,ArrowUpRightSquare:()=>tA,ArrowUpSquare:()=>nA,ArrowUpToLine:()=>ts,ArrowUpWideNarrow:()=>ns,ArrowUpZA:()=>rs,ArrowUpZa:()=>rs,ArrowsUpFromLine:()=>os,Asterisk:()=>as,AsteriskSquare:()=>rA,Astroid:()=>ss,AtSign:()=>cs,Atom:()=>ls,AudioLines:()=>us,AudioWaveform:()=>ps,Award:()=>ds,Axe:()=>fs,Axis3D:()=>ms,Axis3d:()=>ms,Baby:()=>gs,Backpack:()=>hs,Badge:()=>Ps,BadgeAlert:()=>_s,BadgeCent:()=>vs,BadgeCheck:()=>ys,BadgeDollarSign:()=>bs,BadgeEuro:()=>xs,BadgeHelp:()=>ks,BadgeIndianRupee:()=>Ss,BadgeInfo:()=>Cs,BadgeJapaneseYen:()=>ws,BadgeMinus:()=>Ts,BadgePercent:()=>Es,BadgePlus:()=>Ds,BadgePoundSterling:()=>Os,BadgeQuestionMark:()=>ks,BadgeRussianRuble:()=>As,BadgeSwissFranc:()=>js,BadgeTurkishLira:()=>Ms,BadgeX:()=>Ns,BaggageClaim:()=>Fs,Balloon:()=>Is,Ban:()=>Ls,Banana:()=>Rs,Bandage:()=>zs,Banknote:()=>Ws,BanknoteArrowDown:()=>Bs,BanknoteArrowUp:()=>Vs,BanknoteCheck:()=>Hs,BanknoteX:()=>Us,BarChart:()=>wu,BarChart2:()=>Tu,BarChart3:()=>bu,BarChart4:()=>vu,BarChartBig:()=>gu,BarChartHorizontal:()=>mu,BarChartHorizontalBig:()=>uu,Barcode:()=>Gs,Barrel:()=>Ks,Baseline:()=>qs,Bath:()=>Js,Battery:()=>tc,BatteryCharging:()=>Ys,BatteryFull:()=>Xs,BatteryLow:()=>Zs,BatteryMedium:()=>Qs,BatteryPlus:()=>$s,BatteryWarning:()=>ec,Beaker:()=>nc,Bean:()=>ic,BeanOff:()=>rc,Bed:()=>sc,BedDouble:()=>ac,BedSingle:()=>oc,Beef:()=>lc,BeefOff:()=>cc,Beer:()=>dc,BeerOff:()=>uc,Bell:()=>yc,BellCheck:()=>pc,BellDot:()=>fc,BellElectric:()=>mc,BellMinus:()=>hc,BellOff:()=>gc,BellPlus:()=>_c,BellRing:()=>vc,BetweenHorizonalEnd:()=>bc,BetweenHorizonalStart:()=>xc,BetweenHorizontalEnd:()=>bc,BetweenHorizontalStart:()=>xc,BetweenVerticalEnd:()=>Sc,BetweenVerticalStart:()=>Cc,BicepsFlexed:()=>wc,Bike:()=>Tc,Binary:()=>Ec,Binoculars:()=>Oc,Biohazard:()=>Dc,Bird:()=>kc,Birdhouse:()=>Ac,Bitcoin:()=>jc,Blend:()=>Mc,Blender:()=>Pc,Blinds:()=>Nc,Blocks:()=>Fc,Bluetooth:()=>zc,BluetoothConnected:()=>Ic,BluetoothOff:()=>Lc,BluetoothSearching:()=>Rc,Bold:()=>Bc,Bolt:()=>Vc,Bomb:()=>Hc,Bone:()=>Wc,BoneFracture:()=>Uc,Book:()=>see,BookA:()=>Gc,BookAlert:()=>Kc,BookAudio:()=>qc,BookCheck:()=>Jc,BookCopy:()=>Yc,BookDashed:()=>Xc,BookDown:()=>Zc,BookHeadphones:()=>Qc,BookHeart:()=>$c,BookImage:()=>el,BookKey:()=>tl,BookLock:()=>nl,BookMarked:()=>rl,BookMinus:()=>il,BookOpen:()=>sl,BookOpenCheck:()=>al,BookOpenText:()=>ol,BookPlus:()=>cl,BookSearch:()=>eee,BookTemplate:()=>Xc,BookText:()=>tee,BookType:()=>nee,BookUp:()=>iee,BookUp2:()=>ree,BookUser:()=>aee,BookX:()=>oee,Bookmark:()=>pee,BookmarkCheck:()=>cee,BookmarkMinus:()=>lee,BookmarkOff:()=>uee,BookmarkPlus:()=>dee,BookmarkX:()=>fee,BoomBox:()=>hee,Bot:()=>_ee,BotMessageSquare:()=>mee,BotOff:()=>gee,BottleWine:()=>vee,BowArrow:()=>yee,Box:()=>bee,BoxSelect:()=>xA,Boxes:()=>xee,Braces:()=>ll,Brackets:()=>See,Brain:()=>Tee,BrainCircuit:()=>Cee,BrainCog:()=>wee,BrickWall:()=>Dee,BrickWallFire:()=>Oee,BrickWallShield:()=>Eee,Briefcase:()=>Mee,BriefcaseBusiness:()=>kee,BriefcaseConveyorBelt:()=>Aee,BriefcaseMedical:()=>jee,BringToFront:()=>Fee,Broccoli:()=>Nee,Brush:()=>Iee,BrushCleaning:()=>Pee,Bubbles:()=>Lee,Bug:()=>Bee,BugOff:()=>Ree,BugPlay:()=>zee,Building:()=>Hee,Building2:()=>Vee,Bus:()=>dl,BusFront:()=>ul,Cable:()=>pl,CableCar:()=>fl,Cake:()=>hl,CakeSlice:()=>ml,Calculator:()=>gl,Calendar:()=>Ll,Calendar1:()=>_l,CalendarArrowDown:()=>vl,CalendarArrowUp:()=>yl,CalendarCheck:()=>bl,CalendarCheck2:()=>xl,CalendarClock:()=>Sl,CalendarCog:()=>Cl,CalendarDays:()=>wl,CalendarFold:()=>Tl,CalendarHeart:()=>Dl,CalendarMinus:()=>Ol,CalendarMinus2:()=>El,CalendarOff:()=>kl,CalendarPlus:()=>jl,CalendarPlus2:()=>Al,CalendarRange:()=>Ml,CalendarSearch:()=>Nl,CalendarSync:()=>Pl,CalendarX:()=>Il,CalendarX2:()=>Fl,Calendars:()=>Rl,Camera:()=>Bl,CameraOff:()=>zl,CandlestickChart:()=>hu,Candy:()=>Hl,CandyCane:()=>Vl,CandyOff:()=>Ul,Cannabis:()=>Wl,CannabisOff:()=>Gl,Captions:()=>ql,CaptionsOff:()=>Kl,Car:()=>Xl,CarFront:()=>Jl,CarTaxiFront:()=>Yl,Caravan:()=>Zl,CardSim:()=>Ql,Carrot:()=>$l,CaseLower:()=>eu,CaseSensitive:()=>tu,CaseUpper:()=>nu,CassetteTape:()=>ru,Cast:()=>iu,Castle:()=>au,Cat:()=>ou,Cctv:()=>cu,CctvOff:()=>su,ChartArea:()=>lu,ChartBar:()=>mu,ChartBarBig:()=>uu,ChartBarDecreasing:()=>fu,ChartBarIncreasing:()=>du,ChartBarStacked:()=>pu,ChartCandlestick:()=>hu,ChartColumn:()=>bu,ChartColumnBig:()=>gu,ChartColumnDecreasing:()=>_u,ChartColumnIncreasing:()=>vu,ChartColumnStacked:()=>yu,ChartGantt:()=>xu,ChartLine:()=>Su,ChartNetwork:()=>Eu,ChartNoAxesColumn:()=>Tu,ChartNoAxesColumnDecreasing:()=>Cu,ChartNoAxesColumnIncreasing:()=>wu,ChartNoAxesCombined:()=>Du,ChartNoAxesGantt:()=>Ou,ChartPie:()=>ku,ChartScatter:()=>Au,ChartSpline:()=>ju,Check:()=>Pu,CheckCheck:()=>Mu,CheckCircle:()=>pd,CheckCircle2:()=>md,CheckLine:()=>Nu,CheckSquare:()=>cA,CheckSquare2:()=>lA,ChefHat:()=>Fu,Cherry:()=>Iu,ChessBishop:()=>Ru,ChessKing:()=>Lu,ChessKnight:()=>zu,ChessPawn:()=>Bu,ChessQueen:()=>Vu,ChessRook:()=>Hu,ChevronDown:()=>Uu,ChevronDownCircle:()=>hd,ChevronDownSquare:()=>uA,ChevronFirst:()=>Gu,ChevronLast:()=>Wu,ChevronLeft:()=>Ku,ChevronLeftCircle:()=>gd,ChevronLeftSquare:()=>dA,ChevronRight:()=>qu,ChevronRightCircle:()=>_d,ChevronRightSquare:()=>fA,ChevronUp:()=>Ju,ChevronUpCircle:()=>vd,ChevronUpSquare:()=>pA,ChevronsDown:()=>Yu,ChevronsDownUp:()=>Xu,ChevronsLeft:()=>Uee,ChevronsLeftRight:()=>Qu,ChevronsLeftRightEllipsis:()=>Zu,ChevronsRight:()=>Gee,ChevronsRightLeft:()=>Wee,ChevronsUp:()=>ed,ChevronsUpDown:()=>$u,Church:()=>td,Cigarette:()=>rd,CigaretteOff:()=>nd,Circle:()=>Xd,CircleAlert:()=>id,CircleArrowDown:()=>ad,CircleArrowLeft:()=>od,CircleArrowOutDownLeft:()=>sd,CircleArrowOutDownRight:()=>cd,CircleArrowOutUpLeft:()=>ld,CircleArrowOutUpRight:()=>ud,CircleArrowRight:()=>dd,CircleArrowUp:()=>fd,CircleCheck:()=>md,CircleCheckBig:()=>pd,CircleChevronDown:()=>hd,CircleChevronLeft:()=>gd,CircleChevronRight:()=>_d,CircleChevronUp:()=>vd,CircleDashed:()=>yd,CircleDivide:()=>bd,CircleDollarSign:()=>xd,CircleDot:()=>Cd,CircleDotDashed:()=>Sd,CircleEllipsis:()=>wd,CircleEqual:()=>Td,CircleEuro:()=>Ed,CircleFadingArrowUp:()=>Dd,CircleFadingPlus:()=>kd,CircleGauge:()=>Od,CircleHelp:()=>Vd,CircleMinus:()=>Ad,CircleOff:()=>jd,CircleParking:()=>Nd,CircleParkingOff:()=>Md,CirclePause:()=>Pd,CirclePercent:()=>Fd,CirclePile:()=>Id,CirclePlay:()=>Ld,CirclePlus:()=>Rd,CirclePoundSterling:()=>zd,CirclePower:()=>Bd,CircleQuestionMark:()=>Vd,CircleSlash:()=>Hd,CircleSlash2:()=>Ud,CircleSlashed:()=>Ud,CircleSmall:()=>Wd,CircleStar:()=>Gd,CircleStop:()=>Kd,CircleUser:()=>Jd,CircleUserRound:()=>qd,CircleX:()=>Yd,CircuitBoard:()=>Zd,Citrus:()=>Qd,Clapperboard:()=>$d,Clipboard:()=>ff,ClipboardCheck:()=>tf,ClipboardClock:()=>ef,ClipboardCopy:()=>nf,ClipboardEdit:()=>cf,ClipboardList:()=>rf,ClipboardMinus:()=>af,ClipboardPaste:()=>of,ClipboardPen:()=>cf,ClipboardPenLine:()=>sf,ClipboardPlus:()=>lf,ClipboardSignature:()=>sf,ClipboardType:()=>uf,ClipboardX:()=>df,Clock:()=>Nf,Clock1:()=>pf,Clock10:()=>mf,Clock11:()=>hf,Clock12:()=>gf,Clock2:()=>_f,Clock3:()=>vf,Clock4:()=>yf,Clock5:()=>bf,Clock6:()=>xf,Clock7:()=>Sf,Clock8:()=>wf,Clock9:()=>Cf,ClockAlert:()=>Tf,ClockArrowDown:()=>Ef,ClockArrowLeft:()=>Df,ClockArrowRight:()=>Of,ClockArrowUp:()=>kf,ClockCheck:()=>Af,ClockFading:()=>jf,ClockPlus:()=>Mf,ClosedCaption:()=>Pf,Cloud:()=>ep,CloudAlert:()=>Ff,CloudBackup:()=>Lf,CloudCheck:()=>If,CloudCog:()=>Rf,CloudDownload:()=>zf,CloudDrizzle:()=>Vf,CloudFog:()=>Bf,CloudHail:()=>Hf,CloudLightning:()=>Uf,CloudMoon:()=>Gf,CloudMoonRain:()=>Wf,CloudOff:()=>Kf,CloudRain:()=>Jf,CloudRainWind:()=>qf,CloudSnow:()=>Yf,CloudSun:()=>Zf,CloudSunRain:()=>Xf,CloudSync:()=>Qf,CloudUpload:()=>$f,Cloudy:()=>tp,Clover:()=>np,Club:()=>rp,Code:()=>ap,Code2:()=>ip,CodeSquare:()=>mA,CodeXml:()=>ip,Coffee:()=>op,Cog:()=>sp,Coins:()=>cp,Columns:()=>lp,Columns2:()=>lp,Columns3:()=>dp,Columns3Cog:()=>up,Columns4:()=>fp,ColumnsSettings:()=>up,Combine:()=>mp,Command:()=>pp,Compass:()=>hp,Component:()=>gp,Computer:()=>_p,ConciergeBell:()=>vp,Cone:()=>yp,Construction:()=>xp,Contact:()=>Sp,Contact2:()=>bp,ContactRound:()=>bp,Container:()=>Cp,Contrast:()=>wp,Cookie:()=>Tp,CookingPot:()=>Ep,Copy:()=>Mp,CopyCheck:()=>Dp,CopyMinus:()=>Op,CopyPlus:()=>kp,CopySlash:()=>Ap,CopyX:()=>jp,Copyleft:()=>Np,Copyright:()=>Pp,CornerDownLeft:()=>Fp,CornerDownRight:()=>Ip,CornerLeftDown:()=>Rp,CornerLeftUp:()=>Lp,CornerRightDown:()=>zp,CornerRightUp:()=>Bp,CornerUpLeft:()=>Vp,CornerUpRight:()=>Hp,Cpu:()=>Up,CreativeCommons:()=>Wp,CreditCard:()=>Gp,Croissant:()=>Kp,Crop:()=>qp,Cross:()=>Jp,Crosshair:()=>Yp,Crown:()=>Qp,Cuboid:()=>Xp,CupSoda:()=>Zp,CurlyBraces:()=>ll,Currency:()=>$p,Cylinder:()=>em,Dam:()=>tm,Database:()=>dm,DatabaseArrowDown:()=>nm,DatabaseArrowUp:()=>rm,DatabaseBackup:()=>am,DatabaseCheck:()=>im,DatabaseMinus:()=>om,DatabasePlus:()=>sm,DatabaseSearch:()=>cm,DatabaseX:()=>lm,DatabaseZap:()=>um,DecimalsArrowLeft:()=>pm,DecimalsArrowRight:()=>fm,Delete:()=>mm,Dessert:()=>hm,Diameter:()=>gm,Diamond:()=>bm,DiamondMinus:()=>_m,DiamondPercent:()=>vm,DiamondPlus:()=>ym,Dice1:()=>xm,Dice2:()=>Sm,Dice3:()=>Cm,Dice4:()=>wm,Dice5:()=>Tm,Dice6:()=>Dm,Dices:()=>Em,Diff:()=>Om,Disc:()=>Nm,Disc2:()=>km,Disc3:()=>Am,DiscAlbum:()=>Mm,Divide:()=>jm,DivideCircle:()=>bd,DivideSquare:()=>SA,Dna:()=>Fm,DnaOff:()=>Pm,Dock:()=>Im,Dog:()=>Lm,DollarSign:()=>Rm,Donut:()=>zm,DoorClosed:()=>Vm,DoorClosedLocked:()=>Bm,DoorOpen:()=>Hm,Dot:()=>Um,DotSquare:()=>CA,Download:()=>Wm,DownloadCloud:()=>zf,DraftingCompass:()=>qm,Drama:()=>Gm,Drill:()=>Km,Drone:()=>Jm,Droplet:()=>Xm,DropletOff:()=>Ym,Droplets:()=>Zm,Drum:()=>Qm,Drumstick:()=>$m,Dumbbell:()=>eh,Ear:()=>nh,EarOff:()=>th,Earth:()=>ah,EarthLock:()=>rh,Eclipse:()=>ih,Edit:()=>FA,Edit2:()=>Zw,Edit3:()=>Jw,Egg:()=>ch,EggFried:()=>oh,EggOff:()=>sh,Ellipse:()=>lh,Ellipsis:()=>dh,EllipsisVertical:()=>uh,Equal:()=>mh,EqualApproximately:()=>fh,EqualNot:()=>ph,EqualSquare:()=>wA,Eraser:()=>hh,EthernetPort:()=>gh,Euro:()=>_h,EvCharger:()=>vh,Expand:()=>yh,ExternalLink:()=>bh,Eye:()=>wh,EyeClosed:()=>xh,EyeDashed:()=>Sh,EyeOff:()=>Ch,Factory:()=>Th,Fan:()=>Eh,FastForward:()=>Dh,Feather:()=>kh,Fence:()=>Oh,FerrisWheel:()=>Ah,File:()=>jg,FileArchive:()=>jh,FileAudio:()=>Zh,FileAudio2:()=>Zh,FileAxis3D:()=>Mh,FileAxis3d:()=>Mh,FileBadge:()=>Nh,FileBadge2:()=>Nh,FileBarChart:()=>Lh,FileBarChart2:()=>Rh,FileBox:()=>Ph,FileBraces:()=>Ih,FileBracesCorner:()=>Fh,FileChartColumn:()=>Rh,FileChartColumnIncreasing:()=>Lh,FileChartLine:()=>Bh,FileChartPie:()=>zh,FileCheck:()=>Hh,FileCheck2:()=>Vh,FileCheckCorner:()=>Vh,FileClock:()=>Wh,FileCode:()=>Gh,FileCode2:()=>Uh,FileCodeCorner:()=>Uh,FileCog:()=>Kh,FileCog2:()=>Kh,FileDiff:()=>Jh,FileDigit:()=>qh,FileDown:()=>Yh,FileEdit:()=>cg,FileExclamationPoint:()=>Xh,FileHeadphone:()=>Zh,FileHeart:()=>Qh,FileImage:()=>$h,FileInput:()=>eg,FileJson:()=>Ih,FileJson2:()=>Fh,FileKey:()=>tg,FileKey2:()=>tg,FileLineChart:()=>Bh,FileLock:()=>ng,FileLock2:()=>ng,FileMinus:()=>ig,FileMinus2:()=>rg,FileMinusCorner:()=>rg,FileMusic:()=>ag,FileOutput:()=>og,FilePen:()=>cg,FilePenLine:()=>sg,FilePieChart:()=>zh,FilePlay:()=>lg,FilePlus:()=>dg,FilePlus2:()=>ug,FilePlusCorner:()=>ug,FileQuestion:()=>fg,FileQuestionMark:()=>fg,FileScan:()=>pg,FileSearch:()=>hg,FileSearch2:()=>mg,FileSearchCorner:()=>mg,FileSignal:()=>_g,FileSignature:()=>sg,FileSliders:()=>gg,FileSpreadsheet:()=>vg,FileStack:()=>bg,FileSymlink:()=>yg,FileTerminal:()=>xg,FileText:()=>Sg,FileType:()=>wg,FileType2:()=>Cg,FileTypeCorner:()=>Cg,FileUp:()=>Tg,FileUser:()=>Eg,FileVideo:()=>lg,FileVideo2:()=>Dg,FileVideoCamera:()=>Dg,FileVolume:()=>Og,FileVolume2:()=>_g,FileWarning:()=>Xh,FileX:()=>Ag,FileX2:()=>kg,FileXCorner:()=>kg,Files:()=>Mg,Film:()=>Ng,Filter:()=>K_,FilterX:()=>G_,Fingerprint:()=>Pg,FingerprintPattern:()=>Pg,FireExtinguisher:()=>Fg,Fish:()=>Rg,FishOff:()=>Ig,FishSymbol:()=>Lg,FishingHook:()=>zg,FishingRod:()=>Bg,Flag:()=>Wg,FlagOff:()=>Vg,FlagTriangleLeft:()=>Hg,FlagTriangleRight:()=>Ug,Flame:()=>Kg,FlameKindling:()=>Gg,Flashlight:()=>Jg,FlashlightOff:()=>qg,FlaskConical:()=>Xg,FlaskConicalOff:()=>Yg,FlaskRound:()=>Zg,FlipHorizontal:()=>aA,FlipHorizontal2:()=>Qg,FlipVertical:()=>oA,FlipVertical2:()=>Kee,Flower:()=>$g,Flower2:()=>e_,Focus:()=>t_,FoldHorizontal:()=>n_,FoldVertical:()=>r_,Folder:()=>P_,FolderArchive:()=>i_,FolderBookmark:()=>o_,FolderCheck:()=>a_,FolderClock:()=>s_,FolderClosed:()=>c_,FolderCode:()=>l_,FolderCog:()=>u_,FolderCog2:()=>u_,FolderDot:()=>d_,FolderDown:()=>f_,FolderEdit:()=>T_,FolderGit:()=>m_,FolderGit2:()=>p_,FolderHeart:()=>h_,FolderInput:()=>g_,FolderKanban:()=>__,FolderKey:()=>v_,FolderLock:()=>y_,FolderMinus:()=>b_,FolderOpen:()=>S_,FolderOpenDot:()=>x_,FolderOutput:()=>C_,FolderPen:()=>T_,FolderPlus:()=>w_,FolderRoot:()=>E_,FolderSearch:()=>O_,FolderSearch2:()=>D_,FolderSymlink:()=>k_,FolderSync:()=>A_,FolderTree:()=>j_,FolderUp:()=>M_,FolderX:()=>N_,Folders:()=>F_,Footprints:()=>L_,ForkKnife:()=>AP,ForkKnifeCrossed:()=>OP,Forklift:()=>I_,Form:()=>R_,FormInput:()=>kE,Forward:()=>z_,Frame:()=>B_,Frown:()=>V_,Fuel:()=>H_,Fullscreen:()=>U_,FunctionSquare:()=>TA,Funnel:()=>K_,FunnelPlus:()=>W_,FunnelX:()=>G_,GalleryHorizontal:()=>J_,GalleryHorizontalEnd:()=>q_,GalleryThumbnails:()=>Y_,GalleryVertical:()=>X_,GalleryVerticalEnd:()=>Z_,Gamepad:()=>ev,Gamepad2:()=>Q_,GamepadDirectional:()=>$_,GanttChart:()=>Ou,GanttChartSquare:()=>sA,Gauge:()=>tv,GaugeCircle:()=>Od,Gavel:()=>nv,Gem:()=>rv,GeorgianLari:()=>av,Ghost:()=>iv,Gift:()=>ov,GitBranch:()=>lv,GitBranchMinus:()=>sv,GitBranchPlus:()=>cv,GitCommit:()=>fv,GitCommitHorizontal:()=>fv,GitCommitVertical:()=>uv,GitCompare:()=>pv,GitCompareArrows:()=>dv,GitFork:()=>mv,GitGraph:()=>hv,GitMerge:()=>_v,GitMergeConflict:()=>gv,GitPullRequest:()=>wv,GitPullRequestArrow:()=>vv,GitPullRequestClosed:()=>yv,GitPullRequestCreate:()=>xv,GitPullRequestCreateArrow:()=>bv,GitPullRequestDraft:()=>Sv,GlassWater:()=>Cv,Glasses:()=>Tv,Globe:()=>Av,Globe2:()=>ah,GlobeCheck:()=>Ev,GlobeLock:()=>Dv,GlobeOff:()=>Ov,GlobeX:()=>kv,Goal:()=>jv,Gpu:()=>Mv,Grab:()=>Qv,GraduationCap:()=>Nv,Grape:()=>Pv,Grid:()=>Bv,Grid2X2:()=>Rv,Grid2X2Check:()=>Fv,Grid2X2Plus:()=>Iv,Grid2X2X:()=>Lv,Grid2x2:()=>Rv,Grid2x2Check:()=>Fv,Grid2x2Plus:()=>Iv,Grid2x2X:()=>Lv,Grid3X3:()=>Bv,Grid3x2:()=>zv,Grid3x3:()=>Bv,Grip:()=>Uv,GripHorizontal:()=>Vv,GripVertical:()=>Hv,Group:()=>Wv,Guitar:()=>Gv,Ham:()=>qv,Hamburger:()=>Kv,Hammer:()=>Jv,Hand:()=>ny,HandCoins:()=>Yv,HandFist:()=>Xv,HandGrab:()=>Qv,HandHeart:()=>Zv,HandHelping:()=>$v,HandMetal:()=>ey,HandPlatter:()=>ty,Handbag:()=>ry,Handshake:()=>iy,HardDrive:()=>oy,HardDriveDownload:()=>ay,HardDriveUpload:()=>sy,HardHat:()=>cy,Hash:()=>ly,HatGlasses:()=>uy,Haze:()=>dy,Hd:()=>fy,HdmiPort:()=>py,Heading:()=>Yee,Heading1:()=>my,Heading2:()=>hy,Heading3:()=>_y,Heading4:()=>gy,Heading5:()=>qee,Heading6:()=>Jee,HeadphoneOff:()=>Xee,Headphones:()=>Zee,Headset:()=>Qee,Heart:()=>ote,HeartCrack:()=>$ee,HeartHandshake:()=>ete,HeartMinus:()=>tte,HeartOff:()=>nte,HeartPlus:()=>rte,HeartPulse:()=>ite,HeartX:()=>ate,Heater:()=>ste,Helicopter:()=>cte,HelpCircle:()=>Vd,HelpingHand:()=>$v,Hexagon:()=>lte,Highlighter:()=>ute,History:()=>dte,Home:()=>vy,Hop:()=>fte,HopOff:()=>pte,Hospital:()=>mte,Hotel:()=>hte,Hourglass:()=>_te,House:()=>vy,HouseHeart:()=>gte,HousePlug:()=>yte,HousePlus:()=>vte,HouseWifi:()=>bte,IceCream:()=>by,IceCream2:()=>yy,IceCreamBowl:()=>yy,IceCreamCone:()=>by,IdCard:()=>Ste,IdCardLanyard:()=>xte,Image:()=>kte,ImageDown:()=>Cte,ImageMinus:()=>wte,ImageOff:()=>Tte,ImagePlay:()=>Ete,ImagePlus:()=>Dte,ImageUp:()=>Ote,ImageUpscale:()=>jte,Images:()=>Ate,Import:()=>Nte,Inbox:()=>Mte,Indent:()=>Pb,IndentDecrease:()=>Mb,IndentIncrease:()=>Pb,IndianRupee:()=>Pte,Infinity:()=>xy,Info:()=>Sy,Inspect:()=>jA,InspectionPanel:()=>Cy,Italic:()=>wy,IterationCcw:()=>Ty,IterationCw:()=>Ey,JapaneseYen:()=>Dy,Joystick:()=>Oy,Kanban:()=>Ay,KanbanSquare:()=>EA,KanbanSquareDashed:()=>_A,Kayak:()=>ky,Key:()=>Ny,KeyRound:()=>jy,KeySquare:()=>My,Keyboard:()=>Fy,KeyboardMusic:()=>Py,KeyboardOff:()=>Iy,Lamp:()=>Hy,LampCeiling:()=>Ly,LampDesk:()=>Ry,LampFloor:()=>zy,LampWallDown:()=>By,LampWallUp:()=>Vy,LandPlot:()=>Uy,Landmark:()=>Wy,Languages:()=>Gy,Laptop:()=>Jy,Laptop2:()=>qy,LaptopMinimal:()=>qy,LaptopMinimalCheck:()=>Ky,Lasso:()=>Xy,LassoSelect:()=>Yy,Laugh:()=>Zy,Layers:()=>eb,Layers2:()=>Qy,Layers3:()=>eb,LayersMinus:()=>$y,LayersPlus:()=>tb,Layout:()=>Rw,LayoutDashboard:()=>nb,LayoutGrid:()=>rb,LayoutList:()=>ib,LayoutPanelLeft:()=>ab,LayoutPanelTop:()=>ob,LayoutTemplate:()=>sb,Leaf:()=>cb,LeafyGreen:()=>lb,Lectern:()=>ub,LensConcave:()=>db,LensConvex:()=>fb,LetterText:()=>MM,Library:()=>mb,LibraryBig:()=>pb,LibrarySquare:()=>DA,LifeBuoy:()=>hb,Ligature:()=>gb,Lightbulb:()=>vb,LightbulbOff:()=>_b,LineChart:()=>Su,LineDotRightHorizontal:()=>bb,LineSquiggle:()=>yb,LineStyle:()=>Sb,Link:()=>wb,Link2:()=>Cb,Link2Off:()=>xb,List:()=>qb,ListCheck:()=>Tb,ListChecks:()=>Eb,ListChevronsDownUp:()=>Db,ListChevronsUpDown:()=>Ob,ListCollapse:()=>kb,ListEnd:()=>Ab,ListFilter:()=>Nb,ListFilterPlus:()=>jb,ListIndentDecrease:()=>Mb,ListIndentIncrease:()=>Pb,ListMinus:()=>Fb,ListMusic:()=>Ib,ListOrdered:()=>zb,ListPlus:()=>Lb,ListRestart:()=>Rb,ListSortAscending:()=>Bb,ListSortDescending:()=>Vb,ListStart:()=>Hb,ListTodo:()=>Gb,ListTree:()=>Ub,ListVideo:()=>Wb,ListX:()=>Kb,Loader:()=>Xb,Loader2:()=>Jb,LoaderCircle:()=>Jb,LoaderPinwheel:()=>Yb,Locate:()=>$b,LocateFixed:()=>Zb,LocateOff:()=>Qb,LocationEdit:()=>Ox,Lock:()=>rx,LockKeyhole:()=>tx,LockKeyholeOpen:()=>ex,LockOpen:()=>nx,LogIn:()=>ix,LogOut:()=>ax,Logs:()=>ox,Lollipop:()=>sx,Luggage:()=>cx,MSquare:()=>OA,Magnet:()=>lx,Mail:()=>_x,MailCheck:()=>ux,MailMinus:()=>dx,MailOpen:()=>fx,MailPlus:()=>px,MailQuestion:()=>mx,MailQuestionMark:()=>mx,MailSearch:()=>hx,MailWarning:()=>gx,MailX:()=>vx,Mailbox:()=>yx,Mails:()=>bx,Map:()=>zx,MapMinus:()=>xx,MapPin:()=>Px,MapPinCheck:()=>Cx,MapPinCheckInside:()=>Sx,MapPinHouse:()=>wx,MapPinMinus:()=>Ex,MapPinMinusInside:()=>Tx,MapPinOff:()=>Dx,MapPinPen:()=>Ox,MapPinPlus:()=>Ax,MapPinPlusInside:()=>kx,MapPinSearch:()=>jx,MapPinX:()=>Nx,MapPinXInside:()=>Mx,MapPinned:()=>Fx,MapPlus:()=>Ix,Mars:()=>Rx,MarsStroke:()=>Lx,Martini:()=>Bx,Maximize:()=>Ux,Maximize2:()=>Vx,Medal:()=>Hx,Megaphone:()=>Gx,MegaphoneOff:()=>Wx,Meh:()=>Kx,MemoryStick:()=>qx,Menu:()=>Jx,MenuSquare:()=>kA,Merge:()=>Yx,MessageCircle:()=>sS,MessageCircleCheck:()=>Xx,MessageCircleCode:()=>Zx,MessageCircleDashed:()=>Qx,MessageCircleHeart:()=>$x,MessageCircleMore:()=>eS,MessageCircleOff:()=>tS,MessageCirclePlus:()=>nS,MessageCircleQuestion:()=>rS,MessageCircleQuestionMark:()=>rS,MessageCircleReply:()=>iS,MessageCircleWarning:()=>aS,MessageCircleX:()=>oS,MessageSquare:()=>wS,MessageSquareCheck:()=>cS,MessageSquareCode:()=>lS,MessageSquareDashed:()=>dS,MessageSquareDiff:()=>uS,MessageSquareDot:()=>fS,MessageSquareHeart:()=>pS,MessageSquareLock:()=>mS,MessageSquareMore:()=>hS,MessageSquareOff:()=>gS,MessageSquarePlus:()=>_S,MessageSquareQuote:()=>yS,MessageSquareReply:()=>vS,MessageSquareShare:()=>xS,MessageSquareText:()=>bS,MessageSquareWarning:()=>SS,MessageSquareX:()=>CS,MessagesSquare:()=>TS,Metronome:()=>ES,Mic:()=>OS,Mic2:()=>kS,MicOff:()=>DS,MicVocal:()=>kS,Microchip:()=>AS,Microscope:()=>jS,Microwave:()=>MS,Milestone:()=>NS,Milk:()=>FS,MilkOff:()=>PS,Minimize:()=>LS,Minimize2:()=>IS,Minus:()=>RS,MinusCircle:()=>Ad,MinusSquare:()=>AA,MirrorRectangular:()=>zS,MirrorRound:()=>BS,Monitor:()=>tC,MonitorCheck:()=>VS,MonitorCloud:()=>WS,MonitorCog:()=>HS,MonitorDot:()=>US,MonitorDown:()=>GS,MonitorOff:()=>KS,MonitorPause:()=>qS,MonitorPlay:()=>JS,MonitorSmartphone:()=>YS,MonitorSpeaker:()=>XS,MonitorStop:()=>ZS,MonitorUp:()=>QS,MonitorX:()=>$S,Moon:()=>nC,MoonStar:()=>eC,MoreHorizontal:()=>dh,MoreVertical:()=>uh,Motorbike:()=>rC,Mountain:()=>aC,MountainSnow:()=>iC,Mouse:()=>mC,MouseLeft:()=>oC,MouseOff:()=>sC,MousePointer:()=>dC,MousePointer2:()=>uC,MousePointer2Off:()=>cC,MousePointerBan:()=>lC,MousePointerClick:()=>fC,MousePointerSquareDashed:()=>yA,MouseRight:()=>pC,Move:()=>OC,Move3D:()=>hC,Move3d:()=>hC,MoveDiagonal:()=>_C,MoveDiagonal2:()=>gC,MoveDown:()=>bC,MoveDownLeft:()=>vC,MoveDownRight:()=>yC,MoveHorizontal:()=>xC,MoveLeft:()=>SC,MoveRight:()=>CC,MoveUp:()=>EC,MoveUpLeft:()=>wC,MoveUpRight:()=>TC,MoveVertical:()=>DC,Music:()=>MC,Music2:()=>kC,Music3:()=>AC,Music4:()=>jC,Navigation:()=>IC,Navigation2:()=>PC,Navigation2Off:()=>NC,NavigationOff:()=>FC,Network:()=>LC,Newspaper:()=>RC,Nfc:()=>zC,NonBinary:()=>BC,Notebook:()=>WC,NotebookPen:()=>VC,NotebookTabs:()=>HC,NotebookText:()=>UC,NotepadText:()=>KC,NotepadTextDashed:()=>GC,Nut:()=>JC,NutOff:()=>qC,Octagon:()=>$C,OctagonAlert:()=>YC,OctagonMinus:()=>XC,OctagonPause:()=>ZC,OctagonX:()=>QC,Omega:()=>ew,Option:()=>tw,Orbit:()=>nw,Origami:()=>rw,Outdent:()=>Mb,Package:()=>dw,Package2:()=>iw,PackageCheck:()=>aw,PackageMinus:()=>ow,PackageOpen:()=>cw,PackagePlus:()=>sw,PackageSearch:()=>lw,PackageX:()=>uw,PaintBucket:()=>fw,PaintRoller:()=>pw,Paintbrush:()=>hw,Paintbrush2:()=>mw,PaintbrushVertical:()=>mw,Palette:()=>gw,Palmtree:()=>CN,Panda:()=>_w,PanelBottom:()=>xw,PanelBottomClose:()=>vw,PanelBottomDashed:()=>yw,PanelBottomInactive:()=>yw,PanelBottomOpen:()=>bw,PanelLeft:()=>Ew,PanelLeftClose:()=>Sw,PanelLeftDashed:()=>Cw,PanelLeftInactive:()=>Cw,PanelLeftOpen:()=>ww,PanelLeftRightDashed:()=>Tw,PanelRight:()=>Aw,PanelRightClose:()=>Dw,PanelRightDashed:()=>Ow,PanelRightInactive:()=>Ow,PanelRightOpen:()=>kw,PanelTop:()=>Fw,PanelTopBottomDashed:()=>jw,PanelTopClose:()=>Mw,PanelTopDashed:()=>Pw,PanelTopInactive:()=>Pw,PanelTopOpen:()=>Nw,PanelsLeftBottom:()=>Iw,PanelsLeftRight:()=>dp,PanelsRightBottom:()=>Lw,PanelsTopBottom:()=>mD,PanelsTopLeft:()=>Rw,PaperBag:()=>zw,Paperclip:()=>Bw,Parasol:()=>Vw,Parentheses:()=>Hw,ParkingCircle:()=>Nd,ParkingCircleOff:()=>Md,ParkingMeter:()=>Uw,ParkingSquare:()=>NA,ParkingSquareOff:()=>MA,PartyPopper:()=>Gw,Pause:()=>Ww,PauseCircle:()=>Pd,PauseOctagon:()=>ZC,PawPrint:()=>qw,PcCase:()=>Kw,Pen:()=>Zw,PenBox:()=>FA,PenLine:()=>Jw,PenOff:()=>Yw,PenSquare:()=>FA,PenTool:()=>Xw,Pencil:()=>nT,PencilLine:()=>Qw,PencilOff:()=>$w,PencilRuler:()=>eT,PencilSparkles:()=>tT,Pentagon:()=>rT,Percent:()=>iT,PercentCircle:()=>Fd,PercentDiamond:()=>vm,PercentSquare:()=>LA,PersonStanding:()=>aT,Phi:()=>oT,PhilippinePeso:()=>sT,Phone:()=>mT,PhoneCall:()=>cT,PhoneForwarded:()=>lT,PhoneIncoming:()=>uT,PhoneMissed:()=>dT,PhoneOff:()=>fT,PhoneOutgoing:()=>pT,Pi:()=>hT,PiSquare:()=>IA,Piano:()=>gT,Pickaxe:()=>_T,PictureInPicture:()=>yT,PictureInPicture2:()=>vT,PieChart:()=>ku,PiggyBank:()=>bT,Pilcrow:()=>CT,PilcrowLeft:()=>xT,PilcrowRight:()=>ST,PilcrowSquare:()=>RA,Pill:()=>TT,PillBottle:()=>wT,Pin:()=>DT,PinOff:()=>ET,Pipette:()=>OT,Pizza:()=>kT,Plane:()=>MT,PlaneLanding:()=>AT,PlaneTakeoff:()=>jT,Play:()=>PT,PlayCircle:()=>Ld,PlayOff:()=>NT,PlaySquare:()=>zA,Plug:()=>LT,Plug2:()=>FT,PlugZap:()=>IT,PlugZap2:()=>IT,Plus:()=>zT,PlusCircle:()=>Rd,PlusSquare:()=>BA,PocketKnife:()=>RT,Podcast:()=>BT,Podium:()=>VT,Pointer:()=>UT,PointerOff:()=>HT,Popcorn:()=>WT,Popsicle:()=>GT,PoundSterling:()=>KT,Power:()=>JT,PowerCircle:()=>Bd,PowerOff:()=>qT,PowerSquare:()=>VA,Presentation:()=>YT,Printer:()=>QT,PrinterCheck:()=>XT,PrinterX:()=>ZT,Projector:()=>$T,Proportions:()=>eE,Puzzle:()=>tE,Pyramid:()=>nE,QrCode:()=>rE,Quote:()=>iE,Rabbit:()=>sE,Radar:()=>aE,Radiation:()=>oE,Radical:()=>cE,Radio:()=>fE,RadioOff:()=>lE,RadioReceiver:()=>uE,RadioTower:()=>dE,Radius:()=>pE,Rainbow:()=>mE,Rat:()=>hE,Ratio:()=>gE,Receipt:()=>DE,ReceiptCent:()=>_E,ReceiptEuro:()=>vE,ReceiptIndianRupee:()=>yE,ReceiptJapaneseYen:()=>bE,ReceiptPoundSterling:()=>xE,ReceiptRussianRuble:()=>SE,ReceiptSwissFranc:()=>CE,ReceiptText:()=>wE,ReceiptTurkishLira:()=>TE,RectangleCircle:()=>EE,RectangleEllipsis:()=>kE,RectangleGoggles:()=>OE,RectangleHorizontal:()=>jE,RectangleVertical:()=>AE,Recycle:()=>ME,Redo:()=>FE,Redo2:()=>NE,RedoDot:()=>PE,RefreshCcw:()=>LE,RefreshCcwDot:()=>IE,RefreshCw:()=>zE,RefreshCwOff:()=>RE,Refrigerator:()=>BE,Regex:()=>VE,RemoveFormatting:()=>HE,Repeat:()=>KE,Repeat1:()=>WE,Repeat2:()=>UE,RepeatOff:()=>GE,Replace:()=>JE,ReplaceAll:()=>qE,Reply:()=>XE,ReplyAll:()=>YE,Rewind:()=>ZE,Ribbon:()=>QE,Road:()=>$E,Rocket:()=>eD,RockingChair:()=>tD,RollerCoaster:()=>nD,Rose:()=>rD,Rotate3D:()=>iD,Rotate3d:()=>iD,RotateCcw:()=>sD,RotateCcwKey:()=>aD,RotateCcwSquare:()=>oD,RotateCw:()=>lD,RotateCwSquare:()=>cD,Route:()=>uD,RouteOff:()=>dD,Router:()=>fD,Rows:()=>pD,Rows2:()=>pD,Rows3:()=>mD,Rows4:()=>hD,Rss:()=>gD,Ruler:()=>vD,RulerDimensionLine:()=>_D,RussianRuble:()=>yD,Sailboat:()=>bD,Salad:()=>xD,Sandwich:()=>SD,Satellite:()=>wD,SatelliteDish:()=>CD,SaudiRiyal:()=>TD,Save:()=>jD,SaveAll:()=>ED,SaveCheck:()=>DD,SaveOff:()=>OD,SavePen:()=>kD,SavePlus:()=>AD,Scale:()=>ND,Scale3D:()=>MD,Scale3d:()=>MD,Scaling:()=>FD,Scan:()=>WD,ScanBarcode:()=>PD,ScanBox:()=>ID,ScanEye:()=>LD,ScanFace:()=>zD,ScanHeart:()=>RD,ScanLine:()=>BD,ScanQrCode:()=>VD,ScanSearch:()=>HD,ScanText:()=>UD,ScatterChart:()=>Au,School:()=>GD,School2:()=>$N,Scissors:()=>qD,ScissorsLineDashed:()=>KD,ScissorsSquare:()=>WA,ScissorsSquareDashedBottom:()=>iA,Scooter:()=>JD,ScreenShare:()=>ZD,ScreenShareOff:()=>YD,Scroll:()=>QD,ScrollText:()=>XD,Search:()=>iO,SearchAlert:()=>$D,SearchCheck:()=>eO,SearchCode:()=>tO,SearchSlash:()=>nO,SearchX:()=>rO,Section:()=>aO,Send:()=>cO,SendHorizonal:()=>oO,SendHorizontal:()=>oO,SendToBack:()=>sO,SeparatorHorizontal:()=>lO,SeparatorVertical:()=>uO,Server:()=>hO,ServerCog:()=>dO,ServerCrash:()=>fO,ServerOff:()=>pO,ServerPlus:()=>mO,Settings:()=>_O,Settings2:()=>gO,Shapes:()=>vO,Share:()=>bO,Share2:()=>yO,Sheet:()=>SO,Shell:()=>xO,ShelvingUnit:()=>CO,Shield:()=>RO,ShieldAlert:()=>wO,ShieldBan:()=>TO,ShieldCheck:()=>EO,ShieldClose:()=>LO,ShieldCog:()=>OO,ShieldCogCorner:()=>DO,ShieldEllipsis:()=>kO,ShieldHalf:()=>AO,ShieldKeyhole:()=>jO,ShieldMinus:()=>MO,ShieldOff:()=>NO,ShieldPlus:()=>PO,ShieldQuestion:()=>FO,ShieldQuestionMark:()=>FO,ShieldUser:()=>IO,ShieldX:()=>LO,Ship:()=>VO,ShipWheel:()=>zO,Shirt:()=>BO,ShoppingBag:()=>HO,ShoppingBasket:()=>UO,ShoppingCart:()=>WO,Shovel:()=>GO,ShowerHead:()=>KO,Shredder:()=>qO,Shrimp:()=>YO,Shrink:()=>JO,Shrub:()=>XO,Shuffle:()=>ZO,Sidebar:()=>Ew,SidebarClose:()=>Sw,SidebarOpen:()=>ww,Sigma:()=>QO,SigmaSquare:()=>GA,Signal:()=>rk,SignalHigh:()=>$O,SignalLow:()=>ek,SignalMedium:()=>tk,SignalZero:()=>nk,Signature:()=>ik,Signpost:()=>ok,SignpostBig:()=>ak,Siren:()=>ck,SkipBack:()=>sk,SkipForward:()=>lk,Skull:()=>uk,Slash:()=>dk,SlashSquare:()=>KA,Slice:()=>fk,Sliders:()=>hk,SlidersHorizontal:()=>pk,SlidersVertical:()=>hk,Smartphone:()=>_k,SmartphoneCharging:()=>mk,SmartphoneNfc:()=>gk,Smile:()=>yk,SmilePlus:()=>vk,Snail:()=>bk,Snowflake:()=>xk,SoapDispenserDroplet:()=>Sk,Sofa:()=>Ck,SolarPanel:()=>wk,SortAsc:()=>$o,SortDesc:()=>Fo,Soup:()=>Tk,Space:()=>Ek,Spade:()=>Ok,Sparkle:()=>Dk,Sparkles:()=>kk,Speaker:()=>Ak,Speech:()=>jk,SpellCheck:()=>Nk,SpellCheck2:()=>Mk,Spline:()=>Fk,SplinePointer:()=>Pk,Split:()=>Ik,SplitSquareHorizontal:()=>qA,SplitSquareVertical:()=>JA,Spool:()=>Rk,SportShoe:()=>Lk,Spotlight:()=>zk,SprayCan:()=>Bk,Sprout:()=>Vk,Square:()=>rj,SquareActivity:()=>Hk,SquareArrowDown:()=>Gk,SquareArrowDownLeft:()=>Uk,SquareArrowDownRight:()=>Wk,SquareArrowLeft:()=>Kk,SquareArrowOutDownLeft:()=>qk,SquareArrowOutDownRight:()=>Jk,SquareArrowOutUpLeft:()=>Yk,SquareArrowOutUpRight:()=>Xk,SquareArrowRight:()=>$k,SquareArrowRightEnter:()=>Zk,SquareArrowRightExit:()=>Qk,SquareArrowUp:()=>nA,SquareArrowUpLeft:()=>eA,SquareArrowUpRight:()=>tA,SquareAsterisk:()=>rA,SquareBottomDashedScissors:()=>iA,SquareCenterlineDashedHorizontal:()=>aA,SquareCenterlineDashedVertical:()=>oA,SquareChartGantt:()=>sA,SquareCheck:()=>lA,SquareCheckBig:()=>cA,SquareChevronDown:()=>uA,SquareChevronLeft:()=>dA,SquareChevronRight:()=>fA,SquareChevronUp:()=>pA,SquareCode:()=>mA,SquareDashed:()=>xA,SquareDashedBottom:()=>gA,SquareDashedBottomCode:()=>hA,SquareDashedKanban:()=>_A,SquareDashedMousePointer:()=>yA,SquareDashedText:()=>vA,SquareDashedTopSolid:()=>bA,SquareDivide:()=>SA,SquareDot:()=>CA,SquareEqual:()=>wA,SquareFunction:()=>TA,SquareGanttChart:()=>sA,SquareKanban:()=>EA,SquareLibrary:()=>DA,SquareM:()=>OA,SquareMenu:()=>kA,SquareMinus:()=>AA,SquareMousePointer:()=>jA,SquareParking:()=>NA,SquareParkingOff:()=>MA,SquarePause:()=>PA,SquarePen:()=>FA,SquarePercent:()=>LA,SquarePi:()=>IA,SquarePilcrow:()=>RA,SquarePlay:()=>zA,SquarePlus:()=>BA,SquarePower:()=>VA,SquareRadical:()=>HA,SquareRoundCorner:()=>UA,SquareScissors:()=>WA,SquareSigma:()=>GA,SquareSlash:()=>KA,SquareSplitHorizontal:()=>qA,SquareSplitVertical:()=>JA,SquareSquare:()=>YA,SquareStack:()=>XA,SquareStar:()=>ZA,SquareStop:()=>QA,SquareTerminal:()=>$A,SquareUser:()=>tj,SquareUserRound:()=>ej,SquareX:()=>nj,SquaresExclude:()=>ij,SquaresIntersect:()=>aj,SquaresSubtract:()=>oj,SquaresUnite:()=>sj,Squircle:()=>lj,SquircleDashed:()=>cj,Squirrel:()=>uj,Stamp:()=>dj,Star:()=>vj,StarCheck:()=>fj,StarHalf:()=>pj,StarMinus:()=>mj,StarOff:()=>hj,StarPlus:()=>gj,StarX:()=>_j,Stars:()=>kk,StepBack:()=>yj,StepForward:()=>bj,Stethoscope:()=>Sj,Sticker:()=>xj,StickyNote:()=>Oj,StickyNoteCheck:()=>Cj,StickyNoteMinus:()=>wj,StickyNoteOff:()=>Tj,StickyNotePlus:()=>Dj,StickyNoteX:()=>Ej,StickyNotes:()=>kj,Stone:()=>Aj,StopCircle:()=>Kd,Store:()=>jj,StretchHorizontal:()=>Mj,StretchVertical:()=>Nj,Strikethrough:()=>Pj,Subscript:()=>Fj,Subtitles:()=>ql,Summary:()=>Ij,Sun:()=>Vj,SunDim:()=>Lj,SunMedium:()=>Rj,SunMoon:()=>zj,SunSnow:()=>Bj,Sunrise:()=>Hj,Sunset:()=>Uj,Superscript:()=>Gj,SwatchBook:()=>Wj,SwissFranc:()=>Kj,SwitchCamera:()=>qj,Sword:()=>Jj,Swords:()=>Xj,Syringe:()=>Yj,Table:()=>iM,Table2:()=>Zj,TableCellsMerge:()=>Qj,TableCellsSplit:()=>$j,TableColumnsSplit:()=>eM,TableConfig:()=>up,TableOfContents:()=>tM,TableProperties:()=>nM,TableRowsSplit:()=>rM,Tablet:()=>oM,TabletSmartphone:()=>aM,Tablets:()=>sM,Tag:()=>uM,TagPlus:()=>cM,TagX:()=>lM,Tags:()=>dM,Tally1:()=>pM,Tally2:()=>fM,Tally3:()=>mM,Tally4:()=>hM,Tally5:()=>_M,Tangent:()=>gM,Target:()=>bM,Telescope:()=>vM,Tent:()=>xM,TentTree:()=>yM,Terminal:()=>SM,TerminalSquare:()=>$A,TestTube:()=>wM,TestTube2:()=>CM,TestTubeDiagonal:()=>CM,TestTubes:()=>TM,Text:()=>kM,TextAlignCenter:()=>EM,TextAlignEnd:()=>DM,TextAlignJustify:()=>OM,TextAlignStart:()=>kM,TextCursor:()=>jM,TextCursorInput:()=>AM,TextInitial:()=>MM,TextQuote:()=>PM,TextSearch:()=>NM,TextSelect:()=>vA,TextSelection:()=>vA,TextWrap:()=>FM,Theater:()=>IM,Thermometer:()=>zM,ThermometerSnowflake:()=>LM,ThermometerSun:()=>RM,ThumbsDown:()=>BM,ThumbsUp:()=>VM,Ticket:()=>JM,TicketCheck:()=>HM,TicketMinus:()=>UM,TicketPercent:()=>WM,TicketPlus:()=>GM,TicketSlash:()=>KM,TicketX:()=>qM,Tickets:()=>XM,TicketsPlane:()=>YM,Timeline:()=>ZM,Timer:()=>eN,TimerOff:()=>QM,TimerReset:()=>$M,ToggleLeft:()=>tN,ToggleRight:()=>nN,Toilet:()=>rN,ToolCase:()=>iN,Toolbox:()=>aN,Tornado:()=>sN,Torus:()=>oN,Touchpad:()=>lN,TouchpadOff:()=>cN,TowelRack:()=>uN,TowerControl:()=>dN,ToyBrick:()=>fN,Tractor:()=>pN,TrafficCone:()=>mN,Train:()=>vN,TrainFront:()=>gN,TrainFrontTunnel:()=>hN,TrainTrack:()=>_N,TramFront:()=>vN,Transgender:()=>yN,Trash:()=>xN,Trash2:()=>bN,TreeDeciduous:()=>SN,TreePalm:()=>CN,TreePine:()=>wN,Trees:()=>TN,TrendingDown:()=>EN,TrendingUp:()=>ON,TrendingUpDown:()=>DN,Triangle:()=>MN,TriangleAlert:()=>kN,TriangleDashed:()=>AN,TriangleRight:()=>jN,Trophy:()=>NN,Truck:()=>FN,TruckElectric:()=>PN,TurkishLira:()=>IN,Turntable:()=>RN,Turtle:()=>LN,Tv:()=>VN,Tv2:()=>BN,TvMinimal:()=>BN,TvMinimalPlay:()=>zN,Type:()=>HN,TypeOutline:()=>UN,Umbrella:()=>GN,UmbrellaOff:()=>WN,Underline:()=>KN,Undo:()=>YN,Undo2:()=>qN,UndoDot:()=>JN,UnfoldHorizontal:()=>XN,UnfoldVertical:()=>ZN,Ungroup:()=>QN,University:()=>$N,Unlink:()=>eP,Unlink2:()=>tP,Unlock:()=>nx,UnlockKeyhole:()=>ex,Unplug:()=>nP,Upload:()=>rP,UploadCloud:()=>$f,Usb:()=>iP,User:()=>EP,User2:()=>xP,UserCheck:()=>aP,UserCheck2:()=>pP,UserCircle:()=>Jd,UserCircle2:()=>qd,UserCog:()=>oP,UserCog2:()=>mP,UserKey:()=>cP,UserLock:()=>sP,UserMinus:()=>lP,UserMinus2:()=>gP,UserPen:()=>uP,UserPlus:()=>dP,UserPlus2:()=>yP,UserRound:()=>xP,UserRoundArrowLeft:()=>fP,UserRoundCheck:()=>pP,UserRoundCog:()=>mP,UserRoundKey:()=>hP,UserRoundMinus:()=>gP,UserRoundPen:()=>_P,UserRoundPlus:()=>yP,UserRoundSearch:()=>vP,UserRoundX:()=>bP,UserSearch:()=>SP,UserSquare:()=>tj,UserSquare2:()=>ej,UserStar:()=>CP,UserX:()=>wP,UserX2:()=>bP,Users:()=>DP,Users2:()=>TP,UsersRound:()=>TP,Utensils:()=>AP,UtensilsCrossed:()=>OP,UtilityPole:()=>kP,Van:()=>jP,Variable:()=>MP,Vault:()=>NP,VectorSquare:()=>PP,Vegan:()=>FP,VenetianMask:()=>IP,Venus:()=>RP,VenusAndMars:()=>LP,Verified:()=>ys,Vibrate:()=>BP,VibrateOff:()=>zP,Video:()=>HP,VideoOff:()=>VP,Videotape:()=>UP,View:()=>WP,Voicemail:()=>GP,Volleyball:()=>KP,Volume:()=>ZP,Volume1:()=>qP,Volume2:()=>YP,VolumeOff:()=>JP,VolumeX:()=>XP,Vote:()=>QP,Wallet:()=>tF,Wallet2:()=>eF,WalletCards:()=>$P,WalletMinimal:()=>eF,Wallpaper:()=>nF,Wand:()=>aF,Wand2:()=>iF,WandSparkles:()=>iF,Warehouse:()=>rF,WashingMachine:()=>oF,Watch:()=>sF,Waves:()=>uF,WavesArrowDown:()=>cF,WavesArrowUp:()=>lF,WavesHorizontal:()=>uF,WavesLadder:()=>dF,WavesVertical:()=>fF,Waypoints:()=>pF,Webcam:()=>hF,WebcamOff:()=>mF,Webhook:()=>_F,WebhookOff:()=>gF,Weight:()=>yF,WeightTilde:()=>vF,Wheat:()=>bF,WheatOff:()=>xF,WholeWord:()=>SF,Wifi:()=>AF,WifiCog:()=>CF,WifiHigh:()=>wF,WifiLow:()=>TF,WifiOff:()=>EF,WifiPen:()=>DF,WifiSync:()=>OF,WifiZero:()=>kF,Wind:()=>MF,WindArrowDown:()=>jF,Wine:()=>PF,WineOff:()=>NF,Workflow:()=>FF,Worm:()=>IF,WrapText:()=>FM,Wrench:()=>LF,WrenchOff:()=>RF,X:()=>BF,XCircle:()=>Yd,XLineTop:()=>zF,XOctagon:()=>QC,XSquare:()=>nj,Zap:()=>HF,ZapOff:()=>VF,ZodiacAquarius:()=>UF,ZodiacAries:()=>WF,ZodiacCancer:()=>GF,ZodiacCapricorn:()=>qF,ZodiacGemini:()=>KF,ZodiacLeo:()=>YF,ZodiacLibra:()=>JF,ZodiacOphiuchus:()=>XF,ZodiacPisces:()=>ZF,ZodiacSagittarius:()=>QF,ZodiacScorpio:()=>eI,ZodiacTaurus:()=>$F,ZodiacVirgo:()=>tI,ZoomIn:()=>nI,ZoomOut:()=>rI}),aI=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`class`]),oI=Xr(``);function K(e,t){E(t,!0);let n=G(t,`name`,3,``),r=G(t,`class`,3,``),i=ha(t,aI);function a(e){return String(e||``).split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)}function o(e){return Object.entries(e).map(([e,t])=>`${e}="${String(t)}"`).join(` `)}function s([e,t,n]){let r=Array.isArray(n)?n.map(s).join(``):``;return`<${e} ${o(t||{})}>${r}`}let c=O(()=>{let e=iI[a(n())];return e?e.map(s).join(``):``});var l=oI();ia(l,()=>({xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,class:r(),"aria-hidden":`true`,focusable:`false`,...i})),mi(l,()=>I(c),!0),T(l),z(e,l),D()}var sI=Xr(``);function cI(e){z(e,sI())}function lI(){try{return typeof localStorage>`u`?null:localStorage}catch{return null}}function uI(e,t=null){let n=lI();if(!n)return t;try{return n.getItem(e)??t}catch{return t}}function dI(e,t){let n=lI();if(n)try{n.setItem(e,String(t))}catch{}}var fI=new class{#e=k(`system`);get theme(){return I(this.#e)}set theme(e){A(this.#e,e,!0)}#t=k(0);get tick(){return I(this.#t)}set tick(e){A(this.#t,e,!0)}init(){this.theme=uI(`gomodel_theme`,`system`),this.apply(),window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,()=>{this.theme===`system`&&this.tick++})}set(e){this.theme=e,dI(`gomodel_theme`,e),this.apply(),this.tick++}toggle(){let e=[`light`,`system`,`dark`];this.set(e[(e.indexOf(this.theme)+1)%e.length])}apply(){let e=document.documentElement;this.theme===`system`?e.removeAttribute(`data-theme`):e.setAttribute(`data-theme`,this.theme)}},pI=new class{#e=k(!1);get collapsed(){return I(this.#e)}set collapsed(e){A(this.#e,e,!0)}init(){this.collapsed=uI(`gomodel_sidebar_collapsed`)===`true`}toggle(){this.collapsed=!this.collapsed,dI(`gomodel_sidebar_collapsed`,this.collapsed)}},mI=new class{#e=k(j([]));get stack(){return I(this.#e)}set stack(e){A(this.#e,e,!0)}#t=1;opened(){let e=this.#t++;return this.stack=[...this.stack,e],e}closed(e){this.stack=this.stack.filter(t=>t!==e)}isTop(e){return this.stack.length>0&&this.stack[this.stack.length-1]===e}get openCount(){return this.stack.length}get anyOpen(){return this.stack.length>0}},hI=R(``),gI=R(`
        `,1);function _I(e,t){E(t,!0);let n=G(t,`compact`,3,!1),r=[{value:`light`,icon:`sun`,label:`Light theme`},{value:`system`,icon:`monitor`,label:`System theme`},{value:`dark`,icon:`moon`,label:`Dark theme`}],i=O(()=>r.find(e=>e.value===fI.theme)||r[1]),a=O(()=>`Change theme (currently `+I(i).label+`)`);var o=gI(),s=N(o);let c;H(s,21,()=>r,e=>e.value,(e,t)=>{var n=hI();let r;K(M(n),{get name(){return I(t).icon},class:`theme-icon`}),T(n),F(()=>{r=U(n,1,`theme-btn svelte-1keql7b`,null,r,{active:fI.theme===I(t).value}),W(n,`aria-pressed`,fI.theme===I(t).value),W(n,`title`,I(t).label),W(n,`aria-label`,I(t).label)}),L(`click`,n,()=>fI.set(I(t).value)),z(e,n)}),T(s);var l=P(s,2);let u;K(M(l),{get name(){return I(i).icon},class:`theme-icon`}),T(l),F(()=>{c=U(s,1,`theme-toggle svelte-1keql7b`,null,c,{"is-compact":n()}),u=U(l,1,`theme-toggle-mobile svelte-1keql7b`,null,u,{"is-compact":n()}),W(l,`title`,I(a)),W(l,`aria-label`,I(a))}),L(`click`,l,()=>fI.toggle()),z(e,o),D()}Hr([`click`]);function vI(){return typeof window>`u`?`/`:window.GOMODEL_BASE_PATH||`/`}function yI(e){let t=vI();return!e||e.charAt(0)!==`/`||e.indexOf(`//`)===0||t===`/`||e===t||e.indexOf(t+`/`)===0?e:t+e}function bI(e){let t=vI();return t===`/`||!e?e:e===t?`/`:e.indexOf(t+`/`)===0?e.slice(t.length)||`/`:e}function xI(){return typeof window>`u`?``:window.GOMODEL_VERSION||``}function SI(){return typeof window>`u`?!1:window.GOMODEL_DEMO_MODE===!0}var CI=[`overview`,`usage`,`budgets`,`rate-limits`,`models`,`workflows`,`audit-logs`,`guardrails`,`mcp-servers`,`providers-config`,`auth-keys`,`settings`];function wI(e){return e.startsWith(`/admin/static/`)?`/`+e.slice(14).replace(/^\/+/,``):e}function TI(e){let t=wI(bI(e)).replace(/\/$/,``).replace(`/admin/dashboard`,``).replace(/^\//,``).split(`/`),n=t[0];n===`audit`&&(n=`audit-logs`);let r=t[1]||null;return n===`settings`&&r===`guardrails`?{page:`guardrails`,sub:null}:(n=CI.includes(n)?n:`overview`,{page:n,sub:r})}var EI=new class{#e=k(`overview`);get page(){return I(this.#e)}set page(e){A(this.#e,e,!0)}#t=k(null);get sub(){return I(this.#t)}set sub(e){A(this.#t,e,!0)}init(){let{page:e,sub:t}=TI(window.location.pathname);this.page=e,this.sub=t,window.addEventListener(`popstate`,()=>{let{page:e,sub:t}=TI(window.location.pathname);this.page=e,this.sub=t})}navigate(e,t=null){let n=t?`/`+t:``;history.pushState(null,``,yI(`/admin/dashboard/`+e+n)),this.page=e,this.sub=t}},DI=`gomodel_api_key`;function OI(e){let t=String(e||``).trim();if(/^Bearer\s*$/i.test(t))return``;let n=t.match(/^Bearer\s+(.+)$/i);return n?n[1].trim():t}var q=new class{#e=k(``);get apiKey(){return I(this.#e)}set apiKey(e){A(this.#e,e,!0)}#t=k(!1);get needsAuth(){return I(this.#t)}set needsAuth(e){A(this.#t,e,!0)}#n=k(!1);get authError(){return I(this.#n)}set authError(e){A(this.#n,e,!0)}#r=k(``);get authErrorMessage(){return I(this.#r)}set authErrorMessage(e){A(this.#r,e,!0)}#i=k(!1);get dialogOpen(){return I(this.#i)}set dialogOpen(e){A(this.#i,e,!0)}#a=k(0);get generation(){return I(this.#a)}set generation(e){A(this.#a,e,!0)}#o=k(0);get refreshTick(){return I(this.#o)}set refreshTick(e){A(this.#o,e,!0)}init(){try{this.apiKey=OI(localStorage.getItem(DI)||``)}catch{this.apiKey=``}}hasApiKey(){return OI(this.apiKey)!==``}save(){this.apiKey=OI(this.apiKey);try{localStorage.setItem(DI,this.apiKey)}catch{}}openDialog(){this.dialogOpen=!0}closeDialog(){this.dialogOpen=!1}submit(){let e=OI(this.apiKey);return e?(this.apiKey=e,this.save(),this.generation++,this.authError=!1,this.authErrorMessage=``,this.needsAuth=!1,this.closeDialog(),this.refresh(),!0):(this.apiKey=``,this.authError=!0,this.authErrorMessage=``,this.needsAuth=!0,this.openDialog(),!1)}refresh(){this.refreshTick++}handleUnauthorized(e,t=``){return typeof e==`number`&&e{r[e.type]=e.value}),r.year+`-`+r.month+`-`+r.day}formatTimestampInTimeZone(e,t){if(e==null)return`-`;let n=new Date(e);if(Number.isNaN(n.getTime()))return`-`;let r=zI(`en-CA`,{timeZone:BI(t)?t:FI,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`}).formatToParts(n),i={};return r.forEach(e=>{i[e.type]=e.value}),i.year+`-`+i.month+`-`+i.day+` `+i.hour+`:`+i.minute+`:`+i.second}formatTimestamp(e){return this.formatTimestampInTimeZone(e,this.effectiveTimezone())}currentDateKey(e){return this.dateKeyInTimeZone(e||new Date,this.effectiveTimezone())}dateKeyToDate(e){return AI(e)}dateToDateKey(e){return jI(e)}addDaysToDateKey(e,t){return MI(e,t)}todayDate(){return this.dateKeyToDate(this.currentDateKey())}startOfMonthDate(e){let t=e instanceof Date?e:this.todayDate();return new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1))}timeZoneOffsetLabel(e,t){let n=BI(e)?e:FI;try{let e=zI(`en-US`,{timeZone:n,hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`,timeZoneName:`longOffset`}).formatToParts(t||new Date).find(e=>e.type===`timeZoneName`);if(!e||!e.value)return`UTC+00:00`;let r=e.value.replace(`GMT`,`UTC`);return r===`UTC`?`UTC+00:00`:r}catch{return`UTC+00:00`}}timeZoneOffsetMinutes(e,t){let n=/^UTC([+-])(\d{2}):(\d{2})$/.exec(this.timeZoneOffsetLabel(e,t));if(!n)return 0;let r=Number(n[2])*60+Number(n[3]);return n[1]===`-`?-r:r}timeZoneOptionLabel(e,t){return e+` (`+this.timeZoneOffsetLabel(e,t)+`)`}detectedTimeZoneLabel(){return this.timeZoneOptionLabel(this.detectedTimezone)}effectiveTimeZoneLabel(){return this.timeZoneOptionLabel(this.effectiveTimezone())}ensureOptions(){if(this.optionsLoaded)return;let e=new Date,t=[];try{typeof Intl.supportedValuesOf==`function`&&(t=Intl.supportedValuesOf(`timeZone`))}catch{t=[]}[FI,this.detectedTimezone,this.override].forEach(e=>{e&&t.indexOf(e)===-1&&BI(e)&&t.push(e)}),t=t.filter(e=>BI(e)),t.sort((t,n)=>{let r=this.timeZoneOffsetMinutes(t,e)-this.timeZoneOffsetMinutes(n,e);return r===0?t.localeCompare(n):r}),this.options=t.map(t=>({value:t,label:this.timeZoneOptionLabel(t,e)})),this.optionsLoaded=!0}saveOverride(){let e=lI();if(e)if(this.override&&BI(this.override))try{e.setItem(II,this.override)}catch{}else{try{e.removeItem(II)}catch{}this.override=``}this.optionsLoaded=!1,this.ensureOptions()}clearOverride(){let e=lI();if(e)try{e.removeItem(II)}catch{}this.override=``}calendarTimeZoneText(){let e=this.override?`manual override`:`auto-detected`;return`Activity grouped by `+this.effectiveTimeZoneLabel()+` (`+e+`)`}};function WI(e,t){let n=e&&typeof e==`object`&&e.error&&e.error.message;return(typeof n==`string`?n.trim():``)||t}function GI(e,t){let n=e&&e.data;if(n&&typeof n==`object`){let e=[n.message,n.error,n.error&&typeof n.error==`object`?n.error.message:null];for(let t of e)if(typeof t==`string`&&t.trim())return t.trim()}return t}function KI(){let e={"Content-Type":`application/json`},t=OI(q.apiKey);return t&&(e.Authorization=`Bearer `+t),e[`X-GoModel-Timezone`]=UI.effectiveTimezone(),e}function qI(e,t={}){return fetch(yI(e),{...t,headers:{...KI(),...t.headers||{}}})}async function JI(e,t,{label:n=e,parse:r=!0}={}){let i=q.generation,a=await qI(e,t);if(a.status===401)return q.handleUnauthorized(i),{ok:!1,stale:ie.trim()).filter(Boolean);return e.length>0?e:$I}cacheVisible(){if(this.flag(`CACHE_ENABLED`)!==``)return this.booleanFlag(`CACHE_ENABLED`,!1);let e=this.flag(`REDIS_URL`),t=this.flag(`SEMANTIC_CACHE_ENABLED`);return e===``&&t===``||this.booleanFlag(`REDIS_URL`,!1)||this.booleanFlag(`SEMANTIC_CACHE_ENABLED`,!1)}auditVisible(){return this.booleanFlag(`LOGGING_ENABLED`,!0)}usageVisible(){return this.booleanFlag(`USAGE_ENABLED`,!0)}budgetsVisible(){return this.booleanFlag(`BUDGETS_ENABLED`,!0)}rateLimitsVisible(){return this.booleanFlag(`RATE_LIMITS_ENABLED`,!0)}guardrailsVisible(){return this.booleanFlag(`GUARDRAILS_ENABLED`,!0)}mcpVisible(){return this.booleanFlag(`MCP_ENABLED`,!0)}liveLogsVisible(){return this.booleanFlag(`DASHBOARD_LIVE_LOGS_ENABLED`,!0)}fetch(){return this.#n||=this.#r().finally(()=>{this.#n=null}),this.#n}async ensureLoaded(){if(this.#n){await this.#n;return}this.loaded||await this.fetch()}async#r(){let e=typeof AbortController==`function`?new AbortController:null,t=e?setTimeout(()=>e.abort(),1e4):null;try{let t=await YI(`/admin/runtime/config`,{label:`dashboard config`,signal:e?e.signal:void 0});if(t.stale)return;if(!t.ok){this.config={},this.loaded=!1;return}let n=t.data,r={};for(let e of QI)n&&typeof n==`object`&&!Array.isArray(n)&&n[e]!==void 0&&n[e]!==null&&(r[e]=String(n[e]).trim());this.config=r,this.loaded=!0}catch(e){console.error(`Failed to fetch dashboard config:`,e),this.config={},this.loaded=!1}finally{t!==null&&clearTimeout(t)}}},tL=[{page:`overview`,label:`Overview`,icon:`layout-dashboard`},{page:`providers-config`,label:`Providers`,icon:`server-cog`},{page:`models`,label:`Models`,icon:`box`},{page:`audit-logs`,label:`Audit Logs`,icon:`history`},{page:`usage`,label:`Usage`,icon:`chart-column`},{page:`budgets`,label:`Budgets`,icon:`wallet`,visible:()=>eL.budgetsVisible()},{page:`rate-limits`,label:`Rate Limits`,icon:`gauge`,visible:()=>eL.rateLimitsVisible()},{page:`auth-keys`,label:`API Keys`,icon:`key-round`},{page:`workflows`,label:`Workflows`,icon:`workflow`},{page:`guardrails`,label:`Guardrails (experimental)`,icon:`shield-check`,visible:()=>eL.guardrailsVisible()},{page:`mcp-servers`,label:`MCP Servers`,icon:`plug`,visible:()=>eL.mcpVisible()},{page:`settings`,label:`Settings`,icon:`settings`}],nL=R(` `),rL=R(`
        `),iL=R(` `,1);function aL(e,t){E(t,!0);let n=O(()=>tL.filter(e=>!e.visible||e.visible()));var r=iL(),i=N(r);let a;var o=M(i),s=M(o);cI(M(s),{}),T(s),Ge(4),T(o);var c=P(o,2);H(c,21,()=>I(n),e=>e.page,(e,t)=>{var n=nL();let r;var i=M(n);K(i,{get name(){return I(t).icon},class:`nav-icon`});var a=P(i,2),o=M(a,!0);T(a),T(n),F(e=>{W(n,`href`,e),r=U(n,1,`nav-item svelte-1nwtzae`,null,r,{active:EI.page===I(t).page}),W(n,`title`,I(t).label),B(o,I(t).label)},[()=>yI(`/admin/dashboard/`+I(t).page)]),L(`click`,n,e=>{e.preventDefault(),EI.navigate(I(t).page)}),z(e,n)}),T(c);var l=P(c,2),u=M(l);_I(u,{get compact(){return pI.collapsed}});var d=P(u,2),f=e=>{var t=rL(),n=M(t),r=M(n);K(r,{name:`lock-keyhole`,class:`api-key-open-icon`});var i=P(r,2),a=M(i,!0);T(i),T(n),T(t),F(()=>{W(n,`aria-label`,q.needsAuth?`Enter API key`:`Change API key`),B(a,q.needsAuth?`Enter API key`:`Change API key`)}),L(`click`,n,()=>q.openDialog()),z(e,t)},p=O(()=>q.needsAuth||q.hasApiKey());V(d,e=>{I(p)&&e(f)}),T(l),T(i);var m=P(i,2);let h;F(()=>{a=U(i,1,`sidebar svelte-1nwtzae`,null,a,{"sidebar-collapsed":pI.collapsed}),h=U(m,1,`sidebar-toggle svelte-1nwtzae`,null,h,{collapsed:pI.collapsed}),W(m,`title`,pI.collapsed?`Expand sidebar`:`Collapse sidebar`),W(m,`aria-label`,pI.collapsed?`Expand sidebar`:`Collapse sidebar`),W(m,`aria-expanded`,!pI.collapsed)}),L(`click`,m,()=>pI.toggle()),z(e,r),D()}Hr([`click`]);var oL=R(``);function sL(e,t){E(t,!0);let n=G(t,`label`,3,`Close`),r=G(t,`class`,3,``),i=G(t,`iconClass`,3,`table-icon-svg`),a=G(t,`disabled`,3,!1),o=G(t,`el`,15,null);var s=oL();K(M(s),{name:`x`,get class(){return i()}}),T(s),pa(s,e=>o(e),()=>o()),F(()=>{U(s,1,`dialog-close-btn ${r()??``}`,`svelte-11l1bb5`),W(s,`aria-label`,n()),s.disabled=a()}),L(`click`,s,function(...e){t.onclick?.apply(this,e)}),z(e,s),D()}Hr([`click`]);var cL=R(`
        `,1);function lL(e,t){E(t,!0);let n=G(t,`open`,3,!1),r=G(t,`variant`,3,`editor`),i=G(t,`closeOnBackdrop`,3,!0),a=O(()=>r()===`auth`?`auth-dialog-backdrop`:`editor-modal-backdrop`),o=O(()=>r()===`auth`?`auth-dialog-shell`:`editor-modal-shell`),s=k(null);Mn(()=>{if(!n())return;let e=Or(()=>mI.opened());Tr().then(()=>{let e=I(s)&&I(s).querySelector(`[data-modal-autofocus]`);e&&typeof e.focus==`function`&&e.focus()});let r=n=>{n.key===`Escape`&&mI.isTop(e)&&t.onclose?.()};return window.addEventListener(`keydown`,r),()=>{mI.closed(e),window.removeEventListener(`keydown`,r)}});function c(e){i()&&e.target===I(s)&&t.onclose?.()}var l=Qr(),u=N(l),d=e=>{var n=cL(),r=N(n),i=P(r,2);hi(M(i),()=>t.children??m),T(i),pa(i,e=>A(s,e),()=>I(s)),F(()=>{U(r,1,Mi(I(a)),`svelte-17e0w4c`),U(i,1,Mi(I(o)),`svelte-17e0w4c`)}),L(`click`,i,c),z(e,n)};V(u,e=>{n()&&e(d)}),z(e,l),D()}Hr([`click`]);var uL=R(``),dL=R(``);function fL(e,t){E(t,!0),lL(e,{get open(){return q.dialogOpen},variant:`auth`,onclose:()=>q.closeDialog(),children:(e,t)=>{var n=dL(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a),T(i),sL(P(i,2),{label:`Close authentication dialog`,onclick:()=>q.closeDialog(),class:`auth-dialog-close`,iconClass:``}),T(r);var s=P(r,2),c=M(s),l=M(c);K(l,{name:`lock-keyhole`,class:`auth-dialog-input-icon`});var u=P(l,2);$i(u),T(c);var d=P(c,2),f=e=>{var t=uL(),n=M(t,!0);T(t),F(()=>B(n,q.authErrorMessage||`Enter a valid API key to continue.`)),z(e,t)};V(d,e=>{q.authError&&e(f)});var p=P(d,4),m=M(p),h=M(m);K(h,{name:`check`,class:`auth-dialog-submit-icon`});var g=P(h,2),_=M(g,!0);T(g),T(m),T(p),T(s),T(n),F(()=>{B(o,q.needsAuth?`Dashboard locked`:`Change API key`),B(_,q.needsAuth?`Unlock dashboard`:`Save API key`)}),Vr(`submit`,s,e=>{e.preventDefault(),q.submit()}),ca(u,()=>q.apiKey,e=>q.apiKey=e),z(e,n)},$$slots:{default:!0}}),D()}function pL(){return{open:!1,title:``,titleId:`typedConfirmationDialogTitle`,inputId:`typed-confirmation-input`,message:``,requiredText:``,value:``,confirmLabel:`Confirm`,icon:`triangle-alert`,dialogClass:``,loading:!1,onConfirm:null,onClose:null}}var mL=new class{#e=k(j(pL()));get state(){return I(this.#e)}set state(e){A(this.#e,e,!0)}#t=k(``);get error(){return I(this.#t)}set error(e){A(this.#t,e,!0)}open(e){this.error=``,this.state={...pL(),open:!0,...e||{}}}close(){let e=this.state;typeof e.onClose==`function`&&e.onClose(),this.state=pL(),this.error=``}ready(){return String(this.state.value||``).trim().toLowerCase()===String(this.state.requiredText||``).trim().toLowerCase()}inputLabel(){return`Type `+String(this.state.requiredText||``).trim()+` to confirm`}async submit(){if(!this.ready()){this.error=this.inputLabel()+`.`;return}if(typeof this.state.onConfirm==`function`){this.state.loading=!0;try{await this.state.onConfirm()}finally{this.state.loading=!1}}}},hL=R(`

        `),gL=R(``),_L=R(`

        `);function vL(e,t){E(t,!0);let n=O(()=>mL.state);lL(e,{get open(){return I(n).open},variant:`auth`,onclose:()=>mL.close(),children:(e,t)=>{var r=_L(),i=M(r),a=M(i),o=M(a,!0);T(a),sL(P(a,2),{label:`Close confirmation dialog`,onclick:()=>mL.close(),class:`auth-dialog-close`,iconClass:``}),T(i);var s=P(i,2),c=M(s),l=e=>{var t=hL(),r=M(t,!0);T(t),F(()=>B(r,I(n).message)),z(e,t)};V(c,e=>{I(n).message&&e(l)});var u=P(c,2),d=M(u),f=M(d,!0);T(d);var p=P(d,2);$i(p),T(u);var m=P(u,2),h=e=>{var t=gL(),n=M(t,!0);T(t),F(()=>B(n,mL.error)),z(e,t)};V(m,e=>{mL.error&&e(h)});var g=P(m,2),_=M(g),v=P(_,2),y=M(v);K(y,{get name(){return I(n).icon},class:`form-action-icon`});var b=P(y,2),x=M(b,!0);T(b),T(v),T(g),T(s),T(r),F((e,t)=>{U(r,1,`auth-dialog ${I(n).dialogClass??``}`),W(r,`aria-labelledby`,I(n).titleId),W(a,`id`,I(n).titleId),B(o,I(n).title),W(d,`for`,I(n).inputId),B(f,e),W(p,`id`,I(n).inputId),v.disabled=t,B(x,I(n).confirmLabel)},[()=>mL.inputLabel(),()=>I(n).loading||!mL.ready()]),Vr(`submit`,s,e=>{e.preventDefault(),mL.submit()}),ca(p,()=>mL.state.value,e=>mL.state.value=e),L(`click`,_,()=>mL.close()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var yL=e=>e;function bL(e){let t=e-1;return t*t*t+1}function xL(e){let t=typeof e==`string`&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||`px`]:[e,`px`]}function SL(e,{delay:t=0,duration:n=400,easing:r=yL}={}){let i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>`opacity: ${e*i}`}}function CL(e,{delay:t=0,duration:n=400,easing:r=bL,x:i=0,y:a=0,opacity:o=0}={}){let s=getComputedStyle(e),c=+s.opacity,l=s.transform===`none`?``:s.transform,u=c*(1-o),[d,f]=xL(i),[p,m]=xL(a);return{delay:t,duration:n,easing:r,css:(e,t)=>` - transform: ${l} translate(${(1-e)*d}${f}, ${(1-e)*p}${m}); - opacity: ${c-u*t}`}}function wL(e,{delay:t=0,duration:n=400,easing:r=bL,axis:i=`y`}={}){let a=getComputedStyle(e),o=+a.opacity,s=i===`y`?`height`:`width`,c=parseFloat(a[s]),l=i===`y`?[`top`,`bottom`]:[`left`,`right`],u=l.map(e=>`${e[0].toUpperCase()}${e.slice(1)}`),d=parseFloat(a[`padding${u[0]}`]),f=parseFloat(a[`padding${u[1]}`]),p=parseFloat(a[`margin${u[0]}`]),m=parseFloat(a[`margin${u[1]}`]),h=parseFloat(a[`border${u[0]}Width`]),g=parseFloat(a[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:e=>`overflow: hidden;opacity: ${Math.min(e*20,1)*o};${s}: ${e*c}px;padding-${l[0]}: ${e*d}px;padding-${l[1]}: ${e*f}px;margin-${l[0]}: ${e*p}px;margin-${l[1]}: ${e*m}px;border-${l[0]}-width: ${e*h}px;border-${l[1]}-width: ${e*g}px;min-${s}: 0`}}function TL(e){return--e*e*(2.70158*e+1.70158)+1}function EL(e){let t=e-1;return t*t*t+1}var DL=5e3,OL=8e3,kL=new class{#e=k(j([]));get toasts(){return I(this.#e)}set toasts(e){A(this.#e,e,!0)}#t=0;#n=new Map;success(e){this.#r(`success`,e,DL)}error(e){this.#r(`error`,e,OL)}dismiss(e){let t=this.#n.get(e);t&&(clearTimeout(t),this.#n.delete(e)),this.toasts=this.toasts.filter(t=>t.id!==e)}#r(e,t,n){let r=String(t||``).trim();if(!r)return;let i=this.toasts.find(t=>t.kind===e&&t.text===r);i&&this.dismiss(i.id);let a=++this.#t;this.toasts=[...this.toasts,{id:a,kind:e,text:r}],this.#n.set(a,setTimeout(()=>this.dismiss(a),n))}},AL=R(`
        `),jL=R(`
        `);function ML(e,t){E(t,!0);var n=jL();H(n,21,()=>kL.toasts,e=>e.id,(e,t)=>{var n=AL();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2);T(n),F(()=>{r=U(n,1,`flash-toast svelte-1i257xg`,null,r,{"flash-toast-success":I(t).kind===`success`,"flash-toast-error":I(t).kind===`error`}),W(n,`role`,I(t).kind===`error`?`alert`:`status`),W(n,`aria-live`,I(t).kind===`error`?`assertive`:`polite`),B(a,I(t).text)}),L(`click`,o,()=>kL.dismiss(I(t).id)),Di(1,n,()=>CL,()=>({y:-24,duration:360,easing:TL})),Di(2,n,()=>SL,()=>({duration:150})),z(e,n)}),T(n),z(e,n),D()}Hr([`click`]);var NL=R(``);function PL(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{z(e,NL())},a=O(()=>SI());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}function FL(e){return String(e||``).split(`,`).map(e=>e.trim()).filter(e=>e)}function IL(e){if(e==null||e===``)return`Not captured`;if(typeof e==`string`){let t=e.trim();if(t.startsWith(`{`)&&t.endsWith(`}`)||t.startsWith(`[`)&&t.endsWith(`]`))try{return JSON.stringify(JSON.parse(t),null,2)}catch{return e}return e}try{return JSON.stringify(e,null,2)}catch{return String(e)}}function LL(e){return e==null||e===void 0?`-`:e.toLocaleString()}function RL(e){if(e==null)return`---`;let t=Number(e);return Number.isFinite(t)?t>0&&t<1e-4?`<$0.0001`:`$`+t.toFixed(4).replace(/(\.\d{2}\d*?)0+$/,`$1`):`---`}function zL(e){return e==null||e===void 0?`—`:`$`+e.toFixed(2)}function BL(e){return e==null||e===void 0?`—`:e<.01?`$`+e.toFixed(6):`$`+e.toFixed(4)}function VL(e){if(e==null||e===``)return`-`;let t=Number(e);if(!Number.isFinite(t))return`-`;let n=Math.abs(t),r=[{threshold:1e9,suffix:`B`},{threshold:1e6,suffix:`M`},{threshold:1e3,suffix:`K`}];for(let e=0;e=i.threshold){let n=t/i.threshold;return Math.abs(Number(n.toFixed(1)))>=1e3&&e>0&&(i=r[e-1],n=t/i.threshold),n.toFixed(1).replace(/\.0$/,``)+i.suffix}}return String(t)}function HL(e,t){let n=t==null||t===``?NaN:Number(t),r=Number.isFinite(n)?LL(n):`-`;return String(e||`Tokens`)+`: `+r}function UL(e){return e?typeof e==`string`?e:e.getUTCFullYear()+`-`+String(e.getUTCMonth()+1).padStart(2,`0`)+`-`+String(e.getUTCDate()).padStart(2,`0`):``}function WL(e){if(!e)return`-`;let t=new Date(e);return Number.isNaN(t.getTime())?`-`:t.getUTCFullYear()+`-`+String(t.getUTCMonth()+1).padStart(2,`0`)+`-`+String(t.getUTCDate()).padStart(2,`0`)}function GL(e){if(!e)return`-`;let t=new Date(e);return Number.isNaN(t.getTime())?`-`:t.getUTCFullYear()+`-`+String(t.getUTCMonth()+1).padStart(2,`0`)+`-`+String(t.getUTCDate()).padStart(2,`0`)+` `+String(t.getUTCHours()).padStart(2,`0`)+`:`+String(t.getUTCMinutes()).padStart(2,`0`)+`:`+String(t.getUTCSeconds()).padStart(2,`0`)+` UTC`}function KL(e){return String(e&&e.provider||``).trim()}function qL(e){return String(e&&e.provider_name||``).trim()||KL(e)}function JL(e,t){let n=String(t||``).trim();if(!n)return`-`;let r=qL(e);return!r||n===r||n.startsWith(r+`/`)?n:r+`/`+n}function YL(e){return JL(e,e&&e.model)}function XL(e){return JL(e,e&&e.resolved_model)}function ZL(e){let t=String(e&&(e.requested_model||e.model)||``).trim();if(!e)return t;let n=String(e.data&&e.data.failover&&e.data.failover.target_model||``).trim();if(n&&n!==t)return t+` ⮕ `+n;if(e.alias_used&&e.resolved_model){let n=XL(e);if(n&&n!==`-`&&n!==t)return t+` ⮕ `+n}return t}var QL=`gomodel_date_range`,$L=1;function eR(e){return/^[1-9]\d*$/.test(String(e??``))}var tR=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function nR({selectedPreset:e,startKey:t,endKey:n,followsToday:r}){return e&&eR(e)?{v:$L,mode:`preset`,days:String(e)}:e?null:NI(t)&&NI(n)?{v:$L,mode:`custom`,start:t,end:n,follow:r===!0}:null}function rR(e){let t=e;if(typeof e==`string`)try{t=JSON.parse(e)}catch{return null}return!t||typeof t!=`object`?null:t.mode===`preset`?eR(t.days)?{mode:`preset`,days:String(t.days)}:null:t.mode===`custom`&&NI(t.start)&&NI(t.end)&&t.start<=t.end?{mode:`custom`,start:t.start,end:t.end,follow:t.follow===!0}:null}function iR(e,t,n){let r=PI(e,t);return r<1||!NI(n)?{start:e,end:t}:{start:MI(n,-(r-1)),end:n}}function aR(e,t){if(e===t)return`Today`;let[n,r,i]=e.split(`-`);return tR[Number(r)-1]+` `+Number(i)+`, `+n}function oR({selectedPreset:e,startKey:t,endKey:n,followsToday:r,todayKey:i}){if(e)return`Last `+e+` days`;if(!NI(t)||!NI(n))return``;let a=PI(t,n);return r||n===i?a===1?`Today`:`Last `+a+` days`:a===1?`1 day`:a+` days`}function sR({selectedPreset:e,startKey:t,endKey:n,todayKey:r}){if(e)return`Last `+e+` days`;let i=e=>aR(e,r);return NI(t)&&NI(n)?t===n?i(t):i(t)+` – `+i(n):NI(t)?i(t)+` – ...`:`Last 30 days`}var cR=6e4,lR=new class{#e=k(j(`30`));get days(){return I(this.#e)}set days(e){A(this.#e,e,!0)}#t=k(j(`30`));get selectedPreset(){return I(this.#t)}set selectedPreset(e){A(this.#t,e,!0)}#n=k(null);get customStartDate(){return I(this.#n)}set customStartDate(e){A(this.#n,e,!0)}#r=k(null);get customEndDate(){return I(this.#r)}set customEndDate(e){A(this.#r,e,!0)}#i=k(!1);get followsToday(){return I(this.#i)}set followsToday(e){A(this.#i,e,!0)}#a=k(`daily`);get interval(){return I(this.#a)}set interval(e){A(this.#a,e,!0)}#o=k(0);get syncTick(){return I(this.#o)}set syncTick(e){A(this.#o,e,!0)}init(){this.restore(),this.syncToToday(),typeof setInterval==`function`&&setInterval(()=>this.syncToToday(),cR)}queryStr(){return this.customStartDate&&this.customEndDate?`start_date=`+UL(this.customStartDate)+`&end_date=`+UL(this.customEndDate):`days=`+this.days}selectPreset(e){this.selectedPreset=e,this.customStartDate=null,this.customEndDate=null,this.followsToday=!1,this.days=e,this.persist()}selectStart(e){this.selectedPreset=null,this.customStartDate=e,this.customEndDate&&this.customEndDatet.category===e);return t?t.count:0}get filteredModels(){if(!this.filter)return this.models;let e=this.filter.toLowerCase();return this.models.filter(t=>(t.model?.id??``).toLowerCase().includes(e)||(t.provider_name??``).toLowerCase().includes(e)||(t.provider_type??``).toLowerCase().includes(e)||(t.selector??``).toLowerCase().includes(e)||(t.model?.owned_by??``).toLowerCase().includes(e)||(t.model?.metadata?.modes??[]).join(`,`).toLowerCase().includes(e)||(t.model?.metadata?.categories??[]).join(`,`).toLowerCase().includes(e))}},dR=R(``);function fR(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=dR(),n=P(M(t),2);T(t),L(`click`,n,()=>q.openDialog()),z(e,t)};V(r,e=>{q.authError&&e(i)}),z(e,n),D()}Hr([`click`]);function pR(){return{total_requests:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,total_input_cost:null,total_output_cost:null,total_cost:null}}function mR(){return{summary:{total_hits:0,exact_hits:0,semantic_hits:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,total_saved_cost:null},daily:[]}}var hR=new class{#e=k(j(pR()));get summary(){return I(this.#e)}set summary(e){A(this.#e,e,!0)}#t=k(j([]));get daily(){return I(this.#t)}set daily(e){A(this.#t,e,!0)}#n=k(j(mR()));get cacheOverview(){return I(this.#n)}set cacheOverview(e){A(this.#n,e,!0)}#r=k(!1);get loading(){return I(this.#r)}set loading(e){A(this.#r,e,!0)}#i=null;#a=null;cacheAnalyticsEnabled(){return eL.cacheVisible()}async fetchUsage(){this.#i&&this.#i.abort();let e=new AbortController;this.#i=e,this.loading=!0;try{let t=lR.queryStr()+`&interval=`+lR.interval,[n,r]=await Promise.all([YI(`/admin/usage/summary?`+t,{label:`usage summary`,signal:e.signal}),YI(`/admin/usage/daily?`+t,{label:`usage daily`,signal:e.signal})]);if(n.stale||r.stale||e.signal.aborted)return;if(!n.ok||!r.ok){this.summary=pR(),this.daily=[],this.cacheOverview=mR();return}this.summary=n.data||pR(),this.daily=Array.isArray(r.data)?r.data:[]}catch(e){if(ZI(e))return;console.error(`Failed to fetch usage:`,e),this.summary=pR(),this.daily=[]}finally{this.#i===e&&(this.#i=null,this.loading=!1)}}async fetchCacheOverview(e=``){if(await eL.ensureLoaded(),!this.cacheAnalyticsEnabled()){this.cacheOverview=mR();return}this.#a&&this.#a.abort();let t=new AbortController;this.#a=t;try{let n=await YI(`/admin/cache/overview?`+(lR.queryStr()+`&interval=`+lR.interval+e),{label:`cache overview`,signal:t.signal});if(n.stale||t.signal.aborted)return;if(!n.ok){this.cacheOverview=mR();return}let r=n.data&&typeof n.data==`object`?n.data:mR();r.summary||=mR().summary,Array.isArray(r.daily)||(r.daily=[]),this.cacheOverview=r}catch(e){if(ZI(e))return;console.error(`Failed to fetch cache overview:`,e),this.cacheOverview=mR()}finally{this.#a===t&&(this.#a=null)}}},gR=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];function _R(e,t){let n=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1));return gR[n.getUTCMonth()]+` `+n.getUTCFullYear()}function vR(e,t,n){let r=e.getUTCFullYear(),i=e.getUTCMonth()+t,a=new Date(Date.UTC(r,i,1)),o=new Date(Date.UTC(r,i+1,0)),s=(a.getUTCDay()+6)%7,c=[],l=new Date(Date.UTC(r,i,0));for(let e=s-1;e>=0;e--){let t=l.getUTCDate()-e,a=new Date(Date.UTC(r,i-1,t));c.push({day:t,date:a,current:!1,key:`p-`+n(a)})}for(let e=1;e<=o.getUTCDate();e++){let t=new Date(Date.UTC(r,i,e));c.push({day:e,date:t,current:!0,key:`c-`+n(t)})}let u=42-c.length;for(let e=1;e<=u;e++){let t=new Date(Date.UTC(r,i+1,e));c.push({day:e,date:t,current:!1,key:`n-`+n(t)})}return c}function yR(e,t,n){let r=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1));return n&&r.getTime()>n.getTime()?e:r}function bR(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()}var xR=R(``),SR=R(``),CR=R(``),wR=R(`
        MoTuWeThFrSaSu
        `);function TR(e,t){E(t,!0);let n=G(t,`offset`,3,0),r=O(()=>vR(t.calendarMonth,n(),e=>UI.dateToDateKey(e))),i=O(()=>bR(t.calendarMonth,UI.todayDate())),a=e=>UI.dateToDateKey(e.date),o=e=>a(e)>UI.currentDateKey(),s=e=>e.current&&a(e)===UI.currentDateKey();function c(e,t){let n=t===`start`?lR.rangeStart():lR.rangeEnd();return e.current&&!!n&&a(e)===UI.dateToDateKey(n)}function l(e){let t=lR.rangeStart(),n=lR.rangeEnd();return!e.current||!t||!n?!1:a(e)>=UI.dateToDateKey(t)&&a(e)<=UI.dateToDateKey(n)}var u=wR(),d=M(u),f=M(d);let p;var m=P(f,2),h=M(m,!0);T(m);var g=P(m,2),_=e=>{z(e,xR())},v=e=>{var n=SR();F(()=>n.disabled=I(i)),L(`click`,n,function(...e){t.onnext?.apply(this,e)}),z(e,n)};V(g,e=>{n()===-1?e(_):e(v,-1)}),T(d);var y=P(d,4);H(y,21,()=>I(r),e=>e.key,(e,n)=>{var r=CR();let i;var a=M(r,!0);T(r),F((e,t)=>{i=U(r,1,`dp-day svelte-g7ga4u`,null,i,e),r.disabled=t,B(a,I(n).day)},[()=>({"other-month":!I(n).current,today:s(I(n)),"range-start":c(I(n),`start`),"range-end":c(I(n),`end`),"in-range":l(I(n)),disabled:o(I(n))}),()=>o(I(n))||!I(n).current]),L(`click`,r,()=>t.onselect?.(I(n))),z(e,r)}),T(y),T(u),F(e=>{p=U(f,1,`dp-nav-btn svelte-g7ga4u`,null,p,{"dp-nav-prev-mobile":n()!==-1}),B(h,e)},[()=>_R(t.calendarMonth,n())]),L(`click`,f,function(...e){t.onprev?.apply(this,e)}),z(e,u),D()}Hr([`click`]);var ER=R(``),DR=R(`
        `),OR=Xr(``),kR=Xr(``),AR=R(`
        `),jR=R(`
        `);function MR(e,t){E(t,!0);let n=[`3`,`7`,`14`,`30`,`90`],r=k(!1),i=k(`start`),a=k(j(new Date)),o=k(j({show:!1,x:0,y:0})),s=k(null);function c(){A(r,!I(r)),I(r)&&(lR.syncToToday(),A(a,UI.startOfMonthDate(lR.customEndDate||UI.todayDate()),!0),A(i,`start`))}function l(){A(r,!1),A(o,{show:!1,x:0,y:0},!0)}Mn(()=>{if(!I(r))return;let e=e=>{I(s)&&!I(s).contains(e.target)&&l()},t=e=>{e.key===`Escape`&&l()};return document.addEventListener(`click`,e,!0),window.addEventListener(`keydown`,t),()=>{document.removeEventListener(`click`,e,!0),window.removeEventListener(`keydown`,t)}});let u=lR.syncTick;Mn(()=>{let e=lR.syncTick;e!==u&&(u=e,t.onchange?.())});function d(e){lR.selectPreset(e),A(i,`start`),t.onchange?.(),l()}let f=()=>A(a,yR(I(a),-1),!0),p=()=>A(a,yR(I(a),1,UI.startOfMonthDate(UI.todayDate())),!0);function m(e){let n=new Date(e.date);if(I(i)===`start`){lR.selectStart(n),A(i,`end`),t.onchange?.();return}lR.selectEnd(n),A(i,`start`),t.onchange?.(),l()}var h=jR(),g=M(h),_=P(M(g),2),v=M(_,!0);T(_);var y=P(_,2);let b;T(g);var x=P(g,2),S=e=>{var t=DR(),r=M(t);H(r,20,()=>n,e=>e,(e,t)=>{var n=ER();let r;var i=M(n);T(n),F(()=>{r=U(n,1,`preset-btn svelte-ax7ma4`,null,r,{active:lR.selectedPreset===t}),B(i,`Last ${t??``} days`)}),L(`click`,n,()=>d(t)),z(e,n)}),T(r);var i=P(r,2);H(i,20,()=>[-1,0],e=>e,(e,t)=>{TR(e,{get calendarMonth(){return I(a)},get offset(){return t},onprev:f,onnext:p,onselect:m})}),T(i),T(t),L(`mousemove`,i,e=>A(o,{show:!0,x:e.clientX,y:e.clientY},!0)),Vr(`mouseleave`,i,()=>A(o,{show:!1,x:0,y:0},!0)),z(e,t)};V(x,e=>{I(r)&&e(S)});var C=P(x,2),w=e=>{var t=AR(),n=M(t),r=e=>{z(e,OR())},a=e=>{z(e,kR())};V(n,e=>{I(i)===`start`?e(r):e(a,-1)});var s=P(n,2),c=M(s,!0);T(s),T(t),F(()=>{zi(t,`left:${I(o).x??``}px;top:${I(o).y??``}px`),B(c,I(i)===`end`?`Select end date`:`Select start date`)}),z(e,t)};V(C,e=>{I(o).show&&e(w)}),T(h),pa(h,e=>A(s,e),()=>I(s)),F((e,t)=>{W(g,`title`,e),B(v,t),b=U(y,0,`date-picker-chevron svelte-ax7ma4`,null,b,{open:I(r)})},[()=>lR.dateRangeSpanLabel(),()=>lR.dateRangeLabel()]),L(`click`,g,c),z(e,h),D()}Hr([`click`,`mousemove`]);function NR(e){return e+.5|0}var PR=(e,t,n)=>Math.max(Math.min(e,n),t);function FR(e){return PR(NR(e*2.55),0,255)}function IR(e){return PR(NR(e*255),0,255)}function LR(e){return PR(NR(e/2.55)/100,0,1)}function RR(e){return PR(NR(e*100),0,100)}var zR={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},BR=[...`0123456789ABCDEF`],VR=e=>BR[e&15],HR=e=>BR[(e&240)>>4]+BR[e&15],UR=e=>(e&240)>>4==(e&15),WR=e=>UR(e.r)&&UR(e.g)&&UR(e.b)&&UR(e.a);function GR(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&zR[e[1]]*17,g:255&zR[e[2]]*17,b:255&zR[e[3]]*17,a:t===5?zR[e[4]]*17:255}:(t===7||t===9)&&(n={r:zR[e[1]]<<4|zR[e[2]],g:zR[e[3]]<<4|zR[e[4]],b:zR[e[5]]<<4|zR[e[6]],a:t===9?zR[e[7]]<<4|zR[e[8]]:255})),n}var KR=(e,t)=>e<255?t(e):``;function qR(e){var t=WR(e)?VR:HR;return e?`#`+t(e.r)+t(e.g)+t(e.b)+KR(e.a,t):void 0}var JR=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function YR(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function XR(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function ZR(e,t,n){let r=YR(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function QR(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=QR(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function ez(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(IR)}function tz(e,t,n){return ez(YR,e,t,n)}function nz(e,t,n){return ez(ZR,e,t,n)}function rz(e,t,n){return ez(XR,e,t,n)}function iz(e){return(e%360+360)%360}function az(e){let t=JR.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?FR(+t[5]):IR(+t[5]));let i=iz(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?nz(i,a,o):t[1]===`hsv`?rz(i,a,o):tz(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function oz(e,t){var n=$R(e);n[0]=iz(n[0]+t),n=tz(n),e.r=n[0],e.g=n[1],e.b=n[2]}function sz(e){if(!e)return;let t=$R(e),n=t[0],r=RR(t[1]),i=RR(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${LR(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var cz={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},lz={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function uz(){let e={},t=Object.keys(lz),n=Object.keys(cz),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var dz;function fz(e){dz||(dz=uz(),dz.transparent=[0,0,0,0]);let t=dz[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var pz=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function mz(e){let t=pz.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?FR(e):PR(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?FR(r):PR(r,0,255)),i=255&(t[4]?FR(i):PR(i,0,255)),a=255&(t[6]?FR(a):PR(a,0,255)),{r,g:i,b:a,a:n}}}function hz(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${LR(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var gz=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,_z=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function vz(e,t,n){let r=_z(LR(e.r)),i=_z(LR(e.g)),a=_z(LR(e.b));return{r:IR(gz(r+n*(_z(LR(t.r))-r))),g:IR(gz(i+n*(_z(LR(t.g))-i))),b:IR(gz(a+n*(_z(LR(t.b))-a))),a:e.a+n*(t.a-e.a)}}function yz(e,t,n){if(e){let r=$R(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=tz(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function bz(e,t){return e&&Object.assign(t||{},e)}function xz(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=IR(e[3]))):(t=bz(e,{r:0,g:0,b:0,a:1}),t.a=IR(t.a)),t}function Sz(e){return e.charAt(0)===`r`?mz(e):az(e)}var Cz=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=xz(t):n===`string`&&(r=GR(t)||fz(t)||Sz(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=bz(this._rgb);return e&&(e.a=LR(e.a)),e}set rgb(e){this._rgb=xz(e)}rgbString(){return this._valid?hz(this._rgb):void 0}hexString(){return this._valid?qR(this._rgb):void 0}hslString(){return this._valid?sz(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=vz(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=IR(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=NR(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return yz(this._rgb,2,e),this}darken(e){return yz(this._rgb,2,-e),this}saturate(e){return yz(this._rgb,1,e),this}desaturate(e){return yz(this._rgb,1,-e),this}rotate(e){return oz(this._rgb,e),this}};function wz(){}var Tz=(()=>{let e=0;return()=>e++})();function Ez(e){return e==null}function Dz(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function Oz(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function kz(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Az(e,t){return kz(e)?e:t}function jz(e,t){return e===void 0?t:e}var Mz=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,Nz=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function Pz(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function Fz(e,t,n,r){let i,a,o;if(Dz(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Wz(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function Gz(e){let t=Wz(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Kz(e,t){return(Uz[t]||(Uz[t]=Gz(t)))(e)}function qz(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Jz=e=>e!==void 0,Yz=e=>typeof e==`function`,Xz=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function Zz(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var Qz=Math.PI,$z=2*Qz,eB=$z+Qz,tB=1/0,nB=Qz/180,rB=Qz/2,iB=Qz/4,aB=Qz*2/3,oB=Math.log10,sB=Math.sign;function cB(e,t,n){return Math.abs(e-t)e-t).pop(),t}function dB(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function fB(e){return!dB(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function pB(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function mB(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function EB(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var DB=(e,t,n,r)=>EB(e,n,r?r=>{let i=e[r][t];return ie[r][t]EB(e,n,r=>e[r][t]>=n);function kB(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+qz(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function MB(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(AB.forEach(t=>{delete e[t]}),delete e._chartjs)}function NB(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var PB=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function FB(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,PB.call(window,()=>{r=!1,e.apply(t,n)}))}}function IB(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var LB=e=>e===`start`?`left`:e===`end`?`right`:`center`,RB=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,zB=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function BB(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(DB(c,u,d).lo,n?r:DB(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!Ez(e[s.axis]));i-=Math.max(0,e)}i=CB(i,0,r-1)}if(m){let e=Math.max(DB(c,o.axis,f,!0).hi+1,n?0:DB(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!Ez(e[s.axis]));e+=Math.max(0,t)}a=CB(e,i,r)-i}else a=r-i}return{start:i,count:a}}function VB(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var HB=e=>e===0||e===1,UB=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*$z/n)),WB=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*$z/n)+1,GB={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*rB)+1,easeOutSine:e=>Math.sin(e*rB),easeInOutSine:e=>-.5*(Math.cos(Qz*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>HB(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>HB(e)?e:UB(e,.075,.3),easeOutElastic:e=>HB(e)?e:WB(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return HB(e)?e:e<.5?.5*UB(e*2,t,n):.5+.5*WB(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-GB.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?GB.easeInBounce(e*2)*.5:GB.easeOutBounce(e*2-1)*.5+.5};function KB(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function qB(e){return KB(e)?e:new Cz(e)}function JB(e){return KB(e)?e:new Cz(e).saturate(.5).darken(.1).hexString()}var YB=[`x`,`y`,`borderWidth`,`radius`,`tension`],XB=[`color`,`borderColor`,`backgroundColor`];function ZB(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:XB},numbers:{type:`number`,properties:YB}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function QB(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var $B=new Map;function eV(e,t){t||={};let n=e+JSON.stringify(t),r=$B.get(n);return r||(r=new Intl.NumberFormat(e,t),$B.set(n,r)),r}function tV(e,t,n){return eV(t,n).format(e)}var nV={values(e){return Dz(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=rV(e,n)}let o=oB(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),tV(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(oB(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?nV.numeric.call(this,e,t,n):``}};function rV(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var iV={formatters:nV};function aV(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:iV.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var oV=Object.create(null),sV=Object.create(null);function cV(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>JB(t.backgroundColor),this.hoverBorderColor=(e,t)=>JB(t.borderColor),this.hoverColor=(e,t)=>JB(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return lV(this,e,t)}get(e){return cV(this,e)}describe(e,t){return lV(sV,e,t)}override(e,t){return lV(oV,e,t)}route(e,t,n,r){let i=cV(this,e),a=cV(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return Oz(e)?Object.assign({},t,e):jz(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[ZB,QB,aV]);function dV(e){return!e||Ez(e.size)||Ez(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function fV(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function pV(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function vV(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,CV(e,a),c=0;c+e||0;function MV(e,t){let n={},r=Oz(t),i=r?Object.keys(t):t,a=Oz(e)?r?n=>jz(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=jV(a(e));return n}function NV(e){return MV(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function PV(e){return MV(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function FV(e){let t=NV(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function IV(e,t){e||={},t||=uV.font;let n=jz(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=jz(e.style,t.style);r&&!(``+r).match(kV)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:jz(e.family,t.family),lineHeight:AV(jz(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:jz(e.weight,t.weight),string:``};return i.string=dV(i),i}function LV(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function zV(e,t){return Object.assign(Object.create(e),t)}function BV(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=nH(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>BV([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return GV(n,r,()=>tH(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return rH(e).includes(t)},ownKeys(e){return rH(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function VV(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:HV(e,r),setContext:t=>VV(e,t,n,r),override:i=>VV(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return GV(e,t,()=>KV(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function HV(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Yz(n)?n:()=>n,isIndexable:Yz(r)?r:()=>r}}var UV=(e,t)=>e?e+qz(t):t,WV=(e,t)=>Oz(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function GV(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function KV(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return Yz(s)&&o.isScriptable(t)&&(s=qV(t,s,e,n)),Dz(s)&&s.length&&(s=JV(t,s,e,o.isIndexable)),WV(t,s)&&(s=VV(s,i,a&&a[t],o)),s}function qV(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),WV(e,c)&&(c=QV(i._scopes,i,e,c)),c}function JV(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(Oz(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=QV(r,i,e,c);t.push(VV(n,a,o&&o[e],s))}}return t}function YV(e,t,n){return Yz(e)?e(t,n):e}var XV=(e,t)=>e===!0?t:typeof e==`string`?Kz(t,e):void 0;function ZV(e,t,n,r,i){for(let a of t){let t=XV(n,a);if(t){e.add(t);let a=YV(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function QV(e,t,n,r){let i=t._rootScopes,a=YV(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=$V(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=$V(s,o,a,c,r),c===null)?!1:BV(Array.from(s),[``],i,a,()=>eH(t,n,r))}function $V(e,t,n,r,i){for(;n;)n=ZV(e,t,n,r,i);return n}function eH(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return Dz(i)&&Oz(n)?n:i||{}}function tH(e,t,n,r){let i;for(let a of t)if(i=nH(UV(a,e),n),i!==void 0)return WV(e,i)?QV(n,r,e,i):i}function nH(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function rH(e){let t=e._keys;return t||=e._keys=iH(e._scopes),t}function iH(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function aH(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function lH(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=yB(a,i),c=yB(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function uH(e,t,n){let r=e.length,i,a,o,s,c,l=sH(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)fH(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function bH(e,t){return yH(e).getPropertyValue(t)}var xH=[`top`,`right`,`bottom`,`left`];function SH(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=xH[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var CH=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function wH(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(CH(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function TH(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=yH(n),a=i.boxSizing===`border-box`,o=SH(i,`padding`),s=SH(i,`border`,`width`),{x:c,y:l,box:u}=wH(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function EH(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&_H(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=yH(a),s=SH(o,`border`,`width`),c=SH(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=vH(o.maxWidth,a,`clientWidth`),i=vH(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||tB,maxHeight:i||tB}}var DH=e=>Math.round(e*10)/10;function OH(e,t,n,r){let i=yH(e),a=SH(i,`margin`),o=vH(i.maxWidth,e,`clientWidth`)||tB,s=vH(i.maxHeight,e,`clientHeight`)||tB,c=EH(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=SH(i,`border`,`width`),t=SH(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=DH(Math.min(l,o,c.maxWidth)),u=DH(Math.min(u,s,c.maxHeight)),l&&!u&&(u=DH(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=DH(Math.floor(u*r))),{width:l,height:u}}function kH(e,t,n){let r=t||1,i=DH(e.height*r),a=DH(e.width*r);e.height=DH(e.height),e.width=DH(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var AH=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};gH()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function jH(e,t){let n=bH(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function MH(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function NH(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function PH(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=MH(e,i,n),s=MH(i,a,n),c=MH(a,t,n);return MH(MH(o,s,n),MH(s,c,n),n)}var FH=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},IH=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function LH(e,t,n){return e?FH(t,n):IH()}function RH(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function zH(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function BH(e){return e===`angle`?{between:SB,compare:bB,normalize:xB}:{between:TB,compare:(e,t)=>e-t,normalize:e=>e}}function VH({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function HH(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=BH(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(VH({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(VH({start:g,end:d,loop:f,count:o,style:p})),m}function WH(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function KH(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function qH(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=GH(n,i,a,r);return r===!0?JH(e,[{start:o,end:s,loop:a}],n,t):JH(e,KH(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,PB.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},nU=`transparent`,rU={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=qB(e||nU),i=r.valid&&qB(t||nU);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},iU=class{constructor(e,t,n,r){let i=t[n];r=LV([e.to,r,i,e.from]);let a=LV([e.from,i,r]);this._active=!0,this._fn=e.fn||rU[e.type||typeof a],this._easing=GB[e.easing]||GB.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=LV([e.to,t,r,e.from]),this._from=LV([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!Oz(i))return;let a={};for(let e of t)a[e]=i[e];(Dz(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=sU(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&oU(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new iU(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return tU.add(this._chart,n),!0}};function oU(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function yU(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=hU(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function xU(e,t){return zV(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function SU(e,t,n){return zV(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function CU(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var wU=e=>e===`reset`||e===`none`,TU=(e,t)=>t?e:Object.assign({},e),EU=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:dU(n,!0),values:null},DU=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=mU(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&CU(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=jz(n.xAxisID,bU(e,`x`)),a=t.yAxisID=jz(n.yAxisID,bU(e,`y`)),o=t.rAxisID=jz(n.rAxisID,bU(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&MB(this._data,this),e._stacked&&CU(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(Oz(t)){let e=this._cachedMeta;this._data=pU(t,e)}else if(n!==t){if(n){MB(n,this);let e=this._cachedMeta;CU(e),e._parsed=[]}t&&Object.isExtensible(t)&&jB(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=mU(t.vScale,t),t.stack!==n.stack&&(r=!0,CU(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(yU(this,t._parsed),t._stacked=mU(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length||n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=Dz(r[e])?this.parseArrayData(n,r,e,t):Oz(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(TU(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new aU(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||wU(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){wU(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!wU(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function kU(e){let t=e.iScale,n=OU(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(Jz(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function NU(e,t,n,r){return Dz(e)?MU(e,t,n,r):t[n.axis]=n.parse(e,r),t}function PU(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):sB(e)}function LU(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(Ez(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[jz(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;dSB(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>SB(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(rB,u,f),_=m(Qz,l,d),v=m(Qz+rB,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var KU=class extends DU{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(Oz(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Kz(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*$z:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=tV(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=Ez(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},JU=class extends DU{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=tV(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return aH.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*Qz,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?hB(this.resolveDataElementOptions(e,t).angle||n):0}},YU=Object.freeze({__proto__:null,BarController:UU,BubbleController:WU,DoughnutController:KU,LineController:qU,PieController:class extends KU{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:JU,RadarController:class extends DU{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return aH.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function XU(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var ZU={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return XU()}parse(){return XU()}format(){return XU()}add(){return XU()}diff(){return XU()}startOf(){return XU()}endOf(){return XU()}}};function QU(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?OB:DB;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!Ez(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!Ez(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function $U(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var oW={evaluateInteractionItems:$U,modes:{index(e,t,n,r){let i=TH(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?tW(e,i,a,r,o):iW(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=TH(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?tW(e,i,a,r,o):iW(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function lW(e,t){return e.filter(e=>sW.indexOf(e.pos)===-1&&e.box.axis===t)}function uW(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function dW(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=uW(cW(t,`left`),!0),i=uW(cW(t,`right`)),a=uW(cW(t,`top`),!0),o=uW(cW(t,`bottom`)),s=lW(t,`x`),c=lW(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:cW(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function hW(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function gW(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function _W(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!Oz(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&gW(o,a.getPadding());let s=Math.max(0,t.outerWidth-hW(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-hW(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function vW(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function yW(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function bW(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);gW(f,FV(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=pW(c.concat(l),d);bW(s.fullSize,p,d,m),bW(c,p,d,m),bW(l,p,d,m)&&bW(c,p,d,m),vW(p),SW(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,SW(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Fz(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},wW=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},TW=class extends wW{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},EW=`$chartjs`,DW={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},OW=e=>e===null||e===``;function kW(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[EW]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,OW(i)){let t=jH(e,`width`);t!==void 0&&(e.width=t)}if(OW(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=jH(e,`height`);t!==void 0&&(e.height=t)}return e}var AW=AH?{passive:!0}:!1;function jW(e,t,n){e&&e.addEventListener(t,n,AW)}function MW(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,AW)}function NW(e,t){let n=DW[e.type]||e.type,{x:r,y:i}=TH(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function PW(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function FW(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=PW(n.addedNodes,r),t&&=!PW(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function IW(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=PW(n.removedNodes,r),t&&=!PW(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var LW=new Map,RW=0;function zW(){let e=window.devicePixelRatio;e!==RW&&(RW=e,LW.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function BW(e,t){LW.size||window.addEventListener(`resize`,zW),LW.set(e,t)}function VW(e){LW.delete(e),LW.size||window.removeEventListener(`resize`,zW)}function HW(e,t,n){let r=e.canvas,i=r&&_H(r);if(!i)return;let a=FB((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),BW(e,a),o}function UW(e,t,n){n&&n.disconnect(),t===`resize`&&VW(e)}function WW(e,t,n){let r=e.canvas,i=FB(t=>{e.ctx!==null&&n(NW(t,e))},e);return jW(r,t,i),i}var GW=class extends wW{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(kW(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[EW])return!1;let n=t[EW].initial;[`height`,`width`].forEach(e=>{let r=n[e];Ez(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[EW],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:FW,detach:IW,resize:HW}[t]||WW)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:UW,detach:UW,resize:UW}[t]||MW)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return OH(e,t,n,r)}isAttached(e){let t=e&&_H(e);return!!(t&&t.isConnected)}};function KW(e){return!gH()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?TW:GW}var qW=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return fB(this.x)&&fB(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function JW(e,t){let n=e.options.ticks,r=YW(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?ZW(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return QW(t,l,a,o/i),l;let u=XW(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for($W(t,l,u,Ez(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function ZW(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,nG=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,rG=(e,t)=>Math.min(t||e,e);function iG(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function oG(e,t){Fz(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:Az(t,Az(n,t)),max:Az(n,Az(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pz(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=RV(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=CB(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-sG(e.grid)-t.padding-cG(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=gB(Math.min(Math.asin(CB((l.highest.height+6)/o,-1,1)),Math.asin(CB(s/c,-1,1))-Math.asin(CB(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Pz(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pz(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=cG(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=sG(i)+a):(e.height=this.maxHeight,e.width=sG(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=hB(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pz(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return wB(this._alignToPixels?mV(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=sG(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return mV(n,e,p)},g,_,v,y,b,x,S,C,w,ee,te,ne;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,ee=h(e.top)+m,ne=e.bottom;else if(a===`bottom`)g=h(this.top),ee=e.top,ne=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,te=e.right;else if(a===`right`)g=h(this.left),w=e.left,te=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(Oz(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}ee=e.top,ne=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(Oz(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,te=e.right}let re=jz(r.ticks.maxTicksLimit,l),ie=Math.max(1,Math.ceil(l/re));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:ne,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:re,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-hB(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);uV.route(a,i,c,s)})}function _G(e){return`id`in e&&`defaults`in e}var vG=new class{constructor(){this.controllers=new mG(DU,`datasets`,!0),this.elements=new mG(qW,`elements`),this.plugins=new mG(Object,`plugins`),this.scales=new mG(pG,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Fz(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=qz(e);Pz(n[`before`+r],[],n),t[e](n),Pz(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function bG(e){let t={},n=[],r=Object.keys(vG.plugins.items);for(let e=0;e1&&DG(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function AG(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function jG(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return AG(e,`x`,n[0])||AG(e,`y`,n[0])}return{}}function MG(e,t){let n=oV[e.type]||{scales:{}},r=t.scales||{},i=wG(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!Oz(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=kG(t,o,jG(t,e),uV.scales[o.type]),c=EG(s,i),l=n.scales||{};a[t]=Vz(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||wG(i,t),s=(oV[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=TG(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),Vz(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];Vz(t,[uV.scales[t.type],uV.scale])}),a}function NG(e){let t=e.options||={};t.plugins=jz(t.plugins,{}),t.scales=MG(e,t)}function PG(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function FG(e){return e||={},e.data=PG(e.data),NG(e),e}var IG=new Map,LG=new Set;function RG(e,t){let n=IG.get(e);return n||(n=t(),IG.set(e,n),LG.add(n)),n}var zG=(e,t,n)=>{let r=Kz(t,n);r!==void 0&&e.add(r)},BG=class{constructor(e){this._config=FG(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=PG(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),NG(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return RG(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return RG(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return RG(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return RG(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>zG(s,e,t))),t.forEach(e=>zG(s,r,e)),t.forEach(e=>zG(s,oV[i]||{},e)),t.forEach(e=>zG(s,uV,e)),t.forEach(e=>zG(s,sV,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),LG.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,oV[t]||{},uV.datasets[t]||{},{type:t},uV,sV]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=VG(this._resolverCache,e,r),s=a;if(UG(a,t)){i.$shared=!1,n=Yz(n)?n():n;let t=this.createResolver(e,n,o);s=VV(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=VG(this._resolverCache,e,n);return Oz(t)?VV(i,t,void 0,r):i}};function VG(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:BV(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var HG=e=>Oz(e)&&Object.getOwnPropertyNames(e).some(t=>Yz(e[t]));function UG(e,t){let{isScriptable:n,isIndexable:r}=HV(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(Yz(o)||HG(o))||a&&Dz(o))return!0}return!1}var WG=`4.5.1`,GG=[`top`,`bottom`,`left`,`right`,`chartArea`];function KG(e,t){return e===`top`||e===`bottom`||GG.indexOf(e)===-1&&t===`x`}function qG(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function JG(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),Pz(n&&n.onComplete,[e],t)}function YG(e){let t=e.chart,n=t.options.animation;Pz(n&&n.onProgress,[e],t)}function XG(e){return gH()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var ZG={},QG=e=>{let t=XG(e);return Object.values(ZG).filter(e=>e.canvas===t).pop()};function $G(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function eK(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var tK=class{static defaults=uV;static instances=ZG;static overrides=oV;static registry=vG;static version=WG;static getChart=QG;static register(...e){vG.add(...e),nK()}static unregister(...e){vG.remove(...e),nK()}constructor(e,t){let n=this.config=new BG(t),r=XG(e),i=QG(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(KW(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Tz(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new yG,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=IB(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],ZG[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}tU.listen(this,`complete`,JG),tU.listen(this,`progress`,YG),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return Ez(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return vG}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():kH(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return hV(this.canvas,this.ctx),this}stop(){return tU.stop(this),this}resize(e,t){tU.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,kH(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),Pz(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Fz(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=kG(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),Fz(i,t=>{let i=t.options,a=i.id,o=kG(a,i),s=jz(i.type,t.dtype);(i.position===void 0||KG(i.position,o)!==KG(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(vG.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),Fz(r,(e,t)=>{e||delete n[t]}),Fz(n,e=>{CW.configure(this,e,e.options),CW.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(qG(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Fz(this.scales,e=>{CW.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!Xz(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)$G(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;CW.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Fz(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=eU(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&yV(t,r),e.controller.draw(),r&&bV(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return vV(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=oW.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=zV(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);Jz(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),tU.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Fz(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){Fz(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Fz(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Iz(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Zz(e),c=eK(e,this._lastEvent,n,s);n&&(this._lastEvent=null,Pz(i.onHover,[e,o,this],this),s&&Pz(i.onClick,[e,o,this],this));let l=!Iz(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function nK(){return Fz(tK.instances,e=>e._plugins.invalidate())}function rK(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,xB(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,xB(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*xB(r-n));if(u===`round`)e.arc(i,a,t,n-Qz/2,r+Qz/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+Qz/2)+i,c=-o*Math.sin(n+Qz/2)+a,l=o*Math.cos(r+Qz/2)+i,u=o*Math.sin(r+Qz/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function iK(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+rB,r-rB),e.closePath(),e.clip()}function aK(e){return MV(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function oK(e,t,n,r){let i=aK(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return CB(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:CB(i.innerStart,0,o),innerEnd:CB(i.innerEnd,0,o)}}function sK(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function cK(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/Qz)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=oK(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,ee=_-y/C,te=f+b,ne=f+x,re=g+b/te,ie=_-x/ne;if(e.beginPath(),a){let t=(w+ee)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,ee),y>0){let t=sK(C,ee,o,s);e.arc(t.x,t.y,y,ee,_+rB)}let n=sK(ne,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=sK(ne,ie,o,s);e.arc(t.x,t.y,x,_+rB,ie+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=sK(te,re,o,s);e.arc(t.x,t.y,b,re+Math.PI,g-rB)}let i=sK(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=sK(S,w,o,s);e.arc(t.x,t.y,v,g-rB,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(ee)*d+o,i=Math.sin(ee)*d+s;e.lineTo(r,i)}e.closePath()}function lK(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){cK(e,t,n,r,c,i);for(let t=0;t=Qz&&p===0&&u!==`miter`&&rK(e,t,h),a||(cK(e,t,n,r,h,i),e.stroke())}var dK=class extends qW{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=vB(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=jz(l,o-a),f=SB(r,a,o)&&a!==o,p=d>=$z||f,m=TB(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>$z?Math.floor(n/$z):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(Qz,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,lK(e,this,s,i,a),uK(e,this,s,i,a),e.restore()}};function fK(e,t,n=t){e.lineCap=jz(n.borderCapStyle,t.borderCapStyle),e.setLineDash(jz(n.borderDash,t.borderDash)),e.lineDashOffset=jz(n.borderDashOffset,t.borderDashOffset),e.lineJoin=jz(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=jz(n.borderWidth,t.borderWidth),e.strokeStyle=jz(n.borderColor,t.borderColor)}function pK(e,t,n){e.lineTo(n.x,n.y)}function mK(e){return e.stepped?xV:e.tension||e.cubicInterpolationMode===`monotone`?SV:pK}function hK(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function vK(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?_K:gK}function yK(e){return e.stepped?NH:e.tension||e.cubicInterpolationMode===`monotone`?PH:MH}function bK(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),fK(e,t.options),e.stroke(i)}function xK(e,t,n,r){let{segments:i,options:a}=t,o=vK(t);for(let s of i)fK(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var SK=typeof Path2D==`function`;function CK(e,t,n,r){SK&&!t.options.segment?bK(e,t,n,r):xK(e,t,n,r)}var wK=class extends qW{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;hH(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=qH(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=WH(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=yK(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function zK(e){return LK[e%LK.length]}function BK(e){return RK[e%RK.length]}function VK(e,t){return e.borderColor=zK(t),e.backgroundColor=BK(t),++t}function HK(e,t){return e.backgroundColor=e.data.map(()=>zK(t++)),t}function UK(e,t){return e.backgroundColor=e.data.map(()=>BK(t++)),t}function WK(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof KU?t=HK(n,t):i instanceof JU?t=UK(n,t):i&&(t=VK(n,t))}}function GK(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function KK(e){return e&&(e.borderColor||e.backgroundColor)}function qK(){return uV.borderColor!==`rgba(0,0,0,0.1)`||uV.backgroundColor!==`rgba(0,0,0,0.1)`}var JK={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=GK(r)||KK(i)||a&&GK(a)||qK();if(!n.forceOverride&&o)return;let s=WK(e);r.forEach(s)}};function YK(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function XK(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!Ez(d)&&!Ez(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function ZK(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function QK(e){e.data.datasets.forEach(e=>{ZK(e)})}function $K(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=CB(DB(t,a.axis,o).lo,0,n-1)),i=l?CB(DB(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var eq={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){QK(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(LV([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=$K(s,c);if(d<=(n.threshold||4*r)){ZK(t);return}Ez(a)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=YK(c,u,d,r,n);break;case`min-max`:f=XK(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){QK(e)}};function tq(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=iq(r,s,i);let c=nq(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=WH(t,c);for(let t of l){let r=nq(n,a[t.start],a[t.end],t.loop),s=UH(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:aq(c,r,`start`,Math.max)},end:{[n]:aq(c,r,`end`,Math.min)}})}}return o}function nq(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=xB(i),a=xB(a)),{property:e,start:i,end:a}}function rq(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=iq(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function iq(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function aq(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function oq(e,t){let n=[],r=!1;return Dz(e)?(r=!0,n=e):n=rq(e,t),n.length?new wK({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function sq(e){return e&&e.fill!==!1}function cq(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!kz(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function lq(e,t,n){let r=pq(e);if(Oz(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return kz(i)&&Math.floor(i)===i?uq(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function uq(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function dq(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:Oz(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function fq(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:Oz(e)?e.value:t.getBaseValue(),r}function pq(e){let t=e.options,n=t.fill,r=jz(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function mq(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=hq(t,n);s.push(oq({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&wq(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;sq(n)&&wq(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!sq(r)||n.drawTime!==`beforeDatasetDraw`||wq(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Mq=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Nq=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Pq=class extends qW{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=Pz(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=IV(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Mq(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=Fq(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=LH(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=RB(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=RB(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=RB(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=RB(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;yV(e,this),this._draw(),bV(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=uV.color,s=LH(e.rtl,this.left,this.width),c=IV(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Mq(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=jz(n.lineWidth,1);if(r.fillStyle=jz(n.fillStyle,o),r.lineCap=jz(n.lineCap,`butt`),r.lineDashOffset=jz(n.lineDashOffset,0),r.lineJoin=jz(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=jz(n.strokeStyle,o),r.setLineDash(jz(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;_V(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=PV(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?DV(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){EV(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:RB(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:RB(i,this.top+y+l,this.bottom-t[0].height),line:0},RH(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=RB(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=RB(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=zB(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Rq(o,e)+l}else f.y+=b}),zH(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=IV(t.font),r=FV(t.padding);if(!t.display)return;let i=LH(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=RB(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+RB(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=RB(o,u,u+d);a.textAlign=i.textAlign(LB(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,EV(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=IV(e.font),n=FV(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(TB(e,this.left,this.right)&&TB(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function Lq(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Rq(t,n)),r}function Rq(e,t){return t*(e.text?e.text.length:0)}function zq(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var Bq={id:`legend`,_element:Pq,start(e,t,n){let r=e.legend=new Pq({ctx:e.ctx,options:n,chart:e});CW.configure(e,r,n),CW.addBox(e,r)},stop(e){CW.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;CW.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=FV(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},Vq=class extends qW{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=Dz(n.text)?n.text.length:1;this._padding=FV(n.padding);let i=r*IV(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=RB(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=RB(o,r,t),s=Qz*-.5):(l=i-e,u=RB(o,t,r),s=Qz*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=IV(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);EV(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:LB(t.align),textBaseline:`middle`,translation:[i,a]})}};function Hq(e,t){let n=new Vq({ctx:e.ctx,options:t,chart:e});CW.configure(e,n,t),CW.addBox(e,n),e.titleBlock=n}var Uq={id:`title`,_element:Vq,start(e,t,n){Hq(e,n)},stop(e){let t=e.titleBlock;CW.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;CW.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Wq=new WeakMap,Gq={id:`subtitle`,start(e,t,n){let r=new Vq({ctx:e.ctx,options:n,chart:e});CW.configure(e,r,n),CW.addBox(e,r),Wq.set(e,r)},stop(e){CW.removeBox(e,Wq.get(e)),Wq.delete(e)},beforeUpdate(e,t,n){let r=Wq.get(e);CW.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Kq={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a-1?e.split(` -`):e}function Yq(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Xq(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=IV(t.bodyFont),l=IV(t.titleFont),u=IV(t.footerFont),d=a.length,f=i.length,p=r.length,m=FV(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,Fz(e.title,y),n.font=c.string,Fz(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,Fz(r,e=>{Fz(e.before,y),Fz(e.lines,y),Fz(e.after,y)}),v=0,n.font=u.string,Fz(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Zq(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Qq(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function $q(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),Qq(l,e,t,n)&&(l=`center`),l}function eJ(e,t,n){let r=n.yAlign||t.yAlign||Zq(e,n);return{xAlign:n.xAlign||t.xAlign||$q(e,t,n,r),yAlign:r}}function tJ(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function nJ(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function rJ(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=PV(o),m=tJ(t,s),h=nJ(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:CB(m,0,r.width-t.width),y:CB(h,0,r.height-t.height)}}function iJ(e,t,n){let r=FV(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function aJ(e){return qq([],Jq(e))}function oJ(e,t,n){return zV(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function sJ(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var cJ={beforeTitle:wz,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=sJ(n,e);qq(t.before,Jq(lJ(i,`beforeLabel`,this,e))),qq(t.lines,lJ(i,`label`,this,e)),qq(t.after,Jq(lJ(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return aJ(lJ(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=lJ(n,`beforeFooter`,this,e),i=lJ(n,`footer`,this,e),a=lJ(n,`afterFooter`,this,e),o=[];return o=qq(o,Jq(r)),o=qq(o,Jq(i)),o=qq(o,Jq(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),Fz(o,t=>{let n=sJ(e.callbacks,t);r.push(lJ(n,`labelColor`,this,t)),i.push(lJ(n,`labelPointStyle`,this,t)),a.push(lJ(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=Kq[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=Xq(this,n),o=Object.assign({},e,t),s=eJ(this.chart,n,o),c=rJ(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=PV(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=LH(n.rtl,this.x,this.width);for(e.x=iJ(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=IV(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,DV(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),DV(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=IV(n.bodyFont),d=u.lineHeight,f=0,p=LH(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=iJ(this,h,n),t.fillStyle=n.bodyColor,Fz(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=Kq[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Xq(this,e),o=Object.assign({},n,this._size),s=eJ(t,e,o),c=rJ(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=FV(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),RH(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),zH(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!Iz(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!Iz(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=Kq[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},dJ=Object.freeze({__proto__:null,Colors:JK,Decimation:eq,Filler:jq,Legend:Bq,SubTitle:Gq,Title:Uq,Tooltip:{id:`tooltip`,_element:uJ,positioners:Kq,afterInit(e,t,n){n&&(e.tooltip=new uJ({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:cJ},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),fJ=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function pJ(e,t,n,r){let i=e.indexOf(t);return i===-1?fJ(e,t,n,r):i===e.lastIndexOf(t)?i:n}var mJ=(e,t)=>e===null?null:CB(Math.round(e),0,t);function hJ(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function _J(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!Ez(a),_=!Ez(o),v=!Ez(c),y=(h-m)/(u+1),b=lB((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=lB(w*b/p/f)*f),Ez(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&pB((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=cB(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let ee=Math.max(_B(b),_B(S));x=10**(Ez(s)?ee:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let te=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&C!==o?n.length&&cB(n[n.length-1].value,o,vJ(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function vJ(e,t,{horizontal:n,minRotation:r}){let i=hB(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var yJ=class extends pG{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Ez(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=sB(r),t=sB(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=_J({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&mB(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return tV(e,this.chart.options.locale,this.options.ticks.format)}},bJ=class extends yJ{static id=`linear`;static defaults={ticks:{callback:iV.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=kz(e)?e:0,this.max=kz(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=hB(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},xJ=e=>Math.floor(oB(e)),SJ=(e,t)=>10**(xJ(e)+t);function CJ(e){return e/10**xJ(e)==1}function wJ(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function TJ(e,t){let n=xJ(t-e);for(;wJ(e,t,n)>10;)n++;for(;wJ(e,t,n)<10;)n--;return Math.min(n,xJ(e))}function EJ(e,{min:t,max:n}){t=Az(e.min,t);let r=[],i=xJ(t),a=TJ(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=Az(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=Az(e.max,f);return r.push({value:p,major:CJ(p),significand:d}),r}var DJ=class extends pG{static id=`logarithmic`;static defaults={ticks:{callback:iV.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=yJ.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return kz(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=kz(e)?Math.max(0,e):null,this.max=kz(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!kz(this._userMin)&&(this.min=e===SJ(this.min,0)?SJ(this.min,-1):SJ(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(SJ(n,-1)),a(SJ(r,1)))),n<=0&&i(SJ(r,-1)),r<=0&&a(SJ(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=EJ({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&mB(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:tV(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=oB(e),this._valueRange=oB(this.max)-oB(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(oB(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function OJ(e){let t=e.ticks;if(t.display&&e.display){let e=FV(t.backdropPadding);return jz(t.font&&t.font.size,uV.font.size)+e.height}return 0}function kJ(e,t,n){return n=Dz(n)?n:[n],{w:pV(e,t.string,n),h:n.length*t.lineHeight}}function AJ(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function jJ(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?Qz/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function NJ(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(gB(xB(c.angle+rB))),u=RJ(c.y,s.h,l),d=IJ(l),f=LJ(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function PJ(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(vV({x:n,y:r},t)||vV({x:n,y:a},t)||vV({x:i,y:r},t)||vV({x:i,y:a},t))}function FJ(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:OJ(a)/2,additionalAngle:o?Qz/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function zJ(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!Ez(s)){let n=PV(t.borderRadius),c=FV(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),DV(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function BJ(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));zJ(n,a,t);let o=IV(a.font),{x:s,y:c,textAlign:l}=t;EV(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function VJ(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,$z);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=Pz(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?jJ(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=$z/(this._pointLabels.length||1),n=this.options.startAngle||0;return xB(e*t+hB(n))}getDistanceFromCenterForValue(e){if(Ez(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Ez(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);HJ(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=IV(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=FV(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}EV(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},GJ={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},KJ=Object.keys(GJ);function qJ(e,t){return e-t}function JJ(e,t){if(Ez(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),kz(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(fB(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function YJ(e,t,n,r){let i=KJ.length;for(let a=KJ.indexOf(e);a=KJ.indexOf(n);a--){let n=KJ[a];if(GJ[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return KJ[n?KJ.indexOf(n):0]}function ZJ(e){for(let t=KJ.indexOf(e)+1,n=KJ.length;t=t?n[r]:n[i];e[a]=!0}}function $J(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function eY(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=CB(t,0,a),n=CB(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||YJ(i.minUnit,t,n,this._getLabelCapacity(t)),o=jz(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=fB(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return Pz(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=DB(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=DB(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var rY=class extends tY{static id=`timeseries`;static defaults=tY.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=nY(t,this.min),this._tableRange=nY(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(nY(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return nY(this._table,n*this._tableRange+this._minPos,!0)}},iY=[YU,IK,dJ,Object.freeze({__proto__:null,CategoryScale:gJ,LinearScale:bJ,LogarithmicScale:DJ,RadialLinearScale:WJ,TimeScale:tY,TimeSeriesScale:rY})];tK.register(...iY);var aY=tK,oY=R(``);function sY(e,t){E(t,!0);let n=G(t,`class`,3,``),r=G(t,`ariaLabel`,3,``),i=k(null),a=null;Mn(()=>{if(fI.tick,!I(i)||typeof t.build!=`function`)return;let e=t.build();if(!e){a&&=(a.destroy(),null);return}return a&&=(a.destroy(),null),a=new aY(I(i).getContext(`2d`),e),()=>{a&&=(a.destroy(),null)}});var o=oY();pa(o,e=>A(i,e),()=>I(i)),F(()=>{U(o,1,Mi(n())),W(o,`aria-label`,r())}),z(e,o),D()}var cY=R(``),lY=R(`
        `);function uY(e,t){E(t,!0);let n=G(t,`options`,19,()=>[]),r=G(t,`ariaLabel`,3,``),i=G(t,`class`,3,``);var a=lY();H(a,21,n,e=>e.value,(e,n)=>{var r=cY();let i;var a=M(r,!0);T(r),F(()=>{i=U(r,1,`segmented-btn svelte-92fh5i`,null,i,{active:t.value===I(n).value}),W(r,`aria-pressed`,t.value===I(n).value),B(a,I(n).label)}),L(`click`,r,()=>t.onchange?.(I(n).value)),z(e,r)}),T(a),F(()=>{U(a,1,`segmented-control ${i()??``}`,`svelte-92fh5i`),W(a,`aria-label`,r())}),z(e,a),D()}Hr([`click`]);function dY(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}function fY(){return{grid:dY(`--chart-grid`),text:dY(`--chart-text`),dayMarker:dY(`--chart-day-marker`),tooltipBg:dY(`--chart-tooltip-bg`),tooltipBorder:dY(`--chart-tooltip-border`),tooltipText:dY(`--chart-tooltip-text`)}}function pY(){return{size:11,family:`'SF Mono', Menlo, Consolas, monospace`}}function mY(e,t){return{backgroundColor:e.tooltipBg,borderColor:e.tooltipBorder,borderWidth:1,titleColor:e.tooltipText,bodyColor:e.tooltipText,callbacks:t}}function hY(e){if(typeof document>`u`||!document.body)return e;let t=document.createElement(`span`);t.style.display=`none`,t.style.color=e,document.body.appendChild(t);let n=getComputedStyle(t).color;return document.body.removeChild(t),n||e}var gY=[`#c2845a`,`#7a9e7e`,`#d4a574`,`#b8a98e`,`#8b9e6b`,`#7d8a97`,`#c47a5a`,`#6b8e6b`,`#a09486`,`#9b7ea4`,`#c49a6c`];function _Y(){return[...gY]}function vY(e){let t=5381,n=String(e||``);for(let e=0;eVL(e)}}var xY={seconds:{apiName:`second`,windowLabel:`Last 60 seconds`,refreshMs:2e3},minutes:{apiName:`minute`,windowLabel:`Last 60 minutes`,refreshMs:5e3},hours:{apiName:`hour`,windowLabel:`Last 24 hours`,refreshMs:2e4},days:{apiName:`day`,windowLabel:`Last 30 days`,refreshMs:6e4}},SY=[{value:`seconds`,label:`Seconds`},{value:`minutes`,label:`Minutes`},{value:`hours`,label:`Hours`},{value:`days`,label:`Days`}];function CY(){return{input:0,output:0,prompt:0,local:0}}function wY(e){return String(e).padStart(2,`0`)}function TY(e){let t=Number(e);return Number.isFinite(t)&&t>0?t:0}function EY(e,t){if(!Number.isFinite(t))return``;let n=new Date(t);switch(e){case`seconds`:return wY(n.getHours())+`:`+wY(n.getMinutes())+`:`+wY(n.getSeconds());case`minutes`:return wY(n.getHours())+`:`+wY(n.getMinutes());case`hours`:return wY(n.getHours())+`:00`;default:return wY(n.getMonth()+1)+`-`+wY(n.getDate())}}function DY(e,t){let n=[],r=[],i={input:[],output:[],prompt:[],local:[]},a=CY();for(let o of e||[]){let e=Date.parse(o&&o.start),s=TY(o&&o.input_tokens),c=TY(o&&o.output_tokens),l=TY(o&&o.prompt_cached_tokens),u=TY(o&&o.locally_cached_tokens);n.push(EY(t,e)),r.push(Number.isFinite(e)?e:null),i.input.push(s),i.output.push(c),i.prompt.push(l),i.local.push(u),a.input+=s,a.output+=c,a.prompt+=l,a.local+=u}return{labels:n,stamps:r,cols:i,totals:a}}function OY(e){let t=e||CY();return t.input+t.output+t.prompt+t.local>0}function kY(e,t){return VL(Math.max(0,Math.round(e&&e[t]||0)))}function AY(e){return(xY[e]||xY.minutes).windowLabel}function jY(e,t){return`Live token throughput, `+AY(t).toLowerCase()+`. Input `+kY(e,`input`)+`, output `+kY(e,`output`)+`, prompt cached `+kY(e,`prompt`)+`, locally cached `+kY(e,`local`)+` tokens.`}function MY(e,t,n,r){let i=e=>VL(Math.max(0,Math.round(e))),a=n.stamps,o=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderWidth:0,borderRadius:0,categoryPercentage:1,barPercentage:1,stack:`tokens`});return{type:`bar`,plugins:[{id:`liveTokensDayMarks`,afterDatasetsDraw:t=>{if(r===`days`)return;let n=t.getDatasetMeta(0),i=t.chartArea;if(!n||!n.data||!i)return;let o=t.ctx;o.save(),o.font=`10px 'SF Mono', Menlo, Consolas, monospace`;let s=null;for(let t=0;t{if(!e.length)return``;let t=a[e[0].dataIndex];if(!t)return e[0].label;let n=new Date(t);return r===`days`?n.toLocaleDateString():n.toLocaleString()},label:e=>e.dataset.label+`: `+i(e.parsed.y),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+i(t)}})}}}}var NY=900,PY=6,FY=new class{#e=k(`minutes`);get granularity(){return I(this.#e)}set granularity(e){A(this.#e,e,!0)}#t=k(j([]));get buckets(){return I(this.#t)}set buckets(e){A(this.#t,e,!0)}#n=k(!1);get active(){return I(this.#n)}set active(e){A(this.#n,e,!0)}#r=null;#i=null;#a=null;#o=0;#s=null;#c=!1;start(){this.stop(),this.active=!0,this.fetch(),this.#l(),this.#u()}stop(){this.active=!1,this.#r&&=(clearInterval(this.#r),null),this.#i&&=(clearTimeout(this.#i),null),this.#a&&=(clearTimeout(this.#a),null),this.#o=0,this.#s&&=(this.#s.abort(),null),this.buckets=[]}setGranularity(e){!xY[e]||e===this.granularity||(this.granularity=e,this.buckets=[],this.#l(),this.fetch())}#l(){this.#r&&=(clearInterval(this.#r),null);let e=xY[this.granularity]||xY.minutes;this.#r=setInterval(()=>{this.active&&this.fetch()},e.refreshMs)}noteUsageEvent(e){!this.active||e!==`usage.flushed`||(this.#i||=setTimeout(()=>{this.#i=null,this.fetch()},NY))}async fetch(){if(!this.active||this.#c)return;this.#c=!0;let e=this.granularity;try{let t=await YI(`/admin/usage/throughput?granularity=`+(xY[e]||xY.minutes).apiName,{label:`token throughput`});if(t.stale||!t.ok||this.granularity!==e)return;this.buckets=t.data&&Array.isArray(t.data.buckets)?t.data.buckets:[]}catch(e){if(ZI(e))return;console.error(`Failed to fetch token throughput:`,e)}finally{this.#c=!1,this.active&&this.granularity!==e&&this.fetch()}}async#u(){await eL.ensureLoaded(),this.active&&eL.liveLogsVisible()&&(typeof ReadableStream>`u`||(this.#s&&this.#s.abort(),this.#s=new AbortController,this.#d(this.#s)))}async#d(e){try{let t=await qI(`/admin/live/logs?types=usage`,{signal:e.signal});if(!t.ok||!t.body||typeof t.body.getReader!=`function`){this.#m();return}this.#o=0,await this.#f(t.body.getReader()),this.#m()}catch(e){if(ZI(e))return;console.error(`Live usage stream failed:`,e),this.#m()}}async#f(e){let t=new TextDecoder,n=``;for(;;){let r=await e.read();if(r.done)break;n+=t.decode(r.value,{stream:!0});let i;for(;i=n.match(/\r?\n\r?\n/);){let e=i.index,t=n.slice(0,e);n=n.slice(e+i[0].length),this.#p(t)}}n+=t.decode(),n.trim()&&this.#p(n)}#p(e){let t=String(e||``).split(/\r?\n/),n=[];for(let e of t)e.indexOf(`data:`)===0&&n.push(e.slice(5).trimStart());if(n.length===0)return;let r;try{r=JSON.parse(n.join(` -`))}catch{return}if(!r||typeof r!=`object`)return;let i=String(r.type||``).trim();i.indexOf(`usage.`)===0&&this.noteUsageEvent(i)}#m(){if(!this.active||this.#a)return;let e=Math.min(this.#o+1,PY);this.#o=e;let t=Math.min(3e4,500*2**(e-1));this.#a=setTimeout(()=>{this.#a=null,this.#u()},t)}},IY=R(`
        `),LY=R(`
        Waiting for live requests…
        `),RY=R(`

        Live Token Throughput

        `);function zY(e,t){E(t,!0);let n=O(()=>DY(FY.buckets,FY.granularity)),r=O(()=>I(n).totals);function i(){return{input:hY(`var(--token-input)`),output:hY(`var(--token-output)`),prompt:hY(`var(--token-prompt)`),local:hY(`var(--token-local)`)}}let a=[{metric:`input`,label:`Input Tokens`,colorVar:`--token-input`},{metric:`output`,label:`Output Tokens`,colorVar:`--token-output`},{metric:`prompt`,label:`Prompt (Input) Cached`,colorVar:`--token-prompt`},{metric:`local`,label:`Locally Cached`,colorVar:`--token-local`}];var o=RY(),s=M(o),c=M(s),l=P(M(c),2),u=M(l);let d;var f=P(u,2),p=M(f,!0);T(f),T(l),T(c),uY(P(c,2),{ariaLabel:`Live token throughput granularity`,get options(){return SY},get value(){return FY.granularity},onchange:e=>FY.setGranularity(e)}),T(s);var m=P(s,2);H(m,21,()=>a,e=>e.metric,(e,t)=>{var n=IY(),i=M(n),a=P(i,2),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(n),F(e=>{zi(i,`background: var(${I(t).colorVar??``})`),B(o,I(t).label),B(c,e)},[()=>kY(I(r),I(t).metric)]),z(e,n)}),T(m);var h=P(m,2),g=M(h);{let e=O(()=>jY(I(r),FY.granularity));sY(g,{get ariaLabel(){return I(e)},build:()=>MY(fY(),i(),I(n),FY.granularity)})}var _=P(g,2),v=e=>{z(e,LY())},y=O(()=>!OY(I(r)));V(_,e=>{I(y)&&e(v)}),T(h),T(o),F(e=>{d=U(u,1,`live-dot`,null,d,{"is-streaming":FY.active}),B(p,e)},[()=>AY(FY.granularity)]),z(e,o),D()}function BY(e){let t=e||{};if(t.total_tokens!==null&&t.total_tokens!==void 0){let e=Number(t.total_tokens);if(Number.isFinite(e))return e}let n=Number(t.total_input_tokens||0),r=Number(t.total_output_tokens||0);return(Number.isFinite(n)?n:0)+(Number.isFinite(r)?r:0)}function VY(e,t){if(!t)return 0;let n=e&&e.summary?e.summary:{},r=Number(n.total_hits||0);return Number.isFinite(r)&&r>0?r:0}function HY(e,t,n){let r=Number(e&&e.total_requests||0);return(Number.isFinite(r)?r:0)+VY(t,n)}function UY(e,t,n){let r=VY(t,n);return r<=0?``:LL(HY(e,t,n)-r)+` to providers + `+LL(r)+` from cache`}function WY(e){let t=e&&e.summary?e.summary:{},n=Number(t.total_input_tokens||0),r=Number(t.total_output_tokens||0);return(Number.isFinite(n)?n:0)+(Number.isFinite(r)?r:0)}function GY(e,t,n){let r=e=>{let t=Number(e||0);return Number.isFinite(t)&&t>0?t:0},i=e||{},a=r(i.uncached_input_tokens),o=r(i.cached_input_tokens),s=r(i.cache_write_input_tokens),c=t&&t.summary?t.summary:{},l=n?r(c.total_input_tokens):0;return[{key:`uncached`,label:`Regular`,tokens:a+s,colorVar:`--cache-meter-uncached`,note:s>0?`Includes `+LL(s)+` cache-write tokens`:``},{key:`prompt`,label:`Prompt cached`,tokens:o,colorVar:`--cache-meter-prompt`,note:`Provider prompt-cache reads`},{key:`local`,label:`Locally cached`,tokens:l,colorVar:`--cache-meter-local`,note:`Served from GoModel response cache`}]}function KY(e,t,n){return GY(e,t,n).reduce((e,t)=>e+t.tokens,0)}function qY(e,t,n){return KY(e,t,n)>0}function JY(e,t,n){let r=GY(e,t,n),i=r.reduce((e,t)=>e+t.tokens,0);if(i<=0)return r.map(e=>Object.assign({},e,{pct:0}));let a=r.map(e=>{let t=e.tokens/i*100,n=Math.floor(t);return Object.assign({},e,{pct:n,remainder:t-n})}),o=100-a.reduce((e,t)=>e+t.pct,0);return a.map((e,t)=>({index:t,remainder:e.remainder,tokens:e.tokens})).filter(e=>e.tokens>0).sort((e,t)=>t.remainder-e.remainder).forEach(e=>{o>0&&(a[e.index].pct+=1,--o)}),a}function YY(e,t,n){return JY(e,t,n).filter(e=>e.tokens>0)}function XY(e){let t=[e.label+`: `+LL(e.tokens)+` input tokens (`+e.pct+`%)`];return e.note&&t.push(e.note),t.join(` -`)}function ZY(e){let t=(e||[]).map(e=>e.label+` `+e.pct+`%`);return`Cache breakdown of input tokens — `+(t.length?t.join(`, `):`no data`)}function QY(e){return e.getUTCFullYear()+`-`+String(e.getUTCMonth()+1).padStart(2,`0`)+`-`+String(e.getUTCDate()).padStart(2,`0`)}function $Y(e,t,n,r){if(t!==`daily`||!n||!r)return e;let i={};(e||[]).forEach(e=>{i[e.date]=e});let a=[];for(let e=new Date(n);e<=r;e.setUTCDate(e.getUTCDate()+1)){let t=QY(e);a.push(i[t]||{date:t,input_tokens:0,output_tokens:0,total_tokens:0,requests:0,input_cost:null,output_cost:null,total_cost:null})}return a}function eX(e,t){let n=e=>Number(e)||0,r=e.map(e=>e.date),i=e.map(e=>n(e.uncached_input_tokens)+n(e.cache_write_input_tokens)+n(e.cached_input_tokens)>0?n(e.uncached_input_tokens)+n(e.cache_write_input_tokens):n(e.input_tokens)),a=e.map(e=>n(e.output_tokens)),o=e.map(e=>n(e.cached_input_tokens)),s={};return(t||[]).forEach(e=>{s[e.date]=e}),{labels:r,inputPaid:i,output:a,prompt:o,local:r.map(e=>{let t=s[e];return t?n(t.input_tokens)+n(t.output_tokens):0})}}function tX(e){let t=e||{},n=Math.max(0,Number(t.uncached_input_tokens)||0),r=Math.max(0,Number(t.cached_input_tokens)||0),i=Math.max(0,Number(t.cache_write_input_tokens)||0),a=n+r+i;return a>0?r/a*100:0}function nX(e){let t=e||{};return(Number(t.uncached_input_tokens)||0)+(Number(t.cached_input_tokens)||0)+(Number(t.cache_write_input_tokens)||0)>0}function rX(e){return nX(e)?Math.round(tX(e))+`%`:`—`}function iX(e,t,n={}){let r=!!n.cacheEnabled,i=n.resolve||(e=>e),a=(e,t)=>i(`color-mix(in srgb, `+e+` `+t+`%, transparent)`),o=(e,t,n,r)=>Object.assign({label:e,data:t,borderColor:n,backgroundColor:n,fill:!1,tension:.3,borderWidth:2,pointRadius:0,pointHoverRadius:4},r||{}),s=[o(`Input Tokens`,t.inputPaid,i(`var(--token-input)`),{fill:`origin`}),o(`Output Tokens`,t.output,i(`var(--token-output)`),{fill:`-1`}),o(`Prompt (Input) Cached`,t.prompt,i(`var(--token-prompt)`),{fill:`-1`,borderDash:[6,4]})];return r&&s.push(o(`Locally Cached`,t.local,a(`var(--info)`,35),{fill:`-1`,borderDash:[2,3]})),{type:`line`,data:{labels:t.labels,datasets:s},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:mY(e,{label:e=>e.dataset.label+`: `+e.parsed.y.toLocaleString(),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+t.toLocaleString()}})},scales:{x:{stacked:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:pY(),maxRotation:0,autoSkip:!0,maxTicksLimit:10}},y:{stacked:!0,beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:bY(e)}}}}}function aX(e,t,n){let r=Math.max(0,Math.min(100,e));return{type:`doughnut`,data:{datasets:[{data:[r,100-r],backgroundColor:[t,n],borderWidth:0,spacing:0}]},options:{rotation:-90,circumference:180,cutout:`84%`,responsive:!0,maintainAspectRatio:!1,animation:{duration:0},layout:{padding:1},events:[],plugins:{legend:{display:!1},tooltip:{enabled:!1}}}}}var oX=`gomodel_provider_status_details_expanded`,sX=`gomodel_provider_card_expanded_overrides`,cX=3e3,lX=`https://gomodel.enterpilot.io/docs/providers/`,uX={anthropic:`anthropic`,azure:`azure`,bailian:`bailian`,bedrock:`bedrock`,"bedrock-mantle":`bedrock-mantle`,cohere:`cohere`,deepseek:`deepseek`,gemini:`gemini`,opencode_go:`opencode-go`,oracle:`oracle`,vertex:`vertex`,vllm:`vllm`,xiaomi:`xiaomi`};function dX(){return{summary:{total:0,healthy:0,degraded:0,unhealthy:0,overall_status:`degraded`},providers:[]}}function fX(e){let t={detailsExpanded:!1,cardOverrides:{}};try{if(e){let n=e.getItem(oX);n===`true`||n===`false`?t.detailsExpanded=n===`true`:e.setItem(oX,`false`);let r=JSON.parse(e.getItem(sX)||`{}`);r&&typeof r==`object`&&!Array.isArray(r)&&(t.cardOverrides=r)}}catch{}return t}function pX(e,t){if(e)try{e.setItem(oX,t?`true`:`false`)}catch{}}function mX(e,t){if(e)try{e.setItem(sX,JSON.stringify(t))}catch{}}function hX(e,t,n){let r=n&&n.name?String(n.name):``;return r&&Object.prototype.hasOwnProperty.call(e,r)?e[r]===!0:t}function gX(e){return`is-`+(String(e&&e.overall_status||`degraded`).trim()||`degraded`)}function _X(e){return`is-`+(String(e||`degraded`).trim()||`degraded`)}function vX(e){let t=e||{};return String(t.healthy||0)+`/`+String(t.total||0)}function yX(e){let t=e||{},n=Number(t.total||0),r=Number(t.healthy||0);return n>0&&rString(e&&e.status_label||``).trim().toLowerCase()===`starting`)}function SX(e){if(!e||!e.runtime)return``;let t=e.runtime.last_model_fetch_at||``,n=e.runtime.last_availability_check_at||``;return t?n&&Date.parse(n)>Date.parse(t)?n:t:n}function CX(e,t){let n=SX(e);if(!n||typeof t!=`function`)return`-`;let r=t(n);if(!r||r===`-`)return`-`;let i=String(r).split(` `);return i.length>1?i.slice(1).join(` `):r}function wX(e,t){let n=SX(e);return n?typeof t==`function`?t(n):String(n):``}function TX(e){if(!e)return``;let t=String(e.name||``).trim(),n=String(e.type||e.config&&e.config.type||``).trim();return!n||n===t?``:n}function EX(e){let t=String(e&&(e.type||e.config&&e.config.type)||``).trim().toLowerCase(),n=t?uX[t]:``;return n?lX+n+`?utm_source=gomodel_dashboard`:``}function DX(e){let t=e&&e.config&&e.config.resilience?e.config.resilience.retry:null;return t?String(t.max_retries)+` retries, `+t.initial_backoff+` initial, `+t.max_backoff+` max, factor `+t.backoff_factor+`, jitter `+t.jitter_factor:`-`}function OX(e){let t=e&&e.config&&e.config.resilience?e.config.resilience.circuit_breaker:null;return t?String(t.failure_threshold)+` fail, `+String(t.success_threshold)+` success, `+t.timeout+` timeout`:`-`}function kX(e){let t=e&&e.config&&Array.isArray(e.config.models)?e.config.models.filter(Boolean):[];return t.length===0?`Automatic`:t.join(`, `)}function AX(e){if(!e)return``;let t=[];return e.status_reason&&t.push(String(e.status_reason)),e.last_error&&t.push(`Last error: `+String(e.last_error)),t.join(` - -`)}function jX(e){let t=e&&e.request_health;return t&&typeof t==`object`?t:null}function MX(e){let t=jX(e);return t?String(t.circuit_state||``).trim():``}function NX(e){let t=MX(e);return t?t.charAt(0).toUpperCase()+t.slice(1):``}function PX(e){let t=MX(e);return t===`open`?`is-unhealthy`:t===`half-open`?`is-degraded`:`is-healthy`}function FX(e){let t=jX(e);if(!t)return``;let n=Number(t.requests||0),r=Number(t.errors||0),i=Math.round(Number(t.window_seconds||0)/60),a=i>0?`last `+i+` min`:`recent`;return String(n)+` request`+(n===1?``:`s`)+` · `+String(r)+` error`+(r===1?``:`s`)+` (`+a+`)`}function IX(e){let t=jX(e);return t&&Array.isArray(t.models)?t.models:[]}function LX(e){return e?String(Number(e.errors||0))+`/`+String(Number(e.requests||0))+` failed`:``}function RX(e){let t=e&&e.last_error;return!t||!t.message?``:(t.status_code?`HTTP `+String(t.status_code)+`: `:``)+t.message}function zX(){return{name:``,slug:``,url:``,transport:`http`,description:``,enabled:!0,headers:[],allowed_tools:``,disallowed_tools:``,user_paths:``,tool_timeout_seconds:``}}function BX(){return{server:``,status:``,instructions:``,tools:[],prompts:[],resources:[],templates:[]}}function VX(e){return String(e&&(e.slug||e.name)||``).trim()}function HX(e){return String(e&&e.status||``).trim()||`connecting`}function UX(e){switch(HX(e)){case`connected`:return`status-success`;case`degraded`:return String(e&&e.last_error||``).trim()?`status-error`:`status-warning`;case`connecting`:return`status-neutral`;default:return`status-unknown`}}function WX(e,t){let n=HX(e),r=String(e&&e.last_error||``).trim();return r&&n!==`connected`?r:n===`connected`&&e&&e.connected_at?`Connected since `+(typeof t==`function`?t:String)(e.connected_at):``}function GX(e){return String(e&&e.transport||``)===`stdio`?`local command`:String(e&&e.url||``).trim()||`—`}function KX(e){let t=Number(e&&e.prompt_count||0),n=Number(e&&e.resource_count||0);return t+` prompts · `+n+` resources`}function qX(e){let t=String(e||``).normalize(`NFKD`).toLowerCase(),n=t.replace(/[\u0300-\u036f]/g,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``).slice(0,64).replace(/-+$/g,``);if(n)return n;let r=2166136261;for(let e of t)r=Math.imul((r^e.codePointAt(0))>>>0,16777619)>>>0;return`mcp-`+r.toString(16).padStart(8,`0`)}function JX(e){return String(e||``).split(` -`).map(e=>e.trim()).filter(e=>e)}function YX(e){return!e||typeof e!=`object`||Array.isArray(e)?[]:Object.keys(e).sort().map(t=>({name:t,value:String(e[t]||``)}))}function XX(e){let t={};return(Array.isArray(e)?e:[]).forEach(e=>{let n=String(e&&e.name||``).trim();n&&(t[n]=String(e&&e.value||``))}),t}function ZX(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.slug,e.url,e.transport,e.description,e.status].some(e=>String(e||``).toLowerCase().includes(r)))}function QX(e){return{name:String(e.name||``).trim(),slug:VX(e),url:String(e.url||``).trim(),transport:e.transport===`sse`?`sse`:`http`,description:String(e.description||``).trim(),enabled:e.enabled!==!1,headers:YX(e.headers),allowed_tools:(Array.isArray(e.allowed_tools)?e.allowed_tools:[]).join(`, `),disallowed_tools:(Array.isArray(e.disallowed_tools)?e.disallowed_tools:[]).join(`, `),user_paths:(Array.isArray(e.user_paths)?e.user_paths:[]).join(` -`),tool_timeout_seconds:e.tool_timeout_seconds?String(e.tool_timeout_seconds):``}}function $X(e,t,n){let r=String(e.name||``).trim(),i=String(e.slug||qX(r)).trim().toLowerCase(),a=String(e.url||``).trim(),o=e.transport===`sse`?`sse`:`http`;if(!r)return{error:`Name is required.`};if(!/^[a-z0-9][a-z0-9_-]{0,63}$/.test(i))return{error:`Slug must use 1–64 lowercase ASCII letters, numbers, hyphens, or underscores.`};if(t===`create`&&(n||[]).some(e=>VX(e)===i))return{error:`Slug "`+i+`" is already in use.`};if(!a)return{error:`URL is required.`};let s,c=String(e.tool_timeout_seconds||``).trim();if(c!==``){let e=Number(c);if(!Number.isSafeInteger(e)||e<0)return{error:`Tool timeout must be a non-negative whole number of seconds.`};s=e}return{payload:{name:r,slug:i,url:a,transport:o,headers:XX(e.headers),description:String(e.description||``).trim(),enabled:!!e.enabled,allowed_tools:FL(e.allowed_tools),disallowed_tools:FL(e.disallowed_tools),user_paths:JX(e.user_paths),tool_timeout_seconds:s}}}function eZ(e,t){let n=t&&typeof t==`object`&&!Array.isArray(t)?t:{},r=e=>(Array.isArray(e)?e:[]).filter(e=>e&&typeof e==`object`);return{server:String(n.server||e||``).trim(),status:String(n.status||``).trim(),instructions:String(n.instructions||``).trim(),tools:r(n.tools),prompts:r(n.prompts),resources:r(n.resources),templates:r(n.templates)}}function tZ(e,t){return String(e&&e.server||``)+`_`+String(t||``)}function nZ(e){let t=e||BX(),n=(e,t)=>{let n=String(e||``).trim(),r=String(t||``).trim();return n&&r?n+` — `+r:r||n},r=e=>n=>({key:e+`:`+String(n.name||``),name:String(n.name||``),aggregated:tZ(t,n.name),description:String(n.description||``).trim()});return[{key:`tools`,title:`Tools`,items:(t.tools||[]).map(r(`tool`))},{key:`prompts`,title:`Prompts`,items:(t.prompts||[]).map(r(`prompt`))},{key:`resources`,title:`Resources`,items:(t.resources||[]).map(e=>({key:`resource:`+String(e.uri||``),name:String(e.uri||``),aggregated:``,description:n(e.name,e.description)}))},{key:`templates`,title:`Resource templates`,items:(t.templates||[]).map(e=>({key:`template:`+String(e.uri_template||``),name:String(e.uri_template||``),aggregated:``,description:n(e.name,e.description)}))}].filter(e=>e.items.length>0)}function rZ(e){return nZ(e).length===0}function iZ(e){return(e||[]).length}function aZ(e){return(e||[]).filter(e=>HX(e)===`connected`).length}function oZ(e){return(e||[]).filter(e=>e&&e.enabled!==!1&&HX(e)===`degraded`).length}function sZ(e,t){return!!e&&iZ(t)>0}function cZ(e){return String(aZ(e))+`/`+String(iZ(e))}function lZ(e){return oZ(e)>0?`is-degraded`:`is-healthy`}function uZ(e){let t=oZ(e);if(t>0)return String(t)+` server`+(t===1?``:`s`)+` need`+(t===1?`s`:``)+` attention`;let n=iZ(e),r=aZ(e);return n>0&&r===n?`All MCP servers connected`:String(r)+` of `+String(n)+` server`+(n===1?``:`s`)+` connected`}function dZ(){return{interval:`day`,buckets:[],summary:{requests:0},provider_latency:[]}}function fZ(e){let t=e&&typeof e==`object`?e:{};return{interval:t.interval===`hour`?`hour`:`day`,buckets:Array.isArray(t.buckets)?t.buckets:[],summary:t.summary&&typeof t.summary==`object`?t.summary:{requests:0},provider_latency:Array.isArray(t.provider_latency)?t.provider_latency:[]}}function pZ(e){return Number(e&&e.summary&&e.summary.requests||0)>0}function mZ(e){return(e&&Array.isArray(e.provider_latency)?e.provider_latency:[]).length>0}function hZ(e){let t=e&&e.summary?e.summary.success_rate:null;return t==null?`—`:(Math.round(Number(t)*1e3)/10).toFixed(1)+`%`}function gZ(e,t){return Number(e&&e.summary&&e.summary[t]||0)}function _Z(e){let t=Number(e);return Number.isFinite(t)?t>=6e4?(t/6e4).toFixed(1)+` min`:t>=1e3?(t/1e3).toFixed(2)+` s`:Math.round(t)+` ms`:`-`}function vZ(e){let t=e&&e.summary?e.summary.avg_duration_ms:null;return t==null?`—`:_Z(Number(t))}function yZ(e,t){try{let n={};return new Intl.DateTimeFormat(`en-US`,{timeZone:t,year:`numeric`,month:`short`,day:`numeric`,hour:`2-digit`,hourCycle:`h23`}).formatToParts(e).forEach(e=>{n[e.type]=e.value}),{year:n.year,month:n.month,day:n.day,hour:Number(n.hour)}}catch{return{year:String(e.getFullYear()),month:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`][e.getMonth()],day:String(e.getDate()),hour:e.getHours()}}}function bZ(e,t,n){let r=new Date(e.start);if(Number.isNaN(r.getTime()))return String(e.start||``);let i=yZ(r,n),a=i.month+` `+i.day;return t!==`hour`||i.hour===0?a:String(i.hour).padStart(2,`0`)+`:00`}function xZ(e,t,n,r){let i=new Date(e.start);if(Number.isNaN(i.getTime()))return String(e.start||``);if(t===`hour`)return r(e.start);let a=yZ(i,n);return a.month+` `+a.day+`, `+a.year}function SZ(e){return{ok:e(`var(--success)`),clientError:e(`var(--warning)`),serverError:e(`var(--danger)`),other:e(`color-mix(in srgb, var(--text-muted) 55%, transparent)`)}}function CZ(e,t,n={}){let r=n.interval===`hour`?`hour`:`day`,i=n.zone,a=n.resolve||(e=>e),o=n.formatTimestamp||(e=>String(e)),s=t.map(e=>bZ(e,r,i)),c=SZ(a),l=a(`var(--bg-surface)`),u=e=>Number(e)||0,d=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderColor:l,borderWidth:1,borderSkipped:!1,borderRadius:2,maxBarThickness:28}),f=[d(`2xx`,t.map(e=>u(e.status_2xx)),c.ok),d(`4xx`,t.map(e=>u(e.status_4xx)),c.clientError),d(`5xx`,t.map(e=>u(e.status_5xx)),c.serverError)];return t.some(e=>u(e.status_other)>0)&&f.push(d(`Other`,t.map(e=>u(e.status_other)),c.other)),{type:`bar`,data:{labels:s,datasets:f},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:mY(e,{title:e=>e.length?xZ(t[e[0].dataIndex],r,i,o):``,label:e=>e.dataset.label+`: `+e.parsed.y.toLocaleString(),footer:e=>{let t=0;return e.forEach(e=>{t+=Number(e.parsed.y)||0}),`Total: `+t.toLocaleString()}})},scales:{x:{stacked:!0,grid:{display:!1},border:{display:!1},ticks:{color:e.text,font:pY(),maxRotation:0,autoSkip:!0,maxTicksLimit:12}},y:{stacked:!0,beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:pY(),precision:0,callback:e=>VL(e)}}}}}}function wZ(e=_Y()){let t={};return function(n){return n in t||(t[n]=e[Object.keys(t).length%e.length]),t[n]}}function TZ(e,t,n,r={}){let i=r.interval===`hour`?`hour`:`day`,a=r.zone,o=r.formatTimestamp||(e=>String(e)),s=r.providerColor||wZ();return{type:`line`,data:{labels:t.map(e=>bZ(e,i,a)),datasets:n.map(e=>({label:e.provider,data:(e.avg_duration_ms||[]).map(e=>e==null?null:Number(e)),borderColor:s(e.provider),backgroundColor:s(e.provider),fill:!1,tension:.3,borderWidth:2,pointRadius:0,pointHoverRadius:4,spanGaps:i===`hour`&&2}))},options:{responsive:!0,maintainAspectRatio:!1,animation:{duration:0},interaction:{mode:`index`,intersect:!1},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:mY(e,{title:e=>e.length?xZ(t[e[0].dataIndex],i,a,o):``,label:e=>{let t=(n[e.datasetIndex]&&n[e.datasetIndex].requests||[])[e.dataIndex],r=Number(t)||0;return e.dataset.label+`: `+_Z(e.parsed.y)+(r>0?` (`+r.toLocaleString()+` req)`:``)}})},scales:{x:{grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:pY(),maxRotation:0,autoSkip:!0,maxTicksLimit:12}},y:{beginAtZero:!0,grid:{color:e.grid},border:{display:!1},ticks:{color:e.text,font:pY(),callback:e=>_Z(e)}}}}}}var EZ=class{#e=k(j(dX()));get status(){return I(this.#e)}set status(e){A(this.#e,e,!0)}#t=k(!1);get loading(){return I(this.#t)}set loading(e){A(this.#t,e,!0)}#n=k(!1);get loadedOnce(){return I(this.#n)}set loadedOnce(e){A(this.#n,e,!0)}#r=k(!1);get detailsExpanded(){return I(this.#r)}set detailsExpanded(e){A(this.#r,e,!0)}#i=k(j({}));get cardOverrides(){return I(this.#i)}set cardOverrides(e){A(this.#i,e,!0)}#a=null;#o=null;#s=!1;initPreferences(){if(this.#s)return;this.#s=!0;let e=fX(lI());this.detailsExpanded=e.detailsExpanded,this.cardOverrides=e.cardOverrides}cardExpanded(e){return hX(this.cardOverrides,this.detailsExpanded,e)}toggleCard(e){let t=e&&e.name?String(e.name):``;if(!t)return;let n={...this.cardOverrides};n[t]=!this.cardExpanded(e),this.cardOverrides=n,mX(lI(),this.cardOverrides)}toggleDetails(){this.detailsExpanded=!this.detailsExpanded,this.cardOverrides={},pX(lI(),this.detailsExpanded),mX(lI(),this.cardOverrides)}detailsToggleLabel(){return this.detailsExpanded?`Show Details`:`Hide Details`}async fetch(){this.initPreferences(),this.#a&&this.#a.abort();let e=new AbortController;this.#a=e,this.loading=!0;try{let t=await YI(`/admin/providers/status`,{label:`provider status`,signal:e.signal});if(t.stale||e.signal.aborted)return;if(!t.ok){this.status=dX(),this.#l();return}let n=t.data&&typeof t.data==`object`?t.data:dX();n.summary||=dX().summary,Array.isArray(n.providers)||(n.providers=[]),this.status=n,this.#c()}catch(e){if(ZI(e))return;console.error(`Failed to fetch provider status:`,e),this.status=dX(),this.#l()}finally{this.#a===e&&(this.#a=null,this.loading=!1,this.loadedOnce=!0)}}#c(){this.#l(),xX(this.status.providers)&&(this.#o=setTimeout(()=>{this.#o=null,this.fetch()},cX))}#l(){this.#o&&=(clearTimeout(this.#o),null)}stopPolling(){this.#l()}},DZ=class{#e=k(j(dZ()));get stats(){return I(this.#e)}set stats(e){A(this.#e,e,!0)}#t=k(!1);get loading(){return I(this.#t)}set loading(e){A(this.#t,e,!0)}#n=0;async fetch(){let e=++this.#n;this.loading=!0;try{let t=await YI(`/admin/audit/stats?`+lR.queryStr(),{label:`audit stats`});if(t.stale||e!==this.#n)return;if(!t.ok){this.stats=dZ();return}this.stats=fZ(t.data)}catch(t){if(console.error(`Failed to fetch audit stats:`,t),e!==this.#n)return;this.stats=dZ()}finally{e===this.#n&&(this.loading=!1)}}},OZ=class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!1);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}async fetch(){if(await eL.ensureLoaded(),!eL.mcpVisible()){this.available=!1,this.servers=[];return}this.loading=!0;try{let e=await YI(`/admin/mcp-servers`,{label:`mcp servers`});if(e.stale)return;if(e.status===503||e.status===404){this.available=!1,this.servers=[];return}if(this.available=!0,!e.ok){this.servers=[];return}this.servers=Array.isArray(e.data)?e.data:[]}catch(e){console.error(`Failed to fetch MCP servers:`,e),this.servers=[]}finally{this.loading=!1}}},kZ=class{#e=k(j([]));get data(){return I(this.#e)}set data(e){A(this.#e,e,!0)}#t=k(`tokens`);get mode(){return I(this.#t)}set mode(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=null;async fetch(){this.#r&&this.#r.abort();let e=new AbortController;this.#r=e,this.loading=!0;try{let t=await YI(`/admin/usage/daily?days=365&interval=daily`,{label:`calendar`,signal:e.signal});if(t.stale||e.signal.aborted)return;if(!t.ok){this.data=[];return}this.data=Array.isArray(t.data)?t.data:[]}catch(e){if(ZI(e))return;console.error(`Failed to fetch calendar data:`,e),this.data=[]}finally{this.#r===e&&(this.#r=null,this.loading=!1)}}},AZ=new EZ,jZ=new DZ,MZ=new OZ,NZ=new kZ,PZ=(e,t=m,n=m,r=m,i=m)=>{var a=IZ(),o=M(a),s=M(o,!0);T(o);var c=P(o,2),l=M(c),u=M(l),d=M(u,!0);T(u),Ge(),T(l);var f=P(l,4),p=M(f),h=M(p,!0);T(p),Ge(),T(f);var g=P(f,4),_=M(g,!0);T(g),T(c),T(a),F((e,n,r,i,a,o)=>{B(s,t()),W(l,`title`,e),B(d,n),W(f,`title`,r),B(h,i),W(g,`title`,a),B(_,o)},[()=>HL(`Input tokens`,n()),()=>VL(n()),()=>HL(`Output tokens`,r()),()=>VL(r()),()=>HL(`Total tokens`,i()),()=>VL(i())]),z(e,a)},FZ=(e,t=m,n=m,r=m,i=m,a=m,o=m)=>{var s=zZ(),c=M(s),l=M(c,!0);T(c);var u=P(c,2),d=M(u,!0);T(u);var f=P(u,2),p=e=>{var t=LZ(),n=M(t,!0);T(t),F(()=>{W(t,`aria-label`,o().title),W(t,`title`,o().title),B(n,a())}),L(`click`,t,function(...e){o().onclick?.apply(this,e)}),z(e,t)},h=e=>{var t=RZ(),n=M(t,!0);T(t),F(()=>B(n,a())),z(e,t)};V(f,e=>{o()?e(p):e(h,-1)}),T(s),F(()=>{U(s,1,`card provider-status-flag ${t()??``} ${n()??``}`,`svelte-6tr9cf`),B(l,r()),B(d,i())}),z(e,s)},IZ=R(`
        i + o =
        `),LZ=R(``),RZ=R(` `),zZ=R(`
        `),BZ=R(`
        Cache Hits
        `),VZ=R(`
        Total Requests
        Estimated Cost
        Prompt Cache Rate
        `);function HZ(e,t){E(t,!0);let n=O(()=>hR.summary),r=O(()=>hR.cacheOverview),i=O(()=>hR.cacheAnalyticsEnabled()),a=O(()=>AZ.status.summary);function o(){let e=document.getElementById(`provider-status-section`);e&&(e.scrollIntoView({behavior:`smooth`,block:`start`}),e.focus({preventScroll:!0}))}var s=VZ(),c=M(s);{let e=O(()=>BY(I(n)));PZ(c,()=>`Tokens`,()=>I(n).total_input_tokens,()=>I(n).total_output_tokens,()=>I(e))}var l=P(c,2),u=P(M(l),2),d=M(u,!0);T(u),T(l);var f=P(l,2),p=e=>{var t=BZ(),n=P(M(t),2),i=M(n,!0);T(n),T(t),F(e=>B(i,e),[()=>LL(I(r).summary.total_hits)]),z(e,t)};V(f,e=>{I(i)&&e(p)});var m=P(f,2),h=P(M(m),2),g=M(h,!0);T(h),T(m);var _=P(m,2),v=e=>{{let t=O(()=>WY(I(r)));PZ(e,()=>`Local Cache`,()=>I(r).summary.total_input_tokens,()=>I(r).summary.total_output_tokens,()=>I(t))}};V(_,e=>{I(i)&&e(v)});var y=P(_,2),b=P(M(y),2),x=M(b);sY(x,{build:()=>aX(tX(I(n)),hY(`var(--token-prompt)`),hY(`var(--bg-surface-hover)`))});var S=P(x,2),C=M(S,!0);T(S),T(b),T(y);var w=P(y,2),ee=e=>{{let t=O(()=>gX(I(a))),n=O(()=>vX(I(a))),r=O(()=>bX(I(a))),i=O(()=>yX(I(a))?{title:`View providers overview`,onclick:o}:null);FZ(e,()=>`provider-status-overview-card`,()=>I(t),()=>`Provider Status`,()=>I(n),()=>I(r),()=>I(i))}};V(w,e=>{I(a).total>0&&e(ee)});var te=P(w,2),ne=e=>{{let t=O(()=>lZ(MZ.servers)),n=O(()=>cZ(MZ.servers)),r=O(()=>uZ(MZ.servers));FZ(e,()=>`mcp-servers-flag`,()=>I(t),()=>`MCP Servers`,()=>I(n),()=>I(r),()=>({title:`View MCP servers`,onclick:()=>EI.navigate(`mcp-servers`)}))}},re=O(()=>sZ(MZ.available,MZ.servers));V(te,e=>{I(re)&&e(ne)}),T(s),F((e,t,n,r,i)=>{W(u,`title`,e),B(d,t),B(g,n),W(b,`aria-label`,r),B(C,i)},[()=>UY(I(n),I(r),I(i)),()=>LL(HY(I(n),I(r),I(i))),()=>RL(I(n).total_cost),()=>`Prompt cache rate `+rX(I(n)),()=>rX(I(n))]),z(e,s),D()}Hr([`click`]);var UZ=R(` `),WZ=R(`
        `),GZ=R(`No usage in the selected period yet`),KZ=R(`
        `),qZ=R(`

        Tokens

        Share of input tokens over the selected period
        `);function JZ(e,t){E(t,!0);let n=O(()=>hR.cacheAnalyticsEnabled()),r=O(()=>JY(hR.summary,hR.cacheOverview,I(n))),i=O(()=>YY(hR.summary,hR.cacheOverview,I(n))),a=O(()=>qY(hR.summary,hR.cacheOverview,I(n)));var o=qZ(),s=P(M(o),2);let c;var l=M(s);H(l,17,()=>I(i),e=>e.key,(e,t)=>{var n=WZ(),r=M(n),i=e=>{var n=UZ(),r=M(n);T(n),F(()=>B(r,`${I(t).pct??``}%`)),z(e,n)};V(r,e=>{I(t).pct>=8&&e(i)}),T(n),F(e=>{zi(n,`width: ${I(t).pct??``}%; background: var(${I(t).colorVar??``})`),W(n,`title`,e)},[()=>XY(I(t))]),z(e,n)});var u=P(l,2),d=e=>{z(e,GZ())};V(u,e=>{I(a)||e(d)}),T(s);var f=P(s,2);H(f,21,()=>I(r),e=>e.key,(e,t)=>{var n=KZ(),r=M(n),i=P(r,2),a=M(i,!0);T(i);var o=P(i,2),s=M(o);T(o);var c=P(o,2),l=M(c,!0);T(c),T(n),F((e,i)=>{W(n,`title`,e),zi(r,`background: var(${I(t).colorVar??``})`),B(a,I(t).label),B(s,`${I(t).pct??``}%`),B(l,i)},[()=>XY(I(t)),()=>LL(I(t).tokens)]),z(e,n)}),T(f),T(o),F(e=>{c=U(s,1,`cache-meter-bar svelte-1yzecxj`,null,c,{"is-empty":!I(a)}),W(s,`aria-label`,e)},[()=>ZY(I(i))]),z(e,o),D()}var YZ=R(``);function XZ(e,t){let n=G(t,`size`,3,16),r=G(t,`label`,3,`Loading`),i=G(t,`class`,3,``);var a=YZ();F(()=>{U(a,1,`spinner ${i()??``}`,`svelte-b54l9o`),zi(a,`--spinner-size: ${n()??``}px`),W(a,`aria-label`,r())}),z(e,a)}var ZZ=Xr(` `),QZ=Xr(``);function $Z(e,t){let n=G(t,`label`,3,`No data`);var r=QZ(),i=P(M(r),9),a=e=>{var t=ZZ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)};V(i,e=>{n()&&e(a)}),T(r),F(()=>{W(r,`role`,n()?`img`:void 0),W(r,`aria-label`,n()||void 0),W(r,`aria-hidden`,n()?void 0:`true`)}),z(e,r)}var eQ=R(`
        `),tQ=R(`

        `);function nQ(e,t){E(t,!0);let n=[`daily`,`weekly`,`monthly`,`yearly`];function r(e){lR.interval=e,t.onintervalchange?.()}function i(){let e=hR.daily;if(e.length===0)return null;let t=lR.rangeStart(),n=lR.rangeEnd(),r=eX($Y(e,lR.interval,t,n),$Y(Array.isArray(hR.cacheOverview.daily)?hR.cacheOverview.daily:[],lR.interval,t,n));return iX(fY(),r,{cacheEnabled:hR.cacheAnalyticsEnabled(),resolve:hY})}var a=tQ(),o=M(a),s=M(o),c=M(s,!0);T(s);var l=P(s,2);{let e=O(()=>n.map(e=>({value:e,label:e.charAt(0).toUpperCase()+e.slice(1)})));uY(l,{ariaLabel:`Usage chart interval`,get options(){return I(e)},get value(){return lR.interval},onchange:r})}T(o);var u=P(o,2),d=M(u);sY(d,{build:i});var f=P(d,2),p=e=>{var t=eQ();XZ(M(t),{size:24,label:`Loading usage`}),T(t),z(e,t)},m=e=>{var t=eQ();$Z(M(t),{}),T(t),z(e,t)};V(f,e=>{hR.daily.length===0&&hR.loading?e(p):hR.daily.length===0&&!q.authError&&e(m,1)}),T(u),T(a),F(e=>B(c,e),[()=>lR.chartTitle()]),z(e,a),D()}var rQ=10,iQ=.7;function aQ(e,t){if(e<=0||t<=0)return 0;let n=(e/t)**+iQ,r=Math.ceil(n*rQ);return r<1?1:r>rQ?rQ:r}function oQ(){let e=[];for(let t=0;t<=rQ;t++)e.push(t);return e}function sQ(e,t,n){let r={};(e||[]).forEach(e=>{r[e.date]=e});let i=AI(MI(n,-364)),a=i.getUTCDay();i.setUTCDate(i.getUTCDate()-a);let o=[];for(let e=new Date(i);jI(e)<=n;e.setUTCDate(e.getUTCDate()+1)){let n=jI(e),i=r[n],a=0;i&&(a=t===`costs`?i.total_cost==null?0:i.total_cost:i.total_tokens||0),o.push({dateStr:n,value:a,level:0,empty:!1})}let s=0;for(let e=0;es&&(s=o[e].value);for(let e=0;e0){for(;l.length<7;)l.push({dateStr:``,value:0,level:0,empty:!0});c.push(l)}return c}function cQ(e){let t=AI(MI(e,-364)),n=t.getUTCDay();t.setUTCDate(t.getUTCDate()-n);let r=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],i=[],a={},o=0;for(let n=new Date(t);jI(n)<=e;n.setUTCDate(n.getUTCDate()+7),o++){let t=null;if(o===0)t=new Date(n);else for(let r=0;r<7;r++){let i=new Date(n);if(i.setUTCDate(n.getUTCDate()+r),jI(i)>e)break;if(i.getUTCDate()===1){t=i;break}}if(!t)continue;let s=t.getUTCFullYear()+`-`+t.getUTCMonth();a[s]||(i.push({label:r[t.getUTCMonth()],col:o,key:s}),a[s]=!0)}for(let e=0;e `),fQ=R(`
        `),pQ=R(`
        `),mQ=R(`
        `),hQ=R(`
        `),gQ=R(`

        Activity

        Mon Wed Fri
        `,1);function _Q(e,t){E(t,!0);let n=k(j({show:!1,x:0,y:0,text:``})),r=O(()=>UI.currentDateKey()),i=O(()=>sQ(NZ.data,NZ.mode,I(r))),a=O(()=>cQ(I(r)));function o(e,t){t.empty||A(n,{show:!0,x:e.clientX,y:e.clientY,text:uQ(t,NZ.mode)},!0)}function s(){A(n,{show:!1,x:0,y:0,text:``},!0)}var c=gQ(),l=N(c),u=M(l),d=P(M(u),2),f=e=>{XZ(e,{size:14,label:`Loading activity`})};V(d,e=>{NZ.loading&&NZ.data.length===0&&e(f)}),uY(P(d,2),{ariaLabel:`Activity calendar mode`,options:[{value:`tokens`,label:`Tokens`},{value:`costs`,label:`Costs`}],get value(){return NZ.mode},onchange:e=>NZ.mode=e}),T(u);var p=P(u,2),m=P(M(p),2),h=M(m);H(h,21,()=>I(a),e=>e.key,(e,t)=>{var n=dQ(),r=M(n,!0);T(n),F(()=>{zi(n,`grid-column: ${I(t).col+1} / span ${I(t).span??``}`),B(r,I(t).label)}),z(e,n)}),T(h);var g=P(h,2);H(g,21,()=>I(i),ai,(e,t,n)=>{var r=pQ();H(r,23,()=>I(t),(e,t)=>n+`-`+t,(e,t)=>{var n=fQ();F(()=>U(n,1,`contribution-calendar-cell ${I(t).empty?`empty`:`level-`+I(t).level}`,`svelte-3hfxuq`)),Vr(`mouseenter`,n,e=>o(e,I(t))),Vr(`mouseleave`,n,s),z(e,n)}),T(r),z(e,r)}),T(g),T(m),T(p);var _=P(p,2),v=M(_),y=M(v),b=M(y,!0);T(y),T(v);var x=P(v,2);H(P(M(x),2),16,oQ,e=>e,(e,t)=>{var n=mQ();F(()=>U(n,1,`contribution-calendar-cell level-${t??``}`,`svelte-3hfxuq`)),z(e,n)}),Ge(2),T(x),T(_),T(l);var S=P(l,2),C=e=>{var t=hQ(),r=M(t,!0);T(t),F(()=>{zi(t,`left: ${I(n).x??``}px; top: ${I(n).y-40}px`),B(r,I(n).text)}),z(e,t)};V(S,e=>{I(n).show&&e(C)}),F(e=>B(b,e),[()=>lQ(NZ.data,NZ.mode)]),z(e,c),D()}var vQ=R(``),yQ=R(`

        `),bQ=R(`
        `);function xQ(e,t){E(t,!0);let n=G(t,`label`,3,`help`),r=G(t,`text`,3,``),i=G(t,`open`,15,!1),a=G(t,`external`,3,!1),o=O(()=>!!r()||!!t.help||a());var s=bQ(),c=M(s),l=M(c);hi(l,()=>t.title??m);var u=P(l,2),d=e=>{var r=vQ();let a;F(()=>{a=U(r,1,`inline-help-toggle svelte-y40or3`,null,a,{"is-open":i()}),W(r,`aria-label`,(i()?`Hide `:`Show `)+n()),W(r,`aria-expanded`,i()),W(r,`aria-controls`,t.copyId)}),L(`click`,r,()=>i(!i())),z(e,r)};V(u,e=>{I(o)&&e(d)}),hi(P(u,2),()=>t.extra??m),T(c);var f=P(c,2),p=e=>{var n=yQ(),i=M(n),a=e=>{var n=Qr();hi(N(n),()=>t.help),z(e,n)},o=e=>{var t=Zr();F(()=>B(t,r())),z(e,t)};V(i,e=>{t.help?e(a):e(o,-1)}),T(n),F(()=>W(n,`id`,t.copyId)),z(e,n)};V(f,e=>{i()&&I(o)&&!a()&&e(p)}),T(s),z(e,s),D()}Hr([`click`]);var SQ=R(`

        Provider Latency

        `),CQ=R(`
        Avg
        `),wQ=R(`

        Requests by Status

        Success 2xx 4xx 5xx
        `,1);function TQ(e,t){E(t,!0);let n=wZ(),r=O(()=>jZ.stats);function i(){return{interval:I(r).interval,zone:UI.effectiveTimezone(),resolve:hY,formatTimestamp:e=>UI.formatTimestamp(e)}}var a=Qr(),o=N(a),s=e=>{var t=wQ(),a=N(t),o=M(a),s=P(M(o),2),c=M(s),l=P(M(c),2),u=M(l,!0);T(l),T(c);var d=P(c,2),f=P(M(d),4),p=M(f,!0);T(f),T(d);var m=P(d,2),h=P(M(m),4),g=M(h,!0);T(h),T(m);var _=P(m,2),v=P(M(_),4),y=M(v,!0);T(v),T(_),T(s),T(o);var b=P(o,2);sY(M(b),{build:()=>CZ(fY(),I(r).buckets,i())}),T(b),T(a);var x=P(a,2),S=e=>{var t=CQ(),a=M(t),o=M(a);xQ(o,{copyId:`audit-latency-help-copy`,label:`provider latency help`,text:`Average duration of successful requests as measured at the gateway, per provider. Local cache hits and failed requests are excluded; streamed responses count until the stream completes.`,title:e=>{z(e,SQ())},$$slots:{title:!0}});var s=P(o,2),c=M(s),l=P(M(c),2),u=M(l,!0);T(l),T(c),T(s),T(a);var d=P(a,2);sY(M(d),{build:()=>TZ(fY(),I(r).buckets,I(r).provider_latency,{...i(),providerColor:n})}),T(d),T(t),F(e=>B(u,e),[()=>vZ(I(r))]),z(e,t)},C=O(()=>mZ(I(r)));V(x,e=>{I(C)&&e(S)}),F((e,t,n,r)=>{B(u,e),B(p,t),B(g,n),B(y,r)},[()=>hZ(I(r)),()=>LL(gZ(I(r),`status_2xx`)),()=>LL(gZ(I(r),`status_4xx`)),()=>LL(gZ(I(r),`status_5xx`))]),z(e,t)},c=O(()=>pZ(I(r)));V(o,e=>{I(c)&&e(s)}),z(e,a),D()}var EQ=(e,t=m,n=m,r)=>{let i=At(()=>_(r?.(),!1));var a=kQ(),o=M(a),s=M(o,!0);T(o);var c=P(o,2),l=e=>{var t=DQ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)},u=e=>{var t=OQ(),r=M(t,!0);T(t),F(()=>B(r,n())),z(e,t)};V(c,e=>{I(i)?e(l):e(u,-1)}),T(a),F(()=>B(s,t())),z(e,a)},DQ=R(` `),OQ=R(` `),kQ=R(`
        `),AQ=R(`

        `),jQ=R(`
        Breaker State
        `),MQ=R(`
        `),NQ=R(`
        Models (Recent Traffic)
        `),PQ=R(`
        `),FQ=R(`

        `);function IQ(e,t){E(t,!0);let n=O(()=>PX(t.provider)),r=O(()=>[[`Base URL`,t.provider.config?.base_url],[`API Version`,t.provider.config?.api_version]].filter(([,e])=>!!e));var i=FQ();let a;var o=M(i),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=e=>{var n=AQ(),r=M(n,!0);T(n),F(()=>B(r,t.provider.last_error)),z(e,n)};V(l,e=>{t.provider.last_error&&e(u)});var d=P(l,2),f=e=>{var r=PQ(),i=M(r);{let e=O(()=>FX(t.provider));EQ(i,()=>`Recent Requests`,()=>I(e))}var a=P(i,2),o=e=>{var r=jQ(),i=P(M(r),2),a=M(i);let o;var s=M(a,!0);T(a),T(i),T(r),F(e=>{o=U(a,1,`provider-status-health-state svelte-6y9wjv`,null,o,{"is-healthy":I(n)===`is-healthy`,"is-degraded":I(n)===`is-degraded`,"is-unhealthy":I(n)===`is-unhealthy`}),B(s,e)},[()=>NX(t.provider)]),z(e,r)},s=O(()=>MX(t.provider));V(a,e=>{I(s)&&e(o)});var c=P(a,2),l=e=>{var n=NQ(),r=P(M(n),2);H(r,21,()=>IX(t.provider),e=>e.model,(e,t)=>{var n=MQ();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(n),F((e,i)=>{r=U(n,1,`provider-status-health-model svelte-6y9wjv`,null,r,{"is-flagged":I(t).flagged}),W(n,`title`,e),B(a,I(t).model),B(s,i)},[()=>RX(I(t)),()=>LX(I(t))]),z(e,n)}),T(r),T(n),z(e,n)},u=O(()=>IX(t.provider).length>0);V(c,e=>{I(u)&&e(l)}),T(r),z(e,r)},p=O(()=>jX(t.provider));V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=M(m);H(h,17,()=>I(r),([e,t])=>e,(e,t)=>{var n=O(()=>v(I(t),2));EQ(e,()=>I(n)[0],()=>I(n)[1],()=>!0)});var g=P(h,2);{let e=O(()=>kX(t.provider));EQ(g,()=>`Configured Models`,()=>I(e))}var _=P(g,2);{let e=O(()=>DX(t.provider));EQ(_,()=>`Retry`,()=>I(e))}var y=P(_,2);{let e=O(()=>OX(t.provider));EQ(y,()=>`Circuit Breaker`,()=>I(e))}T(m),T(o),T(i),F(()=>{a=U(i,1,`provider-status-details svelte-6y9wjv`,null,a,{"is-expanded":t.expanded,"is-collapsed":!t.expanded}),W(i,`aria-hidden`,!t.expanded),B(c,t.provider.status_reason)}),z(e,i),D()}var LQ=R(` `),RQ=R(``),zQ=R(`

        Models Available
        Last Checked
        `);function BQ(e,t){E(t,!0);let n=O(()=>AZ.cardExpanded(t.provider)),r=e=>UI.formatTimestamp(e);var i=zQ(),a=M(i),o=M(a),s=M(o),c=M(s),l=M(c,!0);T(c);var u=P(c,2),d=e=>{var n=LQ(),r=M(n);T(n),F(e=>B(r,`(${e??``})`),[()=>TX(t.provider)]),z(e,n)},f=O(()=>TX(t.provider));V(u,e=>{I(f)&&e(d)});var p=P(u,2),m=e=>{var n=RQ();F((e,t,r)=>{W(n,`href`,e),W(n,`aria-label`,t),W(n,`title`,r)},[()=>EX(t.provider),()=>`View `+(TX(t.provider)||t.provider.name)+` provider docs`,()=>`View `+(TX(t.provider)||t.provider.name)+` provider docs`]),z(e,n)},h=O(()=>EX(t.provider));V(p,e=>{I(h)&&e(m)}),T(s),T(o);var g=P(o,2),_=M(g,!0);T(g),T(a);var v=P(a,2),y=M(v),b=P(M(y),2),x=M(b,!0);T(b),T(y);var S=P(y,2),C=P(M(S),2),w=M(C,!0);T(C),T(S),T(v);var ee=P(v,2);IQ(ee,{get provider(){return t.provider},get expanded(){return I(n)}});var te=P(ee,2);let ne;K(M(te),{name:`chevron-down`,class:`provider-status-card-toggle-icon`}),T(te),T(i),F((e,r,i,a,o)=>{B(l,t.provider.name),U(g,1,`provider-status-pill ${e??``}`,`svelte-nopjmh`),W(g,`title`,r),B(_,t.provider.status_label),B(x,i),W(C,`title`,a),B(w,o),ne=U(te,1,`provider-status-card-toggle svelte-nopjmh`,null,ne,{"is-expanded":I(n)}),W(te,`aria-expanded`,I(n)),W(te,`aria-label`,(I(n)?`Collapse `:`Expand `)+t.provider.name+` details`),W(te,`title`,I(n)?`Collapse details`:`Expand details`)},[()=>_X(t.provider.status),()=>AX(t.provider),()=>LL(t.provider.runtime?.discovered_model_count),()=>wX(t.provider,r),()=>CX(t.provider,r)]),L(`click`,te,()=>AZ.toggleCard(t.provider)),z(e,i),D()}Hr([`click`]);var VQ=R(`

        Providers Overview

        `),HQ=R(`
        `);function UQ(e,t){E(t,!0);let n=O(()=>AZ.status.providers);var r=Qr(),i=N(r),a=e=>{var t=VQ(),r=M(t),i=P(M(r),2),a=M(i),o=M(a,!0);T(a);var s=P(a,2);let c;T(i),T(r);var l=P(r,2);H(l,21,()=>I(n),e=>e.name,(e,t)=>{BQ(e,{get provider(){return I(t)}})}),T(l),T(t),F((e,t)=>{W(i,`aria-checked`,AZ.detailsExpanded),W(i,`title`,e),B(o,t),c=U(s,1,`provider-status-toggle-track svelte-1kx3uw4`,null,c,{"is-active":AZ.detailsExpanded})},[()=>AZ.detailsToggleLabel(),()=>AZ.detailsToggleLabel()]),L(`click`,i,()=>AZ.toggleDetails()),z(e,t)},o=e=>{var t=HQ();XZ(M(t),{size:18,label:`Loading provider status`}),T(t),z(e,t)};V(i,e=>{I(n).length>0?e(a):AZ.loading&&!AZ.loadedOnce&&e(o,1)}),z(e,r),D()}Hr([`click`]);var WQ=R(`
        `);function GQ(e,t){E(t,!0);function n(){hR.fetchUsage(),hR.fetchCacheOverview(``),jZ.fetch(),AZ.fetch(),MZ.fetch(),NZ.fetch()}function r(){hR.fetchUsage(),hR.fetchCacheOverview(``),jZ.fetch()}function i(){r(),NZ.fetch()}Mn(()=>{if(q.refreshTick,EI.page===`overview`)return Or(()=>{n(),FY.start()}),()=>{FY.stop(),AZ.stopPolling()}});var a=WQ(),o=M(a);zY(o,{});var s=P(o,4);MR(M(s),{onchange:i}),T(s);var c=P(s,2);fR(c,{});var l=P(c,2);HZ(l,{});var u=P(l,2);JZ(u,{});var d=P(u,2);nQ(d,{onintervalchange:r});var f=P(d,2);_Q(f,{});var p=P(f,2);TQ(p,{}),UQ(P(p,2),{}),T(a),z(e,a),D()}var KQ=`/admin/live/logs?types=audit,usage`;function qQ(e,t,n){return!!t&&String(e&&e.id||``).trim()===t||!!n&&String(e&&e.request_id||``).trim()===n}function JQ(e){switch(e){case`date_range`:return`Live paused — the selected date range does not include today. Set it to today to resume.`;case`filters`:return`Live paused while filters are active. Clear them to resume.`;case`pagination`:return`Live paused on later pages. Go to the first page to resume.`;default:return``}}function YQ(e){let t=KQ,n=Number(e||0);return Number.isFinite(n)&&n>0&&(t+=`&cursor=`+encodeURIComponent(String(n))),t}function XQ(){return{async consumeLiveLogsBody(e){let t=new TextDecoder,n=``;for(;;){let r=await e.read();if(r.done)break;n+=t.decode(r.value,{stream:!0});let i;for(;i=n.match(/\r?\n\r?\n/);){let e=i.index,t=n.slice(0,e);n=n.slice(e+i[0].length),this.handleLiveLogsFrame(t)}}n+=t.decode(),n.trim()&&this.handleLiveLogsFrame(n)},handleLiveLogsFrame(e){let t=String(e||``).split(/\r?\n/),n=[];for(let e of t)e.indexOf(`data:`)===0&&n.push(e.slice(5).trimStart());if(n.length===0)return;let r;try{r=JSON.parse(n.join(` -`))}catch{return}this.applyLiveLogEvent(r)},applyLiveLogEvent(e){if(!e||typeof e!=`object`)return;let t=Number(e.seq||0);Number.isFinite(t)&&t>this.liveLogsLastSeq&&(this.liveLogsLastSeq=t);let n=String(e.type||``).trim();if(n!==`heartbeat`){if(n===`reset`){this.reloadLiveLogSources();return}if(n===`audit.removed`){this.removeLiveAuditEntry(e.data);return}if(n.indexOf(`audit.`)===0){this.mergeLiveAuditEntry(e.data||{},n);return}n.indexOf(`usage.`)===0&&(this.mergeLiveUsageEntry(e.data||{},n),typeof this.noteLiveTokenUsage==`function`&&this.noteLiveTokenUsage(n))}},reloadLiveLogSources(){typeof this.fetchUsage==`function`&&this.fetchUsage(),this.page===`audit-logs`&&typeof this.fetchAuditLog==`function`&&this.fetchAuditLog(!0)},auditLivePauseReason(){return!this.auditLog||this.auditLog.offset!==0?`pagination`:this.auditSearch||this.auditMethod||this.auditStatusCode||this.auditStream?`filters`:!this.followsToday&&(this.customStartDate||this.customEndDate)?`date_range`:null},auditLiveInsertAllowed(){return!this.auditLivePauseReason()},usageLiveInsertAllowed(){return this.usageLog&&this.usageLog.offset===0&&!this.usageLogSearch&&!this.usageFilterModel&&!this.usageFilterProvider&&!this.usageFilterLabel&&!this.usageFilterUserPath},mergeLiveAuditEntry(e,t){if(!e||typeof e!=`object`)return;let n=String(e.id||e.request_id||``).trim();if(!n)return;let r=String(e.request_id||``).trim(),i=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],a=i.findIndex(e=>qQ(e,n,r)),o=a>=0&&i[a]||{},s=t===`audit.detail`,c=s?{...e,_detail_loaded:!0,_response_partial:!1,bodies_omitted:!1}:this.liveAuditPatch(o,e,t);if(a>=0){let e=this.mergeLiveAuditPatch(o,c);return i.splice(a,1,e),this.auditLog.entries=[...i],this.regroupLiveAuditHead(e),s||this.fetchExpandedAuditDetailIfReady(e),this.notifyLiveConversation(e),e}let l=this.mergeLiveAuditChild(e,c);if(l)return s||this.fetchExpandedAuditDetailIfReady(l),this.notifyLiveConversation(l),l;if(!this.auditLiveInsertAllowed())return;if(!s&&this.auditGroupSessions){let e=this.foldLiveAuditIntoThread(c);if(e)return this.fetchExpandedAuditDetailIfReady(e),this.notifyLiveConversation(e),e}this.auditLog.entries=[this.mergeLiveAuditUsagePatch(c),...i].slice(0,this.auditLog.limit||25),this.auditLog.total=Number(this.auditLog.total||0)+1;let u=this.auditLog.entries[0];return s||this.fetchExpandedAuditDetailIfReady(u),this.notifyLiveConversation(u),u},liveAuditPatch(e,t,n){let r=this.liveAuditStateAfter(e._live_state,n),i=this.liveAuditEventFlushed(e._live_state)||this.liveAuditEventFlushed(r),a={...t,_live:!0,_live_state:r,_audit_flushed:i,_live_pending:!i};return n===`audit.stream`?a._response_partial=!0:this.liveAuditStateSettled(n)&&(a._response_partial=!1),a},mergeLiveAuditChild(e,t){let n=this.auditThreadChildren;if(!n||typeof n!=`object`)return null;let r=String(e.id||``).trim(),i=String(e.request_id||``).trim(),a=Object.keys(n);for(let e=0;eqQ(e,r,i));if(c<0)continue;let l=this.mergeLiveAuditPatch(s[c]||{},t),u=[...s];return u.splice(c,1,l),this.auditThreadChildren={...n,[a[e]]:{...o,entries:u}},l}return null},regroupLiveAuditHead(e){if(!this.auditGroupSessions)return null;let t=String(e&&e.session_id||``).trim();if(!t)return null;let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=String(e.id||``).trim(),i=n.findIndex(e=>String(e.id||``).trim()===r);if(i<0)return null;let a=n.findIndex((e,n)=>n!==i&&String(e.session_id||``).trim()===t);if(a<0)return null;let o=n[a],s=Date.parse(o&&o.timestamp),c=Date.parse(e&&e.timestamp),l=Number.isFinite(s)&&Number.isFinite(c)&&s>c,u=l?o:e,d=l?e:o,f={...u,session_count:Math.max(1,Number(o.session_count||1))+Math.max(1,Number(e.session_count||1))},p=n.filter((e,t)=>t!==i&&t!==a);return p.unshift(f),this.auditLog.entries=p,this.auditLog.total=Math.max(0,Number(this.auditLog.total||0)-1),this.prependLiveAuditThreadChild(t,d),f},foldLiveAuditIntoThread(e){let t=String(e&&e.session_id||``).trim();if(!t)return null;let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=n.findIndex(e=>String(e.session_id||``).trim()===t);if(r<0)return null;let i=n[r],a=Number(i.session_count),o=this.mergeLiveAuditUsagePatch({...e,session_count:(Number.isFinite(a)&&a>0?a:1)+1}),s=[...n];return s.splice(r,1),s.unshift(o),this.auditLog.entries=s,this.prependLiveAuditThreadChild(t,i),o},prependLiveAuditThreadChild(e,t){let n=this.auditThreadChildren||{},r=n[e],i={...t};delete i.session_count;let a=r&&Array.isArray(r.entries)?{...r,entries:[i,...r.entries],total:Number(r.total||r.entries.length)+1}:{loading:!1,loaded:!1,entries:[i],total:1};this.auditThreadChildren={...n,[e]:a}},removeLiveAuditThreadChild(e,t){let n=this.auditThreadChildren;!n||typeof n!=`object`||Object.keys(n).forEach(r=>{let i=n[r],a=i&&Array.isArray(i.entries)?i.entries:[],o=a.filter(n=>!qQ(n,e,t)),s=a.length-o.length;s!==0&&(this.auditThreadChildren={...this.auditThreadChildren,[r]:{...i,entries:o,total:Math.max(0,Number(i.total||a.length)-s)}},this.decrementLiveAuditThreadCount(r,s))})},decrementLiveAuditThreadCount(e,t){let n=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],r=n.findIndex(t=>String(t.session_id||``).trim()===e);if(r<0)return;let i=n[r],a=[...n];a.splice(r,1,{...i,session_count:Math.max(1,Number(i.session_count||1)-t)}),this.auditLog.entries=a},mergeLiveAuditPatch(e,t){let n={...e,...t};return t.data===void 0&&e.data!==void 0?n.data=e.data:e.data&&t.data&&typeof e.data==`object`&&typeof t.data==`object`&&!Array.isArray(e.data)&&!Array.isArray(t.data)&&(n.data={...e.data,...t.data}),this.mergeLiveAuditUsagePatch(n)},mergeLiveAuditUsagePatch(e){let t=this.liveUsageEntryForAudit(e);if(!t)return e;let n=this.auditEntryWithLiveUsage(e,t);return this.removeSkippedLiveUsage(t),n},liveUsageEntryForAudit(e){let t=String(e&&e.request_id||``).trim();return t&&((this.usageLog&&Array.isArray(this.usageLog.entries)?this.usageLog.entries:[]).find(e=>String(e&&e.request_id||``).trim()===t)||this.skippedLiveUsageByRequestId&&this.skippedLiveUsageByRequestId[t])||null},notifyLiveConversation(e){e&&typeof this.refreshLiveConversation==`function`&&this.refreshLiveConversation(e)},fetchExpandedAuditDetailIfReady(e){!e||!this.isAuditEntryExpanded||!this.isAuditEntryExpanded(e)||String(e._live_state||``).trim()!==`audit.flushed`&&!e._audit_flushed||typeof this.fetchAuditEntryDetail==`function`&&this.fetchAuditEntryDetail(e)},liveAuditStateRank(e){switch(String(e||``).trim()){case`audit.started`:return 10;case`audit.updated`:case`audit.stream`:return 20;case`audit.completed`:return 30;case`audit.failed`:case`audit.flushed`:case`audit.detail`:return 40;default:return 0}},liveAuditStateAfter(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return this.liveAuditStateRank(n)>this.liveAuditStateRank(r)?n:r},liveAuditStateSettled(e){return this.liveAuditStateRank(e)>=this.liveAuditStateRank(`audit.completed`)},liveAuditEventFlushed(e){let t=String(e||``).trim();return t===`audit.failed`||t===`audit.flushed`||t===`audit.detail`},removeLiveAuditEntry(e){if(!e||!this.auditLog||!Array.isArray(this.auditLog.entries))return;let t=String(e.id||``).trim(),n=String(e.request_id||``).trim();if(!t&&!n)return;let r=this.auditLog.entries,i=[],a=0,o=0,s=!1;r.forEach(e=>{if(!qQ(e,t,n)){i.push(e);return}a++;let r=String(e.session_id||``).trim(),c=Math.max(1,Number(e.session_count||1));if(!this.auditGroupSessions||!r||c<=1)return;o++;let l=this.auditThreadChildren&&this.auditThreadChildren[r],u=l&&Array.isArray(l.entries)?l.entries.filter(e=>!qQ(e,t,n)):[];if(u.length===0){s=!0;return}let d={...u[0],session_id:r,session_count:c-1};i.push(d),this.auditThreadChildren={...this.auditThreadChildren,[r]:{...l,entries:u.slice(1),total:Math.max(0,Number(l.total||c)-1)}}}),a>0&&(this.auditLog.entries=i,this.auditLog.total=Math.max(0,Number(this.auditLog.total||0)-a+o)),this.removeLiveAuditThreadChild(t,n),s&&typeof this.fetchAuditLog==`function`&&this.fetchAuditLog(!0)},mergeLiveUsageEntry(e,t){if(!e||typeof e!=`object`)return;e={...e,_live_state:t||e._live_state||`usage.completed`};let n=String(e.id||``).trim();if(!n)return;let r=this.usageLog&&Array.isArray(this.usageLog.entries)?this.usageLog.entries:[],i=r.findIndex(e=>String(e.id||``).trim()===n);if(i>=0){let t=r[i]||{},n=this.mergeLiveUsagePatch(t,e);if(this.applyLiveUsageToAudit(n),this.liveUsageShouldSkip(n)){r.splice(i,1),this.usageLog.entries=[...r],this.usageLog.total=Math.max(0,Number(this.usageLog.total||0)-1),this.storeSkippedLiveUsage(n);return}r.splice(i,1,n),this.usageLog.entries=[...r],this.removeSkippedLiveUsage(n);return}let a=this.mergeLiveUsagePatch(this.liveUsageSeedForEntry(e),e);if(this.applyLiveUsageToAudit(a),this.liveUsageShouldSkip(a)){this.storeSkippedLiveUsage(a);return}this.removeSkippedLiveUsage(a),this.usageLog.entries=[a,...r].slice(0,this.usageLog.limit||50),this.usageLog.total=Number(this.usageLog.total||0)+1},mergeLiveUsagePatch(e,t){e=e&&typeof e==`object`?e:{};let n=this.liveUsageStateAfter(e._live_state,t&&t._live_state),r=this.liveUsageEventFlushed(e)||this.liveUsageEventFlushed({...t,_live_state:n});return{...e,...t,_live:!0,_live_state:n||`usage.completed`,_live_pending:!r,_usage_flushed:r}},liveUsageShouldSkip(e){return!!(this.usageLogHideCached&&this.liveUsageEntryCached(e))||!this.usageLiveInsertAllowed()},liveUsageSeedForEntry(e){return this.skippedLiveUsageForEntry(e)||this.auditLiveUsageForEntry(e)},skippedLiveUsageForEntry(e){let t=String(e&&e.request_id||``).trim();return t&&this.skippedLiveUsageByRequestId?this.skippedLiveUsageByRequestId[t]:null},auditLiveUsageForEntry(e){let t=String(e&&e.request_id||``).trim();if(!t||!this.auditLog||!Array.isArray(this.auditLog.entries))return null;let n=this.auditLog.entries.find(e=>String(e&&e.request_id||``).trim()===t),r=n&&n.usage&&typeof n.usage==`object`&&!Array.isArray(n.usage)?n.usage:null;return r?{id:e&&e.id,request_id:t,entries:r.entries,input_tokens:r.input_tokens,uncached_input_tokens:r.uncached_input_tokens,cached_input_tokens:r.cached_input_tokens,cache_write_input_tokens:r.cache_write_input_tokens,output_tokens:r.output_tokens,total_tokens:r.total_tokens,cached_input_ratio:r.cached_input_ratio,estimated_cached_characters:r.estimated_cached_characters,_live_state:n._usage_live_state,_live_pending:n._usage_live_pending,_usage_flushed:n._usage_flushed}:null},storeSkippedLiveUsage(e){let t=String(e&&e.request_id||``).trim();t&&((!this.skippedLiveUsageByRequestId||typeof this.skippedLiveUsageByRequestId!=`object`||Array.isArray(this.skippedLiveUsageByRequestId))&&(this.skippedLiveUsageByRequestId={}),this.skippedLiveUsageByRequestId[t]=e)},removeSkippedLiveUsage(e){let t=String(e&&e.request_id||``).trim();t&&this.skippedLiveUsageByRequestId&&delete this.skippedLiveUsageByRequestId[t]},liveUsageEntryCached(e){let t=String(e&&e.cache_type||``).trim().toLowerCase();return t===`exact`||t===`semantic`||!!(e&&e.cache_hit)},liveUsageEventFlushed(e){let t=String(e&&e._live_state||``).trim();return!!(e&&e._usage_flushed)||t===`usage.failed`||t===`usage.flushed`},liveUsageStateRank(e){switch(String(e||``).trim()){case`usage.completed`:return 10;case`usage.failed`:case`usage.flushed`:return 20;default:return 0}},liveUsageStateAfter(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return this.liveUsageStateRank(n)>this.liveUsageStateRank(r)?n:r},applyLiveUsageToAudit(e){let t=String(e&&e.request_id||``).trim();if(!t||!this.auditLog||!Array.isArray(this.auditLog.entries))return;let n=this.auditLog.entries.findIndex(e=>String(e.request_id||``).trim()===t);if(n>=0){let t=this.auditLog.entries[n];this.auditLog.entries.splice(n,1,this.auditEntryWithLiveUsage(t,e)),this.auditLog.entries=[...this.auditLog.entries]}let r=this.auditThreadChildren;if(!r||typeof r!=`object`)return;let i=r,a=!1;Object.keys(r).forEach(n=>{let r=i[n],o=r&&Array.isArray(r.entries)?r.entries:[],s=o.findIndex(e=>String(e.request_id||``).trim()===t);if(s<0)return;let c=[...o];c.splice(s,1,this.auditEntryWithLiveUsage(o[s],e)),i={...i,[n]:{...r,entries:c}},a=!0}),a&&(this.auditThreadChildren=i)},auditEntryWithLiveUsage(e,t){let n=this.liveUsageStateAfter(e._usage_live_state,t._live_state||`usage.completed`),r=this.liveUsageEventFlushed({_live_state:n,_usage_flushed:e._usage_flushed||t._usage_flushed});return{...e,usage:this.liveUsageSummary(t,e.usage),_usage_live_state:n||`usage.completed`,_usage_live_pending:!r,_usage_flushed:r}},liveUsageSummary(e,t){let n=t&&typeof t==`object`&&!Array.isArray(t)?t:{},r=this.liveNumber(e.input_tokens,this.liveNumber(n.input_tokens,0)),i=this.liveNumber(e.output_tokens,this.liveNumber(n.output_tokens,0)),a=this.liveNumber(e.uncached_input_tokens,this.liveNumber(n.uncached_input_tokens,0)),o=this.liveNumber(e.cached_input_tokens,this.liveNumber(n.cached_input_tokens,0)),s=this.liveNumber(e.cache_write_input_tokens,this.liveNumber(n.cache_write_input_tokens,0));r>0&&a+o+s===0&&(a=r);let c=a+o+s||r,l=c+i||this.liveNumber(e.total_tokens,this.liveNumber(n.total_tokens,0)),u=this.liveNumber(e.cached_input_ratio,this.liveNumber(n.cached_input_ratio,c>0?o/c:0));return{entries:Math.max(1,this.liveNumber(e.entries,this.liveNumber(n.entries,1))),input_tokens:c,uncached_input_tokens:a,cached_input_tokens:o,cache_write_input_tokens:s,output_tokens:i,total_tokens:l,cached_input_ratio:u,estimated_cached_characters:this.liveNumber(e.estimated_cached_characters,this.liveNumber(n.estimated_cached_characters,o*4))}},liveNumber(e,t){let n=Number(e);return Number.isFinite(n)?n:t},auditEntryShouldFetchDetail(e){return!e||e._detail_loading||e._detail_loaded||this.auditEntryLiveDetailPending(e)?!1:this.auditEntryNeedsPersistedLiveDetail(e)||e.bodies_omitted?!0:!this.auditEntryHasDetailData(e)},auditEntryLiveDetailPending(e){if(!e||!e._live)return!1;let t=String(e._live_state||``).trim();return t===`audit.failed`||!e._audit_flushed&&t!==`audit.flushed`&&t!==`audit.detail`},auditEntryNeedsPersistedLiveDetail(e){return!!(e&&e._live&&!e._detail_loaded)},auditEntryHasDetailData(e){let t=e&&e.data;return!t||typeof t!=`object`?!1:t.request_headers!==void 0||t.response_headers!==void 0||t.request_body!==void 0||t.response_body!==void 0||t.request_body_too_big_to_handle!==void 0||t.response_body_too_big_to_handle!==void 0||t.user_agent!==void 0||t.api_key_hash!==void 0||t.temperature!==void 0||t.max_tokens!==void 0||t.error_message!==void 0||t.error_code!==void 0},clearAuditDetailLoading(e){if(!e)return;let t=String(e.id||``).trim(),n=String(e.request_id||``).trim(),r=this.auditLog&&Array.isArray(this.auditLog.entries)?this.auditLog.entries:[],i=r.find(e=>t&&String(e.id||``).trim()===t?!0:!!(n&&String(e.request_id||``).trim()===n)),a=i||e;a._detail_loading=!1,i&&(this.auditLog.entries=[...r])}}}var ZQ=class{#e=k(j({entries:[],total:0,limit:25,offset:0}));get auditLog(){return I(this.#e)}set auditLog(e){A(this.#e,e,!0)}#t=k(j({entries:[],total:0,limit:50,offset:0}));get usageLog(){return I(this.#t)}set usageLog(e){A(this.#t,e,!0)}#n=k(``);get auditSearch(){return I(this.#n)}set auditSearch(e){A(this.#n,e,!0)}#r=k(``);get auditMethod(){return I(this.#r)}set auditMethod(e){A(this.#r,e,!0)}#i=k(``);get auditStatusCode(){return I(this.#i)}set auditStatusCode(e){A(this.#i,e,!0)}#a=k(``);get auditStream(){return I(this.#a)}set auditStream(e){A(this.#a,e,!0)}#o=k(uI(`gomodel_audit_group_sessions`,`true`)!==`false`);get auditGroupSessions(){return I(this.#o)}set auditGroupSessions(e){A(this.#o,e,!0)}#s=k(j({}));get auditThreadChildren(){return I(this.#s)}set auditThreadChildren(e){A(this.#s,e,!0)}#c=k(``);get usageLogSearch(){return I(this.#c)}set usageLogSearch(e){A(this.#c,e,!0)}#l=k(``);get usageFilterModel(){return I(this.#l)}set usageFilterModel(e){A(this.#l,e,!0)}#u=k(``);get usageFilterProvider(){return I(this.#u)}set usageFilterProvider(e){A(this.#u,e,!0)}#d=k(``);get usageFilterLabel(){return I(this.#d)}set usageFilterLabel(e){A(this.#d,e,!0)}#f=k(``);get usageFilterUserPath(){return I(this.#f)}set usageFilterUserPath(e){A(this.#f,e,!0)}#p=k(!1);get usageLogHideCached(){return I(this.#p)}set usageLogHideCached(e){A(this.#p,e,!0)}#m=k(!1);get liveLogsStreaming(){return I(this.#m)}set liveLogsStreaming(e){A(this.#m,e,!0)}liveLogsLastSeq=0;liveLogsReconnectAttempts=0;liveLogsReconnectTimer=null;liveLogsController=null;skippedLiveUsageByRequestId=null;fetchUsage=null;fetchAuditLog=null;isAuditEntryExpanded=null;refreshLiveConversation=null;noteLiveTokenUsage=null;get page(){return EI.page}get customStartDate(){return lR.customStartDate}get customEndDate(){return lR.customEndDate}get followsToday(){return lR.followsToday}liveLogsEnabled(){return eL.liveLogsVisible()}async startLiveLogs(){typeof fetch!=`function`||typeof ReadableStream>`u`||(await eL.ensureLoaded(),this.liveLogsEnabled()&&(this.stopLiveLogs(),this.liveLogsController=typeof AbortController==`function`?new AbortController:null,this.readLiveLogsStream(this.liveLogsController)))}stopLiveLogs(){this.liveLogsStreaming=!1,this.liveLogsReconnectTimer&&=(clearTimeout(this.liveLogsReconnectTimer),null),this.liveLogsController&&typeof this.liveLogsController.abort==`function`&&this.liveLogsController.abort(),this.liveLogsController=null}ensureLiveLogs(){this.liveLogsController||this.liveLogsReconnectTimer||this.startLiveLogs()}async readLiveLogsStream(e){let t={};e&&(t.signal=e.signal);let n=YQ(this.liveLogsLastSeq),r=q.generation;try{let i=await qI(n,t);if(i.status===401){if(q.handleUnauthorized(r),r{this.liveLogsReconnectTimer=null,this.startLiveLogs()},t)}async fetchAuditEntryDetail(e){if(!this.auditEntryShouldFetchDetail(e))return;let t=String(e.id||``).trim();if(!t)return;e._detail_loading=!0;let n=e;try{let e=await YI(`/admin/audit/detail?log_id=`+encodeURIComponent(t),{label:`audit detail`});if(e.stale||!e.ok)return;n=this.mergeLiveAuditEntry(e.data,`audit.detail`)||n}catch(e){console.error(`Failed to fetch audit detail:`,e)}finally{this.clearAuditDetailLoading(n)}}};Object.assign(ZQ.prototype,XQ());var QQ=new ZQ;if(typeof window<`u`){let e=!1;window.addEventListener(`pagehide`,()=>{e=!!QQ.liveLogsController,QQ.stopLiveLogs()}),window.addEventListener(`pageshow`,t=>{t.persisted&&e&&QQ.ensureLiveLogs()})}var $Q=null;Pn(()=>{Mn(()=>{let e=q.refreshTick;if($Q===null){$Q=e;return}e!==$Q&&($Q=e,Or(()=>{QQ.stopLiveLogs(),QQ.startLiveLogs()}))})});function e$(){return{total_requests:0,total_input_tokens:0,total_output_tokens:0,total_tokens:0,uncached_input_tokens:0,cached_input_tokens:0,cache_write_input_tokens:0,total_input_cost:null,total_output_cost:null,total_cost:null,rewrite_tokens_saved:0,rewrite_cost_saved:null}}function t$(){return{entries:[],total:0,limit:50,offset:0}}function n$(e,t){let n=[[`model`,e&&e.model],[`provider`,e&&e.provider],[`label`,e&&e.label],[`user_path`,e&&e.user_path]],r=``;for(let[e,i]of n)!i||e===t||(r+=`&`+e+`=`+encodeURIComponent(i));return r}function r$({limit:e,offset:t,hideCached:n,search:r}){let i=`&limit=`+e+`&offset=`+t;return i+=`&cache_mode=`+(n?`uncached`:`all`),r&&(i+=`&search=`+encodeURIComponent(r)),i}function i$(e,t){let n=new Set(e||[]);return t&&n.add(t),[...n].sort()}function a$(e,t){let n=Number(t&&t.total_requests||0)-Number(e&&e.total_requests||0);return Number.isFinite(n)&&n>0?n:0}function o$(e,t,n){let r=n?e:t,i=Number(r&&r.total_requests||0);return Number.isFinite(i)?i:0}function s$(e,t,n){let r=a$(e,t);return r<=0?``:n?LL(r)+` cached requests hidden`:LL(Number(e&&e.total_requests||0))+` to providers + `+LL(r)+` from cache`}function c$(e){let t=e||{};return t.total_input_cost===null||t.total_input_cost===void 0?``:RL(t.total_input_cost)+` input + `+RL(t.total_output_cost)+` output`}function l$(e){let t=Number(e&&e.rewrite_tokens_saved||0);return Number.isFinite(t)&&t>0?t:0}function u$(e){return l$(e)>0}function d$(e){let t=e||{};return t.rewrite_cost_saved===void 0?null:t.rewrite_cost_saved}function f$(){return`Estimated at 4 net characters removed per token`}function p$(e,t){return t===`costs`?RL(d$(e)):VL(l$(e))}function m$(e,t){let n=t===`costs`,r=n?Number(d$(e)):l$(e);if(!Number.isFinite(r)||r<=0)return null;let i=e&&(n?e.total_cost:e.total_input_tokens);if(i==null)return null;let a=Number(i);return!Number.isFinite(a)||a<0?null:r/(a+r)*100}function h$(e,t){let n=m$(e,t);return n===null?``:(n<.1?`<0.1`:n.toFixed(1))+`% less`}function g$(e,t){let n=l$(e);if(n<=0)return``;let r=[LL(n)+` estimated prompt token-transmissions removed across provider requests`,f$(),`Savings are summed per provider request; resent conversation history is counted again`],i=d$(e);i!=null&&(r.push(RL(i)+` estimated gross input cost avoided`),r.push(`Prompt-cache changes caused by rewriting are not included`));let a=h$(e,t);return a&&r.push(a+` than the same traffic without rewriting (`+(t===`costs`?`cost`:`tokens`)+`)`),r.join(` -`)}function _$(e){return String(e&&e.cost_source||``).trim()}function v$(e){let t=_$(e);return t===`openrouter_credits`||t===`xai_cost_in_usd_ticks`}function y$(e){switch(_$(e)){case`openrouter_credits`:return`Costs from OpenRouter USD-based credits.`;case`xai_cost_in_usd_ticks`:return`Costs from xAI usage.cost_in_usd_ticks.`;default:return``}}function b$(e){return String(e&&e.cache_type||``).trim().toLowerCase()}function x$(e){let t=b$(e);return t===`exact`||t===`semantic`}function S$(e){let t=b$(e);return t===`exact`?`Exact`:t===`semantic`?`Semantic`:`-`}function C$(e,t){let n=t?String(t):``;return x$(e)?n?`Saved by cache — not charged -`+n:`Saved by cache — not charged`:n}function w$(e){let t=Number(e&&e.cached_input_ratio);return!Number.isFinite(t)||t<=0?0:Math.min(1,t)}function T$(e){return Number(e&&e.cached_input_tokens||0)>0}function E$(e){return T$(e)?(w$(e)*100).toFixed(1)+`%`:``}function D$(e){if(!T$(e))return``;let t=Number(e.cached_input_tokens||0),n=Number(e.uncached_input_tokens||0),r=Number(e.cache_write_input_tokens||0),i=t+n+r,a=[LL(t)+` cached / `+LL(i)+` input tokens`];return r>0&&a.push(LL(r)+` cache write`),a.join(` -`)}function O$(e){let t=[];if(y$(e)&&(t.push(y$(e)),t.push(``)),t.push(`Input: `+RL(e.input_cost)),t.push(`Output: `+RL(e.output_cost)),e.raw_data){t.push(``);for(let[n,r]of Object.entries(e.raw_data)){let e=n.replace(/_/g,` `).replace(/\b\w/g,e=>e.toUpperCase()),i=r&&typeof r==`object`?JSON.stringify(r):LL(r);t.push(e+`: `+i)}}return t.join(` -`)}function k$(e){return Array.isArray(e&&e.labels)?e.labels:[]}function A$(e,t,n){return(e||[]).length>0||t?!0:(n||[]).some(e=>k$(e).length>0)}function j$(e){return e&&typeof e.total_tokens==`number`?e.total_tokens:(e&&e.input_tokens||0)+(e&&e.output_tokens||0)}function M$(e,t){return t?e.total_cost||0:j$(e)}function N$(e,t){return[...e||[]].sort((e,n)=>t?(n.total_cost||0)-(e.total_cost||0):M$(n,t)-M$(e,t))}function P$(e){let t=Array.isArray(e)?e:[];if(t.length===0)return!1;if(t.length!==1)return!0;let n=String(t[0]&&t[0].user_path||``).trim();return n!==``&&n!==`/`}function F$(e){return(e||`chart`)===`chart`||e===`stacked`}function I$(e,t,n){let r=N$(e,n),i=e=>Number(e)||0,a=e=>n?Math.min(i(e.cached_input_cost),i(e.input_cost)):i(e.cached_input_tokens),o=e=>n?i(e.input_cost)-a(e):i(e.uncached_input_tokens)+i(e.cached_input_tokens)+i(e.cache_write_input_tokens)>0?i(e.uncached_input_tokens)+i(e.cache_write_input_tokens):i(e.input_tokens),s=e=>i(n?e.output_cost:e.output_tokens),c=e=>n?0:i(e.local_cached_input_tokens),l=e=>n?0:i(e.local_cached_output_tokens),u=r.slice(0,10),d=r.slice(10),f=u.map(t),p=u.map(o),m=u.map(s),h=u.map(a),g=u.map(c),_=u.map(l);if(d.length>0){f.push(`Other`);let e=e=>d.reduce((t,n)=>t+e(n),0);p.push(e(o)),m.push(e(s)),h.push(e(a)),g.push(e(c)),_.push(e(l))}return{labels:f,inputs:p,outputs:m,prompts:h,localIns:g,localOuts:_}}function L$(e){return Math.max(200,e*32+72)}var J=new class{#e=k(`tokens`);get usageMode(){return I(this.#e)}set usageMode(e){A(this.#e,e,!0)}get usageFilterModel(){return QQ.usageFilterModel}set usageFilterModel(e){QQ.usageFilterModel=e}get usageFilterProvider(){return QQ.usageFilterProvider}set usageFilterProvider(e){QQ.usageFilterProvider=e}get usageFilterLabel(){return QQ.usageFilterLabel}set usageFilterLabel(e){QQ.usageFilterLabel=e}get usageFilterUserPath(){return QQ.usageFilterUserPath}set usageFilterUserPath(e){QQ.usageFilterUserPath=e}#t=k(j({models:[],providers:[],labels:[]}));get usageFacetOptions(){return I(this.#t)}set usageFacetOptions(e){A(this.#t,e,!0)}#n=k(j(e$()));get usageSummary(){return I(this.#n)}set usageSummary(e){A(this.#n,e,!0)}#r=k(j(e$()));get usageSummaryAll(){return I(this.#r)}set usageSummaryAll(e){A(this.#r,e,!0)}#i=k(j([]));get modelUsage(){return I(this.#i)}set modelUsage(e){A(this.#i,e,!0)}#a=k(j([]));get userPathUsage(){return I(this.#a)}set userPathUsage(e){A(this.#a,e,!0)}#o=k(j([]));get labelUsage(){return I(this.#o)}set labelUsage(e){A(this.#o,e,!0)}get usageLog(){return QQ.usageLog}set usageLog(e){QQ.usageLog=e}get usageLogSearch(){return QQ.usageLogSearch}set usageLogSearch(e){QQ.usageLogSearch=e}get usageLogHideCached(){return QQ.usageLogHideCached}set usageLogHideCached(e){QQ.usageLogHideCached=e}#s=k(`chart`);get modelUsageView(){return I(this.#s)}set modelUsageView(e){A(this.#s,e,!0)}#c=k(`chart`);get userPathUsageView(){return I(this.#c)}set userPathUsageView(e){A(this.#c,e,!0)}#l=k(`chart`);get labelUsageView(){return I(this.#l)}set labelUsageView(e){A(this.#l,e,!0)}#u=k(!1);get summaryLoading(){return I(this.#u)}set summaryLoading(e){A(this.#u,e,!0)}#d=k(!1);get modelUsageLoading(){return I(this.#d)}set modelUsageLoading(e){A(this.#d,e,!0)}#f=k(!1);get userPathUsageLoading(){return I(this.#f)}set userPathUsageLoading(e){A(this.#f,e,!0)}#p=k(!1);get labelUsageLoading(){return I(this.#p)}set labelUsageLoading(e){A(this.#p,e,!0)}#m=k(!1);get usageLogLoading(){return I(this.#m)}set usageLogLoading(e){A(this.#m,e,!0)}#h={};#g(e){this.#h[e]&&this.#h[e].abort();let t=new AbortController;return this.#h[e]=t,t}#_(e,t){this.#h[e]===t&&(this.#h[e]=null)}filterQueryStr(e){return n$({model:this.usageFilterModel,provider:this.usageFilterProvider,label:this.usageFilterLabel,user_path:this.usageFilterUserPath},e)}onUsageFilterChanged(){this.fetchUsagePage()}toggleUsageLabelFilter(e){this.usageFilterLabel=this.usageFilterLabel===e?``:e,this.onUsageFilterChanged()}usageLabelChipTitle(e){return this.usageFilterLabel===e?`Clear label filter`:`Filter usage by "`+e+`"`}toggleUsageMode(e){this.usageMode=e,EI.navigate(`usage`,e===`costs`?`costs`:null)}toggleUsageChartView(e,t){e===`model`&&(this.modelUsageView=t),e===`userPath`&&(this.userPathUsageView=t),e===`label`&&(this.labelUsageView=t)}usageFilterModelOptions(){return i$(this.usageFacetOptions.models,this.usageFilterModel)}usageFilterProviderOptions(){return i$(this.usageFacetOptions.providers,this.usageFilterProvider)}usageFilterLabelOptions(){return i$(this.usageFacetOptions.labels,this.usageFilterLabel)}async fetchUsagePage(){await eL.ensureLoaded();let e=[this.fetchUsagePageSummary(),this.fetchUsageFacetOptions(),this.fetchModelUsage(),this.fetchUserPathUsage(),this.fetchLabelUsage(),this.fetchUsageLog(!0)];hR.cacheAnalyticsEnabled()&&e.push(hR.fetchCacheOverview(this.filterQueryStr())),await Promise.all(e)}async fetchUsagePageSummary(){let e=this.#g(`summary`);this.summaryLoading=!0;try{let t=lR.queryStr()+this.filterQueryStr(),[n,r]=await Promise.all([YI(`/admin/usage/summary?`+t+`&cache_mode=uncached`,{label:`usage page summary`,signal:e.signal}),YI(`/admin/usage/summary?`+t+`&cache_mode=all`,{label:`usage page summary (all)`,signal:e.signal})]);if(n.stale||r.stale||e.signal.aborted)return;if(!n.ok||!r.ok){this.usageSummary=e$(),this.usageSummaryAll=e$();return}this.usageSummary=n.data&&typeof n.data==`object`?n.data:e$(),this.usageSummaryAll=r.data&&typeof r.data==`object`?r.data:e$()}catch(e){if(ZI(e))return;console.error(`Failed to fetch usage page summary:`,e),this.usageSummary=e$(),this.usageSummaryAll=e$()}finally{this.#_(`summary`,e),this.#h.summary===null&&(this.summaryLoading=!1)}}async fetchUsageFacetOptions(){let e=this.#g(`facets`);try{let t=async(t,n)=>{let r=await YI(t+`?`+lR.queryStr()+this.filterQueryStr(n),{label:`usage facet options`,signal:e.signal});return r.stale?null:r.ok&&Array.isArray(r.data)?r.data:[]},n=t(`/admin/usage/models`,`model`),r=!this.usageFilterModel&&!this.usageFilterProvider,[i,a,o]=await Promise.all([n,r?n:t(`/admin/usage/models`,`provider`),t(`/admin/usage/labels`,`label`)]);if(e.signal.aborted||i===null||a===null||o===null)return;this.usageFacetOptions={models:i.map(e=>e&&e.model).filter(Boolean),providers:a.map(e=>qL(e)).filter(Boolean),labels:o.map(e=>e&&e.label).filter(Boolean)}}catch(e){if(ZI(e))return;console.error(`Failed to fetch usage facet options:`,e),this.usageFacetOptions={models:[],providers:[],labels:[]}}finally{this.#_(`facets`,e)}}async#v(e,t,n,r,i){let a=this.#g(e);i(!0);try{let e=await YI(t+`?`+lR.queryStr()+this.filterQueryStr(),{label:n,signal:a.signal});if(e.stale||a.signal.aborted)return;if(!e.ok){r([]);return}r(Array.isArray(e.data)?e.data:[])}catch(e){if(ZI(e))return;console.error(`Failed to fetch `+n+`:`,e),r([])}finally{this.#_(e,a),this.#h[e]===null&&i(!1)}}fetchModelUsage(){return this.#v(`modelUsage`,`/admin/usage/models`,`usage models`,e=>this.modelUsage=e,e=>this.modelUsageLoading=e)}fetchUserPathUsage(){return this.#v(`userPathUsage`,`/admin/usage/user-paths`,`usage user paths`,e=>this.userPathUsage=e,e=>this.userPathUsageLoading=e)}fetchLabelUsage(){return this.#v(`labelUsage`,`/admin/usage/labels`,`usage labels`,e=>this.labelUsage=e,e=>this.labelUsageLoading=e)}async fetchUsageLog(e){let t=this.#g(`usageLog`);this.usageLogLoading=!0;try{e&&(this.usageLog.offset=0);let n=lR.queryStr()+this.filterQueryStr();n+=r$({limit:this.usageLog.limit,offset:this.usageLog.offset,hideCached:this.usageLogHideCached,search:this.usageLogSearch});let r=await YI(`/admin/usage/log?`+n,{label:`usage log`,signal:t.signal});if(r.stale||t.signal.aborted)return;if(!r.ok){this.usageLog=t$();return}let i=r.data&&typeof r.data==`object`?r.data:t$();i.entries||=[],this.usageLog=i}catch(e){if(ZI(e))return;console.error(`Failed to fetch usage log:`,e),this.usageLog=t$()}finally{this.#_(`usageLog`,t),this.#h.usageLog===null&&(this.usageLogLoading=!1)}}usageLogNextPage(){this.usageLog.offset+this.usageLog.limit0&&(this.usageLog.offset=Math.max(0,this.usageLog.offset-this.usageLog.limit),this.fetchUsageLog(!1))}};QQ.fetchUsage=()=>{EI.page===`usage`&&J.fetchUsagePage()};var R$=R(`
        `);function z$(e,t){E(t,!0);let n=G(t,`value`,15,``),r=G(t,`placeholder`,3,``),i=G(t,`label`,3,``),a=G(t,`id`,3,void 0),o=G(t,`oninput`,3,void 0),s=G(t,`class`,3,``);var c=R$(),l=M(c);K(l,{name:`search`,class:`filter-input-icon`});var u=P(l,2);$i(u),T(c),F(()=>{U(c,1,`filter-input-wrap ${s()??``}`,`svelte-30xz1k`),W(u,`id`,a()),W(u,`placeholder`,r()),W(u,`aria-label`,i())}),L(`input`,u,function(...e){o()?.apply(this,e)}),ca(u,n),z(e,c),D()}Hr([`input`]);function B$(e,t=300){let n=null,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>{n=null,e(...r)},t)};return r.cancel=()=>{clearTimeout(n),n=null},r}var V$=R(``),H$=R(``),U$=R(`
        `);function W$(e,t){E(t,!0);let n=B$(()=>J.onUsageFilterChanged());Mn(()=>n.cancel);var r=U$(),i=M(r),a=M(i);a.value=a.__value=``,H(P(a),16,()=>J.usageFilterModelOptions(),e=>e,(e,t)=>{var n=V$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(i);var o=P(i,2),s=M(o);s.value=s.__value=``,H(P(s),16,()=>J.usageFilterProviderOptions(),e=>e,(e,t)=>{var n=V$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(o);var c=P(o,2),l=e=>{var t=H$(),n=M(t);n.value=n.__value=``,H(P(n),16,()=>J.usageFilterLabelOptions(),e=>e,(e,t)=>{var n=V$(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(t),L(`change`,t,()=>J.onUsageFilterChanged()),Hi(t,()=>J.usageFilterLabel,e=>J.usageFilterLabel=e),z(e,t)},u=O(()=>J.usageFilterLabelOptions().length>0);V(c,e=>{I(u)&&e(l)}),z$(P(c,2),{class:`usage-page-filters-user-path`,placeholder:`User path /team/alpha`,label:`Filter by user path`,get oninput(){return n},get value(){return J.usageFilterUserPath},set value(e){J.usageFilterUserPath=e}}),T(r),L(`change`,i,()=>J.onUsageFilterChanged()),Hi(i,()=>J.usageFilterModel,e=>J.usageFilterModel=e),L(`change`,o,()=>J.onUsageFilterChanged()),Hi(o,()=>J.usageFilterProvider,e=>J.usageFilterProvider=e),z(e,r),D()}Hr([`change`]);var G$=R(`
        Cache Saved
        Cache Hits
        `,1);function K$(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=G$(),n=N(t),r=P(M(n),2),i=M(r,!0);T(r),T(n);var a=P(n,2),o=P(M(a),2),s=M(o,!0);T(o),T(a),F((e,t)=>{B(i,e),B(s,t)},[()=>RL(hR.cacheOverview.summary.total_saved_cost),()=>LL(hR.cacheOverview.summary.total_hits)]),z(e,t)},a=O(()=>hR.cacheAnalyticsEnabled());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}var q$=R(` `),J$=R(`
        Pro Saved
        `),Y$=R(`
        Total Requests
        Estimated Cost
        `);function X$(e,t){E(t,!0);let n=O(()=>u$(J.usageSummary)),r=O(()=>p$(J.usageSummary,J.usageMode)),i=O(()=>h$(J.usageSummary,J.usageMode));var a=Y$(),o=M(a),s=P(M(o),2),c=M(s),l=e=>{XZ(e,{size:18,label:`Loading usage summary`})},u=e=>{var t=Zr();F(e=>B(t,e),[()=>LL(o$(J.usageSummary,J.usageSummaryAll,J.usageLogHideCached))]),z(e,t)};V(c,e=>{J.summaryLoading?e(l):e(u,-1)}),T(s),T(o);var d=P(o,2),f=P(M(d),2),p=M(f),m=e=>{XZ(e,{size:18,label:`Loading usage summary`})},h=e=>{var t=Zr();F(e=>B(t,e),[()=>RL(J.usageSummary.total_cost)]),z(e,t)};V(p,e=>{J.summaryLoading?e(m):e(h,-1)}),T(f),T(d);var g=P(d,2),_=e=>{var t=J$(),n=P(M(t),2),a=M(n),o=M(a,!0);T(a);var s=P(a,2),c=e=>{var t=q$(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)};V(s,e=>{I(i)&&e(c)}),T(n),T(t),F(e=>{W(n,`title`,e),B(o,I(r))},[()=>g$(J.usageSummary,J.usageMode)]),z(e,t)};V(g,e=>{I(n)&&e(_)}),K$(P(g,2),{}),T(a),F((e,t)=>{W(s,`title`,e),W(f,`title`,t)},[()=>s$(J.usageSummary,J.usageSummaryAll,J.usageLogHideCached),()=>c$(J.usageSummary)]),z(e,a),D()}function Z$(e,t,n,r){let{stacked:i=!1,costs:a=!1,resolve:o=e=>e}=r||{},s=e=>a?`$`+Math.abs(e).toFixed(2):VL(Math.abs(e)),c=e=>a?`$`+Math.abs(e).toFixed(4):Math.abs(e).toLocaleString(),l=e=>e.map(e=>i?Math.abs(e):-Math.abs(e)),u=(e,t,n)=>({label:e,data:t,backgroundColor:n,borderColor:`transparent`,borderWidth:0,borderRadius:4,maxBarThickness:22}),d=e=>(e||[]).some(e=>Math.abs(e)>0),f=[u(a?`Input Cost`:`Input Tokens`,l(n.inputs),o(`var(--token-input)`)),u(a?`Output Cost`:`Output Tokens`,n.outputs,o(`var(--token-output)`))];return d(n.prompts)&&f.push(u(a?`Prompt Cached Cost`:`Prompt Cached`,l(n.prompts),o(`var(--token-prompt)`))),!a&&d(n.localIns)&&f.push(u(`Locally Cached (Input)`,l(n.localIns),o(`var(--token-local)`))),!a&&d(n.localOuts)&&f.push(u(`Locally Cached (Output)`,n.localOuts,o(`var(--token-local)`))),{type:`bar`,data:{labels:t,datasets:f},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,animation:{duration:0},layout:{padding:{top:8}},scales:{x:{stacked:!0,beginAtZero:!0,grid:i?{color:e.grid}:{color:t=>t.tick&&t.tick.value===0?e.text:e.grid},border:{display:!1},ticks:{color:e.text,font:pY(),callback:e=>s(e)}},y:{stacked:!0,grid:{display:!1},border:{display:!1},ticks:{color:e.text,font:pY(),autoSkip:!1}}},plugins:{legend:{labels:{color:e.text,font:{size:12}}},tooltip:mY(e,{label:e=>e.dataset.label+`: `+c(e.parsed.x),footer:e=>{let t=0;return e.forEach(e=>{t+=Math.abs(Number(e.parsed.x))||0}),`Total: `+c(t)}})}}}}var Q$=R(`
        `),$$=R(`

        `),e1=R(`

        `,1),t1=R(`
        `),n1=R(`Model Provider`,1),r1=R(`User Path`),i1=R(`Label Requests`,1),a1=R(` `,1),o1=R(` `),s1=R(` `,1),c1=R(` `),l1=R(`
        Input TokensOutput TokensPrompt CachedLocal CachedTotal TokensInput CostOutput CostTotal Cost
        `),u1=R(`
        `),d1=R(`
        `);function f1(e,t){E(t,!0);let n=e=>{var n=Q$(),r=M(n);let a;var o=P(r,2);let s;var l=P(o,2);let u;T(n),F(()=>{W(n,`aria-label`,I(i).group),a=U(r,1,`chart-view-btn svelte-1kee4g8`,null,a,{active:I(c)===`chart`}),W(r,`aria-pressed`,I(c)===`chart`),W(r,`aria-label`,`Show ${I(i).noun??``} chart`),s=U(o,1,`chart-view-btn svelte-1kee4g8`,null,s,{active:I(c)===`stacked`}),W(o,`aria-pressed`,I(c)===`stacked`),W(o,`aria-label`,`Show ${I(i).noun??``} stacked chart`),u=U(l,1,`chart-view-btn svelte-1kee4g8`,null,u,{active:I(c)===`table`}),W(l,`aria-pressed`,I(c)===`table`),W(l,`aria-label`,`Show ${I(i).noun??``} table`)}),L(`click`,r,()=>J.toggleUsageChartView(t.kind,`chart`)),L(`click`,o,()=>J.toggleUsageChartView(t.kind,`stacked`)),L(`click`,l,()=>J.toggleUsageChartView(t.kind,`table`)),z(e,n)},r={model:{group:`Model usage view`,noun:`model usage`,tokensTitle:`Token Usage by Model`,costsTitle:`Cost by Model`},userPath:{group:`User path usage view`,noun:`user path usage`,tokensTitle:`Usage by User Path`,costsTitle:`Cost by User Path`},label:{group:`Label usage view`,noun:`label usage`,tokensTitle:`Usage by Label`,costsTitle:`Cost by Label`}},i=O(()=>r[t.kind]),a=O(()=>t.kind===`model`?e=>YL(e):t.kind===`userPath`?e=>e.user_path||`/`:e=>e.label);function o(e){return t.kind===`model`?(e.provider_name||e.provider||`-`)+`/`+e.model:t.kind===`userPath`?e.user_path||`/`:e.label}let s=O(()=>t.kind===`model`?J.modelUsage:t.kind===`userPath`?J.userPathUsage:J.labelUsage),c=O(()=>t.kind===`model`?J.modelUsageView:t.kind===`userPath`?J.userPathUsageView:J.labelUsageView),l=O(()=>t.kind===`model`?J.modelUsageLoading:t.kind===`userPath`?J.userPathUsageLoading:J.labelUsageLoading),u=O(()=>J.usageMode===`costs`),d=O(()=>t.kind===`userPath`?P$(I(s)):I(s).length>0),f=O(()=>I(u)?I(i).costsTitle:I(i).tokensTitle),p=O(()=>I$(I(s),I(a),I(u))),m=O(()=>N$(I(s),I(u)));function h(){return F$(I(c))?Z$(fY(),I(p).labels,I(p),{stacked:I(c)===`stacked`,costs:I(u),resolve:hY}):null}var g=Qr(),_=N(g),v=e=>{var r=u1(),a=M(r),s=M(a),u=e=>{xQ(e,{copyId:`label-usage-help-copy`,label:`label usage help`,text:`One request can have multiple labels. Such a request counts once under each of its labels, so label rows can overlap and add up to more than the period totals.`,title:e=>{var t=$$(),n=M(t,!0);T(t),F(()=>B(n,I(f))),z(e,t)},extra:e=>{var t=Qr(),n=N(t),r=e=>{XZ(e,{size:14,get label(){return`Loading ${I(i).noun??``}`}})};V(n,e=>{I(l)&&e(r)}),z(e,t)},$$slots:{title:!0,extra:!0}})},d=e=>{var t=e1(),n=N(t),r=M(n,!0);T(n);var a=P(n,2),o=e=>{XZ(e,{size:14,get label(){return`Loading ${I(i).noun??``}`}})};V(a,e=>{I(l)&&e(o)}),F(()=>B(r,I(f))),z(e,t)};V(s,e=>{t.kind===`label`?e(u):e(d,-1)});var g=P(s,2);n(g),T(a);var _=P(a,2),v=e=>{var t=t1();let n;sY(M(t),{build:h}),T(t),F(e=>n=zi(t,``,n,e),[()=>({height:`${L$(I(p).labels.length)??``}px`})]),z(e,t)},y=O(()=>F$(I(c))),b=e=>{var n=l1(),r=M(n),i=M(r),a=M(i),s=M(a),c=e=>{var t=n1();Ge(2),z(e,t)},l=e=>{z(e,r1())},u=e=>{var t=i1();Ge(2),z(e,t)};V(s,e=>{t.kind===`model`?e(c):t.kind===`userPath`?e(l,1):e(u,-1)}),Ge(8),T(a),T(i);var d=P(i);H(d,21,()=>I(m),e=>o(e),(e,n)=>{var r=c1(),i=M(r),a=e=>{var t=a1(),r=N(t),i=M(r,!0);T(r);var a=P(r,2),o=M(a),s=M(o,!0);T(o),T(a),F(e=>{B(i,I(n).model||`-`),B(s,e)},[()=>qL(I(n))||`-`]),z(e,t)},o=e=>{var t=o1(),r=M(t,!0);T(t),F(()=>B(r,I(n).user_path||`/`)),z(e,t)},s=e=>{var t=s1(),r=N(t),i=M(r);let a;var o=M(i,!0);T(i),T(r);var s=P(r,2),c=M(s,!0);T(s),F((e,t,r)=>{a=U(i,1,`usage-label-chip`,null,a,{active:J.usageFilterLabel===I(n).label}),zi(i,`--label-color: ${e??``}`),W(i,`title`,t),B(o,I(n).label),B(c,r)},[()=>vY(I(n).label),()=>J.usageLabelChipTitle(I(n).label),()=>LL(I(n).requests)]),L(`click`,i,()=>J.toggleUsageLabelFilter(I(n).label)),z(e,t)};V(i,e=>{t.kind===`model`?e(a):t.kind===`userPath`?e(o,1):e(s,-1)});var c=P(i),l=M(c,!0);T(c);var u=P(c),d=M(u,!0);T(u);var f=P(u),p=M(f,!0);T(f);var m=P(f),h=M(m,!0);T(m);var g=P(m),_=M(g,!0);T(g);var v=P(g),y=M(v,!0);T(v);var b=P(v),x=M(b,!0);T(b);var S=P(b),C=M(S,!0);T(S),T(r),F((e,t,n,r,i,a,o,s,c,u,g)=>{B(l,e),B(d,t),W(f,`title`,n),B(p,r),W(m,`title`,`${i??``} input + ${a??``} output`),B(h,o),B(_,s),B(y,c),B(x,u),B(C,g)},[()=>LL(I(n).input_tokens),()=>LL(I(n).output_tokens),()=>I(n).cached_input_cost==null?``:`~`+RL(I(n).cached_input_cost)+` at current cached-input pricing`,()=>LL(I(n).cached_input_tokens||0),()=>LL(I(n).local_cached_input_tokens||0),()=>LL(I(n).local_cached_output_tokens||0),()=>LL((I(n).local_cached_input_tokens||0)+(I(n).local_cached_output_tokens||0)),()=>LL(j$(I(n))),()=>RL(I(n).input_cost),()=>RL(I(n).output_cost),()=>RL(I(n).total_cost)]),z(e,r)}),T(d),T(r),T(n),z(e,n)};V(_,e=>{I(y)?e(v):e(b,-1)}),T(r),z(e,r)},y=e=>{var t=d1();XZ(M(t),{size:20,get label(){return`Loading ${I(i).noun??``}`}}),T(t),z(e,t)};V(_,e=>{I(d)?e(v):I(l)&&e(y,1)}),z(e,g),D()}Hr([`click`]);var p1=R(``);function m1(e,t){E(t,!0);let n=G(t,`total`,3,0),r=G(t,`offset`,3,0),i=G(t,`limit`,3,25);var a=Qr(),o=N(a),s=e=>{var a=p1(),o=M(a),s=M(o);T(o);var c=P(o,2),l=M(c),u=P(l,2);T(c),T(a),F(e=>{B(s,`Showing ${r()+1}-${e??``} of ${n()??``}`),l.disabled=r()===0,u.disabled=r()+i()>=n()},[()=>Math.min(r()+i(),n())]),L(`click`,l,()=>t.onprev?.()),L(`click`,u,()=>t.onnext?.()),z(e,a)};V(o,e=>{n()>0&&e(s)}),z(e,a),D()}Hr([`click`]);var h1=(e,t=m)=>{var n=Qr(),r=N(n),i=e=>{var n=_1();H(n,20,()=>k$(t()),e=>e,(e,t)=>{var n=g1();let r;var i=M(n,!0);T(n),F((e,a)=>{r=U(n,1,`usage-label-chip`,null,r,{active:J.usageFilterLabel===t}),zi(n,`--label-color: ${e??``}`),W(n,`title`,a),B(i,t)},[()=>vY(t),()=>J.usageLabelChipTitle(t)]),L(`click`,n,()=>J.toggleUsageLabelFilter(t)),z(e,n)}),T(n),z(e,n)},a=O(()=>k$(t()).length>0),o=e=>{z(e,v1())};V(r,e=>{I(a)?e(i):e(o,-1)}),z(e,n)},g1=R(``),_1=R(`
        `),v1=R(`-`),y1=R(`Labels`),b1=R(`Cost`),x1=R(``),S1=R(` `),C1=R(``),w1=R(` `),T1=R(` `),E1=R(`
        TimestampProviderModelUser PathCacheProvider Cache
        `),D1=R(`
        `),O1=R(`
        `),k1=R(`

        Request Log

        `);function A1(e,t){E(t,!0);let n=O(()=>J.usageMode===`costs`),r=O(()=>A$(J.labelUsage,J.usageFilterLabel,J.usageLog.entries)),i=B$(()=>J.fetchUsageLog(!0));Mn(()=>i.cancel);var a=k1(),o=P(M(a),2),s=M(o);z$(M(s),{placeholder:`Search by request ID, model, provider...`,label:`Search by request ID, model, provider`,get oninput(){return i},get value(){return J.usageLogSearch},set value(e){J.usageLogSearch=e}}),T(s);var c=P(s,2),l=M(c),u=M(l);$i(u),Ge(2),T(l),T(c),T(o);var d=P(o,2),f=e=>{var t=E1(),i=M(t),a=M(i),o=M(a),s=P(M(o),4),c=e=>{z(e,y1())};V(s,e=>{I(r)&&e(c)});var l=P(s,3),u=M(l,!0);T(l);var d=P(l),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=e=>{z(e,b1())};V(h,e=>{I(n)||e(g)}),T(o),T(a);var _=P(a);H(_,21,()=>J.usageLog.entries,e=>e.id,(e,t)=>{var i=T1();let a;var o=M(i),s=M(o,!0);T(o);var c=P(o),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=e=>{var n=x1();h1(M(n),()=>I(t)),T(n),z(e,n)};V(h,e=>{I(r)&&e(g)});var _=P(h),v=M(_,!0);T(_);var y=P(_),b=M(y),x=e=>{var n=S1(),r=M(n,!0);T(n),F(e=>B(r,e),[()=>E$(I(t))]),z(e,n)},S=O(()=>T$(I(t))),C=e=>{z(e,v1())};V(b,e=>{I(S)?e(x):e(C,-1)}),T(y);var w=P(y),ee=M(w,!0);T(w);var te=P(w),ne=M(te,!0);T(te);var re=P(te),ie=M(re),ae=M(ie,!0);T(ie);var oe=P(ie,2),se=e=>{{let n=O(()=>y$(I(t)));K(e,{name:`circle-dollar-sign`,class:`cost-source-icon`,get title(){return I(n)}})}},ce=O(()=>I(n)&&v$(I(t)));V(oe,e=>{I(ce)&&e(se)});var le=P(oe,2),ue=e=>{K(e,{name:`database-zap`,class:`cache-savings-icon`})},de=O(()=>I(n)&&x$(I(t)));V(le,e=>{I(de)&&e(ue)});var fe=P(le,2),pe=e=>{var n=C1();F(()=>W(n,`title`,I(t).costs_calculation_caveat)),z(e,n)};V(fe,e=>{I(n)&&I(t).costs_calculation_caveat&&e(pe)}),T(re);var me=P(re),he=e=>{var n=w1(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{{let n=O(()=>y$(I(t)));K(e,{name:`circle-dollar-sign`,class:`cost-source-icon`,get title(){return I(n)}})}},s=O(()=>v$(I(t)));V(a,e=>{I(s)&&e(o)});var c=P(a,2),l=e=>{K(e,{name:`database-zap`,class:`cache-savings-icon`})},u=O(()=>x$(I(t)));V(c,e=>{I(u)&&e(l)});var d=P(c,2),f=e=>{var n=C1();F(()=>W(n,`title`,I(t).costs_calculation_caveat)),z(e,n)};V(d,e=>{I(t).costs_calculation_caveat&&e(f)}),T(n),F((e,t)=>{W(n,`title`,e),B(i,t)},[()=>C$(I(t),O$(I(t))),()=>RL(I(t).total_cost)]),z(e,n)};V(me,e=>{I(n)||e(he)}),T(i),F((e,n,r,c,l,d,p,h,g,_,b,x,S)=>{a=U(i,1,`svelte-hg4ill`,null,a,e),W(o,`title`,n),B(s,r),B(u,c),B(f,I(t).model),B(m,I(t).user_path||`-`),B(v,l),W(y,`title`,d),W(w,`title`,p),B(ee,h),W(te,`title`,g),B(ne,_),W(re,`title`,b),W(ie,`title`,x),B(ae,S)},[()=>({"usage-log-row-cached":x$(I(t))}),()=>GL(I(t).timestamp),()=>UI.formatTimestamp(I(t).timestamp),()=>qL(I(t))||`-`,()=>S$(I(t)),()=>D$(I(t)),()=>I(n)?LL(I(t).input_tokens)+` tokens`:``,()=>I(n)?RL(I(t).input_cost):LL(I(t).input_tokens),()=>I(n)?LL(I(t).output_tokens)+` tokens`:``,()=>I(n)?RL(I(t).output_cost):LL(I(t).output_tokens),()=>I(n)?C$(I(t),``):``,()=>I(n)?C$(I(t),LL(I(t).total_tokens)+` tokens -`+O$(I(t))):``,()=>I(n)?RL(I(t).total_cost):LL(I(t).total_tokens)]),z(e,i)}),T(_),T(i),T(t),F(()=>{B(u,I(n)?`Input Cost`:`Input`),B(f,I(n)?`Output Cost`:`Output`),B(m,I(n)?`Total Cost`:`Total`)}),z(e,t)},p=e=>{var t=D1();XZ(M(t),{size:20,label:`Loading request log`}),T(t),z(e,t)},m=e=>{var t=O1();$Z(M(t),{}),T(t),z(e,t)};V(d,e=>{J.usageLog.entries.length>0?e(f):J.usageLogLoading?e(p,1):e(m,-1)}),m1(P(d,2),{get total(){return J.usageLog.total},get offset(){return J.usageLog.offset},get limit(){return J.usageLog.limit},onprev:()=>J.usageLogPrevPage(),onnext:()=>J.usageLogNextPage()}),T(a),L(`change`,u,()=>J.fetchUsageLog(!0)),la(u,()=>J.usageLogHideCached,e=>J.usageLogHideCached=e),z(e,a),D()}Hr([`click`,`change`]);var j1=R(`
        `);function M1(e,t){E(t,!0);let n=`usage`;Mn(()=>{q.refreshTick,EI.page===n&&(J.fetchUsagePage(),QQ.ensureLiveLogs())}),Mn(()=>{EI.page===n&&(J.usageMode=EI.sub===`costs`?`costs`:`tokens`)});var r=j1(),i=P(M(r),2),a=M(i);uY(a,{ariaLabel:`Usage mode`,options:[{value:`tokens`,label:`Tokens`},{value:`costs`,label:`Costs`}],get value(){return J.usageMode},onchange:e=>J.toggleUsageMode(e)}),MR(P(a,2),{onchange:()=>J.fetchUsagePage()}),T(i);var o=P(i,2);W$(o,{});var s=P(o,2);X$(s,{});var c=P(s,2),l=M(c);f1(l,{kind:`model`});var u=P(l,2);f1(u,{kind:`userPath`}),f1(P(u,2),{kind:`label`}),T(c),A1(P(c,2),{}),T(r),z(e,r),D()}var N1=R(`
        `);function P1(e,t){let n=G(t,`label`,3,`Loading...`),r=G(t,`class`,3,``);var i=N1(),a=P(M(i),2),o=M(a,!0);T(a),T(i),F(()=>{U(i,1,`loading-state ${r()??``}`,`svelte-hzxv1d`),B(o,n())}),z(e,i)}var F1=R(``);function I1(e,t){let n=G(t,`label`,3,``),r=G(t,`class`,3,``),i=G(t,`disabled`,3,!1);var a=F1();hi(M(a),()=>t.children??m),T(a),F(()=>{U(a,1,`table-action-btn ${r()??``}`),W(a,`aria-label`,n()),W(a,`title`,n()),a.disabled=i()}),L(`click`,a,function(...e){t.onclick?.apply(this,e)}),z(e,a)}Hr([`click`]);async function L1(e,{label:t,errorFallback:n=`Unable to load ${t}.`,unavailableStatuses:r=[503],normalize:i=e=>Array.isArray(e)?e:[],options:a}){let o;try{o=await YI(e,{...a||{},label:t})}catch(e){return ZI(e)||console.error(`Failed to fetch ${t}:`,e),{status:`error`,items:[],error:n,result:null}}return o.stale?{status:`stale`,items:[],error:``,result:o}:r.includes(o.status)?{status:`unavailable`,items:[],error:``,result:o}:o.ok?{status:`ok`,items:i(o.data),error:``,result:o}:{status:`error`,items:[],error:o.status===401?``:WI(o.data,n),result:o}}async function R1(e,t,n,{label:r,errorFallback:i=`Unable to ${r}.`,unavailableStatuses:a=[503],unavailableMessage:o=`This feature is unavailable on the gateway.`,options:s}){let c;try{c=await XI(e,t,n,{...s||{},label:r})}catch(e){return ZI(e)||console.error(`Failed to ${r}:`,e),{status:`error`,error:i,result:null}}return c.stale?{status:`stale`,error:``,result:c}:a.includes(c.status)?{status:`unavailable`,error:o,result:c}:c.ok?{status:`ok`,error:``,result:c}:{status:`error`,error:c.status===401?`Authentication required.`:WI(c.data,i),result:c}}function z1(){return{scope:`user_path`,subject:`/`,period:`daily`,period_seconds:86400,amount:``,source:`manual`}}function B1(e){let t={user_path:{label:`User path`,chip:`user path`,fieldLabel:`User Path`,placeholder:`/team/alpha`},label:{label:`Label`,chip:`label`,fieldLabel:`Label`,placeholder:`Mobile-App-iOS`}};return t[e]||t.user_path}function V1(){return[`user_path`,`label`].map(e=>({value:e,label:B1(e).label}))}function H1(e){return String(e&&e.scope||``).trim()||`user_path`}function U1(e){return String(e&&e.subject||``).trim()||String(e&&e.user_path||``)}function W1(e){return B1(H1(e)).chip}function G1(e){return H1(e)===`label`?`budget-label`:`budget-user-path`}function K1(e){return B1(String(e&&e.scope||``)).fieldLabel}function q1(e){return B1(String(e&&e.scope||``)).placeholder}function J1(e){e.subject=String(e&&e.scope||``)===`user_path`?`/`:``}function Y1(){return[{value:`hourly`,label:`Hourly`},{value:`daily`,label:`Daily`},{value:`weekly`,label:`Weekly`},{value:`monthly`,label:`Monthly`},{value:`custom`,label:`Custom seconds`}]}function X1(e){switch(String(e||``).trim().toLowerCase()){case`hourly`:return 3600;case`daily`:return 86400;case`weekly`:return 604800;case`monthly`:return 2592e3;default:return 0}}function Z1(e){switch(Number(e||0)){case 3600:return`hourly`;case 86400:return`daily`;case 604800:return`weekly`;case 2592e3:return`monthly`;default:return`custom`}}function Q1(e){return H1(e)+`:`+U1(e)+`:`+String(e&&e.period_seconds||``)}function $1(e,t){if(!t||!Array.isArray(e))return null;let n=Q1(t);return e.find(e=>Q1(e)===n)||null}function e0(e){let t=String(e||``).trim();if(!t)return`User path is required.`;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`);for(let e of n){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function t0(e){if(e0(e))return``;let t=String(e||``).trim(),n=(t.startsWith(`/`)?t:`/`+t).split(`/`),r=[];for(let e of n){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function n0(e){return`/`+String(e||``).trimStart().replace(/^\/+/,``)}function r0(e){return Array.isArray(e)?e:e&&Array.isArray(e.budgets)?e.budgets:[]}function i0(e){let t=Number(e&&e.period_seconds||0);return[U1(e),W1(e),x0(e),Z1(t),t?String(t)+`s`:``,t?String(t)+` seconds`:``].join(` `).toLowerCase()}var a0={user_path:0,label:1};function o0(e,t){let n=Array.isArray(e)?e.slice():[],r=String(t||`subject`);return n.sort((e,t)=>{let n=(a0[H1(e)]||0)-(a0[H1(t)]||0),i=U1(e).localeCompare(U1(t)),a=Number(t&&t.period_seconds||0)-Number(e&&e.period_seconds||0);return r===`period`?a||n||i:n||i||a}),n}function s0(e,t,n){let r=Array.isArray(e)?e:[],i=String(t||``).trim().toLowerCase();return o0(i?r.filter(e=>i0(e).includes(i)):r.slice(),n)}function c0(e){let t=e||{},n=H1(t),r=String(t.subject||``).trim();if(n===`user_path`){let e=e0(r);if(e)return{payload:null,error:e}}else if(!r)return{payload:null,error:`Label is required.`};let i=Number(t.amount);if(!Number.isFinite(i)||i<=0)return{payload:null,error:`Amount must be greater than 0.`};let a=String(t.period||``).trim(),o=X1(a);return a===`custom`&&(o=Number(t.period_seconds)),!Number.isFinite(o)||o<=0?{payload:null,error:`Period seconds must be greater than 0.`}:{payload:{scope:n,subject:n===`user_path`?t0(r):r,period_seconds:Math.trunc(o),amount:i,source:String(t.source||`manual`).trim()||`manual`},error:``}}function l0(e){return{scope:H1(e),subject:U1(e),budget_key:{period_seconds:e.period_seconds},amount:e.amount}}function u0(e){return{scope:H1(e),subject:U1(e),budget_key:{period_seconds:e.period_seconds}}}function d0(e){return{scope:H1(e),subject:U1(e),period_seconds:e.period_seconds}}function f0(e){return RL(e)}function p0(e,t){let n=e||{},r=t||{};return`A budget for "`+((U1(n)||U1(r))+` `+x0({period_seconds:n.period_seconds||r.period_seconds,period_label:r.period_label}))+`" already exists. Saving will override the current `+f0(r.amount)+` limit with `+f0(n.amount)+`.`}function m0(e){let t=Number(e);return!Number.isFinite(t)||t<0?0:t}function h0(e,t){let n=m0(e);return Math.round((t?Math.min(n,1):n)*1e3)/10}function g0(e){return m0(e&&e.usage_ratio)}function _0(e){return h0(g0(e),!0)}function v0(e){return h0(e&&e.period_ratio,!0)}function y0(e){return h0(g0(e),!1).toFixed(1).replace(/\.0$/,``)+`%`}function b0(e){return v0(e).toFixed(1).replace(/\.0$/,``)+`%`}function x0(e){let t=Number(e&&e.period_seconds||0);switch(t){case 3600:return`Hourly`;case 86400:return`Daily`;case 604800:return`Weekly`;case 2592e3:return`Monthly`;default:{let n=String(e&&e.period_label||``).trim();return n?`Custom `+n:`Custom `+String(t||``)+`s`}}}function S0(e){switch(Number(e&&e.period_seconds||0)){case 3600:return`budget-period-label-hourly`;case 86400:return`budget-period-label-daily`;case 604800:return`budget-period-label-weekly`;case 2592e3:return`budget-period-label-monthly`;default:return`budget-period-label-custom`}}function C0(e){return S0(e).replace(`budget-period-label-`,`budget-bar-fill-period-`)}function w0(e){return S0(e).replace(`budget-period-label-`,`budget-bar-track-period-`)}function T0(e){switch(Number(e&&e.period_seconds||0)){case 3600:return`clock`;case 86400:return`sun`;case 604800:return`calendar-days`;case 2592e3:return`calendar`;default:return`settings-2`}}function E0(e){let t=Math.max(0,Math.trunc(Number(e||0)));return t+` `+(t===1?`second`:`seconds`)}function D0(e){let t=Number(e&&e.period_seconds||0);switch(t){case 3600:return`1 hour`;case 86400:return`1 day`;case 604800:return`1 week`;case 2592e3:return`1 month`;default:return E0(t)}}function O0(e){return String(e&&e.source||``).trim()||`manual`}function k0(e){let t=O0(e).toLowerCase();return t===`manual`?`Created from the dashboard.`:t===`config`?`Loaded from configuration.`:`Budget source: `+t}function A0(e){let t=Number(e&&e.remaining);return Number.isFinite(t)?t<0?RL(Math.abs(t))+` over`:RL(t)+` remaining`:``}var Y=new class{#e=k(j([]));get budgets(){return I(this.#e)}set budgets(e){A(this.#e,e,!0)}#t=k(!0);get budgetsAvailable(){return I(this.#t)}set budgetsAvailable(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get filter(){return I(this.#r)}set filter(e){A(this.#r,e,!0)}#i=k(`subject`);get sortBy(){return I(this.#i)}set sortBy(e){A(this.#i,e,!0)}#a=k(``);get error(){return I(this.#a)}set error(e){A(this.#a,e,!0)}#o=k(!1);get formOpen(){return I(this.#o)}set formOpen(e){A(this.#o,e,!0)}#s=k(!1);get formSubmitting(){return I(this.#s)}set formSubmitting(e){A(this.#s,e,!0)}#c=k(``);get formError(){return I(this.#c)}set formError(e){A(this.#c,e,!0)}#l=k(!1);get editing(){return I(this.#l)}set editing(e){A(this.#l,e,!0)}#u=k(j(z1()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(!1);get overrideDialogOpen(){return I(this.#d)}set overrideDialogOpen(e){A(this.#d,e,!0)}#f=k(null);get overridePendingPayload(){return I(this.#f)}set overridePendingPayload(e){A(this.#f,e,!0)}#p=k(null);get overrideExistingBudget(){return I(this.#p)}set overrideExistingBudget(e){A(this.#p,e,!0)}#m=k(``);get resettingKey(){return I(this.#m)}set resettingKey(e){A(this.#m,e,!0)}#h=k(``);get deletingKey(){return I(this.#h)}set deletingKey(e){A(this.#h,e,!0)}#g=k(!1);get resetAllLoading(){return I(this.#g)}set resetAllLoading(e){A(this.#g,e,!0)}#_=null;managementEnabled(){return eL.budgetsVisible()}filteredBudgets(){return s0(this.budgets,this.filter,this.sortBy)}async fetchBudgetsPage(){if(await eL.ensureLoaded(),!this.managementEnabled()){this.budgets=[],this.budgetsAvailable=!1,this.error=``;return}return this.#_||=this.fetchBudgets().finally(()=>{this.#_=null}),this.#_}async fetchBudgets(){this.loading=!0,this.error=``;let e=await L1(`/admin/budgets`,{label:`budgets`,errorFallback:`Unable to load budgets.`,normalize:r0});if(this.loading=!1,e.status!==`stale`){if(e.status===`unavailable`){this.budgetsAvailable=!1,this.budgets=[];return}if(!e.result){this.budgets=[],this.error=e.error;return}if(this.budgetsAvailable=!0,e.status===`error`){this.error=e.error;return}this.budgets=e.items}}openForm(e){if(this.editing=!!e,this.formError=``,e){let t=Number(e.period_seconds||0);this.form={scope:H1(e),subject:U1(e),period:Z1(t),period_seconds:t,amount:String(e.amount||``),source:String(e.source||`manual`)}}else this.form=z1();this.formOpen=!0}syncPeriodSeconds(){let e=X1(String(this.form.period||``).trim());e>0&&(this.form.period_seconds=e)}setFormSubject(e){this.form.subject=this.form.scope===`label`?String(e??``):n0(e)}syncScope(){J1(this.form)}closeForm(){this.closeOverrideDialog(),this.formOpen=!1,this.formSubmitting=!1,this.formError=``,this.editing=!1,this.form=z1()}async submitForm(){if(this.formSubmitting)return;let{payload:e,error:t}=c0(this.form);if(!e){this.formError=t;return}if(!this.editing){let t=$1(this.budgets,e);if(t){this.openOverrideDialog(t,e);return}}await this.saveBudgetPayload(e)}async saveBudgetPayload(e){if(this.formSubmitting||!e)return;this.formSubmitting=!0,this.formError=``;let t=await R1(`/admin/budgets`,`PUT`,l0(e),{label:`save budget`,errorFallback:`Unable to save budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.formSubmitting=!1,t.status!==`stale`){if(t.status===`unavailable`){this.budgetsAvailable=!1,this.formError=t.error;return}if(t.status===`error`){this.formError=t.error;return}this.closeForm(),kL.success(`Budget saved.`),this.fetchBudgets()}}openOverrideDialog(e,t){this.overrideExistingBudget=e||null,this.overridePendingPayload=t||null,this.overrideDialogOpen=!0}closeOverrideDialog(){this.overrideDialogOpen=!1,this.overridePendingPayload=null,this.overrideExistingBudget=null}async confirmOverride(){if(!this.overridePendingPayload){this.closeOverrideDialog();return}let e=this.overridePendingPayload;this.closeOverrideDialog(),await this.saveBudgetPayload(e)}async resetBudget(e){if(!e)return;let t=Q1(e);if(this.resettingKey===t)return;let n=U1(e)+` `+x0(e);if(!confirm(`Reset budget "`+n+`"?`))return;this.resettingKey=t;let r=await R1(`/admin/budgets/reset-one`,`POST`,d0(e),{label:`reset budget`,errorFallback:`Unable to reset budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.resettingKey=``,r.status!==`stale`){if(r.status===`unavailable`){this.budgetsAvailable=!1,kL.error(r.error);return}if(r.status===`error`){kL.error(r.error);return}kL.success(`Budget reset.`),this.fetchBudgets()}}async deleteBudget(e){if(!e)return;let t=Q1(e);if(this.deletingKey===t)return;let n=U1(e)+` `+x0(e);if(!confirm(`Delete budget "`+n+`"? This cannot be undone.`))return;this.deletingKey=t;let r=await R1(`/admin/budgets`,`DELETE`,u0(e),{label:`delete budget`,errorFallback:`Unable to delete budget.`,unavailableMessage:`Budget management is unavailable.`});if(this.deletingKey=``,r.status!==`stale`){if(r.status===`unavailable`){this.budgetsAvailable=!1,kL.error(r.error);return}if(r.status===`error`){kL.error(r.error);return}this.budgets=r0(r.result.data),kL.success(`Budget deleted.`)}}openResetDialog(){mL.open({title:`Reset Budgets`,titleId:`budgetResetDialogTitle`,inputId:`budget-reset-confirmation`,requiredText:`reset`,confirmLabel:`Reset All Budgets`,icon:`rotate-ccw`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.resetAllBudgets()})}async resetAllBudgets(){if(this.resetAllLoading)return;this.resetAllLoading=!0;let e=await R1(`/admin/budgets/reset`,`POST`,{confirmation:`reset`},{label:`reset budgets`,errorFallback:`Unable to reset budgets.`,unavailableStatuses:[]});if(this.resetAllLoading=!1,e.status!==`stale`){if(e.status!==`ok`){mL.error=e.error;return}mL.close(),kL.success(`Budgets reset.`),EI.page===`budgets`&&this.fetchBudgets()}}},j0=R(` Edit`,1),M0=R(` `,1),N0=R(`
        Usage
        Period
        `),P0=R(`
        `);function F0(e,t){E(t,!0);let n=G(t,`budgets`,19,()=>[]);function r(e){if(!e)return``;let t=UI.formatTimestamp(e);return!t||t===`-`?``:t+` `+UI.effectiveTimeZoneLabel()}var i=P0();H(i,21,n,e=>Q1(e),(e,t)=>{var n=N0(),i=M(n),a=M(i),o=M(a),s=M(o),c=e=>{K(e,{name:`tag`,class:`budget-scope-icon`})},l=O(()=>H1(I(t))===`label`);V(s,e=>{I(l)&&e(c)});var u=P(s);T(o);var d=P(o,2),f=M(d),p=M(f);{let e=O(()=>T0(I(t)));K(p,{get name(){return I(e)},class:`budget-period-icon`})}var m=P(p,2),h=M(m,!0);T(m),T(f),T(d);var g=P(d,2),_=M(g),v=M(_),y=M(v,!0);T(v),T(_);var b=P(_,2),x=M(b);I1(x,{label:`Edit budget`,class:`budget-action-btn`,onclick:()=>Y.openForm(I(t)),children:(e,t)=>{var n=j0();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}});var S=P(x,2);{let e=O(()=>Y.resettingKey===Q1(I(t))?`Resetting budget`:`Reset budget`),n=O(()=>Y.resettingKey===Q1(I(t)));I1(S,{get label(){return I(e)},class:`budget-action-btn budget-action-btn-warning`,onclick:()=>Y.resetBudget(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=M0(),i=N(r);K(i,{name:`rotate-ccw`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>Y.resettingKey===Q1(I(t))?`Resetting`:`Reset`]),z(e,r)},$$slots:{default:!0}})}var C=P(S,2);{let e=O(()=>Y.deletingKey===Q1(I(t))?`Deleting budget`:`Delete budget`),n=O(()=>Y.deletingKey===Q1(I(t)));I1(C,{get label(){return I(e)},class:`table-action-btn-danger budget-action-btn`,onclick:()=>Y.deleteBudget(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=M0(),i=N(r);K(i,{name:`trash-2`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>Y.deletingKey===Q1(I(t))?`Deleting`:`Delete`]),z(e,r)},$$slots:{default:!0}})}T(b),T(g),T(a);var w=P(a,2),ee=M(w),te=M(ee),ne=P(M(te),2),re=M(ne,!0);T(ne),T(te);var ie=P(te,2),ae=M(ie);let oe;var se=P(ae,2),ce=M(se),le=M(ce,!0);T(ce);var ue=P(ce,2),de=M(ue,!0);T(ue),T(se);var fe=P(se,2),pe=M(fe),me=M(pe,!0);T(pe);var he=P(pe,2),ge=M(he,!0);T(he),T(fe),T(ie),T(ee);var _e=P(ee,2),ve=M(_e),ye=P(M(ve),2),be=M(ye,!0);T(ye),T(ve);var xe=P(ve,2),Se=M(xe),Ce=P(Se,2),we=M(Ce),Te=M(we,!0);T(we);var Ee=P(we,2),De=M(Ee,!0);T(Ee);var Oe=P(Ee,2),ke=M(Oe,!0);T(Oe),T(Ce);var Ae=P(Ce,2),je=M(Ae),Me=M(je,!0);T(je);var Ne=P(je,2),Pe=M(Ne,!0);T(Ne);var Fe=P(Ne,2),Ie=M(Fe,!0);T(Fe),T(Ae),T(xe),T(_e),T(w),T(i),T(n),F((e,t,n,r,i,a,s,c,l,d,p,m,g,_,b,x,S,C,w,ee,te,ne,se,ce,ue,fe,pe,he,_e,ve)=>{U(o,1,`budget-scope-value ${e??``}`,`svelte-1jm56wo`),zi(o,t),W(o,`title`,n),B(u,` ${r??``}`),U(f,1,`budget-period-label ${i??``}`,`svelte-1jm56wo`),B(h,a),W(v,`title`,s),B(y,c),B(re,l),W(ie,`aria-valuenow`,d),W(ie,`aria-label`,p),zi(ie,`--budget-progress: ${m??``}%`),oe=U(ae,1,`budget-bar-fill budget-bar-fill-usage`,null,oe,g),B(le,_),B(de,b),B(me,x),B(ge,S),B(be,C),U(xe,1,`budget-bar-track ${w??``}`,`svelte-1jm56wo`),W(xe,`aria-valuenow`,ee),zi(xe,`--budget-progress: ${te??``}%`),U(Se,1,`budget-bar-fill budget-bar-fill-period ${ne??``}`,`svelte-1jm56wo`),W(we,`title`,se),B(Te,ce),B(De,ue),W(Oe,`title`,fe),B(ke,pe),B(Me,he),B(Pe,_e),B(Ie,ve)},[()=>G1(I(t)),()=>H1(I(t))===`label`?`--label-color: `+vY(U1(I(t))):void 0,()=>W1(I(t))+`: `+U1(I(t)),()=>U1(I(t)),()=>S0(I(t)),()=>x0(I(t)),()=>k0(I(t)),()=>O0(I(t)),()=>y0(I(t)),()=>_0(I(t)),()=>`Budget usage: `+RL(I(t).spent)+` of `+RL(I(t).amount)+`, `+A0(I(t)),()=>_0(I(t)),()=>({"budget-bar-fill-danger":g0(I(t))>=1}),()=>RL(I(t).spent)+` of `+RL(I(t).amount),()=>A0(I(t)),()=>RL(I(t).spent)+` of `+RL(I(t).amount),()=>A0(I(t)),()=>b0(I(t)),()=>w0(I(t)),()=>v0(I(t)),()=>v0(I(t)),()=>C0(I(t)),()=>r(I(t).period_start),()=>UI.formatTimestamp(I(t).period_start),()=>D0(I(t)),()=>r(I(t).period_end),()=>UI.formatTimestamp(I(t).period_end),()=>UI.formatTimestamp(I(t).period_start),()=>D0(I(t)),()=>UI.formatTimestamp(I(t).period_end)]),z(e,n)}),T(i),z(e,i),D()}var I0=R(`

        `,1),L0=R(``),R0=R(``),z0=R(`
        `);function B0(e,t){E(t,!0);let n=G(t,`open`,3,!1),r=G(t,`title`,3,``),i=G(t,`ariaLabel`,3,``),a=G(t,`error`,3,``),o=G(t,`submitting`,3,!1),s=G(t,`submitDisabled`,3,!1),c=G(t,`submitLabel`,3,`Save`),l=G(t,`submittingLabel`,3,`Saving...`),u=G(t,`submitIcon`,3,`save`),d=G(t,`cancel`,3,!0),f=G(t,`dialogClass`,3,``),p=G(t,`novalidate`,3,!1),h=G(t,`canClose`,3,()=>!0);function g(){q.dialogOpen||h()()&&t.onclose?.()}lL(e,{get open(){return n()},variant:`editor`,onclose:g,children:(e,n)=>{var h=z0(),g=M(h),_=M(g),v=M(_),y=M(v),b=e=>{var n=Qr();hi(N(n),()=>t.header),z(e,n)},x=e=>{var n=I0(),i=N(n),a=M(i,!0);T(i);var o=P(i,2),s=e=>{var n=Qr();hi(N(n),()=>t.headerHint),z(e,n)};V(o,e=>{t.headerHint&&e(s)}),F(()=>B(a,r())),z(e,n)};V(y,e=>{t.header?e(b):e(x,-1)}),T(v);var S=P(v,2);{let e=O(()=>`Close `+(i()||r()).toLowerCase());sL(S,{get label(){return I(e)},onclick:()=>t.onclose?.()})}T(_);var C=P(_,2);hi(C,()=>t.children??m);var w=P(C,2),ee=e=>{var t=L0(),n=M(t,!0);T(t),F(()=>B(n,a())),z(e,t)};V(w,e=>{a()&&e(ee)});var te=P(w,2),ne=M(te),re=e=>{var n=R0();L(`click`,n,()=>t.onclose?.()),z(e,n)};V(ne,e=>{d()&&e(re)});var ie=P(ne,2),ae=e=>{var n=Qr();hi(N(n),()=>t.extraActions),z(e,n)};V(ie,e=>{t.extraActions&&e(ae)});var oe=P(ie,2),se=M(oe);K(se,{get name(){return u()},class:`form-action-icon`});var ce=P(se,2),le=M(ce,!0);T(ce),T(oe),T(te),T(g),T(h),F(()=>{U(h,1,`model-editor`+(f()?` `+f():``)),W(h,`aria-label`,i()||r()),g.noValidate=p(),oe.disabled=o()||s(),B(le,o()?l():c())}),Vr(`submit`,g,e=>{e.preventDefault(),t.onsubmit?.()}),z(e,h)},$$slots:{default:!0}}),D()}Hr([`click`]);var V0=R(`
        `);function H0(e,t){let n=G(t,`label`,3,``);var r=V0(),i=M(r),a=M(i,!0);T(i),hi(P(i,2),()=>t.children??m),T(r),F(()=>{W(i,`for`,t.id),B(a,n())}),z(e,r)}var U0=R(``),W0=R(``),G0=R(``),K0=R(``),q0=R(``),J0=R(``),Y0=R(`

        Editing a budget updates its limit only. Use Reset to start a new - budget period.

        `),X0=R(`
        `,1),Z0=R(``),Q0=R(` `,1);function $0(e,t){E(t,!0);function n(e){Y.setFormSubject(e.target.value),e.target.value=Y.form.subject}var r=Q0(),i=N(r);{let e=O(()=>Y.editing?`Edit Budget`:`Create Budget`);B0(i,{get open(){return Y.formOpen},get title(){return I(e)},ariaLabel:`Budget editor`,get error(){return Y.formError},get submitting(){return Y.formSubmitting},submitLabel:`Save Budget`,dialogClass:`budget-editor`,canClose:()=>!Y.overrideDialogOpen,onclose:()=>Y.closeForm(),onsubmit:()=>Y.submitForm(),children:(e,t)=>{var r=X0(),i=N(r),a=M(i);H0(a,{id:`budget-scope`,label:`Scope`,children:(e,t)=>{var n=W0();H(n,21,V1,e=>e.value,(e,t)=>{var n=U0(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),F(()=>n.disabled=Y.editing),L(`change`,n,()=>Y.syncScope()),Hi(n,()=>Y.form.scope,e=>Y.form.scope=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);{let e=O(()=>K1(Y.form));H0(o,{id:`budget-subject`,get label(){return I(e)},children:(e,t)=>{var r=G0();$i(r),F(e=>{W(r,`placeholder`,e),ea(r,Y.form.subject),r.disabled=Y.editing,W(r,`data-modal-autofocus`,!Y.editing||void 0)},[()=>q1(Y.form)]),L(`input`,r,n),z(e,r)},$$slots:{default:!0}})}var s=P(o,2);H0(s,{id:`budget-period`,label:`Period`,children:(e,t)=>{var n=K0();H(n,21,Y1,e=>e.value,(e,t)=>{var n=U0(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),F(()=>n.disabled=Y.editing),L(`change`,n,()=>Y.syncPeriodSeconds()),Hi(n,()=>Y.form.period,e=>Y.form.period=e),z(e,n)},$$slots:{default:!0}});var c=P(s,2),l=e=>{H0(e,{id:`budget-period-seconds`,label:`Period Seconds`,children:(e,t)=>{var n=q0();$i(n),F(()=>n.disabled=Y.editing),ca(n,()=>Y.form.period_seconds,e=>Y.form.period_seconds=e),z(e,n)},$$slots:{default:!0}})};V(c,e=>{Y.form.period===`custom`&&e(l)}),H0(P(c,2),{id:`budget-amount`,label:`Amount`,children:(e,t)=>{var n=J0();$i(n),F(()=>W(n,`data-modal-autofocus`,Y.editing||void 0)),ca(n,()=>Y.form.amount,e=>Y.form.amount=e),z(e,n)},$$slots:{default:!0}}),T(i);var u=P(i,2),d=e=>{z(e,Y0())};V(u,e=>{Y.editing&&e(d)}),z(e,r)},$$slots:{default:!0}})}lL(P(i,2),{get open(){return Y.overrideDialogOpen},variant:`auth`,onclose:()=>Y.closeOverrideDialog(),children:(e,t)=>{var n=Z0(),r=M(n);sL(P(M(r),2),{label:`Close budget override dialog`,onclick:()=>Y.closeOverrideDialog(),class:`auth-dialog-close`,iconClass:``}),T(r);var i=P(r,2),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=P(c,2),u=M(l);K(u,{name:`save`,class:`form-action-icon`});var d=P(u,2),f=M(d,!0);T(d),T(l),T(s),T(i),T(n),F(e=>{B(o,e),l.disabled=Y.formSubmitting,B(f,Y.formSubmitting?`Saving...`:`Override Budget`)},[()=>p0(Y.overridePendingPayload,Y.overrideExistingBudget)]),Vr(`submit`,i,e=>{e.preventDefault(),Y.confirmOverride()}),L(`click`,c,()=>Y.closeOverrideDialog()),z(e,n)},$$slots:{default:!0}}),z(e,r),D()}Hr([`change`,`input`,`click`]);var e2=R(`

        Budgets

        `),t2=R(``),n2=R(`
        Budget management is unavailable.
        `),r2=R(``),i2=R(`
        `),a2=R(`

        No budgets configured yet.

        `),o2=R(`

        No budgets match your filter.

        `),s2=R(`
        `);function c2(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`budgets`&&Y.fetchBudgetsPage()});let n=O(()=>Y.filteredBudgets());var r=s2(),i=M(r),a=M(i);xQ(M(a),{copyId:`budgets-help-copy`,label:`budgets help`,title:e=>{z(e,e2())},help:e=>{Ge(),z(e,Zr(`Budgets are evaluated from tracked usage cost records for each user - path subtree. Enforcement runs only when Budget is enabled for the - active workflow.`))},$$slots:{title:!0,help:!0}}),T(a);var o=P(a,2),s=M(o),c=e=>{var t=t2();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Y.formSubmitting),L(`click`,t,()=>Y.openForm()),z(e,t)},l=O(()=>Y.managementEnabled()&&Y.budgetsAvailable&&!q.authError);V(s,e=>{I(l)&&e(c)}),T(o),T(i);var u=P(i,2);fR(u,{});var d=P(u,2),f=e=>{z(e,n2())},p=O(()=>(!Y.managementEnabled()||!Y.budgetsAvailable)&&!q.authError);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{var t=r2(),n=M(t,!0);T(t),F(()=>B(n,Y.error)),z(e,t)};V(m,e=>{Y.error&&!q.authError&&e(h)});var g=P(m,2),_=e=>{P1(e,{label:`Loading budgets...`})};V(g,e=>{Y.loading&&!q.authError&&e(_)});var v=P(g,2),y=e=>{var t=i2(),n=M(t);z$(M(n),{id:`budget-filter`,placeholder:`Filter by user path, label, or period...`,label:`Filter budgets by user path or period`,get value(){return Y.filter},set value(e){Y.filter=e}}),T(n);var r=P(n,2),i=P(M(r),2),a=M(i);a.value=a.__value=`subject`;var o=P(a);o.value=o.__value=`period`,T(i),T(r),T(t),Hi(i,()=>Y.sortBy,e=>Y.sortBy=e),z(e,t)};V(v,e=>{(Y.budgets.length>0||Y.filter)&&Y.budgetsAvailable&&!q.authError&&!Y.formOpen&&e(y)});var b=P(v,2);$0(b,{});var x=P(b,2),S=e=>{F0(e,{get budgets(){return I(n)}})};V(x,e=>{I(n).length>0&&Y.budgetsAvailable&&!q.authError&&e(S)});var C=P(x,2),w=e=>{z(e,a2())},ee=O(()=>Y.budgets.length===0&&!Y.filter&&!Y.loading&&!q.authError&&!Y.error&&Y.budgetsAvailable&&Y.managementEnabled());V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{z(e,o2())},re=O(()=>Y.budgets.length>0&&I(n).length===0&&Y.filter&&!Y.loading&&!q.authError&&!Y.error&&Y.budgetsAvailable&&Y.managementEnabled());V(te,e=>{I(re)&&e(ne)}),T(r),z(e,r),D()}Hr([`click`]);function l2(){return{scope:`user_path`,subject:`/`,period:`minute`,period_seconds:60,max_requests:``,max_tokens:``,source:`manual`}}function u2(e){let t={user_path:{label:`User path`,chip:`user path`,fieldLabel:`User Path`,placeholder:`/team/alpha`},provider:{label:`Provider`,chip:`provider`,fieldLabel:`Provider Name`,placeholder:`openai`},model:{label:`Model`,chip:`model`,fieldLabel:`Model`,placeholder:`openai/gpt-4o`}};return t[e]||t.user_path}function d2(){return[`user_path`,`provider`,`model`].map(e=>({value:e,label:u2(e).label}))}function f2(e){return String(e&&e.scope||``).trim()||`user_path`}function p2(e){return String(e&&e.subject||``).trim()||String(e&&e.user_path||``)}function m2(e){return u2(f2(e)).chip}function h2(e){return u2(String(e&&e.scope||``)).fieldLabel}function g2(e){return u2(String(e&&e.scope||``)).placeholder}function _2(e){e.subject=String(e&&e.scope||``)===`user_path`?`/`:``}function v2(){return[{value:`minute`,label:`Per minute`},{value:`hour`,label:`Per hour`},{value:`day`,label:`Per day`},{value:`concurrent`,label:`Concurrent (in-flight)`},{value:`custom`,label:`Custom seconds`}]}function y2(e){switch(String(e||``).trim().toLowerCase()){case`minute`:return 60;case`hour`:return 3600;case`day`:return 86400;case`concurrent`:return 0;default:return-1}}function b2(e){switch(Number(e||0)){case 60:return`minute`;case 3600:return`hour`;case 86400:return`day`;case 0:return`concurrent`;default:return`custom`}}function x2(e){let t=String(e&&e.period||``).trim(),n=y2(t);n>=0&&(e.period_seconds=n),t===`concurrent`&&(e.max_tokens=``)}function S2(e){return f2(e)+`:`+p2(e)+`:`+String(e&&e.period_seconds||`0`)}function C2(e){return Number(e&&e.period_seconds||0)===0}function w2(e){return String(e&&e.period_label||``).trim()||b2(Number(e&&e.period_seconds||0))}function T2(e){return String(e&&e.source||``)===`config`?`config`:`manual`}function E2(e){return String(e&&e.source||``)===`config`}function D2(e){let t=Number(e);return Number.isFinite(t)?t.toLocaleString():`0`}function O2(e,t){let n=Number(e),r=Number(t);if(!Number.isFinite(n)||!Number.isFinite(r)||r<=0)return 0;let i=Math.round(n/r*100);return Math.min(Math.max(i,0),100)}function k2(e,t){let n=String(t||``).trim().toLowerCase(),r=Array.isArray(e)?e.slice():[],i={user_path:0,provider:1,model:2};return r.sort((e,t)=>{let n=(i[f2(e)]||0)-(i[f2(t)]||0);if(n!==0)return n;let r=p2(e).localeCompare(p2(t));return r===0?Number(e.period_seconds||0)-Number(t.period_seconds||0):r}),n?r.filter(e=>{let t=p2(e).toLowerCase(),r=m2(e).toLowerCase(),i=w2(e).toLowerCase();return t.includes(n)||r.includes(n)||i.includes(n)}):r}function A2(e){return!e||!Array.isArray(e.rate_limits)?[]:e.rate_limits}function j2(e,t,n){let r=String(t||``).trim();return r=e===`provider`||e===`model`?r.toLowerCase():`/`+r.split(`/`).map(e=>e.trim()).filter(Boolean).join(`/`),e+`:`+r+`:`+Number(n||0)}function M2(e,t){return e?j2(t.scope,t.subject,t.limit_key.period_seconds)!==j2(e.scope,e.subject,e.period_seconds):!1}function N2(e){let t=e||{},n=String(t.scope||`user_path`),r=String(t.subject||``).trim();if(n!==`user_path`&&!r)return{error:h2(t)+` is required.`};let i=String(t.period||``)===`concurrent`,a=t.period_seconds;if(a===``||a==null)return{error:`Period seconds is required.`};let o=Number(a);if(!Number.isInteger(o)||o<0||o===0&&!i)return{error:`Period seconds must be a positive integer (0 only for the concurrent period).`};let s=String(t.max_requests===void 0||t.max_requests===null?``:t.max_requests).trim(),c=String(t.max_tokens===void 0||t.max_tokens===null?``:t.max_tokens).trim();if(!s&&!c)return{error:`Set max requests, max tokens, or both.`};if(i&&c)return{error:`Token limits are not valid for the concurrent period.`};let l={scope:n,subject:r||`/`,limit_key:{period_seconds:o}};if(s){let e=Number(s);if(!Number.isInteger(e)||e<=0)return{error:`Max requests must be a positive integer.`};l.max_requests=e}if(c){let e=Number(c);if(!Number.isInteger(e)||e<=0)return{error:`Max tokens must be a positive integer.`};l.max_tokens=e}return{payload:l}}function P2(e,t,n){if(f2(e)!==`model`)return!1;let r=String(p2(e)).toLowerCase(),i=String(n||``).trim().toLowerCase();if(!i)return!1;if(r===i)return!0;let a=String(t||``).trim().toLowerCase();return a?r===a+`/`+i||i.startsWith(a+`/`)&&r===i.slice(a.length+1):!1}function F2(e,t){return f2(e)===`provider`&&String(p2(e)).toLowerCase()===String(t||``).trim().toLowerCase()}function I2(e){let t=e||{},n=String(t.model||``),r=String(t.provider||``);return!r||n.toLowerCase().startsWith(r+`/`)?n:r+`/`+n}function L2(e,t){let n=e||{},r=Array.isArray(t)?t:[],i=[];return n.kind===`model`&&i.push({key:`model`,title:`Model limits`,scope:`model`,subject:I2(n),hint:``,items:r.filter(e=>P2(e,n.provider,n.model))}),i.push({key:`provider`,title:`Provider limits (`+n.provider+`)`,scope:`provider`,subject:n.provider,hint:n.kind===`model`?`Shared by every model routed to this provider.`:``,items:r.filter(e=>F2(e,n.provider))}),i.push({key:`global`,title:`Global limits`,scope:`user_path`,subject:`/`,hint:`Root user-path rules throttle all traffic. Narrower user-path rules also apply, per consumer.`,items:r.filter(e=>f2(e)===`user_path`&&p2(e)===`/`)}),i}function R2(e){return C2(e)?O2(e.in_flight,e.max_requests):Math.max(O2(e.requests_used,e.max_requests),O2(e.tokens_used,e.max_tokens))}function z2(e){return`--rate-limit-pressure: `+R2(e)+`%`}function B2(e){let t=R2(e);return t>=100?`rate-limit-pressure-row rate-limit-pressure-full`:t>=75?`rate-limit-pressure-row rate-limit-pressure-high`:`rate-limit-pressure-row`}function V2(e){return(Array.isArray(e)?e:[]).some(e=>f2(e)===`user_path`&&p2(e)===`/`)}function H2(e,t,n){let r=Array.isArray(e)?e:[];return r.some(e=>P2(e,t,n))?`table-action-btn-active`:r.some(e=>F2(e,t))||V2(r)?`rate-limit-gauge-inherited`:``}function U2(e,t){let n=Array.isArray(e)?e:[];return n.some(e=>F2(e,t))?`table-action-btn-active`:V2(n)?`rate-limit-gauge-inherited`:``}function W2(e,t){let n=`Rate limits for `+e;return t===`table-action-btn-active`?n+` (direct limits configured)`:t?n+` (inherited limits apply)`:n}function G2(e){if(C2(e))return D2(e.in_flight)+` of `+D2(e.max_requests)+` in flight`;let t=[];return e.max_requests!==null&&e.max_requests!==void 0&&t.push(D2(e.requests_used)+`/`+D2(e.max_requests)+` req`),e.max_tokens!==null&&e.max_tokens!==void 0&&t.push(D2(e.tokens_used)+`/`+D2(e.max_tokens)+` tok`),t.join(` · `)}var X=new class{#e=k(j([]));get rateLimits(){return I(this.#e)}set rateLimits(e){A(this.#e,e,!0)}#t=k(!0);get rateLimitsAvailable(){return I(this.#t)}set rateLimitsAvailable(e){A(this.#t,e,!0)}#n=k(!1);get rateLimitsLoading(){return I(this.#n)}set rateLimitsLoading(e){A(this.#n,e,!0)}rateLimitFetchPromise=null;#r=k(``);get rateLimitFilter(){return I(this.#r)}set rateLimitFilter(e){A(this.#r,e,!0)}#i=k(``);get rateLimitError(){return I(this.#i)}set rateLimitError(e){A(this.#i,e,!0)}#a=k(!1);get rateLimitFormOpen(){return I(this.#a)}set rateLimitFormOpen(e){A(this.#a,e,!0)}#o=k(!1);get rateLimitFormSubmitting(){return I(this.#o)}set rateLimitFormSubmitting(e){A(this.#o,e,!0)}#s=k(``);get rateLimitFormError(){return I(this.#s)}set rateLimitFormError(e){A(this.#s,e,!0)}#c=k(!1);get rateLimitEditing(){return I(this.#c)}set rateLimitEditing(e){A(this.#c,e,!0)}rateLimitEditingOriginal=null;rateLimitFormReturnToInspector=!1;#l=k(``);get rateLimitResettingKey(){return I(this.#l)}set rateLimitResettingKey(e){A(this.#l,e,!0)}#u=k(``);get rateLimitDeletingKey(){return I(this.#u)}set rateLimitDeletingKey(e){A(this.#u,e,!0)}#d=k(!1);get rateLimitInspectorOpen(){return I(this.#d)}set rateLimitInspectorOpen(e){A(this.#d,e,!0)}#f=k(j({kind:``,provider:``,model:``,title:``}));get rateLimitInspector(){return I(this.#f)}set rateLimitInspector(e){A(this.#f,e,!0)}#p=k(j(l2()));get rateLimitForm(){return I(this.#p)}set rateLimitForm(e){A(this.#p,e,!0)}rateLimitsEnabled(){return eL.rateLimitsVisible()}defaultRateLimitForm(){return l2()}rateLimitScopeMeta(e){return u2(e)}rateLimitScopeOptions(){return d2()}rateLimitScope(e){return f2(e)}rateLimitSubject(e){return p2(e)}rateLimitScopeLabel(e){return m2(e)}rateLimitSubjectFieldLabel(){return h2(this.rateLimitForm)}rateLimitSubjectPlaceholder(){return g2(this.rateLimitForm)}syncRateLimitScope(){_2(this.rateLimitForm)}rateLimitPeriodOptions(){return v2()}rateLimitPeriodSeconds(e){return y2(e)}rateLimitPeriodFromSeconds(e){return b2(e)}syncRateLimitPeriodSeconds(){x2(this.rateLimitForm)}rateLimitKey(e){return S2(e)}rateLimitIsConcurrent(e){return C2(e)}rateLimitPeriodLabel(e){return w2(e)}rateLimitSourceLabel(e){return T2(e)}rateLimitIsReadOnly(e){return E2(e)}formatRateLimitNumber(e){return D2(e)}rateLimitUsagePercent(e,t){return O2(e,t)}filteredRateLimits(){return k2(this.rateLimits,this.rateLimitFilter)}normalizeRateLimitListPayload(e){return A2(e)}async fetchRateLimitsPage(){if(await eL.ensureLoaded(),!this.rateLimitsEnabled()){this.rateLimits=[],this.rateLimitsAvailable=!1,this.rateLimitError=``;return}return this.rateLimitFetchPromise||=this.fetchRateLimits().finally(()=>{this.rateLimitFetchPromise=null}),this.rateLimitFetchPromise}async fetchRateLimits(){this.rateLimitsLoading=!0,this.rateLimitError=``;let e=await L1(`/admin/rate-limits`,{label:`rate limits`,errorFallback:`Unable to load rate limits.`,normalize:A2});if(this.rateLimitsLoading=!1,e.status!==`stale`){if(e.status===`unavailable`){this.rateLimitsAvailable=!1,this.rateLimits=[];return}if(!e.result){this.rateLimits=[],this.rateLimitError=e.error;return}if(this.rateLimitsAvailable=!0,e.status===`error`){this.rateLimitError=e.error;return}this.rateLimits=e.items}}openRateLimitForm(e){if(this.rateLimitEditing=!!e,this.rateLimitFormError=``,e){let t=Number(e.period_seconds||0);this.rateLimitEditingOriginal={scope:f2(e),subject:p2(e),period_seconds:t},this.rateLimitForm={scope:f2(e),subject:p2(e),period:b2(t),period_seconds:t,max_requests:e.max_requests===null||e.max_requests===void 0?``:String(e.max_requests),max_tokens:e.max_tokens===null||e.max_tokens===void 0?``:String(e.max_tokens),source:String(e.source||`manual`)}}else this.rateLimitEditingOriginal=null,this.rateLimitForm=l2();this.rateLimitFormOpen=!0}closeRateLimitForm(){this.rateLimitFormOpen=!1,this.rateLimitFormSubmitting=!1,this.rateLimitFormError=``,this.rateLimitEditing=!1,this.rateLimitEditingOriginal=null,this.rateLimitForm=l2(),this.rateLimitFormReturnToInspector&&(this.rateLimitFormReturnToInspector=!1,this.rateLimitInspectorOpen=!0)}rateLimitNormalizedIdentity(e,t,n){return j2(e,t,n)}rateLimitIdentityMoved(e){return M2(this.rateLimitEditingOriginal,e)}setRateLimitFormSubject(e){this.rateLimitForm.subject=String(e||``)}rateLimitFormPayload(){return N2(this.rateLimitForm)}async submitRateLimitForm(){if(this.rateLimitFormSubmitting)return;let{payload:e,error:t}=this.rateLimitFormPayload();if(t){this.rateLimitFormError=t;return}let n=this.rateLimitIdentityMoved(e),r=this.rateLimitEditingOriginal;this.rateLimitFormSubmitting=!0,this.rateLimitFormError=``;try{let t=await R1(`/admin/rate-limits`,`PUT`,e,{label:`save rate limit`,errorFallback:`Unable to save rate limit.`,unavailableStatuses:[]});if(t.status===`stale`)return;if(t.status!==`ok`){this.rateLimitFormError=t.error;return}if(this.rateLimits=A2(t.result.data),n&&!await this.deleteMovedRateLimitOriginal(r))return;this.closeRateLimitForm(),kL.success(n?`Rate limit moved; live counters restarted.`:`Rate limit saved.`)}finally{this.rateLimitFormSubmitting=!1}}async deleteMovedRateLimitOriginal(e){let t=await R1(`/admin/rate-limits`,`DELETE`,{scope:e.scope,subject:e.subject,limit_key:{period_seconds:Number(e.period_seconds||0)}},{label:`remove the moved rate limit`,errorFallback:`The new rule was saved, but the previous one could not be removed. Delete it manually.`,unavailableStatuses:[]});return t.status===`stale`?!1:t.status===`ok`?(this.rateLimits=A2(t.result.data),!0):(this.rateLimitFormError=t.error,!1)}async deleteRateLimit(e){let t=S2(e);if(this.rateLimitDeletingKey===t)return;this.rateLimitDeletingKey=t;let n=await R1(`/admin/rate-limits`,`DELETE`,{scope:f2(e),subject:p2(e),limit_key:{period_seconds:Number(e.period_seconds||0)}},{label:`delete rate limit`,errorFallback:`Unable to delete rate limit.`,unavailableStatuses:[]});if(this.rateLimitDeletingKey=``,n.status!==`stale`){if(n.status!==`ok`){kL.error(n.error);return}this.rateLimits=A2(n.result.data),kL.success(`Rate limit deleted.`)}}async resetRateLimit(e){let t=S2(e);if(this.rateLimitResettingKey===t)return;this.rateLimitResettingKey=t;let n=await R1(`/admin/rate-limits/reset-one`,`POST`,{scope:f2(e),subject:p2(e),period_seconds:Number(e.period_seconds||0)},{label:`reset rate limit`,errorFallback:`Unable to reset rate limit.`,unavailableStatuses:[]});if(this.rateLimitResettingKey=``,n.status!==`stale`){if(n.status!==`ok`){kL.error(n.error);return}this.rateLimits=A2(n.result.data),kL.success(`Rate limit counters reset.`)}}rateLimitInspectorModelID(e){return String(e&&e.model&&e.model.id||``).trim()}openRateLimitInspectorForModel(e){let t=this.rateLimitInspectorModelID(e),n=String(e&&e.provider_name||``).trim().toLowerCase();this.rateLimitInspector={kind:`model`,provider:n,model:t,title:String(e&&e.display_name||t)},this.showRateLimitInspector()}openRateLimitInspectorForProvider(e){let t=String(e&&e.provider_name||``).trim().toLowerCase();this.rateLimitInspector={kind:`provider`,provider:t,model:``,title:String(e&&e.display_name||t)},this.showRateLimitInspector()}showRateLimitInspector(){this.rateLimitInspectorOpen=!0,this.fetchRateLimitsPage()}closeRateLimitInspector(){this.rateLimitInspectorOpen=!1}rateLimitRuleMatchesModel(e,t,n){return P2(e,t,n)}rateLimitRuleMatchesProvider(e,t){return F2(e,t)}rateLimitInspectorQualifiedModel(){return I2(this.rateLimitInspector)}rateLimitInspectorSections(){return L2(this.rateLimitInspector,this.rateLimits)}rateLimitPressurePercent(e){return R2(e)}rateLimitPressureStyle(e){return z2(e)}rateLimitPressureClass(e){return B2(e)}rateLimitGaugeCache={rules:null,states:{}};rateLimitGaugeMemo(e,t){this.rateLimitGaugeCache.rules!==this.rateLimits&&(this.rateLimitGaugeCache={rules:this.rateLimits,states:{}});let n=this.rateLimitGaugeCache.states;return e in n||(n[e]=t()),n[e]}rateLimitGaugeClassForModel(e){let t=this.rateLimitInspectorModelID(e),n=String(e&&e.provider_name||``).trim().toLowerCase(),r=this.rateLimits;return this.rateLimitGaugeMemo(`model:`+n+`/`+t,()=>H2(r,n,t))}rateLimitGaugeClassForProvider(e){let t=String(e&&e.provider_name||``).trim().toLowerCase(),n=this.rateLimits;return this.rateLimitGaugeMemo(`provider:`+t,()=>U2(n,t))}hasGlobalRateLimits(){let e=this.rateLimits;return this.rateLimitGaugeMemo(`global`,()=>V2(e))}rateLimitGaugeTitle(e,t){return W2(e,t)}rateLimitInspectorSummary(e){return G2(e)}openRateLimitFormFromInspector(e,t,n){this.rateLimitInspectorOpen=!1,this.rateLimitFormReturnToInspector=!0,this.openRateLimitForm(n||void 0),n||(this.rateLimitForm.scope=e,this.rateLimitForm.subject=t)}},K2=R(``),q2=R(``),J2=R(``),Y2=R(``),X2=R(``),Z2=R(``),Q2=R(``),$2=R(`

        Scope, subject, and period identify the rule: changing any of them - moves the rule to a new key and restarts its live counters.

        `),e4=R(`

        A user path rule limits the whole subtree; provider and model rules cap - all traffic routed there and make load balancing skip the target while - it is saturated. One shared counter per rule. Leave a field empty to - skip that limit. Token limits require usage tracking.

        `,1);function t4(e,t){E(t,!0);{let t=O(()=>X.rateLimitEditing?`Edit Rate Limit`:`Create Rate Limit`);B0(e,{get open(){return X.rateLimitFormOpen},get title(){return I(t)},ariaLabel:`Rate limit editor`,get error(){return X.rateLimitFormError},get submitting(){return X.rateLimitFormSubmitting},submitLabel:`Save Rate Limit`,dialogClass:`budget-editor`,novalidate:!0,onclose:()=>X.closeRateLimitForm(),onsubmit:()=>X.submitRateLimitForm(),children:(e,t)=>{var n=e4(),r=N(n),i=M(r);H0(i,{id:`rate-limit-scope`,label:`Scope`,children:(e,t)=>{var n=q2();H(n,21,()=>X.rateLimitScopeOptions(),e=>e.value,(e,t)=>{var n=K2(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),L(`change`,n,()=>X.syncRateLimitScope()),Hi(n,()=>X.rateLimitForm.scope,e=>X.rateLimitForm.scope=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);{let e=O(()=>X.rateLimitSubjectFieldLabel());H0(a,{id:`rate-limit-subject`,get label(){return I(e)},children:(e,t)=>{var n=J2();$i(n),F(e=>{W(n,`placeholder`,e),W(n,`data-modal-autofocus`,!X.rateLimitEditing||void 0),ea(n,X.rateLimitForm.subject)},[()=>X.rateLimitSubjectPlaceholder()]),L(`input`,n,e=>X.setRateLimitFormSubject(e.currentTarget.value)),z(e,n)},$$slots:{default:!0}})}var o=P(a,2);H0(o,{id:`rate-limit-period`,label:`Period`,children:(e,t)=>{var n=Y2();H(n,21,()=>X.rateLimitPeriodOptions(),e=>e.value,(e,t)=>{var n=K2(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n),L(`change`,n,()=>X.syncRateLimitPeriodSeconds()),Hi(n,()=>X.rateLimitForm.period,e=>X.rateLimitForm.period=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=e=>{H0(e,{id:`rate-limit-period-seconds`,label:`Period Seconds`,children:(e,t)=>{var n=X2();$i(n),ca(n,()=>X.rateLimitForm.period_seconds,e=>X.rateLimitForm.period_seconds=e),z(e,n)},$$slots:{default:!0}})};V(s,e=>{X.rateLimitForm.period===`custom`&&e(c)});var l=P(s,2);{let e=O(()=>X.rateLimitForm.period===`concurrent`?`Max In-Flight Requests`:`Max Requests`);H0(l,{id:`rate-limit-max-requests`,get label(){return I(e)},children:(e,t)=>{var n=Z2();$i(n),F(()=>W(n,`data-modal-autofocus`,X.rateLimitEditing?!0:void 0)),ca(n,()=>X.rateLimitForm.max_requests,e=>X.rateLimitForm.max_requests=e),z(e,n)},$$slots:{default:!0}})}var u=P(l,2),d=e=>{H0(e,{id:`rate-limit-max-tokens`,label:`Max Tokens`,children:(e,t)=>{var n=Q2();$i(n),ca(n,()=>X.rateLimitForm.max_tokens,e=>X.rateLimitForm.max_tokens=e),z(e,n)},$$slots:{default:!0}})};V(u,e=>{X.rateLimitForm.period!==`concurrent`&&e(d)}),T(r);var f=P(r,4),p=e=>{z(e,$2())};V(f,e=>{X.rateLimitEditing&&e(p)}),z(e,n)},$$slots:{default:!0}})}D()}Hr([`change`,`input`]);var n4=R(` `),r4=R(` Edit`,1),i4=R(` `,1),a4=R(`
        In-flight
        `),o4=R(`
        Requests
        `),s4=R(`
        Tokens
        `),c4=R(`
        `),l4=R(`
        `);function u4(e,t){E(t,!0);var n=l4();H(n,21,()=>t.rules,e=>X.rateLimitKey(e),(e,t)=>{var n=c4(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=e=>{var n=n4(),r=M(n);{let e=O(()=>X.rateLimitScope(I(t))===`provider`?`server`:`box`);K(r,{get name(){return I(e)},class:`budget-period-icon`})}var i=P(r,2),a=M(i,!0);T(i),T(n),F((e,t)=>{W(n,`title`,e),B(a,t)},[()=>`Rule scope: `+X.rateLimitScopeLabel(I(t)),()=>X.rateLimitScopeLabel(I(t))]),z(e,n)},u=O(()=>X.rateLimitScope(I(t))!==`user_path`);V(c,e=>{I(u)&&e(l)});var d=P(c,2),f=M(d);{let e=O(()=>X.rateLimitIsConcurrent(I(t))?`activity`:`timer`);K(f,{get name(){return I(e)},class:`budget-period-icon`})}var p=P(f,2),m=M(p,!0);T(p),T(d),T(s);var h=P(s,2),g=M(h),_=M(g),v=M(_,!0);T(_),T(g);var y=P(g,2),b=M(y),x=e=>{I1(e,{label:`Edit rate limit`,class:`budget-action-btn`,onclick:()=>X.openRateLimitForm(I(t)),children:(e,t)=>{var n=r4();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}})},S=O(()=>!X.rateLimitIsReadOnly(I(t)));V(b,e=>{I(S)&&e(x)});var C=P(b,2);{let e=O(()=>X.rateLimitResettingKey===X.rateLimitKey(I(t))?`Resetting counters`:`Reset counters`),n=O(()=>X.rateLimitResettingKey===X.rateLimitKey(I(t)));I1(C,{get label(){return I(e)},class:`budget-action-btn budget-action-btn-warning`,onclick:()=>X.resetRateLimit(I(t)),get disabled(){return I(n)},children:(e,n)=>{var r=i4(),i=N(r);K(i,{name:`rotate-ccw`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>X.rateLimitResettingKey===X.rateLimitKey(I(t))?`Resetting`:`Reset`]),z(e,r)},$$slots:{default:!0}})}var w=P(C,2),ee=e=>{{let n=O(()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t))?`Deleting rate limit`:`Delete rate limit`),r=O(()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t)));I1(e,{get label(){return I(n)},class:`table-action-btn-danger budget-action-btn`,onclick:()=>X.deleteRateLimit(I(t)),get disabled(){return I(r)},children:(e,n)=>{var r=i4(),i=N(r);K(i,{name:`trash-2`,class:`budget-action-icon`});var a=P(i,2),o=M(a,!0);T(a),F(e=>B(o,e),[()=>X.rateLimitDeletingKey===X.rateLimitKey(I(t))?`Deleting`:`Delete`]),z(e,r)},$$slots:{default:!0}})}},te=O(()=>!X.rateLimitIsReadOnly(I(t)));V(w,e=>{I(te)&&e(ee)}),T(y),T(h),T(i);var ne=P(i,2),re=M(ne),ie=e=>{var n=a4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u),T(l),T(o),T(n),F((e,t,n,r,i,l)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l)},[()=>X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)+`%`,()=>X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests),()=>`In-flight requests: `+X.formatRateLimitNumber(I(t).in_flight)+` of `+X.formatRateLimitNumber(I(t).max_requests),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).in_flight,I(t).max_requests)>=100}),()=>X.formatRateLimitNumber(I(t).in_flight)+` of `+X.formatRateLimitNumber(I(t).max_requests)+` in flight`]),z(e,n)},ae=O(()=>X.rateLimitIsConcurrent(I(t)));V(re,e=>{I(ae)&&e(ie)});var oe=P(re,2),se=e=>{var n=o4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=M(f,!0);T(f),T(l),T(o),T(n),F((e,t,n,r,i,l,u)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l),B(p,u)},[()=>X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)+`%`,()=>X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests),()=>`Requests used: `+X.formatRateLimitNumber(I(t).requests_used)+` of `+X.formatRateLimitNumber(I(t).max_requests),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).requests_used,I(t).max_requests)>=100}),()=>X.formatRateLimitNumber(I(t).requests_used)+` of `+X.formatRateLimitNumber(I(t).max_requests)+` requests`,()=>X.formatRateLimitNumber(I(t).requests_remaining)+` left`]),z(e,n)},ce=O(()=>!X.rateLimitIsConcurrent(I(t))&&I(t).max_requests);V(oe,e=>{I(ce)&&e(se)});var le=P(oe,2),ue=e=>{var n=s4(),r=M(n),i=P(M(r),2),a=M(i,!0);T(i),T(r);var o=P(r,2),s=M(o);let c;var l=P(s,2),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=M(f,!0);T(f),T(l),T(o),T(n),F((e,t,n,r,i,l,u)=>{B(a,e),W(o,`aria-valuenow`,t),W(o,`aria-label`,n),zi(o,r),c=U(s,1,`budget-bar-fill budget-bar-fill-usage`,null,c,i),B(d,l),B(p,u)},[()=>X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)+`%`,()=>X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens),()=>`Tokens used: `+X.formatRateLimitNumber(I(t).tokens_used)+` of `+X.formatRateLimitNumber(I(t).max_tokens),()=>`--budget-progress: `+X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)+`%`,()=>({"budget-bar-fill-danger":X.rateLimitUsagePercent(I(t).tokens_used,I(t).max_tokens)>=100}),()=>X.formatRateLimitNumber(I(t).tokens_used)+` of `+X.formatRateLimitNumber(I(t).max_tokens)+` tokens`,()=>X.formatRateLimitNumber(I(t).tokens_remaining)+` left`]),z(e,n)},de=O(()=>!X.rateLimitIsConcurrent(I(t))&&I(t).max_tokens);V(le,e=>{I(de)&&e(ue)}),T(ne),T(r),T(n),F((e,t,n,r,i)=>{W(a,`title`,e),B(o,t),B(m,n),W(_,`title`,r),B(v,i)},[()=>X.rateLimitScopeLabel(I(t))+`: `+X.rateLimitSubject(I(t)),()=>X.rateLimitSubject(I(t)),()=>X.rateLimitPeriodLabel(I(t)),()=>X.rateLimitIsReadOnly(I(t))?`Declared in configuration; read-only in the dashboard`:`Managed via dashboard or admin API`,()=>X.rateLimitSourceLabel(I(t))]),z(e,n)}),T(n),z(e,n),D()}var d4=R(`

        Rate Limits

        `),f4=R(``),p4=R(`
        Rate limit management is unavailable.
        `),m4=R(``),h4=R(`
        `),g4=R(`

        No rate limits configured yet.

        `),_4=R(`

        No rate limits match your filter.

        `),v4=R(`
        `);function y4(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`rate-limits`&&X.fetchRateLimitsPage()});let n=O(()=>X.filteredRateLimits());var r=v4(),i=M(r),a=M(i);xQ(M(a),{copyId:`rate-limits-help-copy`,label:`rate limits help`,text:`Rate limits cap requests, tokens, and in-flight concurrency for a user path subtree, a provider, or a model. Consumer (user path) breaches return 429 with Retry-After and x-ratelimit-* headers; saturated providers and models are skipped by load balancing and failover while capacity exists elsewhere. Counters are per gateway instance and reset on restart; token limits need usage tracking.`,title:e=>{z(e,d4())},$$slots:{title:!0}}),T(a);var o=P(a,2),s=M(o),c=e=>{var t=f4();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=X.rateLimitFormSubmitting),L(`click`,t,()=>X.openRateLimitForm()),z(e,t)},l=O(()=>X.rateLimitsEnabled()&&X.rateLimitsAvailable&&!q.authError);V(s,e=>{I(l)&&e(c)}),T(o),T(i);var u=P(i,2);fR(u,{});var d=P(u,2),f=e=>{z(e,p4())},p=O(()=>(!X.rateLimitsEnabled()||!X.rateLimitsAvailable)&&!q.authError);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{var t=m4(),n=M(t,!0);T(t),F(()=>B(n,X.rateLimitError)),z(e,t)};V(m,e=>{X.rateLimitError&&!q.authError&&e(h)});var g=P(m,2),_=e=>{P1(e,{label:`Loading rate limits...`})};V(g,e=>{X.rateLimitsLoading&&!q.authError&&e(_)});var v=P(g,2),y=e=>{var t=h4(),n=M(t);z$(M(n),{id:`rate-limit-filter`,placeholder:`Filter by subject, scope, or period...`,label:`Filter rate limits by subject, scope, or period`,get value(){return X.rateLimitFilter},set value(e){X.rateLimitFilter=e}}),T(n),T(t),z(e,t)};V(v,e=>{(X.rateLimits.length>0||X.rateLimitFilter)&&X.rateLimitsAvailable&&!q.authError&&!X.rateLimitFormOpen&&e(y)});var b=P(v,2);t4(b,{});var x=P(b,2),S=e=>{u4(e,{get rules(){return I(n)}})};V(x,e=>{I(n).length>0&&X.rateLimitsAvailable&&!q.authError&&e(S)});var C=P(x,2),w=e=>{z(e,g4())},ee=O(()=>X.rateLimits.length===0&&!X.rateLimitFilter&&!X.rateLimitsLoading&&!q.authError&&!X.rateLimitError&&X.rateLimitsAvailable&&X.rateLimitsEnabled());V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{z(e,_4())},re=O(()=>X.rateLimits.length>0&&I(n).length===0&&X.rateLimitFilter&&!X.rateLimitsLoading&&!q.authError&&!X.rateLimitError&&X.rateLimitsAvailable&&X.rateLimitsEnabled());V(te,e=>{I(re)&&e(ne)}),T(r),z(e,r),D()}Hr([`click`]);function b4(e){return String(e||``).trim().toLowerCase()}function x4(e){if(!e)return``;let t=String(e.selector||``).trim();if(t)return t;if(!e.model||!e.model.id)return``;let n=String(e.model.id||``).trim(),r=String(e.provider_name||``).trim();if(r)return r+`/`+n;let i=String(e.provider_type||``).trim();return!i||n.includes(`/`)?n:i+`/`+n}function S4(e,t,n,r){let i=new Set,a=String(e||``).trim().toLowerCase(),o=String(t||``).trim().toLowerCase(),s=String(n||``).trim().toLowerCase(),c=String(r||``).trim().toLowerCase();if(c&&i.add(c),!a)return i;i.add(a),s&&i.add(s+`/`+a),o&&!a.includes(`/`)&&i.add(o+`/`+a);let l=a.split(`/`);return l.length===2&&l[1]&&i.add(l[1]),i}function C4(e){return S4(e&&e.model?e.model.id:``,e?e.provider_type:``,e?e.provider_name:``,e?e.selector:``)}function w4(e){let t=new Set,n=String(e.resolved_model||``).trim().toLowerCase(),r=String(e.target_model||``).trim().toLowerCase(),i=String(e.target_provider||``).trim().toLowerCase();if(n){t.add(n);let e=n.split(`/`);e.length===2&&e[1]&&t.add(e[1])}if(r){t.add(r);let e=r.split(`/`);e.length===2&&e[1]&&t.add(e[1])}return r&&i&&t.add(i+`/`+r),t}function T4(e){if(!e)return``;let t=String(e.provider||``).trim(),n=String(e.model||``).trim();return!t||!n||n===t||n.startsWith(t+`/`)?n:t+`/`+n}function E4(e){if(e===``||e==null)return null;let t=Number(e);return!Number.isFinite(t)||t<=0?null:t}function D4(e,t){let n={model:e},r=E4(t);return r!==null&&(n.weight=r),n}function O4(e){let t=Array.isArray(e)?e:[],n=[];for(let e of t){let t=String(e&&e.model||``).trim();t&&n.push(D4(t,e&&e.weight))}return n}function k4(e){switch(String(e||``).toLowerCase()){case`cost`:return`lowest cost`;case`round_robin`:case``:return`round robin`;default:return e}}var A4={round_robin:`Round-robin (rotate across targets; honors weights)`,cost:`Lowest cost (cheapest target per request)`,adaptive:`Adaptive (target chosen by the registered routing extension)`};function j4(e,t){let n=Array.isArray(e)?[...e]:[],r=String(t||``).trim().toLowerCase();return r&&!n.includes(r)&&n.push(r),n.map(e=>({value:e,label:A4[e]||e}))}function M4(e){let t=Array.isArray(e.targets)?e.targets:[],n=t.length>0?t[0]:{},r=t.map(e=>{let t={provider:e.provider||``,model:e.model||``};return e.weight&&(t.weight=e.weight),t});return{name:e.source,target_provider:n.provider||``,target_model:n.model||``,targets:r,strategy:e.strategy||``,session_affinity:e.session_affinity!==!1,description:e.description||``,enabled:e.enabled!==!1,managed:!!e.managed,valid:!!e.valid,resolved_model:e.resolved_model||``,provider_type:e.provider_type||``,user_paths:Array.isArray(e.user_paths)?e.user_paths:[]}}function N4(e){let t=Array.isArray(e)?e:[],n=[],r=[];for(let e of t)!e||typeof e!=`object`||(e.kind===`redirect`?n.push(M4(e)):e.kind===`policy`&&r.push({selector:e.source,provider_name:e.provider_name||``,model:e.model||``,user_paths:Array.isArray(e.user_paths)?e.user_paths:[],description:e.description||``,enabled:e.enabled!==!1,managed:!!e.managed,scope_kind:e.scope_kind||``}));return{aliases:n,policies:r}}function P4(e){if(!e)return`—`;let t=Array.isArray(e.targets)?e.targets:[];return t.length>1?t.length+` targets · `+k4(e.strategy):e.resolved_model?e.resolved_model:e.target_provider?e.target_provider+`/`+e.target_model:e.target_model||`—`}function F4(e){return e?e.enabled===!1?`is-disabled`:e.valid?`is-valid`:`is-invalid`:`is-invalid`}function I4(e){return e?e.enabled===!1?`Disabled`:e.valid?`Active`:`Invalid`:`Invalid`}function L4(e){return Array.isArray(e)&&e.length>0&&e.indexOf(`/`)===-1}function R4(e,t){return!t||!e?``:e.effective_enabled===!1?`is-disabled`:L4(e.user_paths)?`is-restricted`:`is-enabled`}function z4(e){if(!e)return``;let t=[];e.effective_enabled===!1&&t.push(e.default_enabled===!1?`Disabled by default`:`Disabled`);let n=Array.isArray(e.user_paths)?e.user_paths:[];return n.length>0&&t.push(`Allowed for `+n.join(`, `)),t.join(` · `)}function B4({models:e,aliases:t,virtualModelsAvailable:n,activeCategory:r}){let i=Array.isArray(e)?e:[],a=Array.isArray(t)?t:[],o=new Map;if(n)for(let e of a){let t=b4(e&&e.name);!t||e.enabled===!1||!e.valid||o.set(t,e)}let s=new Map,c=i.map(e=>{let t=x4(e),n=null;for(let t of C4(e))s.has(t)||s.set(t,e),!n&&o.has(t)&&(n=o.get(t));let r=e&&e.access?e.access:null;return{key:`model:`+t,display_name:t,secondary_name:``,provider_name:e.provider_name||``,provider_type:e.provider_type||``,model:e.model,selector:e.selector||``,is_alias:!1,alias:null,access:r,masking_alias:n,has_virtual_model:!!(n||r&&r.override),alias_state_class:``,alias_state_text:``}});if(!n)return c;for(let e of a){let t=s.get(b4(e&&e.name));if(e&&e.enabled!==!1&&e.valid&&t)continue;let n=null;for(let t of w4(e))if(n=s.get(t)||null,n)break;!n&&r&&r!==`all`||c.push({key:`alias:`+e.name,display_name:e.name,secondary_name:P4(e),provider_name:n&&n.provider_name||``,provider_type:n?n.provider_type||e.provider_type||``:e.provider_type||``,model:n?n.model:{id:e.name,object:`model`},selector:``,is_alias:!0,alias:e,access:null,masking_alias:null,source_model_exists:!!t,has_virtual_model:!0,alias_state_class:F4(e),alias_state_text:I4(e)})}return c.sort((e,t)=>e.is_alias===t.is_alias?String(e.display_name||``).localeCompare(String(t.display_name||``)):e.is_alias?-1:1)}function V4(e,t){if(!t)return e;let n=String(t).toLowerCase();return e.filter(e=>[e.display_name,e.secondary_name,e.provider_name,e.provider_type,e.model&&e.model.owned_by,e.alias&&e.alias.description,e.alias&&e.alias_state_text,e.model&&e.model.metadata&&e.model.metadata.modes?e.model.metadata.modes.join(`,`):``,e.model&&e.model.metadata&&e.model.metadata.categories?e.model.metadata.categories.join(`,`):``].some(e=>String(e||``).toLowerCase().includes(n)))}function H4(e,t){return String(e||``).trim()||String(t||``).trim()||`Unassigned`}function U4(e,t){let n=String(e||``).trim(),r=String(t||``).trim();return!r||r===n?``:r}function W4(e){let t=String(e||``).trim();return t?t+`/`:``}function G4(e){let t=Array.isArray(e)?e:[],n=t.filter(e=>e&&!e.is_alias).length,r=t.filter(e=>e&&e.is_alias).length,i=[];return n>0&&i.push(n+(n===1?` model`:` models`)),r>0&&i.push(r+(r===1?` alias`:` aliases`)),i.join(` · `)}function K4(e,t,n){let r=String(t||``).trim(),i=String(n||``).trim();for(let t of Array.isArray(e)?e:[]){let e=String(t&&t.provider_name||``).trim(),n=String(t&&t.provider_type||``).trim();if(!(r&&e!==r)&&!(!r&&i&&n!==i)&&t&&t.access)return t.access.default_enabled!==!1}return!0}function q4(e){for(let t of Array.isArray(e)?e:[])if(t&&t.access)return t.access.default_enabled!==!1;return!0}function J4(e,t){let n=String(t||``).trim();if(!n)return null;for(let t of Array.isArray(e)?e:[])if(String(t&&t.selector||``).trim()===n)return t;return null}function Y4(e,t,n,r){let i=W4(t),a=r&&r.get(`/`)||null,o=i&&r&&r.get(i)||null,s=K4(e,t,n),c=o||a,l=c&&Array.isArray(c.user_paths)?Array.from(new Set(c.user_paths)).sort():[];return{selector:i,default_enabled:s,effective_enabled:c?c.enabled!==!1:s,user_paths:l,override:o}}function X4(e,t,n){if(!Array.isArray(e)||e.length===0)return[];let r=new Map;for(let e of Array.isArray(n)?n:[]){let t=String(e&&e.selector||``).trim();t&&r.set(t,e)}let i=[],a=new Map;for(let t of e){if(t&&t.is_alias){i.push(t);continue}let e=String(t&&t.provider_name||``).trim(),n=String(t&&t.provider_type||``).trim(),r=`provider-group:`+(e||n||`unassigned`);a.has(r)||a.set(r,{key:r,provider_name:e,provider_type:n,display_name:H4(e,n),type_label:U4(e,n),rows:[]});let o=a.get(r);!o.provider_name&&e&&(o.provider_name=e),!o.provider_type&&n&&(o.provider_type=n),o.display_name=H4(o.provider_name,o.provider_type),o.type_label=U4(o.provider_name,o.provider_type),o.rows.push(t)}let o=Array.from(a.values()).map(e=>{let n=Y4(t,e.provider_name,e.provider_type,r);return{...e,access:n,access_summary:z4(n),item_count_label:G4(e.rows)}}).sort((e,t)=>String(e.display_name||``).localeCompare(String(t.display_name||``)));return i.length>0&&o.unshift({key:`virtual-model-group`,is_virtual_models:!0,provider_name:``,provider_type:``,display_name:`Virtual models`,type_label:``,rows:i,access:{selector:``},access_summary:``,item_count_label:G4(i)}),o}function Z4(e,t){let n=J4(t,`/`),r=q4(e),i=n&&Array.isArray(n.user_paths)?n.user_paths:[];return{key:`scope-global`,is_alias:!1,display_name:`all providers and models`,access:{selector:`/`,default_enabled:r,effective_enabled:n?n.enabled!==!1:r,user_paths:i,override:n}}}function Q4(e){return e?String(e.access&&e.access.selector||``).trim()||String(e.override_selector||``).trim()||x4(e):``}function $4(e){if(!e)return``;let t=[];return e.is_alias?t.push(`alias-row`,F4(e.alias)):e.has_virtual_model&&t.push(`alias-row`,`is-valid`),!e.is_alias&&e.masking_alias&&t.push(`masked-model-row`),!e.is_alias&&e.access&&e.access.effective_enabled===!1&&t.push(`model-access-disabled-row`),t.join(` `)}function e3(e){return!!(e&&e.is_alias&&e.alias&&e.alias.name&&!e.alias.managed)}function t3(e){return!!(e&&!e.is_alias&&e.masking_alias&&e.masking_alias.name&&!e.masking_alias.managed)}function n3(e){return e&&e.is_alias&&e.alias&&e.alias.name?`alias-row-`+String(e.alias.name).replace(/[^a-zA-Z0-9_-]+/g,`-`):``}function r3(e){return e?e.is_alias?!!(e.alias&&e.alias.managed):!!(e.access&&e.access.override&&e.access.override.managed||e.masking_alias&&e.masking_alias.managed):!1}function i3(e){return!!(e&&e.override)}function a3(e){return e?`table-action-btn-active`:``}function o3(e,t){let n=`Edit `+String(e||`model access`);return t?n+` (virtual model exists)`:n}function s3(){return{source:``,target_model:``,target_weight:1,targets:[],strategy:`round_robin`,session_affinity:!0,user_paths:``,description:``,enabled:!0}}function c3(e){return String(e&&e.target_model||``).trim()!==``}function l3(e){return String(e&&e.target_model||``).trim()?!0:O4(e&&e.targets).length>0}function u3(e){return!!e&&Array.isArray(e.targets)&&e.targets.length>0}function d3(e){return u3(e)&&String(e&&e.strategy||``).toLowerCase()!==`cost`}function f3(e){let t=Array.isArray(e.targets)?e.targets:[];if(t.length>0){let n=t.shift();e.target_model=n.model||``,e.target_weight=n.weight||1;return}e.target_model=``,e.target_weight=1}function p3(e){let t=Array.isArray(e&&e.targets)?e.targets:[];return t.length>0?{primaryModel:T4(t[0]),primaryWeight:t[0].weight||1,extraTargets:t.slice(1).map(e=>({model:T4(e),weight:e.weight||1}))}:{primaryModel:e&&e.target_provider?e.target_provider+`/`+e.target_model:e&&e.target_model||``,primaryWeight:1,extraTargets:[]}}function m3(e){return String(e||``).split(/\r?\n|,/).map(e=>String(e||``).trim()).filter(Boolean)}function h3(e,t,n){let r=String(e&&e.source||``).trim(),i=String(e&&e.target_model||``).trim(),a=O4(e&&e.targets),o=l3(e),s=String(t||``).trim(),c=n===`edit`&&!!s&&r!==s,l={source:r,user_paths:m3(e&&e.user_paths),description:String(e&&e.description||``).trim(),enabled:!!(e&&e.enabled)};if(c&&(l.old_source=s),o){let t=[];if(i&&t.push(D4(i,e.target_weight)),t.push(...a),t.length>1){let n=e.strategy||`round_robin`;l.targets=n===`cost`?t.map(e=>({model:e.model})):t,l.strategy=n,e&&e.session_affinity===!1&&(l.session_affinity=!1)}else l.target_model=t[0].model}return{payload:l,source:r,isRedirect:o,isRename:c}}function g3(e){let t={source:e.name,description:String(e.description||``).trim(),user_paths:Array.isArray(e.user_paths)?e.user_paths:[],enabled:e.enabled===!1},n=Array.isArray(e.targets)?e.targets:[];return n.length>1?(t.strategy=e.strategy||`round_robin`,e.session_affinity===!1&&(t.session_affinity=!1),t.targets=t.strategy===`cost`?n.map(e=>({model:T4(e)})):n.map(e=>D4(T4(e),e.weight))):n.length===1?t.target_model=T4(n[0]):t.target_model=e.target_provider?e.target_provider+`/`+e.target_model:e.target_model,t}function _3(e,t,n){let r=n||{},i=r.effective_enabled===!1,a=t&&Array.isArray(t.user_paths)?t.user_paths:[],o=`PUT`,s;return i===!1?s={source:e,enabled:!1,user_paths:a}:t&&a.length===0&&r.default_enabled!==!1?(o=`DELETE`,s={source:e}):s={source:e,enabled:!0,user_paths:a},{method:o,payload:s,desired:i}}function v3(e,t,n){let r=Math.max(1,Number(t||75)),i=Math.min(n,e+r);return{limit:i,rendering:iB4({models:uR.models,aliases:this.aliases,virtualModelsAvailable:this.virtualModelsAvailable,activeCategory:uR.activeCategory}));get displayModels(){return I(this.#T)}set displayModels(e){A(this.#T,e)}#E=O(()=>X4(this.displayModels,uR.models,this.modelOverrideViews));get displayModelGroups(){return I(this.#E)}set displayModelGroups(e){A(this.#E,e)}#D=O(()=>V4(this.displayModels,uR.filter));get filteredDisplayModels(){return I(this.#D)}set filteredDisplayModels(e){A(this.#D,e)}#O=O(()=>{let e=this.filteredDisplayModels,t=Math.max(0,Math.min(Number(this.modelRenderLimit||0),e.length));return!uR.filter&&t>=this.displayModels.length?this.displayModelGroups:X4(e.slice(0,t),uR.models,this.modelOverrideViews)});get filteredDisplayModelGroups(){return I(this.#O)}set filteredDisplayModelGroups(e){A(this.#O,e)}#k=O(()=>Z4(uR.models,this.modelOverrideViews));get globalScopeRow(){return I(this.#k)}set globalScopeRow(e){A(this.#k,e)}modelsBusy(){return!!(uR.loading||this.modelsRendering)}modelLoadingText(){if(uR.loading)return this.displayModels.length>0?`Refreshing models...`:`Loading models...`;let e=this.filteredDisplayModels.length;return`Rendering models... `+Math.min(Number(this.modelRenderLimit||0),e)+` / `+e}restartModelRendering(e){let t=++this.#a,n=y3(this.modelRenderBatchSize,e);this.modelRenderLimit=n.limit,this.modelsRendering=n.rendering,n.rendering&&this.#A(t)}stopModelRendering(){this.#a++,this.modelsRendering=!1}#A(e){let t=()=>{if(e!==this.#a)return;let t=v3(this.modelRenderLimit,this.modelRenderBatchSize,this.filteredDisplayModels.length);this.modelRenderLimit=t.limit,this.modelsRendering=t.rendering,t.rendering&&this.#A(e)};typeof requestAnimationFrame==`function`?requestAnimationFrame(()=>setTimeout(t,0)):setTimeout(t,0)}async fetchVirtualModels(){this.aliasLoading=!0,this.aliasError=``;try{let e=await YI(`/admin/virtual-models`,{label:`virtual models`});if(e.status===503){this.virtualModelsAvailable=!1,this.aliases=[],this.modelOverrideViews=[];return}if(e.stale)return;if(this.virtualModelsAvailable=!0,!e.ok){this.aliases=[],this.modelOverrideViews=[];return}let{aliases:t,policies:n}=N4(e.data);this.aliases=t,this.modelOverrideViews=n}catch(e){console.error(`Failed to fetch virtual models:`,e),this.aliases=[],this.modelOverrideViews=[],this.aliasError=`Unable to load virtual models.`}finally{this.aliasLoading=!1}}qualifiedModelName(e){return x4(e)}findModelOverrideView(e){return J4(this.modelOverrideViews,e)}hasGlobalModelOverride(){return!!this.findModelOverrideView(`/`)}findExistingAliasByName(e){let t=b4(e);if(!t)return null;for(let e of this.aliases)if(b4(e&&e.name)===t)return e;return null}findConcreteModelByName(e){let t=b4(e);if(!t)return null;for(let e of uR.models)if(C4(e).has(t))return e;return null}rowToggleEnabled(e){return e?e.is_alias?e.alias&&e.alias.enabled!==!1:!!(e.access&&e.access.effective_enabled!==!1):!1}rowToggleLabel(e){return this.rowTogglingKey&&this.rowTogglingKey===e.key?`Updating...`:this.rowToggleRestricted(e)?`Restricted`:this.rowToggleEnabled(e)?`Enabled`:`Disabled`}rowToggleRestricted(e){return!!e&&!e.is_alias&&R4(e.access,this.virtualModelsAvailable)===`is-restricted`}rowToggleAriaLabel(e){if(!e)return``;let t=this.rowToggleEnabled(e)?`Disable `:`Enable `,n;return n=e.is_alias?`alias `+String(e.alias&&e.alias.name||``):String(e.display_name||e.access&&e.access.selector||`model`),t+n.trim()}async toggleRowEnabled(e){if(this.virtualModelsAvailable&&!(!e||this.rowTogglingKey===e.key)){if(r3(e)){kL.success(`This virtual model is managed by configuration and is read-only.`);return}if(e.is_alias){await this.toggleAliasRow(e);return}await this.toggleModelRow(e)}}async toggleAliasRow(e){let t=e.alias;if(!t||!t.name)return;this.rowTogglingKey=e.key;let n=g3(t);try{let e=await XI(`/admin/virtual-models`,`PUT`,n,{label:`alias state`});if(e.status===503){this.virtualModelsAvailable=!1,kL.error(`Virtual models feature is unavailable.`);return}if(e.stale)return;if(!e.ok){kL.error(e.status===401?`Authentication required.`:GI(e,`Failed to update alias state.`));return}kL.success(n.enabled?`Alias enabled.`:`Alias disabled.`),this.fetchVirtualModels()}catch(e){console.error(`Failed to toggle alias state:`,e),kL.error(`Failed to update alias state.`)}finally{this.rowTogglingKey=``}}async toggleModelRow(e){let t=Q4(e);if(!t)return;let{method:n,payload:r,desired:i}=_3(t,this.findModelOverrideView(t),e.access||{});this.rowTogglingKey=e.key;try{let e=await XI(`/admin/virtual-models`,n,r,{label:`model access`});if(e.status===503){this.virtualModelsAvailable=!1,kL.error(`Virtual models feature is unavailable.`);return}if(!(n===`DELETE`&&e.status===404)){if(e.stale)return;if(!e.ok){kL.error(e.status===401?`Authentication required.`:GI(e,`Failed to update model access.`));return}}kL.success(i?`Model enabled.`:`Model disabled.`),Promise.all([uR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to toggle model access:`,e),kL.error(`Failed to update model access.`)}finally{this.rowTogglingKey=``}}async removeAliasRow(e){if(!(e&&e.is_alias&&e.alias&&e.alias.name&&!e.alias.managed)||this.rowDeletingKey)return;let t=String(e.alias.name||``).trim();t&&await this.mutateVirtualModelRow({rowKey:e.key,confirmMessage:`Remove the virtual model alias "`+t+`"?`,method:`DELETE`,payload:{source:t},operation:`virtual model`,failureMessage:`Failed to remove virtual model.`,notice:`Virtual model removed.`,ignoreNotFound:!0})}async removeRedirectRow(e){let t=e&&e.masking_alias;if(!(e&&!e.is_alias&&t&&t.name&&!t.managed)||this.rowDeletingKey)return;let n=String(t.name||``).trim();n&&await this.mutateVirtualModelRow({rowKey:e.key,confirmMessage:`Remove the redirect for "`+n+`"? Other virtual model settings will be preserved.`,method:`PUT`,payload:{source:n,user_paths:Array.isArray(t.user_paths)?t.user_paths:[],description:String(t.description||``).trim(),enabled:t.enabled!==!1},operation:`virtual model redirect`,failureMessage:`Failed to remove redirect.`,notice:`Redirect removed. Other virtual model settings were preserved.`})}async mutateVirtualModelRow(e){if(!this.rowDeletingKey&&window.confirm(e.confirmMessage)){this.rowDeletingKey=e.rowKey;try{let t=await XI(`/admin/virtual-models`,e.method,e.payload,{label:e.operation});if(t.status===503){this.virtualModelsAvailable=!1,kL.error(`Virtual models feature is unavailable.`);return}if(!(e.ignoreNotFound&&t.status===404)){if(t.stale)return;if(!t.ok){kL.error(t.status===401?`Authentication required.`:GI(t,e.failureMessage));return}}this.virtualModelsAvailable=!0,kL.success(e.notice),Promise.all([uR.fetchModels(),this.fetchVirtualModels()])}catch(t){console.error(e.failureMessage,t),kL.error(e.failureMessage)}finally{this.rowDeletingKey=``}}}addVmTarget(){Array.isArray(this.vmForm.targets)||(this.vmForm.targets=[]),this.vmForm.targets.push({model:``,weight:1})}removeVmTarget(e){Array.isArray(this.vmForm.targets)&&this.vmForm.targets.splice(e,1)}removePrimaryTarget(){f3(this.vmForm)}vmFormHasPrimaryTarget(){return c3(this.vmForm)}vmFormShowStrategy(){return u3(this.vmForm)}vmStrategyOptions(){return j4(eL.virtualModelStrategies(),this.vmForm.strategy)}vmFormShowWeights(){return d3(this.vmForm)}vmFormToggleRestricted(){return!!(this.vmForm&&this.vmForm.enabled)&&L4(m3(this.vmForm.user_paths))}vmFormToggleLabel(){return!this.vmForm||!this.vmForm.enabled?`Disabled`:this.vmFormToggleRestricted()?`Restricted`:`Enabled`}resetVirtualModelForm(){this.vmFormError=``,this.vmFormHelpOpen=!1,this.vmFormUserPathsHelpOpen=!1,this.vmSubmitting=!1,this.vmDeleting=!1,this.vmFormHasExisting=!1,this.vmFormDefaultEnabled=!0,this.vmFormEffectiveEnabled=!0,this.vmFormDisplayName=``,this.vmFormSourceLocked=!1,this.vmFormOriginalSource=``,this.vmFormManaged=!1,this.vmForm=s3()}closeVirtualModelForm(){this.vmFormOpen=!1,this.resetVirtualModelForm()}openVirtualModelCreate(e){this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`create`,this.vmFormSourceLocked=!1,this.vmFormDisplayName=`New virtual model`,e&&e.model&&e.model.id&&(this.vmForm.target_model=x4(e))}openVirtualModelEditAlias(e){if(!e)return;this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!1,this.vmFormHasExisting=!0,this.vmFormManaged=!!e.managed,this.vmFormOriginalSource=e.name||``,this.vmFormDisplayName=e.name||``,this.vmFormDefaultEnabled=q4(uR.models),this.vmFormEffectiveEnabled=e.enabled!==!1;let{primaryModel:t,primaryWeight:n,extraTargets:r}=p3(e);this.vmForm={source:e.name||``,target_model:t,target_weight:n,targets:r,strategy:e.strategy||`round_robin`,session_affinity:e.session_affinity!==!1,user_paths:(Array.isArray(e.user_paths)?e.user_paths:[]).join(` -`),description:e.description||``,enabled:e.enabled!==!1}}openVirtualModelEditModel(e){if(!e||e.is_alias)return;let t=e.access||{},n=t.override||null,r=n&&Array.isArray(n.user_paths)?n.user_paths:Array.isArray(t.user_paths)?t.user_paths:[],i=Q4(e);this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!0,this.vmFormHasExisting=!!n,this.vmFormOriginalSource=i;let a=n?n.enabled!==!1:t.effective_enabled!==!1;this.vmFormDefaultEnabled=t.default_enabled!==!1,this.vmFormEffectiveEnabled=a,this.vmFormManaged=!!(n&&n.managed),this.vmFormDisplayName=e.access_display_name||e.display_name||i||``,this.vmForm={source:i,target_model:``,target_weight:``,targets:[],strategy:`round_robin`,user_paths:r.join(` -`),description:n&&n.description?n.description:``,enabled:a}}openGlobalModelOverrideEdit(){let e=this.findModelOverrideView(`/`),t=e&&Array.isArray(e.user_paths)?e.user_paths:[],n=q4(uR.models);this.resetVirtualModelForm(),this.vmFormOpen=!0,this.vmFormMode=`edit`,this.vmFormSourceLocked=!0,this.vmFormHasExisting=!!e,this.vmFormOriginalSource=`/`,this.vmFormDefaultEnabled=n,this.vmFormEffectiveEnabled=e?e.enabled!==!1:n,this.vmFormManaged=!!(e&&e.managed),this.vmFormDisplayName=`All providers and models`,this.vmForm={source:`/`,target_model:``,target_weight:``,targets:[],strategy:`round_robin`,user_paths:t.join(` -`),description:e&&e.description?e.description:``,enabled:e?e.enabled!==!1:n}}openProviderOverrideEdit(e){!e||!e.access||!e.access.selector||this.openVirtualModelEditModel({display_name:e.display_name,access_display_name:`All models in `+e.display_name,provider_name:e.provider_name,provider_type:e.provider_type,access:e.access,override_selector:e.access.selector,is_alias:!1})}async submitVirtualModelForm(){if(this.vmFormManaged){this.vmFormError=`This virtual model is managed by configuration and cannot be edited here.`;return}let{payload:e,source:t,isRedirect:n,isRename:r}=h3(this.vmForm,this.vmFormOriginalSource,this.vmFormMode);if(!t){this.vmFormError=`Source is required.`;return}if(this.vmFormError=``,this.vmFormMode!==`edit`){let e=this.findExistingAliasByName(t),r=e?null:this.findModelOverrideView(t);if(e||r){let n=e?`A virtual model named "`+e.name+`" already exists. Saving will update that virtual model. Continue?`:`An access policy for "`+t+`" already exists. Saving will update that virtual model. Continue?`;if(!window.confirm(n)){this.vmFormError=`Choose a different source or edit the existing virtual model.`;return}}else if(n){let e=this.findConcreteModelByName(t);if(e){let t=x4(e)||String(e.model&&e.model.id||``).trim();if(!window.confirm(`A model named "`+t+`" already exists. Creating this alias will mask that model in the list. Continue?`)){this.vmFormError=`Choose a different source to avoid masking an existing model.`;return}}}}else if(r){let e=(this.aliases||[]).find(e=>e&&e.name===t)||null,r=e?null:this.findModelOverrideView(t);if(e||r){this.vmFormError=`A virtual model for "`+t+`" already exists. Choose a different source.`;return}if(n){let e=this.findConcreteModelByName(t);if(e){let t=x4(e)||String(e.model&&e.model.id||``).trim();if(!window.confirm(`A model named "`+t+`" already exists. Renaming to that name will mask the model in the list. Continue?`)){this.vmFormError=`Choose a different source to avoid masking an existing model.`;return}}}}this.vmSubmitting=!0;try{let t=await XI(`/admin/virtual-models`,`PUT`,e,{label:`virtual model`});if(t.status===503){this.virtualModelsAvailable=!1,this.vmFormError=`Virtual models feature is unavailable.`;return}if(t.stale)return;if(!t.ok){this.vmFormError=t.status===401?`Authentication required.`:GI(t,`Failed to save virtual model.`);return}let r=!n&&t.status===204;this.virtualModelsAvailable=!0,this.closeVirtualModelForm(),kL.success(n?`Alias saved.`:r?`Model access reset to inherited/default.`:`Model access saved.`),Promise.all([uR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to save virtual model:`,e),this.vmFormError=`Failed to save virtual model.`}finally{this.vmSubmitting=!1}}async deleteVirtualModel(){if(this.vmFormManaged){this.vmFormError=`This virtual model is managed by configuration and cannot be removed here.`;return}let e=String(this.vmForm.source||this.vmFormOriginalSource||``).trim();if(!(!e||!this.vmFormHasExisting)&&window.confirm(`Remove the virtual model for "`+e+`"? This reverts to inherited/default behavior.`)){this.vmDeleting=!0,this.vmFormError=``;try{let t=await XI(`/admin/virtual-models`,`DELETE`,{source:e},{label:`virtual model`});if(t.status===503){this.virtualModelsAvailable=!1,this.vmFormError=`Virtual models feature is unavailable.`;return}if(t.status!==404){if(t.stale)return;if(!t.ok){this.vmFormError=t.status===401?`Authentication required.`:GI(t,`Failed to remove virtual model.`);return}}this.virtualModelsAvailable=!0,this.closeVirtualModelForm(),kL.success(`Virtual model removed.`),Promise.all([uR.fetchModels(),this.fetchVirtualModels()])}catch(e){console.error(`Failed to delete virtual model:`,e),this.vmFormError=`Failed to remove virtual model.`}finally{this.vmDeleting=!1}}}},x3=[{value:`input_per_mtok`,label:`Input $/MTok`,group:`Tokens`},{value:`output_per_mtok`,label:`Output $/MTok`,group:`Tokens`},{value:`cached_input_per_mtok`,label:`Cached input $/MTok`,group:`Tokens`},{value:`cache_write_per_mtok`,label:`Cache write $/MTok`,group:`Tokens`},{value:`reasoning_output_per_mtok`,label:`Reasoning output $/MTok`,group:`Tokens`},{value:`batch_input_per_mtok`,label:`Batch input $/MTok`,group:`Batch`},{value:`batch_output_per_mtok`,label:`Batch output $/MTok`,group:`Batch`},{value:`audio_input_per_mtok`,label:`Audio input $/MTok`,group:`Audio`},{value:`audio_output_per_mtok`,label:`Audio output $/MTok`,group:`Audio`},{value:`per_image`,label:`$/Image`,group:`Image`},{value:`input_per_image`,label:`Input $/Image`,group:`Image`},{value:`per_second_input`,label:`Input $/Second`,group:`Audio/Video`},{value:`per_second_output`,label:`Output $/Second`,group:`Video`},{value:`per_character_input`,label:`$/Character`,group:`Audio`},{value:`per_page`,label:`$/Page`,group:`Utility`},{value:`per_request`,label:`$/Request`,group:`Utility`}];function S3(e){let t=x3.find(t=>t.value===e);return t?t.label:String(e||``).replace(/_/g,` `)}function C3(e){return e&&typeof e==`object`?JSON.parse(JSON.stringify(e)):{}}function w3(e,t){let n=C3(e),r=t&&t.pricing?t.pricing:t;if(!r||typeof r!=`object`)return n;for(let e of x3)r[e.value]!==null&&r[e.value]!==void 0&&(n[e.value]=Number(r[e.value]));return Array.isArray(r.tiers)&&r.tiers.length>0&&(n.tiers=C3(r.tiers)),n}function T3(e){switch(String(e||``).trim()){case`config_yaml`:return`config.yaml`;case`model_registry`:return`Model registry`;default:return e?String(e):`Unknown`}}function E3(e){let t=e&&e.pricing?e.pricing:{},n=e&&e.pricing_sources&&typeof e.pricing_sources==`object`?e.pricing_sources:{},r={};for(let e of x3)t[e.value]!==null&&t[e.value]!==void 0&&(r[e.value]=T3(n[e.value]||`model_registry`));return r}function D3(e){let t=String(e&&e.selector||``).trim();return t?`Dashboard/API override (`+t+`)`:`Dashboard/API override`}function O3(e){let t=String(e||``).trim();return t?t+`/`:``}function k3(e){return String(e&&e.model&&e.model.id||``).trim()}function A3(e){let t=String(e&&e.provider_name||``).trim(),n=k3(e);return t&&n?t+`/`+n:n}function j3(e){return k3(e)}function M3(e){let t=new Map;for(let n of Array.isArray(e)?e:[]){let e=String(n&&n.selector||``).trim();e&&t.set(e,n)}return t}function N3(e,t){let n=String(t||``).trim();return n&&M3(e).get(n)||null}function P3(e,t,n){let r=M3(e),i=A3(t),a=j3(t),o=O3(t&&t.provider_name),s=String(n||``).trim();for(let e of[i,a,o,`/`]){if(!e||e===s)continue;let t=r.get(e);if(t)return t}return null}function F3(e,t,n){let r=e&&e.model&&e.model.metadata?e.model.metadata:null,i=C3(r&&r.pricing),a=E3(r),o=P3(t,e,n),s=o&&o.pricing?o.pricing:null;if(s){let e=D3(o);for(let t of x3)s[t.value]!==null&&s[t.value]!==void 0&&(i[t.value]=Number(s[t.value]),a[t.value]=e);Array.isArray(s.tiers)&&s.tiers.length>0&&(i.tiers=C3(s.tiers),a.tiers=e)}return{pricing:i,sources:a}}function I3(e,t){let n=e&&e.pricing?e.pricing:{},r=[];for(let e of x3)n[e.value]!==null&&n[e.value]!==void 0&&r.push({id:t(),field:e.value,value:String(n[e.value])});return r}function L3(e,t){let n=new Set;for(let r of Array.isArray(e)?e:[]){if(t&&r.id===t)continue;let e=String(r.field||``).trim();e&&n.add(e)}return n}function R3(e,t){let n=L3(e,t&&t.id);return x3.filter(e=>e.value===(t&&t.field)||!n.has(e.value))}function z3(e,t){let n={},r=new Set;for(let t of Array.isArray(e)?e:[]){let e=String(t.field||``).trim();if(!e)return{error:`Choose a price type for every row.`};if(r.has(e))return{error:`Each price type can only be used once.`};r.add(e);let i=String(t.value||``).trim();if(i===``)return{error:`Enter a value for `+S3(e)+`.`};let a=Number(i);if(!Number.isFinite(a)||a<0)return{error:`Pricing values must be numbers greater than or equal to 0.`};n[e]=a}let i=Array.isArray(t)?t:[];return i.length>0&&(n.tiers=C3(i)),Object.keys(n).length===0?{error:`Add at least one pricing field before saving.`}:{pricing:n}}function B3(e,t,n){let r=e||{},i=t||{},a=n||{},o=w3(r,a);return x3.map(e=>{let t=a[e.value]!==null&&a[e.value]!==void 0,n=r[e.value]!==null&&r[e.value]!==void 0;return{field:e.value,label:e.label,value:o[e.value],source:t?`Form/API value`:n?i[e.value]||`Model registry`:`Unset`}}).filter(e=>e.source!==`Unset`||e.value!==void 0)}var V3=new class{#e=k(!0);get modelPricingOverridesAvailable(){return I(this.#e)}set modelPricingOverridesAvailable(e){A(this.#e,e,!0)}#t=k(j([]));get modelPricingOverrideViews(){return I(this.#t)}set modelPricingOverrideViews(e){A(this.#t,e,!0)}#n=k(``);get modelPricingOverrideError(){return I(this.#n)}set modelPricingOverrideError(e){A(this.#n,e,!0)}#r=k(!1);get modelPricingOverrideFormOpen(){return I(this.#r)}set modelPricingOverrideFormOpen(e){A(this.#r,e,!0)}#i=k(!1);get modelPricingOverrideSubmitting(){return I(this.#i)}set modelPricingOverrideSubmitting(e){A(this.#i,e,!0)}#a=k(!1);get modelPricingOverrideFormHasExistingOverride(){return I(this.#a)}set modelPricingOverrideFormHasExistingOverride(e){A(this.#a,e,!0)}#o=k(``);get modelPricingOverrideFormDisplayName(){return I(this.#o)}set modelPricingOverrideFormDisplayName(e){A(this.#o,e,!0)}#s=k(``);get modelPricingOverrideFormScope(){return I(this.#s)}set modelPricingOverrideFormScope(e){A(this.#s,e,!0)}#c=k(j([]));get modelPricingOverrideFormScopeOptions(){return I(this.#c)}set modelPricingOverrideFormScopeOptions(e){A(this.#c,e,!0)}#l=k(null);get modelPricingOverrideFormRow(){return I(this.#l)}set modelPricingOverrideFormRow(e){A(this.#l,e,!0)}#u=k(null);get modelPricingOverrideFormBasePricing(){return I(this.#u)}set modelPricingOverrideFormBasePricing(e){A(this.#u,e,!0)}#d=k(null);get modelPricingOverrideFormBasePricingSources(){return I(this.#d)}set modelPricingOverrideFormBasePricingSources(e){A(this.#d,e,!0)}#f=k(j([]));get modelPricingOverrideFormPreservedTiers(){return I(this.#f)}set modelPricingOverrideFormPreservedTiers(e){A(this.#f,e,!0)}#p=k(j([]));get modelPricingOverrideRows(){return I(this.#p)}set modelPricingOverrideRows(e){A(this.#p,e,!0)}#m=k(j({selector:``}));get modelPricingOverrideForm(){return I(this.#m)}set modelPricingOverrideForm(e){A(this.#m,e,!0)}_modelPricingOverrideRowID=0;pricingFieldOptions(){return x3}pricingFieldLabel(e){return S3(e)}async fetchModelPricingOverrides(){this.modelPricingOverrideError=``;try{let e=await YI(`/admin/model-pricing-overrides`,{label:`model pricing overrides`});if(e.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideViews=[];return}if(e.stale)return;if(this.modelPricingOverridesAvailable=!0,!e.ok){this.modelPricingOverrideViews=[];return}this.modelPricingOverrideViews=Array.isArray(e.data)?e.data:[]}catch(e){console.error(`Failed to fetch model pricing overrides:`,e),this.modelPricingOverrideViews=[],this.modelPricingOverrideError=`Unable to load model pricing overrides.`}}findModelPricingOverrideView(e){return N3(this.modelPricingOverrideViews,e)}hasGlobalPricingOverride(){return!!this.findModelPricingOverrideView(`/`)}hasProviderPricingOverride(e){return!!this.findModelPricingOverrideView(O3(e&&e.provider_name))}hasModelPricingOverride(e){return!!this.findModelPricingOverrideView(A3(e))}modelPricingButtonClass(e){return e?`table-action-btn-active`:``}modelPricingButtonLabel(e,t){let n=`Edit `+String(e||`model pricing`);return t?n+` (override exists)`:n}modelRowPricing(e){return F3(e,this.modelPricingOverrideViews).pricing}openGlobalPricingOverrideEdit(){this.openModelPricingOverrideForm({displayName:`All providers and models`,selector:`/`,scope:`global`,scopeOptions:[{value:`global`,label:`All providers and models`,selector:`/`}],row:null})}openProviderPricingOverrideEdit(e){let t=O3(e&&e.provider_name);t&&this.openModelPricingOverrideForm({displayName:`All models in `+(e.display_name||e.provider_name||t),selector:t,scope:`provider`,scopeOptions:[{value:`provider`,label:`Provider`,selector:t}],row:null})}openModelPricingOverrideEdit(e){if(!e||e.is_alias)return;let t=A3(e),n=j3(e),r=[{value:`exact`,label:`This provider and model`,selector:t}];n&&n!==t&&r.push({value:`model`,label:`This model across providers`,selector:n}),this.openModelPricingOverrideForm({displayName:e.display_name||t,selector:t,scope:`exact`,scopeOptions:r,row:e})}openModelPricingOverrideForm(e){let t=e||{};this.modelPricingOverrideFormOpen=!0,this.modelPricingOverrideError=``,this.modelPricingOverrideFormDisplayName=t.displayName||t.selector||`Pricing`,this.modelPricingOverrideFormScope=t.scope||``,this.modelPricingOverrideFormScopeOptions=Array.isArray(t.scopeOptions)?t.scopeOptions:[],this.modelPricingOverrideFormRow=t.row||null,this.modelPricingOverrideForm={selector:t.selector||``},this.loadModelPricingOverrideFormSelector(t.selector||``)}loadModelPricingOverrideFormSelector(e){e=String(e||``).trim();let t=this.findModelPricingOverrideView(e);this.modelPricingOverrideFormHasExistingOverride=!!t,this.modelPricingOverrideRows=I3(t,()=>this.nextModelPricingOverrideRowID()),this.modelPricingOverrideFormPreservedTiers=t&&t.pricing&&Array.isArray(t.pricing.tiers)?C3(t.pricing.tiers):[],this.modelPricingOverrideRows.length===0&&this.modelPricingOverrideFormPreservedTiers.length===0&&this.addModelPricingOverrideRow();let n=this.modelPricingOverrideFormRow,r=n?F3(n,this.modelPricingOverrideViews,e):{pricing:{},sources:{}};this.modelPricingOverrideFormBasePricing=r.pricing,this.modelPricingOverrideFormBasePricingSources=r.sources}setModelPricingOverrideScope(e){this.modelPricingOverrideFormScope=e;let t=this.modelPricingOverrideFormScopeOptions.find(t=>t.value===e);t&&(this.modelPricingOverrideForm.selector=t.selector,this.loadModelPricingOverrideFormSelector(t.selector))}nextModelPricingOverrideRowID(){return this._modelPricingOverrideRowID=(this._modelPricingOverrideRowID||0)+1,`pricing-row-`+this._modelPricingOverrideRowID}availablePricingFieldOptions(e){return R3(this.modelPricingOverrideRows,e)}addModelPricingOverrideRow(){let e=L3(this.modelPricingOverrideRows),t=x3.find(t=>!e.has(t.value))||x3[0];t&&this.modelPricingOverrideRows.push({id:this.nextModelPricingOverrideRowID(),field:t.value,value:``})}removeModelPricingOverrideRow(e){this.modelPricingOverrideRows=this.modelPricingOverrideRows.filter(t=>t.id!==e.id),this.modelPricingOverrideRows.length===0&&this.modelPricingOverrideFormPreservedTiers.length===0&&this.addModelPricingOverrideRow()}modelPricingOverridePayload(){return z3(this.modelPricingOverrideRows,this.modelPricingOverrideFormPreservedTiers)}modelPricingOverrideDraftPricing(){let e=this.modelPricingOverridePayload();return e&&e.pricing?e.pricing:{}}modelPricingEffectivePreviewRows(){return B3(this.modelPricingOverrideFormBasePricing,this.modelPricingOverrideFormBasePricingSources,this.modelPricingOverrideDraftPricing())}closeModelPricingOverrideForm(){this.modelPricingOverrideFormOpen=!1,this.modelPricingOverrideSubmitting=!1,this.modelPricingOverrideError=``,this.modelPricingOverrideFormHasExistingOverride=!1,this.modelPricingOverrideFormDisplayName=``,this.modelPricingOverrideFormScope=``,this.modelPricingOverrideFormScopeOptions=[],this.modelPricingOverrideFormRow=null,this.modelPricingOverrideFormBasePricing=null,this.modelPricingOverrideFormBasePricingSources=null,this.modelPricingOverrideFormPreservedTiers=[],this.modelPricingOverrideRows=[],this.modelPricingOverrideForm={selector:``}}async submitModelPricingOverrideForm(){let e=String(this.modelPricingOverrideForm.selector||``).trim();if(!e){this.modelPricingOverrideError=`Model pricing selector is required.`;return}let t=this.modelPricingOverridePayload();if(t.error){this.modelPricingOverrideError=t.error;return}let n={selector:e,...t};this.modelPricingOverrideSubmitting=!0,this.modelPricingOverrideError=``;try{let e=await XI(`/admin/model-pricing-overrides`,`PUT`,n,{label:`model pricing override`});if(e.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideError=`Model pricing overrides feature is unavailable.`;return}if(e.stale)return;if(!e.ok){this.modelPricingOverrideError=e.status===401?`Authentication required.`:GI(e,`Failed to save model pricing.`);return}this.modelPricingOverridesAvailable=!0,this.closeModelPricingOverrideForm(),kL.success(`Model pricing saved.`),this.fetchModelPricingOverrides()}catch(e){console.error(`Failed to save model pricing override:`,e),this.modelPricingOverrideError=`Failed to save model pricing.`}finally{this.modelPricingOverrideSubmitting=!1}}async deleteModelPricingOverride(){let e=String(this.modelPricingOverrideForm.selector||``).trim();if(!(!e||!this.modelPricingOverrideFormHasExistingOverride)&&window.confirm(`Remove the model pricing override for "`+e+`"?`)){this.modelPricingOverrideSubmitting=!0,this.modelPricingOverrideError=``;try{let t=await XI(`/admin/model-pricing-overrides`,`DELETE`,{selector:e},{label:`model pricing override`});if(t.status===503){this.modelPricingOverridesAvailable=!1,this.modelPricingOverrideError=`Model pricing overrides feature is unavailable.`;return}if(t.status!==404){if(t.stale)return;if(!t.ok){this.modelPricingOverrideError=t.status===401?`Authentication required.`:GI(t,`Failed to remove model pricing override.`);return}}this.modelPricingOverridesAvailable=!0,this.closeModelPricingOverrideForm(),kL.success(`Model pricing override removed.`),this.fetchModelPricingOverrides()}catch(e){console.error(`Failed to delete model pricing override:`,e),this.modelPricingOverrideError=`Failed to remove model pricing override.`}finally{this.modelPricingOverrideSubmitting=!1}}}},H3=R(``);function U3(e,t){E(t,!0);var n=H3();let r;var i=P(M(n),2),a=M(i,!0);T(i),T(n),F((e,i,o)=>{r=U(n,1,`alias-toggle`,null,r,e),n.disabled=b3.rowTogglingKey===t.row.key||!b3.virtualModelsAvailable,W(n,`aria-label`,i),B(a,o)},[()=>({enabled:b3.rowToggleEnabled(t.row),restricted:b3.rowToggleRestricted(t.row)}),()=>b3.rowToggleAriaLabel(t.row),()=>b3.rowToggleLabel(t.row)]),L(`click`,n,()=>b3.toggleRowEnabled(t.row)),z(e,n),D()}Hr([`click`]);var W3=R(`
        `);function G3(e,t){E(t,!0);var n=W3(),r=M(n),i=e=>{U3(e,{get row(){return b3.globalScopeRow}})};V(r,e=>{b3.virtualModelsAvailable&&e(i)});var a=P(r,2),o=e=>{{let t=O(()=>V3.modelPricingButtonLabel(`global model pricing`,V3.hasGlobalPricingOverride())),n=O(()=>V3.modelPricingButtonClass(V3.hasGlobalPricingOverride()));I1(e,{get label(){return I(t)},get class(){return`table-icon-btn ${I(n)??``}`},onclick:()=>V3.openGlobalPricingOverrideEdit(),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(a,e=>{V3.modelPricingOverridesAvailable&&e(o)});var s=P(a,2),c=e=>{{let t=O(()=>o3(`global model access`,b3.hasGlobalModelOverride())),n=O(()=>a3(b3.hasGlobalModelOverride()));I1(e,{get label(){return I(t)},get class(){return`table-icon-btn ${I(n)??``}`},onclick:()=>b3.openGlobalModelOverrideEdit(),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(s,e=>{b3.virtualModelsAvailable&&e(c)}),T(n),z(e,n),D()}function K3(e){return String(e&&(e.primary_model||e.source)||``).trim()}function q3(e){return Array.isArray(e&&e.fallback_models)?e.fallback_models:Array.isArray(e&&e.targets)?e.targets:[]}function J3(e){return Array.isArray(e)?e.map(e=>({...e,source:K3(e),targets:q3(e)})):[]}function Y3(e){let t=q3(e);return t.length===0?`-`:t.join(`, `)}function X3(e){return e&&e.enabled===!1?`Off`:e&&e.managed?`Config`:`On`}function Z3(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>K3(e)===n)||null}function Q3(e,t){if(!t||t.is_alias)return!1;let n=Z3(e,x4(t));return!!(n&&n.enabled!==!1&&q3(n).length>0)}function $3(e,t){return Q3(e,t)?`table-action-btn-failover-active`:``}function e6(e,t){let n=`Edit failover for `+(t&&t.display_name?t.display_name:`model`);return Q3(e,t)?n+` (active)`:n}function t6(e){let t=[e&&e.target_model];return(Array.isArray(e&&e.targets)?e.targets:[]).forEach(e=>t.push(e&&e.model)),t.map(e=>String(e||``).trim()).filter(Boolean)}function n6(e){let t=Array.isArray(e)?e.map(e=>String(e||``).trim()).filter(Boolean):[];return{target_model:t[0]||``,targets:t.slice(1).map(e=>({model:e}))}}function r6(e){return{primary_model:String(e&&e.source||``).trim(),fallback_models:t6(e),enabled:!(e&&e.enabled===!1)}}function i6(e){return K3(e)}function a6(e){let t={};return(Array.isArray(e)?e:[]).forEach(e=>{let n=i6(e);n&&(t[n]=!0)}),t}function o6(e,t){let n=i6(t);return!!(n&&e&&e[n])}function s6(e,t){return(Array.isArray(e)?e:[]).filter(e=>o6(t,e))}function c6(e,t){let n=Array.isArray(e)?e:[];return n.length>0&&s6(n,t).length===n.length}function l6(e){return[K3(e),q3(e).join(` `)].join(` `).toLowerCase()}function u6(e,t){let n=Array.isArray(e)?e:[],r=String(t||``).trim().toLowerCase();return r?n.filter(e=>l6(e).includes(r)):n}function d6(e){return{primary_model:K3(e),fallback_models:q3(e).map(e=>String(e||``).trim()).filter(Boolean),enabled:!!(e&&e.enabled!==!1)}}function f6(){return{source:``,target_model:``,targets:[],enabled:!0}}var Z=new class{#e=k(!0);get failoverAvailable(){return I(this.#e)}set failoverAvailable(e){A(this.#e,e,!0)}#t=k(j([]));get failoverRules(){return I(this.#t)}set failoverRules(e){A(this.#t,e,!0)}#n=k(!1);get failoverLoading(){return I(this.#n)}set failoverLoading(e){A(this.#n,e,!0)}#r=k(!1);get failoverSaving(){return I(this.#r)}set failoverSaving(e){A(this.#r,e,!0)}#i=k(!1);get failoverGenerating(){return I(this.#i)}set failoverGenerating(e){A(this.#i,e,!0)}#a=k(``);get failoverError(){return I(this.#a)}set failoverError(e){A(this.#a,e,!0)}#o=k(j([]));get failoverGeneratedRules(){return I(this.#o)}set failoverGeneratedRules(e){A(this.#o,e,!0)}#s=k(!1);get failoverDraftsOpen(){return I(this.#s)}set failoverDraftsOpen(e){A(this.#s,e,!0)}#c=k(j({}));get failoverDraftSelections(){return I(this.#c)}set failoverDraftSelections(e){A(this.#c,e,!0)}#l=k(``);get failoverDraftFilter(){return I(this.#l)}set failoverDraftFilter(e){A(this.#l,e,!0)}#u=k(!1);get failoverDraftSaving(){return I(this.#u)}set failoverDraftSaving(e){A(this.#u,e,!0)}#d=k(!1);get failoverFormOpen(){return I(this.#d)}set failoverFormOpen(e){A(this.#d,e,!0)}#f=k(`create`);get failoverFormMode(){return I(this.#f)}set failoverFormMode(e){A(this.#f,e,!0)}#p=k(!1);get failoverFormManaged(){return I(this.#p)}set failoverFormManaged(e){A(this.#p,e,!0)}#m=k(j(f6()));get failoverForm(){return I(this.#m)}set failoverForm(e){A(this.#m,e,!0)}failoverEnabled(){return eL.booleanFlag(`FAILOVER_ENABLED`,!0)}async fetchFailoverRules(){if(!this.failoverEnabled()){this.failoverAvailable=!1,this.failoverRules=[],this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!1,this.failoverError=``,this.failoverLoading=!1;return}this.failoverLoading=!0,this.failoverError=``;try{let e=await YI(`/admin/failover`,{label:`failover mappings`});if(e.status===503){this.failoverAvailable=!1,this.failoverRules=[];return}if(e.stale)return;if(this.failoverAvailable=!0,!e.ok){this.failoverRules=[];return}this.failoverRules=J3(e.data)}catch(e){console.error(`Failed to fetch failover mappings:`,e),this.failoverRules=[],this.failoverError=`Unable to load failover mappings.`}finally{this.failoverLoading=!1}}resetFailoverForm(){this.failoverFormMode=`create`,this.failoverFormManaged=!1,this.failoverForm=f6()}openFailoverCreate(){this.resetFailoverForm(),this.failoverFormOpen=!0,this.focusFailoverEditor()}openFailoverEdit(e){if(!e)return;this.resetFailoverForm(),this.failoverFormMode=`edit`,this.failoverFormOpen=!0,this.failoverFormManaged=!!e.managed;let t=this.failoverPrimaryModel(e),n=this.failoverTargets(e);this.failoverForm={source:t,target_model:n[0]||``,targets:n.slice(1).map(e=>({model:e})),enabled:e.enabled!==!1},this.focusFailoverEditor()}openFailoverForModel(e){if(!e||e.is_alias)return;let t=this.qualifiedModelName(e),n=this.failoverRules.find(e=>this.failoverPrimaryModel(e)===t);if(n){this.openFailoverEdit(n);return}this.resetFailoverForm(),this.failoverFormMode=`create`,this.failoverFormOpen=!0,this.failoverForm.source=t,this.focusFailoverEditor()}closeFailoverForm(){this.failoverFormOpen=!1}closeFailoverDraftsModal(){this.failoverDraftSaving||(this.failoverDraftsOpen=!1)}failoverFormTargets(){return t6(this.failoverForm)}setFailoverFormTargets(e){let t=n6(e);this.failoverForm.target_model=t.target_model,this.failoverForm.targets=t.targets}addFailoverTarget(){Array.isArray(this.failoverForm.targets)||(this.failoverForm.targets=[]),this.failoverForm.targets.push({model:``}),this.focusFailoverEditor()}removeFailoverTarget(e){if(!Array.isArray(this.failoverForm.targets)){this.failoverForm.targets=[];return}this.failoverForm.targets.splice(e,1)}removePrimaryFailoverTarget(){let e=Array.isArray(this.failoverForm.targets)?this.failoverForm.targets:[];if(e.length>0){let t=e.shift();this.failoverForm.target_model=t&&t.model?t.model:``,this.failoverForm.targets=e;return}this.failoverForm.target_model=``}failoverRulePayload(){return r6(this.failoverForm)}async submitFailoverForm(){if(this.failoverSaving||this.failoverGenerating||this.failoverFormManaged)return;let e=this.failoverRulePayload();if(!e.primary_model){this.failoverError=`Primary model is required.`;return}if(e.enabled&&e.fallback_models.length===0){this.failoverError=`Add at least one failover target.`;return}this.failoverSaving=!0,this.failoverError=``;try{let t=await XI(`/admin/failover`,`PUT`,e,{label:`failover mapping`});if(t.stale)return;if(!t.ok){this.failoverError=`Failed to save failover mapping.`;return}kL.success(`Failover mapping saved.`),this.closeFailoverForm(),this.fetchFailoverRules()}catch(e){console.error(`Failed to save failover mapping:`,e),this.failoverError=`Failed to save failover mapping.`}finally{this.failoverSaving=!1}}async deleteFailoverRule(e){let t=String(e&&this.failoverPrimaryModel(e)||this.failoverForm.source||``).trim();if(!(!t||this.failoverSaving||this.failoverGenerating)&&confirm(`Remove failover mapping for "`+t+`"?`)){this.failoverSaving=!0,this.failoverError=``;try{let e=await XI(`/admin/failover`,`DELETE`,{primary_model:t},{label:`failover mapping`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to remove failover mapping.`;return}kL.success(`Failover mapping removed.`),this.closeFailoverForm(),this.fetchFailoverRules()}catch(e){console.error(`Failed to remove failover mapping:`,e),this.failoverError=`Failed to remove failover mapping.`}finally{this.failoverSaving=!1}}}async generateFailoverForForm(){if(this.failoverGenerating||this.failoverSaving||this.failoverFormManaged)return;let e=String(this.failoverForm.source||``).trim();if(!e){this.failoverError=`Primary model is required.`;return}this.failoverGenerating=!0,this.failoverError=``;try{let t=await XI(`/admin/failover/generate`,`POST`,{primary_model:e},{label:`failover generation`});if(t.stale)return;if(!t.ok){this.failoverError=`Failed to generate failover mapping.`;return}let n=J3(t.data),r=n.find(t=>this.failoverPrimaryModel(t)===e)||n[0]||null,i=this.failoverTargets(r);if(i.length===0){this.failoverError=`No failover suggestions were generated for this model.`;return}this.setFailoverFormTargets(i),kL.success(`Generated `+i.length+` fallback model`+(i.length===1?`.`:`s.`)),this.focusFailoverEditor()}catch(e){console.error(`Failed to generate failover mapping:`,e),this.failoverError=`Failed to generate failover mapping.`}finally{this.failoverGenerating=!1}}openFailoverResetDialog(){mL.open({title:`Remove failover models`,titleId:`failoverResetDialogTitle`,inputId:`failover-reset-confirmation`,message:`Remove every dashboard-managed failover mapping. Configuration-managed mappings remain active.`,requiredText:`remove`,confirmLabel:`Remove Failover`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:async()=>{await this.resetFailoverRules(),this.failoverError&&(mL.error=this.failoverError)}})}async resetFailoverRules(){if(!this.failoverSaving){this.failoverSaving=!0,this.failoverError=``;try{let e=await XI(`/admin/failover/reset`,`POST`,void 0,{label:`failover removal`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to remove failover mappings.`;return}this.failoverRules=J3(e.data),this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!1,kL.success(`Dashboard-managed failover mappings removed.`),mL.close()}catch(e){console.error(`Failed to remove failover mappings:`,e),this.failoverError=`Failed to remove failover mappings.`}finally{this.failoverSaving=!1}}}async generateFailoverRules(){if(!(this.failoverGenerating||this.failoverDraftSaving)){this.failoverGenerating=!0,this.failoverError=``,this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.failoverDraftsOpen=!0;try{let e=await XI(`/admin/failover/generate`,`POST`,void 0,{label:`failover generation`});if(e.stale)return;if(!e.ok){this.failoverError=`Failed to generate failover mappings.`;return}this.failoverGeneratedRules=J3(e.data),this.selectAllFailoverDrafts(this.failoverGeneratedRules)}catch(e){console.error(`Failed to generate failover mappings:`,e),this.failoverError=`Failed to generate failover mappings.`}finally{this.failoverGenerating=!1}}}failoverDraftKey(e){return i6(e)}selectAllFailoverDrafts(e){this.failoverDraftSelections=a6(e)}failoverDraftSelected(e){return o6(this.failoverDraftSelections,e)}setFailoverDraftSelected(e,t){let n=this.failoverDraftKey(e);n&&(this.failoverDraftSelections={...this.failoverDraftSelections,[n]:!!t})}selectedFailoverDrafts(){return s6(this.failoverGeneratedRules,this.failoverDraftSelections)}selectedFailoverDraftCount(){return this.selectedFailoverDrafts().length}failoverDraftCountLabel(){return this.selectedFailoverDraftCount()+` / `+this.failoverGeneratedRules.length+` selected`}allFailoverDraftsSelected(){return c6(this.failoverGeneratedRules,this.failoverDraftSelections)}toggleAllFailoverDrafts(){if(!(this.failoverDraftSaving||this.failoverGenerating||this.failoverGeneratedRules.length===0)){if(this.allFailoverDraftsSelected()){this.failoverDraftSelections={};return}this.selectAllFailoverDrafts(this.failoverGeneratedRules)}}failoverDraftSearchText(e){return l6(e)}filteredFailoverDrafts(){return u6(this.failoverGeneratedRules,this.failoverDraftFilter)}failoverDraftPayload(e){return d6(e)}async saveSelectedFailoverDrafts(){if(this.failoverDraftSaving||this.failoverGenerating)return;let e=this.selectedFailoverDrafts();if(e.length===0){this.failoverError=`Select at least one failover draft.`;return}this.failoverDraftSaving=!0,this.failoverError=``;try{for(let t of e){let e=this.failoverDraftPayload(t);if(!e.primary_model||e.fallback_models.length===0){this.failoverError=`Generated failover draft is missing model data.`;return}let n=await XI(`/admin/failover`,`PUT`,e,{label:`failover mapping`});if(n.stale)return;if(!n.ok){this.failoverError=`Failed to save failover mapping.`;return}}kL.success(`Saved `+e.length+` failover mapping`+(e.length===1?`.`:`s.`)),this.failoverDraftsOpen=!1,this.failoverGeneratedRules=[],this.failoverDraftSelections={},this.failoverDraftFilter=``,this.fetchFailoverRules()}catch(e){console.error(`Failed to save generated failover mappings:`,e),this.failoverError=`Failed to save failover mappings.`}finally{this.failoverDraftSaving=!1}}focusFailoverEditor(){setTimeout(()=>{let e=document.querySelector(`[data-failover-editor]`),t=e&&e.querySelector?e.querySelector(`[data-modal-autofocus], input:not([disabled]), textarea:not([disabled]), button:not([disabled])`):null;t&&typeof t.focus==`function`&&t.focus({preventScroll:!0})},0)}failoverTargetLabel(e){return Y3(e)}failoverPrimaryModel(e){return K3(e)}failoverTargets(e){return q3(e)}findFailoverMapping(e){return Z3(this.failoverRules,e)}hasActiveFailoverMapping(e){return Q3(this.failoverRules,e)}failoverButtonClass(e){return $3(this.failoverRules,e)}failoverButtonLabel(e){return e6(this.failoverRules,e)}normalizeFailoverRules(e){return J3(e)}failoverRuleStatus(e){return X3(e)}qualifiedModelName(e){return x4(e)}},p6=R(``),m6=R(``),h6=R(`Config`),g6=R(`
        Targets
        `),_6=R(``),v6=R(`
        Redirects to
        `),y6=R(` `),b6=R(`
        `),x6=R(`
        `),S6=R(`
        `);function C6(e,t){E(t,!0);let n=O(()=>V3.modelRowPricing(t.row));var r=S6(),i=M(r),a=M(i),o=M(a),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=e=>{z(e,p6())};V(l,e=>{t.row.is_alias&&e(u)});var d=P(l,2),f=e=>{z(e,m6())};V(d,e=>{!t.row.is_alias&&t.row.masking_alias&&e(f)});var p=P(d,2),m=e=>{z(e,h6())},h=O(()=>r3(t.row));V(p,e=>{I(h)&&e(m)}),T(o);var g=P(o,2),_=e=>{var n=g6(),r=P(M(n)),i=M(r,!0);T(r),T(n),F(()=>B(i,t.row.secondary_name)),z(e,n)};V(g,e=>{t.row.is_alias&&e(_)});var v=P(g,2),y=e=>{var n=v6(),r=P(M(n)),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=_6();F(e=>{W(n,`aria-label`,b3.rowDeletingKey===t.row.key?`Removing redirect for `+t.row.display_name:`Remove redirect for `+t.row.display_name),W(n,`title`,b3.rowDeletingKey===t.row.key?`Removing redirect for `+t.row.display_name:`Remove redirect for `+t.row.display_name),n.disabled=e},[()=>!!b3.rowDeletingKey]),L(`click`,n,()=>b3.removeRedirectRow(t.row)),z(e,n)},s=O(()=>b3.virtualModelsAvailable&&t3(t.row));V(a,e=>{I(s)&&e(o)}),T(n),F(e=>B(i,e),[()=>P4(t.row.masking_alias)]),z(e,n)};V(v,e=>{!t.row.is_alias&&t.row.masking_alias&&e(y)}),T(a),T(i);var b=P(i);H(b,17,()=>t.columns,ai,(e,r)=>{var i=y6(),a=M(i,!0);T(i),F(e=>{U(i,1,Mi(I(r).class),`svelte-1iynym`),B(a,e)},[()=>I(r).value(t.row,I(n))]),z(e,i)});var x=P(b),S=M(x),C=e=>{var n=b6(),r=M(n);U3(r,{get row(){return t.row}});var i=P(r,2),a=e=>{{let n=O(()=>b3.rowDeletingKey===t.row.key?`Removing alias `+t.row.alias.name:`Remove alias `+t.row.alias.name),r=O(()=>!!b3.rowDeletingKey);I1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>b3.removeAliasRow(t.row),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})}},o=O(()=>b3.virtualModelsAvailable&&e3(t.row));V(i,e=>{I(o)&&e(a)});var s=P(i,2),c=e=>{{let n=O(()=>`Edit alias `+t.row.alias.name);I1(e,{get label(){return I(n)},class:`table-icon-btn table-action-btn-active`,onclick:()=>b3.openVirtualModelEditAlias(t.row.alias),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(s,e=>{b3.virtualModelsAvailable&&e(c)}),T(n),z(e,n)},w=e=>{var n=x6(),r=M(n);U3(r,{get row(){return t.row}});var i=P(r,2),a=e=>{{let n=O(()=>V3.modelPricingButtonLabel(`model pricing for `+t.row.display_name,V3.hasModelPricingOverride(t.row))),r=O(()=>V3.modelPricingButtonClass(V3.hasModelPricingOverride(t.row)));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>V3.openModelPricingOverrideEdit(t.row),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(i,e=>{V3.modelPricingOverridesAvailable&&e(a)});var o=P(i,2),s=e=>{{let n=O(()=>Z.failoverButtonLabel(t.row)),r=O(()=>Z.failoverButtonClass(t.row));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>Z.openFailoverForModel(t.row),children:(e,t)=>{K(e,{name:`shuffle`,class:`table-icon-svg`})},$$slots:{default:!0}})}},c=O(()=>Z.failoverAvailable&&Z.failoverEnabled());V(o,e=>{I(c)&&e(s)});var l=P(o,2),u=e=>{{let n=O(()=>X.rateLimitGaugeTitle(t.row.display_name,X.rateLimitGaugeClassForModel(t.row))),r=O(()=>X.rateLimitGaugeClassForModel(t.row));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>X.openRateLimitInspectorForModel(t.row),children:(e,t)=>{K(e,{name:`gauge`,class:`table-icon-svg`})},$$slots:{default:!0}})}},d=O(()=>X.rateLimitsEnabled()&&X.rateLimitInspectorModelID(t.row));V(l,e=>{I(d)&&e(u)});var f=P(l,2),p=e=>{{let n=O(()=>`Edit redirect for `+t.row.display_name);I1(e,{get label(){return I(n)},class:`table-icon-btn table-action-btn-active`,onclick:()=>b3.openVirtualModelEditAlias(t.row.masking_alias),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(f,e=>{b3.virtualModelsAvailable&&t.row.masking_alias&&t.row.masking_alias.name&&e(p)});var m=P(f,2),h=e=>{{let n=O(()=>o3(`model access for `+t.row.display_name,i3(t.row.access))),r=O(()=>a3(i3(t.row.access)));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>b3.openVirtualModelEditModel(t.row),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(m,e=>{b3.virtualModelsAvailable&&!t.row.masking_alias&&e(h)}),T(n),z(e,n)};V(S,e=>{t.row.is_alias?e(C):e(w,-1)}),T(x),T(r),F((e,n)=>{W(r,`id`,e),U(r,1,n,`svelte-1iynym`),B(c,t.row.display_name)},[()=>n3(t.row)||void 0,()=>Mi($4(t.row))]),z(e,r),D()}Hr([`click`]);var w6={headerLines:[`Modes`],value:e=>(e.model?.metadata?.modes??[]).join(`, `)||`-`};function T6(e,t){return{headerLines:e,class:`col-price`,value:t}}var E6=T6([`Input / Output ($/MTok)`],(e,t)=>zL(t?.input_per_mtok)+` / `+zL(t?.output_per_mtok)),D6={all:[w6,E6],text_generation:[w6,E6,T6([`Cached $/MTok`],(e,t)=>zL(t?.cached_input_per_mtok))],embedding:[T6([`Input`,`$/MTok`],(e,t)=>zL(t?.input_per_mtok))],image:[T6([`$/Image`],(e,t)=>BL(t?.per_image))],audio:[T6([`$/Second`],(e,t)=>BL(t?.per_second_input)),T6([`$/Character`],(e,t)=>BL(t?.per_character_input))],video:[T6([`$/Second (In)`],(e,t)=>BL(t?.per_second_input)),T6([`$/Second (Out)`],(e,t)=>BL(t?.per_second_output))],utility:[T6([`$/Page`],(e,t)=>BL(t?.per_page)),T6([`$/Request`],(e,t)=>BL(t?.per_request))]};function O6(e){return D6[e]||D6.all}function k6(e){return O6(e).length+2}var A6=R(`
        `),j6=R(` `,1),M6=R(``),N6=R(` `),P6=R(` `),F6=R(`
        `),I6=R(`
        `),L6=R(`
        Model
        `);function R6(e,t){E(t,!0);let n=O(()=>uR.activeCategory||`all`),r=O(()=>O6(I(n))),i=O(()=>k6(I(n)));var a=L6(),o=M(a),s=M(o),c=M(s),l=P(M(c));H(l,17,()=>I(r),ai,(e,t)=>{var n=M6();H(n,21,()=>I(t).headerLines,ai,(e,t,n)=>{var r=j6(),i=N(r),a=e=>{z(e,A6())};V(i,e=>{n>0&&e(a)});var o=P(i,1,!0);F(()=>B(o,I(t))),z(e,r)}),T(n),F(()=>U(n,1,Mi(I(t).class),`svelte-1911hy6`)),z(e,n)});var u=P(l);G3(M(u),{}),T(u),T(c),T(s),H(P(s),17,()=>b3.filteredDisplayModelGroups,e=>e.key,(e,t)=>{var n=I6(),a=M(n),o=M(a),s=M(o),c=M(s),l=M(c),u=M(l),d=M(u,!0);T(u);var f=P(u,2),p=e=>{var n=N6(),r=M(n,!0);T(n),F(()=>B(r,`(`+I(t).type_label+`)`)),z(e,n)};V(f,e=>{I(t).type_label&&e(p)});var m=P(f,2),h=e=>{var n=P6(),r=M(n,!0);T(n),F(()=>B(r,I(t).item_count_label)),z(e,n)};V(m,e=>{I(t).item_count_label&&e(h)}),T(l);var g=P(l,2),_=e=>{var n=F6(),r=M(n,!0);T(n),F(()=>B(r,I(t).access_summary)),z(e,n)};V(g,e=>{I(t).access_summary&&e(_)}),T(c);var v=P(c,2),y=M(v),b=e=>{U3(e,{get row(){return I(t)}})};V(y,e=>{I(t).access.selector&&e(b)});var x=P(y,2),S=e=>{{let n=O(()=>V3.modelPricingButtonLabel(`provider pricing for `+I(t).display_name,V3.hasProviderPricingOverride(I(t)))),r=O(()=>V3.modelPricingButtonClass(V3.hasProviderPricingOverride(I(t))));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>V3.openProviderPricingOverrideEdit(I(t)),children:(e,t)=>{K(e,{name:`circle-dollar-sign`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(x,e=>{V3.modelPricingOverridesAvailable&&I(t).provider_name&&e(S)});var C=P(x,2),w=e=>{{let n=O(()=>X.rateLimitGaugeTitle(`provider `+I(t).display_name,X.rateLimitGaugeClassForProvider(I(t)))),r=O(()=>X.rateLimitGaugeClassForProvider(I(t)));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>X.openRateLimitInspectorForProvider(I(t)),children:(e,t)=>{K(e,{name:`gauge`,class:`table-icon-svg`})},$$slots:{default:!0}})}},ee=O(()=>X.rateLimitsEnabled()&&I(t).provider_name);V(C,e=>{I(ee)&&e(w)});var te=P(C,2),ne=e=>{{let n=O(()=>o3(`provider access for `+I(t).display_name,i3(I(t).access))),r=O(()=>a3(i3(I(t).access)));I1(e,{get label(){return I(n)},get class(){return`table-icon-btn ${I(r)??``}`},onclick:()=>b3.openProviderOverrideEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(te,e=>{b3.virtualModelsAvailable&&I(t).access.selector&&e(ne)}),T(v),T(s),T(o),T(a),H(P(a),17,()=>I(t).rows,e=>e.key,(e,t)=>{C6(e,{get row(){return I(t)},get columns(){return I(r)}})}),T(n),F(()=>{W(o,`colspan`,I(i)),B(d,I(t).display_name)}),z(e,n)}),T(o),T(a),z(e,a),D()}var z6=R(``);function B6(e,t){let n=G(t,`enabled`,3,!1),r=G(t,`label`,3,``),i=G(t,`disabled`,3,!1),a=G(t,`restricted`,3,!1);var o=z6();let s;var c=P(M(o),2),l=M(c,!0);T(c),T(o),F(()=>{s=U(o,1,`alias-toggle`,null,s,{enabled:n(),restricted:a()}),o.disabled=i(),W(o,`aria-label`,(n()?`Disable `:`Enable `)+r()),B(l,t.text??(n()?`Enabled`:`Disabled`))}),L(`click`,o,function(...e){t.onclick?.apply(this,e)}),z(e,o)}Hr([`click`]);var V6=R(``),H6=R(`
        `);function U6(e,t){E(t,!0);let n=G(t,`model`,15,``),r=G(t,`weight`,15),i=G(t,`id`,3,void 0),a=G(t,`placeholder`,3,`openai/gpt-4o`),o=G(t,`showRemove`,3,!0);var s=H6(),c=M(s);$i(c);var l=P(c,2),u=e=>{var t=V6();$i(t),F(()=>t.disabled=b3.vmFormManaged),ca(t,r),z(e,t)},d=O(()=>b3.vmFormShowWeights());V(l,e=>{I(d)&&e(u)});var f=P(l,2),p=e=>{I1(e,{label:`Remove target`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,get onclick(){return t.onremove},get disabled(){return b3.vmFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})};V(f,e=>{o()&&e(p)}),T(s),F(()=>{W(c,`id`,i()),W(c,`placeholder`,a()),c.disabled=b3.vmFormManaged}),ca(c,n),z(e,s),D()}var W6=R(`

        `),G6=R(`adaptive lets the registered routing extension pick the target per - request.`,1),K6=R(`Add one target to make this a redirect/alias, or two or more to load - balance across them, then pick a strategy: round_robin rotates across targets - (weight biases the share) and cost always routes to the cheapest available - target. Leave Targets empty to make it only an access policy on the Source selector. The selector uses / for all providers and - models, for one provider, or for one model. user_paths is - matched against the effective request user_path: the managed API key user_path when present, otherwise the configured user path request header.`,1),q6=R(``),J6=R(`

        This virtual model is defined in configuration (config.yaml / VIRTUAL_MODELS) and is read-only here. Edit your configuration to change it.

        `),Y6=R(``),X6=R(``),Z6=R(``),Q6=R(`
        `,1),$6=R(``),e8=R(`Use / to allow every user path. Use a team path to restrict to that - subtree, or an unused path to make the selector unavailable.`,1),t8=R(``),n8=R(` `),r8=R(`
        Targets
        `,1);function i8(e,t){E(t,!0);let n=b3;Mn(()=>{n.vmFormOpen&&eL.ensureLoaded()});{let t=e=>{xQ(e,{copyId:`virtual-model-help-copy`,label:`virtual model help`,get open(){return n.vmFormHelpOpen},set open(e){n.vmFormHelpOpen=e},title:e=>{var t=W6(),r=M(t,!0);T(t),F(()=>B(r,n.vmFormDisplayName||n.vmForm.source||`Virtual model`)),z(e,t)},help:e=>{Ge();var t=K6(),n=P(N(t),7),r=e=>{var t=G6();Ge(),z(e,t)},i=O(()=>eL.virtualModelStrategies().includes(`adaptive`));V(n,e=>{I(i)&&e(r)});var a=P(n,8);a.textContent=`{provider_name}/`;var o=P(a,2);o.textContent=`{provider_name}/{model}`,Ge(7),z(e,t)},$$slots:{title:!0,help:!0}})},r=e=>{var t=Qr(),r=N(t),i=e=>{var t=q6();F(()=>t.disabled=n.vmDeleting||n.vmSubmitting),L(`click`,t,()=>n.deleteVirtualModel()),z(e,t)};V(r,e=>{n.vmFormHasExisting&&!n.vmFormManaged&&e(i)}),z(e,t)},i=O(()=>n.vmDeleting||n.vmFormManaged),a=O(()=>n.vmFormMode===`edit`?`Save`:`Create`),o=O(()=>n.vmFormMode===`edit`?`save`:`plus`);B0(e,{get open(){return n.vmFormOpen},ariaLabel:`Virtual model editor`,get error(){return n.vmFormError},get submitting(){return n.vmSubmitting},get submitDisabled(){return I(i)},get submitLabel(){return I(a)},get submitIcon(){return I(o)},onclose:()=>n.closeVirtualModelForm(),onsubmit:()=>n.submitVirtualModelForm(),header:t,extraActions:r,children:(e,t)=>{var r=r8(),i=N(r),a=e=>{z(e,J6())};V(i,e=>{n.vmFormManaged&&e(a)});var o=P(i,2);H0(o,{id:`virtual-model-source`,label:`Source`,children:(e,t)=>{var r=Y6();$i(r),F(()=>r.disabled=n.vmFormSourceLocked||n.vmFormManaged),ca(r,()=>n.vmForm.source,e=>n.vmForm.source=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2);H(s,21,()=>uR.models,e=>x4(e),(e,t)=>{var n=X6(),r=M(n,!0);T(n);var i={};F((e,t)=>{B(r,e),i!==(i=t)&&(n.value=(n.__value=t)??``)},[()=>x4(I(t)),()=>x4(I(t))]),z(e,n)}),T(s);var c=P(s,2),l=P(M(c),2);{let e=O(()=>n.vmFormHasPrimaryTarget());U6(l,{id:`virtual-model-target`,get showRemove(){return I(e)},onremove:()=>n.removePrimaryTarget(),get model(){return n.vmForm.target_model},set model(e){n.vmForm.target_model=e},get weight(){return n.vmForm.target_weight},set weight(e){n.vmForm.target_weight=e}})}var u=P(l,2);H(u,17,()=>n.vmForm.targets,ai,(e,t,r)=>{U6(e,{placeholder:`groq/llama`,onremove:()=>n.removeVmTarget(r),get model(){return I(t).model},set model(e){I(t).model=e},get weight(){return I(t).weight},set weight(e){I(t).weight=e}})});var d=P(u,2),f=M(d);K(M(f),{name:`plus`,class:`form-action-icon`}),Ge(2),T(f),T(d),T(c);var p=P(c,2),m=e=>{var t=Q6(),r=N(t);H0(r,{id:`virtual-model-strategy`,label:`Load-balancing strategy`,children:(e,t)=>{var r=Z6();H(r,21,()=>n.vmStrategyOptions(),e=>e.value,(e,t)=>{var n=X6(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(r),F(()=>r.disabled=n.vmFormManaged),Hi(r,()=>n.vmForm.strategy,e=>n.vmForm.strategy=e),z(e,r)},$$slots:{default:!0}});var i=P(r,2),a=M(i),o=M(a);$i(o),Ge(2),T(a),T(i),F(()=>o.disabled=n.vmFormManaged),la(o,()=>n.vmForm.session_affinity,e=>n.vmForm.session_affinity=e),z(e,t)},h=O(()=>n.vmFormShowStrategy());V(p,e=>{I(h)&&e(m)});var g=P(p,2),_=M(g);xQ(_,{copyId:`virtual-model-user-paths-help`,label:`user paths help`,get open(){return n.vmFormUserPathsHelpOpen},set open(e){n.vmFormUserPathsHelpOpen=e},title:e=>{z(e,$6())},help:e=>{Ge();var t=e8();Ge(2),z(e,t)},$$slots:{title:!0,help:!0}});var v=P(_,2);mt(v),W(v,`placeholder`,`/ -/team/alpha -/non-existing`),T(g);var y=P(g,2);H0(y,{id:`virtual-model-description`,label:`Description`,children:(e,t)=>{var r=t8();mt(r),F(()=>r.disabled=n.vmFormManaged),ca(r,()=>n.vmForm.description,e=>n.vmForm.description=e),z(e,r)},$$slots:{default:!0}});var b=P(y,2),x=M(b),S=e=>{var t=n8(),r=M(t,!0);T(t),F(()=>B(r,`Default enabled: `+(n.vmFormDefaultEnabled?`yes`:`no`)+` · Effective now: `+(n.vmFormEffectiveEnabled?`yes`:`no`))),z(e,t)};V(x,e=>{n.vmFormMode===`edit`&&e(S)});var C=P(x,2),w=M(C);{let e=O(()=>n.vmFormToggleRestricted()),t=O(()=>n.vmFormToggleLabel());B6(w,{get enabled(){return n.vmForm.enabled},get restricted(){return I(e)},label:`virtual model`,get disabled(){return n.vmFormManaged},get text(){return I(t)},onclick:()=>{n.vmFormManaged||(n.vmForm.enabled=!n.vmForm.enabled)}})}T(C),T(b),F(()=>{f.disabled=n.vmFormManaged,v.disabled=n.vmFormManaged}),L(`click`,f,()=>n.addVmTarget()),ca(v,()=>n.vmForm.user_paths,e=>n.vmForm.user_paths=e),z(e,r)},$$slots:{header:!0,extraActions:!0,default:!0}})}D()}Hr([`click`]);var a8=R(`

        Pricing override

        `,1),o8=R(``),s8=R(``),c8=R(``),l8=R(``),u8=R(`
        `),d8=R(`
        Tiered pricing exists for this override and will be preserved. Tier editing can be added - without a database migration.
        `),f8=R(`
        No pricing fields set.
        `),p8=R(`
        `),m8=R(`

        Currency is USD. Saved fields override model registry and config.yaml pricing for this - selector; unset fields continue to inherit.

        Price Type USD Source
        `,1);function h8(e,t){E(t,!0);let n=V3;B0(e,{get open(){return n.modelPricingOverrideFormOpen},ariaLabel:`Model pricing editor`,dialogClass:`model-pricing-editor`,get error(){return n.modelPricingOverrideError},get submitting(){return n.modelPricingOverrideSubmitting},submitLabel:`Save Pricing`,onclose:()=>n.closeModelPricingOverrideForm(),onsubmit:()=>n.submitModelPricingOverrideForm(),header:e=>{var t=a8(),r=P(N(t),2),i=M(r,!0);T(r),F(()=>B(i,n.modelPricingOverrideFormDisplayName||n.modelPricingOverrideForm.selector||`Pricing`)),z(e,t)},extraActions:e=>{var t=Qr(),r=N(t),i=e=>{var t=o8();F(()=>t.disabled=n.modelPricingOverrideSubmitting),L(`click`,t,()=>n.deleteModelPricingOverride()),z(e,t)};V(r,e=>{n.modelPricingOverrideFormHasExistingOverride&&e(i)}),z(e,t)},children:(e,t)=>{var r=m8(),i=N(r),a=M(i);H0(a,{id:`model-pricing-override-selector`,label:`Selector`,children:(e,t)=>{var r=s8();$i(r),ca(r,()=>n.modelPricingOverrideForm.selector,e=>n.modelPricingOverrideForm.selector=e),z(e,r)},$$slots:{default:!0}});var o=P(a,2),s=e=>{H0(e,{id:`model-pricing-override-scope`,label:`Scope`,children:(e,t)=>{var r=l8();H(r,21,()=>n.modelPricingOverrideFormScopeOptions,e=>e.value,(e,t)=>{var n=c8(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(r),L(`change`,r,()=>n.setModelPricingOverrideScope(n.modelPricingOverrideFormScope)),Hi(r,()=>n.modelPricingOverrideFormScope,e=>n.modelPricingOverrideFormScope=e),z(e,r)},$$slots:{default:!0}})};V(o,e=>{n.modelPricingOverrideFormScopeOptions.length>1&&e(s)}),T(i);var c=P(i,4);H(c,21,()=>n.modelPricingOverrideRows,e=>e.id,(e,t,r)=>{var i=u8(),a=M(i),o=M(a),s=P(o,2);H(s,21,()=>n.availablePricingFieldOptions(I(t)),e=>e.value,(e,t)=>{var n=c8(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).group+` - `+I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(s),T(a);var c=P(a,2),l=M(c),u=P(l,2);$i(u),T(c);var d=P(c,2);{let e=O(()=>`Remove `+n.pricingFieldLabel(I(t).field));I1(d,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn pricing-override-remove-row`,onclick:()=>n.removeModelPricingOverrideRow(I(t)),children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(i),F(()=>{W(o,`for`,`pricing-type-`+I(t).id),W(s,`id`,`pricing-type-`+I(t).id),W(l,`for`,`pricing-value-`+I(t).id),W(u,`id`,`pricing-value-`+I(t).id)}),Hi(s,()=>I(t).field,e=>I(t).field=e),ca(u,()=>I(t).value,e=>I(t).value=e),z(e,i)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l);var d=P(l,2),f=e=>{z(e,d8())};V(d,e=>{n.modelPricingOverrideFormPreservedTiers.length>0&&e(f)});var p=P(d,2),m=P(M(p),2),h=e=>{z(e,f8())},g=O(()=>n.modelPricingEffectivePreviewRows().length===0);V(m,e=>{I(g)&&e(h)}),H(P(m,2),17,()=>n.modelPricingEffectivePreviewRows(),e=>e.field,(e,t)=>{var n=p8(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(n),F(e=>{B(i,I(t).label),B(o,e),B(c,I(t).source)},[()=>I(t).value===null||I(t).value===void 0?`-`:BL(Number(I(t).value))]),z(e,n)}),T(p),L(`click`,u,()=>n.addModelPricingOverrideRow()),z(e,r)},$$slots:{header:!0,extraActions:!0,default:!0}}),D()}Hr([`click`,`change`]);var g8=R(`

        Failover mapping

        `,1),_8=R(``),v8=R(`

        This failover mapping is defined in configuration and is read-only here.

        `),y8=R(``),b8=R(`
        `),x8=R(`
        `,1),S8=R(`
        `);function C8(e,t){E(t,!0);{let t=e=>{var t=g8(),n=P(N(t),2),r=M(n,!0);T(n),F(()=>B(r,Z.failoverForm.source||`Failover`)),z(e,t)},n=e=>{var t=Qr(),n=N(t),r=e=>{var t=_8();F(()=>t.disabled=Z.failoverSaving||Z.failoverGenerating),L(`click`,t,()=>Z.deleteFailoverRule()),z(e,t)};V(n,e=>{Z.failoverFormMode===`edit`&&!Z.failoverFormManaged&&e(r)}),z(e,t)},r=O(()=>Z.failoverGenerating||Z.failoverFormManaged);B0(e,{get open(){return Z.failoverFormOpen},ariaLabel:`Failover editor`,get error(){return Z.failoverError},get submitting(){return Z.failoverSaving},get submitDisabled(){return I(r)},submitLabel:`Save`,onclose:()=>Z.closeFailoverForm(),onsubmit:()=>Z.submitFailoverForm(),header:t,extraActions:n,children:(e,t)=>{var n=S8(),r=M(n),i=e=>{z(e,v8())};V(r,e=>{Z.failoverFormManaged&&e(i)});var a=P(r,2);H(a,21,()=>uR.models,ai,(e,t)=>{var n=y8(),r=M(n,!0);T(n);var i={};F((e,t)=>{B(r,e),i!==(i=t)&&(n.value=(n.__value=t)??``)},[()=>x4(I(t)),()=>x4(I(t))]),z(e,n)}),T(a);var o=P(a,2);H0(o,{id:`failover-target`,label:`Fallback models`,children:(e,t)=>{var n=x8(),r=N(n),i=M(r),a=M(i);$i(a);var o=P(a,2),s=e=>{I1(e,{label:`Remove fallback model`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Z.removePrimaryFailoverTarget(),get disabled(){return Z.failoverFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}})};V(o,e=>{Z.failoverForm.target_model&&e(s)}),T(i),H(P(i,2),17,()=>Z.failoverForm.targets,ai,(e,t,n)=>{var r=b8(),i=M(r);$i(i),I1(P(i,2),{label:`Remove fallback model`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Z.removeFailoverTarget(n),get disabled(){return Z.failoverFormManaged},children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),F(()=>i.disabled=Z.failoverFormManaged),ca(i,()=>I(t).model,e=>I(t).model=e),z(e,r)}),T(r);var c=P(r,2),l=M(c);K(M(l),{name:`plus`,class:`form-action-icon`}),Ge(2),T(l);var u=P(l,2),d=M(u);K(d,{name:`wand-sparkles`,class:`form-action-icon`});var f=P(d,2),p=M(f,!0);T(f),T(u),T(c),F(e=>{a.disabled=Z.failoverFormManaged,l.disabled=Z.failoverFormManaged||Z.failoverGenerating||Z.failoverSaving,u.disabled=e,B(p,Z.failoverGenerating?`Generating...`:`Generate automatically`)},[()=>Z.failoverFormManaged||Z.failoverGenerating||Z.failoverSaving||!Z.failoverEnabled()]),ca(a,()=>Z.failoverForm.target_model,e=>Z.failoverForm.target_model=e),L(`click`,l,()=>Z.addFailoverTarget()),L(`click`,u,()=>Z.generateFailoverForForm()),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=M(s);B6(M(c),{get enabled(){return Z.failoverForm.enabled},label:`failover mapping`,get disabled(){return Z.failoverFormManaged},onclick:()=>{Z.failoverFormManaged||(Z.failoverForm.enabled=!Z.failoverForm.enabled)}}),T(c),T(s),T(n),z(e,n)},$$slots:{header:!0,extraActions:!0,default:!0}})}D()}Hr([`click`]);var w8=R(` `),T8=R(`
        `),E8=R(``),D8=R(`
        `),O8=R(`

        No failover suggestions were generated.

        `),k8=R(`

        No failover drafts match the filter.

        `),A8=R(``),j8=R(``);function M8(e,t){E(t,!0),lL(e,{get open(){return Z.failoverDraftsOpen},variant:`editor`,onclose:()=>Z.closeFailoverDraftsModal(),children:(e,t)=>{var n=j8(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=w8(),n=M(t,!0);T(t),F(e=>B(n,e),[()=>Z.failoverDraftCountLabel()]),z(e,t)};V(a,e=>{Z.failoverGeneratedRules.length>0&&e(o)}),sL(P(a,2),{label:`Close failover drafts`,onclick:()=>Z.closeFailoverDraftsModal(),get disabled(){return Z.failoverDraftSaving}}),T(i),T(r);var s=P(r,2),c=e=>{P1(e,{label:`Generating failover drafts...`,class:`failover-drafts-loading`})};V(s,e=>{Z.failoverGenerating&&e(c)});var l=P(s,2),u=e=>{var t=T8(),n=M(t);z$(n,{placeholder:`Filter failover drafts...`,label:`Filter failover drafts`,get value(){return Z.failoverDraftFilter},set value(e){Z.failoverDraftFilter=e}});var r=P(n,2),i=M(r);K(i,{name:`check`,class:`form-action-icon`});var a=P(i,2),o=M(a,!0);T(a),T(r),T(t),F(e=>{r.disabled=Z.failoverDraftSaving,B(o,e)},[()=>Z.allFailoverDraftsSelected()?`Deselect all`:`Select all`]),L(`click`,r,()=>Z.toggleAllFailoverDrafts()),z(e,t)};V(l,e=>{!Z.failoverGenerating&&Z.failoverGeneratedRules.length>0&&e(u)});var d=P(l,2),f=e=>{var t=D8();H(t,21,()=>Z.filteredFailoverDrafts(),e=>`failover-draft:`+Z.failoverPrimaryModel(e),(e,t)=>{var n=E8(),r=M(n);$i(r);var i=P(r,2),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(i),T(n),F((e,t,n,i)=>{ta(r,e),r.disabled=Z.failoverDraftSaving,W(r,`aria-label`,t),B(o,n),B(c,i)},[()=>Z.failoverDraftSelected(I(t)),()=>`Select failover draft for `+Z.failoverPrimaryModel(I(t)),()=>Z.failoverPrimaryModel(I(t)),()=>Z.failoverTargetLabel(I(t))]),L(`change`,r,e=>Z.setFailoverDraftSelected(I(t),e.currentTarget.checked)),z(e,n)}),T(t),z(e,t)},p=O(()=>!Z.failoverGenerating&&Z.filteredFailoverDrafts().length>0);V(d,e=>{I(p)&&e(f)});var m=P(d,2),h=e=>{z(e,O8())};V(m,e=>{!Z.failoverGenerating&&Z.failoverGeneratedRules.length===0&&!Z.failoverError&&e(h)});var g=P(m,2),_=e=>{z(e,k8())},v=O(()=>!Z.failoverGenerating&&Z.failoverGeneratedRules.length>0&&Z.filteredFailoverDrafts().length===0);V(g,e=>{I(v)&&e(_)});var y=P(g,2),b=e=>{var t=A8(),n=M(t,!0);T(t),F(()=>B(n,Z.failoverError)),z(e,t)};V(y,e=>{Z.failoverError&&e(b)});var x=P(y,2),S=M(x),C=P(S,2),w=M(C);K(w,{name:`save`,class:`form-action-icon`});var ee=P(w,2),te=M(ee,!0);T(ee),T(C),T(x),T(n),F(e=>{S.disabled=Z.failoverDraftSaving,C.disabled=e,B(te,Z.failoverDraftSaving?`Saving...`:`Save selected`)},[()=>Z.failoverGenerating||Z.failoverDraftSaving||Z.selectedFailoverDraftCount()===0]),L(`click`,S,()=>Z.closeFailoverDraftsModal()),L(`click`,C,()=>Z.saveSelectedFailoverDrafts()),z(e,n)},$$slots:{default:!0}}),D()}Hr([`click`,`change`]);var N8=R(`
        Rate limit management is unavailable.
        `),P8=R(` Add`,1),F8=R(`

        `),I8=R(`

        No rules.

        `),L8=R(` Edit`,1),R8=R(`
        `),z8=R(`
        `),B8=R(`

        `),V8=R(``),H8=R(``);function U8(e,t){E(t,!0);function n(){q.dialogOpen||X.closeRateLimitInspector()}lL(e,{get open(){return X.rateLimitInspectorOpen},variant:`editor`,onclose:n,children:(e,t)=>{var n=H8(),r=M(n),i=M(r),a=P(M(i),2),o=M(a),s=M(o,!0);T(o),T(a),T(i),sL(P(i,2),{label:`Close rate limits inspector`,onclick:()=>X.closeRateLimitInspector()}),T(r);var c=P(r,2),l=e=>{P1(e,{label:`Loading rate limits...`})},u=e=>{z(e,N8())},d=e=>{var t=Qr();H(N(t),17,()=>X.rateLimitInspectorSections(),e=>e.key,(e,t)=>{var n=B8(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2);{let e=O(()=>`Add `+I(t).title.toLowerCase());I1(o,{get label(){return I(e)},class:`budget-action-btn`,onclick:()=>X.openRateLimitFormFromInspector(I(t).scope,I(t).subject),children:(e,t)=>{var n=P8();K(N(n),{name:`plus`,class:`table-icon-svg`}),Ge(2),z(e,n)},$$slots:{default:!0}})}T(r);var s=P(r,2),c=e=>{var n=F8(),r=M(n,!0);T(n),F(()=>B(r,I(t).hint)),z(e,n)};V(s,e=>{I(t).hint&&e(c)});var l=P(s,2),u=e=>{z(e,I8())},d=e=>{var n=z8();H(n,21,()=>I(t).items,e=>X.rateLimitKey(e),(e,t)=>{var n=R8(),r=M(n),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s),l=M(c);{let e=O(()=>X.rateLimitIsConcurrent(I(t))?`activity`:`timer`);K(l,{get name(){return I(e)},class:`budget-period-icon`})}var u=P(l,2),d=M(u,!0);T(u),T(c),T(s);var f=P(s,2),p=M(f),m=M(p),h=M(m,!0);T(m);var g=P(m,2),_=M(g,!0);T(g),T(p);var v=P(p,2),y=M(v),b=e=>{I1(e,{label:`Edit rate limit`,class:`budget-action-btn`,onclick:()=>X.openRateLimitFormFromInspector(null,null,I(t)),children:(e,t)=>{var n=L8();K(N(n),{name:`pencil`,class:`budget-action-icon`}),Ge(2),z(e,n)},$$slots:{default:!0}})},x=O(()=>!X.rateLimitIsReadOnly(I(t)));V(y,e=>{I(x)&&e(b)}),T(v),T(f),T(i),T(r),T(n),F((e,t,r,i,a,s,c,l)=>{U(n,1,`budget-row ${e??``}`),zi(n,t),W(n,`title`,r),B(o,i),B(d,a),B(h,s),W(g,`title`,c),B(_,l)},[()=>X.rateLimitPressureClass(I(t)),()=>X.rateLimitPressureStyle(I(t)),()=>X.rateLimitPressurePercent(I(t))+`% of the most constrained cap used`,()=>X.rateLimitSubject(I(t)),()=>X.rateLimitPeriodLabel(I(t)),()=>X.rateLimitInspectorSummary(I(t)),()=>X.rateLimitIsReadOnly(I(t))?`Declared in configuration; read-only in the dashboard`:`Managed via dashboard or admin API`,()=>X.rateLimitSourceLabel(I(t))]),z(e,n)}),T(n),z(e,n)};V(l,e=>{I(t).items.length===0?e(u):e(d,-1)}),T(n),F(()=>B(a,I(t).title)),z(e,n)}),z(e,t)};V(c,e=>{X.rateLimitsLoading?e(l):X.rateLimitsAvailable?e(d,-1):e(u,1)});var f=P(c,2),p=M(f),m=P(p,2),h=e=>{var t=V8();L(`click`,t,()=>{X.closeRateLimitInspector(),EI.navigate(`rate-limits`)}),z(e,t)},g=O(()=>X.rateLimitsEnabled());V(m,e=>{I(g)&&e(h)}),T(f),T(n),F(()=>B(s,X.rateLimitInspector.title)),L(`click`,p,()=>X.closeRateLimitInspector()),z(e,n)},$$slots:{default:!0}}),D()}Hr([`click`]);var W8=R(`
        models
        `),G8=R(`
        Virtual models feature is unavailable.
        `),K8=R(`
        `),q8=R(``),J8=R(`
        `),Y8=R(``),X8=R(`
        `),Z8=R(`

        No models registered.

        `),Q8=R(`

        No models in this category.

        `),$8=R(`

        No models match your filter.

        `),e5=R(`
        `);function t5(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`models`&&(b3.fetchVirtualModels(),V3.fetchModelPricingOverrides(),Z.fetchFailoverRules(),X.fetchRateLimitsPage())}),Mn(()=>{let e=b3.filteredDisplayModels.length;return Or(()=>b3.restartModelRendering(e)),()=>b3.stopModelRendering()});let n=O(()=>q.needsAuth);var r=e5(),i=M(r),a=P(M(i),2),o=e=>{var t=W8(),n=M(t),r=M(n,!0);T(n),Ge(),T(t),F(()=>B(r,uR.filter?b3.filteredDisplayModels.length+` / `+b3.displayModels.length:b3.displayModels.length)),z(e,t)};V(a,e=>{b3.displayModels.length>0&&e(o)}),T(i);var s=P(i,2);fR(s,{});var c=P(s,2),l=e=>{z(e,G8())};V(c,e=>{!b3.virtualModelsAvailable&&!I(n)&&e(l)});var u=P(c,2),d=e=>{var t=K8(),n=M(t,!0);T(t),F(()=>B(n,b3.aliasError)),z(e,t)};V(u,e=>{b3.aliasError&&!I(n)&&e(d)});var f=P(u,2),p=e=>{var t=K8(),n=M(t,!0);T(t),F(()=>B(n,V3.modelPricingOverrideError)),z(e,t)};V(f,e=>{V3.modelPricingOverrideError&&!I(n)&&!V3.modelPricingOverrideFormOpen&&e(p)});var m=P(f,2),h=e=>{var t=J8();H(t,21,()=>uR.categories,e=>e.category,(e,t)=>{var n=q8();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(n),F(()=>{r=U(n,1,`category-tab svelte-scpjps`,null,r,{active:uR.activeCategory===I(t).category}),B(a,I(t).display_name),B(s,I(t).count)}),L(`click`,n,()=>uR.selectCategory(I(t).category)),z(e,n)}),T(t),z(e,t)};V(m,e=>{uR.categories.length>0&&e(h)});var g=P(m,2),_=e=>{var t=X8(),n=M(t);z$(M(n),{placeholder:`Filter by provider, provider/model, alias, or owner...`,label:`Filter models by provider, provider/model, alias, or owner`,get value(){return uR.filter},set value(e){uR.filter=e}}),T(n);var r=P(n,2),i=M(r),a=e=>{var t=Y8();K(M(t),{name:`plus`,class:`alias-create-icon`}),Ge(2),T(t),L(`click`,t,()=>b3.openVirtualModelCreate()),z(e,t)};V(i,e=>{b3.virtualModelsAvailable&&e(a)}),T(r),T(t),z(e,t)};V(g,e=>{(b3.displayModels.length>0||uR.filter||b3.virtualModelsAvailable)&&e(_)});var v=P(g,2),y=e=>{{let t=O(()=>b3.modelLoadingText());P1(e,{get label(){return I(t)},class:`models-loading-state`})}},b=O(()=>b3.modelsBusy()&&!I(n));V(v,e=>{I(b)&&e(y)});var x=P(v,2);i8(x,{});var S=P(x,2);h8(S,{});var C=P(S,2),w=e=>{R6(e,{})};V(C,e=>{(b3.displayModels.length>0||uR.filter)&&e(w)});var ee=P(C,2),te=e=>{z(e,Z8())};V(ee,e=>{b3.displayModels.length===0&&!uR.loading&&!I(n)&&!uR.filter&&(uR.activeCategory===`all`||!uR.activeCategory)&&e(te)});var ne=P(ee,2),re=e=>{z(e,Q8())};V(ne,e=>{b3.displayModels.length===0&&!uR.loading&&!I(n)&&!uR.filter&&uR.activeCategory&&uR.activeCategory!==`all`&&e(re)});var ie=P(ne,2),ae=e=>{z(e,$8())};V(ie,e=>{b3.displayModels.length>0&&b3.filteredDisplayModels.length===0&&uR.filter&&e(ae)});var oe=P(ie,2);U8(oe,{});var se=P(oe,2);t4(se,{});var ce=P(se,2);C8(ce,{}),M8(P(ce,2),{}),T(r),z(e,r),D()}Hr([`click`]);var n5=`draft-workflow-preview`;function r5(){return{scope_provider:``,scope_model:``,scope_user_path:``,name:``,description:``,features:{cache:!0,audit:!0,usage:!0,budget:!0,guardrails:!1,failover:!0},guardrails:[]}}function i5(){return{scope_provider:``,scope_model:``,scope_user_path:``}}function a5(e){return{ref:``,step:Number.isFinite(e)?e:10}}function o5(e){let t=e==null?``:String(e).trim();if(t===``)return NaN;let n=Number(t);return Number.isFinite(n)?n:NaN}function s5(e,t,n){if(!e||typeof e!=`object`||Array.isArray(e))return n;let r=t.charAt(0).toUpperCase()+t.slice(1);for(let n of[t,r])if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==null&&e[n]!==void 0)return e[n];return n}function c5(e,t){return!e||typeof e!=`object`||Array.isArray(e)?!1:[t,t.charAt(0).toUpperCase()+t.slice(1)].some(t=>Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==null&&e[t]!==void 0)}function l5(e){return{cache:!!s5(e,`cache`,!1),audit:!!s5(e,`audit`,!1),usage:!!s5(e,`usage`,!1),budget:s5(e,`budget`,!0)!==!1,guardrails:!!s5(e,`guardrails`,!1),failover:s5(e,`failover`,!0)!==!1}}function u5(e,t){let n=l5(e),r=t||{},i=n.usage&&!!r.usage;return{cache:n.cache&&!!r.cache,audit:n.audit&&!!r.audit,usage:i,budget:i&&n.budget&&!!r.budget,guardrails:n.guardrails&&!!r.guardrails,failover:n.failover&&!!r.failover}}function d5(e,t){let n=e&&e.workflow_payload&&e.workflow_payload.features?e.workflow_payload.features:e&&e.features?e.features:{};return{...u5((e&&e.effective_features&&typeof e.effective_features==`object`&&!Array.isArray(e.effective_features)?e.effective_features:null)||n,t),failover:l5(n).failover}}function f5(e,t){return d5(e,t).failover?`On`:`Off`}function p5(e){return(Array.isArray(e&&e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:Array.isArray(e&&e.guardrails)?e.guardrails:[]).map(e=>({ref:String(e&&e.ref||``).trim(),step:o5(e&&e.step)})).filter(e=>Number.isInteger(e.step)&&e.step>=0)}function m5(e,t){return d5(e,t).guardrails&&Array.isArray(e&&e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:[]}function h5(e){return String(e&&(e.scope_provider_name||e.scope_provider)||``).trim()}function g5(e){return String(e&&(e.provider_name||e.provider_type)||``).trim()}function _5(e,t){let n=new Set,r=String(t&&t.scope_provider||``).trim();return r&&n.add(r),(Array.isArray(e)?e:[]).forEach(e=>{let t=g5(e);t&&n.add(t)}),[...n].sort()}function v5(e,t,n){let r=String(t||``).trim(),i=new Set,a=String(n&&n.scope_provider||``).trim(),o=String(n&&n.scope_model||``).trim();return r&&r===a&&o&&i.add(o),(Array.isArray(e)?e:[]).forEach(e=>{if(r&&g5(e)!==r)return;let t=String(e&&e.model&&e.model.id||``).trim();t&&i.add(t)}),[...i].sort()}function y5(e){let t=String(e&&e.scope_type||``).trim();return t===`provider_model`?`Provider Name + Model`:t===`provider_model_path`?`Provider Name + Model + Path`:t===`provider_path`?`Provider Name + Path`:t===`path`?`Path`:t===`provider`?`Provider Name`:`Global`}function b5(e){return String(e&&e.scope_display||`global`).trim()||`global`}function x5(e){let t=String(e&&e.name||``).trim();if(t)return t;let n=b5(e);return n===`global`?`All models`:n}function S5(e){let t=String(e||``).trim();if(!t)return``;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`);for(let e of n){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function C5(e){if(S5(e))return``;let t=String(e||``).trim();if(!t)return``;let n=(t.startsWith(`/`)?t:`/`+t).split(`/`),r=[];for(let e of n){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function w5(e){let t=e||r5(),n=String(t.scope_provider||``).trim(),r=C5(t.scope_user_path);return{scope_provider:n,scope_model:n?String(t.scope_model||``).trim():``,scope_user_path:r}}function T5(e){let t=String(e&&e.scope_provider||``).trim(),n=t?String(e&&e.scope_model||``).trim():``,r=C5(e&&e.scope_user_path);return!t&&!r?`global`:!t&&r?`path`:!n&&!r?`provider`:!n&&r?`provider_path`:r?`provider_model_path`:`provider_model`}function E5(e){let t=String(e&&e.scope_provider||``).trim(),n=t?String(e&&e.scope_model||``).trim():``,r=C5(e&&e.scope_user_path),i=T5({scope_provider:t,scope_model:n,scope_user_path:r});return i===`global`?`global`:i===`path`?r:i===`provider`?t:i===`provider_path`?t+` @ `+r:i===`provider_model_path`?t+`/`+n+` @ `+r:t+`/`+n}function D5(e,t){let n=t||i5(),r=h5(e&&e.scope),i=r?String(e&&e.scope&&e.scope.scope_model||``).trim():``,a=C5(e&&e.scope&&e.scope.scope_user_path);return r===String(n.scope_provider||``).trim()&&i===String(n.scope_model||``).trim()&&a===C5(n.scope_user_path)}function O5(e,t,n){let r=w5(t);return!(r.scope_provider!==``||r.scope_model!==``||r.scope_user_path!==``)&&!n?null:(Array.isArray(e)?e:[]).find(e=>D5(e,r))||null}function k5(e){return String(e&&e.scope_type||``).trim()!==`global`}function A5(e){let t=String(e||``).trim();return t?t.length<=14?t:t.slice(0,12)+`…`:`—`}function j5(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.description,e.scope_display,e.scope_type,h5(e&&e.scope),e.scope&&e.scope.scope_model,e.scope&&e.scope.scope_user_path,e.workflow_hash,...Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails.map(e=>e.ref):[]].some(e=>String(e||``).toLowerCase().includes(r)))}function M5(e,t){let n=e||r5(),r=w5(n),i=l5(n.features||{}),a=u5(i,t);a.failover=i.failover;let o=!!a.guardrails,s=o?p5(n):[];return{id:n5,scope_type:T5(r),scope_display:E5(r),scope:{scope_provider_name:r.scope_provider,scope_model:r.scope_model,...r.scope_user_path?{scope_user_path:r.scope_user_path}:{}},name:String(n.name||``).trim(),description:String(n.description||``).trim(),workflow_payload:{schema_version:1,features:{cache:!!a.cache,audit:!!a.audit,usage:!!a.usage,budget:!!a.budget,guardrails:o,failover:!!a.failover},guardrails:s}}}function N5({form:e,caps:t,workflows:n=[],formHydrated:r=!1,hydratedScope:i=null}){let a=e||r5(),o=String(a.scope_provider||``).trim(),s=o?String(a.scope_model||``).trim():``,c=C5(a.scope_user_path),l=l5(a.features||{}),u=u5(l,t),d=O5(n,a,r),f=d&&d.workflow_payload&&d.workflow_payload.features,p=c5(f,`failover`),m=p?s5(f,`failover`,!0)!==!1:null,h=i||i5(),g=String(h.scope_provider||``).trim()===o&&String(h.scope_model||``).trim()===s&&C5(h.scope_user_path)===C5(c),_=!!(t&&t.failover),v=_||!!r&&g&&Object.prototype.hasOwnProperty.call(l,`failover`)||!r&&!!d&&p,y=u.guardrails?(Array.isArray(a.guardrails)?a.guardrails:[]).map(e=>({ref:String(e&&e.ref||``).trim(),step:o5(e&&e.step)})):[],b={scope_provider_name:o,scope_model:s,...c?{scope_user_path:c}:{},name:String(a.name||``).trim(),description:String(a.description||``).trim(),workflow_payload:{schema_version:1,features:{cache:!!u.cache,audit:!!u.audit,usage:!!u.usage,budget:!!u.budget,guardrails:!!u.guardrails},guardrails:y}};return v&&(b.workflow_payload.features.failover=!_&&!r&&d&&p?m:!!l.failover),b}function P5(e,{models:t=[],hydratedScope:n=null}={}){let r=n||i5(),i=String(r.scope_provider||``).trim(),a=String(r.scope_model||``).trim(),o=String(e&&(e.scope_provider_name||e.scope_provider)||``).trim(),s=String(e&&e.scope_model||``).trim();if(o&&!_5(t,r).includes(o)&&o!==i)return`Choose a registered provider name.`;if(s&&!o)return`Model selection requires a provider name.`;if(s){let e=v5(t,o,r),n=o===i&&s===a;if(!e.includes(s)&&!n)return`Choose a registered model for the selected provider name.`}let c=S5(e.scope_user_path);if(c)return c;let l=e.workflow_payload&&e.workflow_payload.features?e.workflow_payload.features:{},u=Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails:[];if(!l.guardrails)return``;let d=new Set;for(let e of u){if(!e.ref)return`Each guardrail step needs a guardrail ref.`;if(!Number.isInteger(e.step)||e.step<0)return`Each guardrail step must use a non-negative integer step number.`;if(d.has(e.ref))return`Each guardrail ref may appear only once in a workflow.`;d.add(e.ref)}return``}var F5=new class{#e=k(j([]));get workflows(){return I(this.#e)}set workflows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get submitting(){return I(this.#o)}set submitting(e){A(this.#o,e,!0)}#s=k(``);get deactivatingID(){return I(this.#s)}set deactivatingID(e){A(this.#s,e,!0)}#c=k(``);get formError(){return I(this.#c)}set formError(e){A(this.#c,e,!0)}#l=k(!1);get formHydrated(){return I(this.#l)}set formHydrated(e){A(this.#l,e,!0)}#u=k(j(i5()));get hydratedScope(){return I(this.#u)}set hydratedScope(e){A(this.#u,e,!0)}#d=k(j([]));get guardrailRefs(){return I(this.#d)}set guardrailRefs(e){A(this.#d,e,!0)}#f=k(j(r5()));get form(){return I(this.#f)}set form(e){A(this.#f,e,!0)}#p=null;failoverVisible(){return eL.booleanFlag(`FAILOVER_ENABLED`,!0)}featureCaps(){return{cache:eL.cacheVisible(),audit:eL.auditVisible(),usage:eL.usageVisible(),budget:eL.budgetsVisible(),guardrails:eL.guardrailsVisible(),failover:this.failoverVisible()}}get filteredWorkflows(){return j5(this.workflows,this.filter)}providerOptions(){return _5(uR.models,this.hydratedScope)}modelOptions(e){return v5(uR.models,e,this.hydratedScope)}activeScopeMatch(){return O5(this.workflows,this.form,this.formHydrated)}submitMode(){return this.activeScopeMatch()?`save`:`create`}submitLabel(){return this.submitMode()===`save`?`Save`:`Create`}submittingLabel(){return this.submitMode()===`save`?`Saving...`:`Creating...`}preview(){return M5(this.form,this.featureCaps())}openCreate(e){if(this.formOpen=!0,this.submitting=!1,this.formError=``,!e){this.formHydrated=!1,this.hydratedScope=i5(),this.form=r5();return}this.formHydrated=!0,this.hydratedScope={scope_provider:h5(e.scope),scope_model:String(e.scope&&e.scope.scope_model||``).trim(),scope_user_path:String(e.scope&&e.scope.scope_user_path||``).trim()};let t=e.workflow_payload&&e.workflow_payload.features?l5(e.workflow_payload.features):d5(e,this.featureCaps()),n=Array.isArray(e.workflow_payload&&e.workflow_payload.guardrails)?e.workflow_payload.guardrails.map(e=>({ref:String(e&&e.ref||``).trim(),step:o5(e&&e.step)})).filter(e=>Number.isInteger(e.step)&&e.step>=0):p5(e);this.form={scope_provider:h5(e.scope),scope_model:String(e.scope&&e.scope.scope_model||``),scope_user_path:String(e.scope&&e.scope.scope_user_path||``),name:String(e.name||``),description:String(e.description||``),features:{cache:!!t.cache,audit:!!t.audit,usage:!!t.usage,budget:!!t.budget,guardrails:!!t.guardrails,failover:!!t.failover},guardrails:n.map(e=>({ref:String(e&&e.ref||``),step:Number.isFinite(e&&e.step)?e.step:10}))}}closeForm(){this.formOpen=!1,this.submitting=!1,this.formError=``,this.formHydrated=!1,this.hydratedScope=i5(),this.form=r5()}setProvider(e){if(this.form.scope_provider=String(e||``).trim(),!this.form.scope_provider){this.form.scope_model=``;return}this.modelOptions(this.form.scope_provider).includes(String(this.form.scope_model||``).trim())||(this.form.scope_model=``)}addGuardrailStep(){let e=(Array.isArray(this.form.guardrails)?this.form.guardrails:[]).reduce((e,t)=>{let n=Number(t&&t.step);return Number.isFinite(n)?Math.max(e,n):e},0)+10;this.form.guardrails.push(a5(e))}removeGuardrailStep(e){Array.isArray(this.form.guardrails)&&this.form.guardrails.splice(e,1)}buildRequest(){return N5({form:this.form,caps:this.featureCaps(),workflows:this.workflows,formHydrated:this.formHydrated,hydratedScope:this.hydratedScope})}async fetchWorkflows(){this.#p&&this.#p.abort();let e=new AbortController;this.#p=e,this.loading=!0,this.error=``;let t=setTimeout(()=>e.abort(),1e4),n=await L1(`/admin/workflows`,{label:`workflows`,options:{signal:e.signal}});if(clearTimeout(t),this.#p===e&&(this.#p=null,this.loading=!1,n.status!==`stale`)){if(n.status===`unavailable`){this.available=!1,this.workflows=[];return}if(n.result&&(this.available=!0),n.status===`error`){this.workflows=[],this.error=e.signal.aborted?`Loading workflows timed out.`:n.error;return}this.workflows=n.items}}async fetchGuardrailRefs(){let e=await L1(`/admin/workflows/guardrails`,{label:`workflow guardrails`});e.status!==`stale`&&(this.guardrailRefs=e.items)}async fetchPage(){await Promise.all([eL.ensureLoaded(),this.fetchWorkflows(),this.fetchGuardrailRefs()])}async submitForm(){if(this.submitting)return;this.formError=``;let e=this.buildRequest(),t=P5(e,{models:uR.models,hydratedScope:this.hydratedScope});if(t){this.formError=t;return}this.submitting=!0;try{let t=await R1(`/admin/workflows`,`POST`,e,{label:`create workflow`,unavailableStatuses:[]});if(t.status===`stale`||t.result&&t.result.status===401)return;if(t.status===`error`){this.formError=t.error;return}kL.success(`Workflow created and activated.`),this.closeForm(),this.fetchPage()}finally{this.submitting=!1}}async deactivate(e){let t=String(e&&e.id||``).trim();if(!t||this.deactivatingID||!k5(e))return;let n=x5(e);if(confirm(`Deactivate workflow "`+n+`"? Requests will fall back to the next active workflow for this scope.`)){this.deactivatingID=t;try{let e=await R1(`/admin/workflows/`+encodeURIComponent(t)+`/deactivate`,`POST`,void 0,{label:`deactivate workflow`,unavailableStatuses:[]});if(e.status===`stale`||e.result&&e.result.status===401)return;if(e.status===`error`){kL.error(e.error);return}kL.success(`Workflow deactivated.`),this.fetchPage()}finally{this.deactivatingID=``}}}};function I5(e){let t=String(e??``),n=typeof navigator<`u`?navigator.clipboard:null;if(n&&typeof n.writeText==`function`)return n.writeText(t);let r=typeof document<`u`?document:null;if(!r||!r.body||typeof r.execCommand!=`function`)return Promise.reject(Error(`Clipboard API unavailable`));let i=r.createElement(`textarea`);i.value=t,i.setAttribute(`readonly`,``),i.style.position=`fixed`,i.style.top=`0`,i.style.left=`0`,i.style.opacity=`0`;try{if(r.body.appendChild(i),i.focus(),i.select(),i.setSelectionRange(0,i.value.length),!r.execCommand(`copy`))throw Error(`execCommand copy returned false`)}finally{i.parentNode&&i.parentNode.removeChild(i)}return Promise.resolve()}function L5({resetDelayMs:e=2e3,logPrefix:t}={}){let n=j({copied:!1,error:!1}),r=null;function i(){r!==null&&clearTimeout(r),r=null}function a(){i(),r=setTimeout(()=>{n.copied=!1,n.error=!1,r=null},e)}return{get copied(){return n.copied},get error(){return n.error},reset(){i(),n.copied=!1,n.error=!1},async copy(e,r){if(!(e==null||e===``)){i(),n.copied=!1,n.error=!1;try{await I5(typeof r==`function`?r(e):String(e)),n.copied=!0,n.error=!1}catch(e){console.error(t||`Failed to copy text:`,e),n.copied=!1,n.error=!0}a()}}}}var R5=R(``);function z5(e,t){E(t,!0);let n=G(t,`workflowID`,3,``),r=L5({logPrefix:`Failed to copy workflow ID:`});Mn(()=>{n(),r.reset()});let i=O(()=>r.error?`Unable to copy workflow ID`:r.copied?`Workflow ID copied`:`Copy workflow ID`),a=O(()=>n()?I(i)+` `+n():I(i));async function o(e){e.preventDefault(),n()&&await r.copy(n())}var s=R5();let c;var l=P(M(s),4),u=M(l,!0);T(l);var d=P(l,2);K(M(d),{name:`copy`}),T(d),T(s),F(()=>{c=U(s,1,`workflow-pipeline-meta mono svelte-1viff7o`,null,c,{"workflow-pipeline-meta-copied":r.copied,"workflow-pipeline-meta-error":r.error}),W(s,`title`,I(i)),W(s,`aria-label`,I(a)),B(u,n())}),L(`click`,s,o),z(e,s),D()}Hr([`click`]);var B5=(e,t)=>{let n=()=>(t?.()).icon,r=()=>(t?.()).label,i=At(()=>_((t?.()).variant,`workflow-node-feature`)),a=()=>(t?.()).state,o=()=>(t?.()).sub,s=()=>(t?.()).badge;var c=W5(),l=M(c),u=e=>{var t=V5();let r;K(M(t),{get name(){return n()}}),T(t),F(()=>r=U(t,1,`workflow-node-icon svelte-nbptrg`,null,r,{"workflow-node-icon-endpoint":I(i)===`workflow-node-endpoint`})),z(e,t)};V(l,e=>{n()&&e(u)});var d=P(l,2),f=M(d,!0);T(d);var p=P(d,2),m=e=>{var t=H5(),n=M(t,!0);T(t),F(()=>B(n,s())),z(e,t)};V(p,e=>{s()&&e(m)});var h=P(p,2),g=e=>{var t=U5(),n=M(t,!0);T(t),F(()=>B(n,o())),z(e,t)};V(h,e=>{o()&&e(g)}),T(c),F(()=>{U(c,1,`workflow-node ${I(i)??``} ${(a()||``)??``}`,`svelte-nbptrg`),B(f,r())}),z(e,c)},V5=R(`
        `),H5=R(` `),U5=R(` `),W5=R(`
        `),G5=R(`
        `,1),K5=R(`
        `,1),q5=R(`
        `),J5=R(`
        Async
        `),Y5=R(`
        `);function X5(e,t){E(t,!0);let n=G(t,`chart`,19,()=>({}));var r=Y5();let i;var a=M(r),o=e=>{z5(e,{get workflowID(){return n().workflowID}})};V(a,e=>{n().workflowID&&e(o)});var s=P(a,2),c=M(s);B5(c,()=>({icon:`user`,label:`Client`,variant:`workflow-node-endpoint`}));var l=P(c,4);B5(l,()=>({icon:`database`,label:`Auth`,state:n().authNodeClass,sub:n().authNodeSublabel}));var u=P(l,2),d=e=>{var t=G5(),r=N(t);B5(P(r,2),()=>({icon:`database`,label:`Cache`,state:n().cacheNodeClass,badge:n().cacheStatusLabel})),F(()=>U(r,1,`workflow-conn ${(n().cacheConnClass||``)??``}`,`svelte-nbptrg`)),z(e,t)};V(u,e=>{n().showCache&&e(d)});var f=P(u,2),p=e=>{var t=K5();B5(P(N(t),2),()=>({icon:`wallet`,label:`Budget`,state:n().budgetNodeClass,badge:n().budgetStatusLabel})),z(e,t)};V(f,e=>{n().showBudget&&e(p)});var m=P(f,2),h=e=>{var t=K5();B5(P(N(t),2),()=>({icon:`shield`,label:`Guardrails`,sub:n().guardrailLabel})),z(e,t)};V(m,e=>{n().showGuardrails&&e(h)});var g=P(m,2),_=P(g,2);B5(_,()=>({label:n().aiLabel,variant:`workflow-node-ai`,state:n().aiNodeClass,sub:n().aiSublabel}));var v=P(_,2),y=e=>{var t=G5(),r=N(t);B5(P(r,2),()=>({icon:`maximize-2`,label:`Failover`,state:n().failoverNodeClass,badge:n().failoverStatusLabel,sub:n().failoverTargetLabel})),F(()=>U(r,1,`workflow-conn ${(n().failoverConnClass||``)??``}`,`svelte-nbptrg`)),z(e,t)};V(v,e=>{n().showFailover&&e(y)});var b=P(v,2);B5(P(b,2),()=>({icon:`circle-check-big`,label:`Response`,variant:`workflow-node-endpoint`,state:n().responseNodeClass,sub:n().responseNodeSublabel})),T(s);var x=P(s,2),S=e=>{var t=J5(),r=M(t),i=M(r),a=e=>{B5(e,()=>({icon:`chart-column-increasing`,label:`Usage`,variant:`workflow-node-feature workflow-node-async`,state:n().usageNodeClass}))};V(i,e=>{n().showUsage&&e(a)});var o=P(i,2),s=e=>{z(e,q5())};V(o,e=>{n().showUsage&&n().showAudit&&e(s)});var c=P(o,2),l=e=>{B5(e,()=>({icon:`file-text`,label:`Audit Log`,variant:`workflow-node-feature workflow-node-async`,state:n().auditNodeClass}))};V(c,e=>{n().showAudit&&e(l)}),T(r),Ge(4),T(t),z(e,t)};V(x,e=>{n().showAsync&&e(S)}),T(r),F(()=>{i=U(r,1,`workflow-pipeline svelte-nbptrg`,null,i,{"workflow-pipeline-has-meta":n().workflowID}),U(g,1,`workflow-conn ${(n().aiConnClass||``)??``}`,`svelte-nbptrg`),U(b,1,`workflow-conn ${(n().responseConnClass||``)??``}`,`svelte-nbptrg`)}),z(e,r),D()}function Z5(e){let t=p5(e).length;return t===0?``:t===1?`1 step`:t+` steps`}function Q5(e,t){return t&&t.provider?t.provider:h5(e&&e.scope)||`AI`}function $5(e,t){return t&&t.model?t.model:e&&e.scope&&e.scope.scope_model||null}function e7(e,t){let n=String(e&&e.id||``).trim();if(n&&n!==`draft-workflow-preview`)return n;let r=String(t&&t.workflow_version_id||``).trim();return r&&r!==`draft-workflow-preview`?r:null}function t7(e){let t=e&&e.data&&e.data.workflow_features;return!t||typeof t!=`object`||Array.isArray(t)?null:l5(t)}function n7(e){let t=e&&e.data&&e.data.failover;if(!t||typeof t!=`object`||Array.isArray(t))return null;let n=String(t.target_model||t.targetModel||``).trim()||null;return n?{targetModel:n}:null}function r7(e,t=0){if(t>4||e==null)return``;if(typeof e==`string`){let n=e.trim();if(!n||n[0]!==`{`&&n[0]!==`[`)return``;try{return r7(JSON.parse(n),t+1)}catch{return``}}if(Array.isArray(e)){for(let n of e){let e=r7(n,t+1);if(e)return e}return``}return typeof e==`object`?String(e.code||``).trim()||(e.error===void 0?``:r7(e.error,t+1)):``}function i7(e){let t=e&&e.data&&typeof e.data==`object`&&!Array.isArray(e.data)?e.data:{};return String(t.error_code||t.errorCode||``).trim()||r7(t.response_body)}function a7(e){let t=String(e||``).trim();if(!t)return null;let n=t.indexOf(`/`);return n<=0||n>=t.length-1?null:{provider:t.slice(0,n),model:t.slice(n+1)}}function o7(e,t){let n=String(e&&(e.requested_model||e.model)||``).trim(),r=n7(e);if(!(r&&r.targetModel))return{provider:String(e&&e.provider||``).trim()||null,model:n||null};let i=a7(n);if(i)return i;let a=h5(t&&t.scope),o=a?String(t&&t.scope&&t.scope.scope_model||``).trim():``;return a||o?{provider:a||null,model:o||n||null}:{provider:null,model:n||null}}function s7(e,t){if(!e)return null;let n=(()=>{let t=String(e.cache_type||``).trim().toLowerCase();return t===`exact`||t===`semantic`?t:null})(),r=(()=>{if(e.status_code===void 0||e.status_code===null)return null;let t=String(e.status_code).trim();if(!t)return null;let n=Number(t);return Number.isFinite(n)?n:null})(),i=n?!0:e.cache_hit!==void 0&&e.cache_hit!==null&&!!e.cache_hit,a=n7(e),o=o7(e,t),s=Number.isFinite(r)&&r>=200&&r<300,c=String(e.error_type||``).trim().toLowerCase()===`authentication_error`,l=String(e.auth_method||``).trim().toLowerCase()||null,u=i7(e).toLowerCase()===`budget_exceeded`;return{cacheHit:i,cacheType:n||null,failoverTarget:a&&a.targetModel?a.targetModel:null,provider:o.provider,model:o.model,statusCode:r,responseSuccess:s,aiSuccess:s&&!i,authError:c,authMethod:l,budgetExceeded:u}}function c7(e){return!!(e&&e.cacheHit)}function l7(e){return!!(e&&e.failoverTarget)}function u7(e){return!!(e&&e.budgetExceeded)}function d7(e,t){return t?`workflow-node-current`:e&&e.cacheHit?`workflow-node-success`:``}function f7(e){return e&&e.cacheHit?`workflow-conn-hit`:``}function p7(e){return!e||!e.cacheHit?null:e.cacheType===`semantic`?`Hit (Semantic)`:`Hit (Exact)`}function m7(e,t,n,r){return e?u7(t)?`workflow-node-error`:r?`workflow-node-current`:n?`workflow-node-success`:``:``}function h7(e){return u7(e)?`Exceeded`:null}function g7(e){return e&&e.cacheHit?`workflow-node-skipped`:e&&e.failoverTarget?`workflow-node-success`:``}function _7(e){return e&&e.cacheHit?`workflow-conn-dim`:e&&e.failoverTarget?`workflow-conn-hit`:``}function v7(e){return e&&e.failoverTarget?`Redirected`:null}function y7(e){return e&&e.failoverTarget?e.failoverTarget:null}function b7(e){return e&&e.cacheHit?`workflow-conn-dim`:``}function x7(e,t){return e?e.cacheHit?`workflow-node-skipped`:t?`workflow-node-current`:e.aiSuccess?`workflow-node-success`:``:``}function Fte(e,t){if(!e)return``;let n=e.statusCode;return!Number.isFinite(n)&&t?`workflow-node-current`:Number.isFinite(n)?n>=500?`workflow-node-error`:n>=400?`workflow-node-warning`:n>=300?`workflow-node-neutral`:n>=200?`workflow-node-success`:``:``}function Ite(e){return!e||!Number.isFinite(e.statusCode)?null:String(e.statusCode)}function Lte(e,t){return e?e.authError?`workflow-node-error`:t?`workflow-node-current`:e.authMethod===`api_key`||e.authMethod===`master_key`?`workflow-node-success`:``:``}function Rte(e){return!e||!e.authMethod?null:e.authMethod}function S7(e,t,n){return e?n?`workflow-node-current`:t?`workflow-node-success`:``:``}function C7(e,t){if(!e||!e._live)return!!t;let n=String(e._live_state||``).trim();return!!e._audit_flushed||n===`audit.flushed`||n===`audit.detail`}function zte(e,t){if(!e)return!!t;let n=e.usage||{},r=Number(n.entries||0)>0;if(!e._live)return r;let i=String(e._usage_live_state||``).trim();return e._usage_flushed||i===`usage.flushed`?!0:!e._usage_live_pending&&r&&!e._live_pending}function w7(e){return!!(e&&e._live&&e._usage_live_pending&&!e._usage_flushed)}function T7(e,t){return!e||!e._live||C7(e,!1)?!1:String(e._live_state||``).trim()===`audit.completed`||!!(t&&Number.isFinite(t.statusCode))}function Bte(e,t,n){return!e||!e._live?``:w7(e)?`usage`:T7(e,t)?`audit`:C7(e,!1)&&!e._live_pending?``:t&&t.cacheHit?`cache`:t&&(t.provider||t.model)?`ai`:n&&n.budget&&(e.workflow_version_id||e.requested_model)?`budget`:t&&t.authMethod?``:`auth`}function E7(e,t,n,r){let i=n||{},a=i.features&&typeof i.features==`object`&&!Array.isArray(i.features)?l5(i.features):d5(e,r),o=!!i.forceAudit,s=!!i.highlightAsyncPresent,c=!!a.budget||u7(t),l=!!a.guardrails,u=!!a.usage,d=o||!!a.audit,f=!!i.forceAsync||!!(u||d),p=!!a.failover||l7(t),m=e7(e,i.entry),h=Bte(i.entry,t,a),g=w7(i.entry),_=T7(i.entry,t),v=C7(i.entry,s),y=zte(i.entry,s);return{showBudget:c,budgetNodeClass:m7(c,t,s,h===`budget`),budgetStatusLabel:h7(t),showGuardrails:l,guardrailLabel:l?Z5(e):``,showCache:!!i.forceCache||!!a.cache||c7(t),cacheNodeClass:d7(t,h===`cache`),cacheConnClass:f7(t),cacheStatusLabel:p7(t),showFailover:p,failoverNodeClass:p?g7(t):``,failoverConnClass:p?_7(t):``,failoverStatusLabel:p?v7(t):null,failoverTargetLabel:p?y7(t):null,aiLabel:Q5(e,t),aiSublabel:$5(e,t),aiConnClass:b7(t),aiNodeClass:x7(t,h===`ai`),responseConnClass:b7(t),responseNodeClass:Fte(t,h===`response`),responseNodeSublabel:Ite(t),authNodeClass:Lte(t,h===`auth`),authNodeSublabel:Rte(t),usageNodeClass:S7(u,y,g),auditNodeClass:S7(d,v,_),showAsync:f,showUsage:u,showAudit:d,workflowID:m}}function Vte(e,t){return E7(e,null,{forceCache:!1},t)}function Hte(e,t,n){return E7(t,s7(e,t),{entry:e,features:t7(e)||(t?d5(t,n):{cache:!1,audit:!1,usage:!1,budget:!1,guardrails:!1,failover:!1}),forceAudit:!0,forceAsync:!0,highlightAsyncPresent:!0},n)}var Ute=R(`

        `),Wte=R(`

        `),Gte=R(`
        `),Kte=R(`
        `),qte=R(`

        No guardrails configured for this workflow.

        `),Jte=R(`

        Guardrails

        `),Yte=R(``),Xte=R(`

        `);function D7(e,t){E(t,!0);let n=G(t,`preview`,3,!1),r=O(()=>F5.featureCaps()),i=O(()=>x5(t.workflow)),a=O(()=>m5(t.workflow,I(r))),o=O(()=>Vte(t.workflow,I(r))),s=O(()=>n()?`draft-workflow-preview-guardrail-`:t.workflow.id+`-guardrail-`);var c=Xte();let l;var u=M(c),d=M(u),f=M(d),p=M(f,!0);T(f);var m=P(f,2),h=M(m,!0);T(m),T(d);var g=P(d,2),_=M(g),v=M(_,!0);T(_),T(g),T(u);var y=P(u,2),b=e=>{var n=Ute(),r=M(n,!0);T(n),F(()=>B(r,t.workflow.description)),z(e,n)};V(y,e=>{t.workflow.description&&e(b)});var x=P(y,2),S=e=>{var n=Wte(),i=M(n);T(n),F(e=>B(i,`Failover: ${e??``}`),[()=>f5(t.workflow,I(r))]),z(e,n)},C=O(()=>F5.failoverVisible());V(x,e=>{I(C)&&e(S)});var w=P(x,2);X5(w,{get chart(){return I(o)}});var ee=P(w,2),te=e=>{var t=Jte(),n=M(t),r=P(M(n),2),i=M(r,!0);T(r),T(n);var o=P(n,2),c=e=>{var t=Kte();H(t,23,()=>I(a),(e,t)=>I(s)+t,(e,t)=>{var n=Gte(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=M(a);T(a),T(n),F(()=>{B(i,I(t).ref),B(o,`step ${I(t).step??``}`)}),z(e,n)}),T(t),z(e,t)},l=e=>{z(e,qte())};V(o,e=>{I(a).length>0?e(c):e(l,-1)}),T(t),F(()=>B(i,I(a).length?I(a).length+` steps`:`None`)),z(e,t)},ne=O(()=>eL.guardrailsVisible());V(ee,e=>{I(ne)&&e(te)});var re=P(ee,2),ie=e=>{var n=Yte(),r=M(n),a=M(r),o=M(a,!0);T(a);var s=P(a,2);{let e=O(()=>`Edit workflow `+I(i));I1(s,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>F5.openCreate(t.workflow),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(r);var c=P(r,2),l=M(c),u=M(l);T(l);var d=P(l,2),f=M(d);T(d);var p=P(d,2),m=M(p);T(p),T(c),T(n),F((e,n,r,s)=>{a.disabled=e,W(a,`aria-label`,`Deactivate workflow `+I(i)),W(a,`title`,n),B(o,F5.deactivatingID===t.workflow.id?`Deactivating...`:`Deactivate`),B(u,`version: v${t.workflow.version??``}`),B(f,`created: ${r??``}`),B(m,`hash: ${s??``}`)},[()=>F5.deactivatingID===t.workflow.id||!k5(t.workflow),()=>k5(t.workflow)?`Deactivate active workflow`:`The global workflow cannot be deactivated.`,()=>UI.formatTimestamp(t.workflow.created_at),()=>A5(t.workflow.workflow_hash)]),L(`click`,a,()=>F5.deactivate(t.workflow)),z(e,n)};V(re,e=>{n()||e(ie)}),T(c),F((e,t)=>{l=U(c,1,`workflow-card svelte-1fo9fvq`,null,l,{"workflow-preview-card":n()}),B(p,e),B(h,I(i)),B(v,t)},[()=>y5(t.workflow),()=>b5(t.workflow)]),z(e,c),D()}Hr([`click`]);var Zte=R(`

        `),O7=R(``),Qte=R(``),$te=R(``),ene=R(``),tne=R(``),nne=R(``),rne=R(``),ine=R(``),ane=R(``),one=R(``),sne=R(``),cne=R(``),lne=R(`
        No named guardrails are currently registered on this deployment. You can still draft a workflow, but guardrail-backed creation may be rejected.
        `),une=R(`
        `),dne=R(`
        `),fne=R(`

        No guardrail steps configured yet.

        `),pne=R(`

        Guardrail Steps

        Guardrails in the same numeric step run together. Later steps wait for earlier ones to finish.

        `),mne=R(`

        Leave provider name empty to target all providers and models. Select a provider name without a model to target all models for that configured provider.

        Add a path to scope the workflow to that subtree. Leading slashes are optional and will be normalized; you can enter "team/alpha" or "/team/alpha". Matching checks the deepest user path first, then falls back toward the root.

        If you leave the name empty, the workflow will display as the matched provider/model scope or “All models”.

        Preview

        Live
        `,1);function hne(e,t){E(t,!0);{let t=e=>{xQ(e,{copyId:`workflow-help-copy`,label:`workflow help`,text:`Create immutable version. Submitting activates it for the selected scope.`,title:e=>{var t=Zte(),n=M(t,!0);T(t),F(e=>B(n,e),[()=>F5.submitMode()===`save`?`Edit Workflow`:`Create Workflow`]),z(e,t)},$$slots:{title:!0}})},n=O(()=>F5.submitLabel()),r=O(()=>F5.submittingLabel()),i=O(()=>F5.submitMode()===`create`?`plus`:`save`);B0(e,{get open(){return F5.formOpen},ariaLabel:`Workflow editor`,get error(){return F5.formError},get submitting(){return F5.submitting},get submitLabel(){return I(n)},get submittingLabel(){return I(r)},get submitIcon(){return I(i)},dialogClass:`workflow-editor`,onclose:()=>F5.closeForm(),onsubmit:()=>F5.submitForm(),header:t,children:(e,t)=>{var n=mne(),r=N(n),i=M(r);H0(i,{id:`workflow-scope-provider`,label:`Provider Name`,children:(e,t)=>{var n=Qte(),r=M(n);r.value=r.__value=``,H(P(r),16,()=>F5.providerOptions(),e=>e,(e,t)=>{var n=O7(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(n),L(`change`,n,e=>F5.setProvider(e.currentTarget.value)),Hi(n,()=>F5.form.scope_provider,e=>F5.form.scope_provider=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2),o=e=>{H0(e,{id:`workflow-scope-model`,label:`Model`,children:(e,t)=>{var n=$te(),r=M(n);r.value=r.__value=``,H(P(r),17,()=>F5.modelOptions(F5.form.scope_provider),e=>F5.form.scope_provider+`-`+e,(e,t)=>{var n=O7(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t)),i!==(i=I(t))&&(n.value=(n.__value=I(t))??``)}),z(e,n)}),T(n),Hi(n,()=>F5.form.scope_model,e=>F5.form.scope_model=e),z(e,n)},$$slots:{default:!0}})};V(a,e=>{F5.form.scope_provider&&e(o)});var s=P(a,2);H0(s,{id:`workflow-name`,label:`Name`,children:(e,t)=>{var n=ene();$i(n),ca(n,()=>F5.form.name,e=>F5.form.name=e),z(e,n)},$$slots:{default:!0}}),H0(P(s,2),{id:`workflow-user-path`,label:`User Path`,children:(e,t)=>{var n=tne();$i(n),ca(n,()=>F5.form.scope_user_path,e=>F5.form.scope_user_path=e),z(e,n)},$$slots:{default:!0}}),T(r);var c=P(r,8);H0(c,{id:`workflow-description`,label:`Description`,children:(e,t)=>{var n=nne();mt(n),ca(n,()=>F5.form.description,e=>F5.form.description=e),z(e,n)},$$slots:{default:!0}});var l=P(c,2),u=M(l),d=e=>{var t=rne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.cache,e=>F5.form.features.cache=e),z(e,t)},f=O(()=>eL.cacheVisible());V(u,e=>{I(f)&&e(d)});var p=P(u,2),m=e=>{var t=ine(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.audit,e=>F5.form.features.audit=e),z(e,t)},h=O(()=>eL.auditVisible());V(p,e=>{I(h)&&e(m)});var g=P(p,2),_=e=>{var t=ane(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.usage,e=>F5.form.features.usage=e),z(e,t)},v=O(()=>eL.usageVisible());V(g,e=>{I(v)&&e(_)});var y=P(g,2),b=e=>{var t=one(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.budget,e=>F5.form.features.budget=e),z(e,t)},x=O(()=>eL.budgetsVisible());V(y,e=>{I(x)&&e(b)});var S=P(y,2),C=e=>{var t=sne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.guardrails,e=>F5.form.features.guardrails=e),z(e,t)},w=O(()=>eL.guardrailsVisible());V(S,e=>{I(w)&&e(C)});var ee=P(S,2),te=e=>{var t=cne(),n=M(t);$i(n),Ge(2),T(t),la(n,()=>F5.form.features.failover,e=>F5.form.features.failover=e),z(e,t)},ne=O(()=>F5.failoverVisible());V(ee,e=>{I(ne)&&e(te)}),T(l);var re=P(l,2),ie=P(M(re),2);{let e=O(()=>F5.preview());D7(ie,{get workflow(){return I(e)},preview:!0})}T(re);var ae=P(re,2),oe=e=>{var t=pne(),n=M(t),r=P(M(n),2);T(n);var i=P(n,2),a=e=>{var t=lne(),n=P(M(t),2);T(t),L(`click`,n,()=>EI.navigate(`guardrails`)),z(e,t)};V(i,e=>{F5.guardrailRefs.length===0&&e(a)});var o=P(i,2),s=e=>{var t=dne();H(t,21,()=>F5.form.guardrails,ai,(e,t,n)=>{var r=une(),i=M(r),a=M(i);W(a,`for`,`workflow-guardrail-ref-`+n);var o=P(a,2);$i(o),W(o,`id`,`workflow-guardrail-ref-`+n),W(o,`aria-label`,`Guardrail reference `+(n+1)),T(i);var s=P(i,2),c=M(s);W(c,`for`,`workflow-guardrail-step-`+n);var l=P(c,2);$i(l),W(l,`id`,`workflow-guardrail-step-`+n),W(l,`aria-label`,`Guardrail step `+(n+1)),T(s);var u=P(s,2);T(r),ca(o,()=>I(t).ref,e=>I(t).ref=e),ca(l,()=>I(t).step,e=>I(t).step=e),L(`click`,u,()=>F5.removeGuardrailStep(n)),z(e,r)}),T(t),z(e,t)},c=e=>{z(e,fne())};V(o,e=>{F5.form.guardrails.length>0?e(s):e(c,-1)}),T(t),L(`click`,r,()=>F5.addGuardrailStep()),z(e,t)},se=O(()=>F5.form.features.guardrails&&eL.guardrailsVisible());V(ae,e=>{I(se)&&e(oe)}),z(e,n)},$$slots:{header:!0,default:!0}})}D()}Hr([`change`,`click`]);var gne=R(`

        Loading workflows...

        `),_ne=R(`
        `),vne=R(`

        No active workflows found.

        `),yne=R(`

        No workflows match your filter.

        `),bne=R(`
        `);function xne(e,t){E(t,!0);var n=bne(),r=M(n),i=e=>{var t=gne();XZ(M(t),{size:16,label:`Loading workflows`}),Ge(),T(t),z(e,t)};V(r,e=>{F5.loading&&!q.authError&&e(i)});var a=P(r,2),o=e=>{var t=_ne();H(t,21,()=>F5.filteredWorkflows,e=>e.id,(e,t)=>{D7(e,{get workflow(){return I(t)}})}),T(t),z(e,t)};V(a,e=>{F5.filteredWorkflows.length>0&&e(o)});var s=P(a,2),c=e=>{z(e,vne())};V(s,e=>{F5.workflows.length===0&&!F5.loading&&!q.authError&&F5.available&&e(c)});var l=P(s,2),u=e=>{z(e,yne())};V(l,e=>{F5.workflows.length>0&&F5.filteredWorkflows.length===0&&!F5.loading&&e(u)}),T(n),z(e,n),D()}var Sne=R(``),Cne=R(`
        Workflows feature is unavailable.
        `),wne=R(`
        `),Tne=R(`
        `),Ene=R(``),Dne=R(`
        `);function One(e,t){E(t,!0),Mn(()=>{q.refreshTick,F5.fetchPage()});var n=Dne(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=Sne();K(M(t),{name:`plus`,class:`form-action-icon`,"aria-hidden":`true`}),Ge(2),T(t),L(`click`,t,()=>F5.openCreate()),z(e,t)};V(a,e=>{F5.available&&e(o)}),T(i),T(r);var s=P(r,2),c=e=>{z(e,Cne())};V(s,e=>{!F5.available&&!q.authError&&e(c)});var l=P(s,2),u=e=>{var t=wne(),n=M(t,!0);T(t),F(()=>B(n,F5.error)),z(e,t)};V(l,e=>{F5.error&&!q.authError&&e(u)});var d=P(l,2),f=e=>{var t=Tne(),n=M(t);z$(M(n),{placeholder:`Filter by scope, name, hash, or guardrail...`,label:`Filter workflows by scope, name, hash, or guardrail`,get value(){return F5.filter},set value(e){F5.filter=e}}),T(n);var r=P(n,2),i=M(r),a=M(i,!0);T(i),T(r),T(t),F(()=>B(a,F5.filteredWorkflows.length+` active scopes`)),z(e,t)};V(d,e=>{F5.available&&e(f)});var p=P(d,2);hne(p,{});var m=P(p,2);xne(m,{});var h=P(m,2);H(h,20,()=>F5.guardrailRefs,e=>e,(e,t)=>{var n=Ene(),r={};F(()=>{r!==(r=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(h),T(n),z(e,n),D()}Hr([`click`]);function kne(e,{from:t,to:n},r={}){var{delay:i=0,duration:a=e=>Math.sqrt(e)*120,easing:o=EL}=r,s=getComputedStyle(e),c=s.transform===`none`?``:s.transform,[l,u]=s.transformOrigin.split(` `).map(parseFloat);l/=e.clientWidth,u/=e.clientHeight;var d=Ane(e),f=e.clientWidth/n.width/d,p=e.clientHeight/n.height/d,m=t.left+t.width*l,h=t.top+t.height*u,g=n.left+n.width*l,_=n.top+n.height*u,v=(m-g)*f,y=(h-_)*p,b=t.width/n.width,x=t.height/n.height;return{delay:i,duration:typeof a==`function`?a(Math.sqrt(v*v+y*y)):a,easing:o,css:(e,t)=>`transform: ${c} translate(${t*v}px, ${t*y}px) scale(${e+t*b}, ${e+t*x});`}}function Ane(e){if(`currentCSSZoom`in e)return e.currentCSSZoom;for(var t=e,n=1;t!==null;)n*=+getComputedStyle(t).zoom,t=t.parentElement;return n}var k7=null;function jne(){return k7===null&&(k7=typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`)),!!(k7&&k7.matches)}function A7(e){return jne()?0:e}function Mne(e,t){return!t||!t.live?{duration:0}:wL(e,{duration:A7(150)})}var j7=new class{#e=k(j({}));get workflowVersionsByID(){return I(this.#e)}set workflowVersionsByID(e){A(this.#e,e,!0)}workflowVersionRequests={};workflowFeatureCaps(){return{cache:eL.cacheVisible(),audit:eL.auditVisible(),usage:eL.usageVisible(),budget:eL.budgetsVisible(),guardrails:eL.guardrailsVisible(),failover:eL.booleanFlag(`FAILOVER_ENABLED`,!0)}}cacheWorkflowVersion(e){let t=String(e&&e.id||``).trim();return t?(this.workflowVersionsByID={...this.workflowVersionsByID||{},[t]:e},e):null}cacheMissingWorkflowVersion(e){let t=String(e||``).trim();t&&(this.workflowVersionsByID={...this.workflowVersionsByID||{},[t]:null})}workflowVersionCacheHas(e){return Object.prototype.hasOwnProperty.call(this.workflowVersionsByID||{},String(e||``).trim())}workflowVersionByID(e){let t=String(e||``).trim();return t&&this.workflowVersionCacheHas(t)?this.workflowVersionsByID[t]:null}async fetchWorkflowVersion(e){let t=String(e||``).trim();if(!t)return null;if(this.workflowVersionCacheHas(t))return this.workflowVersionsByID[t];if(this.workflowVersionRequests[t])return this.workflowVersionRequests[t];let n=(async()=>{let e=typeof AbortController==`function`?new AbortController:null,n=e?setTimeout(()=>e.abort(),1e4):null;try{let n=await YI(`/admin/workflows/`+encodeURIComponent(t),{label:`workflow`,signal:e?e.signal:void 0});if(n.stale)return null;if(n.status===404)return this.cacheMissingWorkflowVersion(t),null;if(!n.ok)return null;let r=n.data;return!r||typeof r!=`object`||Array.isArray(r)?(this.cacheMissingWorkflowVersion(t),null):this.cacheWorkflowVersion(r)}catch(e){return e&&e.name===`AbortError`||console.error(`Failed to fetch workflow version:`,e),null}finally{n!==null&&clearTimeout(n),delete this.workflowVersionRequests[t]}})();return this.workflowVersionRequests[t]=n,n}async prefetchAuditWorkflows(e){let t=[...new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.workflow_version_id||``).trim()).filter(Boolean))];t.length!==0&&await Promise.all(t.map(e=>this.fetchWorkflowVersion(e)))}auditEntryWorkflow(e){let t=String(e&&e.workflow_version_id||``).trim();return t?this.workflowVersionByID(t):null}},M7=6;function N7(e){if(typeof e!=`string`)return null;try{return JSON.parse(e)}catch{return null}}function P7(e,t=0,n=null){let r=String(e||``).trim();if(!r)return``;if(t>M7)return r;let i=N7(r);return i==null?r:F7(i,t+1,n)||n&&n(i)||r}function F7(e,t=0,n=null,r=null){if(e==null||t>M7)return``;if(typeof e==`string`){let i=N7(e.trim());return i==null?``:F7(i,t+1,n,r)}if(typeof e!=`object`)return``;let i=r||new Set;if(i.has(e))return``;if(i.add(e),Array.isArray(e)){for(let r=0;r=400||Fne(t&&t.response_body)}function Lne(e){let t=e&&e.data?e.data:null;return t?Nne(t.error_message)||(Ine(e,t)?F7(t.response_body,0):``):``}function I7(e){if(e==null||String(e).trim()===``)return null;let t=Number(e);return!Number.isInteger(t)||t<0?null:t}function Rne(e){let t=I7(e);return t===null?``:t===0?`Audit logs are retained indefinitely.`:t===1?`Audit logs are retained for 1 day.`:`Audit logs are retained for `+t+` days.`}function zne(e){let t=I7(e);return t===null?``:t===0?`Audit logs are retained `:`Audit logs are retained for `}function Bne(e){let t=I7(e);return t===null?``:t===0?`indefinitely`:t===1?`1 day`:t+` days`}function Vne({dateQuery:e,limit:t,offset:n,search:r,method:i,statusCode:a,stream:o}){let s=e;return s+=`&limit=`+t+`&offset=`+n,r&&(s+=`&search=`+encodeURIComponent(r)),i&&(s+=`&method=`+encodeURIComponent(i)),a&&(s+=`&status_code=`+encodeURIComponent(a)),o&&(s+=`&stream=`+encodeURIComponent(o)),s}function Hne({sessionId:e,limit:t}){return`session_id=`+encodeURIComponent(e)+`&limit=`+(t||100)+`&offset=0`}function L7(e){return String(e&&e.session_id||``).trim()}function R7(e){let t=Number(e&&e.session_count);return Number.isFinite(t)&&t>1?t:1}function Une(e){return!!L7(e)&&R7(e)>1}function Wne(e){return{entries:(Array.isArray(e&&e.sessions)?e.sessions:[]).filter(e=>e&&e.latest).map(e=>({...e.latest,session_id:L7(e.latest)||String(e.session_id||``).trim(),session_count:Number(e.count||1)})),total:Number(e&&e.total||0),limit:Number(e&&e.limit||25),offset:Number(e&&e.offset||0)}}function Gne(e,t,n){let r=new Set((Array.isArray(n)?n:[]).flatMap(e=>H7(e))),i=(Array.isArray(t)?t:[]).filter(e=>!H7(e).some(e=>r.has(e))),a=new Set([...r,...i.flatMap(e=>H7(e))]),o=(e&&Array.isArray(e.entries)?e.entries:[]).filter(e=>e&&e._live&&!H7(e).some(e=>a.has(e)));return{entries:[...o,...i],preservedCount:o.length}}function z7(e,t){let n=e||{};if(!t)return n;if(n[t]){let e={...n};return delete e[t],e}return{...n,[t]:!0}}function B7(e,t){let n=e||{},r=new Set((Array.isArray(t)?t:[]).map(e=>L7(e)).filter(Boolean)),i={},a=!1;return Object.keys(n).forEach(e=>{if(r.has(e)){i[e]=n[e];return}a=!0}),a?i:n}function V7(e){return String(e&&e.id||``).trim()}function H7(e){if(!e)return[];let t=[],n=String(e.id||``).trim(),r=String(e.request_id||``).trim();return n&&t.push(`id:`+n),r&&t.push(`request:`+r),t}function U7(e){return!!(e&&e._live&&e._live_pending&&!e._audit_flushed)}function Kne(e){let t=e&&e.customStartDate,n=e&&e.customEndDate;if(!t&&!n)return!0;let r=new Date;if(t){let e=new Date(t);if(e.setHours(0,0,0,0),Number.isFinite(e.getTime())&&re)return!1}return!0}function W7(e,t){return e&&Number(e.offset||0)===0&&!(t&&t.search)&&!(t&&t.method)&&!(t&&t.statusCode)&&!(t&&t.stream)&&Kne(t)}function qne(e,t,n){let r=e&&typeof e==`object`?{...e}:{entries:[],total:0,limit:25,offset:0},i=Array.isArray(r.entries)?r.entries:[];if(r.entries=i,!W7(r,n))return r;let a=(Array.isArray(t)?t:[]).filter(e=>U7(e));if(a.length===0)return r;let o=new Set(i.flatMap(e=>H7(e))),s=[];return a.forEach(e=>{let t=H7(e);t.length!==0&&(t.some(e=>o.has(e))||(t.forEach(e=>o.add(e)),s.push(e)))}),s.length===0?r:(r.entries=[...s,...i].slice(0,r.limit||25),r.total=Number(r.total||0)+s.length,r)}function Jne(e,t,n){let r=e&&typeof e==`object`?{...e}:{entries:[],total:0,limit:25,offset:0},i=Array.isArray(r.entries)?r.entries:[];if(r.entries=i,!W7(r,n))return r;let a=(Array.isArray(t)?t:[]).filter(e=>U7(e));if(a.length===0)return r;let o=new Set(i.flatMap(e=>H7(e))),s=new Map;i.forEach((e,t)=>{let n=L7(e);n&&!s.has(n)&&s.set(n,t)});let c=[],l=i;return a.forEach(e=>{let t=H7(e);if(t.length===0||t.some(e=>o.has(e)))return;let n=L7(e);if(n&&s.has(n)){let r=s.get(n);l===i&&(l=[...i]),l[r]={...e,session_count:Math.max(R7(l[r]),R7(e))},t.forEach(e=>o.add(e));return}t.forEach(e=>o.add(e)),c.push(e)}),r.entries=[...c,...l].slice(0,r.limit||25),r.total=Number(r.total||0)+c.length,r}function Yne(e,t){let n=V7(t),r=e||{};if(!n)return r;if(r[n]){let e={...r};return delete e[n],e}return{...r,[n]:!0}}function Xne(e,t){let n=e||{},r=new Set((Array.isArray(t)?t:[]).map(e=>V7(e)).filter(Boolean)),i={},a=!1;return Object.keys(n).forEach(e=>{if(r.has(e)){i[e]=!0;return}a=!0}),a?i:n}function Zne(e){if(e==null)return`-`;let t=Number(e);return Number.isFinite(t)?t<=0?`pending`:t<1e6?Math.round(t/1e3)+` µs`:t<1e9?(t/1e6).toFixed(2)+` ms`:(t/1e9).toFixed(2)+` s`:`-`}function G7(e){if(e==null||e===``)return`status-unknown`;let t=Number(e);return Number.isFinite(t)?t>=500?`status-error`:t>=400?`status-warning`:t>=300?`status-neutral`:`status-success`:`status-unknown`}function K7(e){if(!e||!e._live||!e._live_pending)return!1;let t=String(e._live_state||``).trim();if(t===`audit.completed`||t===`audit.flushed`||t===`audit.detail`)return!1;if(e._response_partial)return!0;if(e.status_code!==null&&e.status_code!==void 0&&e.status_code!==``||Number(e.duration_ns||0)>0||e.error_type||e.error_message)return!1;let n=e.data||{};return!(n.response_headers||n.response_body||n.error_message)}function q7(e){let t=e&&e.data&&e.data.failover;return!t||typeof t!=`object`||Array.isArray(t)?null:String(t.target_model||t.targetModel||``).trim()||null}function J7(e){return(e&&e.data&&Array.isArray(e.data.attempts)?e.data.attempts:[]).map((e,t)=>({...e,seq:Number(e&&e.seq||t+1)})).sort((e,t)=>e.seq-t.seq)}function Y7(e){let t=J7(e);return t.length>1||t.some(e=>!(e&&e.success))}function Qne(e){if(!e)return`-`;let t=e.status_code||e.status;return t?String(t):e.success?`ok`:`error`}function X7(e){return String(e&&e.kind||``).trim()||`attempt`}function $ne(e){if(!e)return`-`;let t=String(e.provider_name||``).trim(),n=String(e.provider_type||e.provider||``).trim();return t&&n&&t!==n?t+` (`+n+`)`:t||n||`-`}function ere(e){return String(e&&e.model||``).trim()||`-`}function tre(e){let t=J7(e);return t.length>1||t.some(e=>!(e&&e.success))?t:[]}function nre(e){return J7(e).length+`×`}function rre(e){let t=J7(e),n=t.filter(e=>!(e&&e.success)).length,r=t.length===1?`attempt`:`attempts`,i=t.length+` provider `+r;return n>0?i+` · `+n+` failed`:i}function ire(e){if(!e)return``;let t=[`#`+Number(e.seq||0)],n=X7(e);n&&n!==`attempt`&&t.push(n),t.push(Qne(e));let r=$ne(e);r&&r!==`-`&&t.push(r);let i=ere(e);return i&&i!==`-`&&t.push(i),t.push(e.success?`succeeded`:`failed`),t.join(` · `)}function are(e,t){if(!t)return null;if(t.success){let t=e&&e.data?e.data:null;return t&&t.response_body!=null?t.response_body:null}return t.response_body!=null&&t.response_body!==``?t.response_body:null}function ore(e){if(!e||e.success)return``;let t=String(e.error_message||``).trim(),n=String(e.error_code||``).trim(),r=String(e.error_type||``).trim();return t&&n?n+`: `+t:t||n||r||`Provider attempt failed`}function sre(e,t){if(!t)return null;if(t.success){let t=e&&e.data?e.data:null;return t?t.response_headers:null}return t.response_headers||null}function cre(e){let t=Number(e&&e.status_code);return Number.isFinite(t)&&t>0?t:null}function lre(e,t){let n=!!(t&&t.success),r=e&&e.data?e.data:null,i=are(e,t),a=sre(e,t),o=ore(t),s=i!=null&&i!==``,c=X7(t),l=J7(e).length<=1;return{title:`Response`,direction:`response`,seq:l?0:Number(t&&t.seq||0),kind:l||c===`attempt`?``:c,statusCode:l?null:cre(t),layout:`split`,entry:e,copyHeaders:a,copyBody:i,showErrorMessage:!!o,errorMessage:o,showHeaders:!!a,headers:a,showBody:s,body:i,showEmpty:!o&&!s&&!a,emptyMessage:`No response was captured for this attempt.`,showTooLarge:!!(n&&r&&r.response_body_too_big_to_handle),tooLargeMessage:`Response body was too large to capture.`}}function Z7(e){return e&&e.data&&Array.isArray(e.data.request_revisions)?e.data.request_revisions:[]}function Q7(e){return Z7(e).filter(e=>!(e&&e.no_change))}function ure(e){return Z7(e).filter(e=>e&&e.no_change).map(e=>{let t=String(e.rewriter||`rewriter`);return{id:`step-`+Number(e.seq||0),rewriter:t,label:t+`: no change`,title:t+` ran and forwarded the request unchanged`}})}function dre(e){let t=Number(e&&e.bytes_before),n=Number(e&&e.bytes_after);if(!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n>=t)return``;let r=(1-n/t)*100;return`-`+(r>=10?String(Math.round(r)):r.toFixed(1))+`%`}function fre(e,t){let n=t&&t.body,r=n!=null&&n!==``,i=Q7(e).length<=1,a={rewriter:t&&t.rewriter||``,bytes:Number(t&&t.bytes_before||0)+` → `+Number(t&&t.bytes_after||0)};return t&&t.detail!=null&&(a.detail=t.detail),{title:`Rewritten`,direction:`request`,seq:i?0:Number(t&&t.seq||0),kind:t&&t.rewriter?String(t.rewriter):``,savingsLabel:dre(t),layout:`split`,entry:e,copyHeaders:a,copyBody:n,showErrorMessage:!1,errorMessage:null,showHeaders:!0,headers:a,headersTitle:`What changed`,showBody:r,body:n,showEmpty:!1,emptyMessage:``,showTooLarge:!r,tooLargeMessage:`Rewritten body not captured (body logging disabled or body too large).`}}function $7(e){let t=e&&e.usage;return!t||typeof t!=`object`?null:t}function pre(e){let t=$7(e);return Number(t&&t.cached_input_tokens||0)>0}function mre(e){let t=$7(e),n=Number(t&&t.input_tokens||0),r=Number(t&&t.cached_input_tokens||0);return!Number.isFinite(n)||n<=0||!Number.isFinite(r)||r<=0?0:Math.max(0,Math.min(100,r/n*100))}function hre(e){let t=$7(e);if(!t)return``;let n=Number(t.input_tokens||0),r=Number(t.cached_input_tokens||0);return n<=0?LL(r)+` cached`:mre(e).toFixed(1)+`% cached`}function gre(e){return pre(e)?hre(e):``}function _re(e,t){let n=$7(e);if(!n||!e||!e.data||!e.data.request_body)return null;let r=Number(n.estimated_cached_characters||0);if(!Number.isFinite(r)||r<=0||typeof t!=`function`)return null;let i=t(e.data.request_body);return!Array.isArray(i)||i.length===0?null:{characters:r,segments:i}}function vre(e,t){let n=e&&e.data?e.data:null,r=!n||!n.request_headers&&!n.request_body,i=r&&K7(e);return{title:`Request`,direction:`request`,layout:`split`,entry:e,copyHeaders:n&&n.request_headers,copyBody:n&&n.request_body,showErrorMessage:!1,errorMessage:null,showHeaders:!!(n&&n.request_headers),headers:n&&n.request_headers,showBody:!!(n&&n.request_body),body:n&&n.request_body,bodyCacheRatioLabel:gre(e),promptCacheHighlight:_re(e,t),noChangeSteps:ure(e),showEmpty:r&&!i,emptyMessage:`Request details were not captured.`,showPending:i,pendingMessage:`Waiting for request data…`,showTooLarge:!!(n&&n.request_body_too_big_to_handle),tooLargeMessage:`Request body was too large to capture.`}}function yre(e){let t=e&&e.data?e.data:null,n=Lne(e),r=!t||!n&&!t.response_headers&&!t.response_body,i=r&&K7(e);return{title:`Response`,direction:`response`,layout:`split`,entry:e,copyHeaders:t&&t.response_headers,copyBody:t&&t.response_body,showErrorMessage:!!n,errorMessage:n,showHeaders:!!(t&&t.response_headers),headers:t&&t.response_headers,showBody:!!(t&&t.response_body),body:t&&t.response_body,streaming:!!(e&&e._response_partial&&t&&t.response_body)&&K7(e),showEmpty:r&&!i,emptyMessage:`Response details were not captured.`,showPending:i,pendingMessage:`Response in progress…`,showTooLarge:!!(t&&t.response_body_too_big_to_handle),tooLargeMessage:`Response body was too large to capture.`}}function e9(e,t){let n=[{id:`request`,pane:vre(e,t)}];return Q7(e).forEach(t=>{n.push({id:`revision-`+Number(t&&t.seq||0),pane:fre(e,t)})}),Y7(e)?J7(e).forEach(t=>{n.push({id:`response-`+Number(t&&t.seq||0),pane:lre(e,t)})}):n.push({id:`response`,pane:yre(e)}),n}function bre(e){if(!Y7(e))return`response`;let t=J7(e),n=null;return t.forEach(e=>{e&&e.success&&(n=e)}),n||=t[t.length-1],n?`response-`+Number(n.seq||0):`request`}function xre(e,t,n){return e&&(Array.isArray(n)?n:e9(t)).some(t=>t.id===e)?e:bre(t)}function Sre(e,t,n){if(!t||!t.length)return null;let r=t.indexOf(n);r<0&&(r=0);let i;switch(e){case`ArrowRight`:case`ArrowDown`:i=(r+1)%t.length;break;case`ArrowLeft`:case`ArrowUp`:i=(r-1+t.length)%t.length;break;case`Home`:i=0;break;case`End`:i=t.length-1;break;default:return null}return t[i]}var Cre=100;function t9(){return{entries:[],total:0,limit:25,offset:0}}var n9=new class{#e=k(j({}));get auditExpandedEntries(){return I(this.#e)}set auditExpandedEntries(e){A(this.#e,e,!0)}#t=k(j({}));get auditExpandedThreads(){return I(this.#t)}set auditExpandedThreads(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}auditFetchToken=0;get auditLog(){return QQ.auditLog}set auditLog(e){QQ.auditLog=e}get auditSearch(){return QQ.auditSearch}set auditSearch(e){QQ.auditSearch=e}get auditMethod(){return QQ.auditMethod}set auditMethod(e){QQ.auditMethod=e}get auditStatusCode(){return QQ.auditStatusCode}set auditStatusCode(e){QQ.auditStatusCode=e}get auditStream(){return QQ.auditStream}set auditStream(e){QQ.auditStream=e}get auditGroupSessions(){return QQ.auditGroupSessions}liveFilters(){return{search:this.auditSearch,method:this.auditMethod,statusCode:this.auditStatusCode,stream:this.auditStream,customStartDate:lR.customStartDate,customEndDate:lR.customEndDate}}toggleAuditGroupSessions(){QQ.auditGroupSessions=!QQ.auditGroupSessions,dI(`gomodel_audit_group_sessions`,QQ.auditGroupSessions),this.auditExpandedThreads={},QQ.auditThreadChildren={},this.fetchAuditLog(!0)}async fetchAuditLog(e){let t=++this.auditFetchToken;this.loading=!0;try{e&&(this.auditLog.offset=0);let n=this.auditGroupSessions,r=Vne({dateQuery:lR.queryStr(),limit:this.auditLog.limit,offset:this.auditLog.offset,search:this.auditSearch,method:this.auditMethod,statusCode:this.auditStatusCode,stream:this.auditStream}),i=await YI((n?`/admin/audit/sessions?`:`/admin/audit/log?`)+r,{label:`audit log`});if(i.stale||t!==this.auditFetchToken)return;if(!i.ok){this.auditLog=t9();return}let a=n?Wne(i.data):i.data,o=(n?Jne:qne)(a,this.auditLog&&this.auditLog.entries,this.liveFilters());Array.isArray(o.entries)||(o.entries=[]),this.auditLog=o,this.auditExpandedThreads=B7(this.auditExpandedThreads,o.entries),QQ.auditThreadChildren=B7(QQ.auditThreadChildren,o.entries);let s=[...o.entries,...this.loadedThreadChildren()];this.auditExpandedEntries=Xne(this.auditExpandedEntries,s);try{await j7.prefetchAuditWorkflows(s)}catch(e){console.error(`Failed to prefetch audit workflows:`,e)}}catch(e){if(console.error(`Failed to fetch audit log:`,e),t!==this.auditFetchToken)return;this.auditLog=t9()}finally{t===this.auditFetchToken&&(this.loading=!1)}}loadedThreadChildren(){let e=QQ.auditThreadChildren||{};return Object.keys(e).flatMap(t=>Array.isArray(e[t]&&e[t].entries)?e[t].entries:[])}isThreadExpanded(e){return!!(e&&this.auditExpandedThreads[e])}threadChildren(e){return e&&QQ.auditThreadChildren[e]||null}async toggleThread(e){let t=L7(e);if(!t)return;let n=!this.isThreadExpanded(t);this.auditExpandedThreads=z7(this.auditExpandedThreads,t);let r=QQ.auditThreadChildren[t];n&&!(r&&(r.loaded||r.loading))&&await this.fetchThreadEntries(e)}async fetchThreadEntries(e){let t=L7(e);if(!t)return;let n=QQ.auditThreadChildren[t];QQ.auditThreadChildren={...QQ.auditThreadChildren,[t]:{loading:!0,loaded:!1,entries:n&&Array.isArray(n.entries)?n.entries:[],total:Number(n&&n.total||0)}};let r=()=>{let e={...QQ.auditThreadChildren},n=e[t],r=n&&Array.isArray(n.entries)?n.entries:[];r.length>0?e[t]={loading:!1,loaded:!1,entries:r,total:r.length}:(delete e[t],this.auditExpandedThreads[t]&&(this.auditExpandedThreads=z7(this.auditExpandedThreads,t))),QQ.auditThreadChildren=e};try{let n=await YI(`/admin/audit/log?`+Hne({sessionId:t,limit:Cre}),{label:`audit session`});if(n.stale){r();return}if(!n.ok)throw Error(`audit session fetch failed`);let i=QQ.auditThreadChildren[t],a=this.auditLog.entries.find(e=>L7(e)===t),o=Gne(i,n.data.entries,a?[a]:[e]);QQ.auditThreadChildren={...QQ.auditThreadChildren,[t]:{loading:!1,loaded:!0,entries:o.entries,total:Number(n.data.total||0)+o.preservedCount}}}catch(e){console.error(`Failed to fetch audit session entries:`,e),r()}}clearAuditFilters(){this.auditSearch=``,this.auditMethod=``,this.auditStatusCode=``,this.auditStream=``,this.fetchAuditLog(!0)}auditLogNextPage(){this.auditLog.offset+this.auditLog.limit0&&(this.auditLog.offset=Math.max(0,this.auditLog.offset-this.auditLog.limit),this.fetchAuditLog(!1))}isAuditEntryExpanded(e){let t=V7(e);return t?!!(this.auditExpandedEntries&&this.auditExpandedEntries[t]):!1}toggleAuditEntryExpanded(e){this.auditExpandedEntries=Yne(this.auditExpandedEntries,e);let t=this.isAuditEntryExpanded(e);return t&&typeof QQ.fetchAuditEntryDetail==`function`&&QQ.fetchAuditEntryDetail(e),t}expandAuditEntry(e){this.isAuditEntryExpanded(e)||this.toggleAuditEntryExpanded(e)}};QQ.fetchAuditLog=e=>n9.fetchAuditLog(e),QQ.isAuditEntryExpanded=e=>n9.isAuditEntryExpanded(e);var wre=R(`
        `);function Tre(e,t){E(t,!0);let n=B$(()=>n9.fetchAuditLog(!0));Mn(()=>n.cancel);var r=wre(),i=M(r);z$(M(i),{id:`audit-filter-search`,placeholder:`Search by request ID, model, provider, path, user path, or error...`,label:`Search by request ID, model, provider, path, user path, or error`,get oninput(){return n},get value(){return n9.auditSearch},set value(e){n9.auditSearch=e}}),T(i);var a=P(i,2),o=M(a),s=M(o);s.value=s.__value=``;var c=P(s);c.value=c.__value=`GET`;var l=P(c);l.value=l.__value=`POST`;var u=P(l);u.value=u.__value=`PUT`;var d=P(u);d.value=d.__value=`PATCH`;var f=P(d);f.value=f.__value=`DELETE`,T(o);var p=P(o,2),m=M(p);m.value=m.__value=``;var h=P(m);h.value=h.__value=`200`;var g=P(h);g.value=g.__value=`201`;var _=P(g);_.value=_.__value=`400`;var v=P(_);v.value=v.__value=`401`;var y=P(v);y.value=y.__value=`403`;var b=P(y);b.value=b.__value=`404`;var x=P(b);x.value=x.__value=`429`;var S=P(x);S.value=S.__value=`500`;var C=P(S);C.value=C.__value=`502`;var w=P(C);w.value=w.__value=`503`;var ee=P(w);ee.value=ee.__value=`504`,T(p);var te=P(p,2),ne=M(te);ne.value=ne.__value=``;var re=P(ne);re.value=re.__value=`true`;var ie=P(re);ie.value=ie.__value=`false`,T(te);var ae=P(te,2);K(M(ae),{name:`x`,class:`table-icon-svg`}),Ge(2),T(ae),T(a),T(r),L(`change`,o,()=>n9.fetchAuditLog(!0)),Hi(o,()=>n9.auditMethod,e=>n9.auditMethod=e),L(`change`,p,()=>n9.fetchAuditLog(!0)),Hi(p,()=>n9.auditStatusCode,e=>n9.auditStatusCode=e),L(`change`,te,()=>n9.fetchAuditLog(!0)),Hi(te,()=>n9.auditStream,e=>n9.auditStream=e),L(`click`,ae,()=>n9.clearAuditFilters()),z(e,r),D()}Hr([`change`,`click`]);var Ere=R(`Live stream connecting…`),Dre=R(` `),Ore=R(`Live`),kre=R(` `);function Are(e,t){E(t,!0);let n=O(()=>QQ.auditLivePauseReason()),r=O(()=>QQ.liveLogsStreaming&&!I(n));var i=Qr(),a=N(i),o=e=>{var t=kre(),i=M(t);let a;var o=P(i,2),s=e=>{z(e,Ere())},c=e=>{var t=Dre(),r=M(t,!0);T(t),F(e=>B(r,e),[()=>JQ(I(n))]),z(e,t)},l=e=>{z(e,Ore())};V(o,e=>{QQ.liveLogsStreaming?I(n)?e(c,1):e(l,-1):e(s)}),T(t),F(()=>a=U(i,1,`live-dot svelte-tve6yv`,null,a,{"is-streaming":I(r)})),z(e,t)},s=O(()=>eL.liveLogsVisible());V(a,e=>{I(s)&&e(o)}),z(e,i),D()}var jre=R(` `),Mre=R(``);function Nre(e,t){E(t,!0);let n=O(()=>[{key:`provider`,text:qL(t.entry)||`-`},{key:`model`,text:t.entry.requested_model||t.entry.model||`-`,mono:!0},{key:`user_path`,text:t.entry.user_path,mono:!0},{key:`request_id`,text:`request_id: `+(t.entry.request_id||`-`),mono:!0},{key:`ip`,text:t.entry.client_ip&&`ip: `+t.entry.client_ip,mono:!0},{key:`auth_key_id`,text:t.entry.auth_key_id&&`auth_key_id: `+t.entry.auth_key_id,mono:!0},{key:`alias`,text:t.entry.alias_used&&`alias`,class:`audit-alias-badge`},{key:`resolved`,text:t.entry.alias_used&&t.entry.resolved_model&&`resolved: `+XL(t.entry),mono:!0},{key:`failover`,text:q7(t.entry)&&`failover: `+q7(t.entry),mono:!0},{key:`stream`,text:t.entry.stream&&`stream`},{key:`error_type`,text:t.entry.error_type}].filter(e=>!!e.text));var r=Mre(),i=P(M(r),2);H(i,21,()=>I(n),e=>e.key,(e,t)=>{var n=jre();let r;var i=M(n,!0);T(n),F(()=>{r=U(n,1,`provider-badge ${(I(t).class||``)??``}`,`svelte-hyopt0`,r,{mono:I(t).mono}),B(i,I(t).text)}),z(e,n)}),T(i),T(r),z(e,r),D()}var Pre=R(``),Fre=R(` `);function Ire(e,t){E(t,!0);let n=O(()=>tre(t.entry)),r=O(()=>I(n).length>0?rre(t.entry):``),i=O(()=>I(n).length>0?nre(t.entry):``);var a=Qr(),o=N(a),s=e=>{var a=Fre(),o=M(a);H(o,21,()=>I(n),e=>t.entry.id+`-pip-`+e.seq,(e,t)=>{var n=Pre();let r;F(e=>{r=U(n,1,`audit-attempt-pip svelte-1eu22xn`,null,r,{"audit-attempt-success":!!(I(t)&&I(t).success),"audit-attempt-error":!(I(t)&&I(t).success)}),W(n,`title`,e)},[()=>ire(I(t))]),z(e,n)}),T(o);var s=P(o,2),c=M(s,!0);T(s),T(a),F(()=>{W(a,`title`,I(r)),W(a,`aria-label`,I(r)),B(c,I(i))}),z(e,a)};V(o,e=>{I(n).length>0&&e(s)}),z(e,a),D()}var Lre=new Set([`instructions`,`messages`,`input`,`previous_response_id`,`choices`,`output`]);function r9(e){if(e==null)return``;if(typeof e==`string`)return e.trim();if(Array.isArray(e))return e.map(e=>typeof e==`string`?e:!e||typeof e!=`object`?``:typeof e.text==`string`?e.text:typeof e.output_text==`string`?e.output_text:``).filter(Boolean).join(` -`).trim();if(typeof e==`object`){if(typeof e.text==`string`)return e.text.trim();try{return JSON.stringify(e,null,2)}catch{return``}}return String(e).trim()}function i9(e){if(e==null)return[];if(typeof e==`string`)return e?[e]:[];if(Array.isArray(e))return e.flatMap(e=>typeof e==`string`?e?[e]:[]:!e||typeof e!=`object`?[]:typeof e.text==`string`?e.text?[e.text]:[]:typeof e.output_text==`string`&&e.output_text?[e.output_text]:[]);if(typeof e==`object`)return typeof e.text==`string`&&e.text?[e.text]:[];let t=String(e);return t?[t]:[]}function Rre(e){if(e==null)return[];if(typeof e==`string`){let t=e.trim();return t?[{role:`user`,text:t}]:[]}if(!Array.isArray(e)){let t=r9(e);return t?[{role:`user`,text:t}]:[]}return e.map(e=>{if(!e||typeof e!=`object`)return null;let t=String(e.role||`user`).toLowerCase(),n=r9(e.content);return n?{role:t,text:n}:null}).filter(Boolean)}function zre(e){return!e||typeof e!=`object`?``:Array.isArray(e.content)?e.content.map(e=>e&&typeof e.text==`string`?e.text:``).filter(Boolean).join(` -`).trim():r9(e.content)}function Bre(e){if(!e||typeof e!=`object`)return[];let t=[];return t.push(...i9(e.instructions)),Array.isArray(e.messages)&&e.messages.forEach(e=>{!e||typeof e!=`object`||t.push(...i9(e.content))}),typeof e.input==`string`?t.push(e.input):Array.isArray(e.input)?e.input.forEach(e=>{!e||typeof e!=`object`||(t.push(...i9(e.content)),typeof e.text==`string`&&t.push(e.text))}):e.input&&typeof e.input==`object`&&(t.push(...i9(e.input.content)),typeof e.input.text==`string`&&t.push(e.input.text)),t.map(e=>String(e||``)).filter(e=>e.length>0)}var a9=e=>r9(e);function Vre(e){if(!e||!e.data)return``;let t=F7(e.data.response_body,0,a9);if(t)return t;let n=e.data.error_message;if(n==null)return``;if(typeof n==`string`){let e=n.trim();return e?F7(N7(e),0,a9)||e:``}return F7(n,0,a9)||r9(n)}function Hre(e){return Array.isArray(e)?e.some(e=>!e||typeof e!=`object`?!1:e.type===`message`||e.role===`assistant`||e.role===`user`||e.role===`system`?!0:Array.isArray(e.content)?e.content.some(e=>!e||typeof e!=`object`?!1:typeof e.text==`string`||e.type===`output_text`||e.type===`input_text`):!1):!1}function Ure(e){if(!e)return!1;let t=String(e).toLowerCase();return t===`/v1/embeddings`||t===`/v1/embeddings/`||t.startsWith(`/v1/embeddings?`)||t.startsWith(`/v1/embeddings/`)}function Wre(e){if(!e)return!1;let t=String(e).toLowerCase();return t===`/v1/chat/completions`||t===`/v1/chat/completions/`||t.startsWith(`/v1/chat/completions?`)||t.startsWith(`/v1/chat/completions/`)||t===`/v1/responses`||t===`/v1/responses/`||t.startsWith(`/v1/responses?`)||t.startsWith(`/v1/responses/`)}function Gre(e){if(e&&e.conversation_payload)return!0;let t=e&&e.data?e.data.request_body:null,n=e&&e.data?e.data.response_body:null,r=t&&(Array.isArray(t.messages)||t.input!==void 0||typeof t.instructions==`string`||typeof t.previous_response_id==`string`),i=n&&(Array.isArray(n.choices)||Hre(n.output));return!!(r||i)}function Kre(e){return!e||Ure(e.path)?!1:Wre(e.path)||Gre(e)}function o9(e){let t=0,n=!1,r=!1,i=String(e||``);for(let e=0;e0&&a+1`,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`)}function Yre(e){return!!(e&&typeof e==`object`&&e.__audio__===!0)}function Xre(e){let t=Number(e||0);if(!Number.isFinite(t)||t<=0)return`0 B`;let n=[`B`,`KB`,`MB`,`GB`],r=0,i=t;for(;i>=1024&&r`
        `+s9(t)+``+s9(Qre(e[t]))+`
        `);return t.length?``:``}function eie(e){let t=Zre(e.content_type),n=s9(t+` · `+Xre(e.bytes)),r=$re(e.meta);if(e.stored&&e.encoding===`base64`&&e.data){let i=String(e.data).replace(/[^A-Za-z0-9+/=]/g,``);return`
        `+n+`
        `+r+`
        `}let i=e.too_large?`Audio too large to store.`:`Audio not logged. Set LOGGING_LOG_AUDIO_BODIES=true to capture playable audio.`;return`
        `+n+`
        `+s9(i)+`
        `+r+`
        `}function c9(e){try{return JSON.stringify(String(e)).slice(1,-1)}catch{return``}}function tie(e){if(!e||typeof e!=`object`)return null;let t=Number(e.characters||0);if(!Number.isFinite(t)||t<=0)return null;let n=Array.isArray(e.segments)?e.segments.map(e=>String(e||``)).filter(Boolean):[];return n.length===0?null:{remaining:Math.floor(t),segments:n,segmentIndex:0}}function l9(e,t){if(!t||t.remaining<=0||t.segmentIndex>=t.segments.length)return s9(e);let n=``,r=0,i=0;for(;t.remaining>0&&t.segmentIndex`+s9(l)+``,r=s+l.length,i=s+o.length,t.remaining-=c,c>=a.length){t.segmentIndex++;continue}break}return n?n+s9(e.slice(r)):s9(e)}function nie(e,t,n){let r=n&&typeof n.formatJSON==`function`?n.formatJSON:e=>String(e),i=n&&typeof n.canShowConversation==`function`?n.canShowConversation:()=>!1,a=tie(n&&n.promptCacheHighlight),o=r(t);if(!o||o===`Not captured`)return s9(o);if(!i(e))return o.split(` -`).map(e=>l9(e,a)).join(` -`);let s=o.split(` -`),c=[],l=0;for(;ll9(e,a)).join(` -`);c.push(``+o+``),l=r+1;continue}c.push(l9(e,a)),l++}return c.join(` -`)}function rie(e){let t=String(e||``).toLowerCase();return t===`system`||t===`developer`?{role:`system`,label:`System Prompt`,className:`role-system`}:t===`assistant`?{role:`assistant`,label:`Agent`,className:`role-assistant`}:t===`error`?{role:`error`,label:`Error`,className:`role-error`}:t===`function_call`?{role:`function_call`,label:`Function Call`,className:`role-function-call`}:t===`function_result`?{role:`function_result`,label:`Function Result`,className:`role-function-result`}:{role:`user`,label:`User`,className:`role-user`}}function u9(e,t,n,r,i,a,o,s){let c=rie(e);return{uid:r+`-`+a,entryID:r,timestamp:n,text:t,role:c.role,roleLabel:c.label,roleClass:c.className,isAnchor:i,toolCalls:Array.isArray(o)&&o.length>0?o:null,functionName:s||``}}function d9(e){return Array.isArray(e)?e.map(e=>{if(!e)return null;let t=e.function||e;return{name:t.name||e.name||``,arguments:t.arguments||e.arguments||``}}).filter(Boolean):[]}function iie(e,t,n){if(t&&Array.isArray(t.messages)&&t.messages.forEach(t=>{!t||!Array.isArray(t.tool_calls)||t.tool_calls.forEach(t=>{if(!t)return;let n=t.id||``,r=(t.function||t).name||t.name||``;n&&r&&(e[n]=r)})}),t&&Array.isArray(t.input)&&t.input.forEach(t=>{if(!t||typeof t!=`object`||t.type!==`function_call`)return;let n=t.id||t.call_id||``,r=t.name||``;n&&r&&(e[n]=r)}),n&&Array.isArray(n.choices)){let t=n.choices[0];t&&t.message&&Array.isArray(t.message.tool_calls)&&t.message.tool_calls.forEach(t=>{if(!t)return;let n=t.id||``,r=(t.function||t).name||t.name||``;n&&r&&(e[n]=r)})}n&&Array.isArray(n.output)&&n.output.forEach(t=>{if(!t||t.type!==`function_call`)return;let n=t.id||t.call_id||``,r=t.name||``;n&&r&&(e[n]=r)})}function aie(e,t){if(!Array.isArray(e)||e.length===0)return[];let n=[...e].sort((e,t)=>new Date(e.timestamp)-new Date(t.timestamp)),r={};n.forEach(e=>{let t=e.data&&e.data.request_body?e.data.request_body:null,n=e.data&&e.data.response_body?e.data.response_body:null;iie(r,t,n)});let i=[],a=0;return n.forEach(e=>{let n=e.id===t,o=e.timestamp,s=e.data&&e.data.request_body?e.data.request_body:null,c=e.data&&e.data.response_body?e.data.response_body:null;if(s&&typeof s.instructions==`string`&&s.instructions.trim()&&i.push(u9(`system`,s.instructions,o,e.id,n,++a)),s&&Array.isArray(s.messages)&&s.messages.forEach(t=>{if(!t)return;let s=(t.role||`user`).toLowerCase();if(s===`tool`){let s=r9(t.content),c=t.name||r[t.tool_call_id]||``;s&&i.push(u9(`function_result`,s,o,e.id,n,++a,[],c));return}if(s===`assistant`){let r=r9(t.content),c=d9(t.tool_calls);(r||c.length>0)&&i.push(u9(s,r,o,e.id,n,++a,c));return}let c=r9(t.content);c&&i.push(u9(s,c,o,e.id,n,++a))}),s&&s.input!==void 0&&(Array.isArray(s.input)?s.input.forEach(t=>{if(!(!t||typeof t!=`object`)){if(t.type===`function_call_output`){let s=typeof t.output==`string`?t.output:r9(t.output);s&&i.push(u9(`function_result`,s,o,e.id,n,++a,[],r[t.call_id]||``))}else if(t.type===`function_call`)i.push(u9(`function_call`,``,o,e.id,n,++a,[{name:t.name||``,arguments:t.arguments||``}]));else if(t.role){let r=String(t.role).toLowerCase(),s=r9(t.content);s&&i.push(u9(r,s,o,e.id,n,++a))}}}):Rre(s.input).forEach(t=>{t.text&&i.push(u9(t.role,t.text,o,e.id,n,++a))})),c&&Array.isArray(c.choices)){let t=c.choices[0];if(t&&t.message){let r=(t.message.role||`assistant`).toLowerCase(),s=r9(t.message.content),c=d9(t.message.tool_calls);(s||c.length>0)&&i.push(u9(r,s,o,e.id,n,++a,c))}}c&&Array.isArray(c.output)&&c.output.forEach(t=>{if(!t)return;if(t.type===`function_call`){i.push(u9(`function_call`,``,o,e.id,n,++a,[{name:t.name||``,arguments:t.arguments||``}]));return}let r=(t.role||`assistant`).toLowerCase(),s=zre(t);s&&i.push(u9(r,s,o,e.id,n,++a))});let l=Vre(e);l&&i.push(u9(`error`,l,o,e.id,n,++a))}),i}function f9(e){return e.role===`function_call`?(e.toolCalls||[]).map(function(e){let t=e.arguments||``;try{t=JSON.stringify(JSON.parse(t),null,2)}catch{}return e.name+`(`+t+`)`}).join(` - -`):e.text||``}var p9=new class{#e=k(!1);get conversationOpen(){return I(this.#e)}set conversationOpen(e){A(this.#e,e,!0)}#t=k(!1);get conversationLoading(){return I(this.#t)}set conversationLoading(e){A(this.#t,e,!0)}#n=k(``);get conversationError(){return I(this.#n)}set conversationError(e){A(this.#n,e,!0)}#r=k(``);get conversationAnchorID(){return I(this.#r)}set conversationAnchorID(e){A(this.#r,e,!0)}#i=k(j([]));get conversationEntries(){return I(this.#i)}set conversationEntries(e){A(this.#i,e,!0)}#a=k(j([]));get conversationMessages(){return I(this.#a)}set conversationMessages(e){A(this.#a,e,!0)}#o=k(``);get conversationLiveEntryId(){return I(this.#o)}set conversationLiveEntryId(e){A(this.#o,e,!0)}conversationRequestToken=0;conversationReturnFocusEl=null;bodyPointerStart=null;conversationDialogEl=null;conversationCloseBtnEl=null;canShowConversation(e){return Kre(e)}startBodyInteraction(e){this.bodyPointerStart={x:e.clientX,y:e.clientY}}_isBodyDrag(e){if(!this.bodyPointerStart)return!1;let t=Math.abs(e.clientX-this.bodyPointerStart.x),n=Math.abs(e.clientY-this.bodyPointerStart.y);return t>4||n>4}_hasActiveSelection(){let e=window.getSelection?window.getSelection():null;return!e||e.isCollapsed?!1:String(e.toString()||``).trim().length>0}handleBodyConversationClick(e,t){let n=this._isBodyDrag(e);if(this.bodyPointerStart=null,n||this._hasActiveSelection()||!this.canShowConversation(t))return;let r=e.target&&e.target.closest?e.target.closest(`[data-conversation-trigger="1"]`):null;r&&(e.preventDefault(),e.stopPropagation(),this.openConversation(t,r))}handleErrorConversationClick(e,t){let n=this._isBodyDrag(e);this.bodyPointerStart=null,!n&&(this._hasActiveSelection()||this.canShowConversation(t)&&(e.preventDefault(),e.stopPropagation(),this.openConversation(t,e.currentTarget)))}formatJSON(e){return IL(e)}renderBodyWithConversationHighlights(e,t,n){return nie(e,t,{formatJSON:e=>this.formatJSON(e),canShowConversation:e=>this.canShowConversation(e),promptCacheHighlight:n&&n.promptCacheHighlight})}async openConversation(e,t){if(!e||!e.id||!this.canShowConversation(e))return;let n=document.activeElement instanceof HTMLElement?document.activeElement:null;t instanceof HTMLElement?this.conversationReturnFocusEl=t:n&&n!==document.body&&(this.conversationReturnFocusEl=n);let r=++this.conversationRequestToken;if(this.conversationOpen=!0,this.conversationError=``,this.conversationAnchorID=e.id,this.conversationEntries=[],this.conversationMessages=[],document.body.classList.add(`conversation-drawer-open`),requestAnimationFrame(()=>this._focusConversationDrawer()),this._conversationEntryLivePending(e)){this.conversationLiveEntryId=String(e.id).trim(),this.conversationLoading=!1,this.applyLiveConversationEntry(e);return}this.conversationLiveEntryId=``,this.conversationLoading=!0,await this.fetchConversation(e.id,r)}_conversationEntryLivePending(e){return typeof QQ.auditEntryLiveDetailPending==`function`&&QQ.auditEntryLiveDetailPending(e)}applyLiveConversationEntry(e){this.conversationEntries=[e],this.conversationMessages=this.buildConversationMessages([e],e.id)}refreshLiveConversation(e){if(!this.conversationOpen||!this.conversationLiveEntryId||!e||String(e.id||``).trim()!==this.conversationLiveEntryId)return;let t=String(e._live_state||``).trim();if(t===`audit.flushed`||t===`audit.detail`){this.conversationLiveEntryId=``;let t=++this.conversationRequestToken;this.fetchConversation(e.id,t);return}this.applyLiveConversationEntry(e)}conversationLiveWaiting(){if(!this.conversationOpen||!this.conversationLiveEntryId)return!1;let e=(this.conversationEntries||[])[0];return!e||typeof QQ.liveAuditStateSettled!=`function`||!QQ.liveAuditStateSettled(e._live_state)}conversationLiveStatusText(){return(this.conversationMessages||[]).length>0?`Model is responding…`:`Waiting for request data…`}closeConversation(){this.conversationOpen=!1,this.conversationRequestToken++,this.conversationLiveEntryId=``,document.body.classList.remove(`conversation-drawer-open`);let e=this.conversationReturnFocusEl;this.conversationReturnFocusEl=null,e&&typeof e.focus==`function`&&document.contains(e)&&requestAnimationFrame(()=>e.focus())}_focusConversationDrawer(){if(!this.conversationOpen)return;let e=this.conversationCloseBtnEl;if(e&&typeof e.focus==`function`){e.focus();return}let t=this.conversationDialogEl;t&&typeof t.focus==`function`&&t.focus()}async fetchConversation(e,t){try{let n=await YI(`/admin/audit/conversation?`+(`log_id=`+encodeURIComponent(e)+`&limit=120`),{label:`audit conversation`});if(t!==this.conversationRequestToken||n.stale)return;if(!n.ok){this.conversationError=`Unable to load interactions.`,this.conversationEntries=[],this.conversationMessages=[];return}let r=n.data||{};this.conversationAnchorID=r.anchor_id||e,this.conversationEntries=Array.isArray(r.entries)?r.entries:[],this.conversationMessages=this.buildConversationMessages(this.conversationEntries,this.conversationAnchorID)}catch(e){if(t!==this.conversationRequestToken)return;console.error(`Failed to fetch audit conversation:`,e),this.conversationError=`Failed to load interactions.`,this.conversationEntries=[],this.conversationMessages=[]}finally{t===this.conversationRequestToken&&(this.conversationLoading=!1)}}buildConversationMessages(e,t){return aie(e,t)}functionExpandedContent(e){return f9(e)}};QQ.refreshLiveConversation=e=>p9.refreshLiveConversation(e);var oie=R(``),sie=R(` `),cie=R(``),lie=R(`
        `);function uie(e,t){E(t,!0);let n=G(t,`thread`,3,null),r=G(t,`expanded`,3,!1),i=G(t,`onactivate`,3,null);function a(e){e.preventDefault(),i()&&i()()}function o(e){e.stopPropagation(),e.preventDefault(),n().ontoggle()}function s(e){e.stopPropagation(),e.preventDefault(),n9.expandAuditEntry(t.entry),p9.openConversation(t.entry,e.currentTarget)}var c=lie();let l;var u=M(c),d=M(u),f=e=>{var t=oie(),r=M(t);{let e=O(()=>n().expanded?`chevron-down`:`chevron-right`);K(r,{get name(){return I(e)},class:`audit-thread-expander-svg`})}var i=P(r,2),a=M(i,!0);T(i),T(t),F(()=>{W(t,`aria-expanded`,n().expanded),W(t,`title`,`Session with `+n().count+` requests`),W(t,`aria-label`,`Session with `+n().count+` requests, `+(n().expanded?`collapse`:`expand`)),B(a,n().count)}),L(`click`,t,o),z(e,t)};V(d,e=>{n()&&e(f)});var p=P(d,2),m=M(p,!0);T(p);var h=P(p,2),g=M(h,!0);T(h);var _=P(h,2),v=e=>{var n=sie(),r=M(n,!0);T(n),F(e=>B(r,e),[()=>ZL(t.entry)]),z(e,n)};V(_,e=>{(t.entry.requested_model||t.entry.model)&&e(v)});var y=P(_,2),b=M(y,!0);T(y),T(u);var x=P(u,2),S=M(x);Ire(S,{get entry(){return t.entry}});var C=P(S,2),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee);var ne=P(ee,2),re=e=>{var t=cie();K(M(t),{name:`chevron-right`,class:`audit-conversation-trigger-svg`}),T(t),L(`click`,t,s),z(e,t)},ie=O(()=>p9.canShowConversation(t.entry));V(ne,e=>{I(ie)&&e(re)}),T(x),T(c),F((e,n,i,a,o)=>{l=U(c,1,`audit-entry-summary svelte-17mysgz`,null,l,e),W(c,`aria-expanded`,r()),U(p,1,`audit-status-badge ${n??``}`,`svelte-17mysgz`),B(m,t.entry.status_code||`-`),B(g,t.entry.method||`-`),B(b,t.entry.path||`-`),W(C,`title`,i),B(w,a),B(te,o)},[()=>({"audit-entry-summary-live-in-progress":K7(t.entry)}),()=>G7(t.entry.status_code),()=>GL(t.entry.timestamp),()=>UI.formatTimestamp(t.entry.timestamp),()=>Zne(t.entry.duration_ns)]),L(`click`,c,a),z(e,c),D()}Hr([`click`]);var die=R(``);function m9(e,t){E(t,!0);let n=G(t,`label`,3,`Copy`),r=G(t,`copiedLabel`,3,`Copied`),i=G(t,`errorLabel`,3,``),a=G(t,`class`,3,`btn`),o=O(()=>t.state.error&&i()?i():t.state.copied?r():n());var s=die();let c;var l=M(s),u=e=>{K(e,{name:`circle-check`,width:`14`,height:`14`,"stroke-width":`2.5`})},d=e=>{K(e,{name:`copy`,width:`14`,height:`14`})};V(l,e=>{t.state.copied?e(u):e(d,-1)});var f=P(l,2),p=M(f,!0);T(f),T(s),F(()=>{c=U(s,1,`copy-feedback-btn ${a()??``}`,null,c,{"copy-feedback-btn-copied":t.state.copied}),B(p,I(o))}),L(`click`,s,e=>{e.preventDefault(),t.onclick?.(e)}),z(e,s),D()}Hr([`click`]);var fie=R(`
        Error Message
         
        `),pie=R(`
         
        `),mie=R(` `),hie=R(` streaming`),gie=R(`
        Body
        `),_ie=R(`

        `),vie=R(`

        `),yie=R(`

        `),bie=R(`
        `);function xie(e,t){E(t,!0);let n=L5({logPrefix:`Failed to copy audit payload:`}),r=L5({logPrefix:`Failed to copy audit payload:`}),i=O(()=>t.pane&&t.pane.showHeaders?IL(t.pane.headers):``),a=O(()=>!t.pane||!t.pane.showBody?``:Yre(t.pane.body)?eie(t.pane.body):p9.renderBodyWithConversationHighlights(t.pane.entry,t.pane.body,{promptCacheHighlight:t.pane.promptCacheHighlight})),o=O(()=>!!(t.pane&&p9.canShowConversation(t.pane.entry)));function s(e){e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),p9.handleErrorConversationClick(e,t.pane.entry))}var c=bie();let l;var u=M(c),d=e=>{var n=fie(),r=P(M(n),2);let i;var a=M(r,!0);T(r),T(n),F(()=>{i=U(r,1,`audit-json audit-pane-error-message svelte-1h5puht`,null,i,{"audit-pane-clickable-preview":I(o)}),W(r,`role`,I(o)?`button`:null),W(r,`tabindex`,I(o)?0:null),B(a,t.pane.errorMessage)}),L(`mousedown`,r,e=>p9.startBodyInteraction(e)),L(`keydown`,r,s),L(`click`,r,e=>p9.handleErrorConversationClick(e,t.pane.entry)),z(e,n)};V(u,e=>{t.pane.showErrorMessage&&e(d)});var f=P(u,2),p=e=>{var n=pie(),a=M(n),o=M(a),s=M(o,!0);T(o),m9(P(o,2),{get state(){return r},label:`Copy Headers`,errorLabel:`Copy failed`,class:`audit-copy-btn`,onclick:()=>r.copy(t.pane.copyHeaders,IL)}),T(a);var c=P(a,2),l=M(c,!0);T(c),T(n),F(()=>{B(s,t.pane.headersTitle||`Headers`),B(l,I(i))}),z(e,n)};V(f,e=>{t.pane.showHeaders&&e(p)});var m=P(f,2),h=e=>{var r=gie(),i=M(r),o=M(i),s=P(M(o),2),c=e=>{var n=mie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.bodyCacheRatioLabel)),z(e,n)};V(s,e=>{t.pane.bodyCacheRatioLabel&&e(c)});var l=P(s,2),u=e=>{z(e,hie())};V(l,e=>{t.pane.streaming&&e(u)}),T(o),m9(P(o,2),{get state(){return n},label:`Copy Body`,errorLabel:`Copy failed`,class:`audit-copy-btn`,onclick:()=>n.copy(t.pane.copyBody,IL)}),T(i);var d=P(i,2);mi(d,()=>I(a),!0),T(d),T(r),L(`mousedown`,d,e=>p9.startBodyInteraction(e)),L(`click`,d,e=>p9.handleBodyConversationClick(e,t.pane.entry)),z(e,r)};V(m,e=>{t.pane.showBody&&e(h)});var g=P(m,2),_=e=>{var n=_ie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.emptyMessage)),z(e,n)};V(g,e=>{t.pane.showEmpty&&e(_)});var v=P(g,2),y=e=>{var n=vie(),r=P(M(n),2),i=M(r,!0);T(r),T(n),F(()=>B(i,t.pane.pendingMessage)),z(e,n)};V(v,e=>{t.pane.showPending&&e(y)});var b=P(v,2),x=e=>{var n=yie(),r=M(n,!0);T(n),F(()=>B(r,t.pane.tooLargeMessage)),z(e,n)};V(b,e=>{t.pane.showTooLarge&&e(x)}),T(c),F(()=>l=U(c,1,`audit-pane svelte-1h5puht`,null,l,{"audit-pane-split":t.pane&&t.pane.layout===`split`,"audit-pane-split-single":t.pane&&t.pane.layout===`split`&&!(t.pane.showHeaders&&t.pane.showBody)})),z(e,c),D()}Hr([`mousedown`,`keydown`,`click`]);var Sie=R(` `),h9=R(` `),Cie=R(` `),wie=R(` `),Tie=R(``),Eie=R(`
        `),Die=R(`
        `);function Oie(e,t){E(t,!0);let n=G(t,`panes`,19,()=>[]),r=k(null),i=O(()=>xre(I(r),t.entry,n())),a=e=>`audit-tab-`+t.entry.id+`-`+e,o=e=>`audit-tabpanel-`+t.entry.id+`-`+e;function s(e,t){let i=n().map(e=>e.id),a=Sre(e.key,i,t);a!=null&&(e.preventDefault(),((e.currentTarget?.closest?.(`.audit-pane-tablist`))?.querySelectorAll(`.audit-pane-tab`)[i.indexOf(a)])?.focus?.(),A(r,a,!0))}var c=Die(),l=M(c);H(l,21,n,e=>e.id,(e,t)=>{var n=Tie();let c;var l=M(n),u=M(l),d=e=>{K(e,{name:`arrow-right`})},f=e=>{K(e,{name:`arrow-left`})};V(u,e=>{I(t).pane.direction===`request`?e(d):I(t).pane.direction===`response`&&e(f,1)}),T(l);var p=P(l,2),m=M(p,!0);T(p);var h=P(p,2),g=e=>{var n=Sie(),r=M(n);T(n),F(()=>B(r,`#${I(t).pane.seq??``}`)),z(e,n)};V(h,e=>{I(t).pane.seq&&e(g)});var _=P(h,2),v=e=>{var n=h9(),r=M(n,!0);T(n),F(()=>{U(n,1,`provider-badge audit-pane-kind audit-pane-kind-${(I(t).pane.kind||``)??``}`,`svelte-1bc5vi5`),B(r,I(t).pane.kind)}),z(e,n)};V(_,e=>{I(t).pane.kind&&e(v)});var y=P(_,2);H(y,17,()=>I(t).pane.noChangeSteps||[],e=>e.id,(e,t)=>{var n=Cie(),r=M(n,!0);T(n),F(()=>{W(n,`title`,I(t).title),B(r,I(t).label)}),z(e,n)});var b=P(y,2),x=e=>{var n=wie(),r=M(n,!0);T(n),F(()=>B(r,I(t).pane.savingsLabel)),z(e,n)};V(b,e=>{I(t).pane.savingsLabel&&e(x)});var S=P(b,2),C=e=>{var n=h9(),r=M(n,!0);T(n),F(e=>{U(n,1,`audit-status-badge ${e??``}`,`svelte-1bc5vi5`),B(r,I(t).pane.statusCode)},[()=>G7(I(t).pane.statusCode)]),z(e,n)};V(S,e=>{I(t).pane.statusCode&&e(C)}),T(n),F((e,r)=>{c=U(n,1,`audit-pane-tab svelte-1bc5vi5`,null,c,{"audit-pane-tab-active":I(i)===I(t).id}),W(n,`aria-selected`,I(i)===I(t).id),W(n,`id`,e),W(n,`aria-controls`,r),W(n,`tabindex`,I(i)===I(t).id?0:-1),U(l,1,`audit-pane-icon audit-pane-icon-${(I(t).pane.direction||``)??``}`,`svelte-1bc5vi5`),B(m,I(t).pane.title)},[()=>a(I(t).id),()=>o(I(t).id)]),L(`keydown`,n,e=>s(e,I(t).id)),L(`click`,n,()=>A(r,I(t).id,!0)),z(e,n)}),T(l),H(P(l,2),17,n,e=>e.id,(e,t)=>{var n=Eie();let r;xie(M(n),{get pane(){return I(t).pane}}),T(n),F((e,a)=>{W(n,`id`,e),W(n,`aria-labelledby`,a),r=zi(n,``,r,{display:I(i)===I(t).id?null:`none`})},[()=>o(I(t).id),()=>a(I(t).id)]),z(e,n)}),T(c),z(e,c),D()}Hr([`keydown`,`click`]);var kie=R(`
        `),Aie=R(`
        `);function g9(e,t){E(t,!0);let n=G(t,`thread`,3,null),r=O(()=>n9.isAuditEntryExpanded(t.entry)),i=O(()=>I(r)?e9(t.entry,Bre):[]),a=O(()=>I(r)?Hte(t.entry,j7.auditEntryWorkflow(t.entry),j7.workflowFeatureCaps()):null);function o(){n9.toggleAuditEntryExpanded(t.entry)}var s=Aie(),c=M(s);uie(c,{get entry(){return t.entry},get thread(){return n()},get expanded(){return I(r)},onactivate:o});var l=P(c,2),u=e=>{var n=kie(),r=M(n),o=e=>{X5(e,{get chart(){return I(a)}})};V(r,e=>{I(a)&&e(o)});var s=P(r,2);Oie(s,{get entry(){return t.entry},get panes(){return I(i)}}),Nre(P(s,2),{get entry(){return t.entry}}),T(n),Di(3,n,()=>CL,()=>({y:-6,duration:A7(150)})),z(e,n)};V(l,e=>{I(r)&&e(u)}),T(s),z(e,s),D()}var jie=R(`
        `),Mie=R(`
        `),Nie=R(`

        `),Pie=R(`
        `),Fie=R(`
        `);function Iie(e,t){E(t,!0);let n=O(()=>L7(t.entry)),r=O(()=>n9.isThreadExpanded(I(n))),i=O(()=>n9.threadChildren(I(n))),a=O(()=>I(i)&&!I(i).loading&&Number(I(i).total||0)>I(i).entries.length+1);var o=Qr(),s=N(o),c=e=>{g9(e,{get entry(){return t.entry}})},l=O(()=>!Une(t.entry)),u=e=>{var n=Fie(),o=M(n);{let e=O(()=>({count:R7(t.entry),expanded:I(r),ontoggle:()=>n9.toggleThread(t.entry)}));g9(o,{get entry(){return t.entry},get thread(){return I(e)}})}var s=P(o,2),c=e=>{var t=Pie(),n=M(t),r=e=>{var t=jie();XZ(M(t),{size:14,label:`Loading session requests`}),T(t),z(e,t)};V(n,e=>{I(i)&&I(i).loading&&e(r)});var o=P(n,2);H(o,17,()=>I(i)&&I(i).entries||[],e=>e.id,(e,t)=>{var n=Mie();g9(M(n),{get entry(){return I(t)}}),T(n),z(e,n)});var s=P(o,2),c=e=>{var t=Nie(),n=M(t);T(t),F(()=>B(n,`Showing the latest ${I(i).entries.length+1} of ${I(i).total??``} - requests in this session.`)),z(e,t)};V(s,e=>{I(a)&&e(c)}),T(t),Di(3,t,()=>wL,()=>({duration:A7(150)})),z(e,t)};V(s,e=>{I(r)&&e(c)}),T(n),z(e,n)};V(s,e=>{I(l)?e(c):e(u,-1)}),z(e,o),D()}var Lie=R(`
         
        `),Rie=R(`
         
        `),zie=R(`
        `),Bie=R(`
        `),Vie=R(`
        `,1),Hie=R(`
        `);function Uie(e,t){E(t,!0);function n(e){return[e.role===`function_call`||e.role===`function_result`?`chat-function-note`:`chat-message`,e.roleClass,e.isAnchor?`is-anchor`:``].filter(Boolean).join(` `)}function r(e){return e.role===`function_call`?(e.toolCalls||[]).map(e=>e.name+`()`).join(`, `):(e.functionName?e.functionName+`: `:``)+e.text}var i=Hie(),a=M(i),o=e=>{var n=Lie(),i=M(n),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=M(s,!0);T(s),T(i);var l=P(i,2),u=M(l,!0);T(l),T(n),F((e,n)=>{B(o,t.msg.roleLabel),B(c,e),B(u,n)},[()=>r(t.msg),()=>f9(t.msg)]),z(e,n)},s=e=>{var n=Vie(),r=N(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=M(o,!0);T(o),T(r);var c=P(r,2),l=e=>{var n=Rie(),r=M(n,!0);T(n),F(()=>B(r,t.msg.text)),z(e,n)};V(c,e=>{t.msg.text&&e(l)});var u=P(c,2),d=e=>{var n=Bie();H(n,23,()=>t.msg.toolCalls,(e,t)=>e.name+`-`+t,(e,t)=>{var n=zie(),r=M(n),i=M(r,!0);T(r),T(n),F(()=>B(i,I(t).name+`()`)),z(e,n)}),T(n),z(e,n)};V(u,e=>{t.msg.toolCalls&&e(d)}),F(e=>{B(a,t.msg.roleLabel),B(s,e)},[()=>UI.formatTimestamp(t.msg.timestamp)]),z(e,n)};V(a,e=>{t.msg.role===`function_call`||t.msg.role===`function_result`?e(o):e(s,-1)}),T(i),F(e=>U(i,1,e,`svelte-12s99s5`),[()=>Mi(n(t.msg))]),z(e,i),D()}var Wie=R(``),Gie=R(`
        `),Kie=R(`

        Loading interactions...

        `),qie=R(`

        No interaction data available for this entry.

        `),Jie=R(`
        `),Yie=R(`
        `),Xie=R(``),Zie=R(`

        Interactions

        `,1);function Qie(e,t){E(t,!0);let n=p9;Mn(()=>{if(!n.conversationOpen)return;let e=Or(()=>mI.opened()),t=e=>{e.key===`Escape`&&mI.openCount<=1&&n.closeConversation()};return window.addEventListener(`keydown`,t),()=>{mI.closed(e),window.removeEventListener(`keydown`,t)}});var r=Zie(),i=N(r),a=e=>{var t=Wie();L(`click`,t,()=>n.closeConversation()),z(e,t)};V(i,e=>{n.conversationOpen&&e(a)});var o=P(i,2);let s;var c=M(o);sL(P(M(c),2),{label:`Close interactions`,onclick:()=>n.closeConversation(),get el(){return n.conversationCloseBtnEl},set el(e){n.conversationCloseBtnEl=e}}),T(c);var l=P(c,2),u=M(l),d=e=>{var t=Gie(),r=M(t,!0);T(t),F(()=>B(r,n.conversationError)),z(e,t)};V(u,e=>{n.conversationError&&e(d)});var f=P(u,2),p=e=>{z(e,Kie())};V(f,e=>{n.conversationLoading&&e(p)});var m=P(f,2),h=e=>{z(e,qie())},g=O(()=>!n.conversationLoading&&!n.conversationError&&n.conversationMessages.length===0&&!n.conversationLiveWaiting());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{var t=Jie();H(t,21,()=>n.conversationMessages,e=>e.uid,(e,t)=>{Uie(e,{get msg(){return I(t)}})}),T(t),z(e,t)};V(_,e=>{n.conversationMessages.length>0&&e(v)});var y=P(_,2),b=e=>{var t=Yie(),r=P(M(t),2),i=M(r,!0);T(r),T(t),F(e=>B(i,e),[()=>n.conversationLiveStatusText()]),z(e,t)},x=O(()=>n.conversationLiveWaiting());V(y,e=>{I(x)&&e(b)}),T(l);var S=P(l,2),C=e=>{var t=Xie(),r=M(t),i=M(r,!0);T(r),T(t),F(()=>B(i,`Opened from log: `+n.conversationAnchorID)),z(e,t)};V(S,e=>{n.conversationAnchorID&&e(C)}),T(o),pa(o,e=>n.conversationDialogEl=e,()=>n?.conversationDialogEl),F(()=>{s=U(o,1,`conversation-drawer`,null,s,{open:n.conversationOpen}),W(o,`aria-hidden`,!n.conversationOpen)}),z(e,r),D()}Hr([`click`]);var $ie=R(`

        .

        `),eae=R(`
        Audit logging is off. Live entries are temporary and disappear after - refresh. Set LOGGING_ENABLED=true to persist them.
        `),tae=R(`

        `),nae=R(`
        `),rae=R(`
        `),iae=R(`
        `),aae=R(`
        `),oae=R(`
        `);function sae(e,t){E(t,!0);let n=O(()=>eL.config&&eL.config.LOGGING_RETENTION_DAYS);Mn(()=>{if(q.refreshTick,EI.page===`audit-logs`)return Or(()=>r())});function r(){let e=!1;return(async()=>{try{await eL.ensureLoaded()}finally{await n9.fetchAuditLog(!0),!e&&eL.liveLogsVisible()&&QQ.ensureLiveLogs()}})(),()=>{e=!0,QQ.stopLiveLogs()}}var i=oae(),a=M(i),o=M(a),s=P(M(o),2),c=e=>{xQ(e,{copyId:`audit-retention-help-copy`,label:`retention help`,text:`If you want to change the retention period, set LOGGING_RETENTION_DAYS (env var) or logging.retention_days (config.yaml) and restart the gateway. Default is 30 days; 0 keeps audit logs forever.`,title:e=>{var t=$ie(),r=M(t,!0),i=P(r),a=M(i,!0);T(i),Ge(),T(t),F((e,t)=>{B(r,e),B(a,t)},[()=>zne(I(n)),()=>Bne(I(n))]),z(e,t)},$$slots:{title:!0}})},l=O(()=>Rne(I(n)));V(s,e=>{I(l)&&e(c)}),T(o),T(a);var u=P(a,2);MR(M(u),{onchange:()=>n9.fetchAuditLog(!0)}),T(u);var d=P(u,2);fR(d,{});var f=P(d,2),p=e=>{z(e,eae())},m=O(()=>eL.loaded&&!eL.auditVisible()&&!q.needsAuth);V(f,e=>{I(m)&&e(p)});var h=P(f,2),g=M(h);Tre(g,{});var _=P(g,2),v=M(_),y=M(v),b=e=>{var t=tae(),n=M(t);T(t),F(e=>B(n,`Showing ${n9.auditLog.offset+1}-${e??``} of ${n9.auditLog.total??``} - ${n9.auditGroupSessions?`sessions`:`logs`}`),[()=>Math.min(n9.auditLog.offset+n9.auditLog.limit,n9.auditLog.total)]),z(e,t)};V(y,e=>{n9.auditLog.total>0&&e(b)});var x=P(y,2),S=M(x);$i(S),Ge(2),T(x),T(v),Are(P(v,2),{}),T(_);var C=P(_,2),w=e=>{var t=nae();XZ(M(t),{size:18,label:`Loading audit logs`}),T(t),z(e,t)},ee=e=>{var t=iae();H(t,29,()=>n9.auditLog.entries,e=>e.id,(e,t)=>{var n=rae(),r=M(n),i=e=>{Iie(e,{get entry(){return I(t)}})},a=e=>{g9(e,{get entry(){return I(t)}})};V(r,e=>{n9.auditGroupSessions?e(i):e(a,-1)}),T(n),Ei(n,()=>kne,()=>({duration:A7(150)})),Di(1,n,()=>Mne,()=>({live:I(t)._live})),z(e,n)}),T(t),z(e,t)};V(C,e=>{n9.loading&&n9.auditLog.entries.length===0?e(w):n9.auditLog.entries.length>0&&e(ee,1)});var te=P(C,2),ne=e=>{var t=aae();$Z(M(t),{}),T(t),z(e,t)};V(te,e=>{n9.auditLog.entries.length===0&&!n9.loading&&!q.needsAuth&&e(ne)}),m1(P(te,2),{get total(){return n9.auditLog.total},get offset(){return n9.auditLog.offset},get limit(){return n9.auditLog.limit},onprev:()=>n9.auditLogPrevPage(),onnext:()=>n9.auditLogNextPage()}),T(h),Qie(P(h,2),{}),T(i),F(()=>ta(S,n9.auditGroupSessions)),L(`change`,S,()=>n9.toggleAuditGroupSessions()),z(e,i),D()}Hr([`change`]);function _9(e){try{let t=JSON.parse(JSON.stringify(e||{}));return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}catch{return{}}}function v9(e){return Array.isArray(e)?e.map(e=>String(e||``).trim()).filter(e=>e):e==null?[]:String(e).split(`,`).map(e=>e.trim()).filter(e=>e)}function y9(e,t){let n=String(t||``).trim();return(e||[]).find(e=>String(e&&e.type||``).trim()===n)||null}function b9(e){return Array.isArray(e)&&e.length>0&&String(e[0].type||``).trim()||`system_prompt`}function x9(e,t){let n=String(t||``).trim();return n&&y9(e,n)?n:b9(e)}function S9(e,t){let n=y9(e,t);return!n||!n.defaults?{}:_9(n.defaults)}function C9(e,t,n){return{...S9(e,n),..._9(t)}}function w9(e,t){let n=x9(e,t);return{name:``,type:n,description:``,user_path:``,config:S9(e,n)}}function cae(e,t){if(!t)return e||[];let n=String(t).toLowerCase();return(e||[]).filter(e=>[e.name,e.type,e.user_path,e.description,e.summary].some(e=>String(e||``).toLowerCase().includes(n)))}function lae(e,t){let n=y9(e,t);return n&&n.label?n.label:t||`Unknown`}function uae(e,t){let n=y9(e,t);return Array.isArray(n&&n.fields)?n.fields:[]}function T9(e,t){if(!t||!e)return t&&t.input===`checkboxes`?[]:``;let n=e[t.key];return n==null?t.input===`checkboxes`?[]:``:t.input===`checkboxes`?v9(n):n}function E9(e,t,n){if(!t)return e;let r=_9(e);if(t.input===`number`){let e=String(n||``).trim();if(e===``)delete r[t.key];else{let n=Number(e);r[t.key]=Number.isFinite(n)?n:e}}else t.input===`checkboxes`?r[t.key]=v9(n):r[t.key]=n;return r}function dae(e,t,n){return T9(e,t).includes(String(n||``).trim())}function fae(e,t,n,r){let i=v9(T9(e,t)),a=String(n||``).trim();return a?E9(e,t,r?Array.from(new Set([...i,a])):i.filter(e=>e!==a)):e}function pae(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),description:String(e&&e.description||``).trim()||void 0,user_path:String(e&&e.user_path||``).trim()||void 0,config:_9(e&&e.config)}}var D9=new class{#e=k(j([]));get guardrails(){return I(this.#e)}set guardrails(e){A(this.#e,e,!0)}#t=k(j([]));get types(){return I(this.#t)}set types(e){A(this.#t,e,!0)}#n=k(!0);get available(){return I(this.#n)}set available(e){A(this.#n,e,!0)}#r=k(!1);get loading(){return I(this.#r)}set loading(e){A(this.#r,e,!0)}#i=k(!1);get typesLoading(){return I(this.#i)}set typesLoading(e){A(this.#i,e,!0)}#a=k(``);get error(){return I(this.#a)}set error(e){A(this.#a,e,!0)}#o=k(``);get filter(){return I(this.#o)}set filter(e){A(this.#o,e,!0)}#s=k(!1);get formOpen(){return I(this.#s)}set formOpen(e){A(this.#s,e,!0)}#c=k(!1);get formSubmitting(){return I(this.#c)}set formSubmitting(e){A(this.#c,e,!0)}#l=k(``);get deletingName(){return I(this.#l)}set deletingName(e){A(this.#l,e,!0)}#u=k(`create`);get formMode(){return I(this.#u)}set formMode(e){A(this.#u,e,!0)}#d=k(``);get formOriginalName(){return I(this.#d)}set formOriginalName(e){A(this.#d,e,!0)}#f=k(j({name:``,type:``,description:``,user_path:``,config:{}}));get form(){return I(this.#f)}set form(e){A(this.#f,e,!0)}get filtered(){return cae(this.guardrails,this.filter)}typeLabel(e){return lae(this.types,e)}typeFields(e){return uae(this.types,e)}fieldValue(e){return T9(this.form&&this.form.config,e)}setFieldValue(e,t){this.form={...this.form,config:E9(this.form.config,e,t)}}arrayFieldSelected(e,t){return dae(this.form&&this.form.config,e,t)}toggleArrayFieldValue(e,t,n){this.form={...this.form,config:fae(this.form.config,e,t,n)}}openCreate(){this.formMode=`create`,this.formOriginalName=``,this.error=``,this.form=w9(this.types,b9(this.types)),this.formOpen=!0}openEdit(e){let t=x9(this.types,e&&e.type);this.formMode=`edit`,this.formOriginalName=String(e&&e.name||``).trim(),this.error=``,this.form={name:this.formOriginalName,type:t,description:String(e&&e.description||``).trim(),user_path:String(e&&e.user_path||``).trim(),config:C9(this.types,e&&e.config,t)},this.formOpen=!0}closeForm(){this.formOpen=!1,this.formMode=`create`,this.formOriginalName=``,this.error=``,this.form=w9(this.types,b9(this.types))}changeType(e){let t=x9(this.types,e);this.form={...this.form,type:t,config:S9(this.types,t)}}async fetchTypes(){this.typesLoading=!0;try{let e=await L1(`/admin/guardrails/types`,{label:`guardrail types`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.types=[];return}if(e.result&&(this.available=!0),this.types=e.items,e.status===`error`){this.error=e.error;return}let t=x9(this.types,this.form.type);this.form={...this.form,type:t,config:C9(this.types,this.form.config,t)}}finally{this.typesLoading=!1}}async fetchGuardrails(){this.loading=!0,this.error=``;try{let e=await L1(`/admin/guardrails`,{label:`guardrails`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.guardrails=[];return}e.result&&(this.available=!0),this.guardrails=e.items,this.error=e.error}finally{this.loading=!1}}async fetchPage(){await Promise.all([this.fetchTypes(),this.fetchGuardrails()])}async submitForm(){let e=String(this.form.name||``).trim(),t=String(this.form.type||``).trim();if(!e){this.error=`Name is required.`;return}if(!t){this.error=`Type is required.`;return}this.error=``,this.formSubmitting=!0;let n=pae(this.form);try{let t=await R1(`/admin/guardrails`,`PUT`,n,{label:`save guardrail`,errorFallback:`Failed to save guardrail.`,unavailableMessage:`Guardrails feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}kL.success(`Guardrail "`+e+`" saved.`),this.closeForm(),this.fetchGuardrails()}finally{this.formSubmitting=!1}}async deleteGuardrail(e){let t=String(e&&e.name||``).trim();if(!(!t||this.deletingName)&&window.confirm(`Delete guardrail "`+t+`"? Workflows that still reference it must be updated first.`)){this.deletingName=t;try{let e=await R1(`/admin/guardrails`,`DELETE`,{name:t},{label:`delete guardrail`,errorFallback:`Failed to delete guardrail.`,unavailableMessage:`Guardrails feature is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,kL.error(e.error);return}if(e.status===`error`){kL.error(e.error);return}kL.success(`Guardrail "`+t+`" deleted.`),this.formOpen&&this.formOriginalName===t&&this.closeForm(),this.fetchGuardrails()}finally{this.deletingName=``}}}},mae=R(`
        `),hae=R(`

        Loading guardrails...

        `),gae=R(`
        `),_ae=R(`
        `),vae=R(`
        NameTypeUser PathSummaryActions
        `),yae=R(`

        No guardrails defined yet.

        `),bae=R(`

        Instances

        Each instance has a reusable name, a type, an optional user path for - future UI visibility scoping, and a JSON-backed config payload for - that type.

        `);function xae(e,t){E(t,!0);var n=bae(),r=M(n),i=P(M(r),2);K(M(i),{name:`plus`,class:`form-action-icon`}),Ge(2),T(i),T(r);var a=P(r,2),o=e=>{var t=mae(),n=M(t);z$(M(n),{id:`guardrail-filter`,placeholder:`Filter by name, type, user path, summary...`,label:`Guardrail filter`,get value(){return D9.filter},set value(e){D9.filter=e}}),T(n),T(t),z(e,t)};V(a,e=>{D9.available&&e(o)});var s=P(a,2),c=e=>{var t=hae();XZ(M(t),{size:16,label:`Loading guardrails`}),Ge(),T(t),z(e,t)};V(s,e=>{D9.loading&&D9.filtered.length===0&&e(c)});var l=P(s,2),u=e=>{var t=vae(),n=M(t),r=P(M(n));H(r,21,()=>D9.filtered,e=>e.name,(e,t)=>{var n=_ae(),r=M(n),i=M(r,!0);T(r);var a=P(r),o=M(a),s=M(o,!0);T(o),T(a);var c=P(a),l=M(c,!0);T(c);var u=P(c),d=M(u),f=M(d,!0);T(d);var p=P(d,2),m=e=>{var n=gae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(p,e=>{I(t).description&&e(m)}),T(u);var h=P(u),g=M(h),_=M(g);{let e=O(()=>`Edit guardrail `+I(t).name);I1(_,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>D9.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var v=P(_,2);{let e=O(()=>(D9.deletingName===I(t).name?`Deleting guardrail `:`Delete guardrail `)+I(t).name),n=O(()=>D9.deletingName===I(t).name);I1(v,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>D9.deleteGuardrail(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}T(g),T(h),T(n),F(e=>{B(i,I(t).name),B(s,e),B(l,I(t).user_path||`—`),B(f,I(t).summary||I(t).description||`No summary yet.`)},[()=>D9.typeLabel(I(t).type)]),z(e,n)}),T(r),T(n),T(t),z(e,t)};V(l,e=>{D9.filtered.length>0&&e(u)});var d=P(l,2),f=e=>{z(e,yae())};V(d,e=>{D9.filtered.length===0&&!D9.loading&&D9.available&&!D9.error&&!q.authError&&e(f)}),T(n),F(()=>i.disabled=D9.typesLoading||D9.formSubmitting||!D9.available),L(`click`,i,()=>D9.openCreate()),z(e,n),D()}Hr([`click`]);var Sae=R(`

        Workflows reference these names directly, so renames are - intentionally avoided after creation.

        `),Cae=R(``),O9=R(``),wae=R(``),Tae=R(``),Eae=R(``),Dae=R(``),Oae=R(``),kae=R(``),Aae=R(``),jae=R(`
        `),Mae=R(``),Nae=R(` `),Pae=R(`
        `),Fae=R(`
        `);function Iae(e,t){E(t,!0);let n=O(()=>D9.formMode===`edit`);{let t=e=>{z(e,Sae())},r=O(()=>I(n)?`Edit Guardrail`:`Create Guardrail`);B0(e,{get open(){return D9.formOpen},get title(){return I(r)},ariaLabel:`Guardrail editor`,get error(){return D9.error},get submitting(){return D9.formSubmitting},submitLabel:`Save Guardrail`,dialogClass:`settings-guardrails-editor guardrails-editor-wide`,onclose:()=>D9.closeForm(),onsubmit:()=>D9.submitForm(),headerHint:t,children:(e,t)=>{var r=Fae(),i=M(r);H0(i,{id:`guardrail-name`,label:`Name`,children:(e,t)=>{var r=Cae();$i(r),F(()=>{r.disabled=I(n),W(r,`data-modal-autofocus`,!I(n)||void 0)}),ca(r,()=>D9.form.name,e=>D9.form.name=e),z(e,r)},$$slots:{default:!0}});var a=P(i,2);H0(a,{id:`guardrail-type`,label:`Type`,children:(e,t)=>{var r=wae();H(r,21,()=>D9.types,e=>e.type,(e,t)=>{var n=O9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).type)&&(n.value=(n.__value=I(t).type)??``)}),z(e,n)}),T(r);var i;Vi(r),F(()=>{r.disabled=I(n),i!==(i=D9.form.type)&&(r.value=(r.__value=D9.form.type)??``,Bi(r,D9.form.type))}),L(`change`,r,e=>D9.changeType(e.currentTarget.value)),z(e,r)},$$slots:{default:!0}});var o=P(a,2);H0(o,{id:`guardrail-description`,label:`Description`,children:(e,t)=>{var r=Tae();$i(r),F(()=>W(r,`data-modal-autofocus`,I(n)?!0:void 0)),ca(r,()=>D9.form.description,e=>D9.form.description=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2),c=M(s);xQ(c,{copyId:`guardrail-user-path-help-copy`,label:`guardrail user path help`,text:`Only used for auxiliary rewrite (llm_based_altering) guardrails; ignored for other guardrail types.`,title:e=>{z(e,Eae())},$$slots:{title:!0}});var l=P(c,2);$i(l),T(s),H(P(s,2),17,()=>D9.typeFields(D9.form.type),e=>e.key,(e,t)=>{var n=Qr(),r=N(n),i=e=>{var n=jae(),r=M(n);{let e=e=>{var n=Dae(),r=M(n,!0);T(n),F(()=>{W(n,`for`,`guardrail-field-`+I(t).key),B(r,I(t).label)}),z(e,n)},n=O(()=>`guardrail-field-help-`+I(t).key),i=O(()=>I(t).label+` help`),a=O(()=>I(t).help||``);xQ(r,{get copyId(){return I(n)},get label(){return I(i)},get text(){return I(a)},title:e,$$slots:{title:!0}})}var i=P(r,2),a=e=>{var n=Oae();H(n,21,()=>I(t).options||[],e=>e.value,(e,t)=>{var n=O9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n);var r;Vi(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),r!==(r=e)&&(n.value=(n.__value=e)??``,Bi(n,e))},[()=>D9.fieldValue(I(t))]),L(`change`,n,e=>D9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},o=e=>{var n=kae();mt(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>D9.fieldValue(I(t))]),L(`input`,n,e=>D9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},s=e=>{var n=Aae();$i(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`type`,I(t).input||`text`),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>D9.fieldValue(I(t))]),L(`input`,n,e=>D9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)};V(i,e=>{I(t).input===`select`?e(a):I(t).input===`textarea`?e(o,1):e(s,-1)}),T(n),z(e,n)},a=e=>{var n=Pae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).options||[],e=>I(t).key+`-`+e.value,(e,n)=>{var r=Mae(),i=M(r);$i(i);var a=P(i,2),o=M(a,!0);T(a),T(r),F(e=>{ta(i,e),B(o,I(n).label)},[()=>D9.arrayFieldSelected(I(t),I(n).value)]),L(`change`,i,e=>D9.toggleArrayFieldValue(I(t),I(n).value,e.currentTarget.checked)),z(e,r)}),T(a);var o=P(a,2),s=e=>{var n=Nae(),r=M(n,!0);T(n),F(()=>{W(n,`id`,`guardrail-field-help-`+I(t).key),B(r,I(t).help)}),z(e,n)};V(o,e=>{I(t).help&&e(s)}),T(n),F(()=>{W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),B(i,I(t).label)}),z(e,n)};V(r,e=>{I(t).input===`checkboxes`?e(a,-1):e(i)}),z(e,n)}),T(r),ca(l,()=>D9.form.user_path,e=>D9.form.user_path=e),z(e,r)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var Lae=R(`

        Guardrails

        `),Rae=R(`
        Runtime guardrail execution is currently off because GUARDRAILS_ENABLED is disabled. You can still manage - definitions here.
        `),zae=R(`
        Guardrails feature is unavailable.
        `),Bae=R(`
        `),Vae=R(`

        Reusable Policy Objects

        Guardrail Library

        Store guardrails in the database, keep them hot in memory, and attach - them to workflows by reference.

        Instances
        Types
        `);function Hae(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`guardrails`&&(eL.ensureLoaded(),D9.fetchPage())});var n=Vae(),r=M(n),i=M(r);xQ(M(i),{copyId:`guardrails-help-copy`,label:`guardrails help`,text:`Reusable policy objects stored in the database and kept hot in memory for workflow execution.`,title:e=>{z(e,Lae())},$$slots:{title:!0}}),T(i),T(r);var a=P(r,2),o=P(M(a),2),s=M(o),c=P(M(s),2),l=M(c,!0);T(c),T(s);var u=P(s,2),d=P(M(u),2),f=M(d,!0);T(d),T(u),T(o),T(a);var p=P(a,2);fR(p,{});var m=P(p,2),h=e=>{z(e,Rae())},g=O(()=>!eL.guardrailsVisible());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{z(e,zae())};V(_,e=>{!q.authError&&!D9.available&&e(v)});var y=P(_,2),b=e=>{var t=Bae(),n=M(t,!0);T(t),F(()=>B(n,D9.error)),z(e,t)};V(y,e=>{!q.authError&&D9.error&&!D9.formOpen&&e(b)});var x=P(y,2);Iae(x,{}),xae(P(x,2),{}),T(n),F((e,t)=>{B(l,e),B(f,t)},[()=>LL(D9.guardrails.length),()=>LL(D9.types.length)]),z(e,n),D()}var Q=new class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get slugEdited(){return I(this.#c)}set slugEdited(e){A(this.#c,e,!0)}#l=k(!1);get advancedOpen(){return I(this.#l)}set advancedOpen(e){A(this.#l,e,!0)}#u=k(j(zX()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(``);get deletingName(){return I(this.#d)}set deletingName(e){A(this.#d,e,!0)}#f=k(``);get reconnectingName(){return I(this.#f)}set reconnectingName(e){A(this.#f,e,!0)}#p=k(!1);get catalogOpen(){return I(this.#p)}set catalogOpen(e){A(this.#p,e,!0)}#m=k(!1);get catalogLoading(){return I(this.#m)}set catalogLoading(e){A(this.#m,e,!0)}#h=k(``);get catalogError(){return I(this.#h)}set catalogError(e){A(this.#h,e,!0)}#g=k(j(BX()));get catalog(){return I(this.#g)}set catalog(e){A(this.#g,e,!0)}#_=O(()=>ZX(this.servers,this.filter));get filtered(){return I(this.#_)}set filtered(e){A(this.#_,e)}async fetchServers(){if(await eL.ensureLoaded(),!eL.mcpVisible()){this.available=!1,this.servers=[],this.error=``,this.loading=!1;return}this.loading=!0,this.error=``;try{let e=await L1(`/admin/mcp-servers`,{label:`mcp servers`,errorFallback:`Failed to load MCP servers.`,unavailableStatuses:[503,404]});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.servers=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.servers=[],this.error=e.error;return}this.available=!0,this.servers=e.items}finally{this.loading=!1}}openCreate(){this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=zX(),this.formOpen=!0}openEdit(e){!e||e.managed||(this.formMode=`edit`,this.slugEdited=!0,this.advancedOpen=!1,this.error=``,this.form=QX(e),this.formOpen=!0)}closeForm(){this.formOpen=!1,this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=zX()}syncSlugFromName(){this.formMode===`create`&&!this.slugEdited&&(this.form.slug=qX(this.form.name))}markSlugEdited(){this.formMode===`create`&&(this.slugEdited=!0)}addHeader(){this.form.headers.push({name:``,value:``})}removeHeader(e){this.form.headers.splice(e,1)}async submitForm(){let e=$X(this.form,this.formMode,this.servers);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await R1(`/admin/mcp-servers`,`PUT`,e.payload,{label:`save mcp server`,errorFallback:`Failed to save MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}kL.success(`MCP server "`+e.payload.name+`" saved.`),this.closeForm(),this.fetchServers()}finally{this.formSubmitting=!1}}async deleteServer(e){let t=String(e&&e.name||``).trim(),n=VX(e);if(!(!n||this.deletingName||e&&e.managed)&&confirm(`Delete MCP server "`+t+`"? Clients lose access to its tools immediately.`)){this.deletingName=n;try{let e=await R1(`/admin/mcp-servers/`+encodeURIComponent(n),`DELETE`,void 0,{label:`delete mcp server`,errorFallback:`Failed to delete MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,kL.error(e.error);return}if(e.status===`error`){kL.error(e.error);return}kL.success(`MCP server "`+t+`" deleted.`),this.formOpen&&this.form.slug===n&&this.closeForm(),this.fetchServers()}finally{this.deletingName=``}}}async reconnectServer(e){let t=String(e&&e.name||``).trim(),n=VX(e);if(!(!n||this.reconnectingName)){this.reconnectingName=n;try{let e=await R1(`/admin/mcp-servers/`+encodeURIComponent(n)+`/reconnect`,`POST`,void 0,{label:`reconnect mcp server`,errorFallback:`Failed to reconnect MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,kL.error(e.error);return}if(e.status===`error`){kL.error(e.error);return}let r=e.result.data,i=HX(r);i===`connected`?kL.success(`MCP server "`+t+`" reconnected.`):i===`disabled`?kL.success(`MCP server "`+t+`" is disabled; no connection was attempted.`):kL.error(`Reconnect attempted, but MCP server "`+t+`" is still `+i+`.`),r&&r.name?this.servers=(this.servers||[]).map(e=>VX(e)===VX(r)?r:e):this.fetchServers()}finally{this.reconnectingName=``}}}async openCatalog(e){let t=String(e&&e.name||``).trim(),n=VX(e);if(n){this.catalogOpen=!0,this.catalogLoading=!0,this.catalogError=``,this.catalog={...BX(),server:n,status:HX(e)};try{let e=await YI(`/admin/mcp-servers/`+encodeURIComponent(n)+`/catalog`,{label:`mcp server catalog`});if(e.stale)return;if(e.status===503){this.available=!1,this.catalogError=`MCP server management is unavailable.`;return}if(e.status===404){this.catalogError=`MCP server "`+t+`" was not found.`;return}if(!e.ok){this.catalogError=e.status===401?`Authentication required.`:WI(e.data,`Failed to load MCP server catalog.`);return}this.catalog=eZ(n,e.data)}catch(e){console.error(`Failed to load MCP server catalog:`,e),this.catalogError=`Failed to load MCP server catalog.`}finally{this.catalogLoading=!1}}}closeCatalog(){this.catalogOpen=!1,this.catalogLoading=!1,this.catalogError=``,this.catalog=BX()}},Uae=R(``),Wae=R(`

        `),Gae=R(`
        `),Kae=R(`

        `),qae=R(`
      • `),Jae=R(`

          `),Yae=R(`

          No tools listed — the server may still be connecting or degraded.

          `),Xae=R(` `,1),Zae=R(``);function Qae(e,t){E(t,!0);let n=O(()=>nZ(Q.catalog));lL(e,{get open(){return Q.catalogOpen},variant:`editor`,onclose:()=>Q.closeCatalog(),children:(e,t)=>{var r=Zae(),i=M(r),a=M(i),o=P(M(a),2),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=M(l,!0);T(l),T(o),T(a),sL(P(a,2),{label:`Close MCP server catalog`,onclick:()=>Q.closeCatalog()}),T(i);var d=P(i,2),f=e=>{P1(e,{label:`Loading catalog...`})},p=e=>{var t=Uae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalogError)),z(e,t)},m=e=>{var t=Xae(),r=N(t),i=e=>{var t=Wae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalog.instructions)),z(e,t)};V(r,e=>{Q.catalog.instructions&&e(i)});var a=P(r,2);H(a,17,()=>I(n),e=>e.key,(e,t)=>{var n=Jae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).items,e=>e.key,(e,t)=>{var n=qae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=Gae(),r=M(n,!0);T(n),F(()=>{W(n,`title`,`Exposed on the aggregated /mcp endpoint as `+I(t).aggregated),B(r,I(t).aggregated)}),z(e,n)};V(a,e=>{I(t).aggregated&&e(o)});var s=P(a,2),c=e=>{var n=Kae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(s,e=>{I(t).description&&e(c)}),T(n),F(()=>{W(r,`title`,I(t).aggregated||I(t).name),B(i,I(t).name)}),z(e,n)}),T(a),T(n),F(()=>B(i,I(t).title)),z(e,n)});var o=P(a,2),s=e=>{z(e,Yae())},c=O(()=>rZ(Q.catalog));V(o,e=>{I(c)&&e(s)}),z(e,t)};V(d,e=>{Q.catalogLoading?e(f):Q.catalogError?e(p,1):e(m,-1)});var h=P(d,2),g=M(h);T(h),T(r),F((e,t)=>{B(c,Q.catalog.server),U(l,1,`audit-status-badge ${e??``}`,`svelte-1xqrzco`),B(u,t)},[()=>UX(Q.catalog),()=>HX(Q.catalog)]),L(`click`,g,()=>Q.closeCatalog()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var $ae=R(`

          The display name can change. The slug is the stable client-facing identity.

          `),eoe=R(` Human-readable and Unicode-friendly. You can change it later.`,1),toe=R(`Derived from the name. You may edit it before saving.`),noe=R(`Immutable because it is used in URLs, scope headers, and aggregated tool names.`),roe=R(` `,1),ioe=R(` stdio servers are config-only: declare them in config.yaml under mcp.servers.`,1),aoe=R(``),ooe=R(`
          `),soe=R(`
          Headers
          Sent only to the configured server origin. Saved values are shown as ***; leave *** unchanged to keep the stored value.
          Advanced settings Description, access rules, and timeout
          `,1);function coe(e,t){E(t,!0);{let t=e=>{z(e,$ae())},n=O(()=>Q.formMode===`edit`?`Edit MCP Server`:`Add MCP Server`);B0(e,{get open(){return Q.formOpen},get title(){return I(n)},ariaLabel:`MCP server editor`,get error(){return Q.error},get submitting(){return Q.formSubmitting},onclose:()=>Q.closeForm(),onsubmit:()=>Q.submitForm(),headerHint:t,children:(e,t)=>{var n=soe(),r=N(n);H0(r,{id:`mcp-server-name`,label:`Name`,children:(e,t)=>{var n=eoe(),r=N(n);$i(r),Ge(2),L(`input`,r,()=>Q.syncSlugFromName()),ca(r,()=>Q.form.name,e=>Q.form.name=e),z(e,n)},$$slots:{default:!0}});var i=P(r,2);H0(i,{id:`mcp-server-slug`,label:`Slug`,children:(e,t)=>{var n=roe(),r=N(n);$i(r);var i=P(r,2),a=e=>{z(e,toe())},o=e=>{z(e,noe())};V(i,e=>{Q.formMode===`create`?e(a):e(o,-1)}),F(()=>r.disabled=Q.formMode===`edit`),L(`input`,r,()=>Q.markSlugEdited()),ca(r,()=>Q.form.slug,e=>Q.form.slug=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);H0(a,{id:`mcp-server-transport`,label:`Transport`,children:(e,t)=>{var n=ioe(),r=N(n),i=M(r);i.value=i.__value=`http`;var a=P(i);a.value=a.__value=`sse`,T(r),Ge(2),Hi(r,()=>Q.form.transport,e=>Q.form.transport=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);H0(o,{id:`mcp-server-url`,label:`URL`,children:(e,t)=>{var n=aoe();$i(n),ca(n,()=>Q.form.url,e=>Q.form.url=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=P(M(s),2);H(c,21,()=>Q.form.headers,ai,(e,t,n)=>{var r=ooe(),i=M(r);$i(i);var a=P(i,2);$i(a),I1(P(a,2),{label:`Remove header`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Q.removeHeader(n),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),ca(i,()=>I(t).name,e=>I(t).name=e),ca(a,()=>I(t).value,e=>I(t).value=e),z(e,r)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l),Ge(2),T(s);var d=P(s,2),f=M(d);B6(M(f),{get enabled(){return Q.form.enabled},label:`MCP server`,onclick:()=>Q.form.enabled=!Q.form.enabled}),T(f),T(d);var p=P(d,2),m=P(M(p),2),h=M(m),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=P(M(y),2);$i(b),T(y);var x=P(y,2),S=P(M(x),2);mt(S),W(S,`placeholder`,`/ -/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var loe=R(`Config`),uoe=R(`
          `),doe=R(`
          `),foe=R(`
          NameTransportEndpointStatusToolsEnabledActions
          `);function poe(e,t){E(t,!0);function n(e){return WX(e,e=>UI.formatTimestamp(e))}var r=foe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>VX(e),(e,t)=>{var r=doe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,loe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=uoe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>HX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);I1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);I1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===VX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===VX(I(t)));I1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===VX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===VX(I(t)));I1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>VX(I(t)),()=>GX(I(t)),()=>GX(I(t)),()=>UX(I(t)),()=>n(I(t)),()=>HX(I(t)),()=>LL(I(t).tool_count||0),()=>KX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var moe=R(`

          MCP Servers

          `),hoe=R(``),goe=R(`
          MCP server management is unavailable.
          `),_oe=R(``),voe=R(`
          `),yoe=R(`

          No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

          `),boe=R(`

          No MCP servers match your filter.

          `),xoe=R(`
          `);function Soe(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`mcp-servers`&&Q.fetchServers()});var n=xoe(),r=M(n),i=M(r);xQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,moe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=hoe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,goe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=_oe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{P1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=voe(),n=M(t);z$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);coe(g,{});var _=P(g,2);Qae(_,{});var v=P(_,2),y=e=>{poe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,yoe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,boe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var k9=`api_keys`,Coe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[k9]:{label:`API Keys`,control:`keys`,hint:`Multiple keys rotate round-robin. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[Coe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function woe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Toe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Eoe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Doe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==k9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...woe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var Ooe=new Set([`name`,`type`,`enabled`]);function koe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!Ooe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function Aoe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function joe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Moe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Noe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Poe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Moe(e&&e.api_keys),base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Foe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Ioe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Loe(e,t);n&&(i[t.name]=n)}return i}function Loe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Foe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function Roe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=new Set;for(let t of[...r,...i])a.add(t.name),n[t.name]=I9(e,t.name);for(let t of Object.keys(M9)){if(a.has(t))continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case k9:return F9(e&&e.api_keys);case j9:return FL(e&&e.models);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Toe(this.rows,this.filter)}get schema(){return Doe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await L1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await L1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Poe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=koe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=WI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){uR.fetchModels(),uR.fetchCategories()}async submitForm(){let e=this.schema,t=Ioe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=Roe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await R1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}kL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await R1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,mL.error=t.error;return}if(t.status===`error`){mL.error=t.error;return}kL.success(`Provider "`+e+`" deleted.`),mL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||mL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},zoe=R(`Config`),Boe=R(` `,1),Voe=R(`
          `),Hoe=R(`
          NameTypeBase URLAuthModelsEnabledUpdatedActions
          `);function Uoe(e,t){E(t,!0);var n=Hoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Voe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,zoe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Boe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);I1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);I1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>Aoe(I(t)),()=>joe(I(t)),()=>UI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Woe=R(``),Goe=R(`
          `),Koe=R(`
          `,1),qoe=R(``),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(` `),Qoe=R(` `),$oe=R(`
          `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=$oe(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Woe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=Koe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Goe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),I1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Joe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=qoe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Yoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`textarea`?e(h,2):e(g,-1)});var _=P(f,2),v=e=>{var t=Zoe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},y=e=>{var r=Qoe(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(_,e=>{I(r)?e(v):t.field.hint&&e(y,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var ese=R(`

          The name is the stable identity used for routing and cannot change once created.

          `),tse=R(``),nse=R(` `),rse=R(`Determines which fields the gateway uses to build requests.`),ise=R(` `),ase=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),ose=R(`Immutable once created.`),sse=R(`

          Pick a type to configure its credentials — each provider type asks for different settings.

          `),cse=R(`
          Advanced settings
          `),lse=R(`
          `,1);function use(e,t){E(t,!0);let n=O(()=>Eoe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Noe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,ese())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);B0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=lse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=tse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=nse(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,rse())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,ase())},y=e=>{z(e,ose())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,sse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);B6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=cse(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var dse=R(`

          Providers

          `),fse=R(``),pse=R(`
          Provider credential management is unavailable.
          `),mse=R(``),hse=R(`
          `),gse=R(`

          No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

          `),_se=R(`

          No providers match your filter.

          `),vse=R(`
          `);function yse(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`providers-config`&&$.fetchPage()});var n=vse(),r=M(n),i=M(r);xQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,dse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as - environment variables. Providers declared in config.yaml or env vars - are read-only (Config badge) and cannot be edited or deleted from the - dashboard. Keys are masked after saving.`))},$$slots:{title:!0,help:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=fse();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=$.formSubmitting),L(`click`,t,()=>$.openCreate()),z(e,t)};V(o,e=>{$.available&&!q.needsAuth&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,pse())};V(c,e=>{!$.available&&!q.needsAuth&&e(l)});var u=P(c,2),d=e=>{var t=mse(),n=M(t,!0);T(t),F(()=>B(n,$.error)),z(e,t)};V(u,e=>{$.error&&!q.needsAuth&&!$.formOpen&&e(d)});var f=P(u,2),p=e=>{P1(e,{label:`Loading providers...`})};V(f,e=>{$.loading&&!q.needsAuth&&e(p)});var m=P(f,2),h=e=>{var t=hse(),n=M(t);z$(M(n),{id:`provider-credential-filter`,placeholder:`Filter by name, type, or base URL...`,label:`Filter providers by name, type, or base URL`,get value(){return $.filter},set value(e){$.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{($.rows.length>0||$.filter)&&$.available&&!q.needsAuth&&e(h)});var g=P(m,2);use(g,{});var _=P(g,2),v=e=>{Uoe(e,{})};V(_,e=>{$.filteredRows.length>0&&$.available&&!q.needsAuth&&e(v)});var y=P(_,2),b=e=>{z(e,gse())};V(y,e=>{$.rows.length===0&&!$.filter&&!$.loading&&!q.needsAuth&&!$.error&&$.available&&e(b)});var x=P(y,2),S=e=>{z(e,_se())};V(x,e=>{$.rows.length>0&&$.filteredRows.length===0&&$.filter&&!$.loading&&!q.needsAuth&&$.available&&e(S)}),T(n),z(e,n),D()}Hr([`click`]);function R9(){return{name:``,description:``,user_path:``,labels:``,dashboard_access:!1,expires_at:``}}function z9(e){let t=[];for(let n of String(e||``).split(`,`)){let e=n.trim();e&&!t.includes(e)&&t.push(e)}return t}function B9(e){let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t;for(let e of n.split(`/`)){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function bse(e){if(B9(e))return``;let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t,r=[];for(let e of n.split(`/`)){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function xse(e){let t=e||{},n=String(t.name||``).trim();if(!n)return{error:`Name is required.`};let r=B9(t.user_path);if(r)return{error:r};let i=bse(t.user_path),a=z9(t.labels),o={name:n,description:String(t.description||``).trim()||void 0,user_path:i||void 0,labels:a.length?a:void 0,dashboard_access:t.dashboard_access?!0:void 0};return t.expires_at&&(o.expires_at=t.expires_at+`T23:59:59Z`),{payload:o}}function V9(e,t=Date.now()){let n=e&&e.expires_at;if(!n)return!1;let r=Date.parse(n);return Number.isFinite(r)&&r<=t}function H9(e){return e?!!e.deactivated_at||e.enabled===!1:!1}function U9(e,t=Date.now()){return!e||e.active===!1||H9(e)?!1:!V9(e,t)}function Sse(e){return[e.name,e.description,e.user_path,e.redacted_value,...e.labels||[]].filter(Boolean).join(` `).toLowerCase()}function Cse(e,t={}){let{query:n=``,showInactive:r=!1,now:i=Date.now()}=t,a=String(n||``).trim().toLowerCase();return(Array.isArray(e)?e:[]).filter(e=>!r&&!U9(e,i)?!1:!a||Sse(e).includes(a))}function W9(e,t){return H9(e)?2:+!U9(e,t)}function G9(e){let t=e&&e.expires_at;if(!t)return 1/0;let n=Date.parse(t);return Number.isFinite(n)?n:1/0}function K9(e){let t=Date.parse(e&&e.deactivated_at||``);return Number.isFinite(t)?t:-1/0}function wse(e,t=Date.now()){return(Array.isArray(e)?e.slice():[]).sort((e,n)=>{let r=W9(e,t),i=W9(n,t);if(r!==i)return r-i;let[a,o]=r===2?[K9(e),K9(n)]:[G9(e),G9(n)];return a===o?String(e.name||``).localeCompare(String(n.name||``)):a>o?-1:1})}function Tse(e,t=Date.now()){return(Array.isArray(e)?e:[]).reduce((e,n)=>e+ +!U9(n,t),0)}function q9(){return{open:!1,id:``,name:``,value:``,submitting:!1,error:``}}var J9=new class{#e=k(j([]));get keys(){return I(this.#e)}set keys(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get showInactive(){return I(this.#a)}set showInactive(e){A(this.#a,e,!0)}#o=O(()=>wse(Cse(this.keys,{query:this.filter,showInactive:this.showInactive})));get visibleKeys(){return I(this.#o)}set visibleKeys(e){A(this.#o,e)}#s=O(()=>Tse(this.keys));get inactiveCount(){return I(this.#s)}set inactiveCount(e){A(this.#s,e)}#c=k(!1);get formOpen(){return I(this.#c)}set formOpen(e){A(this.#c,e,!0)}#l=k(!1);get formSubmitting(){return I(this.#l)}set formSubmitting(e){A(this.#l,e,!0)}#u=k(``);get issuedValue(){return I(this.#u)}set issuedValue(e){A(this.#u,e,!0)}#d=k(``);get deactivatingID(){return I(this.#d)}set deactivatingID(e){A(this.#d,e,!0)}#f=k(``);get dashboardAccessID(){return I(this.#f)}set dashboardAccessID(e){A(this.#f,e,!0)}#p=k(j(R9()));get form(){return I(this.#p)}set form(e){A(this.#p,e,!0)}#m=k(j(q9()));get labelsEditor(){return I(this.#m)}set labelsEditor(e){A(this.#m,e,!0)}copyState=L5({logPrefix:`Failed to copy auth key:`});async fetchKeys(){this.loading=!0,this.error=``;try{let e=await L1(`/admin/auth-keys`,{label:`auth keys`,errorFallback:`Unable to load API keys.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.keys=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.error=e.error;return}this.available=!0,this.keys=e.items}finally{this.loading=!1}}openForm(){this.formSubmitting||this.formOpen||(this.formOpen=!0,this.error=``,this.issuedValue||(this.copyState.reset(),this.form=R9()))}closeForm(){this.formOpen&&(this.formOpen=!1,this.error=``,this.copyState.reset(),!this.formSubmitting&&!this.issuedValue&&(this.form=R9()))}copyIssuedValue(){return this.copyState.copy(this.issuedValue)}dismissIssuedKey(){this.issuedValue=``,this.copyState.reset(),this.form=R9()}async submitForm(){let e=xse(this.form);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await R1(`/admin/auth-keys`,`POST`,e.payload,{label:`create API key`,errorFallback:`Failed to create API key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error,t.result&&t.result.status!==401&&console.error(`Failed to create API key:`,t.result.status,this.error);return}let n=t.result.data||{};this.issuedValue=n.value||``,this.formOpen=!0,this.copyState.reset(),this.form=R9(),this.fetchKeys()}finally{this.formSubmitting=!1}}openLabelsEditor(e){!e||this.labelsEditor.submitting||(this.labelsEditor={open:!0,id:e.id,name:e.name||``,value:(e.labels||[]).join(`, `),submitting:!1,error:``})}closeLabelsEditor(){!this.labelsEditor.open||this.labelsEditor.submitting||(this.labelsEditor=q9())}async submitLabelsEditor(){let e=this.labelsEditor;if(!e.open||e.submitting||!e.id)return;e.submitting=!0,e.error=``;let t={labels:z9(e.value)};try{let n=await R1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/labels`,`PUT`,t,{label:`update API key labels`,errorFallback:`Failed to update labels.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,e.error=n.error;return}if(n.status===`error`){e.error=n.error,n.result&&n.result.status!==401&&console.error(`Failed to update auth key labels:`,n.result.status,e.error);return}kL.success(`Labels updated for key "`+e.name+`".`),e.submitting=!1,this.closeLabelsEditor(),this.fetchKeys()}finally{e.submitting=!1}}async toggleDashboardAccess(e){if(!e||!e.active||this.dashboardAccessID)return;let t=!e.dashboard_access;this.dashboardAccessID=e.id;try{let n=await R1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/dashboard-access`,`PUT`,{dashboard_access:t},{label:`update API key dashboard access`,errorFallback:`Failed to update dashboard access.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,kL.error(n.error);return}if(n.status===`error`){n.result&&n.result.status!==401&&console.error(`Failed to update auth key dashboard access:`,n.result.status,n.error),kL.error(n.error);return}kL.success(`Dashboard access `+(t?`granted to`:`revoked for`)+` key "`+e.name+`".`),this.fetchKeys()}finally{this.dashboardAccessID=``}}async deactivateKey(e){if(!(!e||!e.active)&&window.confirm(`Deactivate key "`+e.name+`"? This cannot be undone.`)){this.deactivatingID=e.id;try{let t=await R1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/deactivate`,`POST`,void 0,{label:`deactivate API key`,errorFallback:`Failed to deactivate key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,kL.error(t.error);return}if(t.status===`error`){t.result&&t.result.status!==401&&console.error(`Failed to deactivate auth key:`,t.result.status,t.error),kL.error(t.error);return}kL.success(`Key "`+e.name+`" deactivated.`),this.fetchKeys()}finally{this.deactivatingID=``}}}},Ese=R(``),Dse=R(`

          Store this key securely — it won’t be shown again.

          `),Ose=R(``),kse=R(``),Ase=R(``),jse=R(``),Mse=R(`
          `);function Nse(e,t){E(t,!0);{let t=O(()=>J9.issuedValue?``:J9.error),n=O(()=>J9.issuedValue?`Done, I’ve stored it`:`Create API Key`),r=O(()=>J9.issuedValue?`check`:`plus`);B0(e,{get open(){return J9.formOpen},title:`Create API Key`,ariaLabel:`API key editor`,get error(){return I(t)},get submitting(){return J9.formSubmitting},get submitLabel(){return I(n)},submittingLabel:`Creating...`,get submitIcon(){return I(r)},cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeForm(),onsubmit:()=>J9.issuedValue?J9.dismissIssuedKey():J9.submitForm(),children:(e,t)=>{var n=Qr(),r=N(n),i=e=>{var t=Dse(),n=P(M(t),2),r=M(n),i=M(r,!0);T(r),m9(P(r,2),{get state(){return J9.copyState},onclick:()=>J9.copyIssuedValue()}),T(n);var a=P(n,2),o=e=>{z(e,Ese())};V(a,e=>{J9.copyState.error&&e(o)}),T(t),F(()=>B(i,J9.issuedValue)),z(e,t)},a=e=>{var t=Mse(),n=M(t),r=M(n),i=P(M(r),2);$i(i),T(r);var a=P(r,2),o=P(M(a),2);$i(o),T(a),T(n);var s=P(n,2),c=M(s);xQ(c,{copyId:`auth-key-user-path-help-copy`,label:`API key user path help`,title:e=>{z(e,Ose())},help:e=>{Ge(),z(e,Zr(`When set, this key overrides the configured user path request - header for audit logging and downstream request context.`))},$$slots:{title:!0,help:!0}});var l=P(c,2);$i(l),T(s);var u=P(s,2),d=M(u);xQ(d,{copyId:`auth-key-labels-help-copy`,label:`API key labels help`,title:e=>{z(e,kse())},help:e=>{Ge(),z(e,Zr(`Every request authenticated with this key gets these labels, in - addition to any labels from tagging headers. Labels show up in - usage analytics, the request log, and audit logs.`))},$$slots:{title:!0,help:!0}});var f=P(d,2);$i(f),T(u);var p=P(u,2),m=M(p);xQ(m,{copyId:`auth-key-dashboard-access-help-copy`,label:`API key dashboard access help`,title:e=>{z(e,Ase())},help:e=>{Ge(),z(e,Zr(`When off, this key is denied the dashboard and every /admin API - endpoint. Model endpoints and GET /v1/usage stay available to - the key. The master key always has dashboard access.`))},$$slots:{title:!0,help:!0}});var h=P(m,2),g=M(h);$i(g),Ge(2),T(h),T(p),H0(P(p,2),{id:`auth-key-description`,label:`Description (optional)`,children:(e,t)=>{var n=jse();mt(n),ca(n,()=>J9.form.description,e=>J9.form.description=e),z(e,n)},$$slots:{default:!0}}),T(t),ca(i,()=>J9.form.name,e=>J9.form.name=e),ca(o,()=>J9.form.expires_at,e=>J9.form.expires_at=e),ca(l,()=>J9.form.user_path,e=>J9.form.user_path=e),ca(f,()=>J9.form.labels,e=>J9.form.labels=e),la(g,()=>J9.form.dashboard_access,e=>J9.form.dashboard_access=e),z(e,t)};V(r,e=>{J9.issuedValue?e(i):e(a,-1)}),z(e,n)},$$slots:{default:!0}})}D()}var Pse=R(`

          `),Fse=R(`

          Applies to new requests made with this key. Leave empty to remove all labels.

          `,1);function Ise(e,t){E(t,!0),B0(e,{get open(){return J9.labelsEditor.open},title:`Edit Labels`,ariaLabel:`API key labels editor`,get error(){return J9.labelsEditor.error},get submitting(){return J9.labelsEditor.submitting},submitLabel:`Save Labels`,cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeLabelsEditor(),onsubmit:()=>J9.submitLabelsEditor(),headerHint:e=>{var t=Pse(),n=M(t,!0);T(t),F(()=>B(n,J9.labelsEditor.name)),z(e,t)},children:(e,t)=>{H0(e,{id:`auth-key-labels-edit`,label:`Labels (comma-separated)`,children:(e,t)=>{var n=Fse(),r=N(n);$i(r),Ge(2),ca(r,()=>J9.labelsEditor.value,e=>J9.labelsEditor.value=e),z(e,n)},$$slots:{default:!0}})},$$slots:{headerHint:!0,default:!0}}),D()}var Lse=R(` `),Rse=R(`
          `),zse=R(``),Bse=R(`Expired`),Vse=R(` `),Hse=R(` `,1),Use=R(`Deactivated`),Wse=R(`
          `),Gse=R(`
          NameDescriptionUser PathLabelsTokenDashboard Access ExpiresCreated
          `);function Kse(e,t){E(t,!0);var n=Gse(),r=M(n),i=M(r),a=M(i),o=P(M(a),5),s=M(o);K(P(M(s)),{name:`info`,width:`13`,height:`13`}),T(s),T(o),Ge(3),T(a),T(i);var c=P(i);H(c,21,()=>J9.visibleKeys,e=>e.id,(e,t)=>{var n=Wse();let r;var i=M(n),a=M(i,!0);T(i);var o=P(i),s=M(o,!0);T(o);var c=P(o),l=M(c,!0);T(c);var u=P(c),d=M(u),f=e=>{var n=Rse();H(n,20,()=>I(t).labels||[],e=>e,(e,t)=>{var n=Lse(),r=M(n,!0);T(n),F(e=>{zi(n,e),B(r,t)},[()=>yY(t)]),z(e,n)}),T(n),z(e,n)},p=e=>{z(e,zse())};V(d,e=>{(I(t).labels||[]).length>0?e(f):e(p,-1)}),T(u);var m=P(u),h=M(m),g=M(h,!0);T(h),T(m);var _=P(m),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x),C=e=>{var n=Vse(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{z(e,Bse())},s=O(()=>V9(I(t)));V(a,e=>{I(s)&&e(o)}),T(n),F(e=>B(i,e),[()=>WL(I(t).expires_at)]),z(e,n)},w=e=>{z(e,Zr(`—`))};V(S,e=>{I(t).expires_at?e(C):e(w,-1)}),T(x);var ee=P(x),te=M(ee,!0);T(ee);var ne=P(ee),re=M(ne),ie=M(re),ae=e=>{var n=Hse(),r=N(n);{let e=O(()=>(I(t).dashboard_access?`Revoke dashboard access for API key `:`Grant dashboard access to API key `)+I(t).name),n=O(()=>!!J9.dashboardAccessID);I1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>J9.toggleDashboardAccess(I(t)),get disabled(){return I(n)},children:(e,n)=>{{let n=O(()=>I(t).dashboard_access?`shield-off`:`shield-check`);K(e,{get name(){return I(n)},class:`table-icon-svg`})}},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>`Edit labels for API key `+I(t).name);I1(i,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>J9.openLabelsEditor(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var a=P(i,2);{let e=O(()=>(J9.deactivatingID===I(t).id?`Deactivating API key `:`Deactivate API key `)+I(t).name),n=O(()=>J9.deactivatingID===I(t).id);I1(a,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>J9.deactivateKey(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`power`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)},oe=e=>{var n=Use();F(e=>W(n,`title`,e),[()=>I(t).deactivated_at?`Deactivated on `+GL(I(t).deactivated_at):`Deactivated`]),z(e,n)},se=O(()=>H9(I(t)));V(ie,e=>{I(t).active?e(ae):I(se)&&e(oe,1)}),T(re),T(ne),T(n),F((e,i,o)=>{r=U(n,1,`svelte-nf0ldb`,null,r,e),B(a,I(t).name),B(s,I(t).description||`—`),B(l,I(t).user_path||`—`),B(g,I(t).redacted_value),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).dashboard_access,"auth-key-status-inactive":!I(t).dashboard_access}),B(b,I(t).dashboard_access?`Allowed`:`Denied`),W(x,`title`,i),B(te,o)},[()=>({"auth-key-row-deactivated":H9(I(t))}),()=>I(t).expires_at?GL(I(t).expires_at):``,()=>UI.formatTimestamp(I(t).created_at)]),z(e,n)}),T(c),T(r),T(n),z(e,n),D()}var qse=R(``),Jse=R(`
          API key management is unavailable.
          `),Yse=R(``),Xse=R(`

          Managed API keys authenticate requests to the gateway. Deactivation is - permanent — create a new key if access needs to be restored.

          `),Zse=R(`
          `),Qse=R(`
          `),$se=R(`

          `),ece=R(`

          No API keys yet. Issue a key to get started.

          `),tce=R(`
          `);function nce(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`auth-keys`&&J9.fetchKeys()});var n=tce(),r=M(n),i=P(M(r),2),a=M(i),o=e=>{var t=qse();K(M(t),{name:`plus`,class:`table-icon-svg`}),Ge(2),T(t),F(()=>t.disabled=J9.formSubmitting),L(`click`,t,()=>{J9.formSubmitting||J9.openForm()}),z(e,t)};V(a,e=>{J9.available&&!q.authError&&e(o)}),T(i),T(r);var s=P(r,2),c=e=>{z(e,Jse())};V(s,e=>{!J9.available&&!q.authError&&e(c)});var l=P(s,2),u=e=>{var t=Yse(),n=M(t,!0);T(t),F(()=>B(n,J9.error)),z(e,t)};V(l,e=>{J9.error&&!q.authError&&!J9.formOpen&&e(u)});var d=P(l,2),f=e=>{z(e,Xse())};V(d,e=>{J9.available&&!q.authError&&e(f)});var p=P(d,2);Nse(p,{});var m=P(p,2);Ise(m,{});var h=P(m,2),g=e=>{var t=Zse();XZ(M(t),{size:18,label:`Loading API keys`}),T(t),z(e,t)};V(h,e=>{J9.loading&&J9.keys.length===0&&e(g)});var _=P(h,2),v=e=>{var t=Qse(),n=M(t);z$(M(n),{placeholder:`Filter by name, description, user path, label, or token...`,label:`Filter API keys by name, description, user path, label, or token`,get value(){return J9.filter},set value(e){J9.filter=e}}),T(n);var r=P(n,2),i=M(r),a=M(i);$i(a);var o=P(a,2),s=P(M(o)),c=e=>{var t=Zr();F(()=>B(t,`(${J9.inactiveCount??``})`)),z(e,t)};V(s,e=>{J9.inactiveCount>0&&e(c)}),T(o),T(i),T(r),T(t),la(a,()=>J9.showInactive,e=>J9.showInactive=e),z(e,t)};V(_,e=>{J9.keys.length>0&&J9.available&&e(v)});var y=P(_,2),b=e=>{Kse(e,{})};V(y,e=>{J9.visibleKeys.length>0&&J9.available&&e(b)});var x=P(y,2),S=e=>{var t=$se(),n=M(t);T(t),F(()=>B(n,`No API keys match the current filter.${J9.inactiveCount>0&&!J9.showInactive?` `+J9.inactiveCount+` inactive `+(J9.inactiveCount===1?`key is`:`keys are`)+` hidden.`:``}`)),z(e,t)};V(x,e=>{J9.keys.length>0&&J9.visibleKeys.length===0&&J9.available&&e(S)});var C=P(x,2),w=e=>{z(e,ece())};V(C,e=>{J9.keys.length===0&&!J9.loading&&!q.authError&&!J9.error&&J9.available&&e(w)}),T(n),z(e,n),D()}Hr([`click`]);var rce=R(`

          Timezone

          `),ice=R(``),ace=R(``),oce=R(`
          `,1);function sce(e,t){E(t,!0);function n(){UI.saveOverride(),q.refresh()}function r(){UI.clearOverride(),q.refresh()}var i=oce(),a=N(i);xQ(M(a),{copyId:`timezone-help-copy`,label:`timezone help`,text:`Day-based analytics, charts, and date filters use your effective timezone. Usage and audit logs keep UTC in the hover title while rendering row timestamps in your effective timezone.`,title:e=>{z(e,rce())},$$slots:{title:!0}}),T(a);var o=P(a,2),s=M(o),c=P(M(s),2),l=M(c),u=M(l);T(l),l.value=l.__value=``,H(P(l),17,()=>UI.options,e=>e.value,(e,t)=>{var n=ice(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(c),T(s),T(o);var d=P(o,2),f=M(d),p=e=>{var t=ace();L(`click`,t,r),z(e,t)};V(f,e=>{UI.override&&e(p)}),T(d),F(e=>B(u,`Automatic (${e??``})`),[()=>UI.detectedTimeZoneLabel()]),Vr(`focus`,c,()=>UI.ensureOptions()),L(`change`,c,n),Hi(c,()=>UI.override,e=>UI.override=e),z(e,i),D()}Hr([`change`,`click`]);var cce=R(``),lce=R(`

          Failover

          `,1);function uce(e,t){E(t,!0);let n=O(()=>Z.failoverSaving||Z.failoverGenerating||Z.failoverDraftSaving||!Z.failoverAvailable||!Z.failoverEnabled());var r=lce(),i=N(r),a=P(M(i),2),o=M(a),s=M(o);K(s,{name:`wand-sparkles`,class:`form-action-icon`});var c=P(s,2),l=M(c,!0);T(c),T(o);var u=P(o,2);K(M(u),{name:`trash-2`,class:`form-action-icon`}),Ge(2),T(u),T(a),T(i);var d=P(i,2),f=M(d),p=e=>{var t=cce(),n=M(t,!0);T(t),F(()=>B(n,Z.failoverError)),z(e,t)};V(f,e=>{Z.failoverError&&e(p)}),T(d),M8(P(d,2),{}),F(()=>{o.disabled=I(n),B(l,Z.failoverGenerating?`Generating...`:`Generate failover models automatically`),u.disabled=I(n)}),L(`click`,o,()=>Z.generateFailoverRules()),L(`click`,u,()=>Z.openFailoverResetDialog()),z(e,r),D()}Hr([`click`]);function dce(){return{daily_reset_hour:0,daily_reset_minute:0,weekly_reset_weekday:1,weekly_reset_hour:0,weekly_reset_minute:0,monthly_reset_day:1,monthly_reset_hour:0,monthly_reset_minute:0}}function Y9(e,t){let n=t||{},r=(e,t)=>{if(e===``)return t;let n=Number(e);return Number.isFinite(n)&&Number.isInteger(n)?Math.trunc(n):t},i=(e,t)=>r(n[e],t),a=(t,n)=>e?r(e[t],n):n;return{daily_reset_hour:a(`daily_reset_hour`,i(`daily_reset_hour`,0)),daily_reset_minute:a(`daily_reset_minute`,i(`daily_reset_minute`,0)),weekly_reset_weekday:a(`weekly_reset_weekday`,i(`weekly_reset_weekday`,1)),weekly_reset_hour:a(`weekly_reset_hour`,i(`weekly_reset_hour`,0)),weekly_reset_minute:a(`weekly_reset_minute`,i(`weekly_reset_minute`,0)),monthly_reset_day:a(`monthly_reset_day`,i(`monthly_reset_day`,1)),monthly_reset_hour:a(`monthly_reset_hour`,i(`monthly_reset_hour`,0)),monthly_reset_minute:a(`monthly_reset_minute`,i(`monthly_reset_minute`,0))}}function fce(){return[{value:0,label:`Sunday`},{value:1,label:`Monday`},{value:2,label:`Tuesday`},{value:3,label:`Wednesday`},{value:4,label:`Thursday`},{value:5,label:`Friday`},{value:6,label:`Saturday`}]}var pce=R(`

          Budget Resets

          `),mce=R(``),hce=R(`

          If the selected day does not exist in a month, the reset runs on - the last day of that month.

          `),gce=R(``),_ce=R(``),vce=R(`
          Monthly
          Weekly
          Daily
          `,1);function yce(e,t){E(t,!0);let n=k(j(dce())),r=k(!1),i=k(!1),a=k(``),o=k(!1),s=O(()=>eL.budgetsVisible());async function c(){if(await eL.ensureLoaded(),!eL.budgetsVisible()){A(a,``);return}A(r,!0),A(a,``);try{let e=await YI(`/admin/budgets/settings`,{label:`budget settings`});if(e.stale)return;if(!e.ok){A(a,`Unable to load budget settings.`);return}A(n,Y9(e.data,I(n)),!0)}catch(e){console.error(`Failed to fetch budget settings:`,e),A(a,`Unable to load budget settings.`)}finally{A(r,!1)}}async function l(){if(!I(i)){A(i,!0);try{let e=await XI(`/admin/budgets/settings`,`PUT`,Y9(I(n),I(n)),{label:`budget settings`});if(e.stale)return;if(!e.ok){kL.error(`Unable to save budget settings.`);return}A(n,Y9(e.data,I(n)),!0),A(a,``),kL.success(`Budget settings saved.`)}catch(e){console.error(`Failed to save budget settings:`,e),kL.error(`Unable to save budget settings.`)}finally{A(i,!1)}}}Mn(()=>{q.refreshTick,c()});var u=Qr(),d=N(u),f=e=>{var t=vce(),s=N(t),c=M(s);xQ(c,{copyId:`budget-settings-help-copy`,label:`budget help`,text:`Budget reset anchors are stored in the database and evaluated in UTC. Hourly budgets reset at the top of each hour.`,title:e=>{z(e,pce())},$$slots:{title:!0}});var u=P(c,2),d=M(u),f=P(M(d),2),p=M(f);xQ(p,{copyId:`budget-monthly-day-help-copy`,label:`day of month help`,external:!0,get open(){return I(o)},set open(e){A(o,e,!0)},title:e=>{z(e,mce())},$$slots:{title:!0}});var m=P(p,2);$i(m),T(f);var h=P(f,2),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=M(y),x=e=>{z(e,hce())};V(b,e=>{I(o)&&e(x)}),T(y),T(d);var S=P(d,2),C=P(M(S),2),w=P(M(C),2);H(w,21,fce,e=>e.value,(e,t)=>{var n=gce(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(w),T(C);var ee=P(C,2),te=P(M(ee),2);$i(te),T(ee);var ne=P(ee,2),re=P(M(ne),2);$i(re),T(ne),Ge(2),T(S);var ie=P(S,2),ae=P(M(ie),4),oe=P(M(ae),2);$i(oe),T(ae);var se=P(ae,2),ce=P(M(se),2);$i(ce),T(se),Ge(2),T(ie),T(u);var le=P(u,2),ue=M(le);K(M(ue),{name:`save`,class:`form-action-icon`}),Ge(2),T(ue);var de=P(ue,2),fe=e=>{XZ(e,{size:16,label:`Loading budget settings`})};V(de,e=>{I(r)&&e(fe)}),T(le),T(s);var pe=P(s,2),me=M(pe),he=e=>{var t=_ce(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)};V(me,e=>{I(a)&&e(he)}),T(pe),F(()=>{ue.disabled=I(i)||I(r),W(ue,`aria-busy`,I(i)?`true`:`false`)}),ca(m,()=>I(n).monthly_reset_day,e=>I(n).monthly_reset_day=e),ca(g,()=>I(n).monthly_reset_hour,e=>I(n).monthly_reset_hour=e),ca(v,()=>I(n).monthly_reset_minute,e=>I(n).monthly_reset_minute=e),Hi(w,()=>I(n).weekly_reset_weekday,e=>I(n).weekly_reset_weekday=e),ca(te,()=>I(n).weekly_reset_hour,e=>I(n).weekly_reset_hour=e),ca(re,()=>I(n).weekly_reset_minute,e=>I(n).weekly_reset_minute=e),ca(oe,()=>I(n).daily_reset_hour,e=>I(n).daily_reset_hour=e),ca(ce,()=>I(n).daily_reset_minute,e=>I(n).daily_reset_minute=e),L(`click`,ue,l),z(e,t)};V(d,e=>{I(s)&&e(f)}),z(e,u),D()}Hr([`click`]);var bce=R(`

          Reset All Budgets

          Start new budget periods for every configured budget without changing - the limits.

          `);function xce(e,t){E(t,!0);var n=Qr(),r=N(n),i=e=>{var t=bce(),n=P(M(t),2),r=M(n);K(M(r),{name:`rotate-ccw`,class:`form-action-icon`}),Ge(2),T(r),T(n),T(t),F(()=>r.disabled=Y.resetAllLoading),L(`click`,r,()=>Y.openResetDialog()),z(e,t)},a=O(()=>eL.budgetsVisible());V(r,e=>{I(a)&&e(i)}),z(e,n),D()}Hr([`click`]);function Sce(){return{header:``,prefix:``,do_not_pass:!1,delimiter:``,managed:!1}}function X9(e){return(e&&Array.isArray(e.headers)?e.headers:[]).map(e=>({header:typeof e.header==`string`?e.header:``,prefix:typeof e.prefix==`string`?e.prefix:``,do_not_pass:e.do_not_pass===!0,delimiter:typeof e.delimiter==`string`&&e.delimiter!==`,`?e.delimiter:``,managed:e.managed===!0}))}function Cce(e){return{headers:(Array.isArray(e)?e:[]).filter(e=>!e.managed&&e.header.trim()!==``).map(e=>({header:e.header.trim(),prefix:e.prefix,do_not_pass:e.do_not_pass,delimiter:e.delimiter}))}}function wce(e){return e&&e.error&&e.error.message?e.error.message:``}var Tce=R(`

          Tagging based on headers

          `),Ece=R(`config`),Dce=R(``),Oce=R(`
          `),kce=R(`

          No tagging headers configured. Requests are not labelled.

          `),Ace=R(``),jce=R(`
          `,1);function Mce(e,t){E(t,!0);let n=k(j([])),r=k(!0),i=k(!1),a=k(!1),o=k(``);function s(){I(n).push(Sce())}function c(e){let t=I(n)[e];!t||t.managed||I(n).splice(e,1)}async function l(){A(i,!0),A(o,``);try{let e=await YI(`/admin/tagging/settings`,{label:`tagging settings`});if(e.stale)return;if(!e.ok){A(o,`Unable to load tagging settings.`);return}A(n,X9(e.data),!0),A(r,e.data&&e.data.editable!==!1,!0)}catch(e){console.error(`Failed to fetch tagging settings:`,e),A(o,`Unable to load tagging settings.`)}finally{A(i,!1)}}async function u(){if(!(I(a)||!I(r))){A(a,!0);try{let e=await XI(`/admin/tagging/settings`,`PUT`,Cce(I(n)),{label:`tagging settings`});if(e.stale)return;if(!e.ok){kL.error(e.status!==401&&wce(e.data)||`Unable to save tagging settings.`);return}A(n,X9(e.data),!0),A(r,e.data&&e.data.editable!==!1,!0),A(o,``),kL.success(`Tagging settings saved.`)}catch(e){console.error(`Failed to save tagging settings:`,e),kL.error(`Unable to save tagging settings.`)}finally{A(a,!1)}}}Mn(()=>{q.refreshTick,l()});var d=jce(),f=N(d),p=M(f);xQ(p,{copyId:`tagging-settings-help-copy`,label:`tagging help`,text:`Each request is labelled from the listed headers; labels land in usage tracking and audit logs. A header value can carry several labels split by the delimiter (default: comma). The prefix is trimmed from each label only — the header itself is forwarded unchanged unless 'Do not pass' is checked. Rows marked CONFIG come from config.yaml or TAGGING_HEADER_* env vars and are read-only here.`,title:e=>{z(e,Tce())},$$slots:{title:!0}});var m=P(p,2),h=M(m);H(h,17,()=>I(n),ai,(e,t,n)=>{var i=Oce(),a=M(i),o=M(a);W(o,`for`,`tagging-header-`+n);var s=P(o,2);$i(s),W(s,`id`,`tagging-header-`+n),T(a);var l=P(a,2),u=M(l);W(u,`for`,`tagging-prefix-`+n);var d=P(u,2);$i(d),W(d,`id`,`tagging-prefix-`+n),T(l);var f=P(l,2),p=M(f);W(p,`for`,`tagging-delimiter-`+n);var m=P(p,2);$i(m),W(m,`id`,`tagging-delimiter-`+n),T(f);var h=P(f,2),g=M(h);$i(g),Ge(2),T(h);var _=P(h,2),v=M(_),y=e=>{z(e,Ece())},b=e=>{var i=Dce();F(()=>{i.disabled=!I(r),W(i,`aria-label`,`Remove tagging header `+(I(t).header||n+1))}),L(`click`,i,()=>c(n)),z(e,i)};V(v,e=>{I(t).managed?e(y):e(b,-1)}),T(_),T(i),F(()=>{s.disabled=I(t).managed||!I(r),d.disabled=I(t).managed||!I(r),m.disabled=I(t).managed||!I(r),g.disabled=I(t).managed||!I(r)}),ca(s,()=>I(t).header,e=>I(t).header=e),ca(d,()=>I(t).prefix,e=>I(t).prefix=e),ca(m,()=>I(t).delimiter,e=>I(t).delimiter=e),la(g,()=>I(t).do_not_pass,e=>I(t).do_not_pass=e),z(e,i)});var g=P(h,2),_=e=>{XZ(e,{size:16,label:`Loading tagging settings`})};V(g,e=>{I(i)&&e(_)});var v=P(g,2),y=e=>{z(e,kce())};V(v,e=>{!I(i)&&I(n).length===0&&e(y)}),T(m);var b=P(m,2),x=M(b);K(M(x),{name:`plus`,class:`form-action-icon`}),Ge(2),T(x);var S=P(x,2);K(M(S),{name:`save`,class:`form-action-icon`}),Ge(2),T(S),T(b),T(f);var C=P(f,2),w=M(C),ee=e=>{var t=Ace(),n=M(t,!0);T(t),F(()=>B(n,I(o))),z(e,t)};V(w,e=>{I(o)&&e(ee)}),T(C),F(()=>{x.disabled=!I(r)||I(a)||I(i),S.disabled=!I(r)||I(a)||I(i),W(S,`aria-busy`,I(a)?`true`:`false`)}),L(`click`,x,s),L(`click`,S,u),z(e,d),D()}Hr([`click`]);function Nce(e){let t=e||{};if(t.selectedPreset)return{days:parseInt(t.selectedPreset,10)||30};let n=t.customStartDate?UL(t.customStartDate):``,r=t.customEndDate||t.today||null;return{start_date:n,end_date:r?UL(r):``}}function Pce(e,t,n,r){return{...Nce(e),user_path:String(t||``).trim(),selector:String(n||``).trim(),confirmation:r}}function Fce(e){let t=Number(e&&e.matched||0),n=Number(e&&e.recalculated||0),r=Number(e&&e.without_pricing||0),i=`Pricing recalculated for `+n+` of `+t+` usage record`+(t===1?``:`s`)+`.`;return r>0&&(i+=` `+r+` usage record`+(r===1?` still lacks`:`s still lack`)+` pricing metadata.`),i}var Ice=R(`

          Usage Pricing Recalculation

          `),Lce=R(`
          `);function Rce(e,t){E(t,!0);let n=k(``),r=k(``),i=k(!1),a=O(()=>eL.booleanFlag(`USAGE_PRICING_RECALCULATION_ENABLED`,!1));function o(){if(!I(a)){kL.error(`Usage pricing recalculation is unavailable.`);return}I(i)||mL.open({title:`Recalculate Pricing`,titleId:`pricingRecalculateDialogTitle`,inputId:`pricing-recalculate-confirmation`,requiredText:`recalculate`,confirmLabel:`Recalculate Pricing`,icon:`calculator`,dialogClass:`pricing-recalculate-dialog`,message:`Stored usage cost fields matching the selected filters will be overwritten.`,onConfirm:()=>s()})}async function s(){if(!I(a)){kL.error(`Usage pricing recalculation is unavailable.`);return}if(!I(i)){A(i,!0);try{let e=await XI(`/admin/usage/recalculate-pricing`,`POST`,Pce({selectedPreset:lR.selectedPreset,customStartDate:lR.customStartDate,customEndDate:lR.customEndDate,today:UI.todayDate()},I(n),I(r),`recalculate`),{label:`pricing recalculation`});if(e.stale)return;if(!e.ok){mL.error=`Unable to recalculate pricing.`;return}mL.close(),kL.success(Fce(e.data)),hR.fetchUsage()}catch(e){console.error(`Failed to recalculate pricing:`,e),mL.error=`Unable to recalculate pricing.`}finally{A(i,!1)}}}var c=Qr(),l=N(c),u=e=>{var t=Lce(),s=M(t);xQ(s,{copyId:`pricing-recalculate-help-copy`,label:`pricing recalculation help`,text:`Recalculate stored input, output, total, and Pro Saved costs from the current model pricing metadata. This overwrites matching historical cost fields. Filters are applied to the selected date range, user path subtree, and provider/model selector or alias.`,title:e=>{z(e,Ice())},$$slots:{title:!0}});var c=P(s,2),l=M(c),u=P(M(l),2);MR(M(u),{}),T(u),T(l);var d=P(l,2),f=P(M(d),2);$i(f),T(d);var p=P(d,2),m=P(M(p),2);$i(m),T(p),T(c);var h=P(c,2),g=M(h);K(M(g),{name:`calculator`,class:`form-action-icon`}),Ge(2),T(g),T(h),T(t),F(()=>{g.disabled=I(i)||!I(a),W(g,`aria-busy`,I(i)?`true`:`false`)}),ca(f,()=>I(n),e=>A(n,e)),ca(m,()=>I(r),e=>A(r,e)),L(`click`,g,o),z(e,t)};V(l,e=>{I(a)&&e(u)}),z(e,c),D()}Hr([`click`]);function Z9(e){return String(e&&e.status||`ok`).toLowerCase()}function Q9(e){if(!e||typeof e!=`object`)return`Runtime refresh completed.`;let t=Number(e.model_count||0),n=Number(e.provider_count||0),r=Z9(e);return(r===`ok`?`Runtime refreshed.`:r===`partial`?`Runtime refresh completed with warnings.`:`Runtime refresh failed.`)+` `+t+` model`+(t===1?``:`s`)+` across `+n+` provider`+(n===1?``:`s`)+`.`}function zce(e){return!!e&&Z9(e)===`ok`}function $9(e){let t=e&&e.steps;return Array.isArray(t)?t:[]}function Bce(e){let t=String(e&&e.name||``).replace(/_/g,` `),n=String(e&&e.status||``).trim(),r=String(e&&(e.error||e.message)||``).trim();return t?r?t+`: `+n+` - `+r:t+`: `+n:r||n||``}var Vce=R(`

          Runtime Refresh

          `),Hce=R(`
        • `),Uce=R(`
            `),Wce=R(`
            `,1);function Gce(e,t){E(t,!0);let n=k(!1),r=k(null);async function i(){if(!I(n)){A(n,!0),A(r,null);try{let e=await XI(`/admin/runtime/refresh`,`POST`,void 0,{label:`runtime refresh`});if(e.stale)return;if(!e.ok){kL.error(`Runtime refresh failed.`);return}A(r,e.data&&typeof e.data==`object`?e.data:null,!0),zce(I(r))?kL.success(Q9(I(r))):kL.error(Q9(I(r))),q.refresh()}catch(e){console.error(`Failed to refresh runtime:`,e),kL.error(`Runtime refresh failed.`)}finally{A(n,!1)}}}var a=Wce(),o=N(a),s=M(o);xQ(s,{copyId:`runtime-refresh-help-copy`,label:`runtime refresh help`,text:`Pull the latest model metadata, provider inventory, API keys, aliases, model access rules, guardrails, and workflows.`,title:e=>{z(e,Vce())},$$slots:{title:!0}});var c=P(s,2),l=M(c);let u;K(M(l),{name:`refresh-cw`,class:`settings-refresh-icon`}),Ge(2),T(l),T(c),T(o);var d=P(o,2),f=M(d),p=e=>{var t=Uce();H(t,21,()=>$9(I(r)),e=>e.name,(e,t)=>{var n=Hce(),r=M(n,!0);T(n),F(e=>{U(n,1,`runtime-refresh-step is-`+I(t).status,`svelte-yeq2mp`),B(r,e)},[()=>Bce(I(t))]),z(e,n)}),T(t),z(e,t)},m=O(()=>$9(I(r)).length>0);V(f,e=>{I(m)&&e(p)}),T(d),F(()=>{u=U(l,1,`btn btn-primary btn-with-icon settings-refresh-btn`,null,u,{"is-refreshing":I(n)}),l.disabled=I(n),W(l,`aria-busy`,I(n)?`true`:`false`)}),L(`click`,l,i),z(e,a),D()}Hr([`click`]);var Kce=R(`
            `);function qce(e,t){E(t,!0),Mn(()=>{q.refreshTick,EI.page===`settings`&&(UI.ensureOptions(),eL.ensureLoaded())});var n=Kce(),r=P(M(n),2),i=M(r);sce(i,{});var a=P(i,2);uce(a,{});var o=P(a,2);yce(o,{});var s=P(o,2);xce(s,{});var c=P(s,2);Mce(c,{});var l=P(c,2);Rce(l,{}),Gce(P(l,2),{}),T(r);var u=P(r,2),d=M(u,!0);T(u),T(n),F(e=>B(d,e),[()=>xI()]),z(e,n),D()}var Jce=R(`
            `);function Yce(e,t){E(t,!0);let n={overview:GQ,usage:M1,budgets:c2,"rate-limits":y4,models:t5,workflows:One,"audit-logs":sae,guardrails:Hae,"mcp-servers":Soe,"providers-config":yse,"auth-keys":nce,settings:qce};UI.init(),lR.init(),q.init(),fI.init(),pI.init(),EI.init(),Mn(()=>{q.refreshTick,eL.fetch(),uR.fetchModels(),uR.fetchCategories()}),Mn(()=>{document.body.classList.toggle(`dashboard-modal-open`,mI.anyOpen)});let r=O(()=>n[EI.page]||GQ);var i=Jce(),a=M(i);aL(a,{});var o=P(a,2),s=M(o);PL(s,{}),gi(P(s,2),()=>I(r),(e,t)=>{t(e,{})}),T(o);var c=P(o,2);fL(c,{});var l=P(c,2);vL(l,{}),ML(P(l,2),{}),T(i),z(e,i),D()}ei(Yce,{target:document.getElementById(`app`)}); \ No newline at end of file diff --git a/internal/admin/dashboard/static/dist/index.html b/internal/admin/dashboard/static/dist/index.html index 272dd5edb..939240d3e 100644 --- a/internal/admin/dashboard/static/dist/index.html +++ b/internal/admin/dashboard/static/dist/index.html @@ -7,7 +7,7 @@ GoModel Dashboard - + diff --git a/internal/admin/handler_provider_credentials.go b/internal/admin/handler_provider_credentials.go index 585527634..9aa17631b 100644 --- a/internal/admin/handler_provider_credentials.go +++ b/internal/admin/handler_provider_credentials.go @@ -41,6 +41,7 @@ type upsertProviderCredentialRequest struct { Name string `json:"name"` Type string `json:"type"` APIKeys []string `json:"api_keys,omitempty"` + SessionStickyKeys *bool `json:"session_sticky_keys,omitempty"` BaseURL string `json:"base_url,omitempty"` APIVersion string `json:"api_version,omitempty"` Backend string `json:"backend,omitempty"` @@ -87,6 +88,7 @@ type providerCredentialViewResponse struct { Name string `json:"name"` Type string `json:"type"` APIKeys []string `json:"api_keys,omitempty"` + SessionStickyKeys bool `json:"session_sticky_keys"` BaseURL string `json:"base_url,omitempty"` APIVersion string `json:"api_version,omitempty"` Backend string `json:"backend,omitempty"` @@ -313,6 +315,7 @@ func (h *Handler) buildProviderCredentialUpsert(ctx context.Context, name string Name: name, Type: strings.TrimSpace(req.Type), APIKeys: apiKeys, + SessionStickyKeys: req.SessionStickyKeys, BaseURL: strings.TrimSpace(req.BaseURL), APIVersion: strings.TrimSpace(req.APIVersion), Backend: strings.TrimSpace(req.Backend), @@ -329,6 +332,9 @@ func (h *Handler) buildProviderCredentialUpsert(ctx context.Context, name string } if current != nil { cred.CreatedAt = current.CreatedAt + if req.SessionStickyKeys == nil { + cred.SessionStickyKeys = current.SessionStickyKeys + } } return cred, nil } @@ -398,6 +404,7 @@ func (h *Handler) providerCredentialView(cred providers.ManagedProviderCredentia Name: cred.Name, Type: cred.Type, APIKeys: redactList(cred.APIKeys), + SessionStickyKeys: cred.SessionStickyKeys == nil || *cred.SessionStickyKeys, BaseURL: cred.BaseURL, APIVersion: cred.APIVersion, Backend: cred.Backend, @@ -430,13 +437,14 @@ func (h *Handler) providerCredentialView(cred providers.ManagedProviderCredentia // there is nothing to redact because nothing sensitive was ever loaded. func (h *Handler) declaredProviderCredentialView(cfg providers.SanitizedProviderConfig) providerCredentialViewResponse { return providerCredentialViewResponse{ - Name: cfg.Name, - Type: cfg.Type, - BaseURL: cfg.BaseURL, - APIVersion: cfg.APIVersion, - Models: cfg.Models, - Enabled: true, - Managed: true, + Name: cfg.Name, + Type: cfg.Type, + BaseURL: cfg.BaseURL, + APIVersion: cfg.APIVersion, + Models: cfg.Models, + SessionStickyKeys: cfg.SessionStickyKeys, + Enabled: true, + Managed: true, } } diff --git a/internal/admin/handler_provider_credentials_test.go b/internal/admin/handler_provider_credentials_test.go index d389f5572..9788918d6 100644 --- a/internal/admin/handler_provider_credentials_test.go +++ b/internal/admin/handler_provider_credentials_test.go @@ -298,6 +298,30 @@ func TestUpsertProviderCredential_CreatesAndRegistersImmediately(t *testing.T) { } } +func TestUpsertProviderCredential_CanDisableSessionStickyKeys(t *testing.T) { + fake := newProviderCredentialsAdminFake() + h := newProviderCredentialsHandler(fake) + + c, rec := newProviderCredentialContext(http.MethodPut, "/admin/provider-credentials", `{"name":"my-openai","type":"openai","api_keys":["sk-real"],"session_sticky_keys":false}`) + if err := h.UpsertProviderCredential(c); err != nil { + t.Fatalf("UpsertProviderCredential() error = %v", err) + } + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, want 200 body=%s", rec.Code, rec.Body.String()) + } + stored := fake.rows["my-openai"] + if stored.SessionStickyKeys == nil || *stored.SessionStickyKeys { + t.Fatalf("stored.SessionStickyKeys = %v, want false", stored.SessionStickyKeys) + } + var response providerCredentialViewResponse + if err := json.Unmarshal(rec.Body.Bytes(), &response); err != nil { + t.Fatalf("unmarshal response: %v", err) + } + if response.SessionStickyKeys { + t.Error("response.SessionStickyKeys = true, want false") + } +} + func TestUpsertProviderCredential_RedactedKeyPreservesStoredValuePositionally(t *testing.T) { fake := newProviderCredentialsAdminFake() fake.rows["multi"] = providers.ManagedProviderCredential{ diff --git a/internal/anthropicapi/request.go b/internal/anthropicapi/request.go index 2f5ef2d8c..b4fcfdd93 100644 --- a/internal/anthropicapi/request.go +++ b/internal/anthropicapi/request.go @@ -48,6 +48,9 @@ func ToChatRequest(req *MessagesRequest) (*core.ChatRequest, error) { if len(req.Messages) == 0 { return nil, core.NewInvalidRequestError("messages must not be empty", nil).WithParam("messages") } + if _, err := anthropicCacheControlExtra(req.CacheControl); err != nil { + return nil, core.NewInvalidRequestError(err.Error(), err).WithParam("cache_control") + } messages, err := convertMessages(req) if err != nil { @@ -95,7 +98,7 @@ func ToChatRequest(req *MessagesRequest) (*core.ChatRequest, error) { func convertMessages(req *MessagesRequest) ([]core.Message, error) { out := make([]core.Message, 0, len(req.Messages)+1) - // Collect system messages from the messages array + // Collect system messages from the messages array. var systemMessages []string filteredMessages := make([]Message, 0, len(req.Messages)) for _, msg := range req.Messages { @@ -113,19 +116,29 @@ func convertMessages(req *MessagesRequest) ([]core.Message, error) { } } - // Build the system prompt by combining existing system field and system messages - system, err := systemText(req.System) + // Build the system prompt while retaining block-level cache_control metadata. + system, err := systemContent(req.System) if err != nil { return nil, core.NewInvalidRequestError(err.Error(), err) } if len(systemMessages) > 0 { - if system != "" { - system = strings.TrimSpace(system + "\n\n" + strings.Join(systemMessages, "\n\n")) - } else { - system = strings.TrimSpace(strings.Join(systemMessages, "\n\n")) + appended := strings.TrimSpace(strings.Join(systemMessages, "\n\n")) + switch content := system.(type) { + case string: + if content != "" { + system = strings.TrimSpace(content + "\n\n" + appended) + } else { + system = appended + } + case []core.ContentPart: + if appended != "" { + system = append(content, core.ContentPart{Type: "text", Text: appended}) + } + case nil: + system = appended } } - if system != "" { + if system != nil && core.ExtractTextContent(system) != "" { out = append(out, core.Message{Role: "system", Content: system}) } @@ -162,10 +175,14 @@ func convertBlockMessage(role string, blocks []ContentBlock) ([]core.Message, er toolCalls []core.ToolCall ) for _, block := range blocks { + extra, err := anthropicCacheControlExtra(block.CacheControl) + if err != nil { + return nil, err + } switch block.Type { case "text": if block.Text != "" { - parts = append(parts, core.ContentPart{Type: "text", Text: block.Text}) + parts = append(parts, core.ContentPart{Type: "text", Text: block.Text, ExtraFields: extra}) } case "image": url, err := imageURLFromSource(block.Source) @@ -173,17 +190,19 @@ func convertBlockMessage(role string, blocks []ContentBlock) ([]core.Message, er return nil, err } parts = append(parts, core.ContentPart{ - Type: "image_url", - ImageURL: &core.ImageURLContent{URL: url}, + Type: "image_url", + ImageURL: &core.ImageURLContent{URL: url}, + ExtraFields: extra, }) case "tool_use": if strings.TrimSpace(block.Name) == "" { return nil, fmt.Errorf("tool_use block is missing name") } toolCalls = append(toolCalls, core.ToolCall{ - ID: block.ID, - Type: "function", - Function: core.FunctionCall{Name: block.Name, Arguments: rawToArguments(block.Input)}, + ID: block.ID, + Type: "function", + Function: core.FunctionCall{Name: block.Name, Arguments: rawToArguments(block.Input)}, + ExtraFields: extra, }) case "tool_result": id := strings.TrimSpace(block.ToolUseID) @@ -195,9 +214,10 @@ func convertBlockMessage(role string, blocks []ContentBlock) ([]core.Message, er return nil, err } toolMessages = append(toolMessages, core.Message{ - Role: "tool", - ToolCallID: id, - Content: content, + Role: "tool", + ToolCallID: id, + Content: content, + ExtraFields: extra, }) case "thinking", "redacted_thinking": // Extended-thinking history has no canonical chat equivalent; drop @@ -232,7 +252,7 @@ func collapseParts(parts []core.ContentPart) core.MessageContent { } onlyText := true for _, part := range parts { - if part.Type != "text" { + if part.Type != "text" || !part.ExtraFields.IsEmpty() { onlyText = false break } @@ -296,6 +316,61 @@ func systemText(raw json.RawMessage) (string, error) { return strings.TrimSpace(strings.Join(parts, "\n\n")), nil } +// systemContent is systemText's metadata-preserving counterpart. It keeps a +// structured representation only when at least one block carries cache_control; +// ordinary system prompts retain the historical compact string representation. +func systemContent(raw json.RawMessage) (core.MessageContent, error) { + text, blocks, err := parseContent(raw) + if err != nil { + return nil, fmt.Errorf("system: %v", err) + } + if blocks == nil { + text = strings.TrimSpace(text) + if text == "" { + return nil, nil + } + return text, nil + } + parts := make([]core.ContentPart, 0, len(blocks)) + hasCacheControl := false + for _, block := range blocks { + if block.Type != "text" { + return nil, fmt.Errorf("system block type %q is not supported; only text is allowed", block.Type) + } + if block.Text == "" { + continue + } + extra, err := anthropicCacheControlExtra(block.CacheControl) + if err != nil { + return nil, err + } + if !extra.IsEmpty() { + hasCacheControl = true + } + parts = append(parts, core.ContentPart{Type: "text", Text: block.Text, ExtraFields: extra}) + } + if len(parts) == 0 { + return nil, nil + } + if !hasCacheControl { + return strings.TrimSpace(core.ExtractTextContent(parts)), nil + } + return parts, nil +} + +func anthropicCacheControlExtra(raw json.RawMessage) (core.UnknownJSONFields, error) { + trimmed := bytes.TrimSpace(raw) + if len(trimmed) == 0 || core.IsJSONNull(trimmed) { + return core.UnknownJSONFields{}, nil + } + if trimmed[0] != '{' || !json.Valid(trimmed) { + return core.UnknownJSONFields{}, fmt.Errorf("cache_control must be an object") + } + return core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": core.CloneRawJSON(trimmed), + }), nil +} + // toolResultText extracts the text payload of a tool_result block content, // which itself may be a string or an array of text blocks. A present but // malformed or non-text tool_result content is an error rather than silently @@ -381,7 +456,18 @@ func convertTools(tools []Tool) ([]map[string]any, error) { } function["parameters"] = schema } - out = append(out, map[string]any{"type": "function", "function": function}) + converted := map[string]any{"type": "function", "function": function} + if raw := bytes.TrimSpace(tool.CacheControl); len(raw) > 0 && !core.IsJSONNull(raw) { + if raw[0] != '{' || !json.Valid(raw) { + return nil, core.NewInvalidRequestError(fmt.Sprintf("tools[%d].cache_control must be an object", i), nil) + } + var cacheControl any + if err := json.Unmarshal(raw, &cacheControl); err != nil { + return nil, core.NewInvalidRequestError(fmt.Sprintf("tools[%d].cache_control: %v", i, err), err) + } + converted["cache_control"] = cacheControl + } + out = append(out, converted) } return out, nil } @@ -452,6 +538,9 @@ func buildExtraFields(req *MessagesRequest) core.UnknownJSONFields { fields["stop"] = raw } } + if raw := bytes.TrimSpace(req.CacheControl); len(raw) > 0 && !core.IsJSONNull(raw) { + fields["cache_control"] = core.CloneRawJSON(raw) + } return core.UnknownJSONFieldsFromMap(fields) } diff --git a/internal/anthropicapi/request_test.go b/internal/anthropicapi/request_test.go index 9ce7dcfe2..dca903ee2 100644 --- a/internal/anthropicapi/request_test.go +++ b/internal/anthropicapi/request_test.go @@ -389,6 +389,68 @@ func TestToChatRequestExtraFields(t *testing.T) { } } +func TestToChatRequestPreservesAnthropicCacheControls(t *testing.T) { + chat, err := ToChatRequest(mustDecode(t, `{ + "model":"claude-test","max_tokens":64, + "cache_control":{"type":"ephemeral"}, + "system":[{"type":"text","text":"stable system","cache_control":{"type":"ephemeral"}}], + "messages":[ + {"role":"user","content":[{"type":"text","text":"stable prefix","cache_control":{"type":"ephemeral"}}]}, + {"role":"assistant","content":[{"type":"tool_use","id":"tool-1","name":"lookup","input":{"q":"x"},"cache_control":{"type":"ephemeral"}}]}, + {"role":"user","content":[{"type":"tool_result","tool_use_id":"tool-1","content":"result","cache_control":{"type":"ephemeral"}}]} + ], + "tools":[{"name":"lookup","input_schema":{"type":"object"},"cache_control":{"type":"ephemeral"}}] + }`)) + if err != nil { + t.Fatalf("ToChatRequest: %v", err) + } + want := `{"type":"ephemeral"}` + if got := string(chat.ExtraFields.Lookup("cache_control")); got != want { + t.Errorf("request cache_control = %s, want %s", got, want) + } + if len(chat.Messages) != 4 { + t.Fatalf("messages = %d, want system, user, assistant, tool", len(chat.Messages)) + } + for _, index := range []int{0, 1} { + parts, ok := chat.Messages[index].Content.([]core.ContentPart) + if !ok || len(parts) != 1 { + t.Fatalf("messages[%d].Content = %T %#v, want one structured part", index, chat.Messages[index].Content, chat.Messages[index].Content) + } + if got := string(parts[0].ExtraFields.Lookup("cache_control")); got != want { + t.Errorf("messages[%d] cache_control = %s, want %s", index, got, want) + } + } + if got := string(chat.Messages[2].ToolCalls[0].ExtraFields.Lookup("cache_control")); got != want { + t.Errorf("tool_use cache_control = %s, want %s", got, want) + } + if got := string(chat.Messages[3].ExtraFields.Lookup("cache_control")); got != want { + t.Errorf("tool_result cache_control = %s, want %s", got, want) + } + if got, ok := chat.Tools[0]["cache_control"].(map[string]any); !ok || got["type"] != "ephemeral" { + t.Errorf("tool cache_control = %#v, want ephemeral object", chat.Tools[0]["cache_control"]) + } +} + +func TestToChatRequestRejectsInvalidCacheControl(t *testing.T) { + _, err := ToChatRequest(mustDecode(t, `{ + "model":"m","max_tokens":10, + "messages":[{"role":"user","content":[{"type":"text","text":"hi","cache_control":"invalid"}]}] + }`)) + if err == nil || !strings.Contains(err.Error(), "cache_control must be an object") { + t.Fatalf("error = %v, want cache_control object error", err) + } +} + +func TestToChatRequestRejectsInvalidTopLevelCacheControl(t *testing.T) { + _, err := ToChatRequest(mustDecode(t, `{ + "model":"m","max_tokens":10,"cache_control":"invalid", + "messages":[{"role":"user","content":"hi"}] + }`)) + if err == nil || !strings.Contains(err.Error(), "cache_control must be an object") { + t.Fatalf("error = %v, want cache_control object error", err) + } +} + func TestToChatRequestRejectsUnsupportedContentBlock(t *testing.T) { _, err := ToChatRequest(mustDecode(t, `{ "model":"m","max_tokens":10, diff --git a/internal/anthropicapi/types.go b/internal/anthropicapi/types.go index cbdd318b9..6e79762bd 100644 --- a/internal/anthropicapi/types.go +++ b/internal/anthropicapi/types.go @@ -23,6 +23,7 @@ type MessagesRequest struct { Tools []Tool `json:"tools,omitempty"` ToolChoice *ToolChoice `json:"tool_choice,omitempty"` Thinking *Thinking `json:"thinking,omitempty"` + CacheControl json.RawMessage `json:"cache_control,omitempty" swaggertype:"object"` } // Metadata carries the optional Anthropic request metadata object. @@ -54,6 +55,9 @@ type ContentBlock struct { ToolUseID string `json:"tool_use_id,omitempty"` Content json.RawMessage `json:"content,omitempty" swaggertype:"object"` IsError bool `json:"is_error,omitempty"` + // CacheControl preserves Anthropic prompt-cache breakpoints through the + // canonical chat representation when the request is routed back to Claude. + CacheControl json.RawMessage `json:"cache_control,omitempty" swaggertype:"object"` } // Source describes an Anthropic image source (base64 inline data or a URL). @@ -68,10 +72,11 @@ type Source struct { // "custom"); a server/built-in tool (web search, code execution, …) carries a // versioned Type and is rejected during translation — see convertTools. type Tool struct { - Type string `json:"type,omitempty"` - Name string `json:"name"` - Description string `json:"description,omitempty"` - InputSchema json.RawMessage `json:"input_schema,omitempty" swaggertype:"object"` + Type string `json:"type,omitempty"` + Name string `json:"name"` + Description string `json:"description,omitempty"` + InputSchema json.RawMessage `json:"input_schema,omitempty" swaggertype:"object"` + CacheControl json.RawMessage `json:"cache_control,omitempty" swaggertype:"object"` } // ToolChoice constrains how the model selects tools. diff --git a/internal/embedding/embedding.go b/internal/embedding/embedding.go index cc4bad416..1349d210e 100644 --- a/internal/embedding/embedding.go +++ b/internal/embedding/embedding.go @@ -131,7 +131,7 @@ func (e *apiEmbedder) Embed(ctx context.Context, text string) ([]float32, error) return nil, fmt.Errorf("embedding: build request: %w", err) } req.Header.Set("Content-Type", "application/json") - if apiKey := e.keys.Next(); apiKey != "" { + if apiKey := e.keys.NextForContext(req.Context()); apiKey != "" { req.Header.Set("Authorization", "Bearer "+apiKey) } resp, err := e.httpClient.Do(req) diff --git a/internal/providers/anthropic/anthropic.go b/internal/providers/anthropic/anthropic.go index 4dd134aff..1c4c0e74f 100644 --- a/internal/providers/anthropic/anthropic.go +++ b/internal/providers/anthropic/anthropic.go @@ -156,9 +156,9 @@ func (p *Provider) getBatchResultEndpoints(batchID string) map[string]string { } // setHeaders sets the required headers for Anthropic API requests. It runs once -// per outbound request, so p.keys.Next advances the rotation per call. +// per outbound request; identified sessions resolve to a stable key. func (p *Provider) setHeaders(req *http.Request) { - req.Header.Set("x-api-key", p.keys.Next()) + req.Header.Set("x-api-key", p.keys.NextForContext(req.Context())) req.Header.Set("anthropic-version", anthropicAPIVersion) // Forward request ID if present in context diff --git a/internal/providers/anthropic/anthropic_test.go b/internal/providers/anthropic/anthropic_test.go index 2310979cc..059726e3e 100644 --- a/internal/providers/anthropic/anthropic_test.go +++ b/internal/providers/anthropic/anthropic_test.go @@ -4482,6 +4482,47 @@ func TestConvertToAnthropicRequest_PreservesCacheControlOnSystemBlocks(t *testin } } +func TestConvertToAnthropicRequest_PreservesCacheControlOnRequestToolsAndToolHistory(t *testing.T) { + cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": json.RawMessage(`{"type":"ephemeral"}`), + }) + req := &core.ChatRequest{ + Model: "claude-sonnet-4-5-20250929", + ExtraFields: cacheExtra, + Tools: []map[string]any{{ + "type": "function", + "function": map[string]any{"name": "lookup", "parameters": map[string]any{"type": "object"}}, + "cache_control": map[string]any{"type": "ephemeral"}, + }}, + Messages: []core.Message{ + {Role: "assistant", ToolCalls: []core.ToolCall{{ + ID: "tool-1", Type: "function", Function: core.FunctionCall{Name: "lookup", Arguments: `{}`}, ExtraFields: cacheExtra, + }}}, + {Role: "tool", ToolCallID: "tool-1", Content: "result", ExtraFields: cacheExtra}, + }, + } + + result, err := convertToAnthropicRequest(req) + if err != nil { + t.Fatalf("convertToAnthropicRequest() error = %v", err) + } + want := `{"type":"ephemeral"}` + if got := string(result.CacheControl); got != want { + t.Errorf("request CacheControl = %s, want %s", got, want) + } + if got := string(result.Tools[0].CacheControl); got != want { + t.Errorf("tool CacheControl = %s, want %s", got, want) + } + assistantBlocks := result.Messages[0].Content.([]anthropicContentBlock) + if got := string(assistantBlocks[0].CacheControl); got != want { + t.Errorf("tool_use CacheControl = %s, want %s", got, want) + } + toolBlocks := result.Messages[1].Content.([]anthropicContentBlock) + if got := string(toolBlocks[0].CacheControl); got != want { + t.Errorf("tool_result CacheControl = %s, want %s", got, want) + } +} + func TestConvertToAnthropicRequest_PreservesAllSystemMessages(t *testing.T) { req := &core.ChatRequest{ Model: "claude-sonnet-4-5-20250929", diff --git a/internal/providers/anthropic/request_translation.go b/internal/providers/anthropic/request_translation.go index d58910e4e..a3b064125 100644 --- a/internal/providers/anthropic/request_translation.go +++ b/internal/providers/anthropic/request_translation.go @@ -127,10 +127,15 @@ func convertOpenAIToolsToAnthropic(tools []map[string]any) ([]anthropicTool, err inputSchema = schema } + cacheControl, err := anthropicCacheControlFromValue(tool["cache_control"]) + if err != nil { + return nil, err + } out = append(out, anthropicTool{ - Name: name, - Description: description, - InputSchema: inputSchema.(map[string]any), + Name: name, + Description: description, + InputSchema: inputSchema.(map[string]any), + CacheControl: cacheControl, }) } if len(out) == 0 { @@ -232,11 +237,16 @@ func buildAnthropicMessageContent(msg core.Message) (any, error) { if toolUseID == "" { return nil, core.NewInvalidRequestError("tool message is missing tool_call_id", nil) } + cacheControl, err := anthropicCacheControlFromExtra(msg.ExtraFields) + if err != nil { + return nil, err + } return []anthropicContentBlock{ { - Type: "tool_result", - ToolUseID: toolUseID, - Content: core.ExtractTextContent(msg.Content), + Type: "tool_result", + ToolUseID: toolUseID, + Content: core.ExtractTextContent(msg.Content), + CacheControl: cacheControl, }, }, nil } @@ -274,11 +284,16 @@ func buildAnthropicMessageContent(msg core.Message) (any, error) { if err != nil { return nil, err } + cacheControl, err := anthropicCacheControlFromExtra(toolCall.ExtraFields) + if err != nil { + return nil, err + } blocks = append(blocks, anthropicContentBlock{ - Type: "tool_use", - ID: toolCallID, - Name: toolName, - Input: input, + Type: "tool_use", + ID: toolCallID, + Name: toolName, + Input: input, + CacheControl: cacheControl, }) } return blocks, nil @@ -301,6 +316,11 @@ func convertToAnthropicRequest(req *core.ChatRequest) (*anthropicRequest, error) Stream: req.Stream, StopSequences: stopSequencesFromExtra(req.ExtraFields), } + cacheControl, err := anthropicCacheControlFromExtra(req.ExtraFields) + if err != nil { + return nil, err + } + anthropicReq.CacheControl = cacheControl if req.MaxTokens != nil { anthropicReq.MaxTokens = *req.MaxTokens @@ -564,6 +584,24 @@ func anthropicCacheControlFromExtra(extraFields core.UnknownJSONFields) (json.Ra return core.CloneRawJSON(trimmed), nil } +func anthropicCacheControlFromValue(value any) (json.RawMessage, error) { + if value == nil { + return nil, nil + } + raw, err := json.Marshal(value) + if err != nil { + return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", err) + } + trimmed := bytes.TrimSpace(raw) + if len(trimmed) == 0 || core.IsJSONNull(trimmed) { + return nil, nil + } + if trimmed[0] != '{' { + return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", nil) + } + return core.CloneRawJSON(trimmed), nil +} + // resolveAnthropicReasoningEffort returns the requested reasoning effort, // accepting both the OpenAI Responses-style reasoning object and the Chat // Completions reasoning_effort string carried in extra fields. A non-empty diff --git a/internal/providers/anthropic/types.go b/internal/providers/anthropic/types.go index 6ea9794d7..5be78cb8b 100644 --- a/internal/providers/anthropic/types.go +++ b/internal/providers/anthropic/types.go @@ -30,12 +30,14 @@ type anthropicRequest struct { StopSequences []string `json:"stop_sequences,omitempty"` Thinking *anthropicThinking `json:"thinking,omitempty"` OutputConfig *anthropicOutputConfig `json:"output_config,omitempty"` + CacheControl json.RawMessage `json:"cache_control,omitempty"` } type anthropicTool struct { - Name string `json:"name"` - Description string `json:"description,omitempty"` - InputSchema map[string]any `json:"input_schema"` + Name string `json:"name"` + Description string `json:"description,omitempty"` + InputSchema map[string]any `json:"input_schema"` + CacheControl json.RawMessage `json:"cache_control,omitempty"` } type anthropicToolChoice struct { diff --git a/internal/providers/azure/realtime.go b/internal/providers/azure/realtime.go index 9be7f5f4c..f7d021786 100644 --- a/internal/providers/azure/realtime.go +++ b/internal/providers/azure/realtime.go @@ -17,7 +17,7 @@ import ( // A request carrying a CallID attaches to an existing WebRTC call as a sideband // channel on the GA v1 surface (/openai/v1/realtime?call_id=...), // which needs no api-version parameter. -func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { +func (p *Provider) RealtimeTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { if req == nil { return nil, core.NewInvalidRequestError("model is required for realtime sessions", nil) } @@ -35,25 +35,25 @@ func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) return nil, err } - return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders(ctx)}, nil } // RealtimeCallTarget implements core.RealtimeCallProvider for Azure OpenAI's GA // WebRTC SDP exchange: POST https://.openai.azure.com/openai/v1/realtime/calls. // The GA v1 surface mirrors OpenAI's and takes no api-version parameter; the // model query parameter selects the Azure deployment. -func (p *Provider) RealtimeCallTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "calls") +func (p *Provider) RealtimeCallTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "calls") } // RealtimeClientSecretTarget implements core.RealtimeCallProvider for minting // ephemeral realtime client secrets on Azure's GA v1 surface: // POST https://.openai.azure.com/openai/v1/realtime/client_secrets. -func (p *Provider) RealtimeClientSecretTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "client_secrets") +func (p *Provider) RealtimeClientSecretTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "client_secrets") } -func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { +func (p *Provider) realtimeHTTPTarget(ctx context.Context, req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { if req == nil || strings.TrimSpace(req.Model) == "" { return nil, core.NewInvalidRequestError("model is required for realtime calls", nil) } @@ -62,7 +62,7 @@ func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string return nil, err } u.Path += "/openai/v1/realtime/" + endpoint - return &core.RealtimeHTTPTarget{URL: u.String(), Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeHTTPTarget{URL: u.String(), Headers: p.realtimeAuthHeaders(ctx)}, nil } // realtimeAttachURL builds the GA sideband attach websocket URL: @@ -120,9 +120,9 @@ func (p *Provider) realtimeRoot(insecureScheme, secureScheme string) (*url.URL, return u, nil } -func (p *Provider) realtimeAuthHeaders() http.Header { +func (p *Provider) realtimeAuthHeaders(ctx context.Context) http.Header { headers := http.Header{} - if apiKey := p.keys.Next(); apiKey != "" { + if apiKey := p.keys.NextForContext(ctx); apiKey != "" { headers.Set("api-key", apiKey) } return headers diff --git a/internal/providers/bailian/realtime.go b/internal/providers/bailian/realtime.go index d06fc5fd4..271b24595 100644 --- a/internal/providers/bailian/realtime.go +++ b/internal/providers/bailian/realtime.go @@ -14,7 +14,7 @@ import ( // schema. Unlike chat, the realtime websocket is NOT under /compatible-mode/v1; // it lives at /api-ws/v1/realtime on the same host, so the host (and thus the // region selected via BAILIAN_BASE_URL) is taken from the configured base URL. -func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { +func (p *Provider) RealtimeTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { if req == nil || strings.TrimSpace(req.Model) == "" { return nil, core.NewInvalidRequestError("model is required for realtime sessions", nil) } @@ -25,7 +25,7 @@ func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) } headers := http.Header{} - if apiKey := p.keys.Next(); apiKey != "" { + if apiKey := p.keys.NextForContext(ctx); apiKey != "" { headers.Set("Authorization", "Bearer "+apiKey) } diff --git a/internal/providers/bedrockmantle/auth.go b/internal/providers/bedrockmantle/auth.go index 5cda2cb43..033bec426 100644 --- a/internal/providers/bedrockmantle/auth.go +++ b/internal/providers/bedrockmantle/auth.go @@ -49,7 +49,7 @@ func (t *authTransport) RoundTrip(req *http.Request) (*http.Response, error) { request := req.Clone(req.Context()) request.Header = req.Header.Clone() - if token := t.keys.Next(); token != "" { + if token := t.keys.NextForContext(req.Context()); token != "" { request.Header.Set("Authorization", "Bearer "+token) return t.base.RoundTrip(request) } diff --git a/internal/providers/cohere/cohere.go b/internal/providers/cohere/cohere.go index 5376e394e..6516f0d5b 100644 --- a/internal/providers/cohere/cohere.go +++ b/internal/providers/cohere/cohere.go @@ -65,7 +65,7 @@ func (p *Provider) SetBaseURL(baseURL string) { } func (p *Provider) setHeaders(req *http.Request) { - req.Header.Set("Authorization", "Bearer "+p.keys.Next()) + req.Header.Set("Authorization", "Bearer "+p.keys.NextForContext(req.Context())) req.Header.Set("X-Client-Name", "GoModel") if requestID := core.GetRequestID(req.Context()); requestID != "" { req.Header.Set("X-Request-Id", requestID) diff --git a/internal/providers/config.go b/internal/providers/config.go index f153b9a33..939b70faf 100644 --- a/internal/providers/config.go +++ b/internal/providers/config.go @@ -20,10 +20,11 @@ type ProviderConfig struct { // or "" for keyless providers. Prefer APIKeys for anything that // authenticates a request, so rotation is honoured. APIKey string - // APIKeys is the provider's full, ordered, de-duplicated key set. Requests - // rotate across it round robin when it holds more than one key. It is nil - // for keyless providers and holds exactly one entry in the common case. + // APIKeys is the provider's full, ordered, de-duplicated key set. Identified + // sessions stay on one key when SessionStickyKeys is true; sessionless + // traffic rotates round robin. APIKeys []string + SessionStickyKeys bool BaseURL string APIVersion string Backend string @@ -816,6 +817,7 @@ func buildProviderConfig(raw config.RawProviderConfig, global config.ResilienceC Type: normalizeProviderType(raw), APIKey: raw.APIKey, APIKeys: raw.APIKeys, + SessionStickyKeys: sessionStickyKeysEnabled(raw.SessionStickyKeys), BaseURL: raw.BaseURL, APIVersion: raw.APIVersion, Backend: raw.Backend, @@ -869,6 +871,10 @@ func buildProviderConfig(raw config.RawProviderConfig, global config.ResilienceC return resolved } +func sessionStickyKeysEnabled(value *bool) bool { + return value == nil || *value +} + func normalizeProviderType(raw config.RawProviderConfig) string { providerType := strings.TrimSpace(raw.Type) if strings.EqualFold(providerType, "gemini") && strings.EqualFold(strings.TrimSpace(raw.Backend), "vertex") { diff --git a/internal/providers/config_test.go b/internal/providers/config_test.go index b0d89bf34..e4eaf4173 100644 --- a/internal/providers/config_test.go +++ b/internal/providers/config_test.go @@ -88,6 +88,21 @@ func TestBuildProviderConfig_InheritsGlobal(t *testing.T) { if got.Resilience.Retry != globalRetry { t.Errorf("expected global retry to be inherited\ngot: %+v\nwant: %+v", got.Resilience.Retry, globalRetry) } + if !got.SessionStickyKeys { + t.Error("SessionStickyKeys = false, want default true") + } +} + +func TestBuildProviderConfig_CanDisableSessionStickyKeys(t *testing.T) { + disabled := false + got := buildProviderConfig(config.RawProviderConfig{ + Type: "openai", + APIKey: "sk-test", + SessionStickyKeys: &disabled, + }, globalResilience) + if got.SessionStickyKeys { + t.Error("SessionStickyKeys = true, want explicit false") + } } func TestBuildProviderConfig_NilResilience(t *testing.T) { diff --git a/internal/providers/credential_schema.go b/internal/providers/credential_schema.go index 6ab3acde2..a631c4ed2 100644 --- a/internal/providers/credential_schema.go +++ b/internal/providers/credential_schema.go @@ -7,6 +7,7 @@ import "sort" // used verbatim as an error `param` and as a dashboard form field id. const ( CredentialFieldAPIKeys = "api_keys" + CredentialFieldSessionStickyKeys = "session_sticky_keys" CredentialFieldBaseURL = "base_url" CredentialFieldAPIVersion = "api_version" CredentialFieldBackend = "backend" @@ -95,8 +96,14 @@ func credentialSchema(providerType string, spec DiscoveryConfig) CredentialSchem fields = defaultCredentialFields(spec) } schema := CredentialSchema{Type: providerType, DefaultBaseURL: spec.DefaultBaseURL} - schema.Fields = make([]CredentialField, 0, len(fields)+1) + schema.Fields = make([]CredentialField, 0, len(fields)+2) schema.Fields = append(schema.Fields, fields...) + for _, field := range fields { + if field.Name == CredentialFieldAPIKeys { + schema.Fields = append(schema.Fields, CredentialField{Name: CredentialFieldSessionStickyKeys, Advanced: true}) + break + } + } schema.Fields = append(schema.Fields, CredentialField{Name: CredentialFieldModels, Advanced: true}) return schema } diff --git a/internal/providers/credential_schema_test.go b/internal/providers/credential_schema_test.go index 20c127c1f..5b822f3c4 100644 --- a/internal/providers/credential_schema_test.go +++ b/internal/providers/credential_schema_test.go @@ -42,25 +42,25 @@ func TestCredentialSchemas_DerivesTheFormFromDiscoveryFlags(t *testing.T) { { name: "an API key against one endpoint", spec: DiscoveryConfig{DefaultBaseURL: "https://api.example.com/v1"}, - fields: []string{"api_keys", "base_url", "models"}, + fields: []string{"api_keys", "base_url", "session_sticky_keys", "models"}, required: []string{"api_keys"}, // Nothing else to configure once the key is filled in. - advanced: []string{"base_url", "models"}, + advanced: []string{"base_url", "session_sticky_keys", "models"}, }, { name: "keyless", spec: DiscoveryConfig{DefaultBaseURL: "http://localhost:11434", AllowAPIKeyless: true}, - fields: []string{"api_keys", "base_url", "models"}, + fields: []string{"api_keys", "base_url", "session_sticky_keys", "models"}, required: nil, // With no key to fill in, the endpoint is the configuration. - advanced: []string{"models"}, + advanced: []string{"session_sticky_keys", "models"}, }, { name: "an endpoint the operator must name", spec: DiscoveryConfig{RequireBaseURL: true, SupportsAPIVersion: true}, - fields: []string{"api_keys", "base_url", "api_version", "models"}, + fields: []string{"api_keys", "base_url", "api_version", "session_sticky_keys", "models"}, required: []string{"api_keys", "base_url"}, - advanced: []string{"models"}, + advanced: []string{"session_sticky_keys", "models"}, }, } diff --git a/internal/providers/credentials.go b/internal/providers/credentials.go index 91781bc05..b2eaefa3f 100644 --- a/internal/providers/credentials.go +++ b/internal/providers/credentials.go @@ -29,6 +29,9 @@ type ManagedProviderCredential struct { // (Ollama, vLLM) and Vertex/Bedrock (which authenticate a different way) // may leave this empty. APIKeys []string + // SessionStickyKeys is nil for legacy/default rows and therefore means + // enabled. A non-nil false value is the explicit dashboard/YAML opt-out. + SessionStickyKeys *bool BaseURL string APIVersion string @@ -61,6 +64,7 @@ func (m ManagedProviderCredential) toRawProviderConfig() config.RawProviderConfi raw := config.RawProviderConfig{ Type: m.Type, APIKeys: m.APIKeys, + SessionStickyKeys: m.SessionStickyKeys, BaseURL: m.BaseURL, APIVersion: m.APIVersion, Backend: m.Backend, diff --git a/internal/providers/credentials_store_mongodb.go b/internal/providers/credentials_store_mongodb.go index dc21657a2..0b99e478b 100644 --- a/internal/providers/credentials_store_mongodb.go +++ b/internal/providers/credentials_store_mongodb.go @@ -27,6 +27,7 @@ type mongoCredentialDocument struct { ServiceAccountJSONBase64 string `bson:"service_account_json_base64,omitempty"` GCPScope string `bson:"gcp_scope,omitempty"` Models []string `bson:"models,omitempty"` + SessionStickyKeys *bool `bson:"session_sticky_keys,omitempty"` Enabled bool `bson:"enabled"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` @@ -113,6 +114,7 @@ func (s *MongoDBCredentialStore) Upsert(ctx context.Context, cred ManagedProvide "service_account_json_base64": cred.ServiceAccountJSONBase64, "gcp_scope": cred.GCPScope, "models": cred.Models, + "session_sticky_keys": sessionStickyKeysEnabled(cred.SessionStickyKeys), "enabled": cred.Enabled, "updated_at": cred.UpdatedAt, }, @@ -157,6 +159,7 @@ func credentialFromMongo(doc mongoCredentialDocument) ManagedProviderCredential ServiceAccountJSON: doc.ServiceAccountJSON, ServiceAccountJSONBase64: doc.ServiceAccountJSONBase64, GCPScope: doc.GCPScope, + SessionStickyKeys: doc.SessionStickyKeys, Enabled: doc.Enabled, CreatedAt: doc.CreatedAt.UTC(), UpdatedAt: doc.UpdatedAt.UTC(), diff --git a/internal/providers/credentials_store_sql.go b/internal/providers/credentials_store_sql.go index 7def3a252..90e92106a 100644 --- a/internal/providers/credentials_store_sql.go +++ b/internal/providers/credentials_store_sql.go @@ -20,6 +20,7 @@ var credentialSQLSchema = []string{ name TEXT PRIMARY KEY, type TEXT NOT NULL, api_keys TEXT NOT NULL DEFAULT '[]', + session_sticky_keys ` + sqlx.TypeBool + ` NOT NULL DEFAULT TRUE, base_url TEXT NOT NULL DEFAULT '', api_version TEXT NOT NULL DEFAULT '', backend TEXT NOT NULL DEFAULT '', @@ -41,7 +42,7 @@ var credentialSQLSchema = []string{ const selectCredentialColumns = `name, type, api_keys, base_url, api_version, backend, auth_type, api_mode, ` + `vertex_project, vertex_location, service_account_file, service_account_json, ` + - `service_account_json_base64, gcp_scope, models, enabled, created_at, updated_at` + `service_account_json_base64, gcp_scope, models, session_sticky_keys, enabled, created_at, updated_at` // NewSQLCredentialStore creates the provider_credentials table and indexes if // needed. @@ -52,6 +53,11 @@ func NewSQLCredentialStore(ctx context.Context, db sqlx.DB) (*SQLCredentialStore if err := db.Schema(ctx, credentialSQLSchema...); err != nil { return nil, fmt.Errorf("failed to create provider_credentials table: %w", err) } + if err := sqlx.AddColumns(ctx, db, + `ALTER TABLE provider_credentials ADD COLUMN session_sticky_keys `+sqlx.TypeBool+` NOT NULL DEFAULT TRUE`, + ); err != nil { + return nil, fmt.Errorf("migrate provider_credentials: %w", err) + } return &SQLCredentialStore{db: db}, nil } @@ -99,9 +105,9 @@ func (s *SQLCredentialStore) Upsert(ctx context.Context, cred ManagedProviderCre INSERT INTO provider_credentials ( name, type, api_keys, base_url, api_version, backend, auth_type, api_mode, vertex_project, vertex_location, service_account_file, service_account_json, - service_account_json_base64, gcp_scope, models, enabled, created_at, updated_at + service_account_json_base64, gcp_scope, models, session_sticky_keys, enabled, created_at, updated_at ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT(name) DO UPDATE SET type = excluded.type, api_keys = excluded.api_keys, @@ -117,6 +123,7 @@ func (s *SQLCredentialStore) Upsert(ctx context.Context, cred ManagedProviderCre service_account_json_base64 = excluded.service_account_json_base64, gcp_scope = excluded.gcp_scope, models = excluded.models, + session_sticky_keys = excluded.session_sticky_keys, enabled = excluded.enabled, updated_at = excluded.updated_at `, @@ -135,6 +142,7 @@ func (s *SQLCredentialStore) Upsert(ctx context.Context, cred ManagedProviderCre cred.ServiceAccountJSONBase64, cred.GCPScope, modelsJSON, + sessionStickyKeysEnabled(cred.SessionStickyKeys), cred.Enabled, cred.CreatedAt.Unix(), cred.UpdatedAt.Unix(), @@ -164,6 +172,7 @@ func (s *SQLCredentialStore) Close() error { func scanSQLCredential(scanner sqlx.Row) (ManagedProviderCredential, error) { var cred ManagedProviderCredential var apiKeys, models []byte + var sessionStickyKeys bool var createdAt, updatedAt int64 if err := scanner.Scan( &cred.Name, @@ -181,12 +190,14 @@ func scanSQLCredential(scanner sqlx.Row) (ManagedProviderCredential, error) { &cred.ServiceAccountJSONBase64, &cred.GCPScope, &models, + &sessionStickyKeys, &cred.Enabled, &createdAt, &updatedAt, ); err != nil { return ManagedProviderCredential{}, err } + cred.SessionStickyKeys = &sessionStickyKeys var err error if cred.APIKeys, err = decodeCredentialList(apiKeys); err != nil { return ManagedProviderCredential{}, err diff --git a/internal/providers/credentials_store_sql_test.go b/internal/providers/credentials_store_sql_test.go index fc1ce0921..6739131bd 100644 --- a/internal/providers/credentials_store_sql_test.go +++ b/internal/providers/credentials_store_sql_test.go @@ -23,15 +23,17 @@ func runSQLCredentialStoreTest(t *testing.T, body func(t *testing.T, store *SQLC func TestSQLCredentialStoreRoundTrip(t *testing.T) { runSQLCredentialStoreTest(t, func(t *testing.T, store *SQLCredentialStore) { ctx := context.Background() + sessionStickyKeys := false cred := ManagedProviderCredential{ - Name: "my-openai", - Type: "openai", - APIKeys: []string{"sk-one", "sk-two"}, - BaseURL: "https://api.openai.com/v1", - APIVersion: "2024-01-01", - Models: []string{"gpt-4o", "gpt-4o-mini"}, - Enabled: true, + Name: "my-openai", + Type: "openai", + APIKeys: []string{"sk-one", "sk-two"}, + SessionStickyKeys: &sessionStickyKeys, + BaseURL: "https://api.openai.com/v1", + APIVersion: "2024-01-01", + Models: []string{"gpt-4o", "gpt-4o-mini"}, + Enabled: true, } if err := store.Upsert(ctx, cred); err != nil { t.Fatalf("Upsert() error = %v", err) @@ -50,6 +52,9 @@ func TestSQLCredentialStoreRoundTrip(t *testing.T) { if len(got.Models) != 2 || got.Models[0] != "gpt-4o" { t.Fatalf("Get().Models = %v, want [gpt-4o gpt-4o-mini]", got.Models) } + if got.SessionStickyKeys == nil || *got.SessionStickyKeys { + t.Fatalf("Get().SessionStickyKeys = %v, want false", got.SessionStickyKeys) + } if got.CreatedAt.IsZero() || got.UpdatedAt.IsZero() { t.Fatalf("Get() timestamps = (%v, %v), want both stamped", got.CreatedAt, got.UpdatedAt) } diff --git a/internal/providers/factory.go b/internal/providers/factory.go index f4509e0fd..7e54a24be 100644 --- a/internal/providers/factory.go +++ b/internal/providers/factory.go @@ -132,12 +132,12 @@ func (f *ProviderFactory) Create(cfg ProviderConfig) (core.Provider, error) { } // One Keyring per provider instance: every client this provider builds - // shares the rotation, so keys are used evenly across all its endpoints. + // shares session affinity and the sessionless round-robin sequence. opts := ProviderOptions{ Hooks: hooks, Models: cfg.Models, Resilience: cfg.Resilience, - Keys: NewKeyring(cfg.APIKeys...), + Keys: NewKeyringWithSessionStickiness(cfg.SessionStickyKeys, cfg.APIKeys...), } return builder(cfg, opts), nil diff --git a/internal/providers/gemini/gemini.go b/internal/providers/gemini/gemini.go index 018457bf0..b2a336649 100644 --- a/internal/providers/gemini/gemini.go +++ b/internal/providers/gemini/gemini.go @@ -250,7 +250,7 @@ func (p *Provider) responseProviderName() string { // instead, so only the API-key path consumes the rotation. func (p *Provider) setHeaders(req *http.Request) { if p.authType == geminiAuthTypeAPIKey { - req.Header.Set("Authorization", "Bearer "+p.keys.Next()) + req.Header.Set("Authorization", "Bearer "+p.keys.NextForContext(req.Context())) } // Forward request ID if present in context for request tracing @@ -262,7 +262,7 @@ func (p *Provider) setHeaders(req *http.Request) { // setNativeHeaders sets the required headers for Gemini native API requests. func (p *Provider) setNativeHeaders(req *http.Request) { if p.authType == geminiAuthTypeAPIKey { - req.Header.Set("x-goog-api-key", p.keys.Next()) + req.Header.Set("x-goog-api-key", p.keys.NextForContext(req.Context())) } if requestID := core.GetRequestID(req.Context()); requestID != "" { diff --git a/internal/providers/keyring.go b/internal/providers/keyring.go index b17e19bf5..40a6ad8c9 100644 --- a/internal/providers/keyring.go +++ b/internal/providers/keyring.go @@ -1,6 +1,13 @@ package providers -import "sync/atomic" +import ( + "bytes" + "context" + "crypto/sha256" + "sync/atomic" + + "github.com/enterpilot/gomodel/internal/core" +) // Keyring holds the API keys configured for a single provider instance and // hands them out one at a time, round robin. @@ -15,8 +22,9 @@ import "sync/atomic" // safe to call and behaves as an empty ring, which lets keyless providers // (Ollama, vLLM) and direct test constructors skip it entirely. type Keyring struct { - keys []string - next atomic.Uint64 + keys []string + next atomic.Uint64 + sessionSticky bool } // NewKeyring returns a Keyring over keys, preserving order while dropping @@ -25,6 +33,13 @@ type Keyring struct { // of the rotation. It returns nil when no usable key remains, so callers can // treat "no credentials" and "no keyring" identically. func NewKeyring(keys ...string) *Keyring { + return NewKeyringWithSessionStickiness(true, keys...) +} + +// NewKeyringWithSessionStickiness builds a keyring whose identified sessions +// deterministically select one credential. Sessionless traffic always keeps +// the historical round-robin behavior. +func NewKeyringWithSessionStickiness(sessionSticky bool, keys ...string) *Keyring { unique := make([]string, 0, len(keys)) seen := make(map[string]struct{}, len(keys)) for _, key := range keys { @@ -40,7 +55,7 @@ func NewKeyring(keys ...string) *Keyring { if len(unique) == 0 { return nil } - return &Keyring{keys: unique} + return &Keyring{keys: unique, sessionSticky: sessionSticky} } // Next returns the key to authenticate the next outbound request, advancing @@ -62,6 +77,49 @@ func (k *Keyring) Next() string { return k.keys[i%uint64(len(k.keys))] } +// NextForContext returns the key pinned to the request's GoModel session. When +// no session is present, or session stickiness was disabled for this provider, +// it advances the ordinary round-robin sequence. +func (k *Keyring) NextForContext(ctx context.Context) string { + return k.NextForSession(core.SessionIDFromContext(ctx)) +} + +// NextForSession deterministically maps one non-empty session to one key using +// rendezvous hashing. Adding or removing a key therefore remaps only sessions +// assigned to the changed key, rather than invalidating every warm cache. The +// digest and credential material remain in-process and are never exposed. +func (k *Keyring) NextForSession(sessionID string) string { + if k == nil || len(k.keys) == 0 { + return "" + } + if len(k.keys) == 1 { + return k.keys[0] + } + if !k.sessionSticky || sessionID == "" { + return k.Next() + } + selected := k.keys[0] + best := rendezvousKeyScore(sessionID, selected) + for _, key := range k.keys[1:] { + score := rendezvousKeyScore(sessionID, key) + if bytes.Compare(score[:], best[:]) > 0 { + selected = key + best = score + } + } + return selected +} + +func rendezvousKeyScore(sessionID, key string) [sha256.Size]byte { + hash := sha256.New() + _, _ = hash.Write([]byte(sessionID)) + _, _ = hash.Write([]byte{0}) + _, _ = hash.Write([]byte(key)) + var score [sha256.Size]byte + copy(score[:], hash.Sum(nil)) + return score +} + // Primary returns the first configured key without advancing the rotation. // It is the key to use where a stable identity matters more than spreading // load, and where an empty ring must stay empty. @@ -80,9 +138,8 @@ func (k *Keyring) Len() int { return len(k.keys) } -// Rotates reports whether more than one key is configured, and therefore -// whether successive requests will present different credentials. Callers use -// it to warn about the prompt-caching cost of rotation. +// Rotates reports whether more than one key is configured. Identified sessions +// may still remain pinned to one of those keys when session stickiness is on. func (k *Keyring) Rotates() bool { return k.Len() > 1 } diff --git a/internal/providers/keyring_test.go b/internal/providers/keyring_test.go index 6d3c1fdd1..eace59362 100644 --- a/internal/providers/keyring_test.go +++ b/internal/providers/keyring_test.go @@ -1,8 +1,12 @@ package providers import ( + "context" + "fmt" "sync" "testing" + + "github.com/enterpilot/gomodel/internal/core" ) func TestNewKeyring(t *testing.T) { @@ -42,6 +46,55 @@ func TestNewKeyring(t *testing.T) { } } +func TestKeyringPinsIdentifiedSessionsByDefault(t *testing.T) { + ring := NewKeyring("k1", "k2", "k3") + want := ring.NextForSession("conversation-42") + for i := range 10 { + if got := ring.NextForSession("conversation-42"); got != want { + t.Fatalf("NextForSession() call %d = %q, want pinned key %q", i+2, got, want) + } + } + + ctx := core.WithSessionID(context.Background(), "conversation-42") + if got := ring.NextForContext(ctx); got != want { + t.Fatalf("NextForContext() = %q, want %q", got, want) + } +} + +func TestKeyringSessionStickinessCanBeDisabled(t *testing.T) { + ring := NewKeyringWithSessionStickiness(false, "k1", "k2") + got := []string{ + ring.NextForSession("same-session"), + ring.NextForSession("same-session"), + ring.NextForSession("same-session"), + } + want := []string{"k1", "k2", "k1"} + if !equalStrings(got, want) { + t.Fatalf("disabled sticky keys = %v, want round robin %v", got, want) + } +} + +func TestKeyringSessionlessTrafficRemainsRoundRobin(t *testing.T) { + ring := NewKeyring("k1", "k2") + got := []string{ring.NextForContext(context.Background()), ring.NextForContext(context.Background())} + if want := []string{"k1", "k2"}; !equalStrings(got, want) { + t.Fatalf("sessionless keys = %v, want %v", got, want) + } +} + +func TestKeyringRendezvousHashingOnlyRemapsSessionsOnChangedKey(t *testing.T) { + before := NewKeyring("k1", "k2", "k3") + after := NewKeyring("k1", "k3") + for i := range 1000 { + session := fmt.Sprintf("session-%d", i) + previous := before.NextForSession(session) + current := after.NextForSession(session) + if previous != "k2" && current != previous { + t.Fatalf("%q moved from %q to %q although its key remains", session, previous, current) + } + } +} + func TestKeyringNextCyclesRoundRobin(t *testing.T) { ring := NewKeyring("k1", "k2", "k3") diff --git a/internal/providers/ollama/ollama.go b/internal/providers/ollama/ollama.go index 00baffb96..dea6ec8a2 100644 --- a/internal/providers/ollama/ollama.go +++ b/internal/providers/ollama/ollama.go @@ -117,7 +117,7 @@ func setHeaders(req *http.Request, apiKey string) { // setNativeHeaders applies the same header policy on the native /api client. func (p *Provider) setNativeHeaders(req *http.Request) { - setHeaders(req, p.keys.Next()) + setHeaders(req, p.keys.NextForContext(req.Context())) } // ChatCompletion sends a chat completion request to Ollama diff --git a/internal/providers/openai/compatible_provider.go b/internal/providers/openai/compatible_provider.go index 96fb4182c..9de552776 100644 --- a/internal/providers/openai/compatible_provider.go +++ b/internal/providers/openai/compatible_provider.go @@ -97,7 +97,7 @@ func NewCompatibleProvider(apiKey string, opts providers.ProviderOptions, cfg Co // what spreads successive calls across them. headerSetter := func(req *http.Request) { if cfg.SetHeaders != nil { - cfg.SetHeaders(req, p.keys.Next()) + cfg.SetHeaders(req, p.keys.NextForContext(req.Context())) } } if cfg.HTTPClient != nil { @@ -123,7 +123,7 @@ func NewCompatibleProviderWithHTTPClient(apiKey string, httpClient *http.Client, clientCfg.Hooks = hooks p.client = llmclient.NewWithHTTPClient(httpClient, clientCfg, func(req *http.Request) { if cfg.SetHeaders != nil { - cfg.SetHeaders(req, p.keys.Next()) + cfg.SetHeaders(req, p.keys.NextForContext(req.Context())) } }) return p diff --git a/internal/providers/openai/realtime.go b/internal/providers/openai/realtime.go index 00cd1abde..2324fffb4 100644 --- a/internal/providers/openai/realtime.go +++ b/internal/providers/openai/realtime.go @@ -15,7 +15,7 @@ import ( // without extra config. Bearer auth is injected here and must never be logged. // A request carrying a CallID attaches to an existing WebRTC/SIP call as a // sideband channel instead of opening a fresh model session. -func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { +func (p *Provider) RealtimeTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { if req == nil { return nil, core.NewInvalidRequestError("model is required for realtime sessions", nil) } @@ -35,24 +35,24 @@ func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) // Note: the legacy "OpenAI-Beta: realtime=v1" header is intentionally NOT set. // The GA endpoint rejects it ("The Realtime Beta API is no longer supported"). - return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders(ctx)}, nil } // RealtimeCallTarget implements core.RealtimeCallProvider for OpenAI's WebRTC SDP // exchange (POST https://api.openai.com/v1/realtime/calls). The gateway appends // the model query parameter or session form field itself, so the target is the // bare calls endpoint. -func (p *Provider) RealtimeCallTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "calls") +func (p *Provider) RealtimeCallTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "calls") } // RealtimeClientSecretTarget implements core.RealtimeCallProvider for minting // ephemeral realtime client secrets (POST https://api.openai.com/v1/realtime/client_secrets). -func (p *Provider) RealtimeClientSecretTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "client_secrets") +func (p *Provider) RealtimeClientSecretTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "client_secrets") } -func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { +func (p *Provider) realtimeHTTPTarget(ctx context.Context, req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { if req == nil || strings.TrimSpace(req.Model) == "" { return nil, core.NewInvalidRequestError("model is required for realtime calls", nil) } @@ -60,14 +60,14 @@ func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string if err != nil { return nil, err } - return &core.RealtimeHTTPTarget{URL: target, Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeHTTPTarget{URL: target, Headers: p.realtimeAuthHeaders(ctx)}, nil } // realtimeAuthHeaders picks the next key in the rotation. A realtime session is // long-lived, so the key is chosen once per session rather than per event. -func (p *Provider) realtimeAuthHeaders() http.Header { +func (p *Provider) realtimeAuthHeaders(ctx context.Context) http.Header { headers := http.Header{} - if apiKey := p.keys.Next(); apiKey != "" { + if apiKey := p.keys.NextForContext(ctx); apiKey != "" { headers.Set("Authorization", "Bearer "+apiKey) } return headers diff --git a/internal/providers/openrouter/openrouter.go b/internal/providers/openrouter/openrouter.go index 7dde13bee..fce92fca6 100644 --- a/internal/providers/openrouter/openrouter.go +++ b/internal/providers/openrouter/openrouter.go @@ -81,6 +81,13 @@ func setHeaders(req *http.Request, apiKey string) { RequestIDHeader: "X-Client-Request-Id", ValidateRequestID: providers.IsValidClientRequestID, }) + // OpenRouter uses this value to keep a conversation on the same resolved + // model and provider endpoint from its first successful request, maximizing + // upstream prompt-cache reuse. GoModel's session detector already scopes + // user-supplied IDs before placing them in context. + if sessionID := strings.TrimSpace(core.SessionIDFromContext(req.Context())); sessionID != "" { + req.Header.Set("X-Session-Id", sessionID) + } } func envOrDefault(key, fallback string) string { diff --git a/internal/providers/openrouter/openrouter_test.go b/internal/providers/openrouter/openrouter_test.go index faa5edd33..0e09f93e5 100644 --- a/internal/providers/openrouter/openrouter_test.go +++ b/internal/providers/openrouter/openrouter_test.go @@ -55,6 +55,34 @@ func TestChatCompletion_AddsDefaultAttributionHeaders(t *testing.T) { } } +func TestChatCompletion_ForwardsGoModelSessionID(t *testing.T) { + var gotSessionID string + server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + gotSessionID = r.Header.Get("X-Session-Id") + w.Header().Set("Content-Type", "application/json") + _, _ = w.Write([]byte(`{ + "id":"chatcmpl-123","object":"chat.completion","created":1677652288, + "model":"openai/gpt-4o-mini", + "choices":[{"index":0,"message":{"role":"assistant","content":"hello"},"finish_reason":"stop"}] + }`)) + })) + defer server.Close() + + provider := NewWithHTTPClient("test-api-key", server.Client(), llmclient.Hooks{}) + provider.SetBaseURL(server.URL) + ctx := core.WithSessionID(context.Background(), "conversation-42") + _, err := provider.ChatCompletion(ctx, &core.ChatRequest{ + Model: "openai/gpt-4o-mini", + Messages: []core.Message{{Role: "user", Content: "hi"}}, + }) + if err != nil { + t.Fatalf("ChatCompletion() error = %v", err) + } + if gotSessionID != "conversation-42" { + t.Fatalf("X-Session-Id = %q, want conversation-42", gotSessionID) + } +} + func TestChatCompletion_UsesEnvOverridesForAttributionHeaders(t *testing.T) { t.Setenv("OPENROUTER_SITE_URL", "https://example.com") t.Setenv("OPENROUTER_APP_NAME", "Example App") diff --git a/internal/providers/provider_status.go b/internal/providers/provider_status.go index bbc39e479..20349da39 100644 --- a/internal/providers/provider_status.go +++ b/internal/providers/provider_status.go @@ -30,12 +30,13 @@ type SanitizedResilienceConfig struct { // SanitizedProviderConfig is the admin-safe provider configuration view. type SanitizedProviderConfig struct { - Name string `json:"name"` - Type string `json:"type"` - BaseURL string `json:"base_url,omitempty"` - APIVersion string `json:"api_version,omitempty"` - Models []string `json:"models,omitempty"` - Resilience SanitizedResilienceConfig `json:"resilience"` + Name string `json:"name"` + Type string `json:"type"` + BaseURL string `json:"base_url,omitempty"` + APIVersion string `json:"api_version,omitempty"` + Models []string `json:"models,omitempty"` + SessionStickyKeys bool `json:"session_sticky_keys"` + Resilience SanitizedResilienceConfig `json:"resilience"` } // ProviderRuntimeSnapshot describes runtime diagnostics for a configured provider. @@ -97,11 +98,12 @@ func SanitizeProviderConfigs(configs map[string]ProviderConfig) []SanitizedProvi } result = append(result, SanitizedProviderConfig{ - Name: strings.TrimSpace(name), - Type: strings.TrimSpace(cfg.Type), - BaseURL: strings.TrimSpace(cfg.BaseURL), - APIVersion: strings.TrimSpace(cfg.APIVersion), - Models: models, + Name: strings.TrimSpace(name), + Type: strings.TrimSpace(cfg.Type), + BaseURL: strings.TrimSpace(cfg.BaseURL), + APIVersion: strings.TrimSpace(cfg.APIVersion), + Models: models, + SessionStickyKeys: cfg.SessionStickyKeys, Resilience: SanitizedResilienceConfig{ Retry: SanitizedRetryConfig{ MaxRetries: cfg.Resilience.Retry.MaxRetries, diff --git a/internal/providers/xai/realtime.go b/internal/providers/xai/realtime.go index 32c829845..ce0b1505d 100644 --- a/internal/providers/xai/realtime.go +++ b/internal/providers/xai/realtime.go @@ -15,7 +15,7 @@ import ( // URL the same way. Bearer auth is injected here and must never be logged. // A request carrying a CallID attaches to an existing WebRTC call as a sideband // channel, mirroring OpenAI's attach shape. -func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { +func (p *Provider) RealtimeTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { if req == nil { return nil, core.NewInvalidRequestError("model is required for realtime sessions", nil) } @@ -33,24 +33,24 @@ func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) return nil, err } - return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeTarget{URL: endpoint, Headers: p.realtimeAuthHeaders(ctx)}, nil } // RealtimeCallTarget implements core.RealtimeCallProvider for xAI's WebRTC SDP // exchange (POST https://api.x.ai/v1/realtime/calls), which mirrors OpenAI's // shape. Note: xAI gates WebRTC calls per team; unauthorized accounts receive // an upstream 403 that is relayed as-is. -func (p *Provider) RealtimeCallTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "calls") +func (p *Provider) RealtimeCallTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "calls") } // RealtimeClientSecretTarget implements core.RealtimeCallProvider for minting // ephemeral realtime client secrets (POST https://api.x.ai/v1/realtime/client_secrets). -func (p *Provider) RealtimeClientSecretTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { - return p.realtimeHTTPTarget(req, "client_secrets") +func (p *Provider) RealtimeClientSecretTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeHTTPTarget, error) { + return p.realtimeHTTPTarget(ctx, req, "client_secrets") } -func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { +func (p *Provider) realtimeHTTPTarget(ctx context.Context, req *core.RealtimeRequest, endpoint string) (*core.RealtimeHTTPTarget, error) { if req == nil || strings.TrimSpace(req.Model) == "" { return nil, core.NewInvalidRequestError("model is required for realtime calls", nil) } @@ -58,12 +58,12 @@ func (p *Provider) realtimeHTTPTarget(req *core.RealtimeRequest, endpoint string if err != nil { return nil, err } - return &core.RealtimeHTTPTarget{URL: target, Headers: p.realtimeAuthHeaders()}, nil + return &core.RealtimeHTTPTarget{URL: target, Headers: p.realtimeAuthHeaders(ctx)}, nil } -func (p *Provider) realtimeAuthHeaders() http.Header { +func (p *Provider) realtimeAuthHeaders(ctx context.Context) http.Header { headers := http.Header{} - if apiKey := p.keys.Next(); apiKey != "" { + if apiKey := p.keys.NextForContext(ctx); apiKey != "" { headers.Set("Authorization", "Bearer "+apiKey) } return headers diff --git a/internal/providers/zai/realtime.go b/internal/providers/zai/realtime.go index fe1d7cd95..78cea561d 100644 --- a/internal/providers/zai/realtime.go +++ b/internal/providers/zai/realtime.go @@ -19,7 +19,7 @@ const realtimePath = "/api/paas/v4/realtime" // from the configured base URL while the path is pinned to realtimePath so chat // base variants like the Coding Plan endpoint still resolve correctly. Bearer // auth is injected here and must never be logged. -func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { +func (p *Provider) RealtimeTarget(ctx context.Context, req *core.RealtimeRequest) (*core.RealtimeTarget, error) { model := "" if req != nil { model = strings.TrimSpace(req.Model) @@ -34,7 +34,7 @@ func (p *Provider) RealtimeTarget(_ context.Context, req *core.RealtimeRequest) } headers := http.Header{} - if apiKey := p.keys.Next(); apiKey != "" { + if apiKey := p.keys.NextForContext(ctx); apiKey != "" { headers.Set("Authorization", "Bearer "+apiKey) } diff --git a/run/providers_test.go b/run/providers_test.go index 399b5a056..a53984b5c 100644 --- a/run/providers_test.go +++ b/run/providers_test.go @@ -29,7 +29,7 @@ func TestDefaultProviderFactoryCredentialForms(t *testing.T) { { // The plain shape every API-key provider derives. providerType: "openai", - fields: []string{"api_keys", "base_url", "models"}, + fields: []string{"api_keys", "base_url", "session_sticky_keys", "models"}, required: []string{"api_keys"}, absent: []string{"api_version", "vertex_project"}, }, @@ -37,13 +37,13 @@ func TestDefaultProviderFactoryCredentialForms(t *testing.T) { // A deployment URL is the provider, so it is required, and Azure // is the one type that takes an API version. providerType: "azure", - fields: []string{"api_keys", "base_url", "api_version", "models"}, + fields: []string{"api_keys", "base_url", "api_version", "session_sticky_keys", "models"}, required: []string{"api_keys", "base_url"}, }, { // Keyless: the endpoint is the whole configuration. providerType: "ollama", - fields: []string{"api_keys", "base_url", "models"}, + fields: []string{"api_keys", "base_url", "session_sticky_keys", "models"}, required: nil, }, { @@ -55,7 +55,7 @@ func TestDefaultProviderFactoryCredentialForms(t *testing.T) { { // Bearer token or AWS_BEARER_TOKEN_BEDROCK, plus a request shape. providerType: "bedrock-mantle", - fields: []string{"api_keys", "base_url", "api_mode", "models"}, + fields: []string{"api_keys", "base_url", "api_mode", "session_sticky_keys", "models"}, required: nil, options: map[string][]string{"api_mode": {"auto", "openai", "standard"}}, }, @@ -66,7 +66,7 @@ func TestDefaultProviderFactoryCredentialForms(t *testing.T) { fields: []string{ "api_keys", "backend", "base_url", "api_mode", "auth_type", "vertex_project", "vertex_location", "service_account_json", - "service_account_file", "service_account_json_base64", "gcp_scope", "models", + "service_account_file", "service_account_json_base64", "gcp_scope", "session_sticky_keys", "models", }, required: nil, options: map[string][]string{ @@ -133,7 +133,7 @@ func TestDefaultProviderFactoryCredentialForms(t *testing.T) { // credentialPayloadFields mirrors the upsert request's credential keys. var credentialPayloadFields = []string{ - "api_keys", "base_url", "api_version", "backend", "auth_type", "api_mode", + "api_keys", "session_sticky_keys", "base_url", "api_version", "backend", "auth_type", "api_mode", "vertex_project", "vertex_location", "service_account_file", "service_account_json", "service_account_json_base64", "gcp_scope", "models", } diff --git a/web/dashboard/src/pages/providers-config/ProviderCredentialField.svelte b/web/dashboard/src/pages/providers-config/ProviderCredentialField.svelte index ee085a82e..df037df00 100644 --- a/web/dashboard/src/pages/providers-config/ProviderCredentialField.svelte +++ b/web/dashboard/src/pages/providers-config/ProviderCredentialField.svelte @@ -87,6 +87,15 @@ {/each} + {:else if field.control === "checkbox"} + {:else if field.control === "textarea"} `),Mae=R(``),Nae=R(`
            `),Pae=R(``),Fae=R(` `),Iae=R(`
            `),Lae=R(`
            `);function Rae(e,t){E(t,!0);let n=O(()=>T9.formMode===`edit`);{let t=e=>{z(e,wae())},r=O(()=>I(n)?`Edit Guardrail`:`Create Guardrail`);R0(e,{get open(){return T9.formOpen},get title(){return I(r)},ariaLabel:`Guardrail editor`,get error(){return T9.error},get submitting(){return T9.formSubmitting},submitLabel:`Save Guardrail`,dialogClass:`settings-guardrails-editor guardrails-editor-wide`,onclose:()=>T9.closeForm(),onsubmit:()=>T9.submitForm(),headerHint:t,children:(e,t)=>{var r=Lae(),i=M(r);B0(i,{id:`guardrail-name`,label:`Name`,children:(e,t)=>{var r=Tae();$i(r),F(()=>{r.disabled=I(n),W(r,`data-modal-autofocus`,!I(n)||void 0)}),ca(r,()=>T9.form.name,e=>T9.form.name=e),z(e,r)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`guardrail-type`,label:`Type`,children:(e,t)=>{var r=Eae();H(r,21,()=>T9.types,e=>e.type,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).type)&&(n.value=(n.__value=I(t).type)??``)}),z(e,n)}),T(r);var i;Vi(r),F(()=>{r.disabled=I(n),i!==(i=T9.form.type)&&(r.value=(r.__value=T9.form.type)??``,Bi(r,T9.form.type))}),L(`change`,r,e=>T9.changeType(e.currentTarget.value)),z(e,r)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`guardrail-description`,label:`Description`,children:(e,t)=>{var r=Dae();$i(r),F(()=>W(r,`data-modal-autofocus`,I(n)?!0:void 0)),ca(r,()=>T9.form.description,e=>T9.form.description=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2),c=M(s);yQ(c,{copyId:`guardrail-user-path-help-copy`,label:`guardrail user path help`,text:`Only used for auxiliary rewrite (llm_based_altering) guardrails; ignored for other guardrail types.`,title:e=>{z(e,Oae())},$$slots:{title:!0}});var l=P(c,2);$i(l),T(s),H(P(s,2),17,()=>T9.typeFields(T9.form.type),e=>e.key,(e,t)=>{var n=Qr(),r=N(n),i=e=>{var n=Nae(),r=M(n);{let e=e=>{var n=kae(),r=M(n,!0);T(n),F(()=>{W(n,`for`,`guardrail-field-`+I(t).key),B(r,I(t).label)}),z(e,n)},n=O(()=>`guardrail-field-help-`+I(t).key),i=O(()=>I(t).label+` help`),a=O(()=>I(t).help||``);yQ(r,{get copyId(){return I(n)},get label(){return I(i)},get text(){return I(a)},title:e,$$slots:{title:!0}})}var i=P(r,2),a=e=>{var n=Aae();H(n,21,()=>I(t).options||[],e=>e.value,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n);var r;Vi(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),r!==(r=e)&&(n.value=(n.__value=e)??``,Bi(n,e))},[()=>T9.fieldValue(I(t))]),L(`change`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},o=e=>{var n=jae();mt(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},s=e=>{var n=Mae();$i(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`type`,I(t).input||`text`),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)};V(i,e=>{I(t).input===`select`?e(a):I(t).input===`textarea`?e(o,1):e(s,-1)}),T(n),z(e,n)},a=e=>{var n=Iae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).options||[],e=>I(t).key+`-`+e.value,(e,n)=>{var r=Pae(),i=M(r);$i(i);var a=P(i,2),o=M(a,!0);T(a),T(r),F(e=>{ta(i,e),B(o,I(n).label)},[()=>T9.arrayFieldSelected(I(t),I(n).value)]),L(`change`,i,e=>T9.toggleArrayFieldValue(I(t),I(n).value,e.currentTarget.checked)),z(e,r)}),T(a);var o=P(a,2),s=e=>{var n=Fae(),r=M(n,!0);T(n),F(()=>{W(n,`id`,`guardrail-field-help-`+I(t).key),B(r,I(t).help)}),z(e,n)};V(o,e=>{I(t).help&&e(s)}),T(n),F(()=>{W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),B(i,I(t).label)}),z(e,n)};V(r,e=>{I(t).input===`checkboxes`?e(a,-1):e(i)}),z(e,n)}),T(r),ca(l,()=>T9.form.user_path,e=>T9.form.user_path=e),z(e,r)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var zae=R(`

            Guardrails

            `),Bae=R(`
            Runtime guardrail execution is currently off because GUARDRAILS_ENABLED is disabled. You can still manage definitions here.
            `),Vae=R(`
            Guardrails feature is unavailable.
            `),Hae=R(`
            `),Uae=R(`

            Reusable Policy Objects

            Guardrail Library

            Store guardrails in the database, keep them hot in memory, and attach them to workflows by reference.

            Instances
            Types
            `);function Wae(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`guardrails`&&(QI.ensureLoaded(),T9.fetchPage())});var n=Uae(),r=M(n),i=M(r);yQ(M(i),{copyId:`guardrails-help-copy`,label:`guardrails help`,text:`Reusable policy objects stored in the database and kept hot in memory for workflow execution.`,title:e=>{z(e,zae())},$$slots:{title:!0}}),T(i),T(r);var a=P(r,2),o=P(M(a),2),s=M(o),c=P(M(s),2),l=M(c,!0);T(c),T(s);var u=P(s,2),d=P(M(u),2),f=M(d,!0);T(d),T(u),T(o),T(a);var p=P(a,2);uR(p,{});var m=P(p,2),h=e=>{z(e,Bae())},g=O(()=>!QI.guardrailsVisible());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{z(e,Vae())};V(_,e=>{!q.authError&&!T9.available&&e(v)});var y=P(_,2),b=e=>{var t=Hae(),n=M(t,!0);T(t),F(()=>B(n,T9.error)),z(e,t)};V(y,e=>{!q.authError&&T9.error&&!T9.formOpen&&e(b)});var x=P(y,2);Rae(x,{}),Cae(P(x,2),{}),T(n),F((e,t)=>{B(l,e),B(f,t)},[()=>FL(T9.guardrails.length),()=>FL(T9.types.length)]),z(e,n),D()}var Q=new class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get slugEdited(){return I(this.#c)}set slugEdited(e){A(this.#c,e,!0)}#l=k(!1);get advancedOpen(){return I(this.#l)}set advancedOpen(e){A(this.#l,e,!0)}#u=k(j(LX()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(``);get deletingName(){return I(this.#d)}set deletingName(e){A(this.#d,e,!0)}#f=k(``);get reconnectingName(){return I(this.#f)}set reconnectingName(e){A(this.#f,e,!0)}#p=k(!1);get catalogOpen(){return I(this.#p)}set catalogOpen(e){A(this.#p,e,!0)}#m=k(!1);get catalogLoading(){return I(this.#m)}set catalogLoading(e){A(this.#m,e,!0)}#h=k(``);get catalogError(){return I(this.#h)}set catalogError(e){A(this.#h,e,!0)}#g=k(j(RX()));get catalog(){return I(this.#g)}set catalog(e){A(this.#g,e,!0)}#_=O(()=>YX(this.servers,this.filter));get filtered(){return I(this.#_)}set filtered(e){A(this.#_,e)}async fetchServers(){if(await QI.ensureLoaded(),!QI.mcpVisible()){this.available=!1,this.servers=[],this.error=``,this.loading=!1;return}this.loading=!0,this.error=``;try{let e=await F1(`/admin/mcp-servers`,{label:`mcp servers`,errorFallback:`Failed to load MCP servers.`,unavailableStatuses:[503,404]});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.servers=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.servers=[],this.error=e.error;return}this.available=!0,this.servers=e.items}finally{this.loading=!1}}openCreate(){this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX(),this.formOpen=!0}openEdit(e){!e||e.managed||(this.formMode=`edit`,this.slugEdited=!0,this.advancedOpen=!1,this.error=``,this.form=XX(e),this.formOpen=!0)}closeForm(){this.formOpen=!1,this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX()}syncSlugFromName(){this.formMode===`create`&&!this.slugEdited&&(this.form.slug=GX(this.form.name))}markSlugEdited(){this.formMode===`create`&&(this.slugEdited=!0)}addHeader(){this.form.headers.push({name:``,value:``})}removeHeader(e){this.form.headers.splice(e,1)}async submitForm(){let e=ZX(this.form,this.formMode,this.servers);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/mcp-servers`,`PUT`,e.payload,{label:`save mcp server`,errorFallback:`Failed to save MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}DL.success(`MCP server "`+e.payload.name+`" saved.`),this.closeForm(),this.fetchServers()}finally{this.formSubmitting=!1}}async deleteServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.deletingName||e&&e.managed)&&confirm(`Delete MCP server "`+t+`"? Clients lose access to its tools immediately.`)){this.deletingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n),`DELETE`,void 0,{label:`delete mcp server`,errorFallback:`Failed to delete MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}DL.success(`MCP server "`+t+`" deleted.`),this.formOpen&&this.form.slug===n&&this.closeForm(),this.fetchServers()}finally{this.deletingName=``}}}async reconnectServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.reconnectingName)){this.reconnectingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n)+`/reconnect`,`POST`,void 0,{label:`reconnect mcp server`,errorFallback:`Failed to reconnect MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}let r=e.result.data,i=BX(r);i===`connected`?DL.success(`MCP server "`+t+`" reconnected.`):i===`disabled`?DL.success(`MCP server "`+t+`" is disabled; no connection was attempted.`):DL.error(`Reconnect attempted, but MCP server "`+t+`" is still `+i+`.`),r&&r.name?this.servers=(this.servers||[]).map(e=>zX(e)===zX(r)?r:e):this.fetchServers()}finally{this.reconnectingName=``}}}async openCatalog(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(n){this.catalogOpen=!0,this.catalogLoading=!0,this.catalogError=``,this.catalog={...RX(),server:n,status:BX(e)};try{let e=await qI(`/admin/mcp-servers/`+encodeURIComponent(n)+`/catalog`,{label:`mcp server catalog`});if(e.stale)return;if(e.status===503){this.available=!1,this.catalogError=`MCP server management is unavailable.`;return}if(e.status===404){this.catalogError=`MCP server "`+t+`" was not found.`;return}if(!e.ok){this.catalogError=e.status===401?`Authentication required.`:HI(e.data,`Failed to load MCP server catalog.`);return}this.catalog=QX(n,e.data)}catch(e){console.error(`Failed to load MCP server catalog:`,e),this.catalogError=`Failed to load MCP server catalog.`}finally{this.catalogLoading=!1}}}closeCatalog(){this.catalogOpen=!1,this.catalogLoading=!1,this.catalogError=``,this.catalog=RX()}},Gae=R(``),Kae=R(`

            `),qae=R(`
            `),Jae=R(`

            `),Yae=R(`
          • `),Xae=R(`

              `),Zae=R(`

              No tools listed — the server may still be connecting or degraded.

              `),D9=R(` `,1),Qae=R(``);function $ae(e,t){E(t,!0);let n=O(()=>eZ(Q.catalog));sL(e,{get open(){return Q.catalogOpen},variant:`editor`,onclose:()=>Q.closeCatalog(),children:(e,t)=>{var r=Qae(),i=M(r),a=M(i),o=P(M(a),2),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=M(l,!0);T(l),T(o),T(a),aL(P(a,2),{label:`Close MCP server catalog`,onclick:()=>Q.closeCatalog()}),T(i);var d=P(i,2),f=e=>{M1(e,{label:`Loading catalog...`})},p=e=>{var t=Gae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalogError)),z(e,t)},m=e=>{var t=D9(),r=N(t),i=e=>{var t=Kae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalog.instructions)),z(e,t)};V(r,e=>{Q.catalog.instructions&&e(i)});var a=P(r,2);H(a,17,()=>I(n),e=>e.key,(e,t)=>{var n=Xae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).items,e=>e.key,(e,t)=>{var n=Yae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=qae(),r=M(n,!0);T(n),F(()=>{W(n,`title`,`Exposed on the aggregated /mcp endpoint as `+I(t).aggregated),B(r,I(t).aggregated)}),z(e,n)};V(a,e=>{I(t).aggregated&&e(o)});var s=P(a,2),c=e=>{var n=Jae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(s,e=>{I(t).description&&e(c)}),T(n),F(()=>{W(r,`title`,I(t).aggregated||I(t).name),B(i,I(t).name)}),z(e,n)}),T(a),T(n),F(()=>B(i,I(t).title)),z(e,n)});var o=P(a,2),s=e=>{z(e,Zae())},c=O(()=>tZ(Q.catalog));V(o,e=>{I(c)&&e(s)}),z(e,t)};V(d,e=>{Q.catalogLoading?e(f):Q.catalogError?e(p,1):e(m,-1)});var h=P(d,2),g=M(h);T(h),T(r),F((e,t)=>{B(c,Q.catalog.server),U(l,1,`audit-status-badge ${e??``}`,`svelte-1xqrzco`),B(u,t)},[()=>VX(Q.catalog),()=>BX(Q.catalog)]),L(`click`,g,()=>Q.closeCatalog()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var eoe=R(`

              The display name can change. The slug is the stable client-facing identity.

              `),toe=R(` Human-readable and Unicode-friendly. You can change it later.`,1),noe=R(`Derived from the name. You may edit it before saving.`),roe=R(`Immutable because it is used in URLs, scope headers, and aggregated tool names.`),ioe=R(` `,1),aoe=R(` stdio servers are config-only: declare them in config.yaml under mcp.servers.`,1),ooe=R(``),soe=R(`
              `),coe=R(`
              Headers
              Sent only to the configured server origin. Saved values are shown as ***; leave *** unchanged to keep the stored value.
              Advanced settings Description, access rules, and timeout
              `,1);function loe(e,t){E(t,!0);{let t=e=>{z(e,eoe())},n=O(()=>Q.formMode===`edit`?`Edit MCP Server`:`Add MCP Server`);R0(e,{get open(){return Q.formOpen},get title(){return I(n)},ariaLabel:`MCP server editor`,get error(){return Q.error},get submitting(){return Q.formSubmitting},onclose:()=>Q.closeForm(),onsubmit:()=>Q.submitForm(),headerHint:t,children:(e,t)=>{var n=coe(),r=N(n);B0(r,{id:`mcp-server-name`,label:`Name`,children:(e,t)=>{var n=toe(),r=N(n);$i(r),Ge(2),L(`input`,r,()=>Q.syncSlugFromName()),ca(r,()=>Q.form.name,e=>Q.form.name=e),z(e,n)},$$slots:{default:!0}});var i=P(r,2);B0(i,{id:`mcp-server-slug`,label:`Slug`,children:(e,t)=>{var n=ioe(),r=N(n);$i(r);var i=P(r,2),a=e=>{z(e,noe())},o=e=>{z(e,roe())};V(i,e=>{Q.formMode===`create`?e(a):e(o,-1)}),F(()=>r.disabled=Q.formMode===`edit`),L(`input`,r,()=>Q.markSlugEdited()),ca(r,()=>Q.form.slug,e=>Q.form.slug=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`mcp-server-transport`,label:`Transport`,children:(e,t)=>{var n=aoe(),r=N(n),i=M(r);i.value=i.__value=`http`;var a=P(i);a.value=a.__value=`sse`,T(r),Ge(2),Hi(r,()=>Q.form.transport,e=>Q.form.transport=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`mcp-server-url`,label:`URL`,children:(e,t)=>{var n=ooe();$i(n),ca(n,()=>Q.form.url,e=>Q.form.url=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=P(M(s),2);H(c,21,()=>Q.form.headers,ai,(e,t,n)=>{var r=soe(),i=M(r);$i(i);var a=P(i,2);$i(a),P1(P(a,2),{label:`Remove header`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Q.removeHeader(n),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),ca(i,()=>I(t).name,e=>I(t).name=e),ca(a,()=>I(t).value,e=>I(t).value=e),z(e,r)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l),Ge(2),T(s);var d=P(s,2),f=M(d);R6(M(f),{get enabled(){return Q.form.enabled},label:`MCP server`,onclick:()=>Q.form.enabled=!Q.form.enabled}),T(f),T(d);var p=P(d,2),m=P(M(p),2),h=M(m),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=P(M(y),2);$i(b),T(y);var x=P(y,2),S=P(M(x),2);mt(S),W(S,`placeholder`,`/ -/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var uoe=R(`Config`),doe=R(`
              `),foe=R(`
              `),poe=R(`
              NameTransportEndpointStatusToolsEnabledActions
              `);function moe(e,t){E(t,!0);function n(e){return HX(e,e=>VI.formatTimestamp(e))}var r=poe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>zX(e),(e,t)=>{var r=foe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,uoe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=doe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>BX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);P1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);P1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===zX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===zX(I(t)));P1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===zX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===zX(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>zX(I(t)),()=>UX(I(t)),()=>UX(I(t)),()=>VX(I(t)),()=>n(I(t)),()=>BX(I(t)),()=>FL(I(t).tool_count||0),()=>WX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var hoe=R(`

              MCP Servers

              `),goe=R(``),_oe=R(`
              MCP server management is unavailable.
              `),voe=R(``),yoe=R(`
              `),boe=R(`

              No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

              `),xoe=R(`

              No MCP servers match your filter.

              `),Soe=R(`
              `);function Coe(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`mcp-servers`&&Q.fetchServers()});var n=Soe(),r=M(n),i=M(r);yQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,hoe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=goe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,_oe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=voe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=yoe(),n=M(t);L$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);loe(g,{});var _=P(g,2);$ae(_,{});var v=P(_,2),y=e=>{moe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,boe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,xoe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var O9=`api_keys`,k9=`session_sticky_keys`,woe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[O9]:{label:`API Keys`,control:`keys`,hint:`Identified sessions stay on one key by default, improving provider prompt-cache hits. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[k9]:{label:`Session-sticky API keys`,control:`checkbox`,hint:`Keep each identified conversation on one API key to preserve provider prompt-cache affinity. Turn off to rotate keys round-robin on every request.`},[woe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function Toe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],session_sticky_keys:!0,base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Eoe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Doe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Ooe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==O9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...Toe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var koe=new Set([`name`,`type`,`enabled`]);function Aoe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!koe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function joe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function Moe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Noe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Poe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Foe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Noe(e&&e.api_keys),session_sticky_keys:!e||e.session_sticky_keys!==!1,base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Ioe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Loe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Roe(e,t);n&&(i[t.name]=n)}return i}function Roe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Ioe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function zoe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=new Set;for(let t of[...r,...i])a.add(t.name),n[t.name]=I9(e,t.name);for(let t of Object.keys(M9)){if(a.has(t)||t===`session_sticky_keys`)continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case O9:return F9(e&&e.api_keys);case j9:return NL(e&&e.models);case k9:return!!(e&&e.session_sticky_keys);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Eoe(this.rows,this.filter)}get schema(){return Ooe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await F1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await F1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Foe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=Aoe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=HI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){cR.fetchModels(),cR.fetchCategories()}async submitForm(){let e=this.schema,t=Loe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=zoe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await I1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}DL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await I1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,fL.error=t.error;return}if(t.status===`error`){fL.error=t.error;return}DL.success(`Provider "`+e+`" deleted.`),fL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||fL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},Boe=R(`Config`),Voe=R(` `,1),Hoe=R(`
              `),Uoe=R(`
              NameTypeBase URLAuthModelsEnabledUpdatedActions
              `);function Woe(e,t){E(t,!0);var n=Uoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Hoe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,Boe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Voe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);P1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>joe(I(t)),()=>Moe(I(t)),()=>VI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Goe=R(``),Koe=R(`
              `),qoe=R(`
              `,1),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(``),Qoe=R(``),$oe=R(` `),ese=R(` `),tse=R(`
              `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=tse(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Goe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=qoe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Koe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),P1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Yoe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=Joe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`change`,a,o),la(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Zoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},_=e=>{var a=Qoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`checkbox`?e(h,2):t.field.control===`textarea`?e(g,3):e(_,-1)});var v=P(f,2),y=e=>{var t=$oe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},b=e=>{var r=ese(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(v,e=>{I(r)?e(y):t.field.hint&&e(b,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var nse=R(`

              The name is the stable identity used for routing and cannot change once created.

              `),rse=R(``),ise=R(` `),ase=R(`Determines which fields the gateway uses to build requests.`),ose=R(` `),sse=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),cse=R(`Immutable once created.`),lse=R(`

              Pick a type to configure its credentials — each provider type asks for different settings.

              `),use=R(`
              Advanced settings
              `),dse=R(`
              `,1);function fse(e,t){E(t,!0);let n=O(()=>Doe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Poe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,nse())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);R0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=dse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=rse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,ase())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ose(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,sse())},y=e=>{z(e,cse())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,lse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);R6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=use(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var pse=R(`

              Providers

              `),mse=R(``),hse=R(`
              Provider credential management is unavailable.
              `),gse=R(``),_se=R(`
              `),vse=R(`

              No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

              `),yse=R(`

              No providers match your filter.

              `),bse=R(`
              `);function xse(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`providers-config`&&$.fetchPage()});var n=bse(),r=M(n),i=M(r);yQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,pse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as +/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var uoe=R(`Config`),doe=R(`
              `),foe=R(`
              `),poe=R(`
              NameTransportEndpointStatusToolsEnabledActions
              `);function moe(e,t){E(t,!0);function n(e){return HX(e,e=>VI.formatTimestamp(e))}var r=poe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>zX(e),(e,t)=>{var r=foe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,uoe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=doe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>BX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);P1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);P1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===zX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===zX(I(t)));P1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===zX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===zX(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>zX(I(t)),()=>UX(I(t)),()=>UX(I(t)),()=>VX(I(t)),()=>n(I(t)),()=>BX(I(t)),()=>FL(I(t).tool_count||0),()=>WX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var hoe=R(`

              MCP Servers

              `),goe=R(``),_oe=R(`
              MCP server management is unavailable.
              `),voe=R(``),yoe=R(`
              `),boe=R(`

              No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

              `),xoe=R(`

              No MCP servers match your filter.

              `),Soe=R(`
              `);function Coe(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`mcp-servers`&&Q.fetchServers()});var n=Soe(),r=M(n),i=M(r);yQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,hoe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=goe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,_oe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=voe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=yoe(),n=M(t);L$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);loe(g,{});var _=P(g,2);$ae(_,{});var v=P(_,2),y=e=>{moe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,boe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,xoe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var O9=`api_keys`,k9=`session_sticky_keys`,woe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[O9]:{label:`API Keys`,control:`keys`,hint:`Identified sessions stay on one key by default, improving provider prompt-cache hits. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[k9]:{label:`Session-sticky API keys`,control:`checkbox`,hint:`Keep each identified conversation on one API key to preserve provider prompt-cache affinity. Turn off to rotate keys round-robin on every request.`},[woe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function Toe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],session_sticky_keys:!0,base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Eoe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Doe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Ooe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==O9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...Toe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var koe=new Set([`name`,`type`,`enabled`]);function Aoe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!koe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function joe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function Moe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Noe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Poe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Foe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Noe(e&&e.api_keys),session_sticky_keys:!e||e.session_sticky_keys!==!1,base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Ioe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Loe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Roe(e,t);n&&(i[t.name]=n)}return i}function Roe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Ioe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function zoe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=new Set;for(let o of[...r,...i])!t&&o.name===`session_sticky_keys`||(a.add(o.name),n[o.name]=I9(e,o.name));for(let t of Object.keys(M9)){if(a.has(t)||t===`session_sticky_keys`)continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case O9:return F9(e&&e.api_keys);case j9:return NL(e&&e.models);case k9:return!!(e&&e.session_sticky_keys);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Eoe(this.rows,this.filter)}get schema(){return Ooe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await F1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await F1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Foe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=Aoe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=HI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){cR.fetchModels(),cR.fetchCategories()}async submitForm(){let e=this.schema,t=Loe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=zoe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await I1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}DL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await I1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,fL.error=t.error;return}if(t.status===`error`){fL.error=t.error;return}DL.success(`Provider "`+e+`" deleted.`),fL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||fL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},Boe=R(`Config`),Voe=R(` `,1),Hoe=R(`
              `),Uoe=R(`
              NameTypeBase URLAuthModelsEnabledUpdatedActions
              `);function Woe(e,t){E(t,!0);var n=Uoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Hoe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,Boe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Voe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);P1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>joe(I(t)),()=>Moe(I(t)),()=>VI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Goe=R(``),Koe=R(`
              `),qoe=R(`
              `,1),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(``),Qoe=R(``),$oe=R(` `),ese=R(` `),tse=R(`
              `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=tse(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Goe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=qoe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Koe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),P1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Yoe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=Joe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`change`,a,o),la(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Zoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},_=e=>{var a=Qoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`checkbox`?e(h,2):t.field.control===`textarea`?e(g,3):e(_,-1)});var v=P(f,2),y=e=>{var t=$oe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},b=e=>{var r=ese(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(v,e=>{I(r)?e(y):t.field.hint&&e(b,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var nse=R(`

              The name is the stable identity used for routing and cannot change once created.

              `),rse=R(``),ise=R(` `),ase=R(`Determines which fields the gateway uses to build requests.`),ose=R(` `),sse=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),cse=R(`Immutable once created.`),lse=R(`

              Pick a type to configure its credentials — each provider type asks for different settings.

              `),use=R(`
              Advanced settings
              `),dse=R(`
              `,1);function fse(e,t){E(t,!0);let n=O(()=>Doe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Poe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,nse())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);R0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=dse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=rse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,ase())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ose(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,sse())},y=e=>{z(e,cse())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,lse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);R6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=use(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var pse=R(`

              Providers

              `),mse=R(``),hse=R(`
              Provider credential management is unavailable.
              `),gse=R(``),_se=R(`
              `),vse=R(`

              No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

              `),yse=R(`

              No providers match your filter.

              `),bse=R(`
              `);function xse(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`providers-config`&&$.fetchPage()});var n=bse(),r=M(n),i=M(r);yQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,pse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as environment variables. Providers declared in config.yaml or env vars are read-only (Config badge) and cannot be edited or deleted from the dashboard. Keys are masked after saving.`))},$$slots:{title:!0,help:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=mse();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=$.formSubmitting),L(`click`,t,()=>$.openCreate()),z(e,t)};V(o,e=>{$.available&&!q.needsAuth&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,hse())};V(c,e=>{!$.available&&!q.needsAuth&&e(l)});var u=P(c,2),d=e=>{var t=gse(),n=M(t,!0);T(t),F(()=>B(n,$.error)),z(e,t)};V(u,e=>{$.error&&!q.needsAuth&&!$.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading providers...`})};V(f,e=>{$.loading&&!q.needsAuth&&e(p)});var m=P(f,2),h=e=>{var t=_se(),n=M(t);L$(M(n),{id:`provider-credential-filter`,placeholder:`Filter by name, type, or base URL...`,label:`Filter providers by name, type, or base URL`,get value(){return $.filter},set value(e){$.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{($.rows.length>0||$.filter)&&$.available&&!q.needsAuth&&e(h)});var g=P(m,2);fse(g,{});var _=P(g,2),v=e=>{Woe(e,{})};V(_,e=>{$.filteredRows.length>0&&$.available&&!q.needsAuth&&e(v)});var y=P(_,2),b=e=>{z(e,vse())};V(y,e=>{$.rows.length===0&&!$.filter&&!$.loading&&!q.needsAuth&&!$.error&&$.available&&e(b)});var x=P(y,2),S=e=>{z(e,yse())};V(x,e=>{$.rows.length>0&&$.filteredRows.length===0&&$.filter&&!$.loading&&!q.needsAuth&&$.available&&e(S)}),T(n),z(e,n),D()}Hr([`click`]);function R9(){return{name:``,description:``,user_path:``,labels:``,dashboard_access:!1,expires_at:``}}function z9(e){let t=[];for(let n of String(e||``).split(`,`)){let e=n.trim();e&&!t.includes(e)&&t.push(e)}return t}function B9(e){let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t;for(let e of n.split(`/`)){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function Sse(e){if(B9(e))return``;let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t,r=[];for(let e of n.split(`/`)){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function Cse(e){let t=e||{},n=String(t.name||``).trim();if(!n)return{error:`Name is required.`};let r=B9(t.user_path);if(r)return{error:r};let i=Sse(t.user_path),a=z9(t.labels),o={name:n,description:String(t.description||``).trim()||void 0,user_path:i||void 0,labels:a.length?a:void 0,dashboard_access:t.dashboard_access?!0:void 0};return t.expires_at&&(o.expires_at=t.expires_at+`T23:59:59Z`),{payload:o}}function V9(e,t=Date.now()){let n=e&&e.expires_at;if(!n)return!1;let r=Date.parse(n);return Number.isFinite(r)&&r<=t}function H9(e){return e?!!e.deactivated_at||e.enabled===!1:!1}function U9(e,t=Date.now()){return!e||e.active===!1||H9(e)?!1:!V9(e,t)}function wse(e){return[e.name,e.description,e.user_path,e.redacted_value,...e.labels||[]].filter(Boolean).join(` `).toLowerCase()}function Tse(e,t={}){let{query:n=``,showInactive:r=!1,now:i=Date.now()}=t,a=String(n||``).trim().toLowerCase();return(Array.isArray(e)?e:[]).filter(e=>!r&&!U9(e,i)?!1:!a||wse(e).includes(a))}function W9(e,t){return H9(e)?2:+!U9(e,t)}function G9(e){let t=e&&e.expires_at;if(!t)return 1/0;let n=Date.parse(t);return Number.isFinite(n)?n:1/0}function K9(e){let t=Date.parse(e&&e.deactivated_at||``);return Number.isFinite(t)?t:-1/0}function Ese(e,t=Date.now()){return(Array.isArray(e)?e.slice():[]).sort((e,n)=>{let r=W9(e,t),i=W9(n,t);if(r!==i)return r-i;let[a,o]=r===2?[K9(e),K9(n)]:[G9(e),G9(n)];return a===o?String(e.name||``).localeCompare(String(n.name||``)):a>o?-1:1})}function Dse(e,t=Date.now()){return(Array.isArray(e)?e:[]).reduce((e,n)=>e+ +!U9(n,t),0)}function q9(){return{open:!1,id:``,name:``,value:``,submitting:!1,error:``}}var J9=new class{#e=k(j([]));get keys(){return I(this.#e)}set keys(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get showInactive(){return I(this.#a)}set showInactive(e){A(this.#a,e,!0)}#o=O(()=>Ese(Tse(this.keys,{query:this.filter,showInactive:this.showInactive})));get visibleKeys(){return I(this.#o)}set visibleKeys(e){A(this.#o,e)}#s=O(()=>Dse(this.keys));get inactiveCount(){return I(this.#s)}set inactiveCount(e){A(this.#s,e)}#c=k(!1);get formOpen(){return I(this.#c)}set formOpen(e){A(this.#c,e,!0)}#l=k(!1);get formSubmitting(){return I(this.#l)}set formSubmitting(e){A(this.#l,e,!0)}#u=k(``);get issuedValue(){return I(this.#u)}set issuedValue(e){A(this.#u,e,!0)}#d=k(``);get deactivatingID(){return I(this.#d)}set deactivatingID(e){A(this.#d,e,!0)}#f=k(``);get dashboardAccessID(){return I(this.#f)}set dashboardAccessID(e){A(this.#f,e,!0)}#p=k(j(R9()));get form(){return I(this.#p)}set form(e){A(this.#p,e,!0)}#m=k(j(q9()));get labelsEditor(){return I(this.#m)}set labelsEditor(e){A(this.#m,e,!0)}copyState=F5({logPrefix:`Failed to copy auth key:`});async fetchKeys(){this.loading=!0,this.error=``;try{let e=await F1(`/admin/auth-keys`,{label:`auth keys`,errorFallback:`Unable to load API keys.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.keys=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.error=e.error;return}this.available=!0,this.keys=e.items}finally{this.loading=!1}}openForm(){this.formSubmitting||this.formOpen||(this.formOpen=!0,this.error=``,this.issuedValue||(this.copyState.reset(),this.form=R9()))}closeForm(){this.formOpen&&(this.formOpen=!1,this.error=``,this.copyState.reset(),!this.formSubmitting&&!this.issuedValue&&(this.form=R9()))}copyIssuedValue(){return this.copyState.copy(this.issuedValue)}dismissIssuedKey(){this.issuedValue=``,this.copyState.reset(),this.form=R9()}async submitForm(){let e=Cse(this.form);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/auth-keys`,`POST`,e.payload,{label:`create API key`,errorFallback:`Failed to create API key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error,t.result&&t.result.status!==401&&console.error(`Failed to create API key:`,t.result.status,this.error);return}let n=t.result.data||{};this.issuedValue=n.value||``,this.formOpen=!0,this.copyState.reset(),this.form=R9(),this.fetchKeys()}finally{this.formSubmitting=!1}}openLabelsEditor(e){!e||this.labelsEditor.submitting||(this.labelsEditor={open:!0,id:e.id,name:e.name||``,value:(e.labels||[]).join(`, `),submitting:!1,error:``})}closeLabelsEditor(){!this.labelsEditor.open||this.labelsEditor.submitting||(this.labelsEditor=q9())}async submitLabelsEditor(){let e=this.labelsEditor;if(!e.open||e.submitting||!e.id)return;e.submitting=!0,e.error=``;let t={labels:z9(e.value)};try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/labels`,`PUT`,t,{label:`update API key labels`,errorFallback:`Failed to update labels.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,e.error=n.error;return}if(n.status===`error`){e.error=n.error,n.result&&n.result.status!==401&&console.error(`Failed to update auth key labels:`,n.result.status,e.error);return}DL.success(`Labels updated for key "`+e.name+`".`),e.submitting=!1,this.closeLabelsEditor(),this.fetchKeys()}finally{e.submitting=!1}}async toggleDashboardAccess(e){if(!e||!e.active||this.dashboardAccessID)return;let t=!e.dashboard_access;this.dashboardAccessID=e.id;try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/dashboard-access`,`PUT`,{dashboard_access:t},{label:`update API key dashboard access`,errorFallback:`Failed to update dashboard access.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,DL.error(n.error);return}if(n.status===`error`){n.result&&n.result.status!==401&&console.error(`Failed to update auth key dashboard access:`,n.result.status,n.error),DL.error(n.error);return}DL.success(`Dashboard access `+(t?`granted to`:`revoked for`)+` key "`+e.name+`".`),this.fetchKeys()}finally{this.dashboardAccessID=``}}async deactivateKey(e){if(!(!e||!e.active)&&window.confirm(`Deactivate key "`+e.name+`"? This cannot be undone.`)){this.deactivatingID=e.id;try{let t=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/deactivate`,`POST`,void 0,{label:`deactivate API key`,errorFallback:`Failed to deactivate key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,DL.error(t.error);return}if(t.status===`error`){t.result&&t.result.status!==401&&console.error(`Failed to deactivate auth key:`,t.result.status,t.error),DL.error(t.error);return}DL.success(`Key "`+e.name+`" deactivated.`),this.fetchKeys()}finally{this.deactivatingID=``}}}},Ose=R(``),kse=R(`

              Store this key securely — it won’t be shown again.

              `),Ase=R(``),jse=R(``),Mse=R(``),Nse=R(``),Pse=R(`
              `);function Fse(e,t){E(t,!0);{let t=O(()=>J9.issuedValue?``:J9.error),n=O(()=>J9.issuedValue?`Done, I’ve stored it`:`Create API Key`),r=O(()=>J9.issuedValue?`check`:`plus`);R0(e,{get open(){return J9.formOpen},title:`Create API Key`,ariaLabel:`API key editor`,get error(){return I(t)},get submitting(){return J9.formSubmitting},get submitLabel(){return I(n)},submittingLabel:`Creating...`,get submitIcon(){return I(r)},cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeForm(),onsubmit:()=>J9.issuedValue?J9.dismissIssuedKey():J9.submitForm(),children:(e,t)=>{var n=Qr(),r=N(n),i=e=>{var t=kse(),n=P(M(t),2),r=M(n),i=M(r,!0);T(r),f9(P(r,2),{get state(){return J9.copyState},onclick:()=>J9.copyIssuedValue()}),T(n);var a=P(n,2),o=e=>{z(e,Ose())};V(a,e=>{J9.copyState.error&&e(o)}),T(t),F(()=>B(i,J9.issuedValue)),z(e,t)},a=e=>{var t=Pse(),n=M(t),r=M(n),i=P(M(r),2);$i(i),T(r);var a=P(r,2),o=P(M(a),2);$i(o),T(a),T(n);var s=P(n,2),c=M(s);yQ(c,{copyId:`auth-key-user-path-help-copy`,label:`API key user path help`,title:e=>{z(e,Ase())},help:e=>{Ge(),z(e,Zr(`When set, this key overrides the configured user path request diff --git a/internal/admin/dashboard/static/dist/index.html b/internal/admin/dashboard/static/dist/index.html index 939240d3e..54f5e2a64 100644 --- a/internal/admin/dashboard/static/dist/index.html +++ b/internal/admin/dashboard/static/dist/index.html @@ -7,7 +7,7 @@ GoModel Dashboard - + diff --git a/internal/anthropicapi/request.go b/internal/anthropicapi/request.go index b4fcfdd93..2caa02d0d 100644 --- a/internal/anthropicapi/request.go +++ b/internal/anthropicapi/request.go @@ -359,16 +359,27 @@ func systemContent(raw json.RawMessage) (core.MessageContent, error) { } func anthropicCacheControlExtra(raw json.RawMessage) (core.UnknownJSONFields, error) { + validated, err := validatedCacheControlJSON(raw) + if err != nil { + return core.UnknownJSONFields{}, err + } + if len(validated) == 0 { + return core.UnknownJSONFields{}, nil + } + return core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": validated, + }), nil +} + +func validatedCacheControlJSON(raw json.RawMessage) (json.RawMessage, error) { trimmed := bytes.TrimSpace(raw) if len(trimmed) == 0 || core.IsJSONNull(trimmed) { - return core.UnknownJSONFields{}, nil + return nil, nil } if trimmed[0] != '{' || !json.Valid(trimmed) { - return core.UnknownJSONFields{}, fmt.Errorf("cache_control must be an object") + return nil, fmt.Errorf("cache_control must be an object") } - return core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ - "cache_control": core.CloneRawJSON(trimmed), - }), nil + return core.CloneRawJSON(trimmed), nil } // toolResultText extracts the text payload of a tool_result block content, @@ -457,10 +468,11 @@ func convertTools(tools []Tool) ([]map[string]any, error) { function["parameters"] = schema } converted := map[string]any{"type": "function", "function": function} - if raw := bytes.TrimSpace(tool.CacheControl); len(raw) > 0 && !core.IsJSONNull(raw) { - if raw[0] != '{' || !json.Valid(raw) { - return nil, core.NewInvalidRequestError(fmt.Sprintf("tools[%d].cache_control must be an object", i), nil) - } + raw, err := validatedCacheControlJSON(tool.CacheControl) + if err != nil { + return nil, core.NewInvalidRequestError(fmt.Sprintf("tools[%d].%s", i, err), err) + } + if len(raw) > 0 { var cacheControl any if err := json.Unmarshal(raw, &cacheControl); err != nil { return nil, core.NewInvalidRequestError(fmt.Sprintf("tools[%d].cache_control: %v", i, err), err) diff --git a/internal/core/json_fields.go b/internal/core/json_fields.go index 69f67d991..c711823d6 100644 --- a/internal/core/json_fields.go +++ b/internal/core/json_fields.go @@ -252,6 +252,33 @@ func (fields UnknownJSONFields) IsEmpty() bool { return len(trimmed) == 0 || bytes.Equal(trimmed, []byte("{}")) } +// Without returns the fields without the named members. Other members, +// including duplicate unknown keys, retain their original JSON representation. +func (fields UnknownJSONFields) Without(keys ...string) UnknownJSONFields { + if fields.IsEmpty() || len(keys) == 0 { + return fields + } + skip := make(map[string]struct{}, len(keys)) + for _, key := range keys { + skip[key] = struct{}{} + } + + var buf bytes.Buffer + buf.Grow(len(fields.raw)) + buf.WriteByte('{') + wrote := false + if err := appendUnknownJSONMembers(&buf, fields.raw, skip, &wrote); err != nil { + // UnknownJSONFields can only be constructed from validated JSON. Retain the + // original value if an impossible malformed internal value reaches here. + return fields + } + buf.WriteByte('}') + if !wrote { + return UnknownJSONFields{} + } + return UnknownJSONFields{raw: buf.Bytes()} +} + // extractUnknownJSONFields captures the object's keys that are not in // knownFields, preserving their raw bytes for passthrough (Postel's Law). // diff --git a/internal/core/json_fields_test.go b/internal/core/json_fields_test.go index eaddd1788..57c0fd9c6 100644 --- a/internal/core/json_fields_test.go +++ b/internal/core/json_fields_test.go @@ -87,6 +87,27 @@ func TestUnknownJSONFieldsFromMap_EmptyRawValueEncodesAsNull(t *testing.T) { } } +func TestUnknownJSONFieldsWithoutRemovesOnlyNamedMembers(t *testing.T) { + fields, err := extractUnknownJSONFields( + []byte(`{"known":true,"cache_control":{"type":"ephemeral"},"x":1,"x":2}`), + "known", + ) + if err != nil { + t.Fatal(err) + } + + filtered := fields.Without("cache_control") + if got := filtered.Lookup("cache_control"); got != nil { + t.Fatalf("cache_control = %s, want removed", got) + } + if got := string(filtered.raw); got != `{"x":1,"x":2}` { + t.Fatalf("filtered raw = %s, want duplicate unrelated fields preserved", got) + } + if got := fields.Lookup("cache_control"); got == nil { + t.Fatal("original fields were mutated") + } +} + func TestMergeUnknownJSONFields_AddsAndOverrides(t *testing.T) { base := UnknownJSONFieldsFromMap(map[string]json.RawMessage{ "keep": json.RawMessage(`1`), diff --git a/internal/embedding/embedding.go b/internal/embedding/embedding.go index 1349d210e..e905bb7df 100644 --- a/internal/embedding/embedding.go +++ b/internal/embedding/embedding.go @@ -59,11 +59,15 @@ func NewEmbedder(cfg config.EmbedderConfig, resolvedProviders map[string]config. // APIKey leads APIKeys and is de-duplicated away when it repeats there, so // this works whether raw came from provider resolution (which normalizes // both fields) or was built by hand with only APIKey set. + sessionStickyKeys := raw.SessionStickyKeys == nil || *raw.SessionStickyKeys return &apiEmbedder{ endpointURL: endpointURL, - keys: providers.NewKeyring(append([]string{raw.APIKey}, raw.APIKeys...)...), - model: model, - httpClient: &http.Client{Timeout: defaultTimeout}, + keys: providers.NewKeyringWithSessionStickiness( + sessionStickyKeys, + append([]string{raw.APIKey}, raw.APIKeys...)..., + ), + model: model, + httpClient: &http.Client{Timeout: defaultTimeout}, }, nil } diff --git a/internal/embedding/embedding_test.go b/internal/embedding/embedding_test.go index d8368473a..484353b57 100644 --- a/internal/embedding/embedding_test.go +++ b/internal/embedding/embedding_test.go @@ -52,6 +52,36 @@ func TestNewEmbedder_APIEmbedder(t *testing.T) { } } +func TestNewEmbedder_HonorsSessionStickyKeysOptOut(t *testing.T) { + disabled := false + rawProviders := map[string]config.RawProviderConfig{ + "openai": { + Type: "openai", + APIKeys: []string{"key-1", "key-2"}, + BaseURL: "https://api.openai.com", + SessionStickyKeys: &disabled, + }, + } + emb, err := NewEmbedder(config.EmbedderConfig{Provider: "openai"}, rawProviders) + if err != nil { + t.Fatal(err) + } + defer emb.Close() + + ring := emb.(*apiEmbedder).keys + got := []string{ + ring.NextForSession("same-session"), + ring.NextForSession("same-session"), + ring.NextForSession("same-session"), + } + want := []string{"key-1", "key-2", "key-1"} + for i := range want { + if got[i] != want[i] { + t.Fatalf("key sequence = %v, want %v", got, want) + } + } +} + func TestNewEmbedder_GeminiUsesProviderBaseURL(t *testing.T) { const geminiOpenAICompat = "https://generativelanguage.googleapis.com/v1beta/openai" rawProviders := map[string]config.RawProviderConfig{ diff --git a/internal/providers/anthropic/request_translation.go b/internal/providers/anthropic/request_translation.go index a3b064125..464310d7e 100644 --- a/internal/providers/anthropic/request_translation.go +++ b/internal/providers/anthropic/request_translation.go @@ -569,19 +569,7 @@ func buildAnthropicSystemContent(content any) (any, error) { } func anthropicCacheControlFromExtra(extraFields core.UnknownJSONFields) (json.RawMessage, error) { - raw := extraFields.Lookup("cache_control") - if len(raw) == 0 { - return nil, nil - } - - trimmed := bytes.TrimSpace(raw) - if core.IsJSONNull(trimmed) { - return nil, nil - } - if trimmed[0] != '{' { - return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", nil) - } - return core.CloneRawJSON(trimmed), nil + return validatedAnthropicCacheControlJSON(extraFields.Lookup("cache_control")) } func anthropicCacheControlFromValue(value any) (json.RawMessage, error) { @@ -592,11 +580,15 @@ func anthropicCacheControlFromValue(value any) (json.RawMessage, error) { if err != nil { return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", err) } + return validatedAnthropicCacheControlJSON(raw) +} + +func validatedAnthropicCacheControlJSON(raw json.RawMessage) (json.RawMessage, error) { trimmed := bytes.TrimSpace(raw) if len(trimmed) == 0 || core.IsJSONNull(trimmed) { return nil, nil } - if trimmed[0] != '{' { + if trimmed[0] != '{' || !json.Valid(trimmed) { return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", nil) } return core.CloneRawJSON(trimmed), nil diff --git a/internal/providers/cache_control.go b/internal/providers/cache_control.go new file mode 100644 index 000000000..5645dfebb --- /dev/null +++ b/internal/providers/cache_control.go @@ -0,0 +1,116 @@ +package providers + +import ( + "slices" + "strings" + + "github.com/enterpilot/gomodel/internal/core" +) + +const anthropicCacheControlField = "cache_control" + +// adaptAnthropicCacheControl removes Anthropic-only cache directives after the +// route is known unless the selected provider accepts Anthropic request shapes. +// The caller's request remains unchanged. +func adaptAnthropicCacheControl(req *core.ChatRequest, providerType string) *core.ChatRequest { + if req == nil || providerAcceptsAnthropicCacheControl(providerType) || !hasAnthropicCacheControl(req) { + return req + } + + adapted := *req + adapted.ExtraFields = req.ExtraFields.Without(anthropicCacheControlField) + + adapted.Tools = make([]map[string]any, len(req.Tools)) + for i, tool := range req.Tools { + cloned := make(map[string]any, len(tool)) + for key, value := range tool { + if key != anthropicCacheControlField { + cloned[key] = value + } + } + adapted.Tools[i] = cloned + } + + adapted.Messages = make([]core.Message, len(req.Messages)) + for i, message := range req.Messages { + adapted.Messages[i] = withoutAnthropicMessageCacheControl(message) + } + return &adapted +} + +func providerAcceptsAnthropicCacheControl(providerType string) bool { + switch strings.ToLower(strings.TrimSpace(providerType)) { + case "anthropic", "openrouter": + return true + default: + return false + } +} + +func hasAnthropicCacheControl(req *core.ChatRequest) bool { + if len(req.ExtraFields.Lookup(anthropicCacheControlField)) > 0 { + return true + } + for _, tool := range req.Tools { + if _, ok := tool[anthropicCacheControlField]; ok { + return true + } + } + return slices.ContainsFunc(req.Messages, messageHasAnthropicCacheControl) +} + +func messageHasAnthropicCacheControl(message core.Message) bool { + if len(message.ExtraFields.Lookup(anthropicCacheControlField)) > 0 { + return true + } + for _, call := range message.ToolCalls { + if len(call.ExtraFields.Lookup(anthropicCacheControlField)) > 0 || + len(call.Function.ExtraFields.Lookup(anthropicCacheControlField)) > 0 { + return true + } + } + parts, ok := message.Content.([]core.ContentPart) + if !ok { + return false + } + for _, part := range parts { + if len(part.ExtraFields.Lookup(anthropicCacheControlField)) > 0 || + (part.ImageURL != nil && len(part.ImageURL.ExtraFields.Lookup(anthropicCacheControlField)) > 0) || + (part.InputAudio != nil && len(part.InputAudio.ExtraFields.Lookup(anthropicCacheControlField)) > 0) { + return true + } + } + return false +} + +func withoutAnthropicMessageCacheControl(message core.Message) core.Message { + message.ExtraFields = message.ExtraFields.Without(anthropicCacheControlField) + if message.ToolCalls != nil { + message.ToolCalls = append([]core.ToolCall(nil), message.ToolCalls...) + for i := range message.ToolCalls { + message.ToolCalls[i].ExtraFields = message.ToolCalls[i].ExtraFields.Without(anthropicCacheControlField) + message.ToolCalls[i].Function.ExtraFields = message.ToolCalls[i].Function.ExtraFields.Without(anthropicCacheControlField) + } + } + + parts, ok := message.Content.([]core.ContentPart) + if !ok { + return message + } + parts = append([]core.ContentPart(nil), parts...) + for i := range parts { + parts[i].ExtraFields = parts[i].ExtraFields.Without(anthropicCacheControlField) + if parts[i].ImageURL != nil { + image := *parts[i].ImageURL + image.ExtraFields = image.ExtraFields.Without(anthropicCacheControlField) + parts[i].ImageURL = &image + } + if parts[i].InputAudio != nil { + audio := *parts[i].InputAudio + audio.ExtraFields = audio.ExtraFields.Without(anthropicCacheControlField) + parts[i].InputAudio = &audio + } + } + message.Content = parts + return message +} diff --git a/internal/providers/keyring.go b/internal/providers/keyring.go index 40a6ad8c9..e4a4c30d1 100644 --- a/internal/providers/keyring.go +++ b/internal/providers/keyring.go @@ -3,6 +3,7 @@ package providers import ( "bytes" "context" + "crypto/hmac" "crypto/sha256" "sync/atomic" @@ -111,10 +112,11 @@ func (k *Keyring) NextForSession(sessionID string) string { } func rendezvousKeyScore(sessionID, key string) [sha256.Size]byte { - hash := sha256.New() + // The credential is the HMAC key, not password material being stored or + // verified. HMAC also makes that security boundary explicit to static + // analysis while retaining a deterministic, uniformly distributed score. + hash := hmac.New(sha256.New, []byte(key)) _, _ = hash.Write([]byte(sessionID)) - _, _ = hash.Write([]byte{0}) - _, _ = hash.Write([]byte(key)) var score [sha256.Size]byte copy(score[:], hash.Sum(nil)) return score diff --git a/internal/providers/openrouter/openrouter_test.go b/internal/providers/openrouter/openrouter_test.go index 0e09f93e5..d1f7feb4a 100644 --- a/internal/providers/openrouter/openrouter_test.go +++ b/internal/providers/openrouter/openrouter_test.go @@ -56,9 +56,9 @@ func TestChatCompletion_AddsDefaultAttributionHeaders(t *testing.T) { } func TestChatCompletion_ForwardsGoModelSessionID(t *testing.T) { - var gotSessionID string + gotSessionID := make(chan string, 1) server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - gotSessionID = r.Header.Get("X-Session-Id") + gotSessionID <- r.Header.Get("X-Session-Id") w.Header().Set("Content-Type", "application/json") _, _ = w.Write([]byte(`{ "id":"chatcmpl-123","object":"chat.completion","created":1677652288, @@ -78,8 +78,8 @@ func TestChatCompletion_ForwardsGoModelSessionID(t *testing.T) { if err != nil { t.Fatalf("ChatCompletion() error = %v", err) } - if gotSessionID != "conversation-42" { - t.Fatalf("X-Session-Id = %q, want conversation-42", gotSessionID) + if got := <-gotSessionID; got != "conversation-42" { + t.Fatalf("X-Session-Id = %q, want conversation-42", got) } } diff --git a/internal/providers/router.go b/internal/providers/router.go index 236b39465..03a72e584 100644 --- a/internal/providers/router.go +++ b/internal/providers/router.go @@ -548,11 +548,14 @@ func stampProvider[T any](resp T, providerType string) T { // Provider is gateway routing metadata on OpenAI-compatible request structs and // must be removed before dispatching to an upstream provider implementation. -func forwardChatRequest(req *core.ChatRequest, selector core.ModelSelector) *core.ChatRequest { +func (r *Router) forwardChatRequest(req *core.ChatRequest, selector core.ModelSelector) *core.ChatRequest { forwardReq := *req forwardReq.Model = selector.Model forwardReq.Provider = "" - return &forwardReq + if !hasAnthropicCacheControl(&forwardReq) { + return &forwardReq + } + return adaptAnthropicCacheControl(&forwardReq, r.GetProviderType(selector.QualifiedModel())) } func forwardResponsesRequest(req *core.ResponsesRequest, selector core.ModelSelector) *core.ResponsesRequest { @@ -622,7 +625,7 @@ func (r *Router) ChatCompletion(ctx context.Context, req *core.ChatRequest) (*co req.Model, req.Provider, func(selector core.ModelSelector) *core.ChatRequest { - return forwardChatRequest(req, selector) + return r.forwardChatRequest(req, selector) }, callChatCompletion, ) @@ -637,7 +640,7 @@ func (r *Router) StreamChatCompletion(ctx context.Context, req *core.ChatRequest req.Model, req.Provider, func(selector core.ModelSelector) *core.ChatRequest { - return forwardChatRequest(req, selector) + return r.forwardChatRequest(req, selector) }, func(ctx context.Context, provider core.Provider, forwardReq *core.ChatRequest) (io.ReadCloser, error) { return provider.StreamChatCompletion(ctx, forwardReq) diff --git a/internal/providers/router_test.go b/internal/providers/router_test.go index 3a7b3d5ce..8aa413802 100644 --- a/internal/providers/router_test.go +++ b/internal/providers/router_test.go @@ -560,6 +560,89 @@ func TestRouterChatCompletion_ProviderSelector(t *testing.T) { } } +func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing.T) { + cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": json.RawMessage(`{"type":"ephemeral"}`), + "x_keep": json.RawMessage(`true`), + }) + request := &core.ChatRequest{ + Model: "gpt-4o", + ExtraFields: cacheExtra, + Tools: []map[string]any{{ + "type": "function", + "function": map[string]any{"name": "lookup"}, + "cache_control": map[string]any{"type": "ephemeral"}, + }}, + Messages: []core.Message{{ + Role: "assistant", + ExtraFields: cacheExtra, + Content: []core.ContentPart{{ + Type: "text", + Text: "stable prefix", + ExtraFields: cacheExtra, + }}, + ToolCalls: []core.ToolCall{{ + ID: "tool-1", + Type: "function", + ExtraFields: cacheExtra, + Function: core.FunctionCall{ + Name: "lookup", + Arguments: `{}`, + ExtraFields: cacheExtra, + }, + }}, + }}, + } + + strict := &mockProvider{name: "strict", chatResponse: &core.ChatResponse{ID: "ok"}} + lookup := newMockLookup() + lookup.addModel("gpt-4o", strict, "openai") + router, _ := NewRouter(lookup) + if _, err := router.ChatCompletion(context.Background(), request); err != nil { + t.Fatal(err) + } + + forwarded := strict.lastChatReq + if forwarded == nil { + t.Fatal("strict provider did not receive a request") + } + assertNoCacheControl := func(label string, fields core.UnknownJSONFields) { + t.Helper() + if got := fields.Lookup("cache_control"); got != nil { + t.Errorf("%s cache_control = %s, want removed", label, got) + } + if got := string(fields.Lookup("x_keep")); got != "true" { + t.Errorf("%s x_keep = %s, want preserved", label, got) + } + } + assertNoCacheControl("request", forwarded.ExtraFields) + if _, exists := forwarded.Tools[0]["cache_control"]; exists { + t.Error("tool cache_control was forwarded to strict provider") + } + assertNoCacheControl("message", forwarded.Messages[0].ExtraFields) + part := forwarded.Messages[0].Content.([]core.ContentPart)[0] + assertNoCacheControl("content part", part.ExtraFields) + call := forwarded.Messages[0].ToolCalls[0] + assertNoCacheControl("tool call", call.ExtraFields) + assertNoCacheControl("function call", call.Function.ExtraFields) + + // Routing adaptation must never rewrite the canonical caller request. + if request.ExtraFields.Lookup("cache_control") == nil || request.Tools[0]["cache_control"] == nil { + t.Fatal("routing mutated the caller's request") + } +} + +func TestAdaptAnthropicCacheControl_PreservesSupportedProviders(t *testing.T) { + req := &core.ChatRequest{ExtraFields: core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": json.RawMessage(`{"type":"ephemeral"}`), + })} + for _, providerType := range []string{"anthropic", "openrouter"} { + if got := adaptAnthropicCacheControl(req, providerType); got != req { + t.Errorf("provider %q cloned or changed supported cache metadata", providerType) + } + } +} + func TestRouterChatCompletion_PrefixedModelSelector(t *testing.T) { westResp := &core.ChatResponse{ID: "west", Model: "gpt-4o"} west := &mockProvider{name: "openai-west", chatResponse: westResp} diff --git a/web/dashboard/src/pages/providers-config/providersConfigLogic.js b/web/dashboard/src/pages/providers-config/providersConfigLogic.js index 20aa4ca2a..f3cc866c6 100644 --- a/web/dashboard/src/pages/providers-config/providersConfigLogic.js +++ b/web/dashboard/src/pages/providers-config/providersConfigLogic.js @@ -450,6 +450,12 @@ export function buildProviderCredentialPayload(form, schema) { const { primary, advanced } = providerCredentialFormFields(schema); const rendered = new Set(); for (const field of [...primary, ...advanced]) { + // A missing schema is the compatibility fallback for gateways that predate + // this capability. Do not send the new toggle unless the gateway explicitly + // advertised it. + if (!schema && field.name === FIELD_SESSION_STICKY_KEYS) { + continue; + } rendered.add(field.name); payload[field.name] = providerCredentialPayloadValue(form, field.name); } diff --git a/web/dashboard/tests/providers-config.test.js b/web/dashboard/tests/providers-config.test.js index d2802992d..39a6f0f03 100644 --- a/web/dashboard/tests/providers-config.test.js +++ b/web/dashboard/tests/providers-config.test.js @@ -163,6 +163,7 @@ test("an unavailable schema falls back to sending every field", () => { const body = buildProviderCredentialPayload(form, null); assert.equal(body.vertex_project, "my-project"); assert.equal(body.api_version, ""); + assert.equal("session_sticky_keys" in body, false); }); test("payload preserves untouched masked API key positions on edit", () => { From ce1bbe3a8991cc64187b9e26c60858b87e725b97 Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Sat, 1 Aug 2026 13:18:40 +0200 Subject: [PATCH 3/7] feat(providers): configure session affinity from env --- .env.template | 9 ++++--- docs/features/session-keeping.mdx | 4 ++- docs/providers/key-rotation.mdx | 13 ++++++++++ internal/providers/config.go | 12 +++++++++ internal/providers/config_test.go | 41 +++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 5 deletions(-) diff --git a/.env.template b/.env.template index da67ca1a9..1605c1fc5 100644 --- a/.env.template +++ b/.env.template @@ -397,14 +397,15 @@ # Underscores in the suffix become hyphens in the provider name. # # Give ONE provider several API keys with _API_KEY_, numbered from 2. -# Requests then rotate across the keys round robin, which lifts the per-key rate -# limit. Works for any provider that authenticates with an API key. -# Caveat: rotation defeats provider prompt caching, because providers scope the -# cache to the key that filled it. Rotate to raise rate limits, not to cut cost. +# Identified sessions stay on one key by default to preserve provider prompt-cache +# affinity; sessionless traffic still rotates. Set +# [_SUFFIX]_SESSION_STICKY_KEYS=false to rotate every request instead. +# Works for any provider that authenticates with an API key. # OpenAI # OPENAI_API_KEY=sk-... # OPENAI_API_KEY_2=sk-... +# OPENAI_SESSION_STICKY_KEYS=false # OPENAI_BASE_URL=https://api.openai.com/v1 # Anthropic diff --git a/docs/features/session-keeping.mdx b/docs/features/session-keeping.mdx index 44b42d3d6..fe29a2af0 100644 --- a/docs/features/session-keeping.mdx +++ b/docs/features/session-keeping.mdx @@ -89,7 +89,9 @@ sessions expire after 6 hours. API-key affinity is deterministic rather than stored, so the same ordered key set selects the same key across replicas and restarts. Disable it per provider -with `session_sticky_keys: false` or the dashboard's **Session-sticky API keys** +with `session_sticky_keys: false`, +`[_SUFFIX]_SESSION_STICKY_KEYS=false`, or the dashboard's +**Session-sticky API keys** checkbox. Requests with no detected session remain round robin. ## Threaded audit logs diff --git a/docs/providers/key-rotation.mdx b/docs/providers/key-rotation.mdx index a13e51902..9dd8a6f54 100644 --- a/docs/providers/key-rotation.mdx +++ b/docs/providers/key-rotation.mdx @@ -55,6 +55,19 @@ providers: session_sticky_keys: false ``` +Environment-only provider instances use the same provider prefix and optional +suffix as their API keys: + +```bash +OPENAI_API_KEY=sk-primary +OPENAI_API_KEY_2=sk-secondary +OPENAI_SESSION_STICKY_KEYS=false + +OPENAI_EU_API_KEY=sk-eu-primary +OPENAI_EU_API_KEY_2=sk-eu-secondary +OPENAI_EU_SESSION_STICKY_KEYS=false +``` + The same setting is the **Session-sticky API keys** checkbox in the dashboard's provider editor. It is checked by default. diff --git a/internal/providers/config.go b/internal/providers/config.go index 939b70faf..a946f765f 100644 --- a/internal/providers/config.go +++ b/internal/providers/config.go @@ -142,6 +142,7 @@ const ( providerEnvFieldServiceAccountJSON providerEnvFieldServiceAccountJSONBase64 providerEnvFieldGCPScope + providerEnvFieldSessionStickyKeys ) type providerEnvSource struct { @@ -169,6 +170,7 @@ type providerEnvValues struct { ServiceAccountJSONBase64 string GCPScope string Models []string + SessionStickyKeys *bool } // apiKeys returns the ordered key set this env group declares: the unsuffixed @@ -234,6 +236,7 @@ func (v providerEnvValues) empty() bool { strings.TrimSpace(v.ServiceAccountJSON) == "" && strings.TrimSpace(v.ServiceAccountJSONBase64) == "" && strings.TrimSpace(v.GCPScope) == "" && + v.SessionStickyKeys == nil && len(v.Models) == 0 } @@ -300,6 +303,10 @@ func collectProviderEnvValues(prefix string, spec DiscoveryConfig, environ []str values.ServiceAccountJSONBase64 = value case providerEnvFieldGCPScope: values.GCPScope = value + case providerEnvFieldSessionStickyKeys: + if parsed, err := strconv.ParseBool(strings.TrimSpace(value)); err == nil { + values.SessionStickyKeys = &parsed + } } groups[suffix] = values } @@ -345,6 +352,7 @@ func parseProviderEnvKey(prefix, key string, spec DiscoveryConfig) (string, prov name string field providerEnvField }{ + {name: "SESSION_STICKY_KEYS", field: providerEnvFieldSessionStickyKeys}, {name: "API_VERSION", field: providerEnvFieldAPIVersion}, {name: "BASE_URL", field: providerEnvFieldBaseURL}, {name: "AUTH_TYPE", field: providerEnvFieldAuthType}, @@ -509,6 +517,7 @@ func (v providerEnvValues) rawConfig(providerType string, spec DiscoveryConfig) ServiceAccountJSONBase64: v.ServiceAccountJSONBase64, GCPScope: v.GCPScope, Models: rawProviderModelsFromIDs(v.Models), + SessionStickyKeys: v.SessionStickyKeys, } } @@ -563,6 +572,9 @@ func overlayProviderEnvValues(existing config.RawProviderConfig, values provider if values.GCPScope != "" { existing.GCPScope = values.GCPScope } + if values.SessionStickyKeys != nil { + existing.SessionStickyKeys = values.SessionStickyKeys + } if len(values.Models) > 0 { existing.Models = rawProviderModelsFromIDs(values.Models) } diff --git a/internal/providers/config_test.go b/internal/providers/config_test.go index e4eaf4173..db005ffa9 100644 --- a/internal/providers/config_test.go +++ b/internal/providers/config_test.go @@ -470,6 +470,47 @@ func TestApplyProviderEnvVars_DiscoversFromAPIKey(t *testing.T) { } } +func TestApplyProviderEnvVars_SessionStickyKeys(t *testing.T) { + t.Setenv("OPENAI_API_KEY", "sk-primary") + t.Setenv("OPENAI_API_KEY_2", "sk-secondary") + t.Setenv("OPENAI_SESSION_STICKY_KEYS", "false") + t.Setenv("OPENAI_EU_API_KEY", "sk-eu") + t.Setenv("OPENAI_EU_SESSION_STICKY_KEYS", "true") + + got := applyProviderEnvVars(map[string]config.RawProviderConfig{}, testDiscoveryConfigs) + if sticky := got["openai"].SessionStickyKeys; sticky == nil || *sticky { + t.Fatalf("openai SessionStickyKeys = %v, want false", sticky) + } + if sticky := got["openai-eu"].SessionStickyKeys; sticky == nil || !*sticky { + t.Fatalf("openai-eu SessionStickyKeys = %v, want true", sticky) + } +} + +func TestApplyProviderEnvVars_SessionStickyKeysOverridesYAML(t *testing.T) { + disabled := false + t.Setenv("OPENAI_API_KEY", "sk-env") + t.Setenv("OPENAI_SESSION_STICKY_KEYS", "true") + raw := map[string]config.RawProviderConfig{ + "openai": {Type: "openai", APIKey: "sk-yaml", SessionStickyKeys: &disabled}, + } + + got := applyProviderEnvVars(raw, testDiscoveryConfigs) + sticky := got["openai"].SessionStickyKeys + if sticky == nil || !*sticky { + t.Fatalf("SessionStickyKeys = %v, want env override true", sticky) + } +} + +func TestApplyProviderEnvVars_IgnoresInvalidSessionStickyKeys(t *testing.T) { + t.Setenv("OPENAI_API_KEY", "sk-env") + t.Setenv("OPENAI_SESSION_STICKY_KEYS", "sometimes") + + got := applyProviderEnvVars(map[string]config.RawProviderConfig{}, testDiscoveryConfigs) + if sticky := got["openai"].SessionStickyKeys; sticky != nil { + t.Fatalf("SessionStickyKeys = %v, want invalid value ignored", *sticky) + } +} + func TestApplyProviderEnvVars_DiscoversFromBaseURL(t *testing.T) { t.Setenv("OLLAMA_BASE_URL", "http://localhost:11434/v1") From c53f173d7a5b0d0c829f4f1389ab1419da649c8c Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Sat, 1 Aug 2026 14:13:34 +0200 Subject: [PATCH 4/7] fix(providers): close prompt cache affinity review gaps --- .../{index-BdnxAytg.js => index-JMeVIzuZ.js} | 2 +- .../admin/dashboard/static/dist/index.html | 2 +- internal/anthropicapi/request.go | 9 +- internal/core/json_fields.go | 13 ++ internal/core/json_fields_test.go | 27 +++ internal/embedding/embedding_test.go | 79 ++++++--- .../anthropic/request_translation.go | 9 +- internal/providers/config_test.go | 95 ++++++---- internal/providers/router_test.go | 164 +++++++++++------- .../providers-config/providersConfigLogic.js | 5 +- web/dashboard/tests/providers-config.test.js | 13 ++ 11 files changed, 281 insertions(+), 137 deletions(-) rename internal/admin/dashboard/static/dist/assets/{index-BdnxAytg.js => index-JMeVIzuZ.js} (98%) diff --git a/internal/admin/dashboard/static/dist/assets/index-BdnxAytg.js b/internal/admin/dashboard/static/dist/assets/index-JMeVIzuZ.js similarity index 98% rename from internal/admin/dashboard/static/dist/assets/index-BdnxAytg.js rename to internal/admin/dashboard/static/dist/assets/index-JMeVIzuZ.js index fbb636cfc..40ba6dbbe 100644 --- a/internal/admin/dashboard/static/dist/assets/index-BdnxAytg.js +++ b/internal/admin/dashboard/static/dist/assets/index-JMeVIzuZ.js @@ -54,7 +54,7 @@ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],en intentionally avoided after creation.

              `),Tae=R(``),E9=R(``),Eae=R(``),Dae=R(``),Oae=R(``),kae=R(``),Aae=R(``),jae=R(``),Mae=R(``),Nae=R(`
              `),Pae=R(``),Fae=R(` `),Iae=R(`
              `),Lae=R(`
              `);function Rae(e,t){E(t,!0);let n=O(()=>T9.formMode===`edit`);{let t=e=>{z(e,wae())},r=O(()=>I(n)?`Edit Guardrail`:`Create Guardrail`);R0(e,{get open(){return T9.formOpen},get title(){return I(r)},ariaLabel:`Guardrail editor`,get error(){return T9.error},get submitting(){return T9.formSubmitting},submitLabel:`Save Guardrail`,dialogClass:`settings-guardrails-editor guardrails-editor-wide`,onclose:()=>T9.closeForm(),onsubmit:()=>T9.submitForm(),headerHint:t,children:(e,t)=>{var r=Lae(),i=M(r);B0(i,{id:`guardrail-name`,label:`Name`,children:(e,t)=>{var r=Tae();$i(r),F(()=>{r.disabled=I(n),W(r,`data-modal-autofocus`,!I(n)||void 0)}),ca(r,()=>T9.form.name,e=>T9.form.name=e),z(e,r)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`guardrail-type`,label:`Type`,children:(e,t)=>{var r=Eae();H(r,21,()=>T9.types,e=>e.type,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).type)&&(n.value=(n.__value=I(t).type)??``)}),z(e,n)}),T(r);var i;Vi(r),F(()=>{r.disabled=I(n),i!==(i=T9.form.type)&&(r.value=(r.__value=T9.form.type)??``,Bi(r,T9.form.type))}),L(`change`,r,e=>T9.changeType(e.currentTarget.value)),z(e,r)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`guardrail-description`,label:`Description`,children:(e,t)=>{var r=Dae();$i(r),F(()=>W(r,`data-modal-autofocus`,I(n)?!0:void 0)),ca(r,()=>T9.form.description,e=>T9.form.description=e),z(e,r)},$$slots:{default:!0}});var s=P(o,2),c=M(s);yQ(c,{copyId:`guardrail-user-path-help-copy`,label:`guardrail user path help`,text:`Only used for auxiliary rewrite (llm_based_altering) guardrails; ignored for other guardrail types.`,title:e=>{z(e,Oae())},$$slots:{title:!0}});var l=P(c,2);$i(l),T(s),H(P(s,2),17,()=>T9.typeFields(T9.form.type),e=>e.key,(e,t)=>{var n=Qr(),r=N(n),i=e=>{var n=Nae(),r=M(n);{let e=e=>{var n=kae(),r=M(n,!0);T(n),F(()=>{W(n,`for`,`guardrail-field-`+I(t).key),B(r,I(t).label)}),z(e,n)},n=O(()=>`guardrail-field-help-`+I(t).key),i=O(()=>I(t).label+` help`),a=O(()=>I(t).help||``);yQ(r,{get copyId(){return I(n)},get label(){return I(i)},get text(){return I(a)},title:e,$$slots:{title:!0}})}var i=P(r,2),a=e=>{var n=Aae();H(n,21,()=>I(t).options||[],e=>e.value,(e,t)=>{var n=E9(),r=M(n,!0);T(n);var i={};F(()=>{B(r,I(t).label),i!==(i=I(t).value)&&(n.value=(n.__value=I(t).value)??``)}),z(e,n)}),T(n);var r;Vi(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),r!==(r=e)&&(n.value=(n.__value=e)??``,Bi(n,e))},[()=>T9.fieldValue(I(t))]),L(`change`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},o=e=>{var n=jae();mt(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)},s=e=>{var n=Mae();$i(n),F(e=>{W(n,`id`,`guardrail-field-`+I(t).key),W(n,`type`,I(t).input||`text`),W(n,`placeholder`,I(t).placeholder||``),ea(n,e),W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0)},[()=>T9.fieldValue(I(t))]),L(`input`,n,e=>T9.setFieldValue(I(t),e.currentTarget.value)),z(e,n)};V(i,e=>{I(t).input===`select`?e(a):I(t).input===`textarea`?e(o,1):e(s,-1)}),T(n),z(e,n)},a=e=>{var n=Iae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).options||[],e=>I(t).key+`-`+e.value,(e,n)=>{var r=Pae(),i=M(r);$i(i);var a=P(i,2),o=M(a,!0);T(a),T(r),F(e=>{ta(i,e),B(o,I(n).label)},[()=>T9.arrayFieldSelected(I(t),I(n).value)]),L(`change`,i,e=>T9.toggleArrayFieldValue(I(t),I(n).value,e.currentTarget.checked)),z(e,r)}),T(a);var o=P(a,2),s=e=>{var n=Fae(),r=M(n,!0);T(n),F(()=>{W(n,`id`,`guardrail-field-help-`+I(t).key),B(r,I(t).help)}),z(e,n)};V(o,e=>{I(t).help&&e(s)}),T(n),F(()=>{W(n,`aria-describedby`,I(t).help?`guardrail-field-help-`+I(t).key:void 0),B(i,I(t).label)}),z(e,n)};V(r,e=>{I(t).input===`checkboxes`?e(a,-1):e(i)}),z(e,n)}),T(r),ca(l,()=>T9.form.user_path,e=>T9.form.user_path=e),z(e,r)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var zae=R(`

              Guardrails

              `),Bae=R(`
              Runtime guardrail execution is currently off because GUARDRAILS_ENABLED is disabled. You can still manage definitions here.
              `),Vae=R(`
              Guardrails feature is unavailable.
              `),Hae=R(`
              `),Uae=R(`

              Reusable Policy Objects

              Guardrail Library

              Store guardrails in the database, keep them hot in memory, and attach them to workflows by reference.

              Instances
              Types
              `);function Wae(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`guardrails`&&(QI.ensureLoaded(),T9.fetchPage())});var n=Uae(),r=M(n),i=M(r);yQ(M(i),{copyId:`guardrails-help-copy`,label:`guardrails help`,text:`Reusable policy objects stored in the database and kept hot in memory for workflow execution.`,title:e=>{z(e,zae())},$$slots:{title:!0}}),T(i),T(r);var a=P(r,2),o=P(M(a),2),s=M(o),c=P(M(s),2),l=M(c,!0);T(c),T(s);var u=P(s,2),d=P(M(u),2),f=M(d,!0);T(d),T(u),T(o),T(a);var p=P(a,2);uR(p,{});var m=P(p,2),h=e=>{z(e,Bae())},g=O(()=>!QI.guardrailsVisible());V(m,e=>{I(g)&&e(h)});var _=P(m,2),v=e=>{z(e,Vae())};V(_,e=>{!q.authError&&!T9.available&&e(v)});var y=P(_,2),b=e=>{var t=Hae(),n=M(t,!0);T(t),F(()=>B(n,T9.error)),z(e,t)};V(y,e=>{!q.authError&&T9.error&&!T9.formOpen&&e(b)});var x=P(y,2);Rae(x,{}),Cae(P(x,2),{}),T(n),F((e,t)=>{B(l,e),B(f,t)},[()=>FL(T9.guardrails.length),()=>FL(T9.types.length)]),z(e,n),D()}var Q=new class{#e=k(j([]));get servers(){return I(this.#e)}set servers(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get slugEdited(){return I(this.#c)}set slugEdited(e){A(this.#c,e,!0)}#l=k(!1);get advancedOpen(){return I(this.#l)}set advancedOpen(e){A(this.#l,e,!0)}#u=k(j(LX()));get form(){return I(this.#u)}set form(e){A(this.#u,e,!0)}#d=k(``);get deletingName(){return I(this.#d)}set deletingName(e){A(this.#d,e,!0)}#f=k(``);get reconnectingName(){return I(this.#f)}set reconnectingName(e){A(this.#f,e,!0)}#p=k(!1);get catalogOpen(){return I(this.#p)}set catalogOpen(e){A(this.#p,e,!0)}#m=k(!1);get catalogLoading(){return I(this.#m)}set catalogLoading(e){A(this.#m,e,!0)}#h=k(``);get catalogError(){return I(this.#h)}set catalogError(e){A(this.#h,e,!0)}#g=k(j(RX()));get catalog(){return I(this.#g)}set catalog(e){A(this.#g,e,!0)}#_=O(()=>YX(this.servers,this.filter));get filtered(){return I(this.#_)}set filtered(e){A(this.#_,e)}async fetchServers(){if(await QI.ensureLoaded(),!QI.mcpVisible()){this.available=!1,this.servers=[],this.error=``,this.loading=!1;return}this.loading=!0,this.error=``;try{let e=await F1(`/admin/mcp-servers`,{label:`mcp servers`,errorFallback:`Failed to load MCP servers.`,unavailableStatuses:[503,404]});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.servers=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.servers=[],this.error=e.error;return}this.available=!0,this.servers=e.items}finally{this.loading=!1}}openCreate(){this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX(),this.formOpen=!0}openEdit(e){!e||e.managed||(this.formMode=`edit`,this.slugEdited=!0,this.advancedOpen=!1,this.error=``,this.form=XX(e),this.formOpen=!0)}closeForm(){this.formOpen=!1,this.formMode=`create`,this.slugEdited=!1,this.advancedOpen=!1,this.error=``,this.form=LX()}syncSlugFromName(){this.formMode===`create`&&!this.slugEdited&&(this.form.slug=GX(this.form.name))}markSlugEdited(){this.formMode===`create`&&(this.slugEdited=!0)}addHeader(){this.form.headers.push({name:``,value:``})}removeHeader(e){this.form.headers.splice(e,1)}async submitForm(){let e=ZX(this.form,this.formMode,this.servers);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/mcp-servers`,`PUT`,e.payload,{label:`save mcp server`,errorFallback:`Failed to save MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error;return}DL.success(`MCP server "`+e.payload.name+`" saved.`),this.closeForm(),this.fetchServers()}finally{this.formSubmitting=!1}}async deleteServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.deletingName||e&&e.managed)&&confirm(`Delete MCP server "`+t+`"? Clients lose access to its tools immediately.`)){this.deletingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n),`DELETE`,void 0,{label:`delete mcp server`,errorFallback:`Failed to delete MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}DL.success(`MCP server "`+t+`" deleted.`),this.formOpen&&this.form.slug===n&&this.closeForm(),this.fetchServers()}finally{this.deletingName=``}}}async reconnectServer(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(!(!n||this.reconnectingName)){this.reconnectingName=n;try{let e=await I1(`/admin/mcp-servers/`+encodeURIComponent(n)+`/reconnect`,`POST`,void 0,{label:`reconnect mcp server`,errorFallback:`Failed to reconnect MCP server.`,unavailableMessage:`MCP server management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,DL.error(e.error);return}if(e.status===`error`){DL.error(e.error);return}let r=e.result.data,i=BX(r);i===`connected`?DL.success(`MCP server "`+t+`" reconnected.`):i===`disabled`?DL.success(`MCP server "`+t+`" is disabled; no connection was attempted.`):DL.error(`Reconnect attempted, but MCP server "`+t+`" is still `+i+`.`),r&&r.name?this.servers=(this.servers||[]).map(e=>zX(e)===zX(r)?r:e):this.fetchServers()}finally{this.reconnectingName=``}}}async openCatalog(e){let t=String(e&&e.name||``).trim(),n=zX(e);if(n){this.catalogOpen=!0,this.catalogLoading=!0,this.catalogError=``,this.catalog={...RX(),server:n,status:BX(e)};try{let e=await qI(`/admin/mcp-servers/`+encodeURIComponent(n)+`/catalog`,{label:`mcp server catalog`});if(e.stale)return;if(e.status===503){this.available=!1,this.catalogError=`MCP server management is unavailable.`;return}if(e.status===404){this.catalogError=`MCP server "`+t+`" was not found.`;return}if(!e.ok){this.catalogError=e.status===401?`Authentication required.`:HI(e.data,`Failed to load MCP server catalog.`);return}this.catalog=QX(n,e.data)}catch(e){console.error(`Failed to load MCP server catalog:`,e),this.catalogError=`Failed to load MCP server catalog.`}finally{this.catalogLoading=!1}}}closeCatalog(){this.catalogOpen=!1,this.catalogLoading=!1,this.catalogError=``,this.catalog=RX()}},Gae=R(``),Kae=R(`

              `),qae=R(`
              `),Jae=R(`

              `),Yae=R(`
            • `),Xae=R(`

                `),Zae=R(`

                No tools listed — the server may still be connecting or degraded.

                `),D9=R(` `,1),Qae=R(``);function $ae(e,t){E(t,!0);let n=O(()=>eZ(Q.catalog));sL(e,{get open(){return Q.catalogOpen},variant:`editor`,onclose:()=>Q.closeCatalog(),children:(e,t)=>{var r=Qae(),i=M(r),a=M(i),o=P(M(a),2),s=M(o),c=M(s,!0);T(s);var l=P(s,2),u=M(l,!0);T(l),T(o),T(a),aL(P(a,2),{label:`Close MCP server catalog`,onclick:()=>Q.closeCatalog()}),T(i);var d=P(i,2),f=e=>{M1(e,{label:`Loading catalog...`})},p=e=>{var t=Gae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalogError)),z(e,t)},m=e=>{var t=D9(),r=N(t),i=e=>{var t=Kae(),n=M(t,!0);T(t),F(()=>B(n,Q.catalog.instructions)),z(e,t)};V(r,e=>{Q.catalog.instructions&&e(i)});var a=P(r,2);H(a,17,()=>I(n),e=>e.key,(e,t)=>{var n=Xae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2);H(a,21,()=>I(t).items,e=>e.key,(e,t)=>{var n=Yae(),r=M(n),i=M(r,!0);T(r);var a=P(r,2),o=e=>{var n=qae(),r=M(n,!0);T(n),F(()=>{W(n,`title`,`Exposed on the aggregated /mcp endpoint as `+I(t).aggregated),B(r,I(t).aggregated)}),z(e,n)};V(a,e=>{I(t).aggregated&&e(o)});var s=P(a,2),c=e=>{var n=Jae(),r=M(n,!0);T(n),F(()=>B(r,I(t).description)),z(e,n)};V(s,e=>{I(t).description&&e(c)}),T(n),F(()=>{W(r,`title`,I(t).aggregated||I(t).name),B(i,I(t).name)}),z(e,n)}),T(a),T(n),F(()=>B(i,I(t).title)),z(e,n)});var o=P(a,2),s=e=>{z(e,Zae())},c=O(()=>tZ(Q.catalog));V(o,e=>{I(c)&&e(s)}),z(e,t)};V(d,e=>{Q.catalogLoading?e(f):Q.catalogError?e(p,1):e(m,-1)});var h=P(d,2),g=M(h);T(h),T(r),F((e,t)=>{B(c,Q.catalog.server),U(l,1,`audit-status-badge ${e??``}`,`svelte-1xqrzco`),B(u,t)},[()=>VX(Q.catalog),()=>BX(Q.catalog)]),L(`click`,g,()=>Q.closeCatalog()),z(e,r)},$$slots:{default:!0}}),D()}Hr([`click`]);var eoe=R(`

                The display name can change. The slug is the stable client-facing identity.

                `),toe=R(` Human-readable and Unicode-friendly. You can change it later.`,1),noe=R(`Derived from the name. You may edit it before saving.`),roe=R(`Immutable because it is used in URLs, scope headers, and aggregated tool names.`),ioe=R(` `,1),aoe=R(` stdio servers are config-only: declare them in config.yaml under mcp.servers.`,1),ooe=R(``),soe=R(`
                `),coe=R(`
                Headers
                Sent only to the configured server origin. Saved values are shown as ***; leave *** unchanged to keep the stored value.
                Advanced settings Description, access rules, and timeout
                `,1);function loe(e,t){E(t,!0);{let t=e=>{z(e,eoe())},n=O(()=>Q.formMode===`edit`?`Edit MCP Server`:`Add MCP Server`);R0(e,{get open(){return Q.formOpen},get title(){return I(n)},ariaLabel:`MCP server editor`,get error(){return Q.error},get submitting(){return Q.formSubmitting},onclose:()=>Q.closeForm(),onsubmit:()=>Q.submitForm(),headerHint:t,children:(e,t)=>{var n=coe(),r=N(n);B0(r,{id:`mcp-server-name`,label:`Name`,children:(e,t)=>{var n=toe(),r=N(n);$i(r),Ge(2),L(`input`,r,()=>Q.syncSlugFromName()),ca(r,()=>Q.form.name,e=>Q.form.name=e),z(e,n)},$$slots:{default:!0}});var i=P(r,2);B0(i,{id:`mcp-server-slug`,label:`Slug`,children:(e,t)=>{var n=ioe(),r=N(n);$i(r);var i=P(r,2),a=e=>{z(e,noe())},o=e=>{z(e,roe())};V(i,e=>{Q.formMode===`create`?e(a):e(o,-1)}),F(()=>r.disabled=Q.formMode===`edit`),L(`input`,r,()=>Q.markSlugEdited()),ca(r,()=>Q.form.slug,e=>Q.form.slug=e),z(e,n)},$$slots:{default:!0}});var a=P(i,2);B0(a,{id:`mcp-server-transport`,label:`Transport`,children:(e,t)=>{var n=aoe(),r=N(n),i=M(r);i.value=i.__value=`http`;var a=P(i);a.value=a.__value=`sse`,T(r),Ge(2),Hi(r,()=>Q.form.transport,e=>Q.form.transport=e),z(e,n)},$$slots:{default:!0}});var o=P(a,2);B0(o,{id:`mcp-server-url`,label:`URL`,children:(e,t)=>{var n=ooe();$i(n),ca(n,()=>Q.form.url,e=>Q.form.url=e),z(e,n)},$$slots:{default:!0}});var s=P(o,2),c=P(M(s),2);H(c,21,()=>Q.form.headers,ai,(e,t,n)=>{var r=soe(),i=M(r);$i(i);var a=P(i,2);$i(a),P1(P(a,2),{label:`Remove header`,class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>Q.removeHeader(n),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(r),ca(i,()=>I(t).name,e=>I(t).name=e),ca(a,()=>I(t).value,e=>I(t).value=e),z(e,r)}),T(c);var l=P(c,2),u=M(l);K(M(u),{name:`plus`,class:`form-action-icon`}),Ge(2),T(u),T(l),Ge(2),T(s);var d=P(s,2),f=M(d);R6(M(f),{get enabled(){return Q.form.enabled},label:`MCP server`,onclick:()=>Q.form.enabled=!Q.form.enabled}),T(f),T(d);var p=P(d,2),m=P(M(p),2),h=M(m),g=P(M(h),2);$i(g),T(h);var _=P(h,2),v=P(M(_),2);$i(v),T(_);var y=P(_,2),b=P(M(y),2);$i(b),T(y);var x=P(y,2),S=P(M(x),2);mt(S),W(S,`placeholder`,`/ -/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var uoe=R(`Config`),doe=R(`
                `),foe=R(`
                `),poe=R(`
                NameTransportEndpointStatusToolsEnabledActions
                `);function moe(e,t){E(t,!0);function n(e){return HX(e,e=>VI.formatTimestamp(e))}var r=poe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>zX(e),(e,t)=>{var r=foe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,uoe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=doe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>BX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);P1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);P1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===zX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===zX(I(t)));P1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===zX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===zX(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>zX(I(t)),()=>UX(I(t)),()=>UX(I(t)),()=>VX(I(t)),()=>n(I(t)),()=>BX(I(t)),()=>FL(I(t).tool_count||0),()=>WX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var hoe=R(`

                MCP Servers

                `),goe=R(``),_oe=R(`
                MCP server management is unavailable.
                `),voe=R(``),yoe=R(`
                `),boe=R(`

                No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

                `),xoe=R(`

                No MCP servers match your filter.

                `),Soe=R(`
                `);function Coe(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`mcp-servers`&&Q.fetchServers()});var n=Soe(),r=M(n),i=M(r);yQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,hoe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=goe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,_oe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=voe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=yoe(),n=M(t);L$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);loe(g,{});var _=P(g,2);$ae(_,{});var v=P(_,2),y=e=>{moe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,boe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,xoe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var O9=`api_keys`,k9=`session_sticky_keys`,woe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[O9]:{label:`API Keys`,control:`keys`,hint:`Identified sessions stay on one key by default, improving provider prompt-cache hits. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[k9]:{label:`Session-sticky API keys`,control:`checkbox`,hint:`Keep each identified conversation on one API key to preserve provider prompt-cache affinity. Turn off to rotate keys round-robin on every request.`},[woe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function Toe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],session_sticky_keys:!0,base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Eoe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Doe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Ooe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==O9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...Toe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var koe=new Set([`name`,`type`,`enabled`]);function Aoe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!koe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function joe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function Moe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Noe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Poe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Foe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Noe(e&&e.api_keys),session_sticky_keys:!e||e.session_sticky_keys!==!1,base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Ioe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Loe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Roe(e,t);n&&(i[t.name]=n)}return i}function Roe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Ioe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function zoe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=new Set;for(let o of[...r,...i])!t&&o.name===`session_sticky_keys`||(a.add(o.name),n[o.name]=I9(e,o.name));for(let t of Object.keys(M9)){if(a.has(t)||t===`session_sticky_keys`)continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case O9:return F9(e&&e.api_keys);case j9:return NL(e&&e.models);case k9:return!!(e&&e.session_sticky_keys);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Eoe(this.rows,this.filter)}get schema(){return Ooe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await F1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await F1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Foe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=Aoe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=HI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){cR.fetchModels(),cR.fetchCategories()}async submitForm(){let e=this.schema,t=Loe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=zoe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await I1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}DL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await I1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,fL.error=t.error;return}if(t.status===`error`){fL.error=t.error;return}DL.success(`Provider "`+e+`" deleted.`),fL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||fL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},Boe=R(`Config`),Voe=R(` `,1),Hoe=R(`
                `),Uoe=R(`
                NameTypeBase URLAuthModelsEnabledUpdatedActions
                `);function Woe(e,t){E(t,!0);var n=Uoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Hoe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,Boe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Voe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);P1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>joe(I(t)),()=>Moe(I(t)),()=>VI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Goe=R(``),Koe=R(`
                `),qoe=R(`
                `,1),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(``),Qoe=R(``),$oe=R(` `),ese=R(` `),tse=R(`
                `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=tse(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Goe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=qoe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Koe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),P1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Yoe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=Joe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`change`,a,o),la(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Zoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},_=e=>{var a=Qoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`checkbox`?e(h,2):t.field.control===`textarea`?e(g,3):e(_,-1)});var v=P(f,2),y=e=>{var t=$oe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},b=e=>{var r=ese(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(v,e=>{I(r)?e(y):t.field.hint&&e(b,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var nse=R(`

                The name is the stable identity used for routing and cannot change once created.

                `),rse=R(``),ise=R(` `),ase=R(`Determines which fields the gateway uses to build requests.`),ose=R(` `),sse=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),cse=R(`Immutable once created.`),lse=R(`

                Pick a type to configure its credentials — each provider type asks for different settings.

                `),use=R(`
                Advanced settings
                `),dse=R(`
                `,1);function fse(e,t){E(t,!0);let n=O(()=>Doe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Poe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,nse())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);R0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=dse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=rse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,ase())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ose(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,sse())},y=e=>{z(e,cse())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,lse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);R6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=use(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var pse=R(`

                Providers

                `),mse=R(``),hse=R(`
                Provider credential management is unavailable.
                `),gse=R(``),_se=R(`
                `),vse=R(`

                No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

                `),yse=R(`

                No providers match your filter.

                `),bse=R(`
                `);function xse(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`providers-config`&&$.fetchPage()});var n=bse(),r=M(n),i=M(r);yQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,pse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as +/team/alpha`),T(x);var C=P(x,2),w=P(M(C),2);$i(w),T(C),T(m),T(p),F(()=>p.open=Q.advancedOpen),L(`click`,u,()=>Q.addHeader()),Vr(`toggle`,p,e=>Q.advancedOpen=e.currentTarget.open),ca(g,()=>Q.form.description,e=>Q.form.description=e),ca(v,()=>Q.form.allowed_tools,e=>Q.form.allowed_tools=e),ca(b,()=>Q.form.disallowed_tools,e=>Q.form.disallowed_tools=e),ca(S,()=>Q.form.user_paths,e=>Q.form.user_paths=e),ca(w,()=>Q.form.tool_timeout_seconds,e=>Q.form.tool_timeout_seconds=e),z(e,n)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`input`,`click`]);var uoe=R(`Config`),doe=R(`
                `),foe=R(`
                `),poe=R(`
                NameTransportEndpointStatusToolsEnabledActions
                `);function moe(e,t){E(t,!0);function n(e){return HX(e,e=>VI.formatTimestamp(e))}var r=poe(),i=M(r),a=P(M(i));H(a,21,()=>Q.filtered,e=>zX(e),(e,t)=>{var r=foe(),i=M(r),a=M(i),o=M(a,!0);T(a);var s=P(a,2),c=e=>{z(e,uoe())};V(s,e=>{I(t).managed&&e(c)});var l=P(s,2),u=M(l,!0);T(l),T(i);var d=P(i),f=M(d),p=M(f,!0);T(f),T(d);var m=P(d),h=M(m,!0);T(m);var g=P(m),_=M(g),v=M(_,!0);T(_);var y=P(_,2),b=e=>{var n=doe(),r=M(n,!0);T(n),F(()=>B(r,I(t).last_error)),z(e,n)},x=O(()=>BX(I(t))===`degraded`&&I(t).last_error);V(y,e=>{I(x)&&e(b)}),T(g);var S=P(g),C=M(S),w=M(C,!0);T(C);var ee=P(C,2),te=M(ee,!0);T(ee),T(S);var ne=P(S),re=M(ne),ie=M(re,!0);T(re),T(ne);var ae=P(ne),oe=M(ae),se=M(oe),ce=e=>{{let n=O(()=>`Edit MCP server `+I(t).name);P1(e,{get label(){return I(n)},class:`table-icon-btn`,onclick:()=>Q.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(se,e=>{I(t).managed||e(ce)});var le=P(se,2);{let e=O(()=>`Inspect catalog of MCP server `+I(t).name);P1(le,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.openCatalog(I(t)),children:(e,t)=>{K(e,{name:`list`,class:`form-action-icon`})},$$slots:{default:!0}})}var ue=P(le,2);{let e=O(()=>(Q.reconnectingName===zX(I(t))?`Reconnecting MCP server `:`Reconnect MCP server `)+I(t).name),n=O(()=>Q.reconnectingName===zX(I(t)));P1(ue,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>Q.reconnectServer(I(t)),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`refresh-cw`,class:`form-action-icon`})},$$slots:{default:!0}})}var de=P(ue,2),fe=e=>{{let n=O(()=>(Q.deletingName===zX(I(t))?`Deleting MCP server `:`Delete MCP server `)+I(t).name),r=O(()=>Q.deletingName===zX(I(t)));P1(e,{get label(){return I(n)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>Q.deleteServer(I(t)),get disabled(){return I(r)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}};V(de,e=>{I(t).managed||e(fe)}),T(oe),T(ae),T(r),F((e,n,r,i,a,s,c,l)=>{B(o,I(t).name),B(u,e),B(p,I(t).transport||`http`),W(m,`title`,n),B(h,r),U(_,1,`audit-status-badge ${i??``}`,`svelte-ah8nrt`),W(_,`title`,a),B(v,s),B(w,c),B(te,l),U(re,1,`auth-key-status-badge ${I(t).enabled?`auth-key-status-active`:`auth-key-status-inactive`}`),B(ie,I(t).enabled?`Enabled`:`Disabled`)},[()=>zX(I(t)),()=>UX(I(t)),()=>UX(I(t)),()=>VX(I(t)),()=>n(I(t)),()=>BX(I(t)),()=>FL(I(t).tool_count||0),()=>WX(I(t))]),z(e,r)}),T(a),T(i),T(r),z(e,r),D()}var hoe=R(`

                MCP Servers

                `),goe=R(``),_oe=R(`
                MCP server management is unavailable.
                `),voe=R(``),yoe=R(`
                `),boe=R(`

                No MCP servers yet. Add one here, or declare servers in config.yaml under mcp.servers.

                `),xoe=R(`

                No MCP servers match your filter.

                `),Soe=R(`
                `);function Coe(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`mcp-servers`&&Q.fetchServers()});var n=Soe(),r=M(n),i=M(r);yQ(M(i),{copyId:`mcp-servers-help-copy`,label:`MCP servers help`,text:`Upstream Model Context Protocol servers whose tools, prompts, and resources the gateway exposes to clients. Servers added here connect over HTTP or SSE; stdio servers and rows marked Config are declared in config.yaml under mcp.servers and are read-only in the dashboard. Saved header values are masked in API and dashboard responses.`,title:e=>{z(e,hoe())},$$slots:{title:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=goe();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=Q.formSubmitting),L(`click`,t,()=>Q.openCreate()),z(e,t)};V(o,e=>{Q.available&&!q.authError&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,_oe())};V(c,e=>{!Q.available&&!q.authError&&e(l)});var u=P(c,2),d=e=>{var t=voe(),n=M(t,!0);T(t),F(()=>B(n,Q.error)),z(e,t)};V(u,e=>{Q.error&&!q.authError&&!Q.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading MCP servers...`})};V(f,e=>{Q.loading&&!q.authError&&e(p)});var m=P(f,2),h=e=>{var t=yoe(),n=M(t);L$(M(n),{id:`mcp-server-filter`,placeholder:`Filter by name, slug, URL, transport, or status...`,label:`Filter MCP servers by name, slug, URL, transport, or status`,get value(){return Q.filter},set value(e){Q.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{(Q.servers.length>0||Q.filter)&&Q.available&&!q.authError&&e(h)});var g=P(m,2);loe(g,{});var _=P(g,2);$ae(_,{});var v=P(_,2),y=e=>{moe(e,{})};V(v,e=>{Q.filtered.length>0&&Q.available&&!q.authError&&e(y)});var b=P(v,2),x=e=>{z(e,boe())};V(b,e=>{Q.servers.length===0&&!Q.filter&&!Q.loading&&!q.authError&&!Q.error&&Q.available&&e(x)});var S=P(b,2),C=e=>{z(e,xoe())};V(S,e=>{Q.servers.length>0&&Q.filtered.length===0&&Q.filter&&!Q.loading&&!q.authError&&Q.available&&e(C)}),T(n),z(e,n),D()}Hr([`click`]);var O9=`api_keys`,k9=`session_sticky_keys`,woe=`base_url`,A9=`service_account_json`,j9=`models`,M9={[O9]:{label:`API Keys`,control:`keys`,hint:`Identified sessions stay on one key by default, improving provider prompt-cache hits. Saved values are shown as ***********; leave the asterisks unchanged to keep the stored key.`},[k9]:{label:`Session-sticky API keys`,control:`checkbox`,hint:`Keep each identified conversation on one API key to preserve provider prompt-cache affinity. Turn off to rotate keys round-robin on every request.`},[woe]:{label:`Base URL`,control:`text`},api_version:{label:`API Version`,control:`text`,placeholder:`e.g. 2024-10-01-preview`,hint:`Leave empty for the provider default. Realtime endpoints may need a newer version.`},backend:{label:`Backend`,control:`select`,hint:`Which Google surface to call. Vertex authenticates with Google credentials instead of an API key.`},auth_type:{label:`Auth Type`,control:`select`,hint:`How to obtain Google credentials. Leave on the default to use Application Default Credentials.`},api_mode:{label:`API Mode`,control:`select`,hint:`Which request shape to send upstream.`},vertex_project:{label:`Vertex Project`,control:`text`,placeholder:`my-gcp-project`},vertex_location:{label:`Vertex Location`,control:`text`,placeholder:`us-central1`},service_account_file:{label:`Service Account File`,control:`text`,placeholder:`/path/to/service-account.json`,hint:`Path readable by the gateway process.`},[A9]:{label:`Service Account JSON`,control:`textarea`,placeholder:`Paste service account JSON`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value, or clear it to remove.`},service_account_json_base64:{label:`Service Account JSON (base64)`,control:`text`,hint:`Saved values are shown as ***********; leave the asterisks unchanged to keep the stored value.`},gcp_scope:{label:`GCP Scope`,control:`text`,placeholder:`https://www.googleapis.com/auth/cloud-platform`},[j9]:{label:`Models (comma-separated)`,control:`text`,placeholder:`gpt-4o, gpt-4o-mini`,hint:`Leave empty to auto-discover models from the provider's /models endpoint where supported.`}};function Toe(e){return M9[e]||{label:String(e||``).split(`_`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `),control:`text`}}function N9(){return{name:``,type:``,api_keys:[],session_sticky_keys:!0,base_url:``,api_version:``,backend:``,auth_type:``,api_mode:``,vertex_project:``,vertex_location:``,service_account_file:``,service_account_json:``,service_account_json_base64:``,gcp_scope:``,models:``,enabled:!0}}function Eoe(e,t){let n=Array.isArray(e)?e:[];if(!t)return n;let r=String(t).toLowerCase();return n.filter(e=>[e.name,e.type,e.base_url].some(e=>String(e||``).toLowerCase().includes(r)))}function Doe(e,t){let n=(Array.isArray(e)?e:[]).map(e=>String(e&&e.type||``).trim()).filter(Boolean),r=String(t||``).trim();return r&&!n.includes(r)&&n.push(r),n}function Ooe(e,t){let n=String(t||``).trim();return n&&(Array.isArray(e)?e:[]).find(e=>String(e&&e.type||``).trim()===n)||null}function P9(e,t){let n=e&&Array.isArray(e.fields)&&e.fields.length>0?e.fields:Object.keys(M9).map(e=>({name:e,advanced:e!==O9})),r=t||e&&e.default_base_url||``,i=[],a=[];for(let e of n){let t=String(e&&e.name||``).trim();if(!t)continue;let n={...Toe(t),name:t,required:!!(e&&e.required),options:Array.isArray(e&&e.options)?e.options:[]};t===`base_url`&&r&&(n.placeholder=r,n.hint=`Defaults to `+r),n.options.length>0&&(n.control=`select`),(e&&e.advanced?a:i).push(n)}return{primary:i,advanced:a}}var koe=new Set([`name`,`type`,`enabled`]);function Aoe(e,t){let n=new Set([...t.primary||[],...t.advanced||[]].map(e=>e.name)),r=N9(),i={...e};for(let e of Object.keys(r))!koe.has(e)&&!n.has(e)&&(i[e]=r[e]);return i}function joe(e){let t=Array.isArray(e&&e.api_keys)?e.api_keys.length:0;return t>0?t+` key`+(t===1?``:`s`):String(e&&e.service_account_json||``).trim()||String(e&&e.service_account_json_base64||``).trim()||String(e&&e.service_account_file||``).trim()?`service account`:String(e&&e.vertex_project||``).trim()?`ADC`:`keyless`}function Moe(e){let t=Array.isArray(e&&e.models)?e.models:[];return t.length===0?`auto-discovered`:t.length+` model`+(t.length===1?``:`s`)}function Noe(e){return(Array.isArray(e)?e:[]).map(e=>({value:String(e||``)}))}function F9(e){return(Array.isArray(e)?e:[]).map(e=>String(e&&e.value||``))}function Poe(e,t){let n=String(t||``).trim();if(!n)return``;let r=new Set((Array.isArray(e)?e:[]).map(e=>String(e&&e.name||``).trim()));if(!r.has(n))return n;let i=1;for(;r.has(n+`-`+i);)i+=1;return n+`-`+i}function Foe(e){return{name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),api_keys:Noe(e&&e.api_keys),session_sticky_keys:!e||e.session_sticky_keys!==!1,base_url:String(e&&e.base_url||``),api_version:String(e&&e.api_version||``),backend:String(e&&e.backend||``),auth_type:String(e&&e.auth_type||``),api_mode:String(e&&e.api_mode||``),vertex_project:String(e&&e.vertex_project||``),vertex_location:String(e&&e.vertex_location||``),service_account_file:String(e&&e.service_account_file||``),service_account_json:String(e&&e.service_account_json||``),service_account_json_base64:String(e&&e.service_account_json_base64||``),gcp_scope:String(e&&e.gcp_scope||``),models:(Array.isArray(e&&e.models)?e.models:[]).join(`, `),enabled:!e||e.enabled!==!1}}function Ioe(e){let t=String(e||``).trim();return t.length>=3&&/^\*+$/.test(t)}function Loe(e,t,n,r){let i={},a=String(e&&e.name||``).trim();String(e&&e.type||``).trim()||(i.type=`Select a provider type.`),a?a.includes(`/`)?i.name=`Name cannot contain '/' — it separates the provider from the model.`:t===`create`&&(Array.isArray(n)?n:[]).some(e=>String(e&&e.name||``).trim()===a)&&(i.name=`Provider "`+a+`" already exists.`):i.name=`Name is required.`;let{primary:o,advanced:s}=P9(r);for(let t of[...o,...s]){let n=Roe(e,t);n&&(i[t.name]=n)}return i}function Roe(e,t){if(t.name===`api_keys`){let n=F9(e&&e.api_keys);return t.required&&!n.some(e=>e.trim())?`At least one API key is required for this provider type.`:n.some(e=>!e.trim())?`Remove the empty row instead of leaving a key blank.`:``}let n=String(e&&e[t.name]||``).trim();if(t.required&&!n)return t.label+` is required for this provider type.`;if(!n)return``;if(t.name===`base_url`&&!n.includes(`://`)&&/[./]/.test(n))return`Include the scheme, e.g. https://`+n;if(t.name===`service_account_json`&&!Ioe(n))try{JSON.parse(n)}catch{return`Paste the service account JSON file's contents — this is not valid JSON.`}return``}function zoe(e,t){let n={name:String(e&&e.name||``).trim(),type:String(e&&e.type||``).trim(),enabled:!!(e&&e.enabled)},{primary:r,advanced:i}=P9(t),a=!!(t&&Array.isArray(t.fields)&&t.fields.length>0),o=new Set;for(let t of[...r,...i])!a&&t.name===`session_sticky_keys`||(o.add(t.name),n[t.name]=I9(e,t.name));for(let t of Object.keys(M9)){if(o.has(t)||t===`session_sticky_keys`)continue;let r=I9(e,t);(Array.isArray(r)?r.length>0:String(r).trim()!==``)&&(n[t]=r)}return n}function I9(e,t){switch(t){case O9:return F9(e&&e.api_keys);case j9:return NL(e&&e.models);case k9:return!!(e&&e.session_sticky_keys);case A9:return e&&e.service_account_json||``;default:return String(e&&e[t]||``).trim()}}var $=new class{#e=k(j([]));get rows(){return I(this.#e)}set rows(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get formOpen(){return I(this.#a)}set formOpen(e){A(this.#a,e,!0)}#o=k(!1);get formSubmitting(){return I(this.#o)}set formSubmitting(e){A(this.#o,e,!0)}#s=k(`create`);get formMode(){return I(this.#s)}set formMode(e){A(this.#s,e,!0)}#c=k(!1);get advancedOpen(){return I(this.#c)}set advancedOpen(e){A(this.#c,e,!0)}#l=k(j(N9()));get form(){return I(this.#l)}set form(e){A(this.#l,e,!0)}#u=k(j({}));get fieldErrors(){return I(this.#u)}set fieldErrors(e){A(this.#u,e,!0)}#d=k(``);get focusField(){return I(this.#d)}set focusField(e){A(this.#d,e,!0)}#f=k(``);get deletingName(){return I(this.#f)}set deletingName(e){A(this.#f,e,!0)}#p=k(!1);get deleteSubmitting(){return I(this.#p)}set deleteSubmitting(e){A(this.#p,e,!0)}#m=k(j([]));get types(){return I(this.#m)}set types(e){A(this.#m,e,!0)}#h=k(!1);get typesLoaded(){return I(this.#h)}set typesLoaded(e){A(this.#h,e,!0)}#g=null;get filteredRows(){return Eoe(this.rows,this.filter)}get schema(){return Ooe(this.types,this.form.type)}get formFields(){if(!String(this.form.type||``).trim())return{primary:[],advanced:[]};let e=this.schema;return P9(e,e&&e.default_base_url)}async fetchTypes(){let e=await F1(`/admin/provider-credentials/types`,{label:`provider credential types`});e.status===`ok`&&(this.types=e.items,this.typesLoaded=!0)}async fetchPage(){this.#g&&this.#g.abort();let e=new AbortController;this.#g=e,this.loading=!0,this.error=``;try{let t=await F1(`/admin/provider-credentials`,{label:`provider credentials`,errorFallback:`Failed to load provider credentials.`,unavailableStatuses:[503,404],options:{signal:e.signal}});if(t.status===`stale`||e.signal.aborted)return;if(t.status===`unavailable`){this.available=!1,this.rows=[];return}if(t.status===`error`){t.result&&(this.available=!0),this.rows=[],this.error=t.error;return}this.available=!0,this.rows=t.items,this.typesLoaded||await this.fetchTypes()}finally{this.#g===e&&(this.#g=null,this.loading=!1)}}#_(e,t){this.formMode=e,this.form=t,this.advancedOpen=!1,this.error=``,this.fieldErrors={},this.focusField=``}openCreate(){this.#_(`create`,N9()),this.formOpen=!0,this.typesLoaded||this.fetchTypes()}openEdit(e){!e||e.managed||(this.#_(`edit`,Foe(e)),this.formOpen=!0,this.typesLoaded||this.fetchTypes())}closeForm(){this.formOpen=!1,this.#_(`create`,N9())}selectType(){this.fieldErrors={};let e=this.formFields;this.formMode===`create`&&(this.form=Aoe(this.form,e));let t=e.primary.find(e=>e.name===`api_keys`);t&&t.required&&this.form.api_keys.length===0&&(this.form.api_keys=[{value:``}])}clearFieldError(e){if(this.fieldErrors[e]===void 0)return;let{[e]:t,...n}=this.fieldErrors;this.fieldErrors=n}addApiKeyRow(){this.form.api_keys.push({value:``}),this.clearFieldError(`api_keys`)}removeApiKeyRow(e){this.form.api_keys.splice(e,1),this.clearFieldError(`api_keys`)}#v(e){let t=HI(e,`Failed to save provider credential.`),n=String(e&&e.error&&typeof e.error==`object`&&e.error.param||``).trim();if(n&&this.#y(n)){this.fieldErrors={...this.fieldErrors,[n]:t},this.error=``,this.#b();return}this.error=t}#y(e){if(e===`name`||e===`type`)return!0;let{primary:t,advanced:n}=this.formFields;return[...t,...n].some(t=>t.name===e)}#b(){let e=Object.keys(this.fieldErrors);if(e.length===0)return;let{primary:t,advanced:n}=this.formFields;n.some(t=>e.includes(t.name))&&(this.advancedOpen=!0);let r=[`type`,`name`,...t.map(e=>e.name),...n.map(e=>e.name)];this.focusField=r.find(t=>e.includes(t))||e[0]}#x(){cR.fetchModels(),cR.fetchCategories()}async submitForm(){let e=this.schema,t=Loe(this.form,this.formMode,this.rows,e);if(Object.keys(t).length>0){this.fieldErrors=t,this.error=``,this.#b();return}let n=zoe(this.form,e);this.error=``,this.fieldErrors={},this.formSubmitting=!0;try{let e=await I1(`/admin/provider-credentials`,`PUT`,n,{label:`save provider credential`,errorFallback:`Failed to save provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.error=e.error;return}if(e.status===`error`){e.result&&e.result.status!==401?this.#v(e.result.data):this.error=e.error;return}DL.success(`Provider "`+n.name+`" saved.`),this.closeForm(),this.#x(),this.fetchPage()}finally{this.formSubmitting=!1}}async performDelete(e){this.deleteSubmitting=!0,this.deletingName=e;try{let t=await I1(`/admin/provider-credentials/`+encodeURIComponent(e),`DELETE`,void 0,{label:`delete provider credential`,errorFallback:`Failed to delete provider credential.`,unavailableMessage:`Provider credential management is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,fL.error=t.error;return}if(t.status===`error`){fL.error=t.error;return}DL.success(`Provider "`+e+`" deleted.`),fL.close(),this.formOpen&&this.form.name===e&&this.closeForm(),this.#x(),this.fetchPage()}finally{this.deleteSubmitting=!1,this.deletingName=``}}requestDelete(e){let t=String(e||``).trim();if(!t||this.deleteSubmitting)return;let n=(this.rows||[]).find(e=>String(e&&e.name||``).trim()===t);n&&n.managed||fL.open({title:`Delete Provider`,titleId:`providerCredentialDeleteDialogTitle`,inputId:`provider-credential-delete-confirmation`,message:`Type "`+t+`" to permanently delete this provider credential. Requests routed to it will fail until it is reconfigured.`,requiredText:t,confirmLabel:`Delete Provider`,icon:`trash-2`,dialogClass:`budget-reset-dialog`,onConfirm:()=>this.performDelete(t)})}},Boe=R(`Config`),Voe=R(` `,1),Hoe=R(`
                `),Uoe=R(`
                NameTypeBase URLAuthModelsEnabledUpdatedActions
                `);function Woe(e,t){E(t,!0);var n=Uoe(),r=M(n),i=P(M(r));H(i,21,()=>$.filteredRows,e=>e.name,(e,t)=>{var n=Hoe(),r=M(n),i=M(r),a=M(i,!0);T(i);var o=P(i,2),s=e=>{z(e,Boe())};V(o,e=>{I(t).managed&&e(s)}),T(r);var c=P(r),l=M(c),u=M(l,!0);T(l),T(c);var d=P(c),f=M(d,!0);T(d);var p=P(d),m=M(p,!0);T(p);var h=P(p),g=M(h,!0);T(h);var _=P(h),v=M(_);let y;var b=M(v,!0);T(v),T(_);var x=P(_),S=M(x,!0);T(x);var C=P(x),w=M(C),ee=M(w),te=e=>{var n=Voe(),r=N(n);{let e=O(()=>`Edit provider `+I(t).name);P1(r,{get label(){return I(e)},class:`table-icon-btn`,onclick:()=>$.openEdit(I(t)),children:(e,t)=>{K(e,{name:`pencil`,class:`table-icon-svg`})},$$slots:{default:!0}})}var i=P(r,2);{let e=O(()=>($.deletingName===I(t).name?`Deleting provider `:`Delete provider `)+I(t).name),n=O(()=>$.deletingName===I(t).name);P1(i,{get label(){return I(e)},class:`table-action-btn-danger table-icon-btn`,onclick:()=>$.requestDelete(I(t).name),get disabled(){return I(n)},children:(e,t)=>{K(e,{name:`x`,class:`table-icon-svg`})},$$slots:{default:!0}})}z(e,n)};V(ee,e=>{I(t).managed||e(te)}),T(w),T(C),T(n),F((e,n,r)=>{B(a,I(t).name),B(u,I(t).type),W(d,`title`,I(t).base_url||``),B(f,I(t).base_url||`—`),B(m,e),B(g,n),y=U(v,1,`auth-key-status-badge`,null,y,{"auth-key-status-active":I(t).enabled,"auth-key-status-inactive":!I(t).enabled}),B(b,I(t).enabled?`Enabled`:`Disabled`),B(S,r)},[()=>joe(I(t)),()=>Moe(I(t)),()=>VI.formatTimestamp(I(t).updated_at)]),z(e,n)}),T(i),T(r),T(n),z(e,n),D()}var Goe=R(``),Koe=R(`
                `),qoe=R(`
                `,1),Joe=R(``),Yoe=R(``),Xoe=R(``),Zoe=R(``),Qoe=R(``),$oe=R(` `),ese=R(` `),tse=R(`
                `);function L9(e,t){E(t,!0);let n=O(()=>`provider-credential-`+t.field.name),r=O(()=>$.fieldErrors[t.field.name]||``),i=O(()=>I(r)?I(n)+`-error`:t.field.hint?I(n)+`-hint`:void 0),a=O(()=>{let e=String($.form[t.field.name]||``).trim();return!e||t.field.options.includes(e)?t.field.options:[...t.field.options,e]});function o(){$.clearFieldError(t.field.name)}var s=tse(),c=M(s),l=M(c),u=P(l),d=e=>{z(e,Goe())};V(u,e=>{t.field.required&&e(d)}),T(c);var f=P(c,2),p=e=>{var t=qoe(),a=N(t);H(a,21,()=>$.form.api_keys,ai,(e,t,a)=>{var s=Koe(),c=M(s);$i(c),W(c,`aria-label`,`API key `+(a+1)),P1(P(c,2),{label:`Remove API key `+(a+1),class:`table-action-btn-danger table-icon-btn vm-target-remove`,onclick:()=>$.removeApiKeyRow(a),children:(e,t)=>{K(e,{name:`trash-2`,class:`table-icon-svg`})},$$slots:{default:!0}}),T(s),F(()=>{W(c,`id`,a===0?I(n):I(n)+`-`+a),W(c,`aria-invalid`,I(r)?`true`:void 0),W(c,`aria-describedby`,a===0?I(i):void 0)}),L(`input`,c,o),ca(c,()=>I(t).value,e=>I(t).value=e),z(e,s)}),T(a);var s=P(a,2),c=M(s);K(M(c),{name:`plus`,class:`form-action-icon`}),Ge(2),T(c),T(s),F(()=>W(c,`id`,$.form.api_keys.length===0?I(n):void 0)),L(`click`,c,()=>$.addApiKeyRow()),z(e,t)},m=e=>{var s=Yoe(),c=M(s);c.value=c.__value=``,H(P(c),16,()=>I(a),e=>e,(e,t)=>{var n=Joe(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(s),F(()=>{W(s,`id`,I(n)),W(s,`aria-invalid`,I(r)?`true`:void 0),W(s,`aria-describedby`,I(i))}),L(`change`,s,o),Hi(s,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,s)},h=e=>{var a=Xoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`change`,a,o),la(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},g=e=>{var a=Zoe();mt(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)},_=e=>{var a=Qoe();$i(a),F(()=>{W(a,`id`,I(n)),W(a,`placeholder`,t.field.placeholder||``),W(a,`aria-invalid`,I(r)?`true`:void 0),W(a,`aria-describedby`,I(i))}),L(`input`,a,o),ca(a,()=>$.form[t.field.name],e=>$.form[t.field.name]=e),z(e,a)};V(f,e=>{t.field.control===`keys`?e(p):t.field.control===`select`?e(m,1):t.field.control===`checkbox`?e(h,2):t.field.control===`textarea`?e(g,3):e(_,-1)});var v=P(f,2),y=e=>{var t=$oe(),i=M(t,!0);T(t),F(()=>{W(t,`id`,I(n)+`-error`),B(i,I(r))}),z(e,t)},b=e=>{var r=ese(),i=M(r,!0);T(r),F(()=>{W(r,`id`,I(n)+`-hint`),B(i,t.field.hint)}),z(e,r)};V(v,e=>{I(r)?e(y):t.field.hint&&e(b,1)}),T(s),F(()=>{W(c,`for`,I(n)),B(l,`${t.field.label??``} `)}),z(e,s),D()}Hr([`input`,`click`,`change`]);var nse=R(`

                The name is the stable identity used for routing and cannot change once created.

                `),rse=R(``),ise=R(` `),ase=R(`Determines which fields the gateway uses to build requests.`),ose=R(` `),sse=R(`Suggested from the selected type; used to route requests to this provider instance and editable before saving.`),cse=R(`Immutable once created.`),lse=R(`

                Pick a type to configure its credentials — each provider type asks for different settings.

                `),use=R(`
                Advanced settings
                `),dse=R(`
                `,1);function fse(e,t){E(t,!0);let n=O(()=>Doe($.types,$.form.type)),r=O(()=>$.formFields),i=O(()=>$.fieldErrors.name||``),a=O(()=>$.fieldErrors.type||``);function o(){$.selectType(),$.formMode===`create`&&($.form.name=Poe($.rows,$.form.type))}Mn(()=>{let e=$.focusField;if(!e)return;$.focusField=``;let t=document.getElementById(`provider-credential-`+e);t&&(t.scrollIntoView({block:`center`}),t.focus({preventScroll:!0}))});{let t=e=>{z(e,nse())},s=O(()=>$.formMode===`edit`?`Edit Provider`:`Add Provider`);R0(e,{get open(){return $.formOpen},get title(){return I(s)},ariaLabel:`Provider credential editor`,get error(){return $.error},get submitting(){return $.formSubmitting},novalidate:!0,onclose:()=>$.closeForm(),onsubmit:()=>$.submitForm(),headerHint:t,children:(e,t)=>{var s=dse(),c=N(s),l=P(M(c),2),u=M(l);u.value=u.__value=``,H(P(u),16,()=>I(n),e=>e,(e,t)=>{var n=rse(),r=M(n,!0);T(n);var i={};F(()=>{B(r,t),i!==(i=t)&&(n.value=(n.__value=t)??``)}),z(e,n)}),T(l);var d=P(l,2),f=e=>{var t=ise(),n=M(t,!0);T(t),F(()=>B(n,I(a))),z(e,t)},p=e=>{z(e,ase())};V(d,e=>{I(a)?e(f):e(p,-1)}),T(c);var m=P(c,2),h=P(M(m),2);$i(h);var g=P(h,2),_=e=>{var t=ose(),n=M(t,!0);T(t),F(()=>B(n,I(i))),z(e,t)},v=e=>{z(e,sse())},y=e=>{z(e,cse())};V(g,e=>{I(i)?e(_):$.formMode===`create`?e(v,1):e(y,-1)}),T(m);var b=P(m,2),x=e=>{z(e,lse())};V(b,e=>{$.form.type||e(x)});var S=P(b,2);H(S,17,()=>I(r).primary,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})});var C=P(S,2),w=M(C);R6(M(w),{get enabled(){return $.form.enabled},label:`provider`,onclick:()=>$.form.enabled=!$.form.enabled}),T(w),T(C);var ee=P(C,2),te=e=>{var t=use(),n=M(t),i=M(n),a=P(M(i),2),o=M(a,!0);T(a),T(i),T(n);var s=P(n,2);H(s,21,()=>I(r).advanced,e=>e.name,(e,t)=>{L9(e,{get field(){return I(t)}})}),T(s),T(t),F(e=>{t.open=$.advancedOpen,B(o,e)},[()=>I(r).advanced.map(e=>e.label).join(`, `)]),Vr(`toggle`,t,e=>$.advancedOpen=e.currentTarget.open),z(e,t)};V(ee,e=>{I(r).advanced.length>0&&e(te)}),F(()=>{l.disabled=$.formMode===`edit`,W(l,`aria-invalid`,I(a)?`true`:void 0),W(l,`aria-describedby`,I(a)?`provider-credential-type-error`:`provider-credential-type-hint`),h.disabled=$.formMode===`edit`,W(h,`aria-invalid`,I(i)?`true`:void 0),W(h,`aria-describedby`,I(i)?`provider-credential-name-error`:`provider-credential-name-hint`)}),L(`change`,l,o),Hi(l,()=>$.form.type,e=>$.form.type=e),L(`input`,h,()=>$.clearFieldError(`name`)),ca(h,()=>$.form.name,e=>$.form.name=e),z(e,s)},$$slots:{headerHint:!0,default:!0}})}D()}Hr([`change`,`input`]);var pse=R(`

                Providers

                `),mse=R(``),hse=R(`
                Provider credential management is unavailable.
                `),gse=R(``),_se=R(`
                `),vse=R(`

                No dashboard-managed providers yet. Add one here, or declare providers in config.yaml / environment variables.

                `),yse=R(`

                No providers match your filter.

                `),bse=R(`
                `);function xse(e,t){E(t,!0),Mn(()=>{q.refreshTick,wI.page===`providers-config`&&$.fetchPage()});var n=bse(),r=M(n),i=M(r);yQ(M(i),{copyId:`providers-config-help-copy`,label:`model providers help`,title:e=>{z(e,pse())},help:e=>{Ge(),z(e,Zr(`Configure LLM provider credentials here instead of setting API keys as environment variables. Providers declared in config.yaml or env vars are read-only (Config badge) and cannot be edited or deleted from the dashboard. Keys are masked after saving.`))},$$slots:{title:!0,help:!0}}),T(i);var a=P(i,2),o=M(a),s=e=>{var t=mse();K(M(t),{name:`plus`,class:`form-action-icon`}),Ge(2),T(t),F(()=>t.disabled=$.formSubmitting),L(`click`,t,()=>$.openCreate()),z(e,t)};V(o,e=>{$.available&&!q.needsAuth&&e(s)}),T(a),T(r);var c=P(r,2),l=e=>{z(e,hse())};V(c,e=>{!$.available&&!q.needsAuth&&e(l)});var u=P(c,2),d=e=>{var t=gse(),n=M(t,!0);T(t),F(()=>B(n,$.error)),z(e,t)};V(u,e=>{$.error&&!q.needsAuth&&!$.formOpen&&e(d)});var f=P(u,2),p=e=>{M1(e,{label:`Loading providers...`})};V(f,e=>{$.loading&&!q.needsAuth&&e(p)});var m=P(f,2),h=e=>{var t=_se(),n=M(t);L$(M(n),{id:`provider-credential-filter`,placeholder:`Filter by name, type, or base URL...`,label:`Filter providers by name, type, or base URL`,get value(){return $.filter},set value(e){$.filter=e}}),T(n),T(t),z(e,t)};V(m,e=>{($.rows.length>0||$.filter)&&$.available&&!q.needsAuth&&e(h)});var g=P(m,2);fse(g,{});var _=P(g,2),v=e=>{Woe(e,{})};V(_,e=>{$.filteredRows.length>0&&$.available&&!q.needsAuth&&e(v)});var y=P(_,2),b=e=>{z(e,vse())};V(y,e=>{$.rows.length===0&&!$.filter&&!$.loading&&!q.needsAuth&&!$.error&&$.available&&e(b)});var x=P(y,2),S=e=>{z(e,yse())};V(x,e=>{$.rows.length>0&&$.filteredRows.length===0&&$.filter&&!$.loading&&!q.needsAuth&&$.available&&e(S)}),T(n),z(e,n),D()}Hr([`click`]);function R9(){return{name:``,description:``,user_path:``,labels:``,dashboard_access:!1,expires_at:``}}function z9(e){let t=[];for(let n of String(e||``).split(`,`)){let e=n.trim();e&&!t.includes(e)&&t.push(e)}return t}function B9(e){let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t;for(let e of n.split(`/`)){let t=String(e||``).trim();if(t){if(t===`.`||t===`..`)return`User path cannot contain "." or ".." segments.`;if(t.includes(`:`))return`User path cannot contain ":" segments.`}}return``}function Sse(e){if(B9(e))return``;let t=String(e||``).trim();if(!t)return``;let n=t.startsWith(`/`)?t:`/`+t,r=[];for(let e of n.split(`/`)){let t=String(e||``).trim();t&&r.push(t)}return r.length?`/`+r.join(`/`):`/`}function Cse(e){let t=e||{},n=String(t.name||``).trim();if(!n)return{error:`Name is required.`};let r=B9(t.user_path);if(r)return{error:r};let i=Sse(t.user_path),a=z9(t.labels),o={name:n,description:String(t.description||``).trim()||void 0,user_path:i||void 0,labels:a.length?a:void 0,dashboard_access:t.dashboard_access?!0:void 0};return t.expires_at&&(o.expires_at=t.expires_at+`T23:59:59Z`),{payload:o}}function V9(e,t=Date.now()){let n=e&&e.expires_at;if(!n)return!1;let r=Date.parse(n);return Number.isFinite(r)&&r<=t}function H9(e){return e?!!e.deactivated_at||e.enabled===!1:!1}function U9(e,t=Date.now()){return!e||e.active===!1||H9(e)?!1:!V9(e,t)}function wse(e){return[e.name,e.description,e.user_path,e.redacted_value,...e.labels||[]].filter(Boolean).join(` `).toLowerCase()}function Tse(e,t={}){let{query:n=``,showInactive:r=!1,now:i=Date.now()}=t,a=String(n||``).trim().toLowerCase();return(Array.isArray(e)?e:[]).filter(e=>!r&&!U9(e,i)?!1:!a||wse(e).includes(a))}function W9(e,t){return H9(e)?2:+!U9(e,t)}function G9(e){let t=e&&e.expires_at;if(!t)return 1/0;let n=Date.parse(t);return Number.isFinite(n)?n:1/0}function K9(e){let t=Date.parse(e&&e.deactivated_at||``);return Number.isFinite(t)?t:-1/0}function Ese(e,t=Date.now()){return(Array.isArray(e)?e.slice():[]).sort((e,n)=>{let r=W9(e,t),i=W9(n,t);if(r!==i)return r-i;let[a,o]=r===2?[K9(e),K9(n)]:[G9(e),G9(n)];return a===o?String(e.name||``).localeCompare(String(n.name||``)):a>o?-1:1})}function Dse(e,t=Date.now()){return(Array.isArray(e)?e:[]).reduce((e,n)=>e+ +!U9(n,t),0)}function q9(){return{open:!1,id:``,name:``,value:``,submitting:!1,error:``}}var J9=new class{#e=k(j([]));get keys(){return I(this.#e)}set keys(e){A(this.#e,e,!0)}#t=k(!0);get available(){return I(this.#t)}set available(e){A(this.#t,e,!0)}#n=k(!1);get loading(){return I(this.#n)}set loading(e){A(this.#n,e,!0)}#r=k(``);get error(){return I(this.#r)}set error(e){A(this.#r,e,!0)}#i=k(``);get filter(){return I(this.#i)}set filter(e){A(this.#i,e,!0)}#a=k(!1);get showInactive(){return I(this.#a)}set showInactive(e){A(this.#a,e,!0)}#o=O(()=>Ese(Tse(this.keys,{query:this.filter,showInactive:this.showInactive})));get visibleKeys(){return I(this.#o)}set visibleKeys(e){A(this.#o,e)}#s=O(()=>Dse(this.keys));get inactiveCount(){return I(this.#s)}set inactiveCount(e){A(this.#s,e)}#c=k(!1);get formOpen(){return I(this.#c)}set formOpen(e){A(this.#c,e,!0)}#l=k(!1);get formSubmitting(){return I(this.#l)}set formSubmitting(e){A(this.#l,e,!0)}#u=k(``);get issuedValue(){return I(this.#u)}set issuedValue(e){A(this.#u,e,!0)}#d=k(``);get deactivatingID(){return I(this.#d)}set deactivatingID(e){A(this.#d,e,!0)}#f=k(``);get dashboardAccessID(){return I(this.#f)}set dashboardAccessID(e){A(this.#f,e,!0)}#p=k(j(R9()));get form(){return I(this.#p)}set form(e){A(this.#p,e,!0)}#m=k(j(q9()));get labelsEditor(){return I(this.#m)}set labelsEditor(e){A(this.#m,e,!0)}copyState=F5({logPrefix:`Failed to copy auth key:`});async fetchKeys(){this.loading=!0,this.error=``;try{let e=await F1(`/admin/auth-keys`,{label:`auth keys`,errorFallback:`Unable to load API keys.`});if(e.status===`stale`)return;if(e.status===`unavailable`){this.available=!1,this.keys=[];return}if(e.status===`error`){e.result&&(this.available=!0),this.error=e.error;return}this.available=!0,this.keys=e.items}finally{this.loading=!1}}openForm(){this.formSubmitting||this.formOpen||(this.formOpen=!0,this.error=``,this.issuedValue||(this.copyState.reset(),this.form=R9()))}closeForm(){this.formOpen&&(this.formOpen=!1,this.error=``,this.copyState.reset(),!this.formSubmitting&&!this.issuedValue&&(this.form=R9()))}copyIssuedValue(){return this.copyState.copy(this.issuedValue)}dismissIssuedKey(){this.issuedValue=``,this.copyState.reset(),this.form=R9()}async submitForm(){let e=Cse(this.form);if(e.error){this.error=e.error;return}this.error=``,this.formSubmitting=!0;try{let t=await I1(`/admin/auth-keys`,`POST`,e.payload,{label:`create API key`,errorFallback:`Failed to create API key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,this.error=t.error;return}if(t.status===`error`){this.error=t.error,t.result&&t.result.status!==401&&console.error(`Failed to create API key:`,t.result.status,this.error);return}let n=t.result.data||{};this.issuedValue=n.value||``,this.formOpen=!0,this.copyState.reset(),this.form=R9(),this.fetchKeys()}finally{this.formSubmitting=!1}}openLabelsEditor(e){!e||this.labelsEditor.submitting||(this.labelsEditor={open:!0,id:e.id,name:e.name||``,value:(e.labels||[]).join(`, `),submitting:!1,error:``})}closeLabelsEditor(){!this.labelsEditor.open||this.labelsEditor.submitting||(this.labelsEditor=q9())}async submitLabelsEditor(){let e=this.labelsEditor;if(!e.open||e.submitting||!e.id)return;e.submitting=!0,e.error=``;let t={labels:z9(e.value)};try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/labels`,`PUT`,t,{label:`update API key labels`,errorFallback:`Failed to update labels.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,e.error=n.error;return}if(n.status===`error`){e.error=n.error,n.result&&n.result.status!==401&&console.error(`Failed to update auth key labels:`,n.result.status,e.error);return}DL.success(`Labels updated for key "`+e.name+`".`),e.submitting=!1,this.closeLabelsEditor(),this.fetchKeys()}finally{e.submitting=!1}}async toggleDashboardAccess(e){if(!e||!e.active||this.dashboardAccessID)return;let t=!e.dashboard_access;this.dashboardAccessID=e.id;try{let n=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/dashboard-access`,`PUT`,{dashboard_access:t},{label:`update API key dashboard access`,errorFallback:`Failed to update dashboard access.`,unavailableMessage:`Auth keys feature is unavailable.`});if(n.status===`stale`)return;if(n.status===`unavailable`){this.available=!1,DL.error(n.error);return}if(n.status===`error`){n.result&&n.result.status!==401&&console.error(`Failed to update auth key dashboard access:`,n.result.status,n.error),DL.error(n.error);return}DL.success(`Dashboard access `+(t?`granted to`:`revoked for`)+` key "`+e.name+`".`),this.fetchKeys()}finally{this.dashboardAccessID=``}}async deactivateKey(e){if(!(!e||!e.active)&&window.confirm(`Deactivate key "`+e.name+`"? This cannot be undone.`)){this.deactivatingID=e.id;try{let t=await I1(`/admin/auth-keys/`+encodeURIComponent(e.id)+`/deactivate`,`POST`,void 0,{label:`deactivate API key`,errorFallback:`Failed to deactivate key.`,unavailableMessage:`Auth keys feature is unavailable.`});if(t.status===`stale`)return;if(t.status===`unavailable`){this.available=!1,DL.error(t.error);return}if(t.status===`error`){t.result&&t.result.status!==401&&console.error(`Failed to deactivate auth key:`,t.result.status,t.error),DL.error(t.error);return}DL.success(`Key "`+e.name+`" deactivated.`),this.fetchKeys()}finally{this.deactivatingID=``}}}},Ose=R(``),kse=R(`

                Store this key securely — it won’t be shown again.

                `),Ase=R(``),jse=R(``),Mse=R(``),Nse=R(``),Pse=R(`
                `);function Fse(e,t){E(t,!0);{let t=O(()=>J9.issuedValue?``:J9.error),n=O(()=>J9.issuedValue?`Done, I’ve stored it`:`Create API Key`),r=O(()=>J9.issuedValue?`check`:`plus`);R0(e,{get open(){return J9.formOpen},title:`Create API Key`,ariaLabel:`API key editor`,get error(){return I(t)},get submitting(){return J9.formSubmitting},get submitLabel(){return I(n)},submittingLabel:`Creating...`,get submitIcon(){return I(r)},cancel:!1,dialogClass:`auth-key-editor`,onclose:()=>J9.closeForm(),onsubmit:()=>J9.issuedValue?J9.dismissIssuedKey():J9.submitForm(),children:(e,t)=>{var n=Qr(),r=N(n),i=e=>{var t=kse(),n=P(M(t),2),r=M(n),i=M(r,!0);T(r),f9(P(r,2),{get state(){return J9.copyState},onclick:()=>J9.copyIssuedValue()}),T(n);var a=P(n,2),o=e=>{z(e,Ose())};V(a,e=>{J9.copyState.error&&e(o)}),T(t),F(()=>B(i,J9.issuedValue)),z(e,t)},a=e=>{var t=Pse(),n=M(t),r=M(n),i=P(M(r),2);$i(i),T(r);var a=P(r,2),o=P(M(a),2);$i(o),T(a),T(n);var s=P(n,2),c=M(s);yQ(c,{copyId:`auth-key-user-path-help-copy`,label:`API key user path help`,title:e=>{z(e,Ase())},help:e=>{Ge(),z(e,Zr(`When set, this key overrides the configured user path request diff --git a/internal/admin/dashboard/static/dist/index.html b/internal/admin/dashboard/static/dist/index.html index 54f5e2a64..1630b771b 100644 --- a/internal/admin/dashboard/static/dist/index.html +++ b/internal/admin/dashboard/static/dist/index.html @@ -7,7 +7,7 @@ GoModel Dashboard - + diff --git a/internal/anthropicapi/request.go b/internal/anthropicapi/request.go index 2caa02d0d..6c5be821e 100644 --- a/internal/anthropicapi/request.go +++ b/internal/anthropicapi/request.go @@ -372,14 +372,11 @@ func anthropicCacheControlExtra(raw json.RawMessage) (core.UnknownJSONFields, er } func validatedCacheControlJSON(raw json.RawMessage) (json.RawMessage, error) { - trimmed := bytes.TrimSpace(raw) - if len(trimmed) == 0 || core.IsJSONNull(trimmed) { - return nil, nil - } - if trimmed[0] != '{' || !json.Valid(trimmed) { + validated, err := core.CloneOptionalJSONObject(raw) + if err != nil { return nil, fmt.Errorf("cache_control must be an object") } - return core.CloneRawJSON(trimmed), nil + return validated, nil } // toolResultText extracts the text payload of a tool_result block content, diff --git a/internal/core/json_fields.go b/internal/core/json_fields.go index c711823d6..e35884e49 100644 --- a/internal/core/json_fields.go +++ b/internal/core/json_fields.go @@ -62,6 +62,19 @@ func CloneRawJSON(raw json.RawMessage) json.RawMessage { return append(json.RawMessage(nil), raw...) } +// CloneOptionalJSONObject validates and clones an optional raw JSON object. +// Empty and null values are treated as absent. +func CloneOptionalJSONObject(raw json.RawMessage) (json.RawMessage, error) { + trimmed := bytes.TrimSpace(raw) + if IsJSONNull(trimmed) { + return nil, nil + } + if trimmed[0] != '{' || !json.Valid(trimmed) { + return nil, fmt.Errorf("JSON value must be an object") + } + return CloneRawJSON(trimmed), nil +} + // CloneUnknownJSONFields returns a detached copy of a raw unknown-field object. func CloneUnknownJSONFields(fields UnknownJSONFields) UnknownJSONFields { return UnknownJSONFields{raw: CloneRawJSON(fields.raw)} diff --git a/internal/core/json_fields_test.go b/internal/core/json_fields_test.go index 57c0fd9c6..35eded27e 100644 --- a/internal/core/json_fields_test.go +++ b/internal/core/json_fields_test.go @@ -279,6 +279,33 @@ func TestMergedJSONObjectCap_Overflow(t *testing.T) { } } +func TestCloneOptionalJSONObject(t *testing.T) { + tests := []struct { + name string + raw json.RawMessage + want string + wantErr bool + }{ + {name: "empty"}, + {name: "null", raw: json.RawMessage(` null `)}, + {name: "object", raw: json.RawMessage(` {"type":"ephemeral"} `), want: `{"type":"ephemeral"}`}, + {name: "array", raw: json.RawMessage(`[]`), wantErr: true}, + {name: "invalid object", raw: json.RawMessage(`{"type":`), wantErr: true}, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + got, err := CloneOptionalJSONObject(tt.raw) + if (err != nil) != tt.wantErr { + t.Fatalf("CloneOptionalJSONObject() error = %v, wantErr %v", err, tt.wantErr) + } + if string(got) != tt.want { + t.Fatalf("CloneOptionalJSONObject() = %s, want %s", got, tt.want) + } + }) + } +} + func TestExtractUnknownJSONFields_DoesNotRetainBodySizedCapacity(t *testing.T) { // A large request with tiny unknown extras: the retained raw bytes are // kept for the decoded request's whole lifetime, so they must not pin a diff --git a/internal/embedding/embedding_test.go b/internal/embedding/embedding_test.go index 484353b57..bd2061123 100644 --- a/internal/embedding/embedding_test.go +++ b/internal/embedding/embedding_test.go @@ -1,9 +1,13 @@ package embedding import ( + "context" + "net/http" + "net/http/httptest" "testing" "github.com/enterpilot/gomodel/config" + "github.com/enterpilot/gomodel/internal/core" ) func TestNewEmbedder_EmptyProvider(t *testing.T) { @@ -52,33 +56,60 @@ func TestNewEmbedder_APIEmbedder(t *testing.T) { } } -func TestNewEmbedder_HonorsSessionStickyKeysOptOut(t *testing.T) { +func TestAPIEmbedder_SessionStickyKeys(t *testing.T) { disabled := false - rawProviders := map[string]config.RawProviderConfig{ - "openai": { - Type: "openai", - APIKeys: []string{"key-1", "key-2"}, - BaseURL: "https://api.openai.com", - SessionStickyKeys: &disabled, - }, + tests := []struct { + name string + stickySetting *bool + wantSticky bool + }{ + {name: "enabled by default", wantSticky: true}, + {name: "explicitly disabled", stickySetting: &disabled}, } - emb, err := NewEmbedder(config.EmbedderConfig{Provider: "openai"}, rawProviders) - if err != nil { - t.Fatal(err) - } - defer emb.Close() - ring := emb.(*apiEmbedder).keys - got := []string{ - ring.NextForSession("same-session"), - ring.NextForSession("same-session"), - ring.NextForSession("same-session"), - } - want := []string{"key-1", "key-2", "key-1"} - for i := range want { - if got[i] != want[i] { - t.Fatalf("key sequence = %v, want %v", got, want) - } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + seen := make(chan string, 3) + server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + seen <- r.Header.Get("Authorization") + w.Header().Set("Content-Type", "application/json") + _, _ = w.Write([]byte(`{"data":[{"embedding":[0.25]}]}`)) + })) + defer server.Close() + + emb, err := NewEmbedder(config.EmbedderConfig{Provider: "openai"}, map[string]config.RawProviderConfig{ + "openai": { + Type: "openai", + APIKeys: []string{"key-1", "key-2"}, + BaseURL: server.URL, + SessionStickyKeys: tt.stickySetting, + }, + }) + if err != nil { + t.Fatal(err) + } + defer emb.Close() + + ctx := core.WithSessionID(context.Background(), "same-session") + for range 3 { + if _, err := emb.Embed(ctx, "hello"); err != nil { + t.Fatal(err) + } + } + got := []string{<-seen, <-seen, <-seen} + if tt.wantSticky { + if got[0] == "" || got[1] != got[0] || got[2] != got[0] { + t.Fatalf("authorization sequence = %v, want one sticky key", got) + } + return + } + want := []string{"Bearer key-1", "Bearer key-2", "Bearer key-1"} + for i := range want { + if got[i] != want[i] { + t.Fatalf("authorization sequence = %v, want %v", got, want) + } + } + }) } } diff --git a/internal/providers/anthropic/request_translation.go b/internal/providers/anthropic/request_translation.go index 464310d7e..ad257ac50 100644 --- a/internal/providers/anthropic/request_translation.go +++ b/internal/providers/anthropic/request_translation.go @@ -584,14 +584,11 @@ func anthropicCacheControlFromValue(value any) (json.RawMessage, error) { } func validatedAnthropicCacheControlJSON(raw json.RawMessage) (json.RawMessage, error) { - trimmed := bytes.TrimSpace(raw) - if len(trimmed) == 0 || core.IsJSONNull(trimmed) { - return nil, nil - } - if trimmed[0] != '{' || !json.Valid(trimmed) { + validated, err := core.CloneOptionalJSONObject(raw) + if err != nil { return nil, core.NewInvalidRequestError("anthropic cache_control must be an object", nil) } - return core.CloneRawJSON(trimmed), nil + return validated, nil } // resolveAnthropicReasoningEffort returns the requested reasoning effort, diff --git a/internal/providers/config_test.go b/internal/providers/config_test.go index db005ffa9..625451373 100644 --- a/internal/providers/config_test.go +++ b/internal/providers/config_test.go @@ -471,43 +471,70 @@ func TestApplyProviderEnvVars_DiscoversFromAPIKey(t *testing.T) { } func TestApplyProviderEnvVars_SessionStickyKeys(t *testing.T) { - t.Setenv("OPENAI_API_KEY", "sk-primary") - t.Setenv("OPENAI_API_KEY_2", "sk-secondary") - t.Setenv("OPENAI_SESSION_STICKY_KEYS", "false") - t.Setenv("OPENAI_EU_API_KEY", "sk-eu") - t.Setenv("OPENAI_EU_SESSION_STICKY_KEYS", "true") - - got := applyProviderEnvVars(map[string]config.RawProviderConfig{}, testDiscoveryConfigs) - if sticky := got["openai"].SessionStickyKeys; sticky == nil || *sticky { - t.Fatalf("openai SessionStickyKeys = %v, want false", sticky) - } - if sticky := got["openai-eu"].SessionStickyKeys; sticky == nil || !*sticky { - t.Fatalf("openai-eu SessionStickyKeys = %v, want true", sticky) - } -} - -func TestApplyProviderEnvVars_SessionStickyKeysOverridesYAML(t *testing.T) { disabled := false - t.Setenv("OPENAI_API_KEY", "sk-env") - t.Setenv("OPENAI_SESSION_STICKY_KEYS", "true") - raw := map[string]config.RawProviderConfig{ - "openai": {Type: "openai", APIKey: "sk-yaml", SessionStickyKeys: &disabled}, - } - - got := applyProviderEnvVars(raw, testDiscoveryConfigs) - sticky := got["openai"].SessionStickyKeys - if sticky == nil || !*sticky { - t.Fatalf("SessionStickyKeys = %v, want env override true", sticky) + tests := []struct { + name string + env map[string]string + raw map[string]config.RawProviderConfig + provider string + want bool + wantNil bool + }{ + { + name: "unsuffixed false", + env: map[string]string{"OPENAI_API_KEY": "sk-primary", "OPENAI_SESSION_STICKY_KEYS": "false"}, + provider: "openai", + }, + { + name: "suffixed true", + env: map[string]string{"OPENAI_EU_API_KEY": "sk-eu", "OPENAI_EU_SESSION_STICKY_KEYS": "true"}, + provider: "openai-eu", + want: true, + }, + { + name: "environment overrides yaml", + env: map[string]string{"OPENAI_API_KEY": "sk-env", "OPENAI_SESSION_STICKY_KEYS": "true"}, + raw: map[string]config.RawProviderConfig{"openai": {Type: "openai", APIKey: "sk-yaml", SessionStickyKeys: &disabled}}, + provider: "openai", + want: true, + }, + { + name: "unset keeps default unspecified", + env: map[string]string{"OPENAI_API_KEY": "sk-env"}, + provider: "openai", + wantNil: true, + }, + { + name: "invalid is ignored", + env: map[string]string{"OPENAI_API_KEY": "sk-env", "OPENAI_SESSION_STICKY_KEYS": "sometimes"}, + provider: "openai", + wantNil: true, + }, + { + name: "invalid preserves yaml", + env: map[string]string{"OPENAI_API_KEY": "sk-env", "OPENAI_SESSION_STICKY_KEYS": "sometimes"}, + raw: map[string]config.RawProviderConfig{"openai": {Type: "openai", APIKey: "sk-yaml", SessionStickyKeys: &disabled}}, + provider: "openai", + }, } -} -func TestApplyProviderEnvVars_IgnoresInvalidSessionStickyKeys(t *testing.T) { - t.Setenv("OPENAI_API_KEY", "sk-env") - t.Setenv("OPENAI_SESSION_STICKY_KEYS", "sometimes") - - got := applyProviderEnvVars(map[string]config.RawProviderConfig{}, testDiscoveryConfigs) - if sticky := got["openai"].SessionStickyKeys; sticky != nil { - t.Fatalf("SessionStickyKeys = %v, want invalid value ignored", *sticky) + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + for key, value := range tt.env { + t.Setenv(key, value) + } + got := applyProviderEnvVars(tt.raw, testDiscoveryConfigs) + sticky := got[tt.provider].SessionStickyKeys + if tt.wantNil { + if sticky != nil { + t.Fatalf("SessionStickyKeys = %v, want nil", *sticky) + } + return + } + if sticky == nil || *sticky != tt.want { + t.Fatalf("SessionStickyKeys = %v, want %v", sticky, tt.want) + } + }) } } diff --git a/internal/providers/router_test.go b/internal/providers/router_test.go index 8aa413802..ab3cb81db 100644 --- a/internal/providers/router_test.go +++ b/internal/providers/router_test.go @@ -1,6 +1,7 @@ package providers import ( + "bytes" "context" "encoding/json" "errors" @@ -561,74 +562,109 @@ func TestRouterChatCompletion_ProviderSelector(t *testing.T) { } func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing.T) { - cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ - "cache_control": json.RawMessage(`{"type":"ephemeral"}`), - "x_keep": json.RawMessage(`true`), - }) - request := &core.ChatRequest{ - Model: "gpt-4o", - ExtraFields: cacheExtra, - Tools: []map[string]any{{ - "type": "function", - "function": map[string]any{"name": "lookup"}, - "cache_control": map[string]any{"type": "ephemeral"}, - }}, - Messages: []core.Message{{ - Role: "assistant", - ExtraFields: cacheExtra, - Content: []core.ContentPart{{ - Type: "text", - Text: "stable prefix", - ExtraFields: cacheExtra, - }}, - ToolCalls: []core.ToolCall{{ - ID: "tool-1", - Type: "function", - ExtraFields: cacheExtra, - Function: core.FunctionCall{ - Name: "lookup", - Arguments: `{}`, - ExtraFields: cacheExtra, - }, - }}, - }}, + tests := []struct { + providerType string + wantCache bool + }{ + {providerType: "openai"}, + {providerType: "anthropic", wantCache: true}, + {providerType: "openrouter", wantCache: true}, } - strict := &mockProvider{name: "strict", chatResponse: &core.ChatResponse{ID: "ok"}} - lookup := newMockLookup() - lookup.addModel("gpt-4o", strict, "openai") - router, _ := NewRouter(lookup) - if _, err := router.ChatCompletion(context.Background(), request); err != nil { - t.Fatal(err) - } + for _, tt := range tests { + t.Run(tt.providerType, func(t *testing.T) { + cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": json.RawMessage(`{"type":"ephemeral"}`), + "x_keep": json.RawMessage(`true`), + }) + request := &core.ChatRequest{ + Model: "gpt-4o", + ExtraFields: cacheExtra, + Tools: []map[string]any{{ + "type": "function", + "function": map[string]any{"name": "lookup"}, + "cache_control": map[string]any{"type": "ephemeral"}, + }}, + Messages: []core.Message{ + { + Role: "assistant", + ExtraFields: cacheExtra, + Content: []core.ContentPart{{ + Type: "text", + Text: "stable prefix", + ExtraFields: cacheExtra, + }}, + ToolCalls: []core.ToolCall{{ + ID: "tool-1", + Type: "function", + ExtraFields: cacheExtra, + Function: core.FunctionCall{ + Name: "lookup", + Arguments: `{}`, + ExtraFields: cacheExtra, + }, + }}, + }, + { + Role: "tool", + ToolCallID: "tool-1", + ExtraFields: cacheExtra, + Content: []core.ContentPart{{ + Type: "text", + Text: "tool result", + ExtraFields: cacheExtra, + }}, + }, + }, + } + before, err := json.Marshal(request) + if err != nil { + t.Fatal(err) + } - forwarded := strict.lastChatReq - if forwarded == nil { - t.Fatal("strict provider did not receive a request") - } - assertNoCacheControl := func(label string, fields core.UnknownJSONFields) { - t.Helper() - if got := fields.Lookup("cache_control"); got != nil { - t.Errorf("%s cache_control = %s, want removed", label, got) - } - if got := string(fields.Lookup("x_keep")); got != "true" { - t.Errorf("%s x_keep = %s, want preserved", label, got) - } - } - assertNoCacheControl("request", forwarded.ExtraFields) - if _, exists := forwarded.Tools[0]["cache_control"]; exists { - t.Error("tool cache_control was forwarded to strict provider") - } - assertNoCacheControl("message", forwarded.Messages[0].ExtraFields) - part := forwarded.Messages[0].Content.([]core.ContentPart)[0] - assertNoCacheControl("content part", part.ExtraFields) - call := forwarded.Messages[0].ToolCalls[0] - assertNoCacheControl("tool call", call.ExtraFields) - assertNoCacheControl("function call", call.Function.ExtraFields) + provider := &mockProvider{name: tt.providerType, chatResponse: &core.ChatResponse{ID: "ok"}} + lookup := newMockLookup() + lookup.addModel("gpt-4o", provider, tt.providerType) + router, _ := NewRouter(lookup) + if _, err := router.ChatCompletion(context.Background(), request); err != nil { + t.Fatal(err) + } - // Routing adaptation must never rewrite the canonical caller request. - if request.ExtraFields.Lookup("cache_control") == nil || request.Tools[0]["cache_control"] == nil { - t.Fatal("routing mutated the caller's request") + forwarded := provider.lastChatReq + if forwarded == nil { + t.Fatal("provider did not receive a request") + } + assertFields := func(label string, fields core.UnknownJSONFields) { + t.Helper() + hasCache := len(fields.Lookup("cache_control")) > 0 + if hasCache != tt.wantCache { + t.Errorf("%s cache_control present = %v, want %v", label, hasCache, tt.wantCache) + } + if got := string(fields.Lookup("x_keep")); got != "true" { + t.Errorf("%s x_keep = %s, want preserved", label, got) + } + } + assertFields("request", forwarded.ExtraFields) + _, toolHasCache := forwarded.Tools[0]["cache_control"] + if toolHasCache != tt.wantCache { + t.Errorf("tool cache_control present = %v, want %v", toolHasCache, tt.wantCache) + } + assertFields("assistant message", forwarded.Messages[0].ExtraFields) + assertFields("assistant content", forwarded.Messages[0].Content.([]core.ContentPart)[0].ExtraFields) + call := forwarded.Messages[0].ToolCalls[0] + assertFields("tool call", call.ExtraFields) + assertFields("function call", call.Function.ExtraFields) + assertFields("tool result", forwarded.Messages[1].ExtraFields) + assertFields("tool result content", forwarded.Messages[1].Content.([]core.ContentPart)[0].ExtraFields) + + after, err := json.Marshal(request) + if err != nil { + t.Fatal(err) + } + if !bytes.Equal(after, before) { + t.Fatalf("routing mutated caller request\nbefore: %s\n after: %s", before, after) + } + }) } } diff --git a/web/dashboard/src/pages/providers-config/providersConfigLogic.js b/web/dashboard/src/pages/providers-config/providersConfigLogic.js index f3cc866c6..30132f3e1 100644 --- a/web/dashboard/src/pages/providers-config/providersConfigLogic.js +++ b/web/dashboard/src/pages/providers-config/providersConfigLogic.js @@ -448,12 +448,15 @@ export function buildProviderCredentialPayload(form, schema) { enabled: Boolean(form && form.enabled), }; const { primary, advanced } = providerCredentialFormFields(schema); + const hasAdvertisedFields = Boolean( + schema && Array.isArray(schema.fields) && schema.fields.length > 0, + ); const rendered = new Set(); for (const field of [...primary, ...advanced]) { // A missing schema is the compatibility fallback for gateways that predate // this capability. Do not send the new toggle unless the gateway explicitly // advertised it. - if (!schema && field.name === FIELD_SESSION_STICKY_KEYS) { + if (!hasAdvertisedFields && field.name === FIELD_SESSION_STICKY_KEYS) { continue; } rendered.add(field.name); diff --git a/web/dashboard/tests/providers-config.test.js b/web/dashboard/tests/providers-config.test.js index 39a6f0f03..3de1499f2 100644 --- a/web/dashboard/tests/providers-config.test.js +++ b/web/dashboard/tests/providers-config.test.js @@ -166,6 +166,19 @@ test("an unavailable schema falls back to sending every field", () => { assert.equal("session_sticky_keys" in body, false); }); +test("an empty schema does not advertise session-sticky keys", () => { + const form = { + ...defaultProviderCredentialForm(), + name: "my-openai", + type: "openai", + }; + + for (const schema of [{ type: "openai", fields: [] }, { type: "openai" }]) { + const body = buildProviderCredentialPayload(form, schema); + assert.equal("session_sticky_keys" in body, false); + } +}); + test("payload preserves untouched masked API key positions on edit", () => { const existing = { name: "my-openai", From 2b9d150fb20129350ef6d3d7f9b94a2fa4a25a06 Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Sat, 1 Aug 2026 17:59:37 +0200 Subject: [PATCH 5/7] fix(providers): scope anthropic cache metadata adaptation --- internal/anthropicapi/request.go | 15 ++++++----- internal/anthropicapi/request_test.go | 3 +++ internal/core/types.go | 4 +++ .../providers/anthropic/anthropic_test.go | 27 +++++++++++++++++++ .../anthropic/request_translation.go | 6 +++++ internal/providers/router.go | 6 +++-- internal/providers/router_test.go | 20 ++++++++------ 7 files changed, 64 insertions(+), 17 deletions(-) diff --git a/internal/anthropicapi/request.go b/internal/anthropicapi/request.go index 6c5be821e..64553bc74 100644 --- a/internal/anthropicapi/request.go +++ b/internal/anthropicapi/request.go @@ -59,13 +59,14 @@ func ToChatRequest(req *MessagesRequest) (*core.ChatRequest, error) { maxTokens := req.MaxTokens chat := &core.ChatRequest{ - Model: req.Model, - Messages: messages, - MaxTokens: &maxTokens, - Temperature: req.Temperature, - TopP: req.TopP, - Stream: req.Stream, - Reasoning: thinkingToReasoning(req.Thinking), + Model: req.Model, + Messages: messages, + MaxTokens: &maxTokens, + Temperature: req.Temperature, + TopP: req.TopP, + Stream: req.Stream, + Reasoning: thinkingToReasoning(req.Thinking), + AnthropicMessagesRequest: true, } if req.Metadata != nil && strings.TrimSpace(req.Metadata.UserID) != "" { chat.User = req.Metadata.UserID diff --git a/internal/anthropicapi/request_test.go b/internal/anthropicapi/request_test.go index dca903ee2..3dd6f3c40 100644 --- a/internal/anthropicapi/request_test.go +++ b/internal/anthropicapi/request_test.go @@ -404,6 +404,9 @@ func TestToChatRequestPreservesAnthropicCacheControls(t *testing.T) { if err != nil { t.Fatalf("ToChatRequest: %v", err) } + if !chat.AnthropicMessagesRequest { + t.Fatal("AnthropicMessagesRequest = false, want Messages ingress marker") + } want := `{"type":"ephemeral"}` if got := string(chat.ExtraFields.Lookup("cache_control")); got != want { t.Errorf("request cache_control = %s, want %s", got, want) diff --git a/internal/core/types.go b/internal/core/types.go index 2709e01cf..ff137803a 100644 --- a/internal/core/types.go +++ b/internal/core/types.go @@ -41,6 +41,10 @@ type ChatRequest struct { User string `json:"user,omitempty"` ServiceTier string `json:"service_tier,omitempty"` ExtraFields UnknownJSONFields `json:"-" swaggerignore:"true"` + // AnthropicMessagesRequest marks the canonical form of /v1/messages + // ingress. It lets post-routing adaptation remove Anthropic-only metadata + // without changing opaque fields supplied to /v1/chat/completions. + AnthropicMessagesRequest bool `json:"-" swaggerignore:"true"` } func (r *ChatRequest) semanticSelector() (string, string) { diff --git a/internal/providers/anthropic/anthropic_test.go b/internal/providers/anthropic/anthropic_test.go index 059726e3e..1425e9c47 100644 --- a/internal/providers/anthropic/anthropic_test.go +++ b/internal/providers/anthropic/anthropic_test.go @@ -4523,6 +4523,33 @@ func TestConvertToAnthropicRequest_PreservesCacheControlOnRequestToolsAndToolHis } } +func TestConvertToAnthropicRequest_PreservesFunctionLevelToolCallCacheControl(t *testing.T) { + cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ + "cache_control": json.RawMessage(`{"type":"ephemeral"}`), + }) + req := &core.ChatRequest{ + Model: "claude-sonnet-4-5-20250929", + Messages: []core.Message{{Role: "assistant", ToolCalls: []core.ToolCall{{ + ID: "tool-1", + Type: "function", + Function: core.FunctionCall{ + Name: "lookup", + Arguments: `{}`, + ExtraFields: cacheExtra, + }, + }}}}, + } + + result, err := convertToAnthropicRequest(req) + if err != nil { + t.Fatalf("convertToAnthropicRequest() error = %v", err) + } + blocks := result.Messages[0].Content.([]anthropicContentBlock) + if got := string(blocks[0].CacheControl); got != `{"type":"ephemeral"}` { + t.Fatalf("tool_use CacheControl = %s, want function-level cache_control", got) + } +} + func TestConvertToAnthropicRequest_PreservesAllSystemMessages(t *testing.T) { req := &core.ChatRequest{ Model: "claude-sonnet-4-5-20250929", diff --git a/internal/providers/anthropic/request_translation.go b/internal/providers/anthropic/request_translation.go index ad257ac50..ba2abb12d 100644 --- a/internal/providers/anthropic/request_translation.go +++ b/internal/providers/anthropic/request_translation.go @@ -288,6 +288,12 @@ func buildAnthropicMessageContent(msg core.Message) (any, error) { if err != nil { return nil, err } + if len(cacheControl) == 0 { + cacheControl, err = anthropicCacheControlFromExtra(toolCall.Function.ExtraFields) + if err != nil { + return nil, err + } + } blocks = append(blocks, anthropicContentBlock{ Type: "tool_use", ID: toolCallID, diff --git a/internal/providers/router.go b/internal/providers/router.go index 03a72e584..d90fed0f5 100644 --- a/internal/providers/router.go +++ b/internal/providers/router.go @@ -552,10 +552,12 @@ func (r *Router) forwardChatRequest(req *core.ChatRequest, selector core.ModelSe forwardReq := *req forwardReq.Model = selector.Model forwardReq.Provider = "" - if !hasAnthropicCacheControl(&forwardReq) { + if !forwardReq.AnthropicMessagesRequest { return &forwardReq } - return adaptAnthropicCacheControl(&forwardReq, r.GetProviderType(selector.QualifiedModel())) + // The selector is already concrete, so querying the lookup directly avoids + // repeating model resolution on every routed Messages request. + return adaptAnthropicCacheControl(&forwardReq, r.lookup.GetProviderType(selector.QualifiedModel())) } func forwardResponsesRequest(req *core.ResponsesRequest, selector core.ModelSelector) *core.ResponsesRequest { diff --git a/internal/providers/router_test.go b/internal/providers/router_test.go index ab3cb81db..901aa401f 100644 --- a/internal/providers/router_test.go +++ b/internal/providers/router_test.go @@ -563,23 +563,27 @@ func TestRouterChatCompletion_ProviderSelector(t *testing.T) { func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing.T) { tests := []struct { - providerType string - wantCache bool + name string + providerType string + messagesIngress bool + wantCache bool }{ - {providerType: "openai"}, - {providerType: "anthropic", wantCache: true}, - {providerType: "openrouter", wantCache: true}, + {name: "messages ingress strips for openai", providerType: "openai", messagesIngress: true}, + {name: "chat ingress preserves for openai", providerType: "openai", wantCache: true}, + {name: "messages ingress preserves for anthropic", providerType: "anthropic", messagesIngress: true, wantCache: true}, + {name: "messages ingress preserves for openrouter", providerType: "openrouter", messagesIngress: true, wantCache: true}, } for _, tt := range tests { - t.Run(tt.providerType, func(t *testing.T) { + t.Run(tt.name, func(t *testing.T) { cacheExtra := core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ "cache_control": json.RawMessage(`{"type":"ephemeral"}`), "x_keep": json.RawMessage(`true`), }) request := &core.ChatRequest{ - Model: "gpt-4o", - ExtraFields: cacheExtra, + Model: "gpt-4o", + ExtraFields: cacheExtra, + AnthropicMessagesRequest: tt.messagesIngress, Tools: []map[string]any{{ "type": "function", "function": map[string]any{"name": "lookup"}, From 671e5cc907ab108843804a27b4864e19de32e96e Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Sat, 1 Aug 2026 18:10:34 +0200 Subject: [PATCH 6/7] test(providers): verify cache metadata isolation --- internal/providers/router.go | 4 +++- internal/providers/router_test.go | 35 ++++++++++++++++++++++--------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/internal/providers/router.go b/internal/providers/router.go index d90fed0f5..ff9c682f9 100644 --- a/internal/providers/router.go +++ b/internal/providers/router.go @@ -552,7 +552,9 @@ func (r *Router) forwardChatRequest(req *core.ChatRequest, selector core.ModelSe forwardReq := *req forwardReq.Model = selector.Model forwardReq.Provider = "" - if !forwardReq.AnthropicMessagesRequest { + messagesIngress := forwardReq.AnthropicMessagesRequest + forwardReq.AnthropicMessagesRequest = false + if !messagesIngress { return &forwardReq } // The selector is already concrete, so querying the lookup directly avoids diff --git a/internal/providers/router_test.go b/internal/providers/router_test.go index 901aa401f..b7fe63677 100644 --- a/internal/providers/router_test.go +++ b/internal/providers/router_test.go @@ -638,28 +638,43 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing if forwarded == nil { t.Fatal("provider did not receive a request") } - assertFields := func(label string, fields core.UnknownJSONFields) { + if forwarded.AnthropicMessagesRequest { + t.Error("provider received internal Anthropic Messages ingress marker") + } + assertFields := func(label string, fields core.UnknownJSONFields, wantCache bool) { t.Helper() hasCache := len(fields.Lookup("cache_control")) > 0 - if hasCache != tt.wantCache { - t.Errorf("%s cache_control present = %v, want %v", label, hasCache, tt.wantCache) + if hasCache != wantCache { + t.Errorf("%s cache_control present = %v, want %v", label, hasCache, wantCache) } if got := string(fields.Lookup("x_keep")); got != "true" { t.Errorf("%s x_keep = %s, want preserved", label, got) } } - assertFields("request", forwarded.ExtraFields) + assertFields("request", forwarded.ExtraFields, tt.wantCache) _, toolHasCache := forwarded.Tools[0]["cache_control"] if toolHasCache != tt.wantCache { t.Errorf("tool cache_control present = %v, want %v", toolHasCache, tt.wantCache) } - assertFields("assistant message", forwarded.Messages[0].ExtraFields) - assertFields("assistant content", forwarded.Messages[0].Content.([]core.ContentPart)[0].ExtraFields) + assertFields("assistant message", forwarded.Messages[0].ExtraFields, tt.wantCache) + assertFields("assistant content", forwarded.Messages[0].Content.([]core.ContentPart)[0].ExtraFields, tt.wantCache) call := forwarded.Messages[0].ToolCalls[0] - assertFields("tool call", call.ExtraFields) - assertFields("function call", call.Function.ExtraFields) - assertFields("tool result", forwarded.Messages[1].ExtraFields) - assertFields("tool result content", forwarded.Messages[1].Content.([]core.ContentPart)[0].ExtraFields) + assertFields("tool call", call.ExtraFields, tt.wantCache) + assertFields("function call", call.Function.ExtraFields, tt.wantCache) + assertFields("tool result", forwarded.Messages[1].ExtraFields, tt.wantCache) + assertFields("tool result content", forwarded.Messages[1].Content.([]core.ContentPart)[0].ExtraFields, tt.wantCache) + + assertFields("caller request", request.ExtraFields, true) + assertFields("caller assistant message", request.Messages[0].ExtraFields, true) + assertFields("caller assistant content", request.Messages[0].Content.([]core.ContentPart)[0].ExtraFields, true) + callerCall := request.Messages[0].ToolCalls[0] + assertFields("caller tool call", callerCall.ExtraFields, true) + assertFields("caller function call", callerCall.Function.ExtraFields, true) + assertFields("caller tool result", request.Messages[1].ExtraFields, true) + assertFields("caller tool result content", request.Messages[1].Content.([]core.ContentPart)[0].ExtraFields, true) + if request.AnthropicMessagesRequest != tt.messagesIngress { + t.Errorf("caller ingress marker = %v, want %v", request.AnthropicMessagesRequest, tt.messagesIngress) + } after, err := json.Marshal(request) if err != nil { From dda436273f436426b4f4b17083ea62bb4939227d Mon Sep 17 00:00:00 2001 From: "Jakub A. W" Date: Sat, 1 Aug 2026 18:57:19 +0200 Subject: [PATCH 7/7] fix(providers): adapt message batch cache metadata --- internal/anthropicapi/request.go | 15 +- internal/anthropicapi/request_test.go | 3 - internal/core/context.go | 25 +++ internal/core/types.go | 4 - internal/providers/cache_control.go | 35 ++++ internal/providers/router.go | 24 +-- internal/providers/router_test.go | 150 ++++++++++++++++-- internal/server/handlers_test.go | 7 +- .../server/messages_batch_handler_test.go | 3 + internal/server/messages_batch_service.go | 1 + internal/server/messages_handler.go | 3 +- internal/server/messages_handler_test.go | 3 + 12 files changed, 229 insertions(+), 44 deletions(-) diff --git a/internal/anthropicapi/request.go b/internal/anthropicapi/request.go index 64553bc74..6c5be821e 100644 --- a/internal/anthropicapi/request.go +++ b/internal/anthropicapi/request.go @@ -59,14 +59,13 @@ func ToChatRequest(req *MessagesRequest) (*core.ChatRequest, error) { maxTokens := req.MaxTokens chat := &core.ChatRequest{ - Model: req.Model, - Messages: messages, - MaxTokens: &maxTokens, - Temperature: req.Temperature, - TopP: req.TopP, - Stream: req.Stream, - Reasoning: thinkingToReasoning(req.Thinking), - AnthropicMessagesRequest: true, + Model: req.Model, + Messages: messages, + MaxTokens: &maxTokens, + Temperature: req.Temperature, + TopP: req.TopP, + Stream: req.Stream, + Reasoning: thinkingToReasoning(req.Thinking), } if req.Metadata != nil && strings.TrimSpace(req.Metadata.UserID) != "" { chat.User = req.Metadata.UserID diff --git a/internal/anthropicapi/request_test.go b/internal/anthropicapi/request_test.go index 3dd6f3c40..dca903ee2 100644 --- a/internal/anthropicapi/request_test.go +++ b/internal/anthropicapi/request_test.go @@ -404,9 +404,6 @@ func TestToChatRequestPreservesAnthropicCacheControls(t *testing.T) { if err != nil { t.Fatalf("ToChatRequest: %v", err) } - if !chat.AnthropicMessagesRequest { - t.Fatal("AnthropicMessagesRequest = false, want Messages ingress marker") - } want := `{"type":"ephemeral"}` if got := string(chat.ExtraFields.Lookup("cache_control")); got != want { t.Errorf("request cache_control = %s, want %s", got, want) diff --git a/internal/core/context.go b/internal/core/context.go index dc7cc62a7..c51f58be9 100644 --- a/internal/core/context.go +++ b/internal/core/context.go @@ -29,6 +29,10 @@ const ( requestLabelsKey contextKey = "request-labels" // sessionIDKey stores the client session id detected for the request. sessionIDKey contextKey = "session-id" + // requestDialectKey stores the external API dialect translated into a + // canonical request. Post-routing adapters use it to keep provider-specific + // metadata from leaking to incompatible upstream APIs. + requestDialectKey contextKey = "request-dialect" // taggingStripHeadersKey stores canonical tagging header names that must not // be forwarded to upstream providers. taggingStripHeadersKey contextKey = "tagging-strip-headers" @@ -67,9 +71,14 @@ const ( // internal gateway-owned workflow. type RequestOrigin string +// RequestDialect identifies the external request shape translated at ingress. +type RequestDialect string + const ( RequestOriginExternal RequestOrigin = "external" RequestOriginGuardrail RequestOrigin = "guardrail" + + RequestDialectAnthropicMessages RequestDialect = "anthropic_messages" ) // WithRequestID returns a new context with the request ID attached. @@ -152,6 +161,22 @@ func SessionIDFromContext(ctx context.Context) string { return "" } +// WithRequestDialect returns a context carrying the translated ingress dialect. +func WithRequestDialect(ctx context.Context, dialect RequestDialect) context.Context { + if dialect == "" { + return ctx + } + return context.WithValue(ctx, requestDialectKey, dialect) +} + +// RequestDialectFromContext returns the translated ingress dialect, if any. +func RequestDialectFromContext(ctx context.Context) RequestDialect { + if dialect, ok := ctx.Value(requestDialectKey).(RequestDialect); ok { + return dialect + } + return "" +} + // WithAuthKeyID returns a new context with the authenticated managed auth key id attached. func WithAuthKeyID(ctx context.Context, id string) context.Context { return context.WithValue(ctx, authKeyIDKey, id) diff --git a/internal/core/types.go b/internal/core/types.go index ff137803a..2709e01cf 100644 --- a/internal/core/types.go +++ b/internal/core/types.go @@ -41,10 +41,6 @@ type ChatRequest struct { User string `json:"user,omitempty"` ServiceTier string `json:"service_tier,omitempty"` ExtraFields UnknownJSONFields `json:"-" swaggerignore:"true"` - // AnthropicMessagesRequest marks the canonical form of /v1/messages - // ingress. It lets post-routing adaptation remove Anthropic-only metadata - // without changing opaque fields supplied to /v1/chat/completions. - AnthropicMessagesRequest bool `json:"-" swaggerignore:"true"` } func (r *ChatRequest) semanticSelector() (string, string) { diff --git a/internal/providers/cache_control.go b/internal/providers/cache_control.go index 5645dfebb..a7327f05c 100644 --- a/internal/providers/cache_control.go +++ b/internal/providers/cache_control.go @@ -1,9 +1,13 @@ package providers import ( + "context" + "fmt" "slices" "strings" + "github.com/goccy/go-json" + "github.com/enterpilot/gomodel/internal/core" ) @@ -38,6 +42,37 @@ func adaptAnthropicCacheControl(req *core.ChatRequest, providerType string) *cor return &adapted } +// adaptAnthropicBatchCacheControl applies the same post-routing policy to +// canonical chat items produced by the Anthropic Message Batches ingress. +// Ordinary OpenAI-compatible batches remain opaque and caller-owned. +func adaptAnthropicBatchCacheControl(ctx context.Context, req *core.BatchRequest, providerType string) (*core.BatchRequest, error) { + if req == nil || core.RequestDialectFromContext(ctx) != core.RequestDialectAnthropicMessages || + providerAcceptsAnthropicCacheControl(providerType) { + return req, nil + } + + adapted := *req + adapted.Requests = append([]core.BatchRequestItem(nil), req.Requests...) + for i, item := range req.Requests { + decoded, err := core.DecodeKnownBatchItemRequest(req.Endpoint, item) + if err != nil { + return nil, core.NewInvalidRequestError(fmt.Sprintf("requests[%d]: %v", i, err), err) + } + chat, ok := decoded.Request.(*core.ChatRequest) + if !ok { + return nil, core.NewInvalidRequestError( + fmt.Sprintf("requests[%d]: Anthropic Message Batch item is not a chat completion", i), nil, + ) + } + body, err := json.Marshal(adaptAnthropicCacheControl(chat, providerType)) + if err != nil { + return nil, core.NewInvalidRequestError(fmt.Sprintf("requests[%d]: failed to encode adapted chat request", i), err) + } + adapted.Requests[i].Body = body + } + return &adapted, nil +} + func providerAcceptsAnthropicCacheControl(providerType string) bool { switch strings.ToLower(strings.TrimSpace(providerType)) { case "anthropic", "openrouter": diff --git a/internal/providers/router.go b/internal/providers/router.go index ff9c682f9..bc20616d6 100644 --- a/internal/providers/router.go +++ b/internal/providers/router.go @@ -548,13 +548,11 @@ func stampProvider[T any](resp T, providerType string) T { // Provider is gateway routing metadata on OpenAI-compatible request structs and // must be removed before dispatching to an upstream provider implementation. -func (r *Router) forwardChatRequest(req *core.ChatRequest, selector core.ModelSelector) *core.ChatRequest { +func (r *Router) forwardChatRequest(ctx context.Context, req *core.ChatRequest, selector core.ModelSelector) *core.ChatRequest { forwardReq := *req forwardReq.Model = selector.Model forwardReq.Provider = "" - messagesIngress := forwardReq.AnthropicMessagesRequest - forwardReq.AnthropicMessagesRequest = false - if !messagesIngress { + if core.RequestDialectFromContext(ctx) != core.RequestDialectAnthropicMessages { return &forwardReq } // The selector is already concrete, so querying the lookup directly avoids @@ -629,7 +627,7 @@ func (r *Router) ChatCompletion(ctx context.Context, req *core.ChatRequest) (*co req.Model, req.Provider, func(selector core.ModelSelector) *core.ChatRequest { - return r.forwardChatRequest(req, selector) + return r.forwardChatRequest(ctx, req, selector) }, callChatCompletion, ) @@ -644,7 +642,7 @@ func (r *Router) StreamChatCompletion(ctx context.Context, req *core.ChatRequest req.Model, req.Provider, func(selector core.ModelSelector) *core.ChatRequest { - return r.forwardChatRequest(req, selector) + return r.forwardChatRequest(ctx, req, selector) }, func(ctx context.Context, provider core.Provider, forwardReq *core.ChatRequest) (io.ReadCloser, error) { return provider.StreamChatCompletion(ctx, forwardReq) @@ -1032,8 +1030,12 @@ func (r *Router) Passthrough(ctx context.Context, providerType string, req *core // CreateBatch routes native batch creation to a provider type. func (r *Router) CreateBatch(ctx context.Context, providerType string, req *core.BatchRequest) (*core.BatchResponse, error) { + forwardReq, err := adaptAnthropicBatchCacheControl(ctx, req, providerType) + if err != nil { + return nil, err + } resp, err := routeNativeBatchCall(r, ctx, providerType, func(ctx context.Context, bp core.NativeBatchProvider) (*core.BatchResponse, error) { - return bp.CreateBatch(ctx, req) + return bp.CreateBatch(ctx, forwardReq) }) return stampProvider(resp, providerType), err } @@ -1045,12 +1047,16 @@ func (r *Router) CreateBatchWithHints(ctx context.Context, providerType string, resp *core.BatchResponse hints map[string]string } + forwardReq, err := adaptAnthropicBatchCacheControl(ctx, req, providerType) + if err != nil { + return nil, nil, err + } result, err := routeNativeBatchCall(r, ctx, providerType, func(ctx context.Context, bp core.NativeBatchProvider) (createBatchWithHintsResult, error) { if hinted, ok := bp.(core.BatchCreateHintAwareProvider); ok { - resp, hints, err := hinted.CreateBatchWithHints(ctx, req) + resp, hints, err := hinted.CreateBatchWithHints(ctx, forwardReq) return createBatchWithHintsResult{resp: resp, hints: hints}, err } - resp, err := bp.CreateBatch(ctx, req) + resp, err := bp.CreateBatch(ctx, forwardReq) return createBatchWithHintsResult{resp: resp}, err }) return stampProvider(result.resp, providerType), result.hints, err diff --git a/internal/providers/router_test.go b/internal/providers/router_test.go index b7fe63677..0883fe807 100644 --- a/internal/providers/router_test.go +++ b/internal/providers/router_test.go @@ -227,6 +227,7 @@ type mockBatchProvider struct { capturedBatchHints map[string]string capturedBatchID string clearedBatchHintID string + lastBatchReq *core.BatchRequest } type mockResponseProvider struct { @@ -263,7 +264,8 @@ func (m *mockResponseProvider) CompactResponse(_ context.Context, req *core.Resp return &core.ResponseCompactResponse{ID: "cmp_1", Object: "response.compaction"}, nil } -func (m *mockBatchProvider) CreateBatch(_ context.Context, _ *core.BatchRequest) (*core.BatchResponse, error) { +func (m *mockBatchProvider) CreateBatch(_ context.Context, req *core.BatchRequest) (*core.BatchResponse, error) { + m.lastBatchReq = req return &core.BatchResponse{ID: "provider-batch-1", Object: "batch"}, nil } @@ -581,9 +583,8 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing "x_keep": json.RawMessage(`true`), }) request := &core.ChatRequest{ - Model: "gpt-4o", - ExtraFields: cacheExtra, - AnthropicMessagesRequest: tt.messagesIngress, + Model: "gpt-4o", + ExtraFields: cacheExtra, Tools: []map[string]any{{ "type": "function", "function": map[string]any{"name": "lookup"}, @@ -630,7 +631,11 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing lookup := newMockLookup() lookup.addModel("gpt-4o", provider, tt.providerType) router, _ := NewRouter(lookup) - if _, err := router.ChatCompletion(context.Background(), request); err != nil { + ctx := context.Background() + if tt.messagesIngress { + ctx = core.WithRequestDialect(ctx, core.RequestDialectAnthropicMessages) + } + if _, err := router.ChatCompletion(ctx, request); err != nil { t.Fatal(err) } @@ -638,23 +643,32 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing if forwarded == nil { t.Fatal("provider did not receive a request") } - if forwarded.AnthropicMessagesRequest { - t.Error("provider received internal Anthropic Messages ingress marker") - } + expectedCache := json.RawMessage(`{"type":"ephemeral"}`) assertFields := func(label string, fields core.UnknownJSONFields, wantCache bool) { t.Helper() - hasCache := len(fields.Lookup("cache_control")) > 0 - if hasCache != wantCache { - t.Errorf("%s cache_control present = %v, want %v", label, hasCache, wantCache) + gotCache := fields.Lookup("cache_control") + if wantCache && !bytes.Equal(gotCache, expectedCache) { + t.Errorf("%s cache_control = %s, want %s", label, gotCache, expectedCache) + } + if !wantCache && len(gotCache) != 0 { + t.Errorf("%s cache_control = %s, want absent", label, gotCache) } if got := string(fields.Lookup("x_keep")); got != "true" { t.Errorf("%s x_keep = %s, want preserved", label, got) } } assertFields("request", forwarded.ExtraFields, tt.wantCache) - _, toolHasCache := forwarded.Tools[0]["cache_control"] - if toolHasCache != tt.wantCache { - t.Errorf("tool cache_control present = %v, want %v", toolHasCache, tt.wantCache) + toolCache, toolHasCache := forwarded.Tools[0]["cache_control"] + if tt.wantCache { + encoded, err := json.Marshal(toolCache) + if err != nil { + t.Fatal(err) + } + if !toolHasCache || !bytes.Equal(encoded, expectedCache) { + t.Errorf("tool cache_control = %s, want %s", encoded, expectedCache) + } + } else if toolHasCache { + t.Errorf("tool cache_control = %v, want absent", toolCache) } assertFields("assistant message", forwarded.Messages[0].ExtraFields, tt.wantCache) assertFields("assistant content", forwarded.Messages[0].Content.([]core.ContentPart)[0].ExtraFields, tt.wantCache) @@ -672,9 +686,6 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing assertFields("caller function call", callerCall.Function.ExtraFields, true) assertFields("caller tool result", request.Messages[1].ExtraFields, true) assertFields("caller tool result content", request.Messages[1].Content.([]core.ContentPart)[0].ExtraFields, true) - if request.AnthropicMessagesRequest != tt.messagesIngress { - t.Errorf("caller ingress marker = %v, want %v", request.AnthropicMessagesRequest, tt.messagesIngress) - } after, err := json.Marshal(request) if err != nil { @@ -687,6 +698,111 @@ func TestRouterChatCompletion_AdaptsAnthropicCacheControlAfterRouting(t *testing } } +func TestRouterCreateBatch_AdaptsAnthropicCacheControlAfterRouting(t *testing.T) { + tests := []struct { + name string + providerType string + messagesIngress bool + withHints bool + wantCache bool + }{ + {name: "messages ingress strips for openai", providerType: "openai", messagesIngress: true}, + {name: "messages ingress strips with hint-aware route", providerType: "openai", messagesIngress: true, withHints: true}, + {name: "generic batch preserves for openai", providerType: "openai", wantCache: true}, + {name: "messages ingress preserves for anthropic", providerType: "anthropic", messagesIngress: true, wantCache: true}, + {name: "messages ingress preserves for openrouter", providerType: "openrouter", messagesIngress: true, wantCache: true}, + } + + const body = `{ + "model":"gpt-4o", + "cache_control":{"type":"ephemeral"}, + "x_keep":true, + "messages":[{"role":"user","content":[{ + "type":"text","text":"stable prefix", + "cache_control":{"type":"ephemeral"},"x_keep":true + }]}], + "tools":[{"type":"function","function":{"name":"lookup"},"cache_control":{"type":"ephemeral"}}] + }` + expectedCache := json.RawMessage(`{"type":"ephemeral"}`) + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + provider := &mockBatchProvider{mockProvider: mockProvider{name: tt.providerType}} + lookup := newMockLookup() + lookup.addModel("gpt-4o", provider, tt.providerType) + router, _ := NewRouter(lookup) + + request := &core.BatchRequest{ + Endpoint: "/v1/chat/completions", + Requests: []core.BatchRequestItem{{ + CustomID: "item-1", + Method: http.MethodPost, + URL: "/v1/chat/completions", + Body: json.RawMessage(body), + }}, + } + before := append(json.RawMessage(nil), request.Requests[0].Body...) + ctx := context.Background() + if tt.messagesIngress { + ctx = core.WithRequestDialect(ctx, core.RequestDialectAnthropicMessages) + } + if tt.withHints { + if _, _, err := router.CreateBatchWithHints(ctx, tt.providerType, request); err != nil { + t.Fatal(err) + } + } else if _, err := router.CreateBatch(ctx, tt.providerType, request); err != nil { + t.Fatal(err) + } + + if provider.lastBatchReq == nil || len(provider.lastBatchReq.Requests) != 1 { + t.Fatalf("provider batch request = %#v, want one item", provider.lastBatchReq) + } + decoded, err := core.DecodeKnownBatchItemRequest(provider.lastBatchReq.Endpoint, provider.lastBatchReq.Requests[0]) + if err != nil { + t.Fatal(err) + } + chat := decoded.Request.(*core.ChatRequest) + gotCache := chat.ExtraFields.Lookup("cache_control") + if tt.wantCache && !bytes.Equal(gotCache, expectedCache) { + t.Errorf("request cache_control = %s, want %s", gotCache, expectedCache) + } + if !tt.wantCache && len(gotCache) != 0 { + t.Errorf("request cache_control = %s, want absent", gotCache) + } + if got := string(chat.ExtraFields.Lookup("x_keep")); got != "true" { + t.Errorf("request x_keep = %s, want true", got) + } + part := chat.Messages[0].Content.([]core.ContentPart)[0] + partCache := part.ExtraFields.Lookup("cache_control") + if tt.wantCache && !bytes.Equal(partCache, expectedCache) { + t.Errorf("content cache_control = %s, want %s", partCache, expectedCache) + } + if !tt.wantCache && len(partCache) != 0 { + t.Errorf("content cache_control = %s, want absent", partCache) + } + if got := string(part.ExtraFields.Lookup("x_keep")); got != "true" { + t.Errorf("content x_keep = %s, want true", got) + } + toolCache, toolHasCache := chat.Tools[0]["cache_control"] + if tt.wantCache { + encoded, err := json.Marshal(toolCache) + if err != nil { + t.Fatal(err) + } + if !toolHasCache || !bytes.Equal(encoded, expectedCache) { + t.Errorf("tool cache_control = %s, want %s", encoded, expectedCache) + } + } else if toolHasCache { + t.Errorf("tool cache_control = %v, want absent", toolCache) + } + + if !bytes.Equal(request.Requests[0].Body, before) { + t.Fatalf("routing mutated caller batch item\nbefore: %s\n after: %s", before, request.Requests[0].Body) + } + }) + } +} + func TestAdaptAnthropicCacheControl_PreservesSupportedProviders(t *testing.T) { req := &core.ChatRequest{ExtraFields: core.UnknownJSONFieldsFromMap(map[string]json.RawMessage{ "cache_control": json.RawMessage(`{"type":"ephemeral"}`), diff --git a/internal/server/handlers_test.go b/internal/server/handlers_test.go index 2493e7f56..24692dc17 100644 --- a/internal/server/handlers_test.go +++ b/internal/server/handlers_test.go @@ -5365,12 +5365,14 @@ func (m *mockPricingResolver) ResolvePricing(model, provider string) *core.Model // capturingProvider is a mockProvider that captures the request passed to StreamResponses/StreamChatCompletion. type capturingProvider struct { mockProvider + capturedChatCtx context.Context capturedChatReq *core.ChatRequest capturedResponsesReq *core.ResponsesRequest capturedEmbeddingReq *core.EmbeddingRequest } -func (c *capturingProvider) ChatCompletion(_ context.Context, req *core.ChatRequest) (*core.ChatResponse, error) { +func (c *capturingProvider) ChatCompletion(ctx context.Context, req *core.ChatRequest) (*core.ChatResponse, error) { + c.capturedChatCtx = ctx c.capturedChatReq = req if c.err != nil { return nil, c.err @@ -5378,7 +5380,8 @@ func (c *capturingProvider) ChatCompletion(_ context.Context, req *core.ChatRequ return c.response, nil } -func (c *capturingProvider) StreamChatCompletion(_ context.Context, req *core.ChatRequest) (io.ReadCloser, error) { +func (c *capturingProvider) StreamChatCompletion(ctx context.Context, req *core.ChatRequest) (io.ReadCloser, error) { + c.capturedChatCtx = ctx c.capturedChatReq = req return io.NopCloser(strings.NewReader(c.streamData)), nil } diff --git a/internal/server/messages_batch_handler_test.go b/internal/server/messages_batch_handler_test.go index de74126b4..e80cb0b0c 100644 --- a/internal/server/messages_batch_handler_test.go +++ b/internal/server/messages_batch_handler_test.go @@ -79,6 +79,9 @@ func TestMessagesBatches_CreateGetList(t *testing.T) { if mock.capturedBatchReq == nil || len(mock.capturedBatchReq.Requests) != 2 { t.Fatalf("capturedBatchReq = %+v", mock.capturedBatchReq) } + if got := core.RequestDialectFromContext(mock.capturedBatchCtx); got != core.RequestDialectAnthropicMessages { + t.Fatalf("request dialect = %q, want %q", got, core.RequestDialectAnthropicMessages) + } item := mock.capturedBatchReq.Requests[0] if item.CustomID != "first" || item.URL != "/v1/chat/completions" { t.Fatalf("item = %+v", item) diff --git a/internal/server/messages_batch_service.go b/internal/server/messages_batch_service.go index b2761fc78..6ad34e911 100644 --- a/internal/server/messages_batch_service.go +++ b/internal/server/messages_batch_service.go @@ -30,6 +30,7 @@ func (s *nativeBatchService) CreateMessageBatch(c *echo.Context) error { } ctx, requestID := requestContextWithRequestID(c.Request()) + ctx = core.WithRequestDialect(ctx, core.RequestDialectAnthropicMessages) result, err := s.batch().Create(ctx, req, batchRequestMeta(c, requestID)) if err != nil { return handleError(c, err) diff --git a/internal/server/messages_handler.go b/internal/server/messages_handler.go index c42099b5a..5703ce6cc 100644 --- a/internal/server/messages_handler.go +++ b/internal/server/messages_handler.go @@ -156,7 +156,8 @@ func (s *translatedInferenceService) Messages(c *echo.Context) error { return handleError(c, err) } - ctx, prepared, workflow, err := prepareChatCompletionRequest(s, c.Request().Context(), req, translatedRequestMeta(c)) + ctx := core.WithRequestDialect(c.Request().Context(), core.RequestDialectAnthropicMessages) + ctx, prepared, workflow, err := prepareChatCompletionRequest(s, ctx, req, translatedRequestMeta(c)) if err != nil { return handleError(c, err) } diff --git a/internal/server/messages_handler_test.go b/internal/server/messages_handler_test.go index ecf907729..4ad31c82d 100644 --- a/internal/server/messages_handler_test.go +++ b/internal/server/messages_handler_test.go @@ -68,6 +68,9 @@ func TestMessages_NonStreaming(t *testing.T) { if provider.capturedChatReq == nil { t.Fatal("provider did not receive a chat request") } + if got := core.RequestDialectFromContext(provider.capturedChatCtx); got != core.RequestDialectAnthropicMessages { + t.Fatalf("request dialect = %q, want %q", got, core.RequestDialectAnthropicMessages) + } msgs := provider.capturedChatReq.Messages if len(msgs) != 2 || msgs[0].Role != "system" || msgs[1].Role != "user" { t.Fatalf("translated messages = %+v", msgs)