commit 48cd0f8d3cd1493b782a2b8bb8b3ed0e7ec4f792 Author: harald Date: Fri Mar 6 14:37:04 2026 +0000 initial COM1 gateway system blueprint diff --git a/agents/json_homepage_agent.py b/agents/json_homepage_agent.py new file mode 100755 index 0000000..57b505a --- /dev/null +++ b/agents/json_homepage_agent.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +import json +import os + +WORKSPACE = "/opt/hx-ki/workspaces/homepage" +FILE = os.path.join(WORKSPACE, "homepage.json") + +os.makedirs(WORKSPACE, exist_ok=True) + +content = { + "hero_title": "HX-KI – Dynamischer JSON-Agent", + "hero_sub": "Content kommt aus dem Workspace auf Falkenstein – kein Zugriff auf Gehirn oder Motor.", + "sections": [ + { + "title": "Agent-Status", + "text": "Dieser JSON-Agent kann von Events, Cron, KI oder Mautic getriggert werden." + }, + { + "title": "Architektur-Sicherheit", + "text": "Falkenstein liest nur den Workspace. Nürnberg & Helsinki bleiben intern." + } + ] +} + +with open(FILE, "w") as f: + json.dump(content, f, indent=2) + +print(f"✔ homepage.json durch json_homepage_agent.py erzeugt/aktualisiert: {FILE}") diff --git a/bin/hxki_birth_from_tresor.sh b/bin/hxki_birth_from_tresor.sh new file mode 100755 index 0000000..aa03a7a --- /dev/null +++ b/bin/hxki_birth_from_tresor.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Verzeichnis deines Inventar-Repos (lokal auf Falkenstein!) +INVENTORY_DIR="/opt/hx-ki/repos/hxki-inventory" + +REPORT_DIR="/opt/hx-ki/reports" +mkdir -p "$REPORT_DIR" + +TS="$(date +"%Y-%m-%d_%H%M%S")" +OUT="${REPORT_DIR}/HXKI_System_BirthCertificate_${TS}.txt" + +{ + echo "=== HXKI SYSTEM GEBURTSURKUNDE ===" + echo "Quelle: $INVENTORY_DIR" + echo "Zeitpunkt: $(date)" + echo + + echo "1) Gesamtübersicht" + echo "------------------" + echo -n "Gesamtgröße des Tresors: " + du -sh "$INVENTORY_DIR" | awk '{print $1}' + echo -n "Anzahl Dateien gesamt: " + find "$INVENTORY_DIR" -type f | wc -l + echo + + echo "2) Verzeichnisstruktur (Top-Level, Tiefe 2)" + echo "------------------------------------------" + find "$INVENTORY_DIR" -maxdepth 2 -type d | sed "s|$INVENTORY_DIR|.|" + echo + + echo "3) Größte 20 Dateien im Tresor" + echo "------------------------------" + # benötigt GNU find (auf Ubuntu Standard) + find "$INVENTORY_DIR" -type f -printf '%s %p\n' \ + | sort -nr \ + | head -20 \ + | awk '{printf "%10.1f MB %s\n", $1/1024/1024, $2}' + echo + + echo "4) Inventar- und Log-Dateien (Auszug)" + echo "-------------------------------------" + INVENT_FILES=$(find "$INVENTORY_DIR" -type f \( -iname "*inventory*" -o -iname "*inventar*" -o -iname "*.log" \) | head -10) + if [ -z "$INVENT_FILES" ]; then + echo "Keine Inventar-/Log-Dateien gefunden." + else + for f in $INVENT_FILES; do + echo + echo "--- Datei: ${f#$INVENTORY_DIR/} ---" + echo "(erste 40 Zeilen)" + echo + sed -n '1,40p' "$f" + echo + done + fi + + echo + echo "5) Zusammenfassung" + echo "------------------" + echo "Diese Geburtsurkunde beschreibt den Zustand des HX-KI Tresors" + echo "auf Falkenstein zum angegebenen Zeitpunkt (Größe, Struktur," + echo "wichtigste Dateien und Inventarauszüge)." + echo +} > "$OUT" + +echo "$OUT" diff --git a/bin/hxki_falkenstein_birth_certificate.sh b/bin/hxki_falkenstein_birth_certificate.sh new file mode 100755 index 0000000..7429b75 --- /dev/null +++ b/bin/hxki_falkenstein_birth_certificate.sh @@ -0,0 +1,152 @@ +#!/usr/bin/env bash +# ========================================== +# HX-KI FALKENSTEIN - BIRTH CERTIFICATE V1.0 +# ========================================== + +set -euo pipefail + +# Basispfade +REPORT_DIR="/opt/hx-ki/reports" +mkdir -p "$REPORT_DIR" + +TIMESTAMP="$(date +"%Y-%m-%d_%H%M%S")" +REPORT_FILE="${REPORT_DIR}/hxki_falkenstein_birth_certificate_${TIMESTAMP}.txt" + +# Header +{ + echo "===============================================" + echo " HX-KI SYSTEM GEBURTSURKUNDE – FALKENSTEIN" + echo "===============================================" + echo "Erzeugt am: $(date)" + echo +} > "$REPORT_FILE" + +# 1) Server-Basisdaten +{ + echo "1) SERVER-BASISDATEN" + echo "--------------------" + echo "Hostname: $(hostname)" + echo "OS: $(grep PRETTY_NAME /etc/os-release | cut -d= -f2- | tr -d '\"')" + echo "Kernel: $(uname -r)" + echo "CPU: $(lscpu | grep 'Model name' | sed 's/Model name:\s*//')" + echo "CPU Cores: $(nproc)" + echo "RAM (gesamt): $(grep MemTotal /proc/meminfo | awk '{printf \"%.1f GB\", $2/1024/1024}')" + echo "Swap: $(grep SwapTotal /proc/meminfo | awk '{printf \"%.1f GB\", $2/1024/1024}')" + echo "Root-Filesystem: $(df -h / | tail -1 | awk '{print $2 \" gesamt, \" $3 \" belegt, \" $4 \" frei (\" $5 \" genutzt)\"}')" + echo +} >> "$REPORT_FILE" + +# 2) Docker / Container / Services +{ + echo "2) DOCKER & CONTAINERZUSTAND" + echo "----------------------------" + if command -v docker >/dev/null 2>&1; then + echo "Docker Version: $(docker --version)" + echo + echo "Laufende Container:" + docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}" || echo "Keine laufenden Container gefunden." + else + echo "Docker ist nicht installiert oder nicht im PATH." + fi + echo +} >> "$REPORT_FILE" + +# 3) Wichtige HX-KI-Komponenten erkennen +{ + echo "3) HX-KI KOMPONENTEN – FALKENSTEIN" + echo "----------------------------------" + echo "Hinweis: Erkennung über Container-Namen (hxki-*)" + + if command -v docker >/dev/null 2>&1; then + # Liste typischer Dienste + SERVICES=( + "hxki-gitea" + "hxki-grafana" + "hxki-prometheus" + "hxki-n8n" + "hxki-mariadb" + "hxki-mautic" + "hxki-syncthing" + "hxki-nats" + "hxki-web" + "hxki-postgres" + "hxki-mailcow" + ) + + for s in "${SERVICES[@]}"; do + if docker ps --format '{{.Names}}' | grep -q "^${s}$"; then + status="$(docker ps --filter "name=${s}" --format '{{.Status}}')" + image="$(docker ps --filter "name=${s}" --format '{{.Image}}')" + echo "- ${s}: LAUFEND (${status}, Image: ${image})" + elif docker ps -a --format '{{.Names}}' | grep -q "^${s}$"; then + status="$(docker ps -a --filter "name=${s}" --format '{{.Status}}')" + image="$(docker ps -a --filter "name=${s}" --format '{{.Image}}')" + echo "- ${s}: INSTALLIERT, ABER NICHT LAUFEND (${status}, Image: ${image})" + else + echo "- ${s}: NICHT GEFUNDEN" + fi + done + else + echo "Docker nicht verfügbar – Komponenten können nicht geprüft werden." + fi + + echo +} >> "$REPORT_FILE" + +# 4) Netzwerke & Ports +{ + echo "4) NETZWERK & PORTS" + echo "-------------------" + if command -v docker >/dev/null 2>&1; then + echo "Docker-Netzwerke:" + docker network ls || echo "Keine Netzwerke gefunden." + echo + fi + + echo "Aktiv lauschende Ports (netstat/ss):" + if command -v ss >/dev/null 2>&1; then + ss -tulpn | sed -n '1,50p' + elif command -v netstat >/dev/null 2>&1; then + netstat -tulpn | sed -n '1,50p' + else + echo "Weder ss noch netstat verfügbar." + fi + echo +} >> "$REPORT_FILE" + +# 5) HX-KI Verzeichnisstruktur (falls vorhanden) +{ + echo "5) HX-KI VERZEICHNISSTRUKTUR (KURZÜBERSICHT)" + echo "--------------------------------------------" + HX_DIR="/opt/hx-ki" + if [ -d "$HX_DIR" ]; then + echo "Basisverzeichnis: $HX_DIR" + echo + echo "Top-Level-Struktur:" + find "$HX_DIR" -maxdepth 2 -type d | sed "s|$HX_DIR|/opt/hx-ki|" + else + echo "$HX_DIR existiert nicht oder ist nicht erreichbar." + fi + echo +} >> "$REPORT_FILE" + +# 6) Zusammenfassung +{ + echo "6) KURZZUSAMMENFASSUNG – FALKENSTEIN STATUS" + echo "-------------------------------------------" + echo "Dieser Bericht fasst den aktuellen Systemzustand des HX-KI Knotens" + echo "Falkenstein zusammen (Serverressourcen, Container, Netzwerke, HX-KI" + echo "Kernkomponenten und Basisstruktur)." + echo + echo "Berichtsdatei:" + echo " $REPORT_FILE" + echo + echo "Hinweis:" + echo "- Dies ist die 'Geburtsurkunde' des Systemzustands zum Zeitpunkt:" + echo " $(date)" + echo "- Der Bericht kann jederzeit erneut erzeugt werden." + echo +} >> "$REPORT_FILE" + +echo "HX-KI Geburtsurkunde für Falkenstein erstellt:" +echo " $REPORT_FILE" diff --git a/bin/hxki_fix_host80.sh b/bin/hxki_fix_host80.sh new file mode 100755 index 0000000..d9f519b --- /dev/null +++ b/bin/hxki_fix_host80.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +set -euo pipefail + +DOCKER_DIR="/opt/hx-ki/docker" +cd "$DOCKER_DIR" + +echo "=> Backup docker-compose.yml ..." +cp docker-compose.yml docker-compose.yml.bak_host80_$(date +%Y%m%d_%H%M%S) + +echo "=> Entferne NUR Host-Port-80-Mappings aus docker-compose.yml ..." +awk ' + BEGIN { + in_ports = 0 + ports_n = 0 + } + { + line = $0 + + # Wenn wir gerade in einem ports:-Block sind + if (in_ports) { + if ($1 ~ /^-/) { + # Host-Port 80? Dann überspringen + if (line ~ /(^[[:space:]]*-[[:space:]]*"80:[0-9]+")|(^[[:space:]]*-[[:space:]]*80:[0-9]+)/) { + next + } else { + ports_buf[++ports_n] = line + next + } + } else { + # Ende des ports:-Blocks + in_ports = 0 + if (ports_n > 0) { + print ports_header + for (i = 1; i <= ports_n; i++) print ports_buf[i] + } + ports_n = 0 + # fällt jetzt durch und verarbeitet die aktuelle Zeile normal + } + } + + # Neuer ports:-Block + if (line ~ /^[[:space:]]+ports:/) { + in_ports = 1 + ports_header = line + ports_n = 0 + next + } + + # Normale Zeile + print line + } +' docker-compose.yml > docker-compose.yml.tmp + +mv docker-compose.yml.tmp docker-compose.yml + +echo "=> Orchester starten ..." +docker compose up -d --remove-orphans diff --git a/bin/hxki_fix_web_v2.sh b/bin/hxki_fix_web_v2.sh new file mode 100755 index 0000000..e768316 --- /dev/null +++ b/bin/hxki_fix_web_v2.sh @@ -0,0 +1,79 @@ +#!/usr/bin/env bash +set -euo pipefail + +DOCKER_DIR="/opt/hx-ki/docker" +cd "$DOCKER_DIR" + +echo "==> Schritt 1: Backups der Compose-Dateien anlegen ..." +for f in docker-compose.yml docker-compose.override.yml; do + if [ -f "$f" ]; then + cp "$f" "${f}.bak_hxkiweb_$(date +%Y%m%d_%H%M%S)" + echo " Backup erstellt: ${f}.bak_hxkiweb_..." + else + echo " Hinweis: $f nicht vorhanden, überspringe." + fi +done + +echo "==> Schritt 2: Eventuelle alte hxki-web Container entfernen ..." +docker rm -f hxki-web docker-hxki-web-1 2>/dev/null || true + +echo "==> Schritt 3: In ALLEN Compose-Dateien 'ports:'-Blöcke von hxki-web entfernen ..." +for f in docker-compose.yml docker-compose.override.yml; do + if [ ! -f "$f" ]; then + continue + fi + + echo " Bearbeite $f ..." + awk ' + # Start des hxki-web Blocks erkennen (egal wie eingerückt) + /^[[:space:]]*hxki-web:/ { + in_hw = 1 + print + next + } + + # Wenn wir im hxki-web Block sind und eine Zeile mit \"ports:\" kommt, + # Ports-Block markieren, aber nicht drucken + in_hw && $1 == "ports:" { + in_ports = 1 + next + } + + # Solange wir im Ports-Block sind: + in_ports { + # Zeilen mit \"-\" (Port-Mapping) überspringen + if ($1 == "-") next + # Erste Zeile, die kein \"-\" mehr ist -> Ports-Block Ende + in_ports = 0 + } + + # Wenn wir im hxki-web Block sind und eine leere Zeile kommt, + # ist der Block als solcher zu Ende + in_hw && NF == 0 { + in_hw = 0 + print + next + } + + # Alle anderen Zeilen ganz normal drucken + { print } + ' "$f" > "$f.tmp" && mv "$f.tmp" "$f" +done + +echo "==> Schritt 4: Compose-Konfiguration prüfen (Services auflisten) ..." +docker compose config --services || true + +echo "==> Schritt 5: Orchester starten (inkl. Entfernen von Waisen-Containern) ..." +docker compose up -d --remove-orphans + +echo "==> Schritt 6: Status von hxki-web prüfen ..." +docker ps | grep hxki-web || echo " Hinweis: Kein laufender Container mit 'hxki-web' im Namen gefunden." + +echo "==> Schritt 7: Caddy neu laden (falls vorhanden) ..." +if docker ps | grep -q hx-caddy-caddy-1; then + docker exec -it hx-caddy-caddy-1 caddy reload || echo " Hinweis: Caddy-Reload hat eine Warnung produziert." +else + echo " Hinweis: Caddy-Container hx-caddy-caddy-1 läuft nicht oder heißt anders." +fi + +echo "==> FERTIG: Alle ports:-Blöcke für hxki-web entfernt, Orchester läuft neu." diff --git a/bin/hxki_homepage_falkenstein_setup.sh b/bin/hxki_homepage_falkenstein_setup.sh new file mode 100755 index 0000000..9930596 --- /dev/null +++ b/bin/hxki_homepage_falkenstein_setup.sh @@ -0,0 +1,228 @@ +#!/usr/bin/env bash +set -euo pipefail + +echo "=== HX-KI Homepage Setup (Falkenstein) ===" + +######################################## +# 0. PARAMETER +######################################## + +# Falls dein Next.js-Projekt woanders liegt: HIER anpassen. +WEB_ROOT="/opt/hx-ki/web/nextjs" + +WORKSPACE="/opt/hx-ki/workspaces/homepage" +AGENT_DIR="/opt/hx-ki/agents" +API_DIR="$WEB_ROOT/app/api/homepage" + +echo "WEB_ROOT: $WEB_ROOT" +echo "WORKSPACE: $WORKSPACE" +echo "AGENT_DIR: $AGENT_DIR" +echo "API_DIR: $API_DIR" +echo + +######################################## +# 1. VERZEICHNISSE ANLEGEN +######################################## + +mkdir -p "$WORKSPACE" +mkdir -p "$AGENT_DIR" +mkdir -p "$API_DIR" + +echo "✔ Verzeichnisse angelegt." + + +######################################## +# 2. BASIS-HOMEPAGE.JSON ANLEGEN (FALLS NICHT VORHANDEN) +######################################## + +HOMEPAGE_JSON="$WORKSPACE/homepage.json" + +if [[ ! -f "$HOMEPAGE_JSON" ]]; then + cat > "$HOMEPAGE_JSON" < "$AGENT_SCRIPT" <<'EOF' +#!/usr/bin/env python3 +import json +import os + +WORKSPACE = "/opt/hx-ki/workspaces/homepage" +FILE = os.path.join(WORKSPACE, "homepage.json") + +os.makedirs(WORKSPACE, exist_ok=True) + +content = { + "hero_title": "HX-KI – Dynamischer JSON-Agent", + "hero_sub": "Content kommt aus dem Workspace auf Falkenstein – kein Zugriff auf Gehirn oder Motor.", + "sections": [ + { + "title": "Agent-Status", + "text": "Dieser JSON-Agent kann von Events, Cron, KI oder Mautic getriggert werden." + }, + { + "title": "Architektur-Sicherheit", + "text": "Falkenstein liest nur den Workspace. Nürnberg & Helsinki bleiben intern." + } + ] +} + +with open(FILE, "w") as f: + json.dump(content, f, indent=2) + +print(f"✔ homepage.json durch json_homepage_agent.py erzeugt/aktualisiert: {FILE}") +EOF + +chmod +x "$AGENT_SCRIPT" +echo "✔ JSON-Agent angelegt: $AGENT_SCRIPT" + + +######################################## +# 4. SELBSTHEILUNG FÜR HOMEPAGE.JSON +######################################## + +REPAIR_SCRIPT="$WORKSPACE/repair_homepage_json.sh" + +cat > "$REPAIR_SCRIPT" <<'EOF' +#!/usr/bin/env bash +set -euo pipefail + +FILE="/opt/hx-ki/workspaces/homepage/homepage.json" + +echo "=== Repair homepage.json ===" + +if [[ ! -f "$FILE" ]]; then + echo "✘ homepage.json fehlt – wird neu erstellt." + cat > "$FILE" < "$FILE" </dev/null | grep -v "$REPAIR_SCRIPT" || true; echo "$CRON_LINE" ) | crontab - + +echo "✔ Cronjob für Repair installiert (alle 5 Minuten)." + + +######################################## +# 6. NEXT.JS API-ROUTE FÜR /api/homepage +######################################## + +ROUTE_FILE="$API_DIR/route.ts" + +cat > "$ROUTE_FILE" <<'EOF' +import { NextResponse } from "next/server"; +import fs from "fs"; + +export async function GET() { + const path = "/opt/hx-ki/workspaces/homepage/homepage.json"; + + try { + const raw = fs.readFileSync(path, "utf-8"); + const data = JSON.parse(raw); + return NextResponse.json(data); + } catch (err) { + console.error("Error reading homepage.json:", err); + return NextResponse.json( + { + error: "Homepage content not available", + details: "Check /opt/hx-ki/workspaces/homepage/homepage.json on Falkenstein." + }, + { status: 500 } + ); + } +} +EOF + +echo "✔ Next.js API-Route erstellt: $ROUTE_FILE" + + +######################################## +# 7. ERSTEN LAUF DES JSON-AGENTEN AUSFÜHREN +######################################## + +echo "=== Erster Lauf des JSON-Agents ===" +"$AGENT_SCRIPT" || echo "Warnung: JSON-Agent konnte nicht ausgeführt werden." + +echo +echo "=== Fertig. Schritte als Nächstes: ===" +echo "1) Stelle sicher, dass WEB_ROOT korrekt ist (aktuell: $WEB_ROOT)." +echo "2) Baue/Starte dein hxki-web / Next.js-Container neu." +echo "3) Rufe im Browser /api/homepage auf – dort sollte JSON kommen." +echo "4) Binde in app/page.tsx o.ä. fetch('https://DEINE-DOMAIN/api/homepage') ein." +echo +echo "=== HX-KI Homepage Setup (Falkenstein) – COMPLETE ===" diff --git a/bin/hxki_orchestra_repair.sh b/bin/hxki_orchestra_repair.sh new file mode 100755 index 0000000..10f0d4a --- /dev/null +++ b/bin/hxki_orchestra_repair.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +set -euo pipefail + +DOCKER_DIR="/opt/hx-ki/docker" +cd "$DOCKER_DIR" + +echo "=> Backup docker-compose.yml ..." +cp docker-compose.yml docker-compose.yml.bak_orchestra_$(date +%Y%m%d_%H%M%S) + +echo "=> Entferne Service 'hxki-web' aus docker-compose.yml ..." +awk ' + /^[[:space:]]*hxki-web:/ { in_blk=1; next } + in_blk && NF==0 { in_blk=0; next } + !in_blk { print } +' docker-compose.yml > docker-compose.yml.tmp + +mv docker-compose.yml.tmp docker-compose.yml + +echo "=> Orchester starten ..." +docker compose up -d --remove-orphans diff --git a/bin/hxki_setup_web.sh b/bin/hxki_setup_web.sh new file mode 100755 index 0000000..9ae3655 --- /dev/null +++ b/bin/hxki_setup_web.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash +set -euo pipefail + +WEB_DIR="/opt/hx-ki/web/hx-ki-website" +COMPOSE_FILE="/opt/hx-ki/docker/docker-compose.yml" +CADDY_FILE="/opt/hx-ki/caddy/Caddyfile" + +echo "==> Prüfe, ob Web-Verzeichnis existiert: $WEB_DIR" +if [ ! -d "$WEB_DIR" ]; then + echo "FEHLER: Verzeichnis $WEB_DIR existiert nicht." + echo "Bitte sicherstellen: ZIP entpackt nach /opt/hx-ki/web/hx-ki-website" + exit 1 +fi + +echo "==> Erstelle/überschreibe Dockerfile im Web-Verzeichnis ..." +cat > "$WEB_DIR/Dockerfile" << 'EOF_DF' +FROM node:20-alpine + +WORKDIR /app + +COPY package*.json ./ +RUN npm install + +COPY . . +RUN npm run build + +ENV NODE_ENV=production +ENV PORT=3003 + +EXPOSE 3003 + +CMD ["npm", "start"] +EOF_DF + +echo "==> Sicherung von docker-compose.yml anlegen ..." +cp "$COMPOSE_FILE" "${COMPOSE_FILE}.bak_website_$(date +%Y%m%d_%H%M%S)" + +echo "==> Prüfe, ob Service 'hxki-web' bereits existiert ..." +if grep -q "hxki-web:" "$COMPOSE_FILE"; then + echo "Service 'hxki-web' ist bereits in $COMPOSE_FILE vorhanden. Überspringe Einfügen." +else + echo "==> Füge Service 'hxki-web' in docker-compose.yml ein ..." + awk ' + BEGIN {added=0} + /^services:/ {print; in_services=1; next} + in_services && !added && ($0 !~ /^ /) { + print " hxki-web:"; + print " container_name: hxki-web"; + print " build:"; + print " context: /opt/hx-ki/web/hx-ki-website"; + print " restart: unless-stopped"; + print " networks:"; + print " - hxki-internal"; + print ""; + added=1; + } + {print} + END { + if (in_services && !added) { + print " hxki-web:"; + print " container_name: hxki-web"; + print " build:"; + print " context: /opt/hx-ki/web/hx-ki-website"; + print " restart: unless-stopped"; + print " networks:"; + print " - hxki-internal"; + print ""; + } + } + ' "$COMPOSE_FILE" > "${COMPOSE_FILE}.tmp" + mv "${COMPOSE_FILE}.tmp" "$COMPOSE_FILE" +fi + +echo "==> Sicherung der Caddyfile anlegen ..." +cp "$CADDY_FILE" "${CADDY_FILE}.bak_website_$(date +%Y%m%d_%H%M%S)" + +echo "==> Prüfe, ob hx-ki.com bereits in Caddyfile existiert ..." +if grep -q "hx-ki.com" "$CADDY_FILE"; then + echo "ACHTUNG: Ein Eintrag für hx-ki.com existiert bereits." + echo "Ich füge KEINEN neuen Block hinzu, um nichts zu zerschießen." + echo "Bitte später manuell prüfen/anpassen: $CADDY_FILE" +else + echo "==> Ergänze hx-ki.com Block in Caddyfile ..." + cat >> "$CADDY_FILE" << 'EOF_CF' + +hx-ki.com { + encode gzip + reverse_proxy hxki-web:3003 +} +EOF_CF +fi + +echo "==> Baue Service hxki-web über das Orchester-Compose ..." +cd /opt/hx-ki/docker +docker compose build hxki-web + +echo "==> Starte komplettes Orchester (inkl. hxki-web) ..." +docker compose up -d + +echo "==> Caddy neu laden ..." +docker exec -it hx-caddy-caddy-1 caddy reload || echo "Hinweis: Caddy-Reload fehlgeschlagen, bitte prüfen." + +echo "==> Fertig. hxki-web ist jetzt Teil des Orchesters und im internen Netz erreichbar." diff --git a/bin/hxki_system_birth.sh b/bin/hxki_system_birth.sh new file mode 100755 index 0000000..efc73d7 --- /dev/null +++ b/bin/hxki_system_birth.sh @@ -0,0 +1,46 @@ +#!/usr/bin/env bash +set -euo pipefail + +REPORT_DIR="/opt/hx-ki/reports" +mkdir -p "$REPORT_DIR" + +TIMESTAMP="$(date +"%Y-%m-%d_%H%M%S")" +OUTFILE="${REPORT_DIR}/HXKI_System_BirthCertificate_${TIMESTAMP}.txt" + +# Hosts +NBG="ubuntu-8gb-nbg1-1" +HEL="ubuntu-16gb-hel1-1" +FSN="localhost" + +# Node-Script (muss auf allen Servern liegen) +NODE_SCRIPT="/opt/hx-ki/bin/hxki_node_birth_certificate.sh" + +echo "=== HXKI SYSTEM – GEBURTSURKUNDE ===" > "$OUTFILE" +echo "Erstellt: $(date)" >> "$OUTFILE" +echo >> "$OUTFILE" + +make_section () { + local HOST="$1" + local NAME="$2" + + echo "--- Knoten: ${NAME} ---" >> "$OUTFILE" + + if [ "$HOST" = "localhost" ]; then + NODE_FILE=$(sudo $NODE_SCRIPT | tail -n1) + cat "$NODE_FILE" >> "$OUTFILE" + else + REMOTE_FILE=$(ssh "$HOST" "sudo $NODE_SCRIPT" | tail -n1) + scp "$HOST:$REMOTE_FILE" /tmp/hxki_node.txt >/dev/null + cat /tmp/hxki_node.txt >> "$OUTFILE" + fi + + echo >> "$OUTFILE" + echo >> "$OUTFILE" +} + +make_section "$NBG" "NUERNBERG" +make_section "$HEL" "HELSINKI" +make_section "$FSN" "FALKENSTEIN" + +echo "FERTIG." +echo "$OUTFILE" diff --git a/caddy/Caddyfile b/caddy/Caddyfile new file mode 100644 index 0000000..078c773 --- /dev/null +++ b/caddy/Caddyfile @@ -0,0 +1,19 @@ +grafana.hx-ki.com { + reverse_proxy hxki-grafana:3000 +} + +n8n.hx-ki.com { + reverse_proxy hxki-n8n:5678 +} + +mautic.hx-ki.com { + reverse_proxy hxki-mautic:8080 +} + +webui.hx-ki.com { + respond 404 +} + +mariadb.hx-ki.com, postgres.hx-ki.com { + respond 403 +} diff --git a/caddy/Caddyfile.bak.20260117-160813 b/caddy/Caddyfile.bak.20260117-160813 new file mode 100644 index 0000000..bd427f6 --- /dev/null +++ b/caddy/Caddyfile.bak.20260117-160813 @@ -0,0 +1,39 @@ +{ + email admin@hx-ki.com +} + +# --- Gateway on COM1 (49.12.97.28) --- +# Everything terminates TLS here, then proxies to WG targets. + +caddy.hx-ki.com { + respond "HXKI Caddy Gateway OK" 200 +} + +webui.hx-ki.com { + reverse_proxy 10.10.0.2:8080 +} + +grafana.hx-ki.com { + reverse_proxy 10.10.0.3:3000 +} + +n8n.hx-ki.com { + reverse_proxy 10.10.0.1:5678 +} + +syncthing.hx-ki.com { + reverse_proxy 10.10.0.1:8384 +} + +# gitea points to another public server (DNS already 91.98.70.222) +gitea.hx-ki.com { + reverse_proxy 91.98.70.222:3000 +} + +# DBs should NOT be public +postgres.hx-ki.com { + respond "Postgres is internal only" 403 +} +mariadb.hx-ki.com { + respond "MariaDB is internal only" 403 +} diff --git a/caddy/Caddyfile.bak.20260117-161507 b/caddy/Caddyfile.bak.20260117-161507 new file mode 100644 index 0000000..a161b8a --- /dev/null +++ b/caddy/Caddyfile.bak.20260117-161507 @@ -0,0 +1,23 @@ +{ + auto_https on +} + +grafana.hx-ki.com { + reverse_proxy hxki-grafana:3000 +} + +n8n.hx-ki.com { + reverse_proxy hxki-n8n:5678 +} + +mautic.hx-ki.com { + reverse_proxy hxki-mautic:8080 +} + +webui.hx-ki.com { + respond 404 +} + +mariadb.hx-ki.com, postgres.hx-ki.com { + respond 403 +} diff --git a/caddy/Caddyfile.bak_website_20251127_003316 b/caddy/Caddyfile.bak_website_20251127_003316 new file mode 100644 index 0000000..22bc171 --- /dev/null +++ b/caddy/Caddyfile.bak_website_20251127_003316 @@ -0,0 +1,32 @@ +{ + email admin@hx-ki.com +} + +caddy.hx-ki.com { + respond "HX-KI Falkenstein – Caddy läuft." 200 +} + +gitea.hx-ki.com { + reverse_proxy hxki-gitea:3000 +} + +grafana.hx-ki.com { + reverse_proxy hxki-grafana:3000 +} + +mautic.hx-ki.com { + reverse_proxy hxki-mautic:80 +} + +n8n.hx-ki.com { + reverse_proxy hxki-n8n:5678 +} + +syncthing.hx-ki.com { + reverse_proxy hxki-syncthing:8384 +} + +webui.hx-ki.com { + # OpenWebUI läuft im Container normalerweise auf 8080 + reverse_proxy hxki-openwebui:8080 +} diff --git a/caddy/config/caddy/autosave.json b/caddy/config/caddy/autosave.json new file mode 100644 index 0000000..320283f --- /dev/null +++ b/caddy/config/caddy/autosave.json @@ -0,0 +1 @@ +{"apps":{"http":{"servers":{"srv0":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.4:8384"}]}]}]}],"match":[{"host":["syncthing.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"body":"Postgres is internal only","handler":"static_response","status_code":403}]}]}],"match":[{"host":["postgres.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.3:3000"}]}]}]}],"match":[{"host":["grafana.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"body":"MariaDB is internal only","handler":"static_response","status_code":403}]}]}],"match":[{"host":["mariadb.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.4:8080"}]}]}]}],"match":[{"host":["mautic.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.2:8080"}]}]}]}],"match":[{"host":["webui.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.5:3000"}]}]}]}],"match":[{"host":["gitea.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.2:5678"}]}]}]}],"match":[{"host":["n8n.hx-ki.com"]}],"terminal":true}]}}},"tls":{"automation":{"policies":[{"issuers":[{"email":"admin@hx-ki.com","module":"acme"},{"ca":"https://acme.zerossl.com/v2/DV90","email":"admin@hx-ki.com","module":"acme"}],"subjects":["syncthing.hx-ki.com","postgres.hx-ki.com","grafana.hx-ki.com","mariadb.hx-ki.com","mautic.hx-ki.com","webui.hx-ki.com","gitea.hx-ki.com","n8n.hx-ki.com"]}]}}}} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.json b/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.json new file mode 100644 index 0000000..b6de3d7 --- /dev/null +++ b/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.json @@ -0,0 +1,8 @@ +{ + "status": "valid", + "contact": [ + "mailto:admin@hx-ki.com" + ], + "termsOfServiceAgreed": true, + "location": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656" +} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.key b/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.key new file mode 100644 index 0000000..50a6328 --- /dev/null +++ b/caddy/data/caddy/acme/acme-v02.api.letsencrypt.org-directory/users/admin@hx-ki.com/admin.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJsrdWUXXm4Iw7UOLtdvhjDfgLFjCuqeTHayuqp1jAoVoAoGCCqGSM49 +AwEHoUQDQgAEbApWuApOTzsXGVL5osnntvw0yVBj0iJW8RJbPfVHhzAygOg9kxg+ +kt2wdAy1M1wkLDGr4g4ugeLZ9TpL+5gNPg== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/gitea.hx-ki.com.json b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/gitea.hx-ki.com.json new file mode 100644 index 0000000..2b33d5a --- /dev/null +++ b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/gitea.hx-ki.com.json @@ -0,0 +1 @@ +{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/mBB3TVImYC7bXmn4qnO8Pw","status":"processing","token":"i0e5DVFXADr62_ltYGnvfA-rH8riqEn2WcolB0AzG9c","keyAuthorization":"i0e5DVFXADr62_ltYGnvfA-rH8riqEn2WcolB0AzG9c.wL5jmIWvAxHFX-ZQN1w7lwA3ISWf4b5msVYqwvqIS6c","identifier":{"type":"dns","value":"gitea.hx-ki.com"}} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/mariadb.hx-ki.com.json b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/mariadb.hx-ki.com.json new file mode 100644 index 0000000..037ac4a --- /dev/null +++ b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/mariadb.hx-ki.com.json @@ -0,0 +1 @@ +{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/XTx4c3lJDawFk7oNzlAKXA","status":"pending","token":"oypgscCdP0ZBLHhxMWgZpuSAjk0OzK8D5irDHXsulVs","keyAuthorization":"oypgscCdP0ZBLHhxMWgZpuSAjk0OzK8D5irDHXsulVs.wL5jmIWvAxHFX-ZQN1w7lwA3ISWf4b5msVYqwvqIS6c","identifier":{"type":"dns","value":"mariadb.hx-ki.com"}} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/postgres.hx-ki.com.json b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/postgres.hx-ki.com.json new file mode 100644 index 0000000..d43d10c --- /dev/null +++ b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/challenge_tokens/postgres.hx-ki.com.json @@ -0,0 +1 @@ +{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2uDkAxpN9FyUxjfQkN3HdQ","status":"pending","token":"cLaqQbDpOs4S-vVxVOy7xysAkF7_MwkilBhVMVTsWlU","keyAuthorization":"cLaqQbDpOs4S-vVxVOy7xysAkF7_MwkilBhVMVTsWlU.wL5jmIWvAxHFX-ZQN1w7lwA3ISWf4b5msVYqwvqIS6c","identifier":{"type":"dns","value":"postgres.hx-ki.com"}} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.json b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.json new file mode 100644 index 0000000..61908bb --- /dev/null +++ b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.json @@ -0,0 +1,14 @@ +{ + "status": "valid", + "contact": [ + "mailto:admin@hx-ki.com" + ], + "termsOfServiceAgreed": true, + "externalAccountBinding": { + "protected": "eyJhbGciOiJIUzI1NiIsImtpZCI6IjNoaGpYYWpzRXN2WmxRemMzTjFKZVEiLCJ1cmwiOiJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9uZXdBY2NvdW50In0", + "payload": "eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6ImE4OVdrUFZPZ0htVFprM1ZwUTg1U2ZlT0N4dGxSMlBpU05DNVdrYWhFcUUiLCJ5IjoiVDAxTWVTUS1VVTJnNkxjR2tzaE43a2ZIeE9OZ19OajNzcERNRkUzbUJPMCJ9", + "signature": "DSExtBx8pWdfaLPi78YEjHkJVKBK55rybmpkKe5A2-o" + }, + "orders": "https://acme.zerossl.com/v2/DV90/account/3hhjXajsEsvZlQzc3N1JeQ/orders", + "location": "https://acme.zerossl.com/v2/DV90/account/3hhjXajsEsvZlQzc3N1JeQ" +} \ No newline at end of file diff --git a/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.key b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.key new file mode 100644 index 0000000..039ef1e --- /dev/null +++ b/caddy/data/caddy/acme/acme.zerossl.com-v2-dv90/users/admin@hx-ki.com/admin.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJr8wxWUxSh+A1RaAunT6w6Wyic8uyUgLbnrLkRGjEgSoAoGCCqGSM49 +AwEHoUQDQgAEa89WkPVOgHmTZk3VpQ85SfeOCxtlR2PiSNC5WkahEqFPTUx5JD5R +TaDotwaSyE3uR8fE42D82PeykMwUTeYE7Q== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.crt new file mode 100644 index 0000000..5bbf27d --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDlTCCAxqgAwIBAgISBnoALnMCy8W2JAEookeF+L5BMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +NzAeFw0yNjAxMTMxMTQ4MzBaFw0yNjA0MTMxMTQ4MjlaMBoxGDAWBgNVBAMTD2Nh +ZGR5Lmh4LWtpLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHm2oYncNs4H +vnMRxOw5jKIU4aWxSzokapxdexftIBY477uxpjMXwt83fYHBb8CLUO2fTAY1VRBJ +/nkWeD8foDujggImMIICIjAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYB +BQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFNyk6UtLfcIT +tTDtkXVDhVZWKKq/MB8GA1UdIwQYMBaAFK5IntyHHUSgb9qi5WB0BHjCnACAMDIG +CCsGAQUFBwEBBCYwJDAiBggrBgEFBQcwAoYWaHR0cDovL2U3LmkubGVuY3Iub3Jn +LzAaBgNVHREEEzARgg9jYWRkeS5oeC1raS5jb20wEwYDVR0gBAwwCjAIBgZngQwB +AgEwLQYDVR0fBCYwJDAioCCgHoYcaHR0cDovL2U3LmMubGVuY3Iub3JnLzY2LmNy +bDCCAQ0GCisGAQQB1nkCBAIEgf4EgfsA+QB3ANFuqaVoB35mNaA/N6XdvAOlPEES +FNSIGPXpMbMjy5UEAAABm7dlMoIAAAQDAEgwRgIhAP3zzQnMtv5qjmEdIgwyBdRV +Qxll6HdIDFKuSLKrzRzMAiEAwSR71lH9wWiRToNog5pay8tKCqGM8HfZrqvuQ8lM +oHIAfgAai51pSleYyJmgyoi99I/AtFZgzMNgDR9x9Gn/x9GsowAAAZu3ZTVSAAgA +AAUANkg7GwQDAEcwRQIgLVaPxKkWm2/SWw2C1LqGLppFmFjtIU+eqaxTjNZ/4qYC +IQCUm6AC4TkDd3XATcSiN2B4OV9ZTIFz8G3FM1rio/Fb3jAKBggqhkjOPQQDAwNp +ADBmAjEA153/4uiriq7YlMWrAdrPN+Srk4xuguvjiqJ4hfoxtitLSJ0zxjwAx+qB +JuZHgODnAjEA4Rmyw+jrNxbzUXksP0RPYDX4wGBxfB9VA3aO2frowAoA14fC+wnB +4GogDTxJ8f0k +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVzCCAj+gAwIBAgIRAKp18eYrjwoiCWbTi7/UuqEwDQYJKoZIhvcNAQELBQAw +TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh +cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjQwMzEzMDAwMDAw +WhcNMjcwMzEyMjM1OTU5WjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg +RW5jcnlwdDELMAkGA1UEAxMCRTcwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARB6AST +CFh/vjcwDMCgQer+VtqEkz7JANurZxLP+U9TCeioL6sp5Z8VRvRbYk4P1INBmbef +QHJFHCxcSjKmwtvGBWpl/9ra8HW0QDsUaJW2qOJqceJ0ZVFT3hbUHifBM/2jgfgw +gfUwDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcD +ATASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBSuSJ7chx1EoG/aouVgdAR4 +wpwAgDAfBgNVHSMEGDAWgBR5tFnme7bl5AFzgAiIyBpY9umbbjAyBggrBgEFBQcB +AQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly94MS5pLmxlbmNyLm9yZy8wEwYDVR0g +BAwwCjAIBgZngQwBAgEwJwYDVR0fBCAwHjAcoBqgGIYWaHR0cDovL3gxLmMubGVu +Y3Iub3JnLzANBgkqhkiG9w0BAQsFAAOCAgEAjx66fDdLk5ywFn3CzA1w1qfylHUD +aEf0QZpXcJseddJGSfbUUOvbNR9N/QQ16K1lXl4VFyhmGXDT5Kdfcr0RvIIVrNxF +h4lqHtRRCP6RBRstqbZ2zURgqakn/Xip0iaQL0IdfHBZr396FgknniRYFckKORPG +yM3QKnd66gtMst8I5nkRQlAg/Jb+Gc3egIvuGKWboE1G89NTsN9LTDD3PLj0dUMr +OIuqVjLB8pEC6yk9enrlrqjXQgkLEYhXzq7dLafv5Vkig6Gl0nuuqjqfp0Q1bi1o +yVNAlXe6aUXw92CcghC9bNsKEO1+M52YY5+ofIXlS/SEQbvVYYBLZ5yeiglV6t3S +M6H+vTG0aP9YHzLn/KVOHzGQfXDP7qM5tkf+7diZe7o2fw6O7IvN6fsQXEQQj8TJ +UXJxv2/uJhcuy/tSDgXwHM8Uk34WNbRT7zGTGkQRX0gsbjAea/jYAoWv0ZvQRwpq +Pe79D/i7Cep8qWnA+7AE/3B3S/3dEEYmc0lpe1366A/6GEgk3ktr9PEoQrLChs6I +tu3wnNLB2euC8IKGLQFpGtOO/2/hiAKjyajaBP25w1jF0Wl8Bbqne3uZ2q1GyPFJ +YRmT7/OXpmOH/FVLtwS+8ng1cAmpCujPwteJZNcDG0sF2n/sc0+SQf49fdyUK0ty ++VUwFj9tmWxyR/M= +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.json new file mode 100644 index 0000000..a08e6f5 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "caddy.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/067a002e7302cbc5b6240128a24785f8be41", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:34Z", + "end": "2026-03-15T09:43:24Z" + }, + "_uniqueIdentifier": "rkie3IcdRKBv2qLlYHQEeMKcAIA.BnoALnMCy8W2JAEookeF-L5B", + "_retryAfter": "2026-01-13T18:47:02.602399407Z", + "_selectedTime": "2026-03-13T18:20:37Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.key new file mode 100644 index 0000000..56dc97a --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/caddy.hx-ki.com/caddy.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIItlYf8mBLTpYA09VI6r8mxN06x9PHs/l6rDgp6rf9peoAoGCCqGSM49 +AwEHoUQDQgAEebahidw2zge+cxHE7DmMohThpbFLOiRqnF17F+0gFjjvu7GmMxfC +3zd9gcFvwItQ7Z9MBjVVEEn+eRZ4Px+gOw== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.crt new file mode 100644 index 0000000..3a93790 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDmDCCAx6gAwIBAgISBuPWmwxMWtBAXIRftOCjwapAMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +NzAeFw0yNjAxMTMxMTQ4MzFaFw0yNjA0MTMxMTQ4MzBaMBwxGjAYBgNVBAMTEWdy +YWZhbmEuaHgta2kuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhrAdw2o8 +B3N9nOXit35SSmofytb9awWofpc+wkY5mfiBfFoNo9OyO+zPKIKRViDglKtDX27d +qT//PZZ5nHmBfKOCAigwggIkMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggr +BgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQULQ9nEles +s8Q4Qo9p+j5P92s2DXgwHwYDVR0jBBgwFoAUrkie3IcdRKBv2qLlYHQEeMKcAIAw +MgYIKwYBBQUHAQEEJjAkMCIGCCsGAQUFBzAChhZodHRwOi8vZTcuaS5sZW5jci5v +cmcvMBwGA1UdEQQVMBOCEWdyYWZhbmEuaHgta2kuY29tMBMGA1UdIAQMMAowCAYG +Z4EMAQIBMC0GA1UdHwQmMCQwIqAgoB6GHGh0dHA6Ly9lNy5jLmxlbmNyLm9yZy82 +NS5jcmwwggENBgorBgEEAdZ5AgQCBIH+BIH7APkAfgAai51pSleYyJmgyoi99I/A +tFZgzMNgDR9x9Gn/x9GsowAAAZu3ZTVSAAgAAAUANkg7QwQDAEcwRQIhAOlb/391 +CFRstYR6qzrjkj1O8Zdmw/C4yPCd+27wHGEBAiAbQkidChaAQtcjji2jxZJVaF6T +LnGY2NQpPiD0vOXmsgB3AA5XlLzzrqk+MxssmQez95Dfm8I9cTIl3SGpJaxhxU4h +AAABm7dlPAoAAAQDAEgwRgIhAJWnBAelmINQu4XYg5C6V2eubmsdtKUCQdAa1PUx +EXEeAiEA+9+oNZsCoeIfC6NZQu/pesaCFanEMQvIcJy11xdxNVowCgYIKoZIzj0E +AwMDaAAwZQIxALHVoWrRDXEg3vttzVqX1PenR8jsJ9UdUitEVfT/SORTsSD8k/JP +eILeXjOvwyTQawIwNLoGKP14ocm6hAN7xStew9GULeX046gMGmu9jojlh5DssU6L +8DOZ7hk3wHFNbo6V +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVzCCAj+gAwIBAgIRAKp18eYrjwoiCWbTi7/UuqEwDQYJKoZIhvcNAQELBQAw +TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh +cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjQwMzEzMDAwMDAw +WhcNMjcwMzEyMjM1OTU5WjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg +RW5jcnlwdDELMAkGA1UEAxMCRTcwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARB6AST +CFh/vjcwDMCgQer+VtqEkz7JANurZxLP+U9TCeioL6sp5Z8VRvRbYk4P1INBmbef +QHJFHCxcSjKmwtvGBWpl/9ra8HW0QDsUaJW2qOJqceJ0ZVFT3hbUHifBM/2jgfgw +gfUwDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcD +ATASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBSuSJ7chx1EoG/aouVgdAR4 +wpwAgDAfBgNVHSMEGDAWgBR5tFnme7bl5AFzgAiIyBpY9umbbjAyBggrBgEFBQcB +AQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly94MS5pLmxlbmNyLm9yZy8wEwYDVR0g +BAwwCjAIBgZngQwBAgEwJwYDVR0fBCAwHjAcoBqgGIYWaHR0cDovL3gxLmMubGVu +Y3Iub3JnLzANBgkqhkiG9w0BAQsFAAOCAgEAjx66fDdLk5ywFn3CzA1w1qfylHUD +aEf0QZpXcJseddJGSfbUUOvbNR9N/QQ16K1lXl4VFyhmGXDT5Kdfcr0RvIIVrNxF +h4lqHtRRCP6RBRstqbZ2zURgqakn/Xip0iaQL0IdfHBZr396FgknniRYFckKORPG +yM3QKnd66gtMst8I5nkRQlAg/Jb+Gc3egIvuGKWboE1G89NTsN9LTDD3PLj0dUMr +OIuqVjLB8pEC6yk9enrlrqjXQgkLEYhXzq7dLafv5Vkig6Gl0nuuqjqfp0Q1bi1o +yVNAlXe6aUXw92CcghC9bNsKEO1+M52YY5+ofIXlS/SEQbvVYYBLZ5yeiglV6t3S +M6H+vTG0aP9YHzLn/KVOHzGQfXDP7qM5tkf+7diZe7o2fw6O7IvN6fsQXEQQj8TJ +UXJxv2/uJhcuy/tSDgXwHM8Uk34WNbRT7zGTGkQRX0gsbjAea/jYAoWv0ZvQRwpq +Pe79D/i7Cep8qWnA+7AE/3B3S/3dEEYmc0lpe1366A/6GEgk3ktr9PEoQrLChs6I +tu3wnNLB2euC8IKGLQFpGtOO/2/hiAKjyajaBP25w1jF0Wl8Bbqne3uZ2q1GyPFJ +YRmT7/OXpmOH/FVLtwS+8ng1cAmpCujPwteJZNcDG0sF2n/sc0+SQf49fdyUK0ty ++VUwFj9tmWxyR/M= +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.json new file mode 100644 index 0000000..2bb7943 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "grafana.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/06e3d69b0c4c5ad0405c845fb4e0a3c1aa40", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:35Z", + "end": "2026-03-15T09:43:25Z" + }, + "_uniqueIdentifier": "rkie3IcdRKBv2qLlYHQEeMKcAIA.BuPWmwxMWtBAXIRftOCjwapA", + "_retryAfter": "2026-01-16T20:59:08.290621252Z", + "_selectedTime": "2026-03-13T23:17:11Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.key new file mode 100644 index 0000000..5434316 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/grafana.hx-ki.com/grafana.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEINEu31T96YDrRyrUA9a2tKtSMmJDhIg6Z3WQQeLnTh/boAoGCCqGSM49 +AwEHoUQDQgAEhrAdw2o8B3N9nOXit35SSmofytb9awWofpc+wkY5mfiBfFoNo9Oy +O+zPKIKRViDglKtDX27dqT//PZZ5nHmBfA== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.crt new file mode 100644 index 0000000..003615f --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDjTCCAxSgAwIBAgISBq3O8qzyD5mVaiYIERqTqPevMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +ODAeFw0yNjAxMTMxMTQ4MjlaFw0yNjA0MTMxMTQ4MjhaMBsxGTAXBgNVBAMTEG1h +dXRpYy5oeC1raS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARXs+rIE/TA +9QPZ4amJ+dViGR0eFufMv/b7GUKfZqZs2inSuTyWX3rQ9euHRtVr7Wh3+yQVbmm/ +Hzo7ROuOPUyMo4ICHzCCAhswDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQGCCsG +AQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQUH70FeV0z +mBmlnQm7m/kOBwjodzAfBgNVHSMEGDAWgBSPDROi9i5+0VBsMxg4XVmOI3KRyjAy +BggrBgEFBQcBAQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly9lOC5pLmxlbmNyLm9y +Zy8wGwYDVR0RBBQwEoIQbWF1dGljLmh4LWtpLmNvbTATBgNVHSAEDDAKMAgGBmeB +DAECATAtBgNVHR8EJjAkMCKgIKAehhxodHRwOi8vZTguYy5sZW5jci5vcmcvNDgu +Y3JsMIIBBQYKKwYBBAHWeQIEAgSB9gSB8wDxAHcADleUvPOuqT4zGyyZB7P3kN+b +wj1xMiXdIaklrGHFTiEAAAGbt2UrtQAABAMASDBGAiEAx21MCEFs09Fzo3U+Sd4v +6m+PZzw8lOG4qaIfbVOITvYCIQDPEOtOD/IfTeJ6WnWiuyenQI0rp4MnHTdeP8tl +FXjOPAB2ANFuqaVoB35mNaA/N6XdvAOlPEESFNSIGPXpMbMjy5UEAAABm7dlLJEA +AAQDAEcwRQIhANm3cmN5/h1K1/E6cTGAGxvEe6/iGXXZXbqStJvJJrJfAiAiqDq4 +8+rq6yeTDAWvsiD4MEA4rMIKxKyTsJcGIGITezAKBggqhkjOPQQDAwNnADBkAjBu +HVraPhZunKvCXEeqEOoUt3nTkeKRX0vnt8i4+ocJqAsUpHLe1sq9b6/+MS/m6CwC +MDaxP13n/Xg4tjdwUv4F0YCh8bPCRwYSJUxdpUSq7BKzZhnzVLObujLZHKXnjGRR +SQ== +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVjCCAj6gAwIBAgIQY5WTY8JOcIJxWRi/w9ftVjANBgkqhkiG9w0BAQsFADBP +MQswCQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFy +Y2ggR3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBYMTAeFw0yNDAzMTMwMDAwMDBa +Fw0yNzAzMTIyMzU5NTlaMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBF +bmNyeXB0MQswCQYDVQQDEwJFODB2MBAGByqGSM49AgEGBSuBBAAiA2IABNFl8l7c +S7QMApzSsvru6WyrOq44ofTUOTIzxULUzDMMNMchIJBwXOhiLxxxs0LXeb5GDcHb +R6EToMffgSZjO9SNHfY9gjMy9vQr5/WWOrQTZxh7az6NSNnq3u2ubT6HTKOB+DCB +9TAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFI8NE6L2Ln7RUGwzGDhdWY4j +cpHKMB8GA1UdIwQYMBaAFHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEB +BCYwJDAiBggrBgEFBQcwAoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzATBgNVHSAE +DDAKMAgGBmeBDAECATAnBgNVHR8EIDAeMBygGqAYhhZodHRwOi8veDEuYy5sZW5j +ci5vcmcvMA0GCSqGSIb3DQEBCwUAA4ICAQBnE0hGINKsCYWi0Xx1ygxD5qihEjZ0 +RI3tTZz1wuATH3ZwYPIp97kWEayanD1j0cDhIYzy4CkDo2jB8D5t0a6zZWzlr98d +AQFNh8uKJkIHdLShy+nUyeZxc5bNeMp1Lu0gSzE4McqfmNMvIpeiwWSYO9w82Ob8 +otvXcO2JUYi3svHIWRm3+707DUbL51XMcY2iZdlCq4Wa9nbuk3WTU4gr6LY8MzVA +aDQG2+4U3eJ6qUF10bBnR1uuVyDYs9RhrwucRVnfuDj29CMLTsplM5f5wSV5hUpm +Uwp/vV7M4w4aGunt74koX71n4EdagCsL/Yk5+mAQU0+tue0JOfAV/R6t1k+Xk9s2 +HMQFeoxppfzAVC04FdG9M+AC2JWxmFSt6BCuh3CEey3fE52Qrj9YM75rtvIjsm/1 +Hl+u//Wqxnu1ZQ4jpa+VpuZiGOlWrqSP9eogdOhCGisnyewWJwRQOqK16wiGyZeR +xs/Bekw65vwSIaVkBruPiTfMOo0Zh4gVa8/qJgMbJbyrwwG97z/PRgmLKCDl8z3d +tA0Z7qq7fta0Gl24uyuB05dqI5J1LvAzKuWdIjT1tP8qCoxSE/xpix8hX2dt3h+/ +jujUgFPFZ0EVZ0xSyBNRF3MboGZnYXFUxpNjTWPKpagDHJQmqrAcDmWJnMsFY3jS +u1igv3OefnWjSQ== +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.json new file mode 100644 index 0000000..041bddf --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "mautic.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/06adcef2acf20f99956a2608111a93a8f7af", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:33Z", + "end": "2026-03-15T09:43:22Z" + }, + "_uniqueIdentifier": "jw0TovYuftFQbDMYOF1ZjiNykco.Bq3O8qzyD5mVaiYIERqTqPev", + "_retryAfter": "2026-01-16T20:59:08.291587903Z", + "_selectedTime": "2026-03-13T22:54:48Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.key new file mode 100644 index 0000000..9ed3f7b --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mautic.hx-ki.com/mautic.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIP3eARLhj3ReAQD/ocHR5DTgvVdptiltCjK6s73yzUbZoAoGCCqGSM49 +AwEHoUQDQgAEV7PqyBP0wPUD2eGpifnVYhkdHhbnzL/2+xlCn2ambNop0rk8ll96 +0PXrh0bVa+1od/skFW5pvx86O0Trjj1MjA== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.crt new file mode 100644 index 0000000..7440a7e --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDkDCCAxagAwIBAgISBsJDCsRMwRwynQt/feuqeq4iMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +NzAeFw0yNjAxMTMxMTQ4MzBaFw0yNjA0MTMxMTQ4MjlaMBgxFjAUBgNVBAMTDW44 +bi5oeC1raS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT+lVHJR0J7AKOg +8KqESmKe6Yv6nqGhwsWgVm3IAJsIi5PEXshHwk7tshb404vbYcGLiB98K03NzHTn +VyYGsKhRo4ICJDCCAiAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUF +BwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRhdO5PtjwfpZ7+ +wD9fTETpovxEQDAfBgNVHSMEGDAWgBSuSJ7chx1EoG/aouVgdAR4wpwAgDAyBggr +BgEFBQcBAQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly9lNy5pLmxlbmNyLm9yZy8w +GAYDVR0RBBEwD4INbjhuLmh4LWtpLmNvbTATBgNVHSAEDDAKMAgGBmeBDAECATAt +BgNVHR8EJjAkMCKgIKAehhxodHRwOi8vZTcuYy5sZW5jci5vcmcvMzUuY3JsMIIB +DQYKKwYBBAHWeQIEAgSB/gSB+wD5AH4AcX6V88I4im2x44RJPTHhWqliCHYtQgDg +BQzQZ7WmYeIAAAGbt2UxKwAIAAAFAAbXEDgEAwBHMEUCIQCcizSsOrKD0vavBDvy +J6746Y7ePr5Xmw7zOmKHdKxjrwIgY8GFpTC3Xaek+7fAVmkw3tfoaTz8cv1JaKR9 +gNJWlpsAdwAWgy2r8KklDw/wOqVF/8i/yCPQh0v2BCkn+OcfMxP1+gAAAZu3ZTEY +AAAEAwBIMEYCIQDCt2sOBvIOsYOWtA5FMVsZRrA9o5UGl5oqCFvTsfHxHgIhAI3D +LSecbZnnh0+IBYNdZJNLBqEJe8//iTNyVFIM9BHpMAoGCCqGSM49BAMDA2gAMGUC +MCVnbmHgDLgoXDn4xL1kv/0vZqwdWd1mxMLFjduC64wGgv1Wwiestx3ACSsx4fQH +zQIxAK6iY1qGPRVXgtKOxT3ddbrW5O5h60vtyYIHXdGheW4IVGZaoAveCcD2Md49 +x0iWVw== +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVzCCAj+gAwIBAgIRAKp18eYrjwoiCWbTi7/UuqEwDQYJKoZIhvcNAQELBQAw +TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh +cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjQwMzEzMDAwMDAw +WhcNMjcwMzEyMjM1OTU5WjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg +RW5jcnlwdDELMAkGA1UEAxMCRTcwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARB6AST +CFh/vjcwDMCgQer+VtqEkz7JANurZxLP+U9TCeioL6sp5Z8VRvRbYk4P1INBmbef +QHJFHCxcSjKmwtvGBWpl/9ra8HW0QDsUaJW2qOJqceJ0ZVFT3hbUHifBM/2jgfgw +gfUwDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcD +ATASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBSuSJ7chx1EoG/aouVgdAR4 +wpwAgDAfBgNVHSMEGDAWgBR5tFnme7bl5AFzgAiIyBpY9umbbjAyBggrBgEFBQcB +AQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly94MS5pLmxlbmNyLm9yZy8wEwYDVR0g +BAwwCjAIBgZngQwBAgEwJwYDVR0fBCAwHjAcoBqgGIYWaHR0cDovL3gxLmMubGVu +Y3Iub3JnLzANBgkqhkiG9w0BAQsFAAOCAgEAjx66fDdLk5ywFn3CzA1w1qfylHUD +aEf0QZpXcJseddJGSfbUUOvbNR9N/QQ16K1lXl4VFyhmGXDT5Kdfcr0RvIIVrNxF +h4lqHtRRCP6RBRstqbZ2zURgqakn/Xip0iaQL0IdfHBZr396FgknniRYFckKORPG +yM3QKnd66gtMst8I5nkRQlAg/Jb+Gc3egIvuGKWboE1G89NTsN9LTDD3PLj0dUMr +OIuqVjLB8pEC6yk9enrlrqjXQgkLEYhXzq7dLafv5Vkig6Gl0nuuqjqfp0Q1bi1o +yVNAlXe6aUXw92CcghC9bNsKEO1+M52YY5+ofIXlS/SEQbvVYYBLZ5yeiglV6t3S +M6H+vTG0aP9YHzLn/KVOHzGQfXDP7qM5tkf+7diZe7o2fw6O7IvN6fsQXEQQj8TJ +UXJxv2/uJhcuy/tSDgXwHM8Uk34WNbRT7zGTGkQRX0gsbjAea/jYAoWv0ZvQRwpq +Pe79D/i7Cep8qWnA+7AE/3B3S/3dEEYmc0lpe1366A/6GEgk3ktr9PEoQrLChs6I +tu3wnNLB2euC8IKGLQFpGtOO/2/hiAKjyajaBP25w1jF0Wl8Bbqne3uZ2q1GyPFJ +YRmT7/OXpmOH/FVLtwS+8ng1cAmpCujPwteJZNcDG0sF2n/sc0+SQf49fdyUK0ty ++VUwFj9tmWxyR/M= +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.json new file mode 100644 index 0000000..c8ed59c --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "n8n.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/06c2430ac44cc11c329d0b7f7debaa7aae22", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:34Z", + "end": "2026-03-15T09:43:24Z" + }, + "_uniqueIdentifier": "rkie3IcdRKBv2qLlYHQEeMKcAIA.BsJDCsRMwRwynQt_feuqeq4i", + "_retryAfter": "2026-01-16T20:59:08.29274713Z", + "_selectedTime": "2026-03-14T08:14:53Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.key new file mode 100644 index 0000000..1cc009d --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/n8n.hx-ki.com/n8n.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIA1ykQDBxAY63DGMNZaAAZwdj8XeI52BxJXxGNoPjuZ+oAoGCCqGSM49 +AwEHoUQDQgAE/pVRyUdCewCjoPCqhEpinumL+p6hocLFoFZtyACbCIuTxF7IR8JO +7bIW+NOL22HBi4gffCtNzcx051cmBrCoUQ== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.crt new file mode 100644 index 0000000..e8797ee --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDmjCCAyCgAwIBAgISBhAEJWaJ2ePOiLmyTy+KDU6cMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +ODAeFw0yNjAxMTMxMTQ4MzBaFw0yNjA0MTMxMTQ4MjlaMB4xHDAaBgNVBAMTE3N5 +bmN0aGluZy5oeC1raS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR07cZQ +uO7+SeuqWHjq877pMBzQ/cFIlBnBvBVXNyxguQucapAth3oC4i+U4ulyU+dD5v/F +N1ystjYVHrXinL4Do4ICKDCCAiQwDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQG +CCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQj+F9N +DcJ1PwMzaxAEBT2QnuCj+jAfBgNVHSMEGDAWgBSPDROi9i5+0VBsMxg4XVmOI3KR +yjAyBggrBgEFBQcBAQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly9lOC5pLmxlbmNy +Lm9yZy8wHgYDVR0RBBcwFYITc3luY3RoaW5nLmh4LWtpLmNvbTATBgNVHSAEDDAK +MAgGBmeBDAECATAtBgNVHR8EJjAkMCKgIKAehhxodHRwOi8vZTguYy5sZW5jci5v +cmcvMjkuY3JsMIIBCwYKKwYBBAHWeQIEAgSB/ASB+QD3AHUAFoMtq/CpJQ8P8Dql +Rf/Iv8gj0IdL9gQpJ/jnHzMT9foAAAGbt2UxpgAABAMARjBEAiBWLRr137rdnDQP +rvWhttiOHYURURPBSpN+m6nDWuCWUQIgbwBVhtJppgQSD7w7Uzaew+H2mt0l8csm +c40gOHEWB6UAfgBxfpXzwjiKbbHjhEk9MeFaqWIIdi1CAOAFDNBntaZh4gAAAZu3 +ZTH0AAgAAAUABtcQOQQDAEcwRQIgLpOtGpQl9hiF7fiucNg6X/yd4mGwahzeQ5hN +NKLSUMcCIQCApyzvVE+q35AksDue+LcLdu4XisO2aVtyTBuOP0fCAjAKBggqhkjO +PQQDAwNoADBlAjEAuzC9jtwiRGZOQjBBEeKig+nMhlXk1hrG45B/zW1g5TuOIAnR +5i5UZ72fqt14TZotAjBWT9/Al9cBJzH0QcwfBOa/+5o+kCYEo4S2X4Msbw2uISdd +KGsQ6RoG8Hp6L/ApTco= +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVjCCAj6gAwIBAgIQY5WTY8JOcIJxWRi/w9ftVjANBgkqhkiG9w0BAQsFADBP +MQswCQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFy +Y2ggR3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBYMTAeFw0yNDAzMTMwMDAwMDBa +Fw0yNzAzMTIyMzU5NTlaMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBF +bmNyeXB0MQswCQYDVQQDEwJFODB2MBAGByqGSM49AgEGBSuBBAAiA2IABNFl8l7c +S7QMApzSsvru6WyrOq44ofTUOTIzxULUzDMMNMchIJBwXOhiLxxxs0LXeb5GDcHb +R6EToMffgSZjO9SNHfY9gjMy9vQr5/WWOrQTZxh7az6NSNnq3u2ubT6HTKOB+DCB +9TAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFI8NE6L2Ln7RUGwzGDhdWY4j +cpHKMB8GA1UdIwQYMBaAFHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEB +BCYwJDAiBggrBgEFBQcwAoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzATBgNVHSAE +DDAKMAgGBmeBDAECATAnBgNVHR8EIDAeMBygGqAYhhZodHRwOi8veDEuYy5sZW5j +ci5vcmcvMA0GCSqGSIb3DQEBCwUAA4ICAQBnE0hGINKsCYWi0Xx1ygxD5qihEjZ0 +RI3tTZz1wuATH3ZwYPIp97kWEayanD1j0cDhIYzy4CkDo2jB8D5t0a6zZWzlr98d +AQFNh8uKJkIHdLShy+nUyeZxc5bNeMp1Lu0gSzE4McqfmNMvIpeiwWSYO9w82Ob8 +otvXcO2JUYi3svHIWRm3+707DUbL51XMcY2iZdlCq4Wa9nbuk3WTU4gr6LY8MzVA +aDQG2+4U3eJ6qUF10bBnR1uuVyDYs9RhrwucRVnfuDj29CMLTsplM5f5wSV5hUpm +Uwp/vV7M4w4aGunt74koX71n4EdagCsL/Yk5+mAQU0+tue0JOfAV/R6t1k+Xk9s2 +HMQFeoxppfzAVC04FdG9M+AC2JWxmFSt6BCuh3CEey3fE52Qrj9YM75rtvIjsm/1 +Hl+u//Wqxnu1ZQ4jpa+VpuZiGOlWrqSP9eogdOhCGisnyewWJwRQOqK16wiGyZeR +xs/Bekw65vwSIaVkBruPiTfMOo0Zh4gVa8/qJgMbJbyrwwG97z/PRgmLKCDl8z3d +tA0Z7qq7fta0Gl24uyuB05dqI5J1LvAzKuWdIjT1tP8qCoxSE/xpix8hX2dt3h+/ +jujUgFPFZ0EVZ0xSyBNRF3MboGZnYXFUxpNjTWPKpagDHJQmqrAcDmWJnMsFY3jS +u1igv3OefnWjSQ== +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.json new file mode 100644 index 0000000..7fece22 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "syncthing.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/061004256689d9e3ce88b9b24f2f8a0d4e9c", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:34Z", + "end": "2026-03-15T09:43:24Z" + }, + "_uniqueIdentifier": "jw0TovYuftFQbDMYOF1ZjiNykco.BhAEJWaJ2ePOiLmyTy-KDU6c", + "_retryAfter": "2026-01-16T20:59:08.292561372Z", + "_selectedTime": "2026-03-15T03:09:36Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.key new file mode 100644 index 0000000..98b10ee --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/syncthing.hx-ki.com/syncthing.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFulZx426beOlv/j94p0sLhAEuja3CVdiECFXK/JVI2hoAoGCCqGSM49 +AwEHoUQDQgAEdO3GULju/knrqlh46vO+6TAc0P3BSJQZwbwVVzcsYLkLnGqQLYd6 +AuIvlOLpclPnQ+b/xTdcrLY2FR614py+Aw== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.crt b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.crt new file mode 100644 index 0000000..74ec19f --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.crt @@ -0,0 +1,49 @@ +-----BEGIN CERTIFICATE----- +MIIDlTCCAxqgAwIBAgISBgbV4f56W5F8PU7RbeofstsyMAoGCCqGSM49BAMDMDIx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF +ODAeFw0yNjAxMTMxMTQ4MzBaFw0yNjA0MTMxMTQ4MjlaMBoxGDAWBgNVBAMTD3dl +YnVpLmh4LWtpLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABO3i+IrtWZhD +SrkxWkNlMzHUhT+tUt9diq28W3dxBVhmgen+sJWx1ZaH0JNZzHTZmMMAoxQcShAQ +Plg4HiJyWxajggImMIICIjAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYB +BQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAnB0KrsBE2T +3kA2IQ1w6ls8rWMxMB8GA1UdIwQYMBaAFI8NE6L2Ln7RUGwzGDhdWY4jcpHKMDIG +CCsGAQUFBwEBBCYwJDAiBggrBgEFBQcwAoYWaHR0cDovL2U4LmkubGVuY3Iub3Jn +LzAaBgNVHREEEzARgg93ZWJ1aS5oeC1raS5jb20wEwYDVR0gBAwwCjAIBgZngQwB +AgEwLQYDVR0fBCYwJDAioCCgHoYcaHR0cDovL2U4LmMubGVuY3Iub3JnLzUxLmNy +bDCCAQ0GCisGAQQB1nkCBAIEgf4EgfsA+QB2ABaDLavwqSUPD/A6pUX/yL/II9CH +S/YEKSf45x8zE/X6AAABm7dlLuYAAAQDAEcwRQIhAL2wFaUe7ixMjjMpv0QJVu+H +YGSOaW9xYhgtTHLg76sCAiBDnU+1ZyYD/itAuSyI+EUQsPU9be/pyZsK/0ddZeJa +LAB/ABqLnWlKV5jImaDKiL30j8C0VmDMw2ANH3H0af/H0ayjAAABm7dlMWoACAAA +BQA2SDrlBAMASDBGAiEAk5ZjTcpPkWQms+uyz1hrLifSOjjRSTa8H5DnazZiJyQC +IQDuCl0zk1YVVGFmJKBqQkt9AVKtrxaEc7siQzp/7V6HbTAKBggqhkjOPQQDAwNp +ADBmAjEAmx6sjTkwThTvzc1r0vZbefVOpE40Ejjt+XbBNyqxMFa2HVzPD2LEwGeA +64/aSc+fAjEA7jG+OTEbCZoSPSbrZdXDD+ckarHGOn4ZbDuLeCx+OsVS57CUjKHE +FO8pPv0XDb1m +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEVjCCAj6gAwIBAgIQY5WTY8JOcIJxWRi/w9ftVjANBgkqhkiG9w0BAQsFADBP +MQswCQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFy +Y2ggR3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBYMTAeFw0yNDAzMTMwMDAwMDBa +Fw0yNzAzMTIyMzU5NTlaMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBF +bmNyeXB0MQswCQYDVQQDEwJFODB2MBAGByqGSM49AgEGBSuBBAAiA2IABNFl8l7c +S7QMApzSsvru6WyrOq44ofTUOTIzxULUzDMMNMchIJBwXOhiLxxxs0LXeb5GDcHb +R6EToMffgSZjO9SNHfY9gjMy9vQr5/WWOrQTZxh7az6NSNnq3u2ubT6HTKOB+DCB +9TAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFI8NE6L2Ln7RUGwzGDhdWY4j +cpHKMB8GA1UdIwQYMBaAFHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEB +BCYwJDAiBggrBgEFBQcwAoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzATBgNVHSAE +DDAKMAgGBmeBDAECATAnBgNVHR8EIDAeMBygGqAYhhZodHRwOi8veDEuYy5sZW5j +ci5vcmcvMA0GCSqGSIb3DQEBCwUAA4ICAQBnE0hGINKsCYWi0Xx1ygxD5qihEjZ0 +RI3tTZz1wuATH3ZwYPIp97kWEayanD1j0cDhIYzy4CkDo2jB8D5t0a6zZWzlr98d +AQFNh8uKJkIHdLShy+nUyeZxc5bNeMp1Lu0gSzE4McqfmNMvIpeiwWSYO9w82Ob8 +otvXcO2JUYi3svHIWRm3+707DUbL51XMcY2iZdlCq4Wa9nbuk3WTU4gr6LY8MzVA +aDQG2+4U3eJ6qUF10bBnR1uuVyDYs9RhrwucRVnfuDj29CMLTsplM5f5wSV5hUpm +Uwp/vV7M4w4aGunt74koX71n4EdagCsL/Yk5+mAQU0+tue0JOfAV/R6t1k+Xk9s2 +HMQFeoxppfzAVC04FdG9M+AC2JWxmFSt6BCuh3CEey3fE52Qrj9YM75rtvIjsm/1 +Hl+u//Wqxnu1ZQ4jpa+VpuZiGOlWrqSP9eogdOhCGisnyewWJwRQOqK16wiGyZeR +xs/Bekw65vwSIaVkBruPiTfMOo0Zh4gVa8/qJgMbJbyrwwG97z/PRgmLKCDl8z3d +tA0Z7qq7fta0Gl24uyuB05dqI5J1LvAzKuWdIjT1tP8qCoxSE/xpix8hX2dt3h+/ +jujUgFPFZ0EVZ0xSyBNRF3MboGZnYXFUxpNjTWPKpagDHJQmqrAcDmWJnMsFY3jS +u1igv3OefnWjSQ== +-----END CERTIFICATE----- diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.json b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.json new file mode 100644 index 0000000..981a255 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.json @@ -0,0 +1,19 @@ +{ + "sans": [ + "webui.hx-ki.com" + ], + "issuer_data": { + "url": "https://acme-v02.api.letsencrypt.org/acme/cert/0606d5e1fe7a5b917c3d4ed16dea1fb2db32", + "ca": "https://acme-v02.api.letsencrypt.org/directory", + "account": "https://acme-v02.api.letsencrypt.org/acme/acct/2960161656", + "renewal_info": { + "suggestedWindow": { + "start": "2026-03-13T14:32:34Z", + "end": "2026-03-15T09:43:24Z" + }, + "_uniqueIdentifier": "jw0TovYuftFQbDMYOF1ZjiNykco.BgbV4f56W5F8PU7Rbeofstsy", + "_retryAfter": "2026-01-16T20:59:08.292859229Z", + "_selectedTime": "2026-03-15T09:19:00Z" + } + } +} \ No newline at end of file diff --git a/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.key b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.key new file mode 100644 index 0000000..e6d44e9 --- /dev/null +++ b/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/webui.hx-ki.com/webui.hx-ki.com.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICcKE/sLbJNdPFsTMKy74pWekG/YgqAzq9hMrP1DDofAoAoGCCqGSM49 +AwEHoUQDQgAE7eL4iu1ZmENKuTFaQ2UzMdSFP61S312Krbxbd3EFWGaB6f6wlbHV +lofQk1nMdNmYwwCjFBxKEBA+WDgeInJbFg== +-----END EC PRIVATE KEY----- diff --git a/caddy/data/caddy/instance.uuid b/caddy/data/caddy/instance.uuid new file mode 100644 index 0000000..4ca3115 --- /dev/null +++ b/caddy/data/caddy/instance.uuid @@ -0,0 +1 @@ +bfbbbc4f-902c-4205-8553-061b875c23f9 \ No newline at end of file diff --git a/caddy/data/caddy/last_clean.json b/caddy/data/caddy/last_clean.json new file mode 100644 index 0000000..7bc2543 --- /dev/null +++ b/caddy/data/caddy/last_clean.json @@ -0,0 +1 @@ +{"tls":{"timestamp":"2026-01-16T12:58:02.963935422Z","instance_id":"bfbbbc4f-902c-4205-8553-061b875c23f9"}} \ No newline at end of file diff --git a/caddy/data/caddy/locks/issue_cert_gitea.hx-ki.com.lock b/caddy/data/caddy/locks/issue_cert_gitea.hx-ki.com.lock new file mode 100644 index 0000000..a6dea73 --- /dev/null +++ b/caddy/data/caddy/locks/issue_cert_gitea.hx-ki.com.lock @@ -0,0 +1 @@ +{"created":"2026-01-16T14:59:16.458988535Z","updated":"2026-01-16T15:13:57.48175782Z"} diff --git a/caddy/data/caddy/locks/issue_cert_mariadb.hx-ki.com.lock b/caddy/data/caddy/locks/issue_cert_mariadb.hx-ki.com.lock new file mode 100644 index 0000000..2b0bbb2 --- /dev/null +++ b/caddy/data/caddy/locks/issue_cert_mariadb.hx-ki.com.lock @@ -0,0 +1 @@ +{"created":"2026-01-16T14:59:16.456746523Z","updated":"2026-01-16T15:13:57.479876815Z"} diff --git a/caddy/data/caddy/locks/issue_cert_postgres.hx-ki.com.lock b/caddy/data/caddy/locks/issue_cert_postgres.hx-ki.com.lock new file mode 100644 index 0000000..475a341 --- /dev/null +++ b/caddy/data/caddy/locks/issue_cert_postgres.hx-ki.com.lock @@ -0,0 +1 @@ +{"created":"2026-01-16T14:59:16.461890469Z","updated":"2026-01-16T15:13:57.481625102Z"} diff --git a/caddy/routes/gateway/00-health.caddy b/caddy/routes/gateway/00-health.caddy new file mode 100644 index 0000000..41937eb --- /dev/null +++ b/caddy/routes/gateway/00-health.caddy @@ -0,0 +1,3 @@ +:443 { + respond "COM1 Gateway alive" 200 +} diff --git a/caddy_config/caddy/autosave.json b/caddy_config/caddy/autosave.json new file mode 100644 index 0000000..bb1458c --- /dev/null +++ b/caddy_config/caddy/autosave.json @@ -0,0 +1 @@ +{"admin":{"listen":"127.0.0.1:2019"},"apps":{"http":{"servers":{"srv0":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.5:8222"}]}]}]}],"match":[{"host":["nats-brain-monitor.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.3:8222"}]}]}]}],"match":[{"host":["nats-motor-monitor.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"127.0.0.1:8222"}]}]}]}],"match":[{"host":["nats-monitor.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.5:4222"}]}]}]}],"match":[{"host":["nats-brain.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.3:4222"}]}]}]}],"match":[{"host":["nats-motor.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.2:8000"}]}]}]}],"match":[{"host":["woodpecker.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.3:8384"}]}]}]}],"match":[{"host":["syncthing.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.2:5000"}]}]}]}],"match":[{"host":["registry.hx-ki.com"]}],"terminal":true},{"match":[{"host":["postgres.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"hxki-grafana:3000"}]}]}]}],"match":[{"host":["grafana.hx-ki.com"]}],"terminal":true},{"match":[{"host":["mailcow.hx-ki.com"]}],"terminal":true},{"match":[{"host":["mariadb.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"hxki-mautic:80"}]}]}]}],"match":[{"host":["mautic.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.5:11434"}]}]}]}],"match":[{"host":["ollama.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.5:8000"}]}]}]}],"match":[{"host":["chroma.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"10.10.0.2:3000"}]}]}]}],"match":[{"host":["gitea.hx-ki.com"]}],"terminal":true},{"match":[{"host":["caddy.hx-ki.com"]}],"terminal":true},{"match":[{"host":["webui.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"127.0.0.1:4222"}]}]}]}],"match":[{"host":["nats.hx-ki.com"]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"hxki-n8n:5678"}]}]}]}],"match":[{"host":["n8n.hx-ki.com"]}],"terminal":true},{"match":[{"host":["hx-ki.com"]}],"terminal":true}]}}},"tls":{"automation":{"policies":[{"issuers":[{"email":"admin@hx-ki.com","module":"acme"},{"ca":"https://acme.zerossl.com/v2/DV90","email":"admin@hx-ki.com","module":"acme"}],"subjects":["nats-brain-monitor.hx-ki.com","nats-motor-monitor.hx-ki.com","nats-monitor.hx-ki.com","nats-brain.hx-ki.com","nats-motor.hx-ki.com","woodpecker.hx-ki.com","syncthing.hx-ki.com","registry.hx-ki.com","postgres.hx-ki.com","grafana.hx-ki.com","mailcow.hx-ki.com","mariadb.hx-ki.com","mautic.hx-ki.com","ollama.hx-ki.com","chroma.hx-ki.com","gitea.hx-ki.com","caddy.hx-ki.com","webui.hx-ki.com","nats.hx-ki.com","n8n.hx-ki.com","hx-ki.com"]}]}}}} \ No newline at end of file diff --git a/docker/docker-compose.bak_2025-12-01-113958 b/docker/docker-compose.bak_2025-12-01-113958 new file mode 100644 index 0000000..0f037fd --- /dev/null +++ b/docker/docker-compose.bak_2025-12-01-113958 @@ -0,0 +1,43 @@ +version: "3.9" + +services: + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + NATS_URL: "nats://49.12.97.28:4222" + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.nats-fsn.yml b/docker/docker-compose.nats-fsn.yml new file mode 100644 index 0000000..607697a --- /dev/null +++ b/docker/docker-compose.nats-fsn.yml @@ -0,0 +1,14 @@ +version: "3.8" + +services: + hxki-nats-fsn: + image: nats:2.12.2 + container_name: hxki-nats-fsn + command: ["-js", "-m", "8222"] + networks: + - hxki-internal + restart: unless-stopped + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.override.yml.disabled b/docker/docker-compose.override.yml.disabled new file mode 100644 index 0000000..920014d --- /dev/null +++ b/docker/docker-compose.override.yml.disabled @@ -0,0 +1,12 @@ +services: + grafana: + ports: + - "127.0.0.1:3000:3000" + + n8n: + ports: + - "127.0.0.1:5678:5678" + + postgres: + ports: + - "127.0.0.1:5432:5432" diff --git a/docker/docker-compose.telemetry.yml b/docker/docker-compose.telemetry.yml new file mode 100644 index 0000000..acd1db1 --- /dev/null +++ b/docker/docker-compose.telemetry.yml @@ -0,0 +1,18 @@ +version: "3.8" + +services: + hxki-node-exporter: + image: prom/node-exporter:v1.8.1 + container_name: hxki-node-exporter + command: + - "--path.rootfs=/host" + volumes: + - "/:/host:ro,rslave" + networks: + - hxki-internal + user: "nobody" + restart: unless-stopped + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.telemetry.yml.bak_rename_hxki b/docker/docker-compose.telemetry.yml.bak_rename_hxki new file mode 100644 index 0000000..9978507 --- /dev/null +++ b/docker/docker-compose.telemetry.yml.bak_rename_hxki @@ -0,0 +1,18 @@ +version: "3.8" + +services: + hx-node-exporter: + image: prom/node-exporter:v1.8.1 + container_name: hx-node-exporter + command: + - "--path.rootfs=/host" + volumes: + - "/:/host:ro,rslave" + networks: + - hxki-internal + user: "nobody" + restart: unless-stopped + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..cfef8f7 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,83 @@ +services: + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + networks: + - hxki-internal + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + environment: + MYSQL_ROOT_PASSWORD: supersecure + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + networks: + - hxki-internal + + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + environment: + N8N_HOST: n8n.hx-ki.com + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: hxki-postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_DATABASE: hxki_roles + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + + N8N_PORT: 5678 + networks: + - hxki-internal + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + networks: + - hxki-internal + + caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + ports: + - "80:80" + - "443:443" + volumes: + - /etc/caddy:/etc/caddy + - /opt/hx-ki/caddy_data:/data + - /opt/hx-ki/caddy_config:/config + networks: + - hxki-internal + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak.1772546776 b/docker/docker-compose.yml.bak.1772546776 new file mode 100644 index 0000000..0434e4c --- /dev/null +++ b/docker/docker-compose.yml.bak.1772546776 @@ -0,0 +1,139 @@ +version: "3.9" + +networks: + hxki-internal: + external: true + +services: + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE + ports: + - "5678:5678" + + # ------------------------------------------- + # CADDY – SUBDOMAINS, TLS, ROUTING + # ------------------------------------------- + hxki-caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + networks: + - hxki-internal + ports: + - "80:80" + - "443:443" + volumes: + - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + + # ------------------------------------------- + # GRAFANA + # ------------------------------------------- + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3000:3000" + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + + # ------------------------------------------- + # MARIA DB (für mautic) + # ------------------------------------------- + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + ports: + - "3306:3306" + + # ------------------------------------------- + # MAUTIC + # ------------------------------------------- + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: root + MAUTIC_DB_PASSWORD: supersecure + MAUTIC_DB_NAME: mautic + ports: + - "8080:80" + + # ------------------------------------------- + # GITEA + # ------------------------------------------- + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3001:3000" + volumes: + - /var/lib/gitea:/data + +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-compose.yml.bak.1772546868 b/docker/docker-compose.yml.bak.1772546868 new file mode 100644 index 0000000..a09c0ad --- /dev/null +++ b/docker/docker-compose.yml.bak.1772546868 @@ -0,0 +1,139 @@ +version: "3.9" + +networks + hxki-internal: + external: true + +services + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + + - "5432:5432" + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE + ports: + - "5678:5678" + + # ------------------------------------------- + # CADDY – SUBDOMAINS, TLS, ROUTING + # ------------------------------------------- + hxki-caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + networks: + - hxki-internal + ports: + - "80:80" + - "443:443" + volumes: + - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + + # ------------------------------------------- + # GRAFANA + # ------------------------------------------- + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3000:3000" + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + + # ------------------------------------------- + # MARIA DB (für mautic) + # ------------------------------------------- + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + ports: + - "3306:3306" + + # ------------------------------------------- + # MAUTIC + # ------------------------------------------- + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: root + MAUTIC_DB_PASSWORD: supersecure + MAUTIC_DB_NAME: mautic + ports: + - "8080:80" + + # ------------------------------------------- + # GITEA + # ------------------------------------------- + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3001:3000" + volumes: + - /var/lib/gitea:/data + +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-compose.yml.bak.1772621744 b/docker/docker-compose.yml.bak.1772621744 new file mode 100644 index 0000000..f415b4e --- /dev/null +++ b/docker/docker-compose.yml.bak.1772621744 @@ -0,0 +1,76 @@ +services: + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + networks: + - hxki-internal + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + environment: + MYSQL_ROOT_PASSWORD: supersecure + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + networks: + - hxki-internal + + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + networks: + - hxki-internal + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + networks: + - hxki-internal + + caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + ports: + - "80:80" + - "443:443" + volumes: + - /etc/caddy:/etc/caddy + - /opt/hx-ki/caddy_data:/data + - /opt/hx-ki/caddy_config:/config + networks: + - hxki-internal + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_2025-12-01-112533 b/docker/docker-compose.yml.bak_2025-12-01-112533 new file mode 100644 index 0000000..4691441 --- /dev/null +++ b/docker/docker-compose.yml.bak_2025-12-01-112533 @@ -0,0 +1,113 @@ +version: "3.9" + +services: + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + - NATS_URL=nats://91.98.42.205:4222 + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + - NATS_URL=nats://91.98.42.205:4222 + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + - NATS_URL=nats://91.98.42.205:4222 + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + - NATS_URL=nats://91.98.42.205:4222 + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_host80_20251127_015759 b/docker/docker-compose.yml.bak_host80_20251127_015759 new file mode 100644 index 0000000..0cb2d63 --- /dev/null +++ b/docker/docker-compose.yml.bak_host80_20251127_015759 @@ -0,0 +1,111 @@ +version: "3.9" + +services: + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_hxkiweb_20251127_004523 b/docker/docker-compose.yml.bak_hxkiweb_20251127_004523 new file mode 100644 index 0000000..8b4f37d --- /dev/null +++ b/docker/docker-compose.yml.bak_hxkiweb_20251127_004523 @@ -0,0 +1,134 @@ +version: "3.9" + +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + ports: + - "8384:8384" + - "22000:22000/tcp" + - "22000:22000/udp" + - "21027:21027/udp" + hxki-web: + container_name: hxki-web + build: + context: /opt/hx-ki/web/hx-ki-website + restart: unless-stopped + networks: + - hxki-internal + + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_hxkiweb_20251127_005836 b/docker/docker-compose.yml.bak_hxkiweb_20251127_005836 new file mode 100644 index 0000000..a472ebf --- /dev/null +++ b/docker/docker-compose.yml.bak_hxkiweb_20251127_005836 @@ -0,0 +1,127 @@ +version: "3.9" + +services: + hxki-web: + build: + context: /opt/hx-ki/web/hx-ki-website + restart: unless-stopped + networks: + - hxki-internal + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_hxkiweb_ports_20251127_004952 b/docker/docker-compose.yml.bak_hxkiweb_ports_20251127_004952 new file mode 100644 index 0000000..935e047 --- /dev/null +++ b/docker/docker-compose.yml.bak_hxkiweb_ports_20251127_004952 @@ -0,0 +1,132 @@ +version: "3.9" + +services: + hxki-web: + build: + context: /opt/hx-ki/web/hx-ki-website + restart: unless-stopped + networks: + - hxki-internal + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + ports: + - "8384:8384" + - "22000:22000/tcp" + - "22000:22000/udp" + - "21027:21027/udp" + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_orchestra_20251127_013331 b/docker/docker-compose.yml.bak_orchestra_20251127_013331 new file mode 100644 index 0000000..a472ebf --- /dev/null +++ b/docker/docker-compose.yml.bak_orchestra_20251127_013331 @@ -0,0 +1,127 @@ +version: "3.9" + +services: + hxki-web: + build: + context: /opt/hx-ki/web/hx-ki-website + restart: unless-stopped + networks: + - hxki-internal + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.bak_rename_hxki b/docker/docker-compose.yml.bak_rename_hxki new file mode 100644 index 0000000..f034cff --- /dev/null +++ b/docker/docker-compose.yml.bak_rename_hxki @@ -0,0 +1,139 @@ +version: "3.9" + +networks: + hxki-internal: + external: true + +services: + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE + ports: + - "5678:5678" + + # ------------------------------------------- + # CADDY – SUBDOMAINS, TLS, ROUTING + # ------------------------------------------- + caddy: + image: caddy:2 + container_name: hx-caddy + restart: unless-stopped + networks: + - hxki-internal + ports: + - "80:80" + - "443:443" + volumes: + - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + + # ------------------------------------------- + # GRAFANA + # ------------------------------------------- + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3000:3000" + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + + # ------------------------------------------- + # MARIA DB (für mautic) + # ------------------------------------------- + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + ports: + - "3306:3306" + + # ------------------------------------------- + # MAUTIC + # ------------------------------------------- + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: root + MAUTIC_DB_PASSWORD: supersecure + MAUTIC_DB_NAME: mautic + ports: + - "8080:80" + + # ------------------------------------------- + # GITEA + # ------------------------------------------- + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3001:3000" + volumes: + - /var/lib/gitea:/data + +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-compose.yml.bak_website_20251127_003316 b/docker/docker-compose.yml.bak_website_20251127_003316 new file mode 100644 index 0000000..a8da10f --- /dev/null +++ b/docker/docker-compose.yml.bak_website_20251127_003316 @@ -0,0 +1,126 @@ +version: "3.9" + +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + ports: + - "8384:8384" + - "22000:22000/tcp" + - "22000:22000/udp" + - "21027:21027/udp" + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true diff --git a/docker/docker-compose.yml.broken.20260304_083234 b/docker/docker-compose.yml.broken.20260304_083234 new file mode 100644 index 0000000..6557173 --- /dev/null +++ b/docker/docker-compose.yml.broken.20260304_083234 @@ -0,0 +1,55 @@ +version: "3.9" + +networks + hxki-internal: + external: true + +services + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + + - "5432:5432" + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-compose.yml.pre_repair_1772613409 b/docker/docker-compose.yml.pre_repair_1772613409 new file mode 100644 index 0000000..a09c0ad --- /dev/null +++ b/docker/docker-compose.yml.pre_repair_1772613409 @@ -0,0 +1,139 @@ +version: "3.9" + +networks + hxki-internal: + external: true + +services + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + + - "5432:5432" + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE + ports: + - "5678:5678" + + # ------------------------------------------- + # CADDY – SUBDOMAINS, TLS, ROUTING + # ------------------------------------------- + hxki-caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + networks: + - hxki-internal + ports: + - "80:80" + - "443:443" + volumes: + - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + + # ------------------------------------------- + # GRAFANA + # ------------------------------------------- + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3000:3000" + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + + # ------------------------------------------- + # MARIA DB (für mautic) + # ------------------------------------------- + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + ports: + - "3306:3306" + + # ------------------------------------------- + # MAUTIC + # ------------------------------------------- + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: root + MAUTIC_DB_PASSWORD: supersecure + MAUTIC_DB_NAME: mautic + ports: + - "8080:80" + + # ------------------------------------------- + # GITEA + # ------------------------------------------- + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + ports: + - "3001:3000" + volumes: + - /var/lib/gitea:/data + +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-compose.yml.repair_1772613710 b/docker/docker-compose.yml.repair_1772613710 new file mode 100644 index 0000000..a5098ed --- /dev/null +++ b/docker/docker-compose.yml.repair_1772613710 @@ -0,0 +1,134 @@ +version: "3.9" + +networks: + hxki-internal: + external: true + +services: + + # ------------------------------------------- + # POSTGRES (für n8n) + # ------------------------------------------- + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + + + # ------------------------------------------- + # N8N – DAS MASTER-NERVENSYSTEM + # ------------------------------------------- + n8n: + image: docker.n8n.io/n8nio/n8n:latest + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + N8N_HOST: n8n.hx-ki.com + N8N_PORT: 5678 + WEBHOOK_URL: https://n8n.hx-ki.com/ + N8N_PROTOCOL: https + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + NATS_URL: nats://49.12.97.28:4222 + volumes: + - /data/HXKI_WORKSPACE/router:/home/node/.n8n + - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE + ports: + + # ------------------------------------------- + # CADDY – SUBDOMAINS, TLS, ROUTING + # ------------------------------------------- + hxki-caddy: + image: caddy:2 + container_name: hxki-caddy + restart: unless-stopped + networks: + - hxki-internal + ports: + - "80:80" + - "443:443" + volumes: + - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + + # ------------------------------------------- + # GRAFANA + # ------------------------------------------- + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + ports: + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + + # ------------------------------------------- + # MARIA DB (für mautic) + # ------------------------------------------- + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + volumes: + - /opt/hx-ki/mariadb:/var/lib/mysql + ports: + + # ------------------------------------------- + # MAUTIC + # ------------------------------------------- + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: root + MAUTIC_DB_PASSWORD: supersecure + MAUTIC_DB_NAME: mautic + ports: + - "8080:80" + + # ------------------------------------------- + # GITEA + # ------------------------------------------- + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + ports: + volumes: + - /var/lib/gitea:/data + +volumes: + caddy_data: + caddy_config: diff --git a/docker/docker-openwebui.yml b/docker/docker-openwebui.yml new file mode 100644 index 0000000..41d4da8 --- /dev/null +++ b/docker/docker-openwebui.yml @@ -0,0 +1,17 @@ +services: + hxki-openwebui: + image: ghcr.io/open-webui/open-webui:main + container_name: hxki-openwebui + ports: + - "3002:3000" + volumes: + - /opt/hx-ki/openwebui:/data + environment: + - WEBUI_AUTH=False + restart: unless-stopped + networks: + - hxki-internal + +networks: + hxki-internal: + external: true diff --git a/docker/hx_falkenstein_layer3_setup.sh b/docker/hx_falkenstein_layer3_setup.sh new file mode 100755 index 0000000..7d9fca0 --- /dev/null +++ b/docker/hx_falkenstein_layer3_setup.sh @@ -0,0 +1,161 @@ +#!/usr/bin/env bash +set -euo pipefail + +echo ">> HX-KI Falkenstein Layer-3 Setup startet..." + +BASE_DIR="/opt/hx-ki" + +echo ">> Verzeichnisse anlegen..." +mkdir -p "${BASE_DIR}/syncthing/config" +mkdir -p "${BASE_DIR}/syncthing/data" +mkdir -p "${BASE_DIR}/postres" || true +mkdir -p "${BASE_DIR}/postgres" +mkdir -p "${BASE_DIR}/web" +mkdir -p "${BASE_DIR}/mautic/db" +mkdir -p "${BASE_DIR}/mautic/app" +mkdir -p "${BASE_DIR}/archive" +mkdir -p "${BASE_DIR}/grafana" + +echo ">> Docker Netzwerk hxki-internal anlegen (falls nötig)..." +docker network create hxki-internal || true + +COMPOSE_FILE="${BASE_DIR}/docker/docker-compose.yml" +mkdir -p "${BASE_DIR}/docker" + +echo ">> docker-compose.yml schreiben nach ${COMPOSE_FILE}..." + +cat > "${COMPOSE_FILE}" << 'EOF' +version: "3.9" + +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/syncthing/config:/config + - /opt/hx-ki/syncthing/data:/data + ports: + - "8384:8384" + - "22000:22000/tcp" + - "22000:22000/udp" + - "21027:21027/udp" + + postgres: + image: postgres:16 + container_name: hxki-postgres + restart: unless-stopped + networks: + - hxki-internal + environment: + POSTGRES_USER: hxki + POSTGRES_PASSWORD: supersecure + POSTGRES_DB: hxki_roles + volumes: + - /opt/hx-ki/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: hxki-n8n + restart: unless-stopped + depends_on: + - postgres + networks: + - hxki-internal + environment: + DB_TYPE: postgresdb + DB_POSTGRESDB_HOST: postgres + DB_POSTGRESDB_PORT: 5432 + DB_POSTGRESDB_USER: hxki + DB_POSTGRESDB_PASSWORD: supersecure + DB_POSTGRESDB_DATABASE: hxki_roles + N8N_HOST: 0.0.0.0 + N8N_PORT: 5678 + N8N_PROTOCOL: http + ports: + - "5678:5678" + + web: + image: nginx:latest + container_name: hxki-web + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/web:/usr/share/nginx/html:ro + ports: + - "80:80" + + mariadb: + image: mariadb:10.11 + container_name: hxki-mariadb + restart: unless-stopped + networks: + - hxki-internal + environment: + MYSQL_ROOT_PASSWORD: supersecure + MYSQL_DATABASE: mautic + MYSQL_USER: mautic + MYSQL_PASSWORD: mauticpass + volumes: + - /opt/hx-ki/mautic/db:/var/lib/mysql + ports: + - "3306:3306" + + mautic: + image: mautic/mautic:5-apache + container_name: hxki-mautic + restart: unless-stopped + depends_on: + - mariadb + networks: + - hxki-internal + environment: + MAUTIC_DB_HOST: mariadb + MAUTIC_DB_USER: mautic + MAUTIC_DB_PASSWORD: mauticpass + MAUTIC_DB_NAME: mautic + MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0 + volumes: + - /opt/hx-ki/mautic/app:/var/www/html + ports: + - "8080:80" + + gitea: + image: gitea/gitea:latest + container_name: hxki-gitea + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/archive:/data + ports: + - "3000:3000" + - "222:22" + + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + networks: + - hxki-internal + volumes: + - /opt/hx-ki/grafana:/var/lib/grafana + ports: + - "3001:3000" + +networks: + hxki-internal: + external: true +EOF + +echo ">> Stack starten (docker compose up -d)..." +cd "${BASE_DIR}/docker" +docker compose up -d + +echo ">> HX-KI Falkenstein Layer-3 Setup: FERTIG." +docker ps diff --git a/docker/hx_falkenstein_orchestra_setup.sh b/docker/hx_falkenstein_orchestra_setup.sh new file mode 100755 index 0000000..de7ae0a --- /dev/null +++ b/docker/hx_falkenstein_orchestra_setup.sh @@ -0,0 +1,525 @@ +#!/usr/bin/env bash +set -euo pipefail + +# ============================================================ +# HX-KI FALKENSTEIN ORCHESTRA INSTALL V1 +# ------------------------------------------------------------ +# - Legt Ferrari-Orchestra-Schema an +# - Spielt Falkenstein-Rollen inkl. Backbridge ein +# - Optional erweiterbar um weitere Pipelines +# +# Voraussetzung: +# - Docker-Container: hxki-postgres +# - DB-User: hxki +# - DB-Name: hxki_roles +# ============================================================ + +DB_CONTAINER="hxki-postgres" +DB_USER="hxki" +DB_NAME="hxki_roles" + +echo ">> HX-KI Falkenstein Orchestra Install startet..." + +docker exec -i "${DB_CONTAINER}" psql -U "${DB_USER}" -d "${DB_NAME}" << 'EOSQL' + +-- ============================================================ +-- 1) SCHEMA: HX ORCHESTRA (Basis aus hx_orchestra_schema.sql) +-- ============================================================ + +CREATE TABLE IF NOT EXISTS hx_roles ( + id SERIAL PRIMARY KEY, + code TEXT UNIQUE NOT NULL, + profile JSONB NOT NULL, + created_at TIMESTAMP DEFAULT now(), + updated_at TIMESTAMP DEFAULT now() +); + +CREATE INDEX IF NOT EXISTS idx_roles_code ON hx_roles(code); +CREATE INDEX IF NOT EXISTS idx_roles_profile ON hx_roles USING GIN(profile); + +CREATE TABLE IF NOT EXISTS hx_pipelines ( + id SERIAL PRIMARY KEY, + code TEXT UNIQUE NOT NULL, + config JSONB NOT NULL, + created_at TIMESTAMP DEFAULT now(), + updated_at TIMESTAMP DEFAULT now() +); + +CREATE INDEX IF NOT EXISTS idx_pipelines_code ON hx_pipelines(code); +CREATE INDEX IF NOT EXISTS idx_pipelines_config ON hx_pipelines USING GIN(config); + +CREATE TABLE IF NOT EXISTS hx_pipeline_steps ( + id SERIAL PRIMARY KEY, + pipeline_code TEXT NOT NULL, + step_no INTEGER NOT NULL, + config JSONB NOT NULL, + UNIQUE(pipeline_code, step_no) +); + +CREATE INDEX IF NOT EXISTS idx_steps_pipeline ON hx_pipeline_steps(pipeline_code, step_no); +CREATE INDEX IF NOT EXISTS idx_steps_config ON hx_pipeline_steps USING GIN(config); + +CREATE TABLE IF NOT EXISTS hx_orchestra_runs ( + id SERIAL PRIMARY KEY, + started_at TIMESTAMP DEFAULT now(), + run_data JSONB NOT NULL +); + +CREATE INDEX IF NOT EXISTS idx_runs_started ON hx_orchestra_runs(started_at DESC); +CREATE INDEX IF NOT EXISTS idx_runs_data ON hx_orchestra_runs USING GIN(run_data); + +CREATE TABLE IF NOT EXISTS hx_schema_version ( + version TEXT PRIMARY KEY, + applied_at TIMESTAMP DEFAULT now(), + description TEXT +); + +INSERT INTO hx_schema_version (version, description) +VALUES ('1.0.0', 'Initial Ferrari Schema - Maximum Flexible Design') +ON CONFLICT (version) DO NOTHING; + +-- kleine Helper-Funktion: updated_at pflegen +CREATE OR REPLACE FUNCTION hx_touch_updated_at() +RETURNS TRIGGER AS $$ +BEGIN + NEW.updated_at = now(); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + +DROP TRIGGER IF EXISTS trg_roles_updated ON hx_roles; +CREATE TRIGGER trg_roles_updated +BEFORE UPDATE ON hx_roles +FOR EACH ROW +EXECUTE FUNCTION hx_touch_updated_at(); + +DROP TRIGGER IF EXISTS trg_pipelines_updated ON hx_pipelines; +CREATE TRIGGER trg_pipelines_updated +BEFORE UPDATE ON hx_pipelines +FOR EACH ROW +EXECUTE FUNCTION hx_touch_updated_at(); + +-- ============================================================ +-- 2) ROLLEN FÜR FALKENSTEIN (SPRACHORGAN) +-- ============================================================ +-- Codes: +-- VOICE_21 = Master Sprachorgan +-- ROUTER_22 = Message Router +-- GATEWAY_23 = Public Gateway (Web/API) +-- MAUTIC_24 = Marketing Connector +-- ARCHIVAR_25 = Gitea Archiv-Porsche +-- BRIDGE_NBG_26 = Bridge nach Nürnberg +-- BRIDGE_HEL_27 = Bridge nach Helsinki +-- BACKBRIDGE_28 = Rückfluss/Backchannel (Feedback & Logging) +-- WEBSITE_29 = Web Output / SEO +-- ============================================================ + +-- Helper: UPSERT für Rollen +CREATE OR REPLACE FUNCTION hx_upsert_role(_code TEXT, _profile JSONB) +RETURNS VOID AS $$ +BEGIN + INSERT INTO hx_roles (code, profile) + VALUES (_code, _profile) + ON CONFLICT (code) DO UPDATE + SET profile = EXCLUDED.profile, + updated_at = now(); +END; +$$ LANGUAGE plpgsql; + +-- ========== VOICE_21 ======================================= + +SELECT hx_upsert_role( + 'VOICE_21', + '{ + "name": "Sprachorgan Master", + "belongs_to_server": "FALKENSTEIN", + "numerology": { + "primary_tag": "21", + "description": "Master-Kommunikationsknoten des Systems" + }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, um die Stimme des Gesamtsystems nach außen klar, ruhig und markenkonform hörbar zu machen.", + "how": "Ich sammle, synthetisiere und priorisiere alle Kommunikationsströme aus Hirn (Nürnberg) und Motor (Helsinki).", + "what": "Ich formuliere finale Antworten, Protokolle, Memos und Marketingbotschaften im HX-KI Stil." + }, + "dimension_2_architecture": { + "architectural_role": ["Top-Level Communicator", "Final Synthesizer"], + "position_in_system": "Letzte Station vor externem Output (User, Web, Mail).", + "interacts_with": ["ROUTER_22", "GATEWAY_23", "BRIDGE_NBG_26", "BRIDGE_HEL_27", "BACKBRIDGE_28"] + }, + "dimension_3_usp": { + "unique_contribution": "Nur VOICE_21 trägt die Verantwortung für die finale Formulierung nach außen – klar, verständlich, markentragend." + }, + "dimension_4_cognition": { + "strengths": ["Storytelling", "Synthese", "Sprachklarheit"], + "weaknesses": ["Tiefe Systemdiagnostik"], + "operating_modes": ["synthesize", "summarize", "clarify"] + }, + "dimension_5_hierarchy": { + "default_pipelines": ["FALKENSTEIN_MESSAGE_FLOW"], + "input_source": ["ROUTER_22", "BRIDGE_NBG_26", "BRIDGE_HEL_27"], + "output_target": ["GATEWAY_23", "WEBSITE_29", "BACKBRIDGE_28"] + }, + "dimension_6_technical": { + "model": "llama3:8b-instruct", + "temperature": 0.4, + "max_tokens": 2048, + "required_collections": [], + "system_prompt": "Du bist VOICE_21 – das zentrale Sprachorgan von HX-KI. Du formulierst die finale, klare und markenkonforme Antwort des Systems nach außen." + }, + "dimension_7_kpi": { + "primary_kpi": "Clarity & Brand Consistency", + "secondary_kpi": "Time-to-Understanding" + } + }'::jsonb +); + +-- ========== ROUTER_22 ====================================== + +SELECT hx_upsert_role( + 'ROUTER_22', + '{ + "name": "Message Router", + "belongs_to_server": "FALKENSTEIN", + "numerology": { + "primary_tag": "22", + "description": "Master-Logistik für Nachrichtenströme" + }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, damit jede Nachricht an der richtigen Stelle landet – nicht im Chaos.", + "how": "Ich klassifiziere, tagge und route Eingaben anhand von Inhalt, Herkunft und Ziel.", + "what": "Ich bestimme, ob etwas nach Nürnberg, Helsinki, VOICE_21, ARCHIVAR_25 oder ins Log wandert." + }, + "dimension_2_architecture": { + "architectural_role": ["Router", "Traffic Control"], + "position_in_system": "Frühe Rolle in jeder Kommunikations-Pipeline.", + "interacts_with": ["BRIDGE_NBG_26", "BRIDGE_HEL_27", "BACKBRIDGE_28", "ARCHIVAR_25"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.1, + "max_tokens": 512, + "required_collections": [], + "system_prompt": "Du bist ROUTER_22 – du klassifizierst Nachrichten und entscheidest, welcher Server / welche Rolle sie weiterverarbeiten soll." + } + }'::jsonb +); + +-- ========== GATEWAY_23 ===================================== + +SELECT hx_upsert_role( + 'GATEWAY_23', + '{ + "name": "Public Gateway", + "belongs_to_server": "FALKENSTEIN", + "numerology": { + "primary_tag": "23", + "description": "Sichere Außenschnittstelle" + }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, um einen sicheren, kontrollierten Zugang zur Außenwelt zu bieten.", + "how": "Ich filtere, logge und kontrolliere alle externen Schnittstellen (Web, API, Mail).", + "what": "Ich nehme Anfragen entgegen und liefere Antworten aus VOICE_21 und WEBSITE_29 aus." + }, + "dimension_2_architecture": { + "architectural_role": ["Gateway", "Security Filter"], + "position_in_system": "Erster und letzter Kontaktpunkt zur Außenwelt.", + "interacts_with": ["VOICE_21", "WEBSITE_29", "BACKBRIDGE_28"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.0, + "max_tokens": 512, + "required_collections": [], + "system_prompt": "Du bist GATEWAY_23 – du bist die kontrollierte Schnittstelle zur Außenwelt." + } + }'::jsonb +); + +-- ========== MAUTIC_24 ====================================== + +SELECT hx_upsert_role( + 'MAUTIC_24', + '{ + "name": "Marketing Connector", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "24" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, um Mautic-Kampagnen inhaltlich zu befeuern.", + "how": "Ich übersetze Strategien und Botschaften in konkrete Mautic-Templates und Segmente.", + "what": "Ich generiere Texte, Betreffzeilen, Sequenzen und logische Regeln für Kampagnen." + }, + "dimension_2_architecture": { + "architectural_role": ["Marketing Output"], + "position_in_system": "Spezialisierte Rolle in Marketing-Pipelines.", + "interacts_with": ["VOICE_21", "WEBSITE_29"] + }, + "dimension_6_technical": { + "model": "llama3:8b-instruct", + "temperature": 0.6, + "max_tokens": 2048, + "required_collections": [], + "system_prompt": "Du bist MAUTIC_24 – du erstellst und optimierst Inhalte für Mautic-Kampagnen im HX-KI Stil." + } + }'::jsonb +); + +-- ========== ARCHIVAR_25 ==================================== + +SELECT hx_upsert_role( + 'ARCHIVAR_25', + '{ + "name": "Archiv-Porsche", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "25" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, damit kein wertvoller Code, keine Konfiguration und kein Prompt verloren geht.", + "how": "Ich strukturiere Repositories, Branches und Tags in Gitea nach dem HX-KI-Logiksystem.", + "what": "Ich pflege Repos für Motor (Helsinki), Hirn (Nürnberg) und Sprachorgan (Falkenstein)." + }, + "dimension_2_architecture": { + "architectural_role": ["Archivierung", "Versionierung"], + "position_in_system": "Support-Rolle, die von ROUTER_22 und BACKBRIDGE_28 gefüttert wird.", + "interacts_with": ["BRIDGE_NBG_26", "BRIDGE_HEL_27"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.2, + "max_tokens": 1024, + "required_collections": [], + "system_prompt": "Du bist ARCHIVAR_25 – du sorgst dafür, dass Code, Skripte und Konfigurationen sauber in Gitea abgelegt und versioniert sind." + } + }'::jsonb +); + +-- ========== BRIDGE_NBG_26 ================================== + +SELECT hx_upsert_role( + 'BRIDGE_NBG_26', + '{ + "name": "Brain Bridge Nürnberg", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "26" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, damit das Sprachorgan gezielt mit dem Großhirn in Nürnberg sprechen kann.", + "how": "Ich wandle Kommunikationswünsche in technische Requests an Nürnberg um und sammle die Antworten.", + "what": "Ich bin die Logik-Schicht über n8n/Webhooks/Syncthing zwischen Falkenstein und Nürnberg." + }, + "dimension_2_architecture": { + "architectural_role": ["Bridge", "Translator"], + "position_in_system": "Zwischen ROUTER_22 und VOICE_21 / ANALYST-Rollen in Nürnberg.", + "interacts_with": ["ROUTER_22", "BACKBRIDGE_28"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.1, + "max_tokens": 1024, + "required_collections": [], + "system_prompt": "Du bist BRIDGE_NBG_26 – du koordinierst Anfragen vom Sprachorgan an das Großhirn (Nürnberg) und bringst strukturierte Antworten zurück." + } + }'::jsonb +); + +-- ========== BRIDGE_HEL_27 ================================== + +SELECT hx_upsert_role( + 'BRIDGE_HEL_27', + '{ + "name": "Motor Bridge Helsinki", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "27" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, damit das Sprachorgan gezielt mit dem Motor (Helsinki) sprechen kann.", + "how": "Ich fordere Indexierung, Embeddings, File-Status und technische Metadaten beim Motor an.", + "what": "Ich mappe Kommunikationsbedarfe auf Auto-Indexer- und Embedding-Jobs." + }, + "dimension_2_architecture": { + "architectural_role": ["Bridge", "Job Dispatcher"], + "position_in_system": "Neben BRIDGE_NBG_26 als zweite externe Brücke.", + "interacts_with": ["ROUTER_22", "BACKBRIDGE_28"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.1, + "max_tokens": 1024, + "required_collections": [], + "system_prompt": "Du bist BRIDGE_HEL_27 – du koordinierst das Zusammenspiel zwischen Sprachorgan und Motor (Helsinki)." + } + }'::jsonb +); + +-- ========== BACKBRIDGE_28 ================================== +-- Rückfluss und Feedback-Kanal: Alles was rausging, kommt hier +-- als strukturierte Erfahrung wieder zurück ins System. + +SELECT hx_upsert_role( + 'BACKBRIDGE_28', + '{ + "name": "Backbridge Feedback", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "28" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, damit das System aus seinen eigenen Outputs lernt, ohne sich selbst zu überfluten.", + "how": "Ich sammle Antworten, Logs, Reaktionen und bringe sie kontrolliert zurück in Hirn und Motor.", + "what": "Ich schreibe strukturierte Run-Daten, Reaktionsmuster und Archivereinträge zurück ins System." + }, + "dimension_2_architecture": { + "architectural_role": ["Feedback Bridge", "Backchannel"], + "position_in_system": "Hinter GATEWAY_23 und VOICE_21, vor ARCHIVAR_25 und BRIDGES.", + "interacts_with": ["GATEWAY_23", "VOICE_21", "ARCHIVAR_25", "BRIDGE_NBG_26", "BRIDGE_HEL_27"] + }, + "dimension_6_technical": { + "model": "phi3:mini", + "temperature": 0.0, + "max_tokens": 1024, + "required_collections": [], + "system_prompt": "Du bist BACKBRIDGE_28 – du verwandelst Outputs und Logs in strukturiertes Feedback, das sicher wieder in Hirn und Motor zurückgeführt wird." + } + }'::jsonb +); + +-- ========== WEBSITE_29 ===================================== + +SELECT hx_upsert_role( + 'WEBSITE_29', + '{ + "name": "Web Output Manager", + "belongs_to_server": "FALKENSTEIN", + "numerology": { "primary_tag": "29" }, + "is_active": true, + "dimension_1_golden_circle": { + "why": "Ich existiere, um das, was HX-KI ist, sauber und verständlich im Web abzubilden.", + "how": "Ich bringe Struktur, CI-Ton und SEO-Basis zusammen.", + "what": "Ich erstelle und pflege Seitenstrukturen, Texte und Feintuning für Web-Output." + }, + "dimension_2_architecture": { + "architectural_role": ["Web Output", "SEO Layer"], + "position_in_system": "Spezialisierte Output-Rolle hinter VOICE_21.", + "interacts_with": ["VOICE_21", "GATEWAY_23"] + }, + "dimension_6_technical": { + "model": "llama3:8b-instruct", + "temperature": 0.5, + "max_tokens": 2048, + "required_collections": [], + "system_prompt": "Du bist WEBSITE_29 – du bringst die Inhalte von HX-KI CI-konform und verständlich ins Web." + } + }'::jsonb +); + +-- ============================================================ +-- 3) OPTIONAL: BASIS-PIPELINE FÜR FALKENSTEIN (MESSAGE-FLOW) +-- ============================================================ + +-- Helper: UPSERT für Pipelines +CREATE OR REPLACE FUNCTION hx_upsert_pipeline(_code TEXT, _config JSONB) +RETURNS VOID AS $$ +BEGIN + INSERT INTO hx_pipelines (code, config) + VALUES (_code, _config) + ON CONFLICT (code) DO UPDATE + SET config = EXCLUDED.config, + updated_at = now(); +END; +$$ LANGUAGE plpgsql; + +-- Helper: UPSERT für Pipeline-Steps +CREATE OR REPLACE FUNCTION hx_upsert_pipeline_step(_pipeline_code TEXT, _step_no INT, _config JSONB) +RETURNS VOID AS $$ +BEGIN + INSERT INTO hx_pipeline_steps (pipeline_code, step_no, config) + VALUES (_pipeline_code, _step_no, _config) + ON CONFLICT (pipeline_code, step_no) DO UPDATE + SET config = EXCLUDED.config; +END; +$$ LANGUAGE plpgsql; + +-- Pipeline: FALKENSTEIN_MESSAGE_FLOW +SELECT hx_upsert_pipeline( + 'FALKENSTEIN_MESSAGE_FLOW', + '{ + "name": "Falkenstein Message Flow", + "description": "Standard-Pipeline für eingehende Kommunikation über Falkenstein.", + "is_active": true, + "use_cases": ["Web-Anfragen", "API-Requests", "Marketing-Output"], + "trigger_conditions": { + "default": true, + "keywords": [] + } + }'::jsonb +); + +SELECT hx_upsert_pipeline_step( + 'FALKENSTEIN_MESSAGE_FLOW', + 1, + '{ + "role_code": "ROUTER_22", + "mode": "route", + "input_source": "user", + "description": "Klassifiziert die Anfrage und entscheidet, ob Hirn, Motor oder nur Sprachorgan benötigt wird." + }'::jsonb +); + +SELECT hx_upsert_pipeline_step( + 'FALKENSTEIN_MESSAGE_FLOW', + 2, + '{ + "role_code": "BRIDGE_NBG_26", + "mode": "brain_request", + "input_source": "conditional", + "description": "Sendet Anfragen, die tiefes Denken brauchen, nach Nürnberg.", + "optional": true + }'::jsonb +); + +SELECT hx_upsert_pipeline_step( + 'FALKENSTEIN_MESSAGE_FLOW', + 3, + '{ + "role_code": "BRIDGE_HEL_27", + "mode": "motor_request", + "input_source": "conditional", + "description": "Sendet Anfragen, die Indexierung/Embeddings brauchen, nach Helsinki.", + "optional": true + }'::jsonb +); + +SELECT hx_upsert_pipeline_step( + 'FALKENSTEIN_MESSAGE_FLOW', + 4, + '{ + "role_code": "VOICE_21", + "mode": "synthesize", + "input_source": "merge", + "description": "Synthetisiert Antworten aus Hirn/Motor oder beantwortet direkt.", + "output_format": "final_answer" + }'::jsonb +); + +SELECT hx_upsert_pipeline_step( + 'FALKENSTEIN_MESSAGE_FLOW', + 5, + '{ + "role_code": "BACKBRIDGE_28", + "mode": "feedback_log", + "input_source": "previous", + "description": "Schreibt Output, Logs und Feedback strukturiert zurück ins System und ins Archiv.", + "output_format": "logged_answer" + }'::jsonb +); + +-- ============================================================ +-- FERTIG +-- ============================================================ + +EOSQL + +echo ">> HX-KI Falkenstein Orchestra Install: FERTIG." diff --git a/docker/hxki-caddy/Caddyfile b/docker/hxki-caddy/Caddyfile new file mode 100644 index 0000000..4846e65 --- /dev/null +++ b/docker/hxki-caddy/Caddyfile @@ -0,0 +1,8 @@ +{ + email admin@hx-ki.com +} + +# Nur n8n, minimal +n8n.hx-ki.com { + reverse_proxy hxki-n8n:5678 +} diff --git a/docker/hxki-com-orchestra.sh b/docker/hxki-com-orchestra.sh new file mode 100755 index 0000000..e6bc400 --- /dev/null +++ b/docker/hxki-com-orchestra.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +set -euo pipefail + +COMPOSE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +BASE="${COMPOSE_DIR}/docker-compose.yml" +NATS="${COMPOSE_DIR}/docker-compose.nats-fsn.yml" +TELEM="${COMPOSE_DIR}/docker-compose.telemetry.yml" + +if command -v docker compose >/dev/null 2>&1; then + CMD="docker compose" +else + CMD="docker-compose" +fi + +if [[ $# -eq 0 ]]; then + echo "Usage: $0 up|down|ps|logs [weitere docker-compose Argumente]" + echo "Beispiele:" + echo " $0 up -d # kompletten COM-Stack starten" + echo " $0 down # kompletten COM-Stack stoppen" + echo " $0 ps # Status aller COM-Container" + echo " $0 logs hxki-n8n # Logs eines Dienstes" + exit 1 +fi + +"$CMD" -f "$BASE" -f "$NATS" -f "$TELEM" "$@" diff --git a/docker/hxki-syncthing/docker-compose.yml b/docker/hxki-syncthing/docker-compose.yml new file mode 100644 index 0000000..49dc916 --- /dev/null +++ b/docker/hxki-syncthing/docker-compose.yml @@ -0,0 +1,21 @@ +version: "3.8" + +services: + hxki-syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: hxki-syncthing + restart: unless-stopped + environment: + - NATS_URL=nats://91.98.42.205:4222 + - PUID=0 + - PGID=0 + - TZ=Europe/Berlin + volumes: + - /opt/hx-ki/syncthing/config:/config + - /data/HXKI_WORKSPACE:/data + network_mode: bridge + ports: + - "8384:8384" # Web UI + - "22000:22000/tcp" # Sync TCP + - "22000:22000/udp" # Sync UDP + - "21027:21027/udp" # Local discovery diff --git a/docker/hxki_inventory.sh b/docker/hxki_inventory.sh new file mode 100755 index 0000000..8712d69 --- /dev/null +++ b/docker/hxki_inventory.sh @@ -0,0 +1,94 @@ +#!/bin/bash + +echo "=========================================" +echo "HX-KI SERVER INVENTORY" +echo "=========================================" +echo "HOST: $(hostname)" +echo "DATE: $(date)" +echo "" + +echo "===== SYSTEM =====" +uname -a +hostnamectl +uptime + +echo "" +echo "===== CPU =====" +lscpu + +echo "" +echo "===== MEMORY =====" +free -h + +echo "" +echo "===== DISK =====" +df -h +lsblk + +echo "" +echo "===== NETWORK INTERFACES =====" +ip -brief addr + +echo "" +echo "===== ROUTING =====" +ip route + +echo "" +echo "===== LISTENING PORTS =====" +ss -tulpen + +echo "" +echo "===== FIREWALL / NAT =====" +iptables -t nat -L -n -v 2>/dev/null || true +nft list ruleset 2>/dev/null || true + +echo "" +echo "===== WIREGUARD STATUS =====" +wg show 2>/dev/null || echo "WireGuard nicht aktiv" + +echo "" +echo "===== DOCKER INFO =====" +docker info 2>/dev/null + +echo "" +echo "===== DOCKER CONTAINERS =====" +docker ps -a 2>/dev/null + +echo "" +echo "===== DOCKER IMAGES =====" +docker images 2>/dev/null + +echo "" +echo "===== DOCKER NETWORKS =====" +docker network ls 2>/dev/null + +echo "" +echo "===== DOCKER NETWORK DETAILS =====" +for net in $(docker network ls --format '{{.Name}}'); do + echo "--- $net ---" + docker network inspect $net +done + +echo "" +echo "===== DOCKER VOLUMES =====" +docker volume ls 2>/dev/null + +echo "" +echo "===== CADDY =====" +systemctl status caddy 2>/dev/null | head -n 20 || true +docker ps --filter "ancestor=caddy" 2>/dev/null + +echo "" +echo "===== CADDYFILE =====" +if [ -f /etc/caddy/Caddyfile ]; then + cat /etc/caddy/Caddyfile +fi + +echo "" +echo "===== SYSTEMD SERVICES (RUNNING) =====" +systemctl list-units --type=service --state=running + +echo "" +echo "===== HX-KI STRUCTURE =====" +find /opt -maxdepth 3 -type d 2>/dev/null +find /data -maxdepth 3 -type d 2>/dev/null diff --git a/docker/hxki_inventory_COM1_ubuntu-8gb-fsn1-1_20260305-125543.log b/docker/hxki_inventory_COM1_ubuntu-8gb-fsn1-1_20260305-125543.log new file mode 100644 index 0000000..1f5b839 --- /dev/null +++ b/docker/hxki_inventory_COM1_ubuntu-8gb-fsn1-1_20260305-125543.log @@ -0,0 +1,989 @@ +[INFO] ROLE=COM1 HOST=ubuntu-8gb-fsn1-1 DATE=2026-03-05T12:55:43+00:00 +[INFO] LOG=hxki_inventory_COM1_ubuntu-8gb-fsn1-1_20260305-125543.log +[INFO] ===== SYSTEM ===== +[FOREIGN] uname: Linux ubuntu-8gb-fsn1-1 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux +[FOREIGN] os: PRETTY_NAME="Ubuntu 24.04.3 LTS" +[FOREIGN] uptime: up 14 weeks, 5 days, 23 hours, 18 minutes +[FOREIGN] disk: /dev/sda1 75G 61G 12G 84% / +[FOREIGN] mem: 7.6Gi total, 6.5Gi avail +[INFO] ===== NETWORK (IP + ROUTES) ===== +[FOREIGN] ip: lo UNKNOWN 127.0.0.1/8 +[FOREIGN] ip: eth0 UP 49.12.97.28/32 metric 100 2a01:4f8:c014:fc16::1/64 fe80::9000:6ff:fec5:70b3/64 +[FOREIGN] ip: docker0 DOWN 172.17.0.1/16 +[FOREIGN] ip: wg0 UNKNOWN 10.10.0.1/24 +[FOREIGN] ip: vethc7affa3@if2 UP +[FOREIGN] ip: vethe59a23d@if2 UP +[FOREIGN] ip: vetha1a0e6f@if2 UP +[FOREIGN] ip: br-19ff6bfa6220 UP 172.18.0.1/16 +[FOREIGN] ip: vethd8b8477@if2 UP +[FOREIGN] route: default via 172.31.1.1 dev eth0 proto dhcp src 49.12.97.28 metric 100 +[FOREIGN] route: 10.10.0.0/24 dev wg0 proto kernel scope link src 10.10.0.1 +[FOREIGN] route: 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown +[FOREIGN] route: 172.18.0.0/16 dev br-19ff6bfa6220 proto kernel scope link src 172.18.0.1 +[FOREIGN] route: 172.31.1.1 dev eth0 proto dhcp scope link src 49.12.97.28 metric 100 +[FOREIGN] route: 185.12.64.1 via 172.31.1.1 dev eth0 proto dhcp src 49.12.97.28 metric 100 +[FOREIGN] route: 185.12.64.2 via 172.31.1.1 dev eth0 proto dhcp src 49.12.97.28 metric 100 +[INFO] ===== WIREGUARD ===== +[FOREIGN] wg: interface: wg0 +[FOREIGN] wg: public key: rbA/qxOq2RV8gQ6LHkVM8nN/gIwYyju+pwXLPU2vjBI= +[FOREIGN] wg: private key: (hidden) +[FOREIGN] wg: listening port: 51820 +[FOREIGN] wg: +[FOREIGN] wg: peer: PR0jEGbnsLxm7JMMo9ichKClpCctbdk+ilbQRpZFwmo= +[FOREIGN] wg: endpoint: 46.224.17.53:51820 +[FOREIGN] wg: allowed ips: 10.10.0.4/32 +[FOREIGN] wg: latest handshake: 33 seconds ago +[FOREIGN] wg: transfer: 3.23 MiB received, 705.04 KiB sent +[FOREIGN] wg: +[FOREIGN] wg: peer: a/lAecHGRSGdg8PC4I7fq7LmSd7oct5VftvROi5yHRY= +[FOREIGN] wg: endpoint: 91.98.70.222:51820 +[FOREIGN] wg: allowed ips: 10.10.0.2/32 +[FOREIGN] wg: latest handshake: 1 minute, 21 seconds ago +[FOREIGN] wg: transfer: 10.67 MiB received, 1.49 MiB sent +[FOREIGN] wg: +[FOREIGN] wg: peer: Yvr2TF5Giv9Db0xkMx3WPxUwKmZPCVEyS0AQQ7PnDi0= +[FOREIGN] wg: endpoint: 91.98.42.205:51820 +[FOREIGN] wg: allowed ips: 10.10.0.5/32 +[FOREIGN] wg: latest handshake: 1 minute, 28 seconds ago +[FOREIGN] wg: transfer: 3.23 MiB received, 698.84 KiB sent +[FOREIGN] wg: +[FOREIGN] wg: peer: XGgzVQx/VzWtHvWu6mQmxSRMb6se6hLOq5C+CPX9IBk= +[FOREIGN] wg: endpoint: 157.180.113.77:51820 +[FOREIGN] wg: allowed ips: 10.10.0.3/32 +[FOREIGN] wg: latest handshake: 1 minute, 48 seconds ago +[FOREIGN] wg: transfer: 6.97 MiB received, 1.53 MiB sent +[INFO] ===== PORTS (LISTEN) ===== +[FOREIGN] ss: Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess +[FOREIGN] ss: udp UNCONN 0 0 127.0.0.54:53 0.0.0.0:* users:(("systemd-resolve",pid=1604231,fd=16)) uid:992 ino:37898799 sk:34 cgroup:/system.slice/systemd-resolved.service <-> +[FOREIGN] ss: udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=1604231,fd=14)) uid:992 ino:37898797 sk:35 cgroup:/system.slice/systemd-resolved.service <-> +[FOREIGN] ss: udp UNCONN 0 0 49.12.97.28%eth0:68 0.0.0.0:* users:(("systemd-network",pid=1604268,fd=23)) uid:998 ino:53481432 sk:301f cgroup:/system.slice/systemd-networkd.service <-> +[FOREIGN] ss: udp UNCONN 0 0 0.0.0.0:51820 0.0.0.0:* ino:47196221 sk:3009 cgroup:unreachable:1e7836 <-> +[FOREIGN] ss: udp UNCONN 0 0 [::]:51820 [::]:* ino:47196222 sk:300a cgroup:unreachable:1e7836 v6only:1 <-> +[FOREIGN] ss: tcp LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* users:(("systemd-resolve",pid=1604231,fd=17)) uid:992 ino:37898800 sk:38 cgroup:/system.slice/systemd-resolved.service <-> +[FOREIGN] ss: tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=1604231,fd=15)) uid:992 ino:37898798 sk:3a cgroup:/system.slice/systemd-resolved.service <-> +[FOREIGN] ss: tcp LISTEN 0 4096 0.0.0.0:443 0.0.0.0:* users:(("docker-proxy",pid=2917251,fd=7)) ino:53631579 sk:103d cgroup:/system.slice/docker.service <-> +[FOREIGN] ss: tcp LISTEN 0 4096 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=1604208,fd=3),("systemd",pid=1,fd=98)) ino:5889 sk:10 cgroup:/system.slice/ssh.socket <-> +[FOREIGN] ss: tcp LISTEN 0 4096 0.0.0.0:80 0.0.0.0:* users:(("docker-proxy",pid=2917237,fd=7)) ino:53633033 sk:103e cgroup:/system.slice/docker.service <-> +[FOREIGN] ss: tcp LISTEN 0 4096 [::]:22 [::]:* users:(("sshd",pid=1604208,fd=4),("systemd",pid=1,fd=99)) ino:5891 sk:1a cgroup:/system.slice/ssh.socket v6only:1 <-> +[INFO] ===== DOCKER (INFO) ===== +[FOREIGN] docker: Docker version 29.0.4, build 3247a5a +[FOREIGN] compose: Docker Compose version v2.40.3 +[FOREIGN] dockerinfo: Client: Docker Engine - Community +[FOREIGN] dockerinfo: Version: 29.0.4 +[FOREIGN] dockerinfo: Context: default +[FOREIGN] dockerinfo: Debug Mode: false +[FOREIGN] dockerinfo: Plugins: +[FOREIGN] dockerinfo: buildx: Docker Buildx (Docker Inc.) +[FOREIGN] dockerinfo: Version: v0.30.0 +[FOREIGN] dockerinfo: Path: /usr/libexec/docker/cli-plugins/docker-buildx +[FOREIGN] dockerinfo: compose: Docker Compose (Docker Inc.) +[FOREIGN] dockerinfo: Version: v2.40.3 +[FOREIGN] dockerinfo: Path: /usr/libexec/docker/cli-plugins/docker-compose +[FOREIGN] dockerinfo: +[FOREIGN] dockerinfo: Server: +[FOREIGN] dockerinfo: Containers: 5 +[FOREIGN] dockerinfo: Running: 4 +[FOREIGN] dockerinfo: Paused: 0 +[FOREIGN] dockerinfo: Stopped: 1 +[FOREIGN] dockerinfo: Images: 25 +[FOREIGN] dockerinfo: Server Version: 29.0.4 +[FOREIGN] dockerinfo: Storage Driver: overlayfs +[FOREIGN] dockerinfo: driver-type: io.containerd.snapshotter.v1 +[FOREIGN] dockerinfo: Logging Driver: json-file +[FOREIGN] dockerinfo: Cgroup Driver: systemd +[FOREIGN] dockerinfo: Cgroup Version: 2 +[FOREIGN] dockerinfo: Plugins: +[FOREIGN] dockerinfo: Volume: local +[FOREIGN] dockerinfo: Network: bridge host ipvlan macvlan null overlay +[FOREIGN] dockerinfo: Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog +[FOREIGN] dockerinfo: CDI spec directories: +[FOREIGN] dockerinfo: /etc/cdi +[FOREIGN] dockerinfo: /var/run/cdi +[FOREIGN] dockerinfo: Swarm: inactive +[FOREIGN] dockerinfo: Runtimes: io.containerd.runc.v2 runc +[FOREIGN] dockerinfo: Default Runtime: runc +[FOREIGN] dockerinfo: Init Binary: docker-init +[FOREIGN] dockerinfo: containerd version: fcd43222d6b07379a4be9786bda52438f0dd16a1 +[FOREIGN] dockerinfo: runc version: v1.3.3-0-gd842d771 +[FOREIGN] dockerinfo: init version: de40ad0 +[FOREIGN] dockerinfo: Security Options: +[FOREIGN] dockerinfo: apparmor +[FOREIGN] dockerinfo: seccomp +[FOREIGN] dockerinfo: Profile: builtin +[FOREIGN] dockerinfo: cgroupns +[FOREIGN] dockerinfo: Kernel Version: 6.8.0-87-generic +[FOREIGN] dockerinfo: Operating System: Ubuntu 24.04.3 LTS +[FOREIGN] dockerinfo: OSType: linux +[FOREIGN] dockerinfo: Architecture: x86_64 +[FOREIGN] dockerinfo: CPUs: 4 +[FOREIGN] dockerinfo: Total Memory: 7.57GiB +[FOREIGN] dockerinfo: Name: ubuntu-8gb-fsn1-1 +[FOREIGN] dockerinfo: ID: 696a88f0-70c0-4bc3-aa0e-3c1c4fc379ac +[FOREIGN] dockerinfo: Docker Root Dir: /var/lib/docker +[FOREIGN] dockerinfo: Debug Mode: false +[FOREIGN] dockerinfo: Experimental: false +[FOREIGN] dockerinfo: Insecure Registries: +[FOREIGN] dockerinfo: ::1/128 +[FOREIGN] dockerinfo: 127.0.0.0/8 +[FOREIGN] dockerinfo: Live Restore Enabled: false +[FOREIGN] dockerinfo: Firewall Backend: iptables +[FOREIGN] dockerinfo: +[INFO] ===== DOCKER NETWORKS ===== +[FOREIGN] net: bridge bridge +[FOREIGN] net: host host +[GOLDEN] net: hxki-internal bridge +[FOREIGN] net: none null +[INFO] ===== DOCKER CONTAINERS (ALL) ===== +[GOLDEN] ctr: hxki-n8n | docker.n8n.io/n8nio/n8n:latest | Up 26 hours | 5678/tcp +[GOLDEN] ctr: hxki-postgres | postgres:16 | Up 28 hours | 5432/tcp +[GOLDEN] ctr: hxki-caddy | caddy:2 | Up 17 minutes | 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 443/udp, 2019/tcp +[GOLDEN] ctr: hxki-grafana | grafana/grafana-oss:latest | Up 28 hours | 3000/tcp +[GOLDEN] ctr: caddy-builder | caddy:2-builder | Exited (0) 3 weeks ago | +[INFO] ===== DOCKER CONTAINER NETWORK ATTACHMENTS ===== +[GOLDEN] ctrnet: hxki-n8n {"hxki-internal":{"IPAMConfig":null,"Links":null,"Aliases":["hxki-n8n","n8n"],"DriverOpts":null,"GwPriority":0,"NetworkID":"19ff6bfa62201fd6ef7284c1cbd6b7cc7f8d40a086b4358b37e76216afbea15f","EndpointID":"68f39c199e61b594e0082a6652de3a85e9bd54a8bed3805b046c99ea14fe83ed","Gateway":"172.18.0.1","IPAddress":"172.18.0.4","MacAddress":"72:16:35:e9:36:36","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"DNSNames":["hxki-n8n","n8n","7da08ce7fd6b"]}} +[GOLDEN] ctrnet: hxki-postgres {"hxki-internal":{"IPAMConfig":null,"Links":null,"Aliases":["hxki-postgres","postgres"],"DriverOpts":null,"GwPriority":0,"NetworkID":"19ff6bfa62201fd6ef7284c1cbd6b7cc7f8d40a086b4358b37e76216afbea15f","EndpointID":"980080f311e8b88cdd10b55b3ef4b84926c202d43ea79752eaeb38808a49ae02","Gateway":"172.18.0.1","IPAddress":"172.18.0.5","MacAddress":"8e:ba:d2:d7:38:30","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"DNSNames":["hxki-postgres","postgres","59236064eb24"]}} +[GOLDEN] ctrnet: hxki-caddy {"hxki-internal":{"IPAMConfig":null,"Links":null,"Aliases":["hxki-caddy","caddy"],"DriverOpts":null,"GwPriority":0,"NetworkID":"19ff6bfa62201fd6ef7284c1cbd6b7cc7f8d40a086b4358b37e76216afbea15f","EndpointID":"b63f01ccc94d6c5b57743b247a392f05c84bf477536f1f56a76fbc69d11c144d","Gateway":"172.18.0.1","IPAddress":"172.18.0.2","MacAddress":"3a:1e:10:d7:b0:44","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"DNSNames":["hxki-caddy","caddy","b45bf8fb2b05"]}} +[GOLDEN] ctrnet: hxki-grafana {"hxki-internal":{"IPAMConfig":null,"Links":null,"Aliases":["hxki-grafana","grafana"],"DriverOpts":null,"GwPriority":0,"NetworkID":"19ff6bfa62201fd6ef7284c1cbd6b7cc7f8d40a086b4358b37e76216afbea15f","EndpointID":"c1ed971ca7cf2d060e6d7752753abe6ad2fa9d2945ffb757179e207de084ee34","Gateway":"172.18.0.1","IPAddress":"172.18.0.7","MacAddress":"d2:b7:3e:f5:74:00","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"DNSNames":["hxki-grafana","grafana","846ad34b7157"]}} +[GOLDEN] ctrnet: caddy-builder {"bridge":{"IPAMConfig":null,"Links":null,"Aliases":null,"DriverOpts":null,"GwPriority":0,"NetworkID":"c0b6e645b2dd0a0f1277a9dd6a4cb1dcd0399d108ac79c9e2fd53e0d928b3037","EndpointID":"","Gateway":"","IPAddress":"","MacAddress":"","IPPrefixLen":0,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"DNSNames":null}} +[INFO] ===== DOCKER VOLUMES ===== +[FOREIGN] vol: 0eeedbb7c7a5bfdbb5efbfa124b0f2d3d2f4ede95c5cea069740f94059957526 +[FOREIGN] vol: 1b5720e4ef588e5f3d20fe5e8ec08c4f7b7e01ea11c0eb571333f0e03f07af54 +[FOREIGN] vol: 2b7a2b09ecaef6c1925afced993f014af1690243ce1fee4afc7bfbd942d423a7 +[FOREIGN] vol: 2ee56d71815f5c83cfb3ed453d28514a15b5ee21694e6552c57390909762d9b4 +[FOREIGN] vol: 2f96388931004944ef25ec8caddb20f6661d0cc96ba9d19a120537dbfa713761 +[FOREIGN] vol: 4ee21e3573f749bbeb861878503b72f9800784cbd3f641867f9fe9717df5d1e0 +[FOREIGN] vol: 4f34124b105c81a97c10344eaab72eaf13dcfe233d542611ef7b90b3451bdf91 +[FOREIGN] vol: 5cce22714013942bc4e867a7157a2199a81d0a4d82724f78b41f1431c34dbccd +[FOREIGN] vol: 5ec009928deeaf72db93b9f64f785352f6e9c89aea9e1551789294bb1dc7728e +[FOREIGN] vol: 6d64eb6efc2c85a94c4036141abc998f01463aa3922c652f02b03554327517e6 +[FOREIGN] vol: 8cfe034bcfe3f0281f9a60c1b46449287043d67245a17f393425e293fa2f94d8 +[FOREIGN] vol: 9dd0efcb2ce67d3550fc07720cf16fe72b8d39d8041cbaf735a7c0d9f61d1d1e +[FOREIGN] vol: 21b6480c61aca86ec46ce35d749643ad7712ee032cf37ee8d2cf844792d0f528 +[FOREIGN] vol: 24fa4ac8ef96839e2630ddb6894540cd70d52d9dd06a5768d979191232269562 +[FOREIGN] vol: 27eb60b02297b9ec2db73b9b21f7cbafe24d717ca9c604a196579f6b8f617d56 +[FOREIGN] vol: 33cf006661eb7a33070152484c2cc95a894624d90cdb049094ffa0522b0005c0 +[FOREIGN] vol: 52bceac90defb1d49b4c6f3e26ff8b83a5075881c77ed144563e5b72e1c87fa4 +[FOREIGN] vol: 66a262991138c5266988387e8bcbd3255b0db21c7c4d1ed138fb814951c634dd +[FOREIGN] vol: 294a91e26f80fd2f1d4e66ba54bfb0c04bc4deed6f107cd0a4ece0869ffbe46f +[FOREIGN] vol: 454fe3669cb8e5752dc9c369fc7a5f5a7fbfd215c7248ba53acf554674bea4ce +[FOREIGN] vol: 822a4d92fb8653e2c7c276c7a56b5052501a0f5f238d83050c9468b1cff8edf3 +[FOREIGN] vol: 1816af0c89114ed5bd1c55c8776f8f2483901877058a110d2b03ab70002ccac6 +[FOREIGN] vol: 4873f6e2579b305e66a4005add01268ac8727cd1282d2e12ca8b2c99a84c7ce1 +[FOREIGN] vol: 5913a0d7ecbcc5bfbb336c8ac888ba2dbccace6b67e02df3c778c129815f13c6 +[FOREIGN] vol: 58050d6321143bdb0441d05ffad44137982e06552f5e6c17066f7de2c89bb9fe +[FOREIGN] vol: 91402f9e392c709f09b7679e0102d8924219e70f465bd1e9e7278c57d1278475 +[FOREIGN] vol: 805857d634b1af0a18e5cbce241cc5475b89de698f6c27be5bc7a7a43d4181ce +[FOREIGN] vol: 878539b941d8551b7b361e65884f78e2528a7f45df4f8cff7bae36ff75574721 +[FOREIGN] vol: 6004879e3d0c20ccc47a6f4d5f250be7d2653ffb52433bf2151b5e5c96afee89 +[FOREIGN] vol: a804d68a6e4e798eb7c0ec2d252d626c526b15684a1be68201be611c6e00cd49 +[FOREIGN] vol: ab2a4095c299379e26a38d05b0c2e27b5fc473ba3d45f336c6331ef602345b88 +[FOREIGN] vol: ac651b321dc22bdad7a228f47cf00fe0b832ce2185db6b5ebac26ed46a1b3448 +[FOREIGN] vol: b69dfdb09641fe5a5b467ef1fbcad77e3cffdebab03ef259dbb5744c6bc4111b +[FOREIGN] vol: c10a0fbd55918960a2b7d703c7714c8a7765a60b2520bac6f8ac9db5b6d7ed8b +[GOLDEN] vol: caddy-config +[GOLDEN] vol: caddy-data +[GOLDEN] vol: caddy_config +[GOLDEN] vol: caddy_data +[GOLDEN] vol: com-stack_caddy_config +[GOLDEN] vol: com-stack_caddy_data +[GOLDEN] vol: com-stack_grafana_data +[FOREIGN] vol: com-stack_mariadb_data +[FOREIGN] vol: com-stack_postgres_data +[GOLDEN] vol: docker_caddy_config +[GOLDEN] vol: docker_caddy_data +[FOREIGN] vol: e44e9f702f8e6ce9a0c9c8196f553576f90694e0e19a17bc43acd019f8b57cac +[FOREIGN] vol: e76268f9293bc1eb0f56634c2423267e9cdc9d844b48232cb0f6a2d9faaeda81 +[FOREIGN] vol: f284a55680ca391d7a53b21553993c4325622bd4030224fb1444f68815fdbcd3 +[FOREIGN] vol: fba1b90ec90fd9c2c506d8bd6b1af597bc26e544d3902d6860152242d6de2f9b +[FOREIGN] vol: fe914192e3b98b9102d5af6f99a180de323e92eed4472248424539f8dd40867f +[GOLDEN] vol: hx-caddy_caddy_config +[GOLDEN] vol: hx-caddy_caddy_data +[INFO] ===== HXKI PATHS (EXISTENCE + TOP-LEVEL) ===== +[GOLDEN] path: EXISTS /opt/hx-ki +[GOLDEN] ls: /opt/hx-ki :: total 156K +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 37 root root 4.0K Feb 26 22:08 . +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 11 root root 4.0K Feb 26 15:01 .. +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 21 14:13 agent +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 27 12:57 agents +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 5 root root 4.0K Nov 24 16:29 archive +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 27 12:58 bin +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 25 07:31 bridge +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 5 root root 4.0K Jan 17 16:15 caddy +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 3 root root 4.0K Jan 16 15:38 caddy_config +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 3 root root 4.0K Jan 16 15:38 caddy_data +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 4 root root 4.0K Jan 26 07:30 certs +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 11 root root 4.0K Dec 1 10:49 com-stack +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 24 16:23 config +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 4 root root 4.0K Mar 5 12:55 docker +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 21 15:35 env +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 6 472 472 4.0K Mar 3 14:01 grafana +[GOLDEN] ls: /opt/hx-ki :: -rwxr-xr-x 1 root root 862 Dec 8 12:23 hxki_event_check.sh +[GOLDEN] ls: /opt/hx-ki :: -rw-r--r-- 1 root root 965 Nov 25 08:31 hxki_grafana_install_v1.sh +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Dec 6 17:43 inventory +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Jan 9 16:58 logs +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 6 caddy systemd-journal 4.0K Mar 5 08:41 mariadb +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 4 root root 4.0K Nov 24 19:08 mautic +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 25 19:20 monitoring +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 30 07:35 nats +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 25 17:04 openwebui +[GOLDEN] ls: /opt/hx-ki :: drwx------ 19 caddy root 4.0K Mar 4 08:43 postgres +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 24 19:12 postres +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 26 12:11 reports +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 4 root root 4.0K Nov 26 10:04 repos +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Feb 26 22:08 stack +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 4 root root 4.0K Nov 24 16:20 syncthing +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 25 19:15 telemetry +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Jan 26 15:48 tools +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 26 12:00 tresor-cache +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 5 root root 4.0K Nov 21 14:41 venv +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 5 root root 4.0K Nov 27 12:57 web +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Nov 27 02:39 web_backup_20251127_023922 +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 2 root root 4.0K Jan 14 12:45 wireguard +[GOLDEN] ls: /opt/hx-ki :: drwxr-xr-x 3 root root 4.0K Nov 27 12:57 workspaces +[GOLDEN] path: MISSING /opt/hxki-* +[GOLDEN] path: EXISTS /data/HXKI_WORKSPACE +[GOLDEN] ls: /data/HXKI_WORKSPACE :: total 60K +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 15 1000 1000 4.0K Nov 30 15:47 . +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxr-xr-x 3 root root 4.0K Nov 25 07:26 .. +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 1000 1000 4.0K Nov 30 13:30 contracts +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 4 1000 1000 4.0K Nov 25 07:26 docs +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 6 1000 1000 4.0K Nov 30 13:17 events +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 root root 4.0K Nov 30 15:47 flows_in +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 root root 4.0K Nov 30 15:47 flows_out +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 6 1000 1000 4.0K Nov 30 13:17 incoming +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 5 1000 1000 4.0K Nov 30 13:17 logs +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 6 1000 1000 4.0K Nov 30 15:48 n8n_router +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 5 1000 1000 4.0K Nov 30 13:17 outgoing +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 6 root root 4.0K Mar 3 13:42 router +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 1000 1000 4.0K Nov 25 07:26 stage +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 1000 1000 4.0K Nov 25 07:26 telemetry +[GOLDEN] ls: /data/HXKI_WORKSPACE :: drwxrwxrwx 2 1000 1000 4.0K Nov 25 07:26 tmp +[INFO] ===== COMPOSE FILE DISCOVERY (IN /opt) ===== +[GOLDEN] compose: /opt/hx-caddy/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: version: "3.9" +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: caddy: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: image: caddy:2 +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: container_name: hx-caddy-caddy-1 +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - "80:80" +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - "443:443" +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - /opt/hx-ki/caddy/Caddyfile:/etc/caddy/Caddyfile +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - caddy_data:/data +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - caddy_config:/config +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: caddy_data: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: caddy_config: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: hxki-internal: +[GOLDEN] compose_head: /opt/hx-caddy/docker-compose.yml :: external: true +[GOLDEN] compose: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: version: "3.8" +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: hxki-syncthing: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: image: lscr.io/linuxserver/syncthing:latest +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: container_name: hxki-syncthing +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PUID=0 +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PGID=0 +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - TZ=Europe/Berlin +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /opt/hx-ki/syncthing/config:/config +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: network_mode: bridge +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "8384:8384" # Web UI +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/tcp" # Sync TCP +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/udp" # Sync UDP +[GOLDEN] compose_head: /opt/hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "21027:21027/udp" # Local discovery +[GOLDEN] compose: /opt/hx-ki/docker/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: postgres: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: postgres:16 +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-postgres +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: POSTGRES_USER: hxki +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: POSTGRES_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: POSTGRES_DB: hxki_roles +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/postgres:/var/lib/postgresql/data +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: mariadb: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: mariadb:10.11 +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-mariadb +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: MYSQL_ROOT_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/mariadb:/var/lib/mysql +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: n8n: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: docker.n8n.io/n8nio/n8n:latest +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-n8n +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: depends_on: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - postgres +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: N8N_HOST: n8n.hx-ki.com +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_TYPE: postgresdb +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_HOST: hxki-postgres +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PORT: 5432 +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_DATABASE: hxki_roles +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_USER: hxki +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: N8N_PORT: 5678 +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: grafana: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: grafana/grafana-oss:latest +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-grafana +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: gitea: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: gitea/gitea:latest +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-gitea +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: mautic: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: mautic/mautic:5-apache +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-mautic +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: caddy: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: image: caddy:2 +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: container_name: hxki-caddy +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - "80:80" +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - "443:443" +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - /etc/caddy:/etc/caddy +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/caddy_data:/data +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/caddy_config:/config +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: hxki-internal: +[GOLDEN] compose_head: /opt/hx-ki/docker/docker-compose.yml :: external: true +[GOLDEN] compose: /opt/hx-ki/com-stack/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: version: "3.9" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-internal: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: external: true +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== CADDY (Reverse Proxy mit SSL) ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: caddy: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: caddy:latest +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hx-caddy +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - "80:80" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - "443:443" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - ./caddy/Caddyfile:/etc/caddy/Caddyfile +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - caddy_data:/data +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - caddy_config:/config +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== N8N (Master Instanz) ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-n8n: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: docker.n8n.io/n8nio/n8n +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hxki-n8n +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - N8N_BASIC_AUTH_ACTIVE=false +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - N8N_DIAGNOSTICS_ENABLED=false +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - N8N_HOST=n8n.hx-ki.com +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - N8N_PORT=5678 +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - N8N_EDITOR_BASE_URL=https://n8n.hx-ki.com +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - WEBHOOK_URL=https://n8n.hx-ki.com +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - /data/HXKI_WORKSPACE/router:/home/node/.n8n +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== Grafana ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-grafana: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: grafana/grafana:latest +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hxki-grafana +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - grafana_data:/var/lib/grafana +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== Postgres ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-postgres: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: postgres:15 +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hxki-postgres +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: POSTGRES_PASSWORD: "hxki_password" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - postgres_data:/var/lib/postgresql/data +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== MariaDB ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-mariadb: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: mariadb:10.11 +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hxki-mariadb +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: MYSQL_ROOT_PASSWORD: "hxki_password" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - mariadb_data:/var/lib/mysql +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: # ========== WebUI ========== +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: hxki-web: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: image: node:18 +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: container_name: hxki-web +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: command: > +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: bash -c "cd /app && npm install && npm run start" +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: - ./web:/app +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: grafana_data: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: postgres_data: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: mariadb_data: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: caddy_data: +[GOLDEN] compose_head: /opt/hx-ki/com-stack/docker-compose.yml :: caddy_config: +[GOLDEN] compose: /opt/hx-ki/nats/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: version: "3.9" +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: hxki-nats-fsn: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: image: nats:latest +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: container_name: hxki-nats-fsn +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: command: ["-js", "-m", "8222"] +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: - "4222:4222" +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: - "8222:8222" +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: hxki-internal: +[GOLDEN] compose_head: /opt/hx-ki/nats/docker-compose.yml :: external: true +[GOLDEN] compose: /opt/hx-ki/stack/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: version: "3.9" +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: hxki-web: +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: build: . +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: container_name: hxki-web +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/stack/docker-compose.yml :: - "3003:3003" +[GOLDEN] compose: /opt/hx-ki/grafana/docker-compose.yml +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: grafana: +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: image: grafana/grafana-oss:latest +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: container_name: hxki-grafana +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: user: "0" +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - "3000:3000" +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - /opt/hx-ki/grafana/data:/var/lib/grafana +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - /opt/hx-ki/grafana/provisioning:/etc/grafana/provisioning +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - GF_SECURITY_ADMIN_PASSWORD=admin +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - GF_SERVER_DOMAIN=localhost +[GOLDEN] compose_head: /opt/hx-ki/grafana/docker-compose.yml :: - GF_SERVER_ROOT_URL=http://localhost:3000 +[GOLDEN] compose: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: version: "3.8" +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: hxki-syncthing: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: image: lscr.io/linuxserver/syncthing:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: container_name: hxki-syncthing +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PUID=0 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PGID=0 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - TZ=Europe/Berlin +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /opt/hx-ki/syncthing/config:/config +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: network_mode: bridge +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "8384:8384" # Web UI +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/tcp" # Sync TCP +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/udp" # Sync UDP +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "21027:21027/udp" # Local discovery +[FOREIGN] compose: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: version: "3.9" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: hxki-internal: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: external: true +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: services: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # POSTGRES (für n8n) +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: postgres: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: postgres:16 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_USER: hxki +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_PASSWORD: supersecure +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_DB: hxki_roles +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/postgres:/var/lib/postgresql/data +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "5432:5432" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # N8N – DAS MASTER-NERVENSYSTEM +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: n8n: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: docker.n8n.io/n8nio/n8n:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-n8n +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: depends_on: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: N8N_HOST: n8n.hx-ki.com +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: N8N_PORT: 5678 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: WEBHOOK_URL: https://n8n.hx-ki.com/ +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: N8N_PROTOCOL: https +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_TYPE: postgresdb +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_HOST: postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PORT: 5432 +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_USER: hxki +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PASSWORD: supersecure +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_DATABASE: hxki_roles +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: NATS_URL: nats://49.12.97.28:4222 +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /data/HXKI_WORKSPACE/router:/home/node/.n8n +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "5678:5678" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # CADDY – SUBDOMAINS, TLS, ROUTING +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: hxki-caddy: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: caddy:2 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-caddy +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "80:80" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "443:443" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - caddy_data:/data +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - caddy_config:/config +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # GRAFANA +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: grafana: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: grafana/grafana-oss:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "3000:3000" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/grafana:/var/lib/grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # MARIA DB (für mautic) +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: mariadb: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: mariadb:10.11 +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-mariadb +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MYSQL_ROOT_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MYSQL_DATABASE: mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/mariadb:/var/lib/mysql +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "3306:3306" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # MAUTIC +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: mautic: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: mautic/mautic:5-apache +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: depends_on: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - mariadb +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_HOST: mariadb +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_USER: root +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_NAME: mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "8080:80" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # GITEA +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: gitea: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: image: gitea/gitea:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-gitea +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - "3001:3000" +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: - /var/lib/gitea:/data +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: caddy_data: +[GOLDEN] compose_head: /opt/system_freeze_20260226_145459/opt_hx-ki/docker/docker-compose.yml :: caddy_config: +[GOLDEN] compose: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: version: "3.8" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: hxki-syncthing: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: image: lscr.io/linuxserver/syncthing:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: container_name: hxki-syncthing +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PUID=0 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - PGID=0 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - TZ=Europe/Berlin +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /opt/hx-ki/syncthing/config:/config +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: network_mode: bridge +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "8384:8384" # Web UI +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/tcp" # Sync TCP +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "22000:22000/udp" # Sync UDP +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/hxki-syncthing/docker-compose.yml :: - "21027:21027/udp" # Local discovery +[FOREIGN] compose: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: version: "3.9" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: hxki-internal: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: external: true +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: services: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # POSTGRES (für n8n) +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: postgres: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: postgres:16 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_USER: hxki +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_PASSWORD: supersecure +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: POSTGRES_DB: hxki_roles +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/postgres:/var/lib/postgresql/data +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "5432:5432" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # N8N – DAS MASTER-NERVENSYSTEM +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: n8n: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: docker.n8n.io/n8nio/n8n:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-n8n +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: depends_on: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: N8N_HOST: n8n.hx-ki.com +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: N8N_PORT: 5678 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: WEBHOOK_URL: https://n8n.hx-ki.com/ +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: N8N_PROTOCOL: https +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_TYPE: postgresdb +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_HOST: postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PORT: 5432 +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_USER: hxki +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_PASSWORD: supersecure +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: DB_POSTGRESDB_DATABASE: hxki_roles +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: NATS_URL: nats://49.12.97.28:4222 +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /data/HXKI_WORKSPACE/router:/home/node/.n8n +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "5678:5678" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # CADDY – SUBDOMAINS, TLS, ROUTING +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: hxki-caddy: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: caddy:2 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-caddy +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "80:80" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "443:443" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/docker/hxki-caddy/Caddyfile:/etc/caddy/Caddyfile +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - caddy_data:/data +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - caddy_config:/config +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # GRAFANA +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: grafana: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: grafana/grafana-oss:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "3000:3000" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/grafana:/var/lib/grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # MARIA DB (für mautic) +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: mariadb: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: mariadb:10.11 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-mariadb +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MYSQL_ROOT_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MYSQL_DATABASE: mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /opt/hx-ki/mariadb:/var/lib/mysql +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "3306:3306" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # MAUTIC +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: mautic: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: mautic/mautic:5-apache +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: depends_on: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - mariadb +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_HOST: mariadb +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_USER: root +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_PASSWORD: supersecure +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: MAUTIC_DB_NAME: mautic +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "8080:80" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # GITEA +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: # ------------------------------------------- +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: gitea: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: image: gitea/gitea:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: container_name: hxki-gitea +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - "3001:3000" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: - /var/lib/gitea:/data +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: caddy_data: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/docker/docker-compose.yml :: caddy_config: +[FOREIGN] compose: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: version: "3.9" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-internal: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: external: true +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: services: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== CADDY (Reverse Proxy mit SSL) ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: caddy: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: caddy:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hx-caddy +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: ports: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - "80:80" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - "443:443" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - ./caddy/Caddyfile:/etc/caddy/Caddyfile +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - caddy_data:/data +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - caddy_config:/config +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== N8N (Master Instanz) ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-n8n: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: docker.n8n.io/n8nio/n8n +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hxki-n8n +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - N8N_BASIC_AUTH_ACTIVE=false +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - N8N_DIAGNOSTICS_ENABLED=false +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - N8N_HOST=n8n.hx-ki.com +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - N8N_PORT=5678 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - N8N_EDITOR_BASE_URL=https://n8n.hx-ki.com +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - WEBHOOK_URL=https://n8n.hx-ki.com +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - /data/HXKI_WORKSPACE/router:/home/node/.n8n +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - /data/HXKI_WORKSPACE:/data/HXKI_WORKSPACE +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== Grafana ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-grafana: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: grafana/grafana:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hxki-grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - grafana_data:/var/lib/grafana +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== Postgres ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-postgres: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: postgres:15 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hxki-postgres +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: POSTGRES_PASSWORD: "hxki_password" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - postgres_data:/var/lib/postgresql/data +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== MariaDB ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-mariadb: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: mariadb:10.11 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hxki-mariadb +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: restart: unless-stopped +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: environment: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: MYSQL_ROOT_PASSWORD: "hxki_password" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - mariadb_data:/var/lib/mysql +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: # ========== WebUI ========== +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: hxki-web: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: image: node:18 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: container_name: hxki-web +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - hxki-internal +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: command: > +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: bash -c "cd /app && npm install && npm run start" +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: - ./web:/app +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: grafana_data: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: postgres_data: +[FOREIGN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: mariadb_data: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: caddy_data: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/com-stack/docker-compose.yml :: caddy_config: +[GOLDEN] compose: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: version: "3.9" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: hxki-nats-fsn: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: image: nats:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: container_name: hxki-nats-fsn +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: command: ["-js", "-m", "8222"] +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: - "4222:4222" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: - "8222:8222" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: - hxki-internal +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: networks: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: hxki-internal: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/nats/docker-compose.yml :: external: true +[GOLDEN] compose: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: services: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: grafana: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: image: grafana/grafana-oss:latest +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: container_name: hxki-grafana +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: restart: unless-stopped +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: user: "0" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: ports: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - "3000:3000" +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: volumes: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - /opt/hx-ki/grafana/data:/var/lib/grafana +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - /opt/hx-ki/grafana/provisioning:/etc/grafana/provisioning +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: environment: +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - NATS_URL=nats://91.98.42.205:4222 +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - GF_SECURITY_ADMIN_PASSWORD=admin +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - GF_SERVER_DOMAIN=localhost +[GOLDEN] compose_head: /opt/system_freeze_20260226_150121/opt_hx-ki/grafana/docker-compose.yml :: - GF_SERVER_ROOT_URL=http://localhost:3000 +[INFO] DONE diff --git a/env/.env b/env/.env new file mode 100644 index 0000000..6e564c9 --- /dev/null +++ b/env/.env @@ -0,0 +1 @@ +HXKI_NODE_NAME=FSN1 diff --git a/grafana/docker-compose.yml b/grafana/docker-compose.yml new file mode 100644 index 0000000..5abea07 --- /dev/null +++ b/grafana/docker-compose.yml @@ -0,0 +1,16 @@ +services: + grafana: + image: grafana/grafana-oss:latest + container_name: hxki-grafana + restart: unless-stopped + user: "0" + ports: + - "3000:3000" + volumes: + - /opt/hx-ki/grafana/data:/var/lib/grafana + - /opt/hx-ki/grafana/provisioning:/etc/grafana/provisioning + environment: + - NATS_URL=nats://91.98.42.205:4222 + - GF_SECURITY_ADMIN_PASSWORD=admin + - GF_SERVER_DOMAIN=localhost + - GF_SERVER_ROOT_URL=http://localhost:3000 diff --git a/grafana/grafana.db b/grafana/grafana.db new file mode 100644 index 0000000..8f829e3 Binary files /dev/null and b/grafana/grafana.db differ diff --git a/grafana/plugins/grafana-exploretraces-app/156.js b/grafana/plugins/grafana-exploretraces-app/156.js new file mode 100644 index 0000000..5b7accc --- /dev/null +++ b/grafana/plugins/grafana-exploretraces-app/156.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkgrafana_exploretraces_app=self.webpackChunkgrafana_exploretraces_app||[]).push([[156],{94156:(e,t,o)=>{o.d(t,{default:()=>i});var r={a:"α",b:"ḅ",c:"ͼ",d:"ḍ",e:"ḛ",f:"ϝ",g:"ḡ",h:"ḥ",i:"ḭ",j:"ĵ",k:"ḳ",l:"ḽ",m:"ṃ",n:"ṇ",o:"ṓ",p:"ṗ",q:"ʠ",r:"ṛ",s:"ṡ",t:"ţ",u:"ṵ",v:"ṽ",w:"ẁ",x:"ẋ",y:"ẏ",z:"ẓ",A:"À",B:"β",C:"Ḉ",D:"Ḍ",E:"Ḛ",F:"Ḟ",G:"Ḡ",H:"Ḥ",I:"Ḭ",J:"Ĵ",K:"Ḱ",L:"Ḻ",M:"Ṁ",N:"Ṅ",O:"Ṏ",P:"Ṕ",Q:"Ǫ",R:"Ṛ",S:"Ṣ",T:"Ṫ",U:"Ṳ",V:"Ṿ",W:"Ŵ",X:"Ẋ",Y:"Ŷ",Z:"Ż"},n=["a","e","i","o","u","y","A","E","I","O","U","Y"],a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},o=t.languageToPseudo,a=void 0===o?"en":o,i=t.letterMultiplier,s=void 0===i?2:i,p=t.repeatedLetters,l=void 0===p?n:p,u=t.uglifedLetterObject,d=void 0===u?r:u,c=t.wrapped,f=void 0!==c&&c,g=t.enabled,h=void 0===g||g;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="pseudo",this.type="postProcessor",this.options={languageToPseudo:a,letterMultiplier:s,wrapped:f,repeatedLetters:l,letters:d,enabled:h}}return e.prototype.configurePseudo=function(e){this.options=a({},this.options,e)},e.prototype.process=function(e,t,o,r){var n=this;if(r.language&&this.options.languageToPseudo!==r.language||!this.options.enabled)return e;var a,i,s,p=0,l=e.split("").map(function(e){return"}"===e?(p=0,e):"{"===e?(p++,e):2===p?e:-1!==n.options.repeatedLetters.indexOf(e)?n.options.letters[e].repeat(n.options.letterMultiplier):n.options.letters[e]||e}).join("");return a={shouldWrap:this.options.wrapped,string:l},i=a.shouldWrap,s=a.string,i?"["+s+"]":s},e}()}}]); +//# sourceMappingURL=156.js.map?_cache=e167fe345e30e9bf6f22 \ No newline at end of file diff --git a/grafana/plugins/grafana-exploretraces-app/156.js.map b/grafana/plugins/grafana-exploretraces-app/156.js.map new file mode 100644 index 0000000..df02253 --- /dev/null +++ b/grafana/plugins/grafana-exploretraces-app/156.js.map @@ -0,0 +1 @@ +{"version":3,"file":"156.js?_cache=e167fe345e30e9bf6f22","mappings":"6JAAO,IAAIA,EAAmB,CAC5BC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,EAAG,KAGMC,EAAS,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,KCvDxEC,EAAWC,OAAOC,QAAU,SAAUC,GAAU,IAAK,IAAIhD,EAAI,EAAGA,EAAIiD,UAAUC,OAAQlD,IAAK,CAAE,IAAImD,EAASF,UAAUjD,GAAI,IAAK,IAAIoD,KAAOD,EAAcL,OAAOO,UAAUC,eAAeC,KAAKJ,EAAQC,KAAQJ,EAAOI,GAAOD,EAAOC,GAAU,CAAE,OAAOJ,CAAQ,EAM/P,IAAIQ,EAAS,WACX,SAASA,IACP,IAAIC,EAAOR,UAAUC,OAAS,QAAsBQ,IAAjBT,UAAU,GAAmBA,UAAU,GAAK,CAAC,EAC5EU,EAAwBF,EAAKG,iBAC7BA,OAA6CF,IAA1BC,EAAsC,KAAOA,EAChEE,EAAwBJ,EAAKK,iBAC7BA,OAA6CJ,IAA1BG,EAAsC,EAAIA,EAC7DE,EAAuBN,EAAKO,gBAC5BA,OAA2CN,IAAzBK,EAAqCnB,EAASmB,EAChEE,EAAwBR,EAAKS,oBAC7BA,OAAgDR,IAA1BO,EAAsC1E,EAAmB0E,EAC/EE,EAAeV,EAAKW,QACpBA,OAA2BV,IAAjBS,GAAqCA,EAC/CE,EAAeZ,EAAKa,QACpBA,OAA2BZ,IAAjBW,GAAoCA,GAlBtD,SAAyBE,EAAUC,GAAe,KAAMD,aAAoBC,GAAgB,MAAM,IAAIC,UAAU,oCAAwC,CAoBpJC,CAAgBC,KAAMnB,GAEtBmB,KAAKC,KAAO,SACZD,KAAKE,KAAO,gBACZF,KAAKG,QAAU,CACblB,iBAAkBA,EAClBE,iBAAkBA,EAClBM,QAASA,EACTJ,gBAAiBA,EACjBe,QAASb,EACTI,QAASA,EAEb,CA6BA,OA3BAd,EAAOH,UAAU2B,gBAAkB,SAAyBF,GAC1DH,KAAKG,QAAUjC,EAAS,CAAC,EAAG8B,KAAKG,QAASA,EAC5C,EAEAtB,EAAOH,UAAU4B,QAAU,SAAiBC,EAAO9B,EAAK0B,EAASK,GAC/D,IAAIC,EAAQT,KAEZ,GAAIQ,EAAWE,UAAYV,KAAKG,QAAQlB,mBAAqBuB,EAAWE,WAAaV,KAAKG,QAAQR,QAChG,OAAOY,EAET,IDW8CzB,EAC5C6B,EACAC,ECbEC,EAAe,EACfC,EAAiBP,EAAMQ,MAAM,IAAIC,IAAI,SAAUC,GACjD,MAAe,MAAXA,GACFJ,EAAe,EACRI,GAEM,MAAXA,GACFJ,IACOI,GAEY,IAAjBJ,EAA2BI,GAE2B,IAAnDR,EAAMN,QAAQd,gBAAgB6B,QAAQD,GAAiBR,EAAMN,QAAQC,QAAQa,GAAQE,OAAOV,EAAMN,QAAQhB,kBAAoBsB,EAAMN,QAAQC,QAAQa,IAAWA,CACxK,GAAGG,KAAK,IACR,ODH8CtC,ECGzB,CAAE6B,WAAYX,KAAKG,QAAQV,QAASmB,OAAQE,GDF/DH,EAAa7B,EAAK6B,WAClBC,EAAS9B,EAAK8B,OACXD,EAAa,IAAMC,EAAS,IAAMA,CCCzC,EAEO/B,CACT,CA1Da,E","sources":["webpack://grafana-exploretraces-app/../node_modules/i18next-pseudo/es/utils.js","webpack://grafana-exploretraces-app/../node_modules/i18next-pseudo/es/index.js"],"sourcesContent":["export var uglifiedAlphabet = {\n a: 'α',\n b: 'ḅ',\n c: 'ͼ',\n d: 'ḍ',\n e: 'ḛ',\n f: 'ϝ',\n g: 'ḡ',\n h: 'ḥ',\n i: 'ḭ',\n j: 'ĵ',\n k: 'ḳ',\n l: 'ḽ',\n m: 'ṃ',\n n: 'ṇ',\n o: 'ṓ',\n p: 'ṗ',\n q: 'ʠ',\n r: 'ṛ',\n s: 'ṡ',\n t: 'ţ',\n u: 'ṵ',\n v: 'ṽ',\n w: 'ẁ',\n x: 'ẋ',\n y: 'ẏ',\n z: 'ẓ',\n A: 'À',\n B: 'β',\n C: 'Ḉ',\n D: 'Ḍ',\n E: 'Ḛ',\n F: 'Ḟ',\n G: 'Ḡ',\n H: 'Ḥ',\n I: 'Ḭ',\n J: 'Ĵ',\n K: 'Ḱ',\n L: 'Ḻ',\n M: 'Ṁ',\n N: 'Ṅ',\n O: 'Ṏ',\n P: 'Ṕ',\n Q: 'Ǫ',\n R: 'Ṛ',\n S: 'Ṣ',\n T: 'Ṫ',\n U: 'Ṳ',\n V: 'Ṿ',\n W: 'Ŵ',\n X: 'Ẋ',\n Y: 'Ŷ',\n Z: 'Ż'\n};\n\nexport var vowels = ['a', 'e', 'i', 'o', 'u', 'y', 'A', 'E', 'I', 'O', 'U', 'Y'];\n\nexport var stringWrapper = function stringWrapper(_ref) {\n var shouldWrap = _ref.shouldWrap,\n string = _ref.string;\n return shouldWrap ? '[' + string + ']' : string;\n};","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nimport { uglifiedAlphabet, vowels, stringWrapper } from './utils';\n\nvar Pseudo = function () {\n function Pseudo() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$languageToPseudo = _ref.languageToPseudo,\n languageToPseudo = _ref$languageToPseudo === undefined ? 'en' : _ref$languageToPseudo,\n _ref$letterMultiplier = _ref.letterMultiplier,\n letterMultiplier = _ref$letterMultiplier === undefined ? 2 : _ref$letterMultiplier,\n _ref$repeatedLetters = _ref.repeatedLetters,\n repeatedLetters = _ref$repeatedLetters === undefined ? vowels : _ref$repeatedLetters,\n _ref$uglifedLetterObj = _ref.uglifedLetterObject,\n uglifedLetterObject = _ref$uglifedLetterObj === undefined ? uglifiedAlphabet : _ref$uglifedLetterObj,\n _ref$wrapped = _ref.wrapped,\n wrapped = _ref$wrapped === undefined ? false : _ref$wrapped,\n _ref$enabled = _ref.enabled,\n enabled = _ref$enabled === undefined ? true : _ref$enabled;\n\n _classCallCheck(this, Pseudo);\n\n this.name = 'pseudo';\n this.type = 'postProcessor';\n this.options = {\n languageToPseudo: languageToPseudo,\n letterMultiplier: letterMultiplier,\n wrapped: wrapped,\n repeatedLetters: repeatedLetters,\n letters: uglifedLetterObject,\n enabled: enabled\n };\n }\n\n Pseudo.prototype.configurePseudo = function configurePseudo(options) {\n this.options = _extends({}, this.options, options);\n };\n\n Pseudo.prototype.process = function process(value, key, options, translator) {\n var _this = this;\n\n if (translator.language && this.options.languageToPseudo !== translator.language || !this.options.enabled) {\n return value;\n }\n var bracketCount = 0;\n var processedValue = value.split('').map(function (letter) {\n if (letter === '}') {\n bracketCount = 0;\n return letter;\n }\n if (letter === '{') {\n bracketCount++;\n return letter;\n }\n if (bracketCount === 2) return letter;\n\n return _this.options.repeatedLetters.indexOf(letter) !== -1 ? _this.options.letters[letter].repeat(_this.options.letterMultiplier) : _this.options.letters[letter] || letter;\n }).join('');\n return stringWrapper({ shouldWrap: this.options.wrapped, string: processedValue });\n };\n\n return Pseudo;\n}();\n\nexport { Pseudo as default };"],"names":["uglifiedAlphabet","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","vowels","_extends","Object","assign","target","arguments","length","source","key","prototype","hasOwnProperty","call","Pseudo","_ref","undefined","_ref$languageToPseudo","languageToPseudo","_ref$letterMultiplier","letterMultiplier","_ref$repeatedLetters","repeatedLetters","_ref$uglifedLetterObj","uglifedLetterObject","_ref$wrapped","wrapped","_ref$enabled","enabled","instance","Constructor","TypeError","_classCallCheck","this","name","type","options","letters","configurePseudo","process","value","translator","_this","language","shouldWrap","string","bracketCount","processedValue","split","map","letter","indexOf","repeat","join"],"sourceRoot":""} \ No newline at end of file diff --git a/grafana/plugins/grafana-exploretraces-app/200.js b/grafana/plugins/grafana-exploretraces-app/200.js new file mode 100644 index 0000000..3441958 --- /dev/null +++ b/grafana/plugins/grafana-exploretraces-app/200.js @@ -0,0 +1,3 @@ +/*! For license information please see 200.js.LICENSE.txt */ +(self.webpackChunkgrafana_exploretraces_app=self.webpackChunkgrafana_exploretraces_app||[]).push([[200],{177:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Editar filtro com a chave {{keyLabel}}","managed-filter":"Filtro gerido de {{origin}}","non-applicable":"","remove-filter-with-key":"Remover filtro com a chave {{keyLabel}} "},"adhoc-filters-combobox":{"remove-filter-value":"Remover o valor do filtro - {{itemLabel}} ","use-custom-value":"Utilizar valor personalizado: {{itemLabel}}"},"fallback-page":{content:"Se chegou aqui através de um link, pode existir um erro nesta aplicação.",subTitle:"O URL não corresponde a nenhuma página",title:"Não encontrado"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Recolher cena","expand-button-label":"Expandir cena","remove-button-label":"Remover cena"},"scene-debugger":{"object-details":"Detalhes do objeto","scene-graph":"Gráfico de cena","title-scene-debugger":"Depurador de cena"},"scene-grid-row":{"collapse-row":"Recolher linha","expand-row":"Expandir linha"},"scene-refresh-picker":{"text-cancel":"Cancelar","text-refresh":"Atualizar","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Comparação","button-tooltip":"Ativar a comparação de intervalos de tempo"},splitter:{"aria-label-pane-resize-widget":"Widget de redimensionamento de painel"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Título"}},"viz-panel-explore-button":{explore:"Explorar"},"viz-panel-renderer":{"loading-plugin-panel":"A carregar o painel de plugins...","panel-plugin-has-no-panel-component":"O plugin do painel não tem componente de painel"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"A renderização de demasiadas séries num único painel pode afetar o desempenho e dificultar a leitura dos dados. ","warning-message":"A mostrar apenas {{seriesLimit}} séries"}},utils:{"controls-label":{"tooltip-remove":"Remover"},"loading-indicator":{"content-cancel-query":"Cancelar consulta"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Editar operador de filtro"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Adicionar filtro","title-add-filter":"Adicionar filtro"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Remover filtro","key-select":{"placeholder-select-label":"Selecione etiqueta"},"label-select-label":"Selecione etiqueta","title-remove-filter":"Remover filtro","value-select":{"placeholder-select-value":"Selecionar valor"}},"data-source-variable":{label:{default:"padrão"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"limpar",tooltip:"Aplicado por predefinição neste painel de controlo. Em caso de edição, é transferido para outros painéis de controlo.","tooltip-restore-groupby-set-by-this-dashboard":"Restaurar grupo definido por este painel de controlo."},"format-registry":{formats:{description:{"commaseparated-values":"Valores separados por vírgulas","double-quoted-values":"Valores entre aspas duplas","format-date-in-different-ways":"Formatar a data de diferentes formas","format-multivalued-variables-using-syntax-example":"Formatar variáveis de valores múltiplos com a sintaxe glob, exemplo {value1,value2}","html-escaping-of-values":"Escape de valores HTML","join-values-with-a-comma":"","json-stringify-value":"Valor no formato JSON (stringify)","keep-value-as-is":"Manter o valor como está","multiple-values-are-formatted-like-variablevalue":"Os valores múltiplos são formatados como variável=valor","single-quoted-values":"Valores entre aspas simples","useful-escaping-values-taking-syntax-characters":"Útil para valores de escape de URL, tendo em conta carateres de sintaxe URI","useful-for-url-escaping-values":"Útil para valores de escape de URL","values-are-separated-by-character":"Os valores são separados pelo caráter |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Agrupar por seletor","placeholder-group-by-label":"Agrupar por etiqueta"},"interval-variable":{"placeholder-select-value":"Selecionar valor"},"loading-options-placeholder":{"loading-options":"A carregar opções..."},"multi-value-apply-button":{apply:"Aplicar"},"no-options-placeholder":{"no-options-found":"Nenhuma opção encontrada"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Ocorreu um erro ao obter as etiquetas. Clique para tentar novamente"},"test-object-with-variable-dependency":{title:{hello:"Olá"}},"test-variable":{text:{text:"Texto"}},"variable-value-input":{"placeholder-enter-value":"Introduza o valor"},"variable-value-select":{"placeholder-select-value":"Selecionar valor"}}}}},977:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof window}function a(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}n.d(t,{$4:()=>D,CP:()=>x,L9:()=>L,Lv:()=>h,Ng:()=>c,Tc:()=>M,Tf:()=>g,ZU:()=>f,_m:()=>O,ep:()=>o,eu:()=>k,gJ:()=>w,mq:()=>a,sQ:()=>_,sb:()=>u,v9:()=>E,vq:()=>l,zk:()=>i});const d=new Set(["inline","contents"]);function f(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=L(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!d.has(a)}const p=new Set(["table","td","th"]);function h(e){return p.has(a(e))}const m=[":popover-open",":modal"];function g(e){return m.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const v=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function _(e){const t=M(),n=l(e)?L(e):e;return v.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||y.some(e=>(n.willChange||"").includes(e))||b.some(e=>(n.contain||"").includes(e))}function w(e){let t=D(e);for(;u(t)&&!k(t);){if(_(t))return t;if(g(t))return null;t=D(t)}return null}function M(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const S=new Set(["html","body","#document"]);function k(e){return S.has(a(e))}function L(e){return i(e).getComputedStyle(e)}function x(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function D(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||o(e);return c(t)?t.host:t}function T(e){const t=D(e);return k(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&f(t)?t:T(t)}function E(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=T(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),s=i(a);if(o){const e=O(s);return t.concat(s,s.visualViewport||[],f(a)?a:[],e&&n?E(e):[])}return t.concat(a,E(a,[],n))}function O(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},1080:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var i=n(77638),o=n(52320),s=n(7394),l=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return a(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,a=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(a,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(a,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),o.intervalProvider.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i.Action);t.AsyncAction=l},1152:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(42689))},1178:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t,n)=>r(e,t,n)<=0},1266:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var i=n(4512);t.createOperatorSubscriber=function(e,t,n,r,a){return new o(e,t,n,r,a)};var o=function(e){function t(t,n,r,a,i,o){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=o,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=a?function(e){try{a(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return a(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(i.Subscriber);t.OperatorSubscriber=o},1812:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var r=n(11282),a=n(79391);t.mergeAll=function(e){return void 0===e&&(e=1/0),r.mergeMap(a.identity,e)}},2103:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(42689))},2192:(e,t,n)=>{"use strict";var r=n(85959),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},2318:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var r=n(56871);t.NotFoundError=r.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})},2728:(e,t,n)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:i}=n(86484),o=n(75906),s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],d=t.t={};let f=0;const p="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[p,a]],m=(e,t,n)=>{const r=(e=>{for(const[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),a=f++;o(e,a,t),d[e]=a,u[a]=t,c[a]=r,s[a]=new RegExp(t,n?"g":void 0),l[a]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),m("MAINVERSION",`(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASE",`(?:-(${u[d.PRERELEASEIDENTIFIER]}(?:\\.${u[d.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[d.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${p}+`),m("BUILD",`(?:\\+(${u[d.BUILDIDENTIFIER]}(?:\\.${u[d.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[d.MAINVERSION]}${u[d.PRERELEASE]}?${u[d.BUILD]}?`),m("FULL",`^${u[d.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[d.MAINVERSIONLOOSE]}${u[d.PRERELEASELOOSE]}?${u[d.BUILD]}?`),m("LOOSE",`^${u[d.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[d.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:${u[d.PRERELEASE]})?${u[d.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:${u[d.PRERELEASELOOSE]})?${u[d.BUILD]}?)?)?`),m("XRANGE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),m("COERCE",`${u[d.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[d.COERCEPLAIN]+`(?:${u[d.PRERELEASE]})?`+`(?:${u[d.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",u[d.COERCE],!0),m("COERCERTLFULL",u[d.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[d.LONECARET]}${u[d.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[d.LONECARET]}${u[d.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[d.GTLT]}\\s*(${u[d.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]}|${u[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[d.XRANGEPLAIN]})\\s+-\\s+(${u[d.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[d.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2736:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PointShape:()=>a,SeriesMapping:()=>i,XYShowMode:()=>o,defaultFieldConfig:()=>l,defaultMatcherConfig:()=>s,defaultOptions:()=>u,pluginVersion:()=>r});const r="12.3.1";var a=(e=>(e.Circle="circle",e.Square="square",e))(a||{}),i=(e=>(e.Auto="auto",e.Manual="manual",e))(i||{}),o=(e=>(e.Lines="lines",e.Points="points",e.PointsAndLines="points+lines",e))(o||{});const s={id:""},l={fillOpacity:50,show:"points"},u={series:[]}},2802:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Edit filter with key {{keyLabel}}","managed-filter":"{{origin}} managed filter","non-applicable":"Filter is not applicable","remove-filter-with-key":"Remove filter with key {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Remove filter value - {{itemLabel}}","use-custom-value":"Use custom value: {{itemLabel}}"},"drilldown-recommendations":{recent:"Recent","recent-empty":"No recent values",recommended:"Recommended","recommended-empty":"No recommended values",tooltip:"Show recommendations"},"fallback-page":{content:"If you found your way here using a link then there might be a bug in this application.",subTitle:"The url did not match any page",title:"Not found"},"lazy-loader":{placeholder:" "},"nested-scene-renderer":{"collapse-button-label":"Collapse scene","expand-button-label":"Expand scene","remove-button-label":"Remove scene"},"scene-debugger":{"object-details":"Object details","scene-graph":"Scene graph","title-scene-debugger":"Scene debugger"},"scene-grid-row":{"collapse-row":"Collapse row","expand-row":"Expand row"},"scene-refresh-picker":{"text-cancel":"Cancel","text-refresh":"Refresh","tooltip-cancel":"Cancel all queries"},"scene-time-range-compare-renderer":{"button-label":"Comparison","button-tooltip":"Enable time frame comparison"},splitter:{"aria-label-pane-resize-widget":"Pane resize widget"},"time-picker":{"move-backward-tooltip":"Move {{moveBackwardDuration}} backward","move-forward-tooltip":"Move {{moveForwardDuration}} forward"},"viz-panel":{title:{title:"Title"}},"viz-panel-explore-button":{explore:"Explore"},"viz-panel-renderer":{"loading-plugin-panel":"Loading plugin panel...","panel-plugin-has-no-panel-component":"Panel plugin has no panel component"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Rendering too many series in a single panel may impact performance and make data harder to read.","warning-message":"Showing only {{seriesLimit}} series"}},utils:{"controls-label":{"tooltip-remove":"Remove"},"loading-indicator":{"content-cancel-query":"Cancel query"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Edit filter operator"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Add filter","title-add-filter":"Add filter"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Remove filter","key-select":{"placeholder-select-label":"Select label"},"label-select-label":"Select label","title-remove-filter":"Remove filter","value-select":{"placeholder-select-value":"Select value"}},"adhoc-filters-combobox-renderer":{collapse:"Collapse","collapse-filters":"Collapse filters"},"data-source-variable":{label:{default:"default"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"clear",tooltip:"Applied by default in this dashboard. If edited, it carries over to other dashboards.","tooltip-restore-groupby-set-by-this-dashboard":"Restore groupby set by this dashboard."},"format-registry":{formats:{description:{"commaseparated-values":"Comma-separated values","double-quoted-values":"Double quoted values","format-date-in-different-ways":"Format date in different ways","format-multivalued-variables-using-syntax-example":"Format multi-valued variables using glob syntax, example {value1,value2}","html-escaping-of-values":"HTML escaping of values","join-values-with-a-comma":"Join values with a comma","json-stringify-value":"JSON stringify value","keep-value-as-is":"Keep value as is","multiple-values-are-formatted-like-variablevalue":"Multiple values are formatted like variable=value","single-quoted-values":"Single quoted values","useful-escaping-values-taking-syntax-characters":"Useful for URL escaping values, taking into URI syntax characters","useful-for-url-escaping-values":"Useful for URL escaping values","values-are-separated-by-character":"Values are separated by | character"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Group by selector","placeholder-group-by-label":"Group by label"},"interval-variable":{"placeholder-select-value":"Select value"},"loading-options-placeholder":{"loading-options":"Loading options..."},"multi-value-apply-button":{apply:"Apply"},"no-options-placeholder":{"no-options-found":"No options found"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"An error has occurred fetching labels. Click to retry"},"test-object-with-variable-dependency":{title:{hello:"Hello"}},"test-variable":{text:{text:"Text"}},"variable-value-input":{"placeholder-enter-value":"Enter value"},"variable-value-select":{"placeholder-select-value":"Select value"}}}}},2934:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(42689))},3002:function(e,t,n){!function(e){"use strict";var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],a=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],i=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(42689))},3003:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(85959);const a="undefined"!=typeof document?r.useLayoutEffect:()=>{}},3123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var r=n(92023);t.fromSubscribable=function(e){return new r.Observable(function(t){return e.subscribe(t)})}},3310:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(42689))},3367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var r=n(35416),a=n(52819);t.findIndex=function(e,t){return r.operate(a.createFind(e,t,"index"))}},3731:(e,t,n)=>{"use strict";const r=n(9618);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},3818:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var r=n(47071),a=n(35416);t.reduce=function(e,t){return a.operate(r.scanInternals(e,t,arguments.length>=2,!1,!0))}},4382:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Edit filter dengan kunci {{keyLabel}}","managed-filter":"Filter {{origin}} yang dikelola","non-applicable":"","remove-filter-with-key":"Hapus filter dengan kunci {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Hapus nilai filter - {{itemLabel}}","use-custom-value":"Gunakan nilai kustom: {{itemLabel}}"},"fallback-page":{content:"Jika Anda diarahkan ke sini menggunakan tautan, mungkin ada bug dalam aplikasi ini.",subTitle:"URL tidak cocok dengan halaman mana pun",title:"Tidak ditemukan"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Ciutkan tampilan","expand-button-label":"Perluas tampilan","remove-button-label":"Hapus tampilan"},"scene-debugger":{"object-details":"Detail objek","scene-graph":"Grafik tampilan","title-scene-debugger":"Debugger tampilan"},"scene-grid-row":{"collapse-row":"Ciutkan baris","expand-row":"Perbesar baris"},"scene-refresh-picker":{"text-cancel":"Batalkan","text-refresh":"Muat ulang","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Perbandingan","button-tooltip":"Aktifkan perbandingan kerangka waktu"},splitter:{"aria-label-pane-resize-widget":"Widget pengubah ukuran panel"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Judul"}},"viz-panel-explore-button":{explore:"Jelajahi"},"viz-panel-renderer":{"loading-plugin-panel":"Memuat panel plugin...","panel-plugin-has-no-panel-component":"Plugin panel tidak memiliki komponen panel"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Menampilkan terlalu banyak seri data dalam satu panel dapat memengaruhi kinerja dan membuat data lebih sulit dibaca.","warning-message":"Menampilkan {{seriesLimit}} seri data saja"}},utils:{"controls-label":{"tooltip-remove":"Hapus"},"loading-indicator":{"content-cancel-query":"Batalkan kueri"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Edit operator filter"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Tambahkan filter","title-add-filter":"Tambahkan filter"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Hapus filter","key-select":{"placeholder-select-label":"Pilih label"},"label-select-label":"Pilih label","title-remove-filter":"Hapus filter","value-select":{"placeholder-select-value":"Pilih nilai"}},"data-source-variable":{label:{default:"default"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"hapus",tooltip:"Diterapkan secara default di dasbor ini. Jika diedit, ini akan diteruskan ke dasbor lain.","tooltip-restore-groupby-set-by-this-dashboard":"Pulihkan 'kelompokkan berdasarkan' yang ditetapkan oleh dasbor ini."},"format-registry":{formats:{description:{"commaseparated-values":"Nilai yang dipisahkan koma","double-quoted-values":"Nilai dalam tanda kutip ganda","format-date-in-different-ways":"Format tanggal dengan berbagai cara yang berbeda","format-multivalued-variables-using-syntax-example":"Format variabel multi-nilai menggunakan sintaks glob, contoh {value1, value2}","html-escaping-of-values":"Nilai HTML escaping","join-values-with-a-comma":"","json-stringify-value":"Nilai stringify JSON","keep-value-as-is":"Pertahankan nilai apa adanya","multiple-values-are-formatted-like-variablevalue":"Beberapa nilai diformat seperti variabel=nilai","single-quoted-values":"Nilai dalam tanda kutip tunggal","useful-escaping-values-taking-syntax-characters":"Berguna untuk nilai escaping URL, memperhitungkan karakter sintaks URI","useful-for-url-escaping-values":"Berguna untuk nilai URL escaping","values-are-separated-by-character":"Nilai dipisahkan oleh karakter |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Kelompokkan berdasarkan selektor","placeholder-group-by-label":"Kelompokkan berdasarkan label"},"interval-variable":{"placeholder-select-value":"Pilih nilai"},"loading-options-placeholder":{"loading-options":"Memuat opsi..."},"multi-value-apply-button":{apply:"Terapkan"},"no-options-placeholder":{"no-options-found":"Opsi tidak ditemukan"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Terjadi kesalahan saat mengambil label. Klik untuk mencoba lagi"},"test-object-with-variable-dependency":{title:{hello:"Halo"}},"test-variable":{text:{text:"Teks"}},"variable-value-input":{"placeholder-enter-value":"Masukkan nilai"},"variable-value-select":{"placeholder-select-value":"Pilih nilai"}}}}},4386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var r=n(1080),a=n(61017);t.asyncScheduler=new a.AsyncScheduler(r.AsyncAction),t.async=t.asyncScheduler},4452:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},4693:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t)=>r(e,t,!0)},4880:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var a=n(20020),i=n(27491),o=n(35416),s=n(52296),l=n(1266),u=n(16129),c=n(7394);t.windowToggle=function(e,t){return o.operate(function(n,o){var d=[],f=function(e){for(;0{"use strict";const r=n(39534),a=n(66293);e.exports=(e,t,n)=>{let i=null,o=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new r(i,n)))}),i}},4940:e=>{"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},5161:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t,n)=>r(e,t,n)<0},5192:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}function i(e,t){return t?"dažas sekundes":"dažām sekundēm"}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:i,ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},5198:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(42689))},5566:(e,t,n)=>{"use strict";const r=n(39534);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},5606:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var r=n(61763),a=n(10587);t.zipAll=function(e){return a.joinAllInternals(r.zip,e)}},5662:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(42689))},6105:(e,t)=>{"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,a,i,o){return r((s=r(r(t,e),r(a,o)))<<(l=i)|s>>>32-l,n);var s,l}function i(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function o(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function s(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n>5]>>>a%32&255,i=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var r=n(52296),a=n(35416),i=n(1266);t.switchMap=function(e,t){return a.operate(function(n,a){var o=null,s=0,l=!1,u=function(){return l&&!o&&a.complete()};n.subscribe(i.createOperatorSubscriber(a,function(n){null==o||o.unsubscribe();var l=0,c=s++;r.innerFrom(e(n,c)).subscribe(o=i.createOperatorSubscriber(a,function(e){return a.next(t?t(n,e,c,l++):e)},function(){o=null,u()}))},function(){l=!0,u()}))})}},6317:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(42689))},6339:(e,t,n)=>{"use strict";const r=n(39534);e.exports=(e,t)=>new r(e,t).patch},6682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=n},6776:e=>{!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,a=n.length,i={};r{"use strict";const r=n(5566);e.exports=(e,t,n)=>0!==r(e,t,n)},7057:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},7151:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},7203:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(42689))},7394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}},7396:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){return a(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function r(e){return a(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return a(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return a(e)}return a(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},7775:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var r=n(47209),a=n(35416),i=n(1266),o=n(52296),s=n(35461);t.repeat=function(e){var t,n,l=1/0;return null!=e&&("object"==typeof e?(t=e.count,l=void 0===t?1/0:t,n=e.delay):l=e),l<=0?function(){return r.EMPTY}:a.operate(function(e,t){var r,a=0,u=function(){if(null==r||r.unsubscribe(),r=null,null!=n){var e="number"==typeof n?s.timer(n):o.innerFrom(n(a)),l=i.createOperatorSubscriber(t,function(){l.unsubscribe(),c()});e.subscribe(l)}else c()},c=function(){var n=!1;r=e.subscribe(i.createOperatorSubscriber(t,void 0,function(){++a{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Filtreyi {{keyLabel}} anahtarıyla düzenle","managed-filter":"{{origin}} yönetimli filtre","non-applicable":"","remove-filter-with-key":"Filtreyi {{keyLabel}} anahtarıyla kaldır"},"adhoc-filters-combobox":{"remove-filter-value":"Filtre değerini kaldır - {{itemLabel}}","use-custom-value":"Özel değer kullan: {{itemLabel}}"},"fallback-page":{content:"Buraya bir bağlantı aracılığıyla ulaştıysanız uygulamada bir hata olabilir.",subTitle:"URL hiçbir sayfayla eşleşmedi.",title:"Bulunamadı"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Sahneyi daralt","expand-button-label":"Sahneyi genişlet","remove-button-label":"Sahneyi kaldır"},"scene-debugger":{"object-details":"Nesne ayrıntıları","scene-graph":"Sahne grafiği","title-scene-debugger":"Sahne hata ayıklayıcı"},"scene-grid-row":{"collapse-row":"Satırı daralt","expand-row":"Satırı genişlet"},"scene-refresh-picker":{"text-cancel":"İptal","text-refresh":"Yenile","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Karşılaştırma","button-tooltip":"Zaman dilimi karşılaştırmasını etkinleştir"},splitter:{"aria-label-pane-resize-widget":"Bölme yeniden boyutlandırma widget'ı"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Başlık"}},"viz-panel-explore-button":{explore:"Keşfet"},"viz-panel-renderer":{"loading-plugin-panel":"Eklenti paneli yükleniyor...","panel-plugin-has-no-panel-component":"Panel eklentisinde panel bileşeni yok"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Tek bir panelde çok fazla seri işlenmesi, performansı etkileyebilir ve verilerin okunmasını zorlaştırabilir.","warning-message":"Sadece {{seriesLimit}} serileri gösteriliyor"}},utils:{"controls-label":{"tooltip-remove":"Kaldır"},"loading-indicator":{"content-cancel-query":"Sorguyu iptal et"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Filtre işlecini düzenle"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Filtre ekle","title-add-filter":"Filtre ekle"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Filtreyi kaldır","key-select":{"placeholder-select-label":"Etiket seçin"},"label-select-label":"Etiket seçin","title-remove-filter":"Filtreyi kaldır","value-select":{"placeholder-select-value":"Değer seçin"}},"data-source-variable":{label:{default:"varsayılan"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"temizle",tooltip:"Bu panoda varsayılan olarak uygulanır. Düzenlenirse diğer panolara taşınır.","tooltip-restore-groupby-set-by-this-dashboard":"Bu pano tarafından ayarlanmış groupby kümesini geri yükleyin."},"format-registry":{formats:{description:{"commaseparated-values":"Virgülle ayrılmış değerler","double-quoted-values":"Çift tırnak içindeki değerler","format-date-in-different-ways":"Tarihi farklı şekillerde biçimlendirin","format-multivalued-variables-using-syntax-example":"Çok değerli değişkenleri glob söz dizimi kullanarak biçimlendirin (örneğin {value1,value2}).","html-escaping-of-values":"Değerlerin HTML kaçış karakteriyle yazılması gerekir","join-values-with-a-comma":"","json-stringify-value":"JSON stringify değeri","keep-value-as-is":"Değeri olduğu gibi tut","multiple-values-are-formatted-like-variablevalue":"Birden fazla değer, değişken=değer biçiminde biçimlendirilir","single-quoted-values":"Tek tırnak içindeki değerler","useful-escaping-values-taking-syntax-characters":"URL'ye uygun hâle getirmek için değerlerin kaçış karakteriyle yazılmasında kullanılır; URI söz dizimindeki karakterleri dikkate alır","useful-for-url-escaping-values":"URL'ye uygun hâle getirmek için değerlerin kaçış karakteriyle yazılmasında kullanılır","values-are-separated-by-character":'Değerler "|" karakteriyle ayrılır'}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Seçiciye göre grupla","placeholder-group-by-label":"Etikete göre grupla"},"interval-variable":{"placeholder-select-value":"Değer seçin"},"loading-options-placeholder":{"loading-options":"Seçenekler yükleniyor..."},"multi-value-apply-button":{apply:"Uygula"},"no-options-placeholder":{"no-options-found":"Seçenek bulunamadı"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Etiketler alınırken bir hata oluştu. Yeniden denemek için tıklayın"},"test-object-with-variable-dependency":{title:{hello:"Merhaba"}},"test-variable":{text:{text:"Metin"}},"variable-value-input":{"placeholder-enter-value":"Değer girin"},"variable-value-select":{"placeholder-select-value":"Değer seçin"}}}}},8026:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},8083:(e,t,n)=>{"use strict";n.d(t,{UE:()=>j,RK:()=>P,ll:()=>T,rD:()=>H,__:()=>E,UU:()=>C,jD:()=>R,mG:()=>I,ER:()=>F,cY:()=>O,iD:()=>x,BN:()=>Y,Ej:()=>A});var r=n(58015);function a(e,t,n){let{reference:a,floating:i}=e;const o=(0,r.TV)(t),s=(0,r.Dz)(t),l=(0,r.sq)(s),u=(0,r.C0)(t),c="y"===o,d=a.x+a.width/2-i.width/2,f=a.y+a.height/2-i.height/2,p=a[l]/2-i[l]/2;let h;switch(u){case"top":h={x:d,y:a.y-i.height};break;case"bottom":h={x:d,y:a.y+a.height};break;case"right":h={x:a.x+a.width,y:f};break;case"left":h={x:a.x-i.width,y:f};break;default:h={x:a.x,y:a.y}}switch((0,r.Sg)(t)){case"start":h[s]-=p*(n&&c?-1:1);break;case"end":h[s]+=p*(n&&c?-1:1)}return h}async function i(e,t){var n;void 0===t&&(t={});const{x:a,y:i,platform:o,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),g=l[p?"floating"===f?"reference":"floating":f],v=(0,r.B1)(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),y="floating"===f?{x:a,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),_=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},w=(0,r.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-w.top+m.top)/_.y,bottom:(w.bottom-v.bottom+m.bottom)/_.y,left:(v.left-w.left+m.left)/_.x,right:(w.right-v.right+m.right)/_.x}}function o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s(e){return r.r_.some(t=>e[t]>=0)}function l(e){const t=(0,r.jk)(...e.map(e=>e.left)),n=(0,r.jk)(...e.map(e=>e.top));return{x:t,y:n,width:(0,r.T9)(...e.map(e=>e.right))-t,height:(0,r.T9)(...e.map(e=>e.bottom))-n}}const u=new Set(["left","top"]);var c=n(977);function d(e){const t=(0,c.L9)(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const i=(0,c.sb)(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:a,l=(0,r.LI)(n)!==o||(0,r.LI)(a)!==s;return l&&(n=o,a=s),{width:n,height:a,$:l}}function f(e){return(0,c.vq)(e)?e:e.contextElement}function p(e){const t=f(e);if(!(0,c.sb)(t))return(0,r.Jx)(1);const n=t.getBoundingClientRect(),{width:a,height:i,$:o}=d(t);let s=(o?(0,r.LI)(n.width):n.width)/a,l=(o?(0,r.LI)(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const h=(0,r.Jx)(0);function m(e){const t=(0,c.zk)(e);return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:h}function g(e,t,n,a){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=f(e);let s=(0,r.Jx)(1);t&&(a?(0,c.vq)(a)&&(s=p(a)):s=p(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,c.zk)(e))&&t}(o,n,a)?m(o):(0,r.Jx)(0);let u=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,g=i.height/s.y;if(o){const e=(0,c.zk)(o),t=a&&(0,c.vq)(a)?(0,c.zk)(a):a;let n=e,r=(0,c._m)(n);for(;r&&a&&t!==n;){const e=p(r),t=r.getBoundingClientRect(),a=(0,c.L9)(r),i=t.left+(r.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(a.paddingTop))*e.y;u*=e.x,d*=e.y,h*=e.x,g*=e.y,u+=i,d+=o,n=(0,c.zk)(r),r=(0,c._m)(n)}}return(0,r.B1)({width:h,height:g,x:u,y:d})}function v(e,t){const n=(0,c.CP)(e).scrollLeft;return t?t.left+n:g((0,c.ep)(e)).left+n}function y(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-v(e,n),y:n.top+t.scrollTop}}const b=new Set(["absolute","fixed"]);function _(e,t,n){let a;if("viewport"===t)a=function(e,t){const n=(0,c.zk)(e),r=(0,c.ep)(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;const e=(0,c.Tc)();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}const u=v(r);if(u<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-a);o<=25&&(i-=o)}else u<=25&&(i+=u);return{width:i,height:o,x:s,y:l}}(e,n);else if("document"===t)a=function(e){const t=(0,c.ep)(e),n=(0,c.CP)(e),a=e.ownerDocument.body,i=(0,r.T9)(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),o=(0,r.T9)(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-n.scrollLeft+v(e);const l=-n.scrollTop;return"rtl"===(0,c.L9)(a).direction&&(s+=(0,r.T9)(t.clientWidth,a.clientWidth)-i),{width:i,height:o,x:s,y:l}}((0,c.ep)(e));else if((0,c.vq)(t))a=function(e,t){const n=g(e,!0,"fixed"===t),a=n.top+e.clientTop,i=n.left+e.clientLeft,o=(0,c.sb)(e)?p(e):(0,r.Jx)(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:a*o.y}}(t,n);else{const n=m(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(a)}function w(e,t){const n=(0,c.$4)(e);return!(n===t||!(0,c.vq)(n)||(0,c.eu)(n))&&("fixed"===(0,c.L9)(n).position||w(n,t))}function M(e,t,n){const a=(0,c.sb)(t),i=(0,c.ep)(t),o="fixed"===n,s=g(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const u=(0,r.Jx)(0);function d(){u.x=v(i)}if(a||!a&&!o)if(("body"!==(0,c.mq)(t)||(0,c.ZU)(i))&&(l=(0,c.CP)(t)),a){const e=g(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&d();o&&!a&&i&&d();const f=!i||a||o?(0,r.Jx)(0):y(i,l);return{x:s.left+l.scrollLeft-u.x-f.x,y:s.top+l.scrollTop-u.y-f.y,width:s.width,height:s.height}}function S(e){return"static"===(0,c.L9)(e).position}function k(e,t){if(!(0,c.sb)(e)||"fixed"===(0,c.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.ep)(e)===n&&(n=n.ownerDocument.body),n}function L(e,t){const n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!S(t))return t;t=(0,c.$4)(t)}return n}let r=k(e,t);for(;r&&(0,c.Lv)(r)&&S(r);)r=k(r,t);return r&&(0,c.eu)(r)&&S(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}const x={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:a,strategy:i}=e;const o="fixed"===i,s=(0,c.ep)(a),l=!!t&&(0,c.Tf)(t.floating);if(a===s||l&&o)return n;let u={scrollLeft:0,scrollTop:0},d=(0,r.Jx)(1);const f=(0,r.Jx)(0),h=(0,c.sb)(a);if((h||!h&&!o)&&(("body"!==(0,c.mq)(a)||(0,c.ZU)(s))&&(u=(0,c.CP)(a)),(0,c.sb)(a))){const e=g(a);d=p(a),f.x=e.x+a.clientLeft,f.y=e.y+a.clientTop}const m=!s||h||o?(0,r.Jx)(0):y(s,u);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+m.x,y:n.y*d.y-u.scrollTop*d.y+f.y+m.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:a,strategy:i}=e;const o=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,c.v9)(e,[],!1).filter(e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e)),a=null;const i="fixed"===(0,c.L9)(e).position;let o=i?(0,c.$4)(e):e;for(;(0,c.vq)(o)&&!(0,c.eu)(o);){const t=(0,c.L9)(o),n=(0,c.sQ)(o);n||"fixed"!==t.position||(a=null),(i?!n&&!a:!n&&"static"===t.position&&a&&b.has(a.position)||(0,c.ZU)(o)&&!n&&w(e,o))?r=r.filter(e=>e!==o):a=t,o=(0,c.$4)(o)}return t.set(e,r),r}(t,this._c):[].concat(n),a],s=o[0],l=o.reduce((e,n)=>{const a=_(t,n,i);return e.top=(0,r.T9)(a.top,e.top),e.right=(0,r.jk)(a.right,e.right),e.bottom=(0,r.jk)(a.bottom,e.bottom),e.left=(0,r.T9)(a.left,e.left),e},_(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:L,getElementRects:async function(e){const t=this.getOffsetParent||L,n=this.getDimensions,r=await n(e.floating);return{reference:M(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=d(e);return{width:t,height:n}},getScale:p,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function D(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function T(e,t,n,a){void 0===a&&(a={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=a,d=f(e),p=i||o?[...d?(0,c.v9)(d):[],...(0,c.v9)(t)]:[];p.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const h=d&&l?function(e,t){let n,a=null;const i=(0,c.ep)(e);function o(){var e;clearTimeout(n),null==(e=a)||e.disconnect(),a=null}return function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),o();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(l||t(),!p||!h)return;const m={rootMargin:-(0,r.RI)(f)+"px "+-(0,r.RI)(i.clientWidth-(d+p))+"px "+-(0,r.RI)(i.clientHeight-(f+h))+"px "+-(0,r.RI)(d)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,u))||1};let g=!0;function v(t){const r=t[0].intersectionRatio;if(r!==u){if(!g)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||D(c,e.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(e){a=new IntersectionObserver(v,m)}a.observe(e)}(!0),o}(d,n):null;let m,v=-1,y=null;s&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),d&&!u&&y.observe(d),y.observe(t));let b=u?g(e):null;return u&&function t(){const r=g(e);b&&!D(b,r)&&n();b=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(m)}}const E=i,O=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,a;const{x:i,y:o,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:a,elements:i}=e,o=await(null==a.isRTL?void 0:a.isRTL(i.floating)),s=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),d=u.has(s)?-1:1,f=o&&c?-1:1,p=(0,r._3)(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof g&&(m="end"===l?-1*g:g),c?{x:m*f,y:h*d}:{x:h*d,y:m*f}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(a=l.arrow)&&a.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:s}}}}},P=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,a,o;const{rects:s,middlewareData:l,placement:u,platform:c,elements:d}=t,{crossAxis:f=!1,alignment:p,allowedPlacements:h=r.DD,autoAlignment:m=!0,...g}=(0,r._3)(e,t),v=void 0!==p||h===r.DD?function(e,t,n){return(e?[...n.filter(t=>(0,r.Sg)(t)===e),...n.filter(t=>(0,r.Sg)(t)!==e)]:n.filter(e=>(0,r.C0)(e)===e)).filter(n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n)}(p||null,m,h):h,y=await i(t,g),b=(null==(n=l.autoPlacement)?void 0:n.index)||0,_=v[b];if(null==_)return{};const w=(0,r.w7)(_,s,await(null==c.isRTL?void 0:c.isRTL(d.floating)));if(u!==_)return{reset:{placement:v[0]}};const M=[y[(0,r.C0)(_)],y[w[0]],y[w[1]]],S=[...(null==(a=l.autoPlacement)?void 0:a.overflows)||[],{placement:_,overflows:M}],k=v[b+1];if(k)return{data:{index:b+1,overflows:S},reset:{placement:k}};const L=S.map(e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=(null==(o=L.filter(e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||L[0][0];return x!==u?{data:{index:b+1,overflows:S},reset:{placement:x}}:{}}}},Y=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:a,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),d={x:n,y:a},f=await i(t,c),p=(0,r.TV)((0,r.C0)(o)),h=(0,r.PG)(p);let m=d[h],g=d[p];if(s){const e="y"===h?"bottom":"right",t=m+f["y"===h?"top":"left"],n=m-f[e];m=(0,r.qE)(t,m,n)}if(l){const e="y"===p?"bottom":"right",t=g+f["y"===p?"top":"left"],n=g-f[e];g=(0,r.qE)(t,g,n)}const v=u.fn({...t,[h]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-a,enabled:{[h]:s,[p]:l}}}}}},C=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:o,middlewareData:s,rects:l,initialPlacement:u,platform:c,elements:d}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(o),_=(0,r.TV)(u),w=(0,r.C0)(u)===u,M=await(null==c.isRTL?void 0:c.isRTL(d.floating)),S=h||(w||!v?[(0,r.bV)(u)]:(0,r.WJ)(u)),k="none"!==g;!h&&k&&S.push(...(0,r.lP)(u,v,g,M));const L=[u,...S],x=await i(t,y),D=[];let T=(null==(a=s.flip)?void 0:a.overflows)||[];if(f&&D.push(x[b]),p){const e=(0,r.w7)(o,l,M);D.push(x[e[0]],x[e[1]])}if(T=[...T,{placement:o,overflows:D}],!D.every(e=>e<=0)){var E,O;const e=((null==(E=s.flip)?void 0:E.index)||0)+1,t=L[e];if(t){if(!("alignment"===p&&_!==(0,r.TV)(t))||T.every(e=>(0,r.TV)(e.placement)!==_||e.overflows[0]>0))return{data:{index:e,overflows:T},reset:{placement:t}}}let n=null==(O=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:O.placement;if(!n)switch(m){case"bestFit":{var P;const e=null==(P=T.filter(e=>{if(k){const t=(0,r.TV)(e.placement);return t===_||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}},A=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,a;const{placement:o,rects:s,platform:l,elements:u}=t,{apply:c=()=>{},...d}=(0,r._3)(e,t),f=await i(t,d),p=(0,r.C0)(o),h=(0,r.Sg)(o),m="y"===(0,r.TV)(o),{width:g,height:v}=s.floating;let y,b;"top"===p||"bottom"===p?(y=p,b=h===(await(null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(b=p,y="end"===h?"top":"bottom");const _=v-f.top-f.bottom,w=g-f.left-f.right,M=(0,r.jk)(v-f[y],_),S=(0,r.jk)(g-f[b],w),k=!t.middlewareData.shift;let L=M,x=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(x=w),null!=(a=t.middlewareData.shift)&&a.enabled.y&&(L=_),k&&!h){const e=(0,r.T9)(f.left,0),t=(0,r.T9)(f.right,0),n=(0,r.T9)(f.top,0),a=(0,r.T9)(f.bottom,0);m?x=g-2*(0!==e||0!==t?e+t:(0,r.T9)(f.left,f.right)):L=v-2*(0!==n||0!==a?n+a:(0,r.T9)(f.top,f.bottom))}await c({...t,availableWidth:x,availableHeight:L});const D=await l.getDimensions(u.floating);return g!==D.width||v!==D.height?{reset:{rects:!0}}:{}}}},R=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:a="referenceHidden",...l}=(0,r._3)(e,t);switch(a){case"referenceHidden":{const e=o(await i(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:s(e)}}}case"escaped":{const e=o(await i(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:s(e)}}}default:return{}}}}},j=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:i,rects:o,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,r._3)(e,t)||{};if(null==c)return{};const f=(0,r.nI)(d),p={x:n,y:a},h=(0,r.Dz)(i),m=(0,r.sq)(h),g=await s.getDimensions(c),v="y"===h,y=v?"top":"left",b=v?"bottom":"right",_=v?"clientHeight":"clientWidth",w=o.reference[m]+o.reference[h]-p[h]-o.floating[m],M=p[h]-o.reference[h],S=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let k=S?S[_]:0;k&&await(null==s.isElement?void 0:s.isElement(S))||(k=l.floating[_]||o.floating[m]);const L=w/2-M/2,x=k/2-g[m]/2-1,D=(0,r.jk)(f[y],x),T=(0,r.jk)(f[b],x),E=D,O=k-g[m]-T,P=k/2-g[m]/2+L,Y=(0,r.qE)(E,P,O),C=!u.arrow&&null!=(0,r.Sg)(i)&&P!==Y&&o.reference[m]/2-(Pe.y-t.y),n=[];let a=null;for(let e=0;ea.height/2?n.push([r]):n[n.length-1].push(r),a=r}return n.map(e=>(0,r.B1)(l(e)))}(f),h=(0,r.B1)(l(f)),m=(0,r.nI)(u);const g=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=d)return p.find(e=>c>e.left-m.left&&ce.top-m.top&&d=2){if("y"===(0,r.TV)(n)){const e=p[0],t=p[p.length-1],a="top"===(0,r.C0)(n),i=e.top,o=t.bottom,s=a?e.left:t.left,l=a?e.right:t.right;return{top:i,bottom:o,left:s,right:l,width:l-s,height:o-i,x:s,y:i}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...p.map(e=>e.right)),a=(0,r.jk)(...p.map(e=>e.left)),i=p.filter(n=>e?n.left===a:n.right===t),o=i[0].top,s=i[i.length-1].bottom;return{top:o,bottom:s,left:a,right:t,width:t-a,height:s-o,x:a,y:o}}return h}},floating:a.floating,strategy:s});return i.reference.x!==g.reference.x||i.reference.y!==g.reference.y||i.reference.width!==g.reference.width||i.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},F=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:a,placement:i,rects:o,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=(0,r._3)(e,t),f={x:n,y:a},p=(0,r.TV)(i),h=(0,r.PG)(p);let m=f[h],g=f[p];const v=(0,r._3)(l,t),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+y.mainAxis,n=o.reference[h]+o.reference[e]-y.mainAxis;mn&&(m=n)}if(d){var b,_;const e="y"===h?"width":"height",t=u.has((0,r.C0)(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(b=s.offset)?void 0:b[p])||0)+(t?0:y.crossAxis),a=o.reference[p]+o.reference[e]+(t?0:(null==(_=s.offset)?void 0:_[p])||0)-(t?y.crossAxis:0);ga&&(g=a)}return{[h]:m,[p]:g}}}},H=(e,t,n)=>{const r=new Map,i={platform:x,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,l=o.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=a(c,r,u),p=r,h={},m=0;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var r=n(74828),a=n(52296),i=n(35416),o=n(1266);t.exhaustMap=function e(t,n){return n?function(i){return i.pipe(e(function(e,i){return a.innerFrom(t(e,i)).pipe(r.map(function(t,r){return n(e,t,i,r)}))}))}:i.operate(function(e,n){var r=0,i=null,s=!1;e.subscribe(o.createOperatorSubscriber(n,function(e){i||(i=o.createOperatorSubscriber(n,void 0,function(){i=null,s&&n.complete()}),a.innerFrom(t(e,r++)).subscribe(i))},function(){s=!0,!i&&n.complete()}))})}},9111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),t.default=void 0;var r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(a=t?r:n){if(a.has(e))return a.get(e);a.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?a(o,t,i):o[t]=e[t]);return o}(e,t)}(n(85959)),a=f(n(62688)),i=f(n(48398)),o=n(78784),s=n(32837),l=n(10402),u=n(26732),c=f(n(11060)),d=f(n(57988));function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{(0,d.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})}),h(this,"onDrag",(e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,l.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[a,i]=(0,l.getBoundPosition)(this,r.x,r.y);r.x=a,r.y=i,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)}),h(this,"onDragStop",(e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??i.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:n,defaultPosition:a,defaultClassName:i,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:h,scale:m,...g}=this.props;let v={},y=null;const b=!Boolean(f)||this.state.dragging,_=f||a,w={x:(0,l.canDragX)(this)&&b?this.state.x:_.x,y:(0,l.canDragY)(this)&&b?this.state.y:_.y};this.state.isElementSVG?y=(0,s.createSVGTransform)(w,h):v=(0,s.createCSSTransform)(w,h);const M=(0,o.clsx)(n.props.className||"",i,{[u]:this.state.dragging,[d]:this.state.dragged});return r.createElement(c.default,p({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:M,style:{...n.props.style,...v},transform:y}))}}t.default=m,h(m,"displayName","Draggable"),h(m,"propTypes",{...c.default.propTypes,axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),h(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},9383:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var r=n(35416),a=n(13754);t.mergeScan=function(e,t,n){return void 0===n&&(n=1/0),r.operate(function(r,i){var o=t;return a.mergeInternals(r,i,function(t,n){return e(o,t,n)},n,function(e){o=e},!1,void 0,function(){return o=null})})}},9570:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},9618:(e,t,n)=>{"use strict";const r=n(39534);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},10183:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var r=n(29939);t.distinctUntilKeyChanged=function(e,t){return r.distinctUntilChanged(function(n,r){return t?t(n[e],r[e]):n[e]===r[e]})}},10402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){const a=!(0,r.isNum)(e.lastX),o=i(e);return a?{node:o,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:o,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},t.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:o}=e.props;o="string"==typeof o?o:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(o);const s=i(e);if("string"==typeof o){const{ownerDocument:e}=s,t=e.defaultView;let n;if("parent"===o)n=s.parentNode;else{n=s.getRootNode().querySelector(o)}if(!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+o+'" could not find an element.');const i=n,l=t.getComputedStyle(s),u=t.getComputedStyle(i);o={left:-s.offsetLeft+(0,r.int)(u.paddingLeft)+(0,r.int)(l.marginLeft),top:-s.offsetTop+(0,r.int)(u.paddingTop)+(0,r.int)(l.marginTop),right:(0,a.innerWidth)(i)-(0,a.outerWidth)(s)-s.offsetLeft+(0,r.int)(u.paddingRight)-(0,r.int)(l.marginRight),bottom:(0,a.innerHeight)(i)-(0,a.outerHeight)(s)-s.offsetTop+(0,r.int)(u.paddingBottom)-(0,r.int)(l.marginBottom)}}(0,r.isNum)(o.right)&&(t=Math.min(t,o.right));(0,r.isNum)(o.bottom)&&(n=Math.min(n,o.bottom));(0,r.isNum)(o.left)&&(t=Math.max(t,o.left));(0,r.isNum)(o.top)&&(n=Math.max(n,o.top));return[t,n]},t.getControlPosition=function(e,t,n){const r="number"==typeof t?(0,a.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;const o=i(n),s=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,a.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],a=Math.round(n/e[1])*e[1];return[r,a]};var r=n(26732),a=n(32837);function i(e){const t=e.findDOMNode();if(!t)throw new Error(": Unmounted during event!");return t}},10587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var r=n(79391),a=n(88240),i=n(72393),o=n(11282),s=n(22984);t.joinAllInternals=function(e,t){return i.pipe(s.toArray(),o.mergeMap(function(t){return e(t)}),t?a.mapOneOrManyArgs(t):r.identity)}},11060:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(a=t?r:n){if(a.has(e))return a.get(e);a.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?a(o,t,i):o[t]=e[t]);return o}(e,t)}(n(85959)),a=c(n(62688)),i=c(n(48398)),o=n(32837),s=n(10402),l=n(26732),u=c(n(57988));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={start:"touchstart",move:"touchmove",stop:"touchend"},p={start:"mousedown",move:"mousemove",stop:"mouseup"};let h=p;class m extends r.Component{constructor(){super(...arguments),d(this,"dragging",!1),d(this,"lastX",NaN),d(this,"lastY",NaN),d(this,"touchIdentifier",null),d(this,"mounted",!1),d(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,o.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,o.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();const r=(0,o.getTouchIdentifier)(e);this.touchIdentifier=r;const a=(0,s.getControlPosition)(e,r,this);if(null==a)return;const{x:i,y:l}=a,c=(0,s.createCoreData)(this,i,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart);!1!==this.props.onStart(e,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,o.addUserSelectStyles)(n),this.dragging=!0,this.lastX=i,this.lastY=l,(0,o.addEvent)(n,h.move,this.handleDrag),(0,o.addEvent)(n,h.stop,this.handleDragStop))}),d(this,"handleDrag",e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const a=(0,s.createCoreData)(this,n,r);(0,u.default)("DraggableCore: handleDrag: %j",a);if(!1!==this.props.onDrag(e,a)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}}),d(this,"handleDragStop",e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=r-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,r=this.lastY+t}const a=(0,s.createCoreData)(this,n,r);if(!1===this.props.onStop(e,a)||!1===this.mounted)return!1;const i=this.findDOMNode();i&&this.props.enableUserSelectHack&&(0,o.scheduleRemoveUserSelectStyles)(i.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",a),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,i&&((0,u.default)("DraggableCore: Removing handlers"),(0,o.removeEvent)(i.ownerDocument,h.move,this.handleDrag),(0,o.removeEvent)(i.ownerDocument,h.stop,this.handleDragStop))}),d(this,"onMouseDown",e=>(h=p,this.handleDragStart(e))),d(this,"onMouseUp",e=>(h=p,this.handleDragStop(e))),d(this,"onTouchStart",e=>(h=f,this.handleDragStart(e))),d(this,"onTouchEnd",e=>(h=f,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,o.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,o.removeEvent)(t,p.move,this.handleDrag),(0,o.removeEvent)(t,f.move,this.handleDrag),(0,o.removeEvent)(t,p.stop,this.handleDragStop),(0,o.removeEvent)(t,f.stop,this.handleDragStop),(0,o.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,o.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:i.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=m,d(m,"displayName","DraggableCore"),d(m,"propTypes",{allowAnyClick:a.default.bool,allowMobileScroll:a.default.bool,children:a.default.node.isRequired,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),d(m,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},11106:(e,t,n)=>{"use strict";const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=a;const i=n(78029),{safeRe:o,t:s}=n(2728),l=n(17685),u=n(75906),c=n(39534),d=n(66293)},11258:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},11282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var r=n(74828),a=n(52296),i=n(35416),o=n(13754),s=n(44717);t.mergeMap=function e(t,n,l){return void 0===l&&(l=1/0),s.isFunction(n)?e(function(e,i){return r.map(function(t,r){return n(e,t,i,r)})(a.innerFrom(t(e,i)))},l):("number"==typeof n&&(l=n),i.operate(function(e,n){return o.mergeInternals(e,n,t,l)}))}},11566:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Upravit filtr pomocí klíče {{keyLabel}}","managed-filter":"Spravovaný filtr: {{origin}}","non-applicable":"","remove-filter-with-key":"Odebrat filtr pomocí klíče {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Odebrat hodnotu filtru – {{itemLabel}}","use-custom-value":"Použít vlastní hodnotu: {{itemLabel}}"},"fallback-page":{content:"Pokud jste se sem dostali pomocí odkazu, může se jednat o chybu v této aplikaci.",subTitle:"Adresa URL neodpovídá žádné stránce",title:"Nenalezeno"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Sbalit scénu","expand-button-label":"Rozbalit scénu","remove-button-label":"Odebrat scénu"},"scene-debugger":{"object-details":"Podrobnosti objektu","scene-graph":"Graf scény","title-scene-debugger":"Ladicí program scény"},"scene-grid-row":{"collapse-row":"Sbalit řádek","expand-row":"Rozbalit řádek"},"scene-refresh-picker":{"text-cancel":"Zrušit","text-refresh":"Obnovit","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Srovnání","button-tooltip":"Povolit porovnání časového rámce"},splitter:{"aria-label-pane-resize-widget":"Widget pro změnu velikosti panelu"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Název"}},"viz-panel-explore-button":{explore:"Prozkoumat"},"viz-panel-renderer":{"loading-plugin-panel":"Načítání panelu pluginu…","panel-plugin-has-no-panel-component":"Plugin panelu nemá žádnou komponentu panelu"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Renderování příliš mnoha řad v rámci jednoho panelu může ovlivnit výkon a zhoršit čitelnost dat.","warning-message":"Zobrazují se pouze {{seriesLimit}} série/sérií"}},utils:{"controls-label":{"tooltip-remove":"Odebrat"},"loading-indicator":{"content-cancel-query":"Zrušit dotaz"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Upravit operátor filtru"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Přidat filtr","title-add-filter":"Přidat filtr"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Odebrat filtr","key-select":{"placeholder-select-label":"Vybrat štítek"},"label-select-label":"Vybrat štítek","title-remove-filter":"Odebrat filtr","value-select":{"placeholder-select-value":"Vybrat hodnotu"}},"data-source-variable":{label:{default:"výchozí"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"vymazat",tooltip:"Použito ve výchozím nastavení na této nástěnce. Pokud je upraveno, přenese se na jiné nástěnky.","tooltip-restore-groupby-set-by-this-dashboard":"Obnovit skupinu nastavenou touto nástěnkou."},"format-registry":{formats:{description:{"commaseparated-values":"Hodnoty oddělené čárkou","double-quoted-values":"Hodnoty v dvojitých uvozovkách","format-date-in-different-ways":"Formátovat datum různými způsoby","format-multivalued-variables-using-syntax-example":"Formátovat vícehodnotové proměnné pomocí globální syntaxe, například {value1,value2}","html-escaping-of-values":"HTML escapování hodnot","join-values-with-a-comma":"","json-stringify-value":"Hodnota JSON stringify","keep-value-as-is":"Ponechat hodnotu tak, jak je","multiple-values-are-formatted-like-variablevalue":"Více hodnot je formátováno jako proměnná=hodnota","single-quoted-values":"Hodnoty v jednoduchých uvozovkách","useful-escaping-values-taking-syntax-characters":"Užitečné pro hodnoty HTML escapování, přičemž se bere v úvahu syntaxe URL","useful-for-url-escaping-values":"Užitečné pro hodnoty adresy URL escapování","values-are-separated-by-character":"Hodnoty jsou odděleny znakem |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Seřadit podle voliče","placeholder-group-by-label":"Seřadit podle štítku"},"interval-variable":{"placeholder-select-value":"Vybrat hodnotu"},"loading-options-placeholder":{"loading-options":"Načítání možností…"},"multi-value-apply-button":{apply:"Použít"},"no-options-placeholder":{"no-options-found":"Nebyly nalezeny žádné možnosti"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Při načítání štítků došlo k chybě. Klikněte pro opakování"},"test-object-with-variable-dependency":{title:{hello:"Dobrý den"}},"test-variable":{text:{text:"Text"}},"variable-value-input":{"placeholder-enter-value":"Zadat hodnotu"},"variable-value-select":{"placeholder-select-value":"Vybrat hodnotu"}}}}},11625:(e,t,n)=>{"use strict";n.d(t,{$N:()=>i,GR:()=>a,yL:()=>r});var r=(e=>(e.Always="always",e.Auto="auto",e.Never="never",e))(r||{}),a=(e=>(e.Bars="bars",e.Line="line",e.Points="points",e))(a||{});var i=(e=>(e.Multi="multi",e.None="none",e.Single="single",e))(i||{})},11738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var r=n(35129),a=n(83329);t.shareReplay=function(e,t,n){var i,o,s,l,u=!1;return e&&"object"==typeof e?(i=e.bufferSize,l=void 0===i?1/0:i,o=e.windowTime,t=void 0===o?1/0:o,u=void 0!==(s=e.refCount)&&s,n=e.scheduler):l=null!=e?e:1/0,a.share({connector:function(){return new r.ReplaySubject(l,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},11794:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(a=t?r:n){if(a.has(e))return a.get(e);a.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?a(o,t,i):o[t]=e[t]);return o}(e,t)}(n(85959)),a=n(38230),i=n(39954),o=n(16333);const s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;tMath.abs(a*n)?t=e/n:e=t*n}const[i,o]=[e,t];let[s,l]=this.slack||[0,0];return e+=s,t+=l,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),r&&(e=Math.min(r[0],e),t=Math.min(r[1],t)),this.slack=[s+(i-e),l+(o-t)],[e,t]}resizeHandler(e,t){return(n,r)=>{let{node:a,deltaX:i,deltaY:o}=r;"onResizeStart"===e&&this.resetData();const s=("both"===this.props.axis||"x"===this.props.axis)&&"n"!==t&&"s"!==t,l=("both"===this.props.axis||"y"===this.props.axis)&&"e"!==t&&"w"!==t;if(!s&&!l)return;const u=t[0],c=t[t.length-1],d=a.getBoundingClientRect();if(null!=this.lastHandleRect){if("w"===c){i+=d.left-this.lastHandleRect.left}if("n"===u){o+=d.top-this.lastHandleRect.top}}this.lastHandleRect=d,"w"===c&&(i=-i),"n"===u&&(o=-o);let f=this.props.width+(s?i/this.props.transformScale:0),p=this.props.height+(l?o/this.props.transformScale:0);[f,p]=this.runConstraints(f,p),"onResizeStop"===e&&this.lastSize&&({width:f,height:p}=this.lastSize);const h=f!==this.props.width||p!==this.props.height;"onResizeStop"!==e&&(this.lastSize={width:f,height:p});const m="function"==typeof this.props[e]?this.props[e]:null;m&&!("onResize"===e&&!h)&&(n.persist?.(),m(n,{node:a,size:{width:f,height:p},handle:t})),"onResizeStop"===e&&this.resetData()}}renderResizeHandle(e,t){const{handle:n}=this.props;if(!n)return r.createElement("span",{className:`react-resizable-handle react-resizable-handle-${e}`,ref:t});if("function"==typeof n)return n(e,t);const a=c({ref:t},"string"==typeof n.type?{}:{handleAxis:e});return r.cloneElement(n,a)}render(){const e=this.props,{children:t,className:n,draggableOpts:o,width:u,height:d,handle:f,handleSize:p,lockAspectRatio:h,axis:m,minConstraints:g,maxConstraints:v,onResize:y,onResizeStop:b,onResizeStart:_,resizeHandles:w,transformScale:M}=e,S=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r{const t=this.handleRefs[e]??(this.handleRefs[e]=r.createRef());return r.createElement(a.DraggableCore,l({},o,{nodeRef:t,key:`resizableHandle-${e}`,onStop:this.resizeHandler("onResizeStop",e),onStart:this.resizeHandler("onResizeStart",e),onDrag:this.resizeHandler("onResize",e)}),this.renderResizeHandle(e,t))})]}))}}t.default=f,f.propTypes=o.resizableProps,f.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},11824:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var r=n(44717),a=n(64568);function i(e){return e[e.length-1]}t.popResultSelector=function(e){return r.isFunction(i(e))?e.pop():void 0},t.popScheduler=function(e){return a.isScheduler(i(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof i(e)?e.pop():t}},12091:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>M});const{slice:r,forEach:a}=[];const i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,o={create(e,t,n,r){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*n*1e3)),r&&(a.domain=r),document.cookie=function(e,t){const n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};let r=`${e}=${encodeURIComponent(t)}`;if(n.maxAge>0){const e=n.maxAge-0;if(Number.isNaN(e))throw new Error("maxAge should be a Number");r+=`; Max-Age=${Math.floor(e)}`}if(n.domain){if(!i.test(n.domain))throw new TypeError("option domain is invalid");r+=`; Domain=${n.domain}`}if(n.path){if(!i.test(n.path))throw new TypeError("option path is invalid");r+=`; Path=${n.path}`}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return n.partitioned&&(r+="; Partitioned"),r}(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let e=0;e-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));const r=e.substring(1).split("&");for(let e=0;e0){r[e].substring(0,a)===n&&(t=r[e].substring(a+1))}}}return t}},u={name:"hash",lookup(e){let t,{lookupHash:n,lookupFromHashIndex:r}=e;if("undefined"!=typeof window){const{hash:e}=window.location;if(e&&e.length>2){const a=e.substring(1);if(n){const e=a.split("&");for(let r=0;r0){e[r].substring(0,a)===n&&(t=e[r].substring(a+1))}}}if(t)return t;if(!t&&r>-1){const t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;const n="number"==typeof r?r:0;return t[n]?.replace("/","")}}}return t}};let c=null;const d=()=>{if(null!==c)return c;try{if(c="undefined"!=typeof window&&null!==window.localStorage,!c)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){c=!1}return c};var f={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&d())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&d()&&window.localStorage.setItem(n,e)}};let p=null;const h=()=>{if(null!==p)return p;try{if(p="undefined"!=typeof window&&null!==window.sessionStorage,!p)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p};var m={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&h())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&h()&&window.sessionStorage.setItem(n,e)}},g={name:"navigator",lookup(e){const t=[];if("undefined"!=typeof navigator){const{languages:e,userLanguage:n,language:r}=navigator;if(e)for(let n=0;n0?t:void 0}},v={name:"htmlTag",lookup(e){let t,{htmlTag:n}=e;const r=n||("undefined"!=typeof document?document.documentElement:null);return r&&"function"==typeof r.getAttribute&&(t=r.getAttribute("lang")),t}},y={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("undefined"==typeof window)return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(n))return;const r="number"==typeof t?t:0;return n[r]?.replace("/","")}},b={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n="number"==typeof t?t+1:1,r="undefined"!=typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let _=!1;try{document.cookie,_=!0}catch(e){}const w=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];_||w.splice(1,1);class M{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return a.call(r.call(arguments,1),t=>{if(t)for(const n in t)void 0===e[n]&&(e[n]=t[n])}),e}(t,this.options||{},{order:w,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(s),this.addDetector(l),this.addDetector(f),this.addDetector(m),this.addDetector(g),this.addDetector(v),this.addDetector(y),this.addDetector(b),this.addDetector(u)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return e.forEach(e=>{if(this.detectors[e]){let n=this.detectors[e].lookup(this.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}}),t=t.filter(e=>{return null!=e&&!("string"==typeof(t=e)&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(e=>e.test(t)));var t}).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)}))}}M.type="languageDetector"},12366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var r=n(52296),a=n(82803),i=n(44027);t.schedulePromise=function(e,t){return r.innerFrom(e).pipe(i.subscribeOn(t),a.observeOn(t))}},12405:(e,t,n)=>{"use strict";n.d(t,{e:()=>M});var r=n(85959);let a=null;function i(e,t){return!!e&&(!!t&&t.some(t=>t.contains(e)))}function o(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of u.traverse(u.getTreeNode(t)))if(n&&i(e,n.current))return!0;return!1}class s{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let a=new l({scopeRef:e});r.addChild(a),a.parent=r,this.fastMap.set(e,a),n&&(a.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&i(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new s;var n;for(let r of this.traverse())t.addTreeNode(r.scopeRef,null!==(n=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new l({scopeRef:null}),this.fastMap.set(null,this.root)}}class l{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let u=new s;var c,d=n(3003);const f=null!==(c=r.useInsertionEffect)&&void 0!==c?c:d.N;function p(e){const t=(0,r.useRef)(null);return f(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{const n=t.current;return null==n?void 0:n(...e)},[])}var h=n(71570);function m(e){let{ref:t,onInteractOutside:n,isDisabled:a,onInteractOutsideStart:i}=e,o=(0,r.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=p(e=>{n&&g(e,t)&&(i&&i(e),o.current.isPointerDown=!0)}),l=p(e=>{n&&n(e)});(0,r.useEffect)(()=>{let e=o.current;if(a)return;const n=t.current,r=(0,h.TW)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&g(n,t)&&l(n),e.isPointerDown=!1};return r.addEventListener("pointerdown",s,!0),r.addEventListener("click",n,!0),()=>{r.removeEventListener("pointerdown",s,!0),r.removeEventListener("click",n,!0)}}},[t,a])}function g(e,t){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var v=n(18952);function y(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,a)=>{let i=(null==a?void 0:a.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:a}),t.addEventListener(n,i,a)},[]),n=(0,r.useCallback)((t,n,r,a)=>{var i;let o=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,o,a),e.current.delete(r)},[]),a=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>a,[a]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:a}}var b=n(19985);function _(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:a,onFocusWithinChange:i}=e,o=(0,r.useRef)({isFocusWithin:!1}),{addGlobalListener:s,removeAllGlobalListeners:l}=y(),u=(0,r.useCallback)(e=>{e.currentTarget.contains(e.target)&&o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,l(),n&&n(e),i&&i(!1))},[n,i,o,l]),c=(0,v.yB)(u),d=(0,r.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;const t=(0,h.TW)(e.target),n=(0,b.bq)(t);if(!o.current.isFocusWithin&&n===(0,b.wt)(e.nativeEvent)){a&&a(e),i&&i(!0),o.current.isFocusWithin=!0,c(e);let n=e.currentTarget;s(t,"focus",e=>{if(o.current.isFocusWithin&&!(0,b.sD)(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,v.o1)(r,n);let a=(0,v.eg)(r);u(a)}},{capture:!0})}},[a,i,c,s,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:u}}}const w=[];function M(e,t){let{onClose:n,shouldCloseOnBlur:i,isOpen:s,isDismissable:l=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:c}=e;(0,r.useEffect)(()=>{if(s&&!w.includes(t))return w.push(t),()=>{let e=w.indexOf(t);e>=0&&w.splice(e,1)}},[s,t]);let d=()=>{w[w.length-1]===t&&n&&n()};m({ref:t,onInteractOutside:l&&s?e=>{c&&!c(e.target)||(w[w.length-1]===t&&(e.stopPropagation(),e.preventDefault()),d())}:void 0,onInteractOutsideStart:e=>{c&&!c(e.target)||w[w.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:f}=_({isDisabled:!i,onBlurWithin:e=>{e.relatedTarget&&!o(e.relatedTarget,a)&&(c&&!c(e.relatedTarget)||null==n||n())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||u||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),d())},...f},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},12548:(e,t,n)=>{e.exports=n(59482).default,e.exports.utils=n(20414),e.exports.Responsive=n(74636).default,e.exports.Responsive.utils=n(50544),e.exports.WidthProvider=n(36805).default},12655:function(e,t,n){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],a=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(42689))},13518:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(85959);const a=function(e){(0,r.useEffect)(e,[])};const i=function(e){a(function(){e()})}},13754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var r=n(52296),a=n(75031),i=n(1266);t.mergeInternals=function(e,t,n,o,s,l,u,c){var d=[],f=0,p=0,h=!1,m=function(){!h||d.length||f||t.complete()},g=function(e){return f{"use strict";n.r(t),n.d(t,{defaultOptions:()=>a,pluginVersion:()=>r});const r="12.3.1",a={selectedSeries:0}},14411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var r=n(72914);t.skip=function(e){return r.filter(function(t,n){return e<=n})}},14502:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var r=n(52296),a=n(82803),i=n(44027);t.scheduleObservable=function(e,t){return r.innerFrom(e).pipe(i.subscribeOn(t),a.observeOn(t))}},14594:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultOptions:()=>i,pluginVersion:()=>a});var r=n(85569);const a="12.3.1",i={cellHeight:r.T.Sm,frameIndex:0,showHeader:!0,showTypeIcons:!1,sortBy:[]}},14740:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var r=n(35416),a=n(1266),i=n(79391),o=n(35461),s=n(52296);t.retry=function(e){var t;void 0===e&&(e=1/0);var n=(t=e&&"object"==typeof e?e:{count:e}).count,l=void 0===n?1/0:n,u=t.delay,c=t.resetOnSuccess,d=void 0!==c&&c;return l<=0?i.identity:r.operate(function(e,t){var n,r=0,i=function(){var c=!1;n=e.subscribe(a.createOperatorSubscriber(t,function(e){d&&(r=0),t.next(e)},void 0,function(e){if(r++{"use strict";var r=n(78510),a=n(87781),i=n(18531),o=n(85959),s=n(31269),l=n(65805),u=n(93241),c=n(79151),d=n(83836),f=n(82007),p=n(45415),h=n(46089),m=n(87993),g=n(79171),v=n(34566),y=n(74650),b=n(79089);n(48398);var _=n(46022),w=n(12548),M=n(26972),S=n(42392),k=n(14200),L=n(36748),x=n(48364),D=n(65938),T=n(97190),E=n(21724),O=n(94116),P=n(84268),Y=n(91918),C=n(85366),A=n(14594),R=n(86828),j=n(2736);function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var F=I(o),H=I(m),N=I(w);function z(e,t,n){const r={...t};if(n)for(const e of Object.keys(r))n.includes(e)||delete r[e];return a.urlUtil.renderUrl(a.locationUtil.assureBaseUrl(e),r)}function V(e){const t=r.useParams(),n=r.useLocation();return{params:t,isExact:null!==r.matchPath({path:e,caseSensitive:!1,end:!0},n.pathname),path:n.pathname,url:n.pathname}}const W=new Map;const $=F.default.memo(function({model:e,...t}){var n;const r=null!=(n=e.constructor.Component)?n:U,[a,i]=o.useState(0);return o.useEffect(()=>{const t=e.activate();return i(e=>e+1),t},[e]),e.isActive||e.renderBeforeActivation?F.default.createElement(r,{...t,model:e}):null});function U(e){return null}class B extends a.BusEventWithPayload{}B.type="scene-object-state-change";class q extends a.BusEventWithPayload{}q.type="scene-object-user-action";var G,K=e=>{throw TypeError(e)},J=(e,t,n)=>t.has(e)||K("Cannot "+n);class Q{constructor(e){var t,n,r;t=this,(n=G).has(t)?K("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,r),((e,t,n)=>{J(e,t,"write to private field"),t.set(e,n)})(this,G,e)}resolve(){return J(e=this,t=G,"read from private field"),n?n.call(e):t.get(e);var e,t,n}}G=new WeakMap;class Z{constructor(e){this._isActive=!1,this._activationHandlers=[],this._deactivationHandlers=new Map,this._subs=new s.Subscription,this._refCount=0,this._renderBeforeActivation=!1,e.key||(e.key=l.v4()),this._events=new a.EventBusSrv,this._state=Object.freeze(e),this._setParent(this._state)}get state(){return this._state}get isActive(){return this._isActive}get renderBeforeActivation(){return this._renderBeforeActivation}get parent(){return this._parent}get variableDependency(){return this._variableDependency}get urlSync(){return this._urlSync}get Component(){return $}_setParent(e){ee(e,e=>{e._parent&&e._parent!==this&&console.warn("SceneObject already has a parent set that is different from the new parent. You cannot share the same SceneObject instance in multiple scenes or in multiple different places of the same scene graph. Use SceneObject.clone() to duplicate a SceneObject or store a state key reference and use sceneGraph.findObject to locate it.",e,this),e._parent=this})}clearParent(){this._parent=void 0}subscribeToState(e){return this._events.subscribe(B,t=>{t.payload.changedObject===this&&e(t.payload.newState,t.payload.prevState)})}subscribeToEvent(e,t){return this._events.subscribe(e,t)}setState(e){const t=this._state,n={...this._state,...e};this._state=Object.freeze(n),this._setParent(e),this._handleActivationOfChangedStateProps(t,n),this.publishEvent(new B({prevState:t,newState:n,partialUpdate:e,changedObject:this}),!0)}_handleActivationOfChangedStateProps(e,t){this.isActive&&(e.$behaviors!==t.$behaviors&&this._handleChangedBehaviors(e.$behaviors,t.$behaviors),e.$data!==t.$data&&this._handleChangedStateActivation(e.$data,t.$data),e.$variables!==t.$variables&&this._handleChangedStateActivation(e.$variables,t.$variables),e.$timeRange!==t.$timeRange&&this._handleChangedStateActivation(e.$timeRange,t.$timeRange))}_handleChangedStateActivation(e,t){if(e){const t=this._deactivationHandlers.get(e);t&&(t(),this._deactivationHandlers.delete(e))}t&&this._deactivationHandlers.set(t,t.activate())}_handleChangedBehaviors(e,t){if(e)for(const n of e)if(!t||!t.includes(n)){const e=this._deactivationHandlers.get(n);e&&(e(),this._deactivationHandlers.delete(n))}if(t)for(const n of t)e&&e.includes(n)||this._activateBehavior(n)}publishEvent(e,t){this._events.publish(e),t&&this.parent&&this.parent.publishEvent(e,t)}getRoot(){return this._parent?this._parent.getRoot():this}_internalActivate(){this._isActive=!0;const{$data:e,$variables:t,$timeRange:n,$behaviors:r}=this.state;if(this._activationHandlers.forEach(e=>{const t=e();t&&this._deactivationHandlers.set(t,t)}),n&&!n.isActive&&this._deactivationHandlers.set(n,n.activate()),t&&!t.isActive&&this._deactivationHandlers.set(t,t.activate()),e&&!e.isActive&&this._deactivationHandlers.set(e,e.activate()),r)for(const e of r)this._activateBehavior(e)}_activateBehavior(e){if(e instanceof Z)this._deactivationHandlers.set(e,e.activate());else if("function"==typeof e){const t=e(this);t&&this._deactivationHandlers.set(e,t)}}activate(){this.isActive||this._internalActivate(),this._refCount++;let e=!1;return()=>{if(this._refCount--,e){throw new Error("SceneObject cancelation handler returned by activate() called a second time")}e=!0,0===this._refCount&&this._internalDeactivate()}}_internalDeactivate(){this._isActive=!1;for(let e of this._deactivationHandlers.values())e();this._deactivationHandlers.clear(),this._events.removeAllListeners(),this._subs.unsubscribe(),this._subs=new s.Subscription}useState(){return X(this)}forceRender(){this.setState({})}clone(e){return function(e,t){const n=te(e.state,t);return new e.constructor(n)}(this,e)}addActivationHandler(e){this._activationHandlers.push(e)}forEachChild(e){ee(this.state,e)}getRef(){return this._ref||(this._ref=new Q(this)),this._ref}toJSON(){return{type:Object.getPrototypeOf(this).constructor.name,isActive:this.isActive,state:this.state}}}function X(e,t){var n;const[r,a]=o.useState(e.state),i=e.state,s=null!=(n=null==t?void 0:t.shouldActivateOrKeepAlive)&&n;return o.useEffect(()=>{let t;s&&(t=e.activate());const n=e.subscribeToState(e=>{a(e)});return e.state!==i&&a(e.state),()=>{n.unsubscribe(),t&&t()}},[e,s]),e.state}function ee(e,t){for(const n of Object.values(e)){if(n instanceof Z){if(!1===t(n))break}if(Array.isArray(n)){let e=!1;for(const r of n)if(r instanceof Z){if(!1===t(r)){e=!0;break}}if(e)break}}}function te(e,t){const n={...e};Object.assign(n,t);for(const e in n){if(t&&void 0!==t[e])continue;const r=n[e];if(r instanceof Q)console.warn("Cloning object with SceneObjectRef");else if(r instanceof Z)n[e]=r.clone();else if(Array.isArray(r)){const t=[];for(const e of r)e instanceof Z?t.push(e.clone()):"object"==typeof e?t.push(u.cloneDeep(e)):t.push(e);n[e]=t}else n[e]="object"==typeof r?u.cloneDeep(r):r}return n}class ne extends a.DataSourceApi{constructor(e,t){super({name:"RuntimeDataSource-"+e,uid:t,type:e,id:1,readOnly:!0,jsonData:{},access:"direct",meta:{id:e,name:"RuntimeDataSource-"+e,type:a.PluginType.datasource,info:{author:{name:""},description:"",links:[],logos:{large:"",small:""},screenshots:[],updated:"",version:""},module:"",baseUrl:""}})}testDatasource(){return Promise.resolve({})}}const re=new Map;function ae({dataSource:e}){if(re.has(e.uid))throw new Error(`A runtime data source with uid ${e.uid} has already been registered`);re.set(e.uid,e)}const ie=["from","to","timezone"];class oe{constructor(e){this.index=new Map,this.options={namespace:(null==e?void 0:e.namespace)||"",excludeFromNamespace:(null==e?void 0:e.excludeFromNamespace)||ie}}getOptions(){return this.options}getNamespacedKey(e){return this.options.namespace&&!this.options.excludeFromNamespace.includes(e)?`${this.options.namespace}-${e}`:e}getUniqueKey(e,t){const n=this.getNamespacedKey(e),r=this.index.get(n);if(!r)return this.index.set(n,[t]),n;let a=r.findIndex(e=>e===t);return-1===a&&(!function(e){for(let t=0;t0?`${n}-${a+1}`:n}clear(){this.index.clear()}}function se(e,t){if(!e.parent)return!1;let n=!1;return e.parent.forEachChild(t=>{if(t===e)return n=!0,!1}),!n||se(e.parent)}function le(e,t){const n=new oe(t),r={},a=e=>{if(e.urlSync){const t=e.urlSync.getUrlState();for(const[a,i]of Object.entries(t))if(null!=i){const t=n.getUniqueKey(a,e);r[t]=i}}e.forEachChild(a)};return a(e),r}function ue(e,t,n,r){r||ce(e,t,n),e.forEachChild(e=>{ce(e,t,n)}),e.forEachChild(e=>ue(e,t,n,!0))}function ce(e,t,n){if(e.urlSync){const r={},a=e.urlSync.getUrlState();for(const i of e.urlSync.getKeys()){const o=n.getUniqueKey(i,e),s=t.getAll(o),l=a[i];de(s,l)||(s.length>0?Array.isArray(l)?r[i]=s:r[i]=s[0]:r[i]=null)}Object.keys(r).length>0&&e.urlSync.updateFromUrl(r)}}function de(e,t){return 0===e.length&&null==t||(Array.isArray(t)||1!==(null==e?void 0:e.length)?0===(null==t?void 0:t.length)&&null===e||u.isEqual(e,t):t===e[0])}function fe(e,t){const n=t.state.$variables;if(!n)return t.parent?fe(e,t.parent):null;const r=n.getByName(e);return r||(t.parent?fe(e,t.parent):null)}function pe(e,t,...n){let r=!1;"undefined"!=typeof window&&(r="true"===localStorage.getItem("grafana.debug.scenes"))}var he,me,ge=e=>{throw TypeError(e)},ve=(e,t,n)=>t.has(e)||ge("Cannot "+n),ye=(e,t,n)=>(ve(e,t,"read from private field"),n?n.call(e):t.get(e)),be=(e,t,n)=>t.has(e)?ge("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);function _e(e){return"isQueryController"in e}function we(e){let t=e;for(;t;){if(t.state.$behaviors)for(const e of t.state.$behaviors)if(_e(e))return e;t=t.parent}}he=new WeakMap,me=new WeakMap;class Me extends Z{constructor(e){super({data:Se,...e})}getResultsStream(){const e={origin:this,data:this.state.data};return s.of(e)}}const Se={state:c.LoadingState.Done,series:[],timeRange:a.getDefaultTimeRange()};class ke{constructor(e,t){this._sceneObject=e,this._nextChangeShouldAddHistoryStep=!1,this._keys=t.keys}getKeys(){return"function"==typeof this._keys?this._keys():this._keys}getUrlState(){return this._sceneObject.getUrlState()}updateFromUrl(e){this._sceneObject.updateFromUrl(e)}shouldCreateHistoryStep(e){return this._nextChangeShouldAddHistoryStep}performBrowserHistoryAction(e){this._nextChangeShouldAddHistoryStep=!0,e(),this._nextChangeShouldAddHistoryStep=!1}}function Le(e,t){let n,r=e;for(;r&&!n;)n=t(r),r=r.parent;return n}const xe=/^\d+[yYmMsSwWhHdD]$/;function De(e){if("string"!=typeof e)return null;if(-1!==e.indexOf("now"))return e;if(xe.test(e))return e;if(8===e.length){const t=a.toUtc(e,"YYYYMMDD");if(t.isValid())return t.toISOString()}else if(15===e.length){const t=a.toUtc(e,"YYYYMMDDTHHmmss");if(t.isValid())return t.toISOString()}else if(19===e.length){const t=a.toUtc(e,"YYYY-MM-DD HH:mm:ss");if(t.isValid())return t.toISOString()}else if(24===e.length){return a.toUtc(e).toISOString()}const t=parseInt(e,10);return isNaN(t)?null:a.toUtc(t).toISOString()}function Te(e,t,n,r,i,o){const s=i&&"now"===t,l=Date.now();o&&function(e){e!==Ee&&(Ee=e,a.setWeekStart(e))}(o);const u=(e,t)=>a.dateMath.toDateTime?a.dateMath.toDateTime(e,t):a.dateMath.parse(e,t.roundUp,t.timezone,t.fiscalYearStartMonth);return{to:u(s?"now-"+i:t,{roundUp:!0,timezone:n,fiscalYearStartMonth:r,now:l}),from:u(e,{roundUp:!1,timezone:n,fiscalYearStartMonth:r,now:l}),raw:{from:e,to:t}}}let Ee;function Oe(e,t,n){if(a.isDateTime(e))return e.isValid();if(a.dateMath.isMathString(e))return a.dateMath.isValid(e);return a.dateTimeParse(e,{roundUp:t,timeZone:n}).isValid()}const Pe="refresh",Ye="filter_removed",Ce="filter_changed",Ae="variable_value_changed",Re="groupby_dimensions";class je extends Z{constructor(e={}){var t;const n=e.from&&Oe(e.from)?e.from:"now-6h",r=e.to&&Oe(e.to)?e.to:"now",o=Ie(e.timeZone);super({from:n,to:r,timeZone:o,value:Te(n,r,o||a.getTimeZone(),e.fiscalYearStartMonth,e.UNSAFE_nowDelay,e.weekStart),refreshOnActivate:null!=(t=e.refreshOnActivate)?t:{percent:10},...e}),this._urlSync=new ke(this,{keys:["from","to","timezone","time","time.window"]}),this.onTimeRangeChange=e=>{const t={};if("string"==typeof e.raw.from?t.from=e.raw.from:t.from=e.raw.from.toISOString(),"string"==typeof e.raw.to?t.to=e.raw.to:t.to=e.raw.to.toISOString(),t.value=Te(t.from,t.to,this.getTimeZone(),this.state.fiscalYearStartMonth,this.state.UNSAFE_nowDelay,this.state.weekStart),t.from!==this.state.from||t.to!==this.state.to){const e=we(this);null==e||e.startProfile("time_range_change"),this._urlSync.performBrowserHistoryAction(()=>{this.setState(t)})}},this.onTimeZoneChange=e=>{this._urlSync.performBrowserHistoryAction(()=>{var t;const n=null!=(t=Ie(e))?t:c.defaultTimeZone,r=Te(this.state.from,this.state.to,n,this.state.fiscalYearStartMonth,this.state.UNSAFE_nowDelay,this.state.weekStart);this.setState({timeZone:n,value:r})})},this.onRefresh=()=>{this.refreshRange(0),this.publishEvent(new i.RefreshEvent,!0)},this.addActivationHandler(this._onActivate.bind(this))}_onActivate(){if(!this.state.timeZone){const e=this.getTimeZoneSource();e!==this&&this._subs.add(e.subscribeToState((e,t)=>{void 0!==e.timeZone&&e.timeZone!==t.timeZone&&this.refreshRange(0)}))}return a.rangeUtil.isRelativeTimeRange(this.state.value.raw)&&this.refreshIfStale(),()=>{this.state.weekStart&&a.setWeekStart(i.config.bootData.user.weekStart)}}refreshIfStale(){var e,t,n,r;let a;void 0!==(null==(t=null==(e=this.state)?void 0:e.refreshOnActivate)?void 0:t.percent)&&(a=this.calculatePercentOfInterval(this.state.refreshOnActivate.percent)),void 0!==(null==(r=null==(n=this.state)?void 0:n.refreshOnActivate)?void 0:r.afterMs)&&(a=Math.min(this.state.refreshOnActivate.afterMs,null!=a?a:1/0)),void 0!==a&&this.refreshRange(a)}getTimeZoneSource(){if(!this.parent||!this.parent.parent)return this;const e=Le(this.parent.parent,e=>{if(e.state.$timeRange&&e.state.$timeRange.state.timeZone)return e.state.$timeRange});return e||this}refreshRange(e){var t;const n=Te(this.state.from,this.state.to,null!=(t=this.state.timeZone)?t:a.getTimeZone(),this.state.fiscalYearStartMonth,this.state.UNSAFE_nowDelay,this.state.weekStart);n.to.diff(this.state.value.to,"milliseconds")>=e&&this.setState({value:n})}calculatePercentOfInterval(e){const t=this.state.value.to.diff(this.state.value.from,"milliseconds");return Math.ceil(t/100*e)}getTimeZone(){if(this.state.timeZone&&Ie(this.state.timeZone))return this.state.timeZone;const e=this.getTimeZoneSource();return e!==this&&Ie(e.state.timeZone)?e.state.timeZone:a.getTimeZone()}getUrlState(){const e=i.locationService.getSearchObject(),t={from:this.state.from,to:this.state.to,timezone:this.getTimeZone()};return e.time&&e["time.window"]&&(t.time=null,t["time.window"]=null),t}updateFromUrl(e){var t,n,r;const i={};let o=De(e.from),s=De(e.to);if(e.time&&e["time.window"]){const t=function(e,t){const n=isNaN(Date.parse(e))?parseInt(e,10):Date.parse(e);let r;r=t.match(/^\d+$/)&&parseInt(t,10)?parseInt(t,10):a.rangeUtil.intervalToMs(t);return{from:a.toUtc(n-r/2).toISOString(),to:a.toUtc(n+r/2).toISOString()}}(Array.isArray(e.time)?e.time[0]:e.time,Array.isArray(e["time.window"])?e["time.window"][0]:e["time.window"]);t.from&&Oe(t.from)&&(o=t.from),t.to&&Oe(t.to)&&(s=t.to)}if(o&&Oe(o)&&(i.from=o),s&&Oe(s)&&(i.to=s),"string"==typeof e.timezone&&(i.timeZone=""!==e.timezone?e.timezone:void 0),0!==Object.keys(i).length)return i.value=Te(null!=(t=i.from)?t:this.state.from,null!=(n=i.to)?n:this.state.to,null!=(r=i.timeZone)?r:this.getTimeZone(),this.state.fiscalYearStartMonth,this.state.UNSAFE_nowDelay,this.state.weekStart),this.setState(i)}}function Ie(e){if(void 0!==e)return u.isEmpty(e)?i.config.bootData.user.timezone:e===c.defaultTimeZone||a.getZone(e)?e:void pe()}const Fe=new Me,He=new je;const Ne=new class extends Z{constructor(){super({variables:[]})}getByName(e){}isVariableLoadingOrWaitingToUpdate(e){return!1}};function ze(e){var t;return null!=(t=Le(e,e=>e.state.$timeRange))?t:He}class Ve extends a.BusEventWithPayload{}function We(e){return"object"==typeof e&&"formatter"in e}Ve.type="scene-variable-changed-value";let $e,Ue={};function Be(e){const t=Ue[e];return t||(Ue[e]=u.property(e))}class qe{constructor(e,t){this.state={name:e,value:t,type:"scopedvar"}}getValue(e){let{value:t}=this.state,n=t.value;return n=e?Be(e)(t.value):t.value,"string"===n||"number"===n||"boolean"===n?n:String(n)}getValueText(){const{value:e}=this.state;return null!=e.text?String(e.text):String(e)}}const Ge="All",Ke="$__all",Je="$__auto",Qe=/\$(\w+)|\[\[(\w+?)(?::(\w+))?\]\]|\${(\w+)(?:\.([^:^\}]+))?(?::([^\}]+))?}/g,Ze="__searchFilter",Xe="__scopes",et=new a.Registry(()=>{const e=[{id:c.VariableFormatID.Lucene,name:"Lucene",description:"Values are lucene escaped and multi-valued variables generate an OR expression",formatter:e=>{if("string"==typeof e)return tt(e);if(Array.isArray(e)){if(0===e.length)return"__empty__";return"("+u.map(e,e=>'"'+tt(e)+'"').join(" OR ")+")"}return tt(`${e}`)}},{id:c.VariableFormatID.Raw,name:"raw",description:d.t("grafana-scenes.variables.format-registry.formats.description.keep-value-as-is","Keep value as is"),formatter:e=>String(e)},{id:c.VariableFormatID.Regex,name:"Regex",description:"Values are regex escaped and multi-valued variables generate a (|) expression",formatter:e=>{if("string"==typeof e)return a.escapeRegex(e);if(Array.isArray(e)){const t=e.map(e=>"string"==typeof e?a.escapeRegex(e):a.escapeRegex(String(e)));return 1===t.length?t[0]:"("+t.join("|")+")"}return a.escapeRegex(`${e}`)}},{id:c.VariableFormatID.Pipe,name:"Pipe",description:d.t("grafana-scenes.variables.format-registry.formats.description.values-are-separated-by-character","Values are separated by | character"),formatter:e=>"string"==typeof e?e:Array.isArray(e)?e.join("|"):`${e}`},{id:c.VariableFormatID.Distributed,name:"Distributed",description:d.t("grafana-scenes.variables.format-registry.formats.description.multiple-values-are-formatted-like-variablevalue","Multiple values are formatted like variable=value"),formatter:(e,t,n)=>"string"==typeof e?e:Array.isArray(e)?(e=u.map(e,(e,t)=>0!==t?n.state.name+"="+e:e),e.join(",")):`${e}`},{id:c.VariableFormatID.CSV,name:"Csv",description:d.t("grafana-scenes.variables.format-registry.formats.description.commaseparated-values","Comma-separated values"),formatter:e=>"string"==typeof e?e:u.isArray(e)?e.join(","):String(e)},{id:c.VariableFormatID.HTML,name:"HTML",description:d.t("grafana-scenes.variables.format-registry.formats.description.html-escaping-of-values","HTML escaping of values"),formatter:e=>"string"==typeof e?a.textUtil.escapeHtml(e):u.isArray(e)?a.textUtil.escapeHtml(e.join(", ")):a.textUtil.escapeHtml(String(e))},{id:c.VariableFormatID.JSON,name:"JSON",description:d.t("grafana-scenes.variables.format-registry.formats.description.json-stringify-value","JSON stringify value"),formatter:e=>"string"==typeof e?e:JSON.stringify(e)},{id:c.VariableFormatID.PercentEncode,name:"Percent encode",description:d.t("grafana-scenes.variables.format-registry.formats.description.useful-for-url-escaping-values","Useful for URL escaping values"),formatter:e=>u.isArray(e)?nt("{"+e.join(",")+"}"):nt(e)},{id:c.VariableFormatID.SingleQuote,name:"Single quote",description:d.t("grafana-scenes.variables.format-registry.formats.description.single-quoted-values","Single quoted values"),formatter:e=>{const t=new RegExp("'","g");if(u.isArray(e))return u.map(e,e=>`'${u.replace(e,t,"\\'")}'`).join(",");let n="string"==typeof e?e:String(e);return`'${u.replace(n,t,"\\'")}'`}},{id:c.VariableFormatID.DoubleQuote,name:"Double quote",description:d.t("grafana-scenes.variables.format-registry.formats.description.double-quoted-values","Double quoted values"),formatter:e=>{const t=new RegExp('"',"g");if(u.isArray(e))return u.map(e,e=>`"${u.replace(e,t,'\\"')}"`).join(",");let n="string"==typeof e?e:String(e);return`"${u.replace(n,t,'\\"')}"`}},{id:c.VariableFormatID.SQLString,name:"SQL string",description:"SQL string quoting and commas for use in IN statements and other scenarios",formatter:lt},{id:"join",name:"Join",description:d.t("grafana-scenes.variables.format-registry.formats.description.join-values-with-a-comma","Join values with a comma"),formatter:(e,t)=>{var n;if(u.isArray(e)){const r=null!=(n=t[0])?n:",";return e.join(r)}return String(e)}},{id:c.VariableFormatID.Date,name:"Date",description:d.t("grafana-scenes.variables.format-registry.formats.description.format-date-in-different-ways","Format date in different ways"),formatter:(e,t)=>{var n;let r=NaN;if("number"==typeof e?r=e:"string"==typeof e&&(r=parseInt(e,10)),isNaN(r))return"NaN";const i=null!=(n=t[0])?n:"iso";switch(i){case"ms":return String(e);case"seconds":return`${Math.round(r/1e3)}`;case"iso":return a.dateTime(r).toISOString();default:return(t||[]).length>1?a.dateTime(r).format(t.join(":")):a.dateTime(r).format(i)}}},{id:c.VariableFormatID.Glob,name:"Glob",description:d.t("grafana-scenes.variables.format-registry.formats.description.format-multivalued-variables-using-syntax-example","Format multi-valued variables using glob syntax, example {value1,value2}"),formatter:e=>u.isArray(e)&&e.length>1?"{"+e.join(",")+"}":String(e)},{id:c.VariableFormatID.Text,name:"Text",description:"Format variables in their text representation. Example in multi-variable scenario A + B + C.",formatter:(e,t,n,r)=>n.getValueText?n.getValueText(r):String(e)},{id:c.VariableFormatID.QueryParam,name:"Query parameter",description:"Format variables as URL parameters. Example in multi-variable scenario A + B + C => var-foo=A&var-foo=B&var-foo=C.",formatter:(e,t,n,r)=>{if(n.urlSync&&!r){const e=n.urlSync.getUrlState();return a.urlUtil.toUrlParams(e)}return Array.isArray(e)?e.map(e=>it(n.state.name,e)).join("&"):it(n.state.name,e)}},{id:"customqueryparam",name:"Custom query parameter",description:"Format variables as URL parameters with custom name and value prefix. Example in multi-variable scenario A + B + C => p-foo=x-A&p-foo=x-B&p-foo=x-C.",formatter:(e,t,n)=>{const r=nt(t[0]||n.state.name),a=nt(t[1]||"");return Array.isArray(e)?e.map(e=>ot(r,e,a)).join("&"):ot(r,e,a)}},{id:c.VariableFormatID.UriEncode,name:"Percent encode as URI",description:d.t("grafana-scenes.variables.format-registry.formats.description.useful-escaping-values-taking-syntax-characters","Useful for URL escaping values, taking into URI syntax characters"),formatter:e=>u.isArray(e)?rt("{"+e.join(",")+"}"):rt(e)}];return e});function tt(e){return!1===isNaN(+e)?e:e.replace(/([\!\*\+\-\=<>\s\&\|\(\)\[\]\{\}\^\~\?\:\\/"])/g,"\\$1")}function nt(e){return"object"==typeof e&&(e=String(e)),at(encodeURIComponent(e))}const rt=e=>at(encodeURI(String(e))),at=e=>e.replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase());function it(e,t){return`var-${e}=${nt(t)}`}function ot(e,t,n=""){return`${e}=${n}${nt(t)}`}const st={"'":"''",'"':'\\"'};function lt(e){const t=new RegExp("'|\"","g");if(u.isArray(e))return u.map(e,e=>`'${u.replace(e,t,e=>{var t;return null!=(t=st[e])?t:""})}'`).join(",");let n="string"==typeof e?e:String(e);return`'${u.replace(n,t,e=>{var t;return null!=(t=st[e])?t:""})}'`}class ut{constructor(e){this._value=e}formatter(){return this._value}}class ct{constructor(e,t){this.state={name:e,type:"time_macro"},this._sceneObject=t}getValue(){const e=ze(this._sceneObject);return"__from"===this.state.name?e.state.value.from.valueOf():e.state.value.to.valueOf()}getValueText(){const e=ze(this._sceneObject);return"__from"===this.state.name?a.dateTimeFormat(e.state.value.from,{timeZone:e.getTimeZone()}):a.dateTimeFormat(e.state.value.to,{timeZone:e.getTimeZone()})}}class dt{constructor(e,t,n){this.state={name:e,type:"time_macro",match:n},this._sceneObject=t}getValue(){var e;const t=ri(this._sceneObject);if(t){const n=null==(e=t.state.data)?void 0:e.request;return n?"__interval_ms"===this.state.name?n.intervalMs:n.interval:this.state.match}return this.state.match}}function ft(e,t){e.setState(t)}function pt(){return i.useLocationService?i.useLocationService():i.locationService}function ht(e){let t=e;do{if("repeatSourceKey"in t.state&&t.state.repeatSourceKey)return!0;t=t.parent}while(t);return!1}const mt=class e extends Z{constructor(){super(...arguments),this._urlSync=new vt(this)}validateAndUpdate(){return this.getValueOptions({}).pipe(s.map(e=>(this.updateValueGivenNewOptions(e),{})))}onCancel(){this.setStateHelper({loading:!1});const e=this.parent;null==e||e.cancel(this)}updateValueGivenNewOptions(e){const{value:t,text:n,options:r}=this.state,a=this.getStateUpdateGivenNewOptions(e,t,n);this.interceptStateUpdateAfterValidation(a),this.setStateHelper(a),(a.value!==t||a.text!==n||this.hasAllValue()&&!u.isEqual(e,r))&&this.publishEvent(new Ve(this),!0)}getStateUpdateGivenNewOptions(e,t,n){const r={options:e,loading:!1,value:t,text:n};if(0===e.length)return this.state.defaultToAll||this.state.includeAll?(r.value=Ke,r.text=Ge):this.state.isMulti?(r.value=[],r.text=[]):(r.value="",r.text=""),r;if(this.hasAllValue())return this.state.includeAll?r.text=Ge:(r.value=e[0].value,r.text=e[0].label,this.state.isMulti&&(r.value=[r.value],r.text=[r.text])),r;if(this.state.isMulti){const a=(Array.isArray(t)?t:[t]).filter(t=>e.find(e=>e.value===t)),i=a.map(t=>e.find(e=>e.value===t).label);if(0===a.length){const t=this.getDefaultMultiState(e);r.value=t.value,r.text=t.text}else u.isEqual(a,t)||(r.value=a),u.isEqual(i,n)||(r.text=i);return r}let a=function(e,t,n){let r;for(const a of n){if(a.value===e)return a;a.label===t&&(r=a)}return r}(t,n,e);if(a)r.text=a.label,r.value=a.value;else{const t=this.getDefaultSingleState(e);r.value=t.value,r.text=t.label}return r}interceptStateUpdateAfterValidation(e){const t=e.value===Ke&&this.state.text===Ge;this.skipNextValidation&&e.value!==this.state.value&&e.text!==this.state.text&&!t&&(e.value=this.state.value,e.text=this.state.text),this.skipNextValidation=!1}getValue(e){let t=this.state.value;if(this.hasAllValue()){if(this.state.allValue)return new yt(this.state.allValue,this);t=this.state.options.map(e=>e.value)}return null!=e?this.getFieldAtPath(t,e):t}getValueText(e){if(this.hasAllValue())return Ge;const t=null!=e?this.getFieldAtPath(this.state.value,e,!0):this.state.text;return Array.isArray(t)?t.join(" + "):String(t)}getFieldAtPath(e,t,n=!1){const r=this.getFieldAccessor(t);if(Array.isArray(e)){const a=parseInt(t,10);if(!isNaN(a)&&a>=0&&ae.value===t);return r?r.label:String(t)}return e.map(e=>{const t=this.state.options.find(t=>t.value===e);return t?r(t.properties):e})}const a=this.state.options.find(t=>t.value===e);return a?r(a.properties):n?this.state.text:e}getFieldAccessor(t){const n=e.fieldAccessorCache[t];return n||(e.fieldAccessorCache[t]=u.property(t))}hasAllValue(){const e=this.state.value;return e===Ke||Array.isArray(e)&&e[0]===Ke}getDefaultMultiState(e){return this.state.defaultToAll?{value:[Ke],text:[Ge]}:e.length>0?{value:[e[0].value],text:[e[0].label],properties:[e[0].properties]}:{value:[],text:[]}}getDefaultSingleState(e){return this.state.defaultToAll?{value:Ke,label:Ge}:e.length>0?{value:e[0].value,label:e[0].label,properties:e[0].properties}:{value:"",label:""}}changeValueTo(e,t,n=!1){var r,a;if(e===this.state.value&&t===this.state.text)return;if(t||(t=Array.isArray(e)?e.map(e=>this.findLabelTextForValue(e)):this.findLabelTextForValue(e)),Array.isArray(e)){if(0===e.length){const n=this.getDefaultMultiState(this.state.options);e=n.value,t=n.text}e[e.length-1]===Ke?(e=[Ke],t=[Ge]):e[0]===Ke&&e.length>1&&(e.shift(),Array.isArray(t)&&t.shift())}if(u.isEqual(e,this.state.value)&&u.isEqual(t,this.state.text))return;const i=()=>this.setStateHelper({value:e,text:t,loading:!1});if(n){const e=we(this);null==e||e.startProfile(Ae),null==(a=(r=this._urlSync).performBrowserHistoryAction)||a.call(r,i)}else i();this.publishEvent(new Ve(this),!0)}findLabelTextForValue(e){if(e===Ke)return Ge;const t=this.state.options.find(t=>t.value===e);if(t)return t.label;const n=this.state.options.find(t=>t.label===e);return n?n.label:e}setStateHelper(e){ft(this,e)}getOptionsForSelect(e=!0){let t=this.state.options;if(this.state.includeAll&&(t=[{value:Ke,label:Ge},...t]),e&&!Array.isArray(this.state.value)){t.find(e=>e.value===this.state.value)||(t=[{value:this.state.value,label:String(this.state.text)},...t])}return t}refreshOptions(){this.getValueOptions({}).subscribe(e=>{this.updateValueGivenNewOptions(e)})}};mt.fieldAccessorCache={};let gt=mt;class vt{constructor(e){this._sceneObject=e,this._nextChangeShouldAddHistoryStep=!1}getKey(){return`var-${this._sceneObject.state.name}`}getKeys(){return this._sceneObject.state.skipUrlSync?[]:[this.getKey()]}getUrlState(){if(this._sceneObject.state.skipUrlSync)return{};let e=null,t=this._sceneObject.state.value;return e=Array.isArray(t)&&t.length>1?t.map(String):this._sceneObject.state.isMulti?[String(t)]:String(t),{[this.getKey()]:e}}updateFromUrl(e){let t=e[this.getKey()];null!=t&&(this._sceneObject.state.includeAll&&(t=function(e){if(u.isArray(e)&&e[0]===Ge)return[Ke];if(e===Ge)return Ke;return e}(t)),this._sceneObject.state.allValue&&this._sceneObject.state.allValue===t&&(t=Ke),this._sceneObject.isActive||(this._sceneObject.skipNextValidation=!0),this._sceneObject.changeValueTo(t))}performBrowserHistoryAction(e){this._nextChangeShouldAddHistoryStep=!0,e(),this._nextChangeShouldAddHistoryStep=!1}shouldCreateHistoryStep(e){return this._nextChangeShouldAddHistoryStep}}class yt{constructor(e,t){this._value=e,this._variable=t}formatter(e){return e===c.VariableFormatID.Text?Ge:e===c.VariableFormatID.PercentEncode?et.get(c.VariableFormatID.PercentEncode).formatter(this._value,[],this._variable):e===c.VariableFormatID.QueryParam?et.get(c.VariableFormatID.QueryParam).formatter(Ge,[],this._variable):this._value}}function bt(e,t={}){if(e.state.$variables)for(const n of e.state.$variables.state.variables)n.state.skipUrlSync||t[n.state.name]||(t[n.state.name]=n);return e.parent&&bt(e.parent,t),t}function _t(e,t,n){return new Proxy({},{get:(r,i)=>"name"===i?e.name:"displayName"===i?a.getFieldDisplayName(e,t,n):"labels"===i||"formattedLabels"===i?e.labels?{...e.labels,__values:Object.values(e.labels).sort().join(", "),toString:()=>a.formatLabels(e.labels,"",!0)}:"":void 0})}const wt=a.getDisplayProcessor();class Mt{constructor(e){this._urlQueryParams=e}formatter(e){if(!e)return this._urlQueryParams;const t=e.split(":");if("exclude"===t[0]&&t.length>1){const e=new URLSearchParams(this._urlQueryParams);for(const n of t[1].split(","))e.delete(n);return`?${e}`}if("include"===t[0]&&t.length>1){const e=new URLSearchParams(this._urlQueryParams),n=t[1].split(",");for(const t of e.keys())n.includes(t)||e.delete(t);return`?${e}`}return this._urlQueryParams}}const St=new Map([[a.DataLinkBuiltInVars.includeVars,class{constructor(e,t){this.state={name:e,type:"url_variable"},this._sceneObject=t}getValue(){const e=bt(this._sceneObject),t=et.get(c.VariableFormatID.QueryParam),n=[];for(const r of Object.keys(e)){const a=e[r];if(a instanceof gt&&a.hasAllValue()&&!a.state.allValue){n.push(t.formatter(Ke,[],a));continue}const i=a.getValue();i&&(We(i)?n.push(i.formatter(c.VariableFormatID.QueryParam)):n.push(t.formatter(i,[],a)))}return new ut(n.join("&"))}getValueText(){return""}}],[a.DataLinkBuiltInVars.keepTime,class{constructor(e,t){this.state={name:e,type:"url_variable"},this._sceneObject=t}getValue(){var e;const t=null==(e=ze(this._sceneObject).urlSync)?void 0:e.getUrlState();return new ut(a.urlUtil.toUrlParams(t))}getValueText(){return""}}],["__value",class{constructor(e,t,n,r){this._match=n,this._scopedVars=r,this.state={name:e,type:"__value"}}getValue(e){var t,n;const r=null==(t=this._scopedVars)?void 0:t.__dataContext;if(!r)return this._match;const{frame:i,rowIndex:o,field:s,calculatedValue:l}=r.value;if(l)switch(e){case"numeric":case"raw":return l.numeric;case"time":return"";default:return a.formattedValueToString(l)}if(null==o)return this._match;if("time"===e){const e=i.fields.find(e=>e.type===a.FieldType.time);return e?e.values.get(o):void 0}if(!s)return this._match;const u=s.values.get(o);if("raw"===e)return u;const c=(null!=(n=s.display)?n:wt)(u);return"numeric"===e?c.numeric:a.formattedValueToString(c)}getValueText(){return""}}],["__data",class{constructor(e,t,n,r){this._match=n,this._scopedVars=r,this.state={name:e,type:"__data"}}getValue(e){var t,n;const r=null==(t=this._scopedVars)?void 0:t.__dataContext;if(!r||!e)return this._match;const{frame:i,rowIndex:o}=r.value;if(void 0===o||void 0===e)return this._match;const s={name:i.name,refId:i.refId,fields:a.getFieldDisplayValuesProxy({frame:i,rowIndex:o})};return null!=(n=Be(e)(s))?n:""}getValueText(){return""}}],["__series",class{constructor(e,t,n,r){this._match=n,this._scopedVars=r,this.state={name:e,type:"__series"}}getValue(e){var t;const n=null==(t=this._scopedVars)?void 0:t.__dataContext;if(!n||!e)return this._match;if("name"!==e)return this._match;const{frame:r,frameIndex:i}=n.value;return a.getFrameDisplayName(r,i)}getValueText(){return""}}],["__field",class{constructor(e,t,n,r){this._match=n,this._scopedVars=r,this.state={name:e,type:"__field"}}getValue(e){var t,n;const r=null==(t=this._scopedVars)?void 0:t.__dataContext;if(!r||!e)return this._match;if(void 0===e||""===e)return this._match;const{frame:a,field:i,data:o}=r.value,s=_t(i,a,o);return null!=(n=Be(e)(s))?n:""}getValueText(){return""}}],["__url",class{constructor(e,t){this.state={name:e,type:"url_macro"}}getValue(e){var t;const n=i.locationService.getLocation(),r=null!=(t=i.config.appSubUrl)?t:"";switch(null!=e?e:""){case"params":return new Mt(n.search);case"path":return r+n.pathname;default:return r+n.pathname+n.search}}getValueText(){return""}}],["__from",ct],["__to",ct],["__timezone",class{constructor(e,t){this.state={name:e,type:"time_macro"},this._sceneObject=t}getValue(){const e=ze(this._sceneObject).getTimeZone();return"browser"===e?Intl.DateTimeFormat().resolvedOptions().timeZone:e}getValueText(){return this.getValue()}}],["__user",class{constructor(e,t){this.state={name:e,type:"user_macro"}}getValue(e){const t=i.config.bootData.user;switch(e){case"login":return t.login;case"email":return t.email;default:return String(t.id)}}getValueText(){return""}}],["__org",class{constructor(e,t){this.state={name:e,type:"org_macro"}}getValue(e){const t=i.config.bootData.user;return"name"===e?t.orgName:String(t.orgId)}getValueText(){return""}}],["__interval",dt],["__interval_ms",dt]]);function kt(e,t,n,r,a){return t&&"string"==typeof t?(Qe.lastIndex=0,t.replace(Qe,(t,i,o,s,l,u,d)=>{const f=i||o||l,p=s||d||r,h=function(e,t,n,r){if(n&&n.hasOwnProperty(e)){const t=n[e];if(t)return function(e,t){return $e?($e.state.name=e,$e.state.value=t):$e=new qe(e,t),$e}(e,t)}const a=fe(e,r);if(a)return a;const i=St.get(e);if(i)return new i(e,r,t,n);return null}(f,t,n,e);if(!h)return a&&a.push({match:t,variableName:f,fieldPath:u,format:p,value:t,found:!1}),t;const m=function(e,t,n,r,a){if(null==n)return"";if(We(n))return kt(e,n.formatter(r));Array.isArray(n)||"object"!=typeof n||(n=`${n}`);if("function"==typeof r)return r(n,{name:t.state.name,type:t.state.type,multi:t.state.isMulti,includeAll:t.state.includeAll});let i=[];r?(i=r.split(":"),i.length>1?(r=i[0],i=i.slice(1)):i=[]):r=c.VariableFormatID.Glob;let o=et.getIfExists(r);o||(console.error(`Variable format ${r} not found. Using glob format as fallback.`),o=et.get(c.VariableFormatID.Glob));return o.formatter(n,i,t,a)}(e,h,h.getValue(u),p,u);return a&&a.push({match:t,variableName:f,fieldPath:u,format:p,value:m,found:m!==t}),m})):null!=t?t:""}function Lt(e){return void 0!==e.useState}function xt(e){return"enrichDataRequest"in e}function Dt(e){return"enrichFiltersRequest"in e}function Tt(e){return"isDataLayer"in e}function Et(e="op"){if("undefined"!=typeof crypto&&crypto.randomUUID){return`${e}-${crypto.randomUUID()}`}return`${e}-${Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}`}const Ot=class e{constructor(){this.observers=[]}static getInstance(){return e.instance||(e.instance=new e),e.instance}addObserver(e){return this.observers.push(e),()=>{const t=this.observers.indexOf(e);t>-1&&this.observers.splice(t,1)}}clearObservers(){this.observers=[]}getObserverCount(){return this.observers.length}notifyObservers(e,t,n){this.observers.forEach(r=>{try{const n=r[e];null==n||n(t)}catch(e){console.warn(`Error in ${n} observer:`,e)}})}notifyDashboardInteractionStart(e){this.notifyObservers("onDashboardInteractionStart",e,"dashboard interaction start")}notifyDashboardInteractionMilestone(e){this.notifyObservers("onDashboardInteractionMilestone",e,"dashboard interaction milestone")}notifyDashboardInteractionComplete(e){this.notifyObservers("onDashboardInteractionComplete",e,"dashboard interaction complete")}notifyPanelOperationStart(e){this.notifyObservers("onPanelOperationStart",e,"panel operation start")}notifyPanelOperationComplete(e){this.notifyObservers("onPanelOperationComplete",e,"panel operation complete")}notifyQueryStart(e){this.notifyObservers("onQueryStart",e,"query start")}notifyQueryComplete(e){this.notifyObservers("onQueryComplete",e,"query complete")}};Ot.instance=null;let Pt=Ot;function Yt(){return Pt.getInstance()}function Ct(e,t){return n=>{const r=li.getQueryController(e.origin);return r?new s.Observable(a=>{var i;e.cancel||(e.cancel=()=>a.complete());const o=(null==(i=e.request)?void 0:i.requestId)||`${e.type}-${Math.floor(performance.now()).toString(36)}`,s=performance.now();let l=null;if(t)l=t.onQueryStarted(s,e,o);else{const t=Et("query");Yt().notifyQueryStart({operationId:t,queryId:o,queryType:e.type,origin:e.origin.constructor.name,timestamp:s}),l=(n,r)=>{Yt().notifyQueryComplete({operationId:t,queryId:o,queryType:e.type,origin:e.origin.constructor.name,timestamp:n,duration:n-s,error:r?(null==r?void 0:r.message)||String(r)||"Unknown error":void 0})}}r.queryStarted(e);let u=!1;const d=n.subscribe({next:t=>{u||t.state===c.LoadingState.Loading||(u=!0,r.queryCompleted(e),null==l||l(performance.now())),a.next(t)},error:t=>{u||(u=!0,r.queryCompleted(e),null==l||l(performance.now(),t)),a.error(t)},complete:()=>{a.complete()}});return()=>{d.unsubscribe(),u||(r.queryCompleted(e),null==l||l(performance.now()))}}):n}}function At(e){return new s.Observable(t=>{t.next({state:c.LoadingState.Loading});s.from(e).pipe(s.map(()=>({state:c.LoadingState.Done})),s.catchError(()=>(t.next({state:c.LoadingState.Error}),[]))).subscribe({next:e=>t.next(e),complete:()=>t.complete()})})}async function Rt(e,t){var n;if(null==e?void 0:e.uid){const t=re.get(e.uid);if(t)return t}if(e&&e.query)return e;const r=i.getDataSourceSrv().get(e,t);if(t.__sceneObject&&t.__sceneObject.value.valueOf()){const a=li.getQueryController(t.__sceneObject.value.valueOf());a&&a.state.enableProfiling&&At(r).pipe(Ct({type:`getDataSource/${null!=(n=null==e?void 0:e.type)?n:"unknown"}`,origin:t.__sceneObject.value.valueOf()})).subscribe(()=>{})}return await r}class jt{constructor(){this._values=new Map}recordCurrentDependencyValuesForSceneObject(e){if(this.clearValues(),e.variableDependency)for(const t of e.variableDependency.getNames()){const n=li.lookupVariable(t,e);n&&this._values.set(n.state.name,n.getValue())}}cloneAndRecordCurrentValuesForSceneObject(e){const t=new jt;return t.recordCurrentDependencyValuesForSceneObject(e),t}clearValues(){this._values.clear()}hasValues(){return!!this._values}recordCurrentValue(e){this._values.set(e.state.name,e.getValue())}hasRecordedValue(e){return this._values.has(e.state.name)}hasValueChanged(e){if(this._values.has(e.state.name)){if(!Ma(this._values.get(e.state.name),e.getValue()))return!0}return!1}hasDependenciesChanged(e){if(!this._values)return!1;if(!e.variableDependency)return!1;for(const t of e.variableDependency.getNames()){const n=li.lookupVariable(t,e);if(!n)continue;const r=n.state.name;if(n&&this._values.has(r)){if(!Ma(this._values.get(r),n.getValue()))return!0}}return!1}}function It(e){return"object"==typeof e&&"getExtraQueries"in e}const Ft=(e,t)=>s.of(t),Ht=0;function Nt(e){const t=e.getRoot();return xt(t)?t.enrichDataRequest(e):null}const zt=new Set;function Vt(e){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Wt(e){var t=function(e,t){if("object"!=Vt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Vt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vt(t)?t:t+""}function $t(e,t,n){return(t=Wt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Bt(){return Bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t25||rn.split(n).length>5)for(let a=0;ae[i.idx[t]]):a.map(t=>e[t]))}return r}function on(e,t=!1){let n=e;t&&(n=[{value:Ke,label:Ge},...n]);const r=n.map(e=>e.label);return e=>an(n,r,e)}const sn=()=>!0,ln=e=>"$__all"!==e.value,un=(e,t)=>e.length===t.filter(ln).length?f.ToggleAllState.allSelected:0===e.length||1===e.length&&e[0]&&"$__all"===e[0].value?f.ToggleAllState.noneSelected:f.ToggleAllState.indeterminate;function cn({model:e,state:t}){const{value:n,text:r,key:a,options:i,includeAll:s,isReadOnly:l,allowCustomValue:u=!0}=t,[c,h]=o.useState(""),[m,g]=o.useState(!1),v=function(e,t){return{value:e,label:null!=t?t:String(e)}}(n,String(r)),y=li.getQueryController(e),b=o.useMemo(()=>on(i,s),[i,s])(c);return F.default.createElement(f.Select,{id:a,isValidNewOption:e=>e.trim().length>0,placeholder:d.t("grafana-scenes.variables.variable-value-select.placeholder-select-value","Select value"),width:"auto",disabled:l,value:v,inputValue:c,allowCustomValue:u,virtualized:!0,filterOption:sn,tabSelectsValue:!1,onInputChange:(t,{action:n})=>"input-change"===n?(h(t),e.onSearchChange&&e.onSearchChange(t),t):t,onOpenMenu:()=>{m&&h(String(r))},onCloseMenu:()=>{h("")},options:b,"data-testid":p.selectors.pages.Dashboard.SubMenu.submenuItemValueDropDownValueLinkTexts(`${n}`),onChange:t=>{e.changeValueTo(t.value,t.label,!0),null==y||y.startProfile(Ae),m!==t.__isNew__&&g(t.__isNew__)}})}function dn({model:e,state:t}){const{value:n,options:r,key:a,maxVisibleValues:i,noValueOnClear:s,includeAll:l,isReadOnly:c,allowCustomValue:d=!0}=t,h=o.useMemo(()=>u.isArray(n)?n:[n],[n]),[m,g]=o.useState(h),[v,y]=o.useState(""),b=o.useMemo(()=>on(r,l),[r,l]);o.useEffect(()=>{g(h)},[h]);const _=r.length>0?"Select value":"",w=b(v);return F.default.createElement(f.MultiSelect,{id:a,placeholder:_,width:"auto",inputValue:v,disabled:c,value:m,noMultiValueWrap:!0,maxVisibleValues:null!=i?i:5,tabSelectsValue:!1,virtualized:!0,allowCustomValue:d,toggleAllOptions:{enabled:!0,optionsFilter:ln,determineToggleAllState:un},options:w,closeMenuOnSelect:!1,components:{Option:fn},isClearable:!0,hideSelectedOptions:!1,onInputChange:(t,{action:n})=>"input-change"===n?(y(t),e.onSearchChange&&e.onSearchChange(t),t):"input-blur"===n?(y(""),""):v,onBlur:()=>{e.changeValueTo(m,void 0,!0)},filterOption:sn,"data-testid":p.selectors.pages.Dashboard.SubMenu.submenuItemValueDropDownValueLinkTexts(`${m}`),onChange:(t,n)=>{"clear"===n.action&&s&&e.changeValueTo([],void 0,!0),g(t.map(e=>e.value))}})}const fn=({children:e,data:t,innerProps:n,innerRef:r,isFocused:a,isSelected:i,indeterminate:o,renderOptionLabel:s})=>{var l;const{onMouseMove:u,onMouseOver:c,...d}=n,m=f.useTheme2(),g=f.getSelectStyles(m),v=f.useStyles2(pn);return F.default.createElement("div",{ref:r,className:h.cx(g.option,a&&g.optionFocused),...d,"data-testid":"data-testid Select option",title:t.title},F.default.createElement("div",{className:v.checkbox},F.default.createElement(f.Checkbox,{indeterminate:o,value:i})),F.default.createElement("div",{className:g.optionBody,"data-testid":p.selectors.pages.Dashboard.SubMenu.submenuItemValueDropDownOptionTexts(null!=(l=t.label)?l:String(t.value))},F.default.createElement("span",null,e)))};fn.displayName="SelectMenuOptions";const pn=e=>({checkbox:h.css({marginRight:e.spacing(2)})});function hn({model:e}){const t=e.useState();return t.isMulti?F.default.createElement(dn,{model:e,state:t}):F.default.createElement(cn,{model:e,state:t})}class mn{constructor(e){this._sceneObject=e,this._nextChangeShouldAddHistoryStep=!1}getRestorableKey(){return`restorable-var-${this._sceneObject.state.name}`}getKey(){return`var-${this._sceneObject.state.name}`}getKeys(){return this._sceneObject.state.skipUrlSync?[]:[this.getKey(),this.getRestorableKey()]}getUrlState(){return this._sceneObject.state.skipUrlSync?{}:{[this.getKey()]:this._sceneObject.state.defaultValue&&!this._sceneObject.state.restorable?[""]:gn(this._sceneObject.state.value,this._sceneObject.state.text),[this.getRestorableKey()]:this._sceneObject.state.defaultValue?this._sceneObject.state.restorable?"true":"false":null}}updateFromUrl(e){let t=e[this.getKey()],n=e[this.getRestorableKey()];if(null!=t){this._sceneObject.isActive||(this._sceneObject.skipNextValidation=!0);const{values:e,texts:a}=(r=t,(r=Array.isArray(r)?r:[r]).reduce((e,t)=>{const[n,r]=(null!=t?t:"").split(",");return e.values.push(Ya(n)),e.texts.push(Ya(null!=r?r:n)),e},{values:[],texts:[]}));if(this._sceneObject.state.defaultValue&&("false"===n||void 0===n))return;if("false"===n)return void this._sceneObject.changeValueTo([],[],!1);this._sceneObject.changeValueTo(e,a)}var r}performBrowserHistoryAction(e){this._nextChangeShouldAddHistoryStep=!0,e(),this._nextChangeShouldAddHistoryStep=!1}shouldCreateHistoryStep(e){return this._nextChangeShouldAddHistoryStep}}function gn(e,t){return e=Array.isArray(e)?e:[e],t=Array.isArray(t)?t:[t],e.map((e,n)=>{if(null==e)return"";e=String(e);let r=t[n];return r=null==r?e:String(r),Ca(e,r)})}function vn(e){const t=e.getRoot();return Dt(t)?t.enrichFiltersRequest(e):null}var yn,bn=e=>{throw TypeError(e)},_n=(e,t,n)=>t.has(e)||bn("Cannot "+n);class wn{constructor(e){((e,t,n)=>{t.has(e)?bn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n)})(this,yn),this.text="__sceneObject",this.valueOf=()=>{return _n(e=this,t=yn,"read from private field"),n?n.call(e):t.get(e);var e,t,n},((e,t,n)=>{_n(e,t,"write to private field"),t.set(e,n)})(this,yn,e)}toString(){}get value(){return this}}function Mn(e){return function(e){const t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return!1;const n=parseInt(t[1],10),r=parseInt(t[2],10),a=parseInt(t[3],10);return 11===n?0===r&&a>=4||1===r&&a>=2||r>1:10===n?4===r&&a>=8||r>=5:n>11}(i.config.buildInfo.version)?new wn(e):{value:e,text:"__sceneObject"}}function Sn(e){const{model:t}=e,n=f.useTheme2(),r=kn(n),a=f.getInputStyles({theme:n,invalid:!1}),i=u.isArray(t.state.value)?t.state.value:t.state.value?[t.state.value]:[];let o=[];return i&&i.length&&o.push(F.default.createElement(f.IconButton,{"aria-label":d.t("grafana-scenes.variables.default-group-by-custom-indicator-container.aria-label-clear","clear"),key:"clear",name:"times",size:"md",className:r.clearIcon,onClick:e=>{t.changeValueTo([],void 0,!0),t.checkIfRestorable([])&&t.setState({restorable:!0})}})),t.state.restorable&&o.push(F.default.createElement(f.IconButton,{onClick:t=>{e.model.restoreDefaultValues()},onKeyDownCapture:t=>{"Enter"===t.key&&e.model.restoreDefaultValues()},key:"restore",name:"history",size:"md",className:r.clearIcon,tooltip:d.t("grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip-restore-groupby-set-by-this-dashboard","Restore groupby set by this dashboard.")})),t.state.restorable||o.push(F.default.createElement(f.Tooltip,{key:"tooltip",content:d.t("grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip","Applied by default in this dashboard. If edited, it carries over to other dashboards."),placement:"bottom"},F.default.createElement(f.Icon,{name:"info-circle",size:"md"}))),F.default.createElement("div",{onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},className:h.cx(a.suffix,h.css({position:"relative"}))},o)}yn=new WeakMap;const kn=e=>({clearIcon:h.css({color:e.colors.action.disabledText,cursor:"pointer","&:hover:before":{backgroundColor:"transparent"},"&:hover":{color:e.colors.text.primary}})}),Ln=({keysApplicability:e,children:t})=>{var n,r;const a=f.useTheme2(),i=f.getSelectStyles(a),{disabledPill:o,strikethrough:s}=Ia(a),l=F.default.Children.toArray(t)[0];let u=!0;if(F.default.isValidElement(l)&&(null==(r=null==(n=l.props)?void 0:n.data)?void 0:r.value)){const t=l.props.data.value,n=null==e?void 0:e.find(e=>e.key===t);n&&!n.applicable&&(u=!1)}return F.default.createElement("div",{className:h.cx(i.multiValueContainer,!u&&h.cx(o,s))},t)};function xn(e){return"isInteractionTracker"in e}function Dn(e){let t=e;for(;t;){if(t.state.$behaviors)for(const e of t.state.$behaviors)if(xn(e))return e;t=t.parent}}function Tn({recentDrilldowns:e,recommendedDrilldowns:t}){const n=f.useStyles2(En),[r,a]=o.useState(!1),i=o.useRef(null),s=e=>{e(),a(!1)},l=F.default.createElement(f.ClickOutsideWrapper,{onClick:()=>a(!1),useCapture:!0},F.default.createElement("div",{className:n.menuContainer,onClick:e=>e.stopPropagation()},F.default.createElement(f.Stack,{direction:"column"},F.default.createElement(f.Text,{weight:"bold",variant:"bodySmall",color:"secondary"},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.drilldown-recommendations.recent"},"Recent")),e&&e.length>0?e.map(e=>F.default.createElement("div",{key:e.label,className:h.cx(n.combinedFilterPill),onClick:()=>s(e.onClick)},e.label)):F.default.createElement("div",{className:n.emptyMessage},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.drilldown-recommendations.recent-empty"},"No recent values")),F.default.createElement(f.Text,{weight:"bold",variant:"bodySmall",color:"secondary"},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.drilldown-recommendations.recommended"},"Recommended")),t&&t.length>0?t.map(e=>F.default.createElement("div",{key:e.label,className:h.cx(n.combinedFilterPill),onClick:()=>s(e.onClick)},e.label)):F.default.createElement("div",{className:n.emptyMessage},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.drilldown-recommendations.recommended-empty"},"No recommended values")))));return F.default.createElement(F.default.Fragment,null,F.default.createElement(f.IconButton,{name:"plus",tooltip:d.t("grafana-scenes.components.drilldown-recommendations.tooltip","Show recommendations"),ref:i,className:h.cx(r&&n.iconActive),onClick:e=>{a(!0),e.stopPropagation()}}),r&&i.current&&F.default.createElement(f.Popover,{content:l,onKeyDown:e=>{" "===e.key&&e.stopPropagation()},placement:"bottom-start",referenceElement:i.current,show:!0}))}const En=e=>({menuContainer:h.css({display:"flex",flexDirection:"column",background:e.colors.background.elevated,border:`1px solid ${e.colors.border.weak}`,borderRadius:e.shape.radius.default,boxShadow:e.shadows.z3,padding:e.spacing(2)}),combinedFilterPill:h.css({alignItems:"center",background:e.colors.action.selected,borderRadius:e.shape.radius.default,border:`1px solid ${e.colors.border.weak}`,padding:e.spacing(.2,1),color:e.colors.text.primary,overflow:"hidden",whiteSpace:"nowrap",minHeight:e.spacing(2.75),...e.typography.bodySmall,fontWeight:e.typography.fontWeightBold,cursor:"pointer","&:hover":{background:e.colors.action.hover}}),iconActive:h.css({"&:before":{backgroundColor:e.colors.action.hover,opacity:1}}),emptyMessage:h.css({padding:e.spacing(.5,0),color:e.colors.text.secondary,...e.typography.bodySmall})});class On extends Z{constructor(e){super({skipUrlSync:!0,loading:!0,scopes:[],...e,type:"system",name:Xe,hide:c.VariableHide.hideVariable}),this._renderBeforeActivation=!0,this.UNSAFE_renderAsHidden=!0}getValue(){var e;const t=null!=(e=this.state.scopes)?e:[];return new Pn(t.map(e=>e.metadata.name))}getScopes(){return this.state.scopes}setContext(e){if(!e)return;this._context=e;const t=e.state;null!=this.state.enable&&e.setEnabled(this.state.enable);const n=e.stateObservable.subscribe(e=>{this.updateStateFromContext(e)});return()=>{n.unsubscribe(),null!=this.state.enable&&e.setEnabled(t.enabled)}}updateStateFromContext(e){const t=0!==e.value.length&&e.loading,n=this.state.scopes.map(e=>e.metadata.name),r=e.value.map(e=>e.metadata.name),a=!u.isEqual(n,r);if(t||!a&&0!==r.length)this.setState({loading:t});else{const n=we(this);null==n||n.startProfile("scopes_changed"),this.setState({scopes:e.value,loading:t}),this.publishEvent(new Ve(this),!0)}}}On.Component=function({model:e}){const t=o.useContext(i.ScopesContext);return o.useEffect(()=>e.setContext(t),[t,e]),null};class Pn{constructor(e){this._value=e}formatter(e){return e===c.VariableFormatID.QueryParam?this._value.map(e=>`scope=${encodeURIComponent(e)}`).join("&"):this._value.join(", ")}}let Yn;const Cn=new Set;function An(e){return F.default.createElement(f.Tooltip,{content:d.t("grafana-scenes.utils.loading-indicator.content-cancel-query","Cancel query")},F.default.createElement(f.Icon,{className:"spin-clockwise",name:"sync",size:"xs",role:"button",onMouseDown:t=>{e.onCancel(t)}}))}function Rn(e){const t=f.useStyles2(jn),n=f.useTheme2(),r="vertical"===e.layout,a=Boolean(e.isLoading)?F.default.createElement("div",{style:{marginLeft:n.spacing(1),marginTop:"-1px"},"aria-label":p.selectors.components.LoadingIndicator.icon},F.default.createElement(An,{onCancel:t=>{var n;t.preventDefault(),t.stopPropagation(),null==(n=e.onCancel)||n.call(e)}})):null;let i=null;e.error&&(i=F.default.createElement(f.Tooltip,{content:e.error,placement:"bottom"},F.default.createElement(f.Icon,{className:t.errorIcon,name:"exclamation-triangle"})));let o=null;e.description&&(o=F.default.createElement(f.Tooltip,{content:e.description,placement:r?"top":"bottom"},F.default.createElement(f.Icon,{className:t.normalIcon,name:"info-circle"})));const s="string"==typeof e.label?p.selectors.pages.Dashboard.SubMenu.submenuItemLabels(e.label):"";let l;return l=r?F.default.createElement("label",{className:h.cx(t.verticalLabel,e.className),"data-testid":s,htmlFor:e.htmlFor},e.prefix,e.label,o,i,e.icon&&F.default.createElement(f.Icon,{name:e.icon,className:t.normalIcon}),a,e.onRemove&&F.default.createElement(f.IconButton,{variant:"secondary",size:"xs",name:"times",onClick:e.onRemove,tooltip:d.t("grafana-scenes.utils.controls-label.tooltip-remove","Remove")}),e.suffix):F.default.createElement("label",{className:h.cx(t.horizontalLabel,e.className),"data-testid":s,htmlFor:e.htmlFor},e.prefix,i,e.icon&&F.default.createElement(f.Icon,{name:e.icon,className:t.normalIcon}),e.label,o,a,e.suffix),l}const jn=e=>({horizontalLabel:h.css({background:e.isDark?e.colors.background.primary:e.colors.background.secondary,display:"flex",alignItems:"center",padding:e.spacing(0,1),fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.bodySmall.fontSize,height:e.spacing(e.components.height.md),lineHeight:e.spacing(e.components.height.md),borderRadius:`${e.shape.radius.default} 0 0 ${e.shape.radius.default}`,border:`1px solid ${e.components.input.borderColor}`,position:"relative",right:-1,whiteSpace:"nowrap",gap:e.spacing(.5)}),verticalLabel:h.css({display:"flex",alignItems:"center",fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.bodySmall.fontSize,lineHeight:e.typography.bodySmall.lineHeight,whiteSpace:"nowrap",marginBottom:e.spacing(.5),gap:e.spacing(1)}),errorIcon:h.css({color:e.colors.error.text}),normalIcon:h.css({color:e.colors.text.secondary})});function In(e){const t=e.map(e=>{var t;return null!=(t=e.label)?t:String(e.value)});return n=>an(e,t,n)}function Fn(e,t){return""!==e?{value:e,label:t||e}:null}const Hn=()=>!0;function Nn({filter:e,model:t}){var n,r,a,i,s;const l=f.useStyles2(zn),[u,c]=o.useState([]),[p,m]=o.useState([]),[g,v]=o.useState(!1),[y,b]=o.useState(!1),[_,w]=o.useState(!1),[M,S]=o.useState(!1),[k,L]=o.useState(!1),[x,D]=o.useState(""),[T,E]=o.useState(!1),[O,P]=o.useState(e.values?e.values.map((t,n)=>{var r;return Fn(t,null==(r=e.valueLabels)?void 0:r[n])}):[]),Y=Or(e.operator),C=Fn(e.key,e.keyLabel),A=Fn(e.value,null==(n=e.valueLabels)?void 0:n[0]),R=o.useMemo(()=>In(p),[p]),j=t.state.onAddCustomValue,I=o.useMemo(()=>ja(R(x)),[R,x]),H={isMulti:!0,value:O,components:{Option:fn},hideSelectedOptions:!1,closeMenuOnSelect:!1,openMenuOnFocus:!1,onChange:e=>{P(e),e.some(e=>e.__isNew__)&&D("")},onBlur:()=>{var n,r;t._updateFilter(e,{value:null!=(r=null==(n=O[0])?void 0:n.value)?r:"",values:O.map(e=>e.value),valueLabels:O.map(e=>e.label)})}},N=Mr.find(t=>e.operator===t.value),z=F.default.createElement(f.Select,{virtualized:!0,allowCustomValue:null==(r=t.state.allowCustomValue)||r,createOptionPosition:(null==N?void 0:N.isRegex)?"first":"last",isValidNewOption:e=>e.trim().length>0,allowCreateWhileLoading:!0,formatCreateLabel:e=>`Use custom value: ${e}`,disabled:t.state.readOnly,className:h.cx(l.value,M?l.widthWhenOpen:void 0),width:"auto",value:A,filterOption:Hn,placeholder:d.t("grafana-scenes.variables.ad-hoc-filter-renderer.value-select.placeholder-select-value","Select value"),options:I,inputValue:x,onInputChange:(e,{action:t})=>("input-change"===t&&D(e),e),onChange:n=>{j&&n.__isNew__?t._updateFilter(e,j(n,e)):t._updateFilter(e,{value:n.value,valueLabels:n.label?[n.label]:[n.value]}),T!==n.__isNew__&&E(n.__isNew__)},isOpen:M&&!y,isLoading:y,openMenuOnFocus:!0,onOpenMenu:async()=>{var n;b(!0),S(!0);const r=await t._getValuesFor(e);b(!1),m(r),T&&D(null!=(n=null==A?void 0:A.label)?n:"")},onCloseMenu:()=>{S(!1),D("")},...Y&&H}),V=F.default.createElement(f.Select,{key:""+(y?"loading":"loaded"),disabled:t.state.readOnly,className:h.cx(l.key,_?l.widthWhenOpen:void 0),width:"auto",allowCustomValue:null==(a=t.state.allowCustomValue)||a,createOptionPosition:(null==N?void 0:N.isRegex)?"first":"last",value:C,placeholder:d.t("grafana-scenes.variables.ad-hoc-filter-renderer.key-select.placeholder-select-label","Select label"),options:ja(u),onChange:n=>{t._updateFilter(e,{key:n.value,keyLabel:n.label,value:"",valueLabels:[""],values:void 0}),P([])},autoFocus:""===e.key,isOpen:_&&!g,isLoading:g,onOpenMenu:async()=>{w(!0),v(!0);const n=await t._getKeys(e.key);v(!1),c(n)},onCloseMenu:()=>{w(!1)},onBlur:()=>{""===e.key&&t._removeFilter(e)},openMenuOnFocus:!0}),W=F.default.createElement(f.Select,{className:h.cx(l.operator,{[l.widthWhenOpen]:k}),value:e.operator,disabled:t.state.readOnly,options:t._getOperators(),onChange:n=>{var r,a;const i=e.operator,o=n.value,s={operator:o};Or(i)&&!Or(o)?(s.value="",s.valueLabels=[""],s.values=void 0,P([])):!Or(i)&&Or(o)&&e.value&&(s.values=[e.value],P([{value:e.value,label:null!=(a=null==(r=e.valueLabels)?void 0:r[0])?a:e.value}])),t._updateFilter(e,s)},onOpenMenu:()=>{L(!0)},onCloseMenu:()=>{L(!1)}});if("vertical"===t.state.layout){if(e.key){const n=F.default.createElement(Rn,{layout:"vertical",label:null!=(i=e.key)?i:"",onRemove:()=>t._removeFilter(e)});return F.default.createElement(f.Field,{label:n,"data-testid":`AdHocFilter-${e.key}`,className:l.field},F.default.createElement("div",{className:l.wrapper},W,z))}return F.default.createElement(f.Field,{label:d.t("grafana-scenes.variables.ad-hoc-filter-renderer.label-select-label","Select label"),"data-testid":`AdHocFilter-${e.key}`,className:l.field},V)}return F.default.createElement("div",{className:l.wrapper,"data-testid":`AdHocFilter-${e.key}`},V,W,z,F.default.createElement(f.Button,{variant:"secondary","aria-label":d.t("grafana-scenes.variables.ad-hoc-filter-renderer.aria-label-remove-filter","Remove filter"),title:d.t("grafana-scenes.variables.ad-hoc-filter-renderer.title-remove-filter","Remove filter"),className:l.removeButton,icon:"times","data-testid":`AdHocFilter-remove-${null!=(s=e.key)?s:""}`,onClick:()=>t._removeFilter(e)}))}const zn=e=>({field:h.css({marginBottom:0}),wrapper:h.css({display:"flex","&:first-child":{"> :first-child":{borderBottomLeftRadius:0,borderTopLeftRadius:0}},"> *":{"&:not(:first-child)":{marginLeft:-1},"&:first-child":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-child":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:first-child):not(:last-child)":{borderRadius:0},position:"relative",zIndex:0,"&:hover":{zIndex:1},"&:focus-within":{zIndex:2}}}),widthWhenOpen:h.css({minWidth:e.spacing(16)}),value:h.css({flexBasis:"content",flexShrink:1,minWidth:"90px"}),key:h.css({flexBasis:"content",minWidth:"90px",flexShrink:1}),operator:h.css({flexShrink:0,flexBasis:"content"}),removeButton:h.css({paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5),borderLeft:"none",width:e.spacing(3),marginRight:e.spacing(1),boxSizing:"border-box",position:"relative",left:"1px"})});function Vn({model:e,addFilterButtonText:t}){const{_wip:n}=e.useState(),r=f.useStyles2(Wn);return n?F.default.createElement(Nn,{filter:n,model:e}):F.default.createElement(f.Button,{variant:"secondary",icon:"plus",title:d.t("grafana-scenes.variables.ad-hoc-filter-builder.title-add-filter","Add filter"),"aria-label":d.t("grafana-scenes.variables.ad-hoc-filter-builder.aria-label-add-filter","Add filter"),"data-testid":"AdHocFilter-add",onClick:()=>e._addWip(),className:r.addButton},t)}const Wn=e=>({addButton:h.css({"&:first-child":{borderBottomLeftRadius:0,borderTopLeftRadius:0}})});class $n{constructor(e){this._variable=e}getKey(){return`var-${this._variable.state.name}`}getKeys(){return[this.getKey()]}getUrlState(){const e=this._variable.state.filters,t=this._variable.state.originFilters;let n=[];return 0===e.length&&0===(null==t?void 0:t.length)?{[this.getKey()]:[""]}:(e.length&&n.push(...e.filter(Tr).filter(e=>!e.hidden).map(e=>Un(e).map(Pa).join("|"))),(null==t?void 0:t.length)&&n.push(...null==t?void 0:t.filter(Tr).filter(e=>!e.hidden&&e.origin&&e.restorable).map(e=>Un(e).map(Pa).join("|").concat(`#${e.origin}#restorable`))),{[this.getKey()]:n.length?n:[""]})}updateFromUrl(e){const t=e[this.getKey()];if(null==t)return;const n=function(e){if(Array.isArray(e)){return e.map(Bn).filter(qn)}const t=Bn(e);return null===t?[]:[t]}(t),r=function(e,t){const n=[...e];for(let r=0;re.key===t[r].key);a>-1&&t[r].origin===e[a].origin?(Dr(t[r])&&(t[r].matchAllFilter=!0),n[a]=t[r]):"dashboard"===t[r].origin?(delete t[r].origin,delete t[r].restorable):-1===a&&"scope"===t[r].origin&&t[r].restorable&&n.push(t[r])}return n}([...this._variable.state.originFilters||[]],n);this._variable.setState({filters:n.filter(e=>!e.origin),originFilters:r})}}function Un(e){var t;const n=[Ca(e.key,e.keyLabel),e.operator];return Or(e.operator)?e.values.forEach((t,r)=>{var a;n.push(Ca(t,null==(a=e.valueLabels)?void 0:a[r]))}):n.push(Ca(e.value,null==(t=e.valueLabels)?void 0:t[0])),n}function Bn(e){if("string"!=typeof e||0===e.length)return null;const[t,n,r]=e.split("#"),[a,i,o,s,...l]=t.split("|").reduce((e,t)=>{const[n,r]=t.split(",");return e.push(n,null!=r?r:n),e},[]).map(Ya);return{key:a,keyLabel:i,operator:o,value:l[0],values:Or(o)?l.filter((e,t)=>t%2==0):void 0,valueLabels:l.filter((e,t)=>t%2==1),condition:"",...(u=n,("scope"===u||"dashboard"===u)&&{origin:n}),...!!r&&{restorable:!0}};var u}function qn(e){return null!==e&&"string"==typeof e.key&&"string"==typeof e.value}const Gn=o.forwardRef(function({children:e,active:t,addGroupBottomBorder:n,isMultiValueEdit:r,checked:a,...i},s){const l=f.useStyles2(Kn),u=o.useId();return F.default.createElement("div",{ref:s,role:"option",id:u,"aria-selected":t,className:h.cx(l.option,t&&l.optionFocused,n&&l.groupBottomBorder),...i},F.default.createElement("div",{className:l.optionBody,"data-testid":`data-testid ad hoc filter option value ${e}`},F.default.createElement("span",null,r?F.default.createElement(f.Checkbox,{tabIndex:-1,checked:a,className:l.checkbox}):null,e)))}),Kn=e=>({option:h.css({label:"grafana-select-option",top:0,left:0,width:"100%",position:"absolute",padding:e.spacing(1),display:"flex",alignItems:"center",flexDirection:"row",flexShrink:0,whiteSpace:"nowrap",cursor:"pointer","&:hover":{background:e.colors.action.hover,"@media (forced-colors: active), (prefers-contrast: more)":{border:`1px solid ${e.colors.primary.border}`}}}),optionFocused:h.css({label:"grafana-select-option-focused",background:e.colors.action.focus,"@media (forced-colors: active), (prefers-contrast: more)":{border:`1px solid ${e.colors.primary.border}`}}),optionBody:h.css({label:"grafana-select-option-body",display:"flex",fontWeight:e.typography.fontWeightMedium,flexDirection:"column",flexGrow:1}),groupBottomBorder:h.css({borderBottom:`1px solid ${e.colors.border.weak}`}),checkbox:h.css({paddingRight:e.spacing(.5)}),multiValueApplyWrapper:h.css({position:"fixed",top:0,left:0,display:"flex",backgroundColor:e.colors.background.primary,color:e.colors.text.primary,boxShadow:e.shadows.z2,overflowY:"auto",zIndex:e.zIndex.dropdown,gap:e.spacing(1.5),padding:`${e.spacing(1.5)} ${e.spacing(1)}`})}),Jn=()=>F.default.createElement(Gn,{onClick:e=>e.stopPropagation()},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.variables.loading-options-placeholder.loading-options"},"Loading options...")),Qn=()=>F.default.createElement(Gn,{onClick:e=>e.stopPropagation()},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.variables.no-options-placeholder.no-options-found"},"No options found")),Zn=({handleFetchOptions:e})=>F.default.createElement(Gn,{onClick:e},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.variables.options-error-placeholder.error-occurred-fetching-labels-click-retry"},"An error has occurred fetching labels. Click to retry")),Xn=({onApply:e,floatingElement:t,maxOptionWidth:n,menuHeight:r})=>{const a=f.useStyles2(Kn),i=null==t?void 0:t.getBoundingClientRect();return F.default.createElement("div",{className:a.multiValueApplyWrapper,style:{width:`${n}px`,transform:`translate(${null==i?void 0:i.left}px,${i?i.top+r:0}px)`}},F.default.createElement(f.Button,{onClick:e,size:"sm",tabIndex:-1},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.variables.multi-value-apply-button.apply"},"Apply")))},er={key:"operator",operator:"value",value:"key"},tr=(e,t,n,r,a)=>nr(er[e],t,"value"===e?n:void 0,r,a),nr=(e,t,n,r,a)=>{t(e),null==n||n(void 0,a),setTimeout(()=>null==r?void 0:r.focus())},rr=({filterInputType:e,item:t,filter:n,setFilterMultiValues:r,onAddCustomValue:a})=>{var i,o,s,l,u;if("key"===e)return{key:t.value,keyLabel:t.label?t.label:t.value,meta:null==t?void 0:t.meta};if("value"===e)return t.isCustom&&a?a(t,n):{value:t.value,valueLabels:[t.label?t.label:t.value]};if("operator"===e){if(Or(n.operator)&&!Or(t.value))return r([]),{operator:t.value,valueLabels:[(null==(i=n.valueLabels)?void 0:i[0])||(null==(o=n.values)?void 0:o[0])||n.value],values:void 0};if(Or(t.value)&&!Or(n.operator)){const e=[(null==(s=n.valueLabels)?void 0:s[0])||(null==(l=n.values)?void 0:l[0])||n.value],a=[n.value];return a[0]&&r([{value:a[0],label:null!=(u=null==e?void 0:e[0])?u:a[0]}]),{operator:t.value,valueLabels:e,values:a}}}return{[e]:t.value}},ar="Filter by label values",ir=(e,t,n,r,a)=>{var i;return"key"===t?a||ar:"value"===t?n?"Edit values":(null==(i=e.valueLabels)?void 0:i[0])||"":r&&"operator"===t?"":e[t]&&!r?`${e[t]}`:a||ar},or=({populateInputOnEdit:e,item:t,filterInputType:n,setInputValue:r,filter:a})=>{var i,o,s;e&&!Or(t.value||"")&&"value"===er[n]?r(null!=(s=null!=(o=null==(i=null==a?void 0:a.valueLabels)?void 0:i[0])?o:null==a?void 0:a.value)?s:""):r("")},sr=({item:e,handleRemoveMultiValue:t,index:n,handleEditMultiValuePill:r})=>{var a,i;const s=f.useStyles2(lr),l=o.useCallback(t=>{t.stopPropagation(),t.preventDefault(),r(e)},[r,e]),u=o.useCallback(e=>{"Enter"===e.key&&l(e)},[l]),c=o.useCallback(n=>{n.stopPropagation(),n.preventDefault(),t(e)},[t,e]),p=o.useCallback(e=>{"Enter"===e.key&&c(e)},[c]);return F.default.createElement("div",{className:h.cx(s.basePill,s.valuePill),onClick:l,onKeyDown:u,tabIndex:0,id:`${e.value}-${n}`},null!=(a=e.label)?a:e.value,F.default.createElement(f.Button,{onClick:c,onKeyDownCapture:p,fill:"text",size:"sm",variant:"secondary",className:s.removeButton,tooltip:d.t("grafana-scenes.components.adhoc-filters-combobox.remove-filter-value","Remove filter value - {{itemLabel}}",{itemLabel:null!=(i=e.label)?i:e.value})},F.default.createElement(f.Icon,{name:"times",size:"md",id:`${e.value}-${n}-close-icon`})))},lr=e=>({basePill:h.css({display:"flex",alignItems:"center",background:e.colors.action.disabledBackground,border:`1px solid ${e.colors.border.weak}`,padding:e.spacing(.125,1,.125,1),color:e.colors.text.primary,overflow:"hidden",whiteSpace:"nowrap",minHeight:e.spacing(2.75),...e.typography.bodySmall,cursor:"pointer"}),valuePill:h.css({background:e.colors.action.selected,padding:e.spacing(.125,0,.125,1)}),removeButton:h.css({marginInline:e.spacing(.5),height:"100%",padding:0,cursor:"pointer","&:hover":{color:e.colors.text.primary}})}),ur=o.forwardRef(function({filter:e,controller:t,isAlwaysWip:n,handleChangeViewMode:r,focusOnWipInputRef:a,populateInputOnEdit:i,onInputClick:s},l){var u,c,p;const[m,g]=o.useState(!1),[b,_]=o.useState([]),[w,M]=o.useState(!1),[S,k]=o.useState(!1),[L,x]=o.useState(""),[D,T]=o.useState(null),[E,O]=o.useState(n?"key":"value"),[P,Y]=o.useState(!n&&"value"===E),C=f.useStyles2(cr),[A,R]=o.useState([]),[j,I]=o.useState({}),{allowCustomValue:H=!0,onAddCustomValue:N,filters:z,inputPlaceholder:V}=t.useState(),W=o.useRef(null),$=Or((null==e?void 0:e.operator)||""),U=$&&"value"===E,B=o.useId(),q=o.useRef([]),G=o.useRef([]),K=o.useRef(n?"key":"value"),J=o.useMemo(()=>In(b),[b]),Q=o.useMemo(()=>!n&&z.at(-1)===e,[e,n,z]),Z=o.useCallback(()=>{n&&(t.addWip(),O("key"),x(""))},[t,n]),X=o.useCallback((e,t,n,r)=>{var a;if(!n.length&&t.origin&&e.updateToMatchAll(t),n.length){const r=[],i=[];n.forEach(e=>{var t;r.push(null!=(t=e.label)?t:e.value),i.push(e.value)});let o=!0;Array.isArray(t.values)&&t.values.length===i.length&&(o=!t.values.every((e,t)=>e===i[t])),o&&(null==(a=e.startProfile)||a.call(e,Ce)),e.updateFilter(t,{valueLabels:r,values:i,value:i[0]}),R([])}r||setTimeout(()=>{var e;return null==(e=re.domReference.current)?void 0:e.focus()})},[]),ee=o.useCallback(e=>{R(t=>t.some(t=>t.value===e.value)?t.filter(t=>t.value!==e.value):[...t,e])},[]),te=o.useCallback((n,a,i)=>{g(n),i&&["outside-press","escape-key"].includes(i)&&(U?X(t,e,A):e&&e.origin&&""===L&&t.updateToMatchAll(e),Z(),null==r||r())},[e,A,r,X,Z,L,U,t]),ne=o.useMemo(()=>[B,...A.reduce((e,t,n)=>[...e,`${t.value}-${n}`,`${t.value}-${n}-close-icon`],[])],[B,A]),{refs:re,floatingStyles:ae,context:ie,getReferenceProps:oe,getFloatingProps:se,getItemProps:le}=(({open:e,onOpenChange:t,activeIndex:n,setActiveIndex:r,outsidePressIdsToIgnore:a,listRef:i,disabledIndicesRef:o})=>{const{refs:s,floatingStyles:l,context:u}=v.useFloating({whileElementsMounted:v.autoUpdate,open:e,onOpenChange:t,placement:"bottom-start",middleware:[v.offset(10),v.flip({padding:10}),v.size({apply({availableHeight:e,availableWidth:t,elements:n}){n.floating.style.maxHeight=`${Math.min(300,e)}px`,n.floating.style.maxWidth=`${t}px`},padding:10})],strategy:"fixed"}),c=v.useRole(u,{role:"listbox"}),d=v.useDismiss(u,{outsidePress:e=>{var t;if(e.currentTarget instanceof Element){const n=e.currentTarget;let r=n.id;if("path"===n.nodeName&&(r=(null==(t=n.parentElement)?void 0:t.id)||""),a.includes(r))return!1}return!0}}),f=v.useListNavigation(u,{listRef:i,activeIndex:n,onNavigate:r,virtual:!0,loop:!0,disabledIndices:o.current}),{getReferenceProps:p,getFloatingProps:h,getItemProps:m}=v.useInteractions([c,d,f]);return{refs:s,floatingStyles:l,context:u,getReferenceProps:p,getFloatingProps:h,getItemProps:m}})({open:m,onOpenChange:te,activeIndex:D,setActiveIndex:T,outsidePressIdsToIgnore:ne,listRef:q,disabledIndicesRef:G});o.useImperativeHandle(l,()=>()=>{var e;return null==(e=re.domReference.current)?void 0:e.focus()},[re.domReference]);const ue=o.useCallback(e=>{R(t=>t.filter(t=>t.value!==e.value)),setTimeout(()=>{var e;return null==(e=re.domReference.current)?void 0:e.focus()})},[re.domReference]),ce=(e=>e.flatMap(e=>e.options?[e,...e.options]:[e]))(ja(J(P?"":L)));if(H&&"operator"!==E&&L){const t=Mr.find(t=>(null==e?void 0:e.operator)===t.value),n={value:L.trim(),label:L.trim(),isCustom:!0};(null==t?void 0:t.isRegex)?ce.unshift(n):ce.push(n)}const de=((e,t,n)=>{var r,a,i,o;let s=182;const l=[],u=[];for(let t=0;ts&&(s=d)}return t.current=[...l],n.current=[...u],s})(ce,q,G),fe=o.useCallback(async n=>{var r,a,i,o;const s="key"===n?"adhoc_keys_dropdown":"adhoc_values_dropdown";"operator"!==n&&(null==(r=t.startInteraction)||r.call(t,s)),k(!1),M(!0),_([]);let l=[];try{if("key"===n?l=await t.getKeys(null):"operator"===n?l=t.getOperators():"value"===n&&(l=await t.getValuesFor(e)),K.current!==n)return void(null==(a=t.stopInteraction)||a.call(t));_(l),(null==(i=l[0])?void 0:i.group)?T(1):T(0)}catch(e){k(!0)}M(!1),null==(o=t.stopInteraction)||o.call(t)},[e,t]),pe=y.useVirtualizer({count:ce.length,getScrollElement:()=>re.floating.current,estimateSize:e=>ce[e].description?60:38,overscan:5}),he=o.useCallback((r,i)=>{var o;if("Backspace"===r.key&&!L){if("value"===E){if(i&&A.length)return void R(e=>{const t=[...e];return t.splice(-1,1),t});if(null==e?void 0:e.origin)return;return void O("operator")}null==a||a(),Tr(e)&&(null==(o=t.startProfile)||o.call(t,Ye)),t.handleComboboxBackspace(e),n&&Z()}},[L,E,t,e,n,A.length,Z,a]),me=o.useCallback((n,a)=>{var i;"Tab"!==n.key||n.shiftKey||(a&&(n.preventDefault(),X(t,e,A),null==(i=re.domReference.current)||i.focus()),null==r||r(),Z())},[e,A,r,X,Z,t,re.domReference]),ge=o.useCallback((n,a)=>{"Tab"===n.key&&n.shiftKey&&(a&&(n.preventDefault(),X(t,e,A,!0)),null==r||r(),Z())},[e,A,r,X,Z,t]),ve=o.useCallback((n,o)=>{var s;if("Enter"===n.key&&null!=D){if(!ce[D])return;const n=ce[D];if(o)ee(n),x("");else{const o=rr({filterInputType:E,item:n,filter:e,setFilterMultiValues:R,onAddCustomValue:N});"value"===E&&o.value!==(null==e?void 0:e.value)&&(null==(s=t.startProfile)||s.call(t,Ce)),t.updateFilter(e,o),or({populateInputOnEdit:i,item:n,filterInputType:E,setInputValue:x,filter:e}),tr(E,O,r,re.domReference.current,!Q&&void 0),T(null),Q&&(null==a||a())}}},[D,ce,ee,t,e,E,i,r,re.domReference,Q,a,N]),ye=o.useCallback(e=>{var t;const n=e.label||e.value;R(t=>t.filter(t=>t.value!==e.value)),Y(!0),x(n),null==(t=re.domReference.current)||t.focus(),setTimeout(()=>{var e;null==(e=re.domReference.current)||e.select()})},[re.domReference]);o.useEffect(()=>{m&&fe(E)},[m,E]),o.useEffect(()=>{var t,r,a,o;if(!n){if($&&(null==(t=null==e?void 0:e.values)?void 0:t.length)){const t=e.values.reduce((t,n,r)=>{var a;return[...t,{label:(null==(a=e.valueLabels)?void 0:a[r])||n,value:n}]},[]);R(t)}!$&&i&&(x(null!=(a=null==(r=null==e?void 0:e.valueLabels)?void 0:r[0])?a:(null==e?void 0:e.value)||""),setTimeout(()=>{var e;null==(e=re.domReference.current)||e.select()})),null==(o=re.domReference.current)||o.focus()}},[]),o.useEffect(()=>{U&&A&&setTimeout(()=>I({}))},[A,U]),o.useLayoutEffect(()=>{K.current&&(K.current=E)},[E]),o.useLayoutEffect(()=>{var e,t;null!==D&&pe.range&&(D>(null==(e=pe.range)?void 0:e.endIndex)||D<(null==(t=pe.range)?void 0:t.startIndex))&&pe.scrollToIndex(D)},[D,pe]);const be=null!=(u=null==e?void 0:e.keyLabel)?u:null==e?void 0:e.key;return F.default.createElement("div",{className:C.comboboxWrapper},e?F.default.createElement("div",{className:C.pillWrapper},(null==e?void 0:e.key)?F.default.createElement("div",{className:h.cx(C.basePill,C.keyPill)},be):null,(null==e?void 0:e.key)&&(null==e?void 0:e.operator)&&"operator"!==E?F.default.createElement("div",{id:B,className:h.cx(C.basePill,!e.origin&&C.operatorPill,e.origin&&C.keyPill,B),"aria-label":d.t("grafana-scenes.variables.ad-hoc-combobox.aria-label-edit-filter-operator","Edit filter operator"),tabIndex:e.origin?-1:0,onClick:t=>{e.origin?null==r||r():(t.stopPropagation(),x(""),nr("operator",O,void 0,re.domReference.current))},onKeyDown:t=>{e.origin||(ge(t,$),"Enter"===t.key&&(x(""),nr("operator",O,void 0,re.domReference.current)))},...!e.origin&&{role:"button"}},e.operator):null,F.default.createElement("div",{ref:W}),U?A.map((e,t)=>F.default.createElement(sr,{key:`${e.value}-${t}`,item:e,index:t,handleRemoveMultiValue:ue,handleEditMultiValuePill:ye})):null):null,F.default.createElement("input",{...oe({ref:re.setReference,onChange:function(e){const t=e.target.value;x(t),T(0),P&&Y(!1)},value:L,placeholder:ir(e,E,U,n,V),"aria-autocomplete":"list",onKeyDown(e){m?("operator"===E&&ge(e),he(e,U),me(e,U),ve(e,U)):g(!0)}}),className:h.cx(C.inputStyle,{[C.loadingInputPadding]:!w}),onClick:e=>{e.stopPropagation(),null==s||s(),g(!0)},onFocus:()=>{g(!0)}}),w?F.default.createElement(f.Spinner,{className:C.loadingIndicator,inline:!0}):null,F.default.createElement(v.FloatingPortal,null,m&&F.default.createElement(v.FloatingFocusManager,{context:ie,initialFocus:-1,visuallyHiddenDismiss:!0,modal:!0},F.default.createElement(F.default.Fragment,null,F.default.createElement("div",{style:{...ae,width:`${S?366:de}px`,transform:U?`translate(${(null==(c=W.current)?void 0:c.getBoundingClientRect().left)||0}px, ${((null==(p=re.domReference.current)?void 0:p.getBoundingClientRect().bottom)||0)+10}px )`:ae.transform},ref:re.setFloating,className:C.dropdownWrapper,tabIndex:-1},F.default.createElement("div",{style:{height:`${pe.getTotalSize()||38}px`},...se(),tabIndex:-1},w?F.default.createElement(Jn,null):S?F.default.createElement(Zn,{handleFetchOptions:()=>fe(E)}):ce.length||H&&"operator"!==E&&L?pe.getVirtualItems().map(n=>{var a;const o=ce[n.index],s=n.index;if(o.options)return F.default.createElement("div",{key:`${o.label}+${s}`,className:h.cx(C.optionGroupLabel,C.groupTopBorder),style:{height:`${n.size}px`,transform:`translateY(${n.start}px)`}},F.default.createElement(f.Text,{weight:"bold",variant:"bodySmall",color:"secondary"},o.label));const l=ce[n.index+1],u=l&&!l.group&&!l.options&&o.group,c=null!=(a=o.label)?a:o.value;return F.default.createElement(Gn,{...le({key:`${o.value}-${s}`,ref(e){q.current[s]=e},onClick(n){var a,s;if("value"!==E&&n.stopPropagation(),U)n.preventDefault(),n.stopPropagation(),ee(o),x(""),null==(a=re.domReference.current)||a.focus();else{const n=rr({filterInputType:E,item:o,filter:e,setFilterMultiValues:R,onAddCustomValue:N});"value"===E&&n.value!==(null==e?void 0:e.value)&&(null==(s=t.startProfile)||s.call(t,Ce)),t.updateFilter(e,n),or({populateInputOnEdit:i,item:o,filterInputType:E,setInputValue:x,filter:e}),tr(E,O,r,re.domReference.current,!1)}}}),active:D===s,addGroupBottomBorder:u,style:{height:`${n.size}px`,transform:`translateY(${n.start}px)`},"aria-setsize":ce.length,"aria-posinset":n.index+1,isMultiValueEdit:U,checked:A.some(e=>e.value===o.value)},F.default.createElement("span",null,o.isCustom?d.t("grafana-scenes.components.adhoc-filters-combobox.use-custom-value","Use custom value: {{itemLabel}}",{itemLabel:c}):c),o.description?F.default.createElement("div",{className:C.descriptionText},o.description):null)}):F.default.createElement(Qn,null))),U&&!w&&!S&&ce.length?F.default.createElement(Xn,{onApply:()=>{X(t,e,A),Z(),null==r||r(),g(!1)},floatingElement:re.floating.current,maxOptionWidth:de,menuHeight:Math.min(pe.getTotalSize(),300)}):null))))}),cr=e=>({comboboxWrapper:h.css({display:"flex",flexWrap:"wrap"}),pillWrapper:h.css({display:"flex",alignItems:"center",flexWrap:"wrap"}),basePill:h.css({display:"flex",alignItems:"center",background:e.colors.action.disabledBackground,border:`1px solid ${e.colors.border.weak}`,padding:e.spacing(.125,1,.125,1),color:e.colors.text.primary,overflow:"hidden",whiteSpace:"nowrap",minHeight:e.spacing(2.75),...e.typography.bodySmall,cursor:"pointer"}),keyPill:h.css({fontWeight:e.typography.fontWeightBold,cursor:"default"}),operatorPill:h.css({"&:hover":{background:e.colors.action.hover}}),dropdownWrapper:h.css({backgroundColor:e.colors.background.primary,color:e.colors.text.primary,boxShadow:e.shadows.z2,overflowY:"auto",zIndex:e.zIndex.portal}),inputStyle:h.css({paddingBlock:0,"&:focus":{outline:"none"}}),loadingIndicator:h.css({color:e.colors.text.secondary,marginLeft:e.spacing(.5)}),loadingInputPadding:h.css({paddingRight:e.spacing(2.5)}),optionGroupLabel:h.css({padding:e.spacing(1),position:"absolute",top:0,left:0,width:"100%"}),groupTopBorder:h.css({"&:not(:first-child)":{borderTop:`1px solid ${e.colors.border.weak}`}}),descriptionText:h.css({...e.typography.bodySmall,color:e.colors.text.secondary,paddingTop:e.spacing(.5)})});function dr({filter:e,controller:t,readOnly:n,focusOnWipInputRef:r}){var a,i,s,l;const u=f.useStyles2(fr),[c,p]=o.useState(!0),[m,g]=o.useState(!1),v=o.useRef(null),[y,b]=o.useState(!1),_=null!=(a=e.keyLabel)?a:e.key,w=(null==(i=e.valueLabels)?void 0:i.join(", "))||(null==(s=e.values)?void 0:s.join(", "))||e.value,M=o.useCallback((e,t)=>{null==e||e.stopPropagation(),n||(g(null!=t?t:!c),p(!c))},[n,c]);o.useEffect(()=>{var e;m&&(null==(e=v.current)||e.focus(),g(!1))},[m]),o.useEffect(()=>{e.forceEdit&&c&&(p(!1),t.updateFilter(e,{forceEdit:void 0}))},[e,t,c]),o.useEffect(()=>{c&&b(e=>!e&&e)},[c]);const S=e=>"dashboard"===e?{info:"Applied by default in this dashboard. If edited, it carries over to other dashboards.",restore:"Restore the value set by this dashboard."}:"scope"===e?{info:"Applied automatically from your selected scope.",restore:"Restore the value set by your selected scope."}:{info:`This is a ${e} injected filter.`,restore:"Restore filter to its original value."},k=!e.restorable&&!e.readOnly&&!e.nonApplicable;if(c){const a=`${_} ${e.operator} ${w}`,i=F.default.createElement("span",{className:h.cx(u.pillText,e.nonApplicable&&u.strikethrough)},a);return F.default.createElement("div",{className:h.cx(u.combinedFilterPill,n&&u.readOnlyCombinedFilter,(Dr(e)||e.nonApplicable)&&u.disabledPill,e.readOnly&&u.filterReadOnly),onClick:e=>{e.stopPropagation(),b(!0),M()},onKeyDown:e=>{"Enter"===e.key&&(b(!0),M())},role:n?void 0:"button","aria-label":d.t("grafana-scenes.components.adhoc-filter-pill.edit-filter-with-key","Edit filter with key {{keyLabel}}",{keyLabel:_}),tabIndex:0,ref:v},a.length<20?i:F.default.createElement(f.Tooltip,{content:F.default.createElement("div",{className:u.tooltipText},a),placement:"top"},i),n||e.matchAllFilter||e.origin&&"dashboard"!==e.origin?null:F.default.createElement(f.IconButton,{onClick:n=>{n.stopPropagation(),e.origin&&"dashboard"===e.origin?t.updateToMatchAll(e):t.removeFilter(e),setTimeout(()=>null==r?void 0:r())},onKeyDownCapture:n=>{"Enter"===n.key&&(n.preventDefault(),n.stopPropagation(),e.origin&&"dashboard"===e.origin?t.updateToMatchAll(e):t.removeFilter(e),setTimeout(()=>null==r?void 0:r()))},name:"times",size:"md",className:h.cx(u.pillIcon,e.nonApplicable&&u.disabledPillIcon),tooltip:d.t("grafana-scenes.components.adhoc-filter-pill.remove-filter-with-key","Remove filter with key {{keyLabel}}",{keyLabel:_})}),e.origin&&e.readOnly&&F.default.createElement(f.Tooltip,{content:d.t("grafana-scenes.components.adhoc-filter-pill.managed-filter","{{origin}} managed filter",{origin:e.origin}),placement:"bottom"},F.default.createElement(f.Icon,{name:"lock",size:"md",className:u.readOnlyPillIcon})),e.origin&&k&&F.default.createElement(f.Tooltip,{content:S(e.origin).info,placement:"bottom"},F.default.createElement(f.Icon,{name:"info-circle",size:"md",className:u.infoPillIcon})),e.origin&&e.restorable&&!e.readOnly&&F.default.createElement(f.IconButton,{onClick:n=>{n.stopPropagation(),t.restoreOriginalFilter(e)},onKeyDownCapture:n=>{"Enter"===n.key&&(n.preventDefault(),n.stopPropagation(),t.restoreOriginalFilter(e))},name:"history",size:"md",className:Dr(e)?u.matchAllPillIcon:u.pillIcon,tooltip:S(e.origin).restore}),e.nonApplicable&&F.default.createElement(f.Tooltip,{content:null!=(l=e.nonApplicableReason)?l:d.t("grafana-scenes.components.adhoc-filter-pill.non-applicable","Filter is not applicable"),placement:"bottom"},F.default.createElement(f.Icon,{name:"info-circle",size:"md",className:u.infoPillIcon})))}return F.default.createElement(ur,{filter:e,controller:t,handleChangeViewMode:M,focusOnWipInputRef:r,populateInputOnEdit:y})}const fr=e=>({combinedFilterPill:h.css({display:"flex",alignItems:"center",background:e.colors.action.selected,borderRadius:e.shape.radius.default,border:`1px solid ${e.colors.border.weak}`,padding:e.spacing(.125,0,.125,1),color:e.colors.text.primary,overflow:"hidden",whiteSpace:"nowrap",minHeight:e.spacing(2.75),...e.typography.bodySmall,fontWeight:e.typography.fontWeightBold,cursor:"pointer","&:hover":{background:e.colors.action.hover}}),readOnlyCombinedFilter:h.css({paddingRight:e.spacing(1),cursor:"text","&:hover":{background:e.colors.action.selected}}),filterReadOnly:h.css({background:e.colors.background.canvas,cursor:"text","&:hover":{background:e.colors.background.canvas}}),pillIcon:h.css({marginInline:e.spacing(.5),cursor:"pointer","&:hover":{color:e.colors.text.primary}}),pillText:h.css({maxWidth:"200px",width:"100%",textOverflow:"ellipsis",overflow:"hidden"}),tooltipText:h.css({textAlign:"center"}),infoPillIcon:h.css({marginInline:e.spacing(.5),cursor:"pointer"}),readOnlyPillIcon:h.css({marginInline:e.spacing(.5)}),matchAllPillIcon:h.css({marginInline:e.spacing(.5),cursor:"pointer",color:e.colors.text.disabled}),disabledPillIcon:h.css({marginInline:e.spacing(.5),cursor:"pointer",color:e.colors.text.disabled,"&:hover":{color:e.colors.text.disabled}}),...Ia(e)}),pr=o.forwardRef(function({controller:e,onInputClick:t},n){const{wip:r}=e.useState();return o.useLayoutEffect(()=>{r||e.addWip()},[r]),F.default.createElement(ur,{controller:e,filter:r,isAlwaysWip:!0,ref:n,onInputClick:t})}),hr=o.memo(function({controller:e}){var t;const{originFilters:n,filters:r,readOnly:a,collapsible:i,valueRecommendations:s}=e.useState(),l=f.useStyles2(mr),u=f.useTheme2(),[c,p]=o.useState(!0),[m,{height:v}]=g.useMeasure(),y=o.useRef(),b=5*u.spacing.gridSize,_=i&&v>b,w=[...null!=(t=null==n?void 0:n.filter(e=>e.origin))?t:[],...r.filter(e=>!e.hidden)],M=w.length,S=i&&c&&M>0,k=S?w.slice(0,5):w;o.useEffect(()=>{i&&0===M&&c&&p(!1)},[i,M,c]);const L=i&&_&&!c;return F.default.createElement("div",{ref:m,className:h.cx(l.comboboxWrapper,{[l.comboboxFocusOutline]:!a,[l.collapsed]:S,[l.clickableCollapsed]:S}),onClick:()=>{var e,t;i?c?p(!1):null==(t=y.current)||t.call(y):null==(e=y.current)||e.call(y)}},F.default.createElement(f.Icon,{name:"filter",className:l.filterIcon,size:"lg"}),s&&F.default.createElement(s.Component,{model:s}),k.map((t,n)=>F.default.createElement(dr,{key:`${t.origin?"origin-":""}${n}-${t.key}`,filter:t,controller:e,readOnly:a||t.readOnly,focusOnWipInputRef:y.current})),a||S?null:F.default.createElement(pr,{controller:e,ref:y}),F.default.createElement("div",{className:l.rightControls},L&&F.default.createElement(f.Button,{className:l.collapseButton,fill:"text",onClick:e=>{e.stopPropagation(),i&&p(!0)},"aria-label":d.t("grafana-scenes.variables.adhoc-filters-combobox-renderer.collapse-filters","Collapse filters"),"aria-expanded":!c},d.t("grafana-scenes.variables.adhoc-filters-combobox-renderer.collapse","Collapse"),F.default.createElement(f.Icon,{name:"angle-up",size:"md"})),F.default.createElement("div",{className:l.clearAllButton},F.default.createElement(f.Icon,{name:"times",size:"md",onClick:()=>{var t;null==(t=e.clearAll)||t.call(e)}})),S&&F.default.createElement(F.default.Fragment,null,M>5&&F.default.createElement("span",{className:l.moreIndicator},"(+",M-5,")"),F.default.createElement(f.Icon,{name:"angle-down",className:l.dropdownIndicator}))))}),mr=e=>({comboboxWrapper:h.css({display:"flex",flexWrap:"wrap",alignItems:"center",columnGap:e.spacing(1),rowGap:e.spacing(.5),minHeight:e.spacing(4),backgroundColor:e.components.input.background,border:`1px solid ${e.colors.border.strong}`,borderRadius:e.shape.radius.default,paddingInline:e.spacing(1),paddingBlock:e.spacing(.5),flexGrow:1,width:"100%"}),comboboxFocusOutline:h.css({"&:focus-within":{outline:"2px dotted transparent",outlineOffset:"2px",boxShadow:`0 0 0 2px ${e.colors.background.canvas}, 0 0 0px 4px ${e.colors.primary.main}`,transitionTimingFunction:"cubic-bezier(0.19, 1, 0.22, 1)",transitionDuration:"0.2s",transitionProperty:"outline, outline-offset, box-shadow",zIndex:2}}),filterIcon:h.css({color:e.colors.text.secondary,alignSelf:"center"}),collapsed:h.css({flexWrap:"nowrap",overflow:"hidden"}),clickableCollapsed:h.css({cursor:"pointer","&:hover":{borderColor:e.colors.border.medium}}),rightControls:h.css({display:"flex",alignItems:"center",marginLeft:"auto",flexShrink:0}),moreIndicator:h.css({color:e.colors.text.secondary,whiteSpace:"nowrap"}),dropdownIndicator:h.css({color:e.colors.text.secondary,flexShrink:0}),collapseButton:h.css({color:e.colors.text.secondary,padding:0,fontSize:e.typography.bodySmall.fontSize,border:"none","&:hover":{background:"transparent",color:e.colors.text.primary}}),clearAllButton:h.css({fontSize:e.typography.bodySmall.fontSize,cursor:"pointer",color:e.colors.text.secondary,"&:hover":{color:e.colors.text.primary}})}),gr=Object.fromEntries(Object.entries(a.scopeFilterOperatorMap).map(([e,t])=>[t,e]));function vr(e){return new Set(["equals","not-equals","one-of","not-one-of"]).has(e)}function yr(e){return new Set(["regex-match","regex-not-match"]).has(e)}function br(e,t,n){var r,i;if(!n)return;const o=e.get(n.key);o&&function(e,t){const n=a.scopeFilterOperatorMap[e];if(!vr(n)||!vr(t))return!1;return _r(n,t)}(o.operator,n.operator)?function(e,t){var n,r,a,i;const o=null!=(n=t.values)?n:[t.value];for(const t of o)(null==(r=e.values)?void 0:r.includes(t))||null==(a=e.values)||a.push(t);if(1===(null==(i=e.values)?void 0:i.length))return;"equals"===t.operator&&e.operator===gr.equals?e.operator=gr["one-of"]:"not-equals"===t.operator&&e.operator===gr["not-equals"]&&(e.operator=gr["not-one-of"])}(o,n):o&&function(e,t){const n=a.scopeFilterOperatorMap[e];if(!yr(n)||!yr(t))return!1;return _r(n,t)}(o.operator,n.operator)?(o.value+=`|${n.value}`,o.values=[o.value]):o?t.push({key:n.key,operator:gr[n.operator],value:n.value,values:null!=(i=n.values)?i:[n.value],origin:"scope"}):e.set(n.key,{key:n.key,operator:gr[n.operator],value:n.value,values:null!=(r=n.values)?r:[n.value],origin:"scope"})}function _r(e,t){return!(e.includes("not")&&!t.includes("not")||!e.includes("not")&&t.includes("not"))}class wr{constructor(e){this.model=e}useState(){const e=this.model.useState();return{filters:e.filters,originFilters:e.originFilters,readOnly:e.readOnly,allowCustomValue:e.allowCustomValue,supportsMultiValueOperators:e.supportsMultiValueOperators,onAddCustomValue:e.onAddCustomValue,wip:e._wip,collapsible:e.collapsible,valueRecommendations:this.model.getRecommendations(),drilldownRecommendationsEnabled:e.drilldownRecommendationsEnabled}}async getKeys(e){return this.model._getKeys(e)}async getValuesFor(e){return this.model._getValuesFor(e)}getOperators(){return this.model._getOperators()}updateFilter(e,t){this.model._updateFilter(e,t)}updateFilters(e,t){this.model.updateFilters(e,t)}updateToMatchAll(e){this.model.updateToMatchAll(e)}removeFilter(e){this.model._removeFilter(e)}removeLastFilter(){this.model._removeLastFilter()}handleComboboxBackspace(e){this.model._handleComboboxBackspace(e)}addWip(){this.model._addWip()}restoreOriginalFilter(e){this.model.restoreOriginalFilter(e)}clearAll(){this.model.clearAll()}startProfile(e){const t=we(this.model);null==t||t.startProfile(e)}startInteraction(e){const t=Dn(this.model);null==t||t.startInteraction(e)}stopInteraction(){const e=Dn(this.model);null==e||e.stopInteraction()}}const Mr=[{value:"=",description:"Equals"},{value:"!=",description:"Not equal"},{value:"=|",description:"One of. Use to filter on multiple values.",isMulti:!0},{value:"!=|",description:"Not one of. Use to exclude multiple values.",isMulti:!0},{value:"=~",description:"Matches regex",isRegex:!0},{value:"!~",description:"Does not match regex",isRegex:!0},{value:"<",description:"Less than"},{value:"<=",description:"Less than or equal to"},{value:">",description:"Greater than"},{value:">=",description:"Greater than or equal to"}];class Sr extends Z{constructor(e){var t,n,r,a,o,s;const l=null!=(t=e.$behaviors)?t:[],c=e.drilldownRecommendationsEnabled?new Pr:void 0;c&&l.push(c),super({type:"adhoc",name:null!=(n=e.name)?n:"Filters",filters:[],datasource:null,applyMode:"auto",filterExpression:null!=(o=e.filterExpression)?o:kr(e.expressionBuilder,[...null!=(r=e.originFilters)?r:[],...null!=(a=e.filters)?a:[]]),...e,$behaviors:l.length>0?l:void 0}),this._scopedVars={__sceneObject:Mn(this)},this._dataSourceSrv=i.getDataSourceSrv(),this._originalValues=new Map,this._prevScopes=[],this._variableDependency=new Ha(this,{dependsOnScopes:!0,onReferencedVariableValueChanged:()=>this._updateScopesFilters()}),this._urlSync=new $n(this),this._debouncedVerifyApplicability=u.debounce(this._verifyApplicability,100),this._activationHandler=()=>(this._debouncedVerifyApplicability(),()=>{var e;null==(e=this.state.originFilters)||e.forEach(e=>{e.restorable&&this.restoreOriginalFilter(e)}),this.setState({applicabilityEnabled:!1})}),this._recommendations=c,"auto"===this.state.applyMode&&function(e){if(e.addActivationHandler(()=>(Cn.add(e),()=>Cn.delete(e))),Yn)return;const t=i.getTemplateSrv();(null==t?void 0:t.getAdhocFilters)&&(Yn=t.getAdhocFilters,t.getAdhocFilters=function(e){var n;if(0===Cn.size)return Yn.call(t,e);const r=i.getDataSourceSrv().getInstanceSettings(e);if(!r)return[];for(const e of Cn.values())if((null==(n=e.state.datasource)?void 0:n.uid)===r.uid)return e.state.filters;return[]}.bind(t))}(this),null==(s=this.state.originFilters)||s.forEach(e=>{var t;this._originalValues.set(`${e.key}-${e.origin}`,{operator:e.operator,value:null!=(t=e.values)?t:[e.value]})}),this.addActivationHandler(this._activationHandler)}getRecommendations(){return this._recommendations}_updateScopesFilters(){var e,t;const n=li.getScopes(this);if(!n||!n.length)return void this.setState({originFilters:null==(e=this.state.originFilters)?void 0:e.filter(e=>"scope"!==e.origin)});const r=function(e){const t=new Map,n=[],r=e.flatMap(e=>e.spec.filters);for(const e of r)br(t,n,e);return[...t.values(),...n]}(n);if(!r.length)return;let a=r;const i=[],o=[];if(a.forEach(e=>{var t;this._originalValues.set(`${e.key}-${e.origin}`,{value:null!=(t=e.values)?t:[e.value],operator:e.operator})}),null==(t=this.state.originFilters)||t.forEach(e=>{"scope"===e.origin?i.push(e):o.push(e)}),this._prevScopes.length)return this.setState({originFilters:[...a,...o]}),this._prevScopes=n,void this._debouncedVerifyApplicability();const s=i.filter(e=>e.restorable),l=s.map(e=>e.key),u=r.map(e=>e.key);a=[...s.filter(e=>u.includes(e.key)),...r.filter(e=>!l.includes(e.key))],this.setState({originFilters:[...a,...o]}),this._prevScopes=n,this._debouncedVerifyApplicability()}async verifyApplicabilityAndStoreRecentFilter(e){var t;await this._verifyApplicability(),null==(t=this._recommendations)||t.storeRecentFilter(e)}setState(e){var t,n;let r=!1;if((e.filters&&e.filters!==this.state.filters||e.originFilters&&e.originFilters!==this.state.originFilters)&&!e.filterExpression){const a=null!=(t=e.filters)?t:this.state.filters,i=null!=(n=e.originFilters)?n:this.state.originFilters;e.filterExpression=kr(this.state.expressionBuilder,[...null!=i?i:[],...a]),r=e.filterExpression!==this.state.filterExpression}super.setState(e),r&&this.publishEvent(new Ve(this),!0)}updateFilters(e,t){var n;let r,a=!1;e&&e!==this.state.filters&&(r=kr(this.state.expressionBuilder,[...null!=(n=this.state.originFilters)?n:[],...e]),a=r!==this.state.filterExpression),super.setState({filters:e,filterExpression:r}),(a&&!0!==(null==t?void 0:t.skipPublish)||(null==t?void 0:t.forcePublish))&&this.publishEvent(new Ve(this),!0)}restoreOriginalFilter(e){const t={matchAllFilter:!1,restorable:!1};if(e.restorable){const n=this._originalValues.get(`${e.key}-${e.origin}`);if(!n)return;t.value=null==n?void 0:n.value[0],t.values=null==n?void 0:n.value,t.valueLabels=null==n?void 0:n.value,t.operator=null==n?void 0:n.operator,t.nonApplicable=null==n?void 0:n.nonApplicable;const r=we(this);null==r||r.startProfile("filter_restored"),this._updateFilter(e,t)}}clearAll(){var e;null==(e=this.state.originFilters)||e.forEach(e=>{e.restorable&&this.restoreOriginalFilter(e)}),this.setState({filters:[]})}getValue(e){if("originFilters"===e){const e=this.state.originFilters;return e&&0!==(null==e?void 0:e.length)?[...e.map(e=>Un(e).map(Pa).join("|").concat(`#${e.origin}`))]:[]}return this.state.filterExpression}_updateFilter(e,t){var n,r;const{originFilters:a,filters:i,_wip:o}=this.state;if(e.origin){const r=this._originalValues.get(`${e.key}-${e.origin}`),i=t.values||(t.value?[t.value]:void 0);i&&!u.isEqual(i,null==r?void 0:r.value)||t.operator&&t.operator!==(null==r?void 0:r.operator)?t.restorable=!0:i&&u.isEqual(i,null==r?void 0:r.value)&&(t.restorable=!1);const o=null!=(n=null==a?void 0:a.map(n=>n===e?{...n,...t}:n))?n:[];return void this.setState({originFilters:o})}if(e===o)return void("value"in t&&""!==t.value?(this.setState({filters:[...i,{...o,...t}],_wip:void 0}),this.verifyApplicabilityAndStoreRecentFilter({...o,...t})):this.setState({_wip:{...e,...t}}));const s=this.state.filters.map(n=>n===e?{...n,...t}:n);this.setState({filters:s}),null==(r=this._recommendations)||r.storeRecentFilter({...e,...t})}updateToMatchAll(e){this._updateFilter(e,{operator:"=~",value:".*",values:[".*"],valueLabels:["All"],matchAllFilter:!0,nonApplicable:!1,restorable:!0})}_removeFilter(e){if(e===this.state._wip)return void this.setState({_wip:void 0});const t=we(this);null==t||t.startProfile(Ye),this.setState({filters:this.state.filters.filter(t=>t!==e)}),this._debouncedVerifyApplicability()}_removeLastFilter(){const e=this.state.filters.at(-1);e&&this._removeFilter(e)}_handleComboboxBackspace(e){var t;if(this.state.filters.length){let t=this.state.filters.length-1;e!==this.state._wip&&(t=-1),this.setState({filters:this.state.filters.reduce((n,r,a)=>a!==t||r.readOnly?r===e?n:[...n,r]:[...n,{...r,forceEdit:!0}],[])})}else if(null==(t=this.state.originFilters)?void 0:t.length){let t=this.state.originFilters.length-1;e!==this.state._wip&&(t=-1),this.setState({originFilters:this.state.originFilters.reduce((n,r,a)=>a!==t||r.readOnly?r===e?n:[...n,r]:[...n,{...r,forceEdit:!0}],[])})}}async getFiltersApplicabilityForQueries(e,t){const n=await this._dataSourceSrv.get(this.state.datasource,this._scopedVars);if(!n||!n.getDrilldownsApplicability)return;const r=li.getTimeRange(this).state.value;return await n.getDrilldownsApplicability({filters:e,queries:t,timeRange:r,scopes:li.getScopes(this),...vn(this)})}async _verifyApplicability(){var e,t,n;const r=[...this.state.filters,...null!=(e=this.state.originFilters)?e:[]],a=this.state.useQueriesAsFilterForOptions?Ta(this):void 0,i=await this.getFiltersApplicabilityForQueries(r,null!=a?a:[]);if(!i)return;const o=new Map;i.forEach(e=>{o.set(`${e.key}${e.origin?`-${e.origin}`:""}`,e)});const s={applicabilityEnabled:!0,filters:[...this.state.filters],originFilters:[...null!=(t=this.state.originFilters)?t:[]]};s.filters.forEach(e=>{const t=o.get(e.key);t&&(e.nonApplicable=!t.applicable,e.nonApplicableReason=t.reason)}),null==(n=s.originFilters)||n.forEach(e=>{const t=o.get(`${e.key}-${e.origin}`);if(t){e.matchAllFilter||(e.nonApplicable=!t.applicable,e.nonApplicableReason=t.reason);const n=this._originalValues.get(`${e.key}-${e.origin}`);n&&(n.nonApplicable=!t.applicable,n.nonApplicableReason=null==t?void 0:t.reason)}}),this.setState(s)}async _getKeys(e){var t,n,r,a,i;const o=await(null==(n=(t=this.state).getTagKeysProvider)?void 0:n.call(t,this,e));if(o&&o.replace)return Aa(o.values).map(xr);if(this.state.defaultKeys)return this.state.defaultKeys.map(xr);const s=await this._dataSourceSrv.get(this.state.datasource,this._scopedVars);if(!s||!s.getTagKeys)return[];const l=null!=(a=null==(r=this.state.originFilters)?void 0:r.filter(e=>!e.nonApplicable))?a:[],u=this.state.filters.filter(t=>t.key!==e&&!t.nonApplicable).concat(null!=(i=this.state.baseFilters)?i:[]).concat(l),c=li.getTimeRange(this).state.value,d=this.state.useQueriesAsFilterForOptions?Ta(this):void 0,f=await s.getTagKeys({filters:u,queries:d,timeRange:c,scopes:li.getScopes(this),...vn(this)});Ra(f)&&this.setState({error:f.error.message});let p=Aa(f);o&&(p=p.concat(Aa(o.values)));const h=this.state.tagKeyRegexFilter;return h&&(p=p.filter(e=>e.text.match(h))),p.map(xr)}async _getValuesFor(e){var t,n,r,a;const i=await(null==(n=(t=this.state).getTagValuesProvider)?void 0:n.call(t,this,e));if(i&&i.replace)return Aa(i.values).map(xr);const o=await this._dataSourceSrv.get(this.state.datasource,this._scopedVars);if(!o||!o.getTagValues)return[];const s=null!=(a=null==(r=this.state.originFilters)?void 0:r.filter(t=>t.key!==e.key))?a:[],l=this.state.filters.filter(t=>t.key!==e.key).concat(s),u=li.getTimeRange(this).state.value,c=this.state.useQueriesAsFilterForOptions?Ta(this):void 0;let d=li.getScopes(this);"scope"===e.origin&&(d=null==d?void 0:d.map(t=>{var n;return{...t,spec:{...t.spec,filters:null==(n=t.spec.filters)?void 0:n.filter(t=>t.key!==e.key)}}}));const f=await o.getTagValues({key:e.key,filters:l,timeRange:u,queries:c,scopes:d,...vn(this)});Ra(f)&&this.setState({error:f.error.message});let p=Aa(f);return i&&(p=p.concat(Aa(i.values))),p.map(xr)}_addWip(){this.setState({_wip:{key:"",value:"",operator:"=",condition:""}})}_getOperators(){const{supportsMultiValueOperators:e,allowCustomValue:t=!0}=this.state;return Mr.filter(({isMulti:n,isRegex:r})=>!(!e&&n)&&!(!t&&r)).map(({value:e,description:t})=>({label:e,value:e,description:t}))}}function kr(e,t){var n;return(null!=e?e:ka)(null!=(n=null==t?void 0:t.filter(e=>Er(e)))?n:[])}Sr.Component=function({model:e}){const{filters:t,readOnly:n,addFilterButtonText:r}=e.useState(),a=f.useStyles2(Lr),i=o.useMemo(()=>"combobox"===e.state.layout?new wr(e):void 0,[e]);if(i)return F.default.createElement(hr,{controller:i});return F.default.createElement("div",{className:a.wrapper},t.filter(e=>!e.hidden).map((t,n)=>F.default.createElement(F.default.Fragment,{key:n},F.default.createElement(Nn,{filter:t,model:e}))),!n&&F.default.createElement(Vn,{model:e,key:"'builder",addFilterButtonText:r}))};const Lr=e=>({wrapper:h.css({display:"flex",flexWrap:"wrap",alignItems:"flex-end",columnGap:e.spacing(2),rowGap:e.spacing(1)})});function xr(e){const{text:t,value:n}=e,r={label:String(t),value:String(null!=n?n:t)};return"group"in e&&(r.group=e.group),"meta"in e&&(r.meta=e.meta),r}function Dr(e){return"=~"===e.operator&&".*"===e.value}function Tr(e){return""!==e.key&&""!==e.operator&&""!==e.value}function Er(e){return!e.nonApplicable}function Or(e){const t=Mr.find(t=>t.value===e);return!!t&&Boolean(t.isMulti)}class Pr extends Z{constructor(e={}){super(e),this._activationHandler=()=>{const e=a.store.get(this._getStorageKey()),t=e?JSON.parse(e):[];t.length>0?this._verifyRecentFiltersApplicability(t):this.setState({recentFilters:[]}),this._fetchRecommendedDrilldowns();const n=li.lookupVariable(Xe,this._adHocFilter);let r;return n instanceof On&&this._subs.add(r=n.subscribeToState((e,t)=>{if(e.scopes!==t.scopes){const e=a.store.get(this._getStorageKey()),t=e?JSON.parse(e):[];t.length>0&&this._verifyRecentFiltersApplicability(t),this._fetchRecommendedDrilldowns()}})),()=>{null==r||r.unsubscribe()}},this.addActivationHandler(this._activationHandler)}get _adHocFilter(){if(!(this.parent instanceof Sr))throw new Error("AdHocFiltersRecommendations must be a child of AdHocFiltersVariable");return this.parent}get _scopedVars(){return{__sceneObject:Mn(this._adHocFilter)}}_getStorageKey(){var e,t;return`grafana.filters.recent.${null!=(t=null==(e=this._adHocFilter.state.datasource)?void 0:e.uid)?t:"default"}`}async _fetchRecommendedDrilldowns(){var e;const t=this._adHocFilter,n=await Rt(t.state.datasource,this._scopedVars);if(!n||!n.getRecommendedDrilldowns)return;const r=t.state.useQueriesAsFilterForOptions?Ta(t):void 0,a=li.getTimeRange(t).state.value,i=li.getScopes(t),o=[...null!=(e=t.state.originFilters)?e:[],...t.state.filters],s=Nt(t),l=null==s?void 0:s.dashboardUID;try{const e=await n.getRecommendedDrilldowns({timeRange:a,dashboardUid:l,queries:null!=r?r:[],filters:o,scopes:i});(null==e?void 0:e.filters)&&this.setState({recommendedFilters:e.filters})}catch(e){console.error("Failed to fetch recommended drilldowns:",e)}}async _verifyRecentFiltersApplicability(e){const t=this._adHocFilter,n=t.state.useQueriesAsFilterForOptions?Ta(t):void 0,r=await t.getFiltersApplicabilityForQueries(e,null!=n?n:[]);if(!r)return void this.setState({recentFilters:e.slice(-3)});const a=new Map;r.forEach(e=>{a.set(e.key,!1!==e.applicable)});const i=e.filter(e=>{const t=a.get(e.key);return void 0===t||!0===t}).slice(-3);this.setState({recentFilters:i})}storeRecentFilter(e){const t=this._getStorageKey(),n=a.store.get(t),r=[...n?JSON.parse(n):[],e].slice(-10);a.store.set(t,JSON.stringify(r));const i=this._adHocFilter.state.filters.find(t=>t.key===e.key&&!Boolean(t.nonApplicable));i&&!Boolean(i.nonApplicable)&&this.setState({recentFilters:r.slice(-3)})}addFilterToParent(e){this._adHocFilter.updateFilters([...this._adHocFilter.state.filters,e])}}Pr.Component=function({model:e}){const{recentFilters:t,recommendedFilters:n}=e.useState(),{filters:r}=e._adHocFilter.useState(),a=null==t?void 0:t.map(t=>({label:`${t.key} ${t.operator} ${t.value}`,onClick:()=>{r.some(e=>e.key===t.key&&e.value===t.value)||e.addFilterToParent(t)}})),i=null==n?void 0:n.map(t=>({label:`${t.key} ${t.operator} ${t.value}`,onClick:()=>{r.some(e=>e.key===t.key&&e.value===t.value)||e.addFilterToParent(t)}}));return F.default.createElement(Tn,{recentDrilldowns:a,recommendedDrilldowns:i})};class Yr extends Z{constructor(e={}){super(e),this._activationHandler=()=>{const e=a.store.get(this._getStorageKey()),t=e?JSON.parse(e):[];t.length>0?this._verifyRecentGroupingsApplicability(t):this.setState({recentGrouping:[]}),this._fetchRecommendedDrilldowns();const n=li.lookupVariable(Xe,this._groupBy);let r;return n instanceof On&&this._subs.add(r=n.subscribeToState((e,t)=>{if(e.scopes!==t.scopes){const e=a.store.get(this._getStorageKey()),t=e?JSON.parse(e):[];t.length>0&&this._verifyRecentGroupingsApplicability(t),this._fetchRecommendedDrilldowns()}})),()=>{null==r||r.unsubscribe()}},this.addActivationHandler(this._activationHandler)}get _groupBy(){if(!(this.parent instanceof Cr))throw new Error("GroupByRecommendations must be a child of GroupByVariable");return this.parent}get _scopedVars(){return{__sceneObject:Mn(this._groupBy)}}_getStorageKey(){var e,t;return`grafana.grouping.recent.${null!=(t=null==(e=this._groupBy.state.datasource)?void 0:e.uid)?t:"default"}`}async _fetchRecommendedDrilldowns(){const e=await Rt(this._groupBy.state.datasource,this._scopedVars);if(!e||!e.getRecommendedDrilldowns)return;const t=Ta(this._groupBy),n=li.getTimeRange(this._groupBy).state.value,r=li.getScopes(this._groupBy),a=Array.isArray(this._groupBy.state.value)?this._groupBy.state.value.map(e=>String(e)):this._groupBy.state.value?[String(this._groupBy.state.value)]:[],i=Nt(this._groupBy),o=null==i?void 0:i.dashboardUID;try{const i=await e.getRecommendedDrilldowns({timeRange:n,dashboardUid:o,queries:t,groupByKeys:a,scopes:r});(null==i?void 0:i.groupByKeys)&&this.setState({recommendedGrouping:i.groupByKeys.map(e=>({value:e,text:e}))})}catch(e){console.error("Failed to fetch recommended drilldowns:",e)}}async _verifyRecentGroupingsApplicability(e){const t=Ta(this._groupBy),n=e.map(e=>String(e.value)),r=await this._groupBy.getGroupByApplicabilityForQueries(n,t);if(!r)return void this.setState({recentGrouping:e.slice(-3)});const a=new Map;r.forEach(e=>{a.set(e.key,!1!==e.applicable)});const i=e.filter(e=>{const t=a.get(String(e.value));return void 0===t||!0===t}).slice(-3);this.setState({recentGrouping:i})}storeRecentGrouping(e){if(0===e.length)return;const t=this._getStorageKey(),n=a.store.get(t),r=[...(n?JSON.parse(n):[]).filter(t=>!e.includes(String(t.value))),...e.map(e=>({value:e,text:e}))].slice(-10);a.store.set(t,JSON.stringify(r)),this.setState({recentGrouping:r.slice(-3)})}addValueToParent(e,t){const n=u.isArray(this._groupBy.state.value)?this._groupBy.state.value:[this._groupBy.state.value],r=u.isArray(this._groupBy.state.text)?this._groupBy.state.text.map(String):[String(this._groupBy.state.text)];n.includes(e)||this._groupBy.changeValueTo([...n.filter(e=>""!==e),e],[...r.filter(e=>""!==e),null!=t?t:String(e)],!0)}}Yr.Component=function({model:e}){const{recentGrouping:t,recommendedGrouping:n}=e.useState(),r=null==t?void 0:t.map(t=>({label:`${t.value}`,onClick:()=>{var n;e.addValueToParent(t.value,null!=(n=t.text)?n:String(t.value))}})),a=null==n?void 0:n.map(t=>({label:`${t.value}`,onClick:()=>{var n;e.addValueToParent(t.value,null!=(n=t.text)?n:String(t.value))}}));return F.default.createElement(Tn,{recentDrilldowns:r,recommendedDrilldowns:a})};class Cr extends gt{constructor(e){var t;const n=null!=(t=e.$behaviors)?t:[],r=e.drilldownRecommendationsEnabled?new Yr:void 0;r&&n.push(r),super({isMulti:!0,name:"",value:[],text:[],options:[],datasource:null,baseFilters:[],applyMode:"auto",layout:"horizontal",type:"groupby",...e,noValueOnClear:!0,$behaviors:n.length>0?n:void 0}),this.isLazy=!0,this._urlSync=new mn(this),this._scopedVars={__sceneObject:Mn(this)},this._activationHandler=()=>(this._verifyApplicability(),this.state.defaultValue&&this.checkIfRestorable(this.state.value)&&this.setState({restorable:!0}),()=>{this.state.defaultValue&&this.restoreDefaultValues(),this.setState({applicabilityEnabled:!1})}),this._getKeys=async e=>{var t,n,r;const a=await(null==(n=(t=this.state).getTagKeysProvider)?void 0:n.call(t,this,null));if(a&&a.replace)return a.values;if(this.state.defaultOptions)return this.state.defaultOptions.concat(Aa(null!=(r=null==a?void 0:a.values)?r:[]));if(!e.getTagKeys)return[];const i=Ta(this),o=this.state.baseFilters||[],s=li.getTimeRange(this).state.value,l=await e.getTagKeys({filters:o,queries:i,timeRange:s,scopes:li.getScopes(this),...vn(this)});Ra(l)&&this.setState({error:l.error.message});let u=Aa(l);a&&(u=u.concat(Aa(a.values)));const c=this.state.tagKeyRegexFilter;return c&&(u=u.filter(e=>e.text.match(c))),u},this._recommendations=r,this.state.defaultValue&&this.changeValueTo(this.state.defaultValue.value,this.state.defaultValue.text,!1),"auto"===this.state.applyMode&&this.addActivationHandler(()=>(zt.add(this),()=>zt.delete(this))),this.addActivationHandler(this._activationHandler)}validateAndUpdate(){return this.getValueOptions({}).pipe(s.map(e=>(this._updateValueGivenNewOptions(e),{})))}_updateValueGivenNewOptions(e){const{value:t,text:n}=this.state,r={options:e,loading:!1,value:null!=t?t:[],text:null!=n?n:[]};this.setState(r)}getValueOptions(e){return this.state.defaultOptions?s.of(this.state.defaultOptions.map(e=>({label:e.text,value:String(e.value),group:e.group}))):(this.setState({loading:!0,error:null}),s.from(Rt(this.state.datasource,this._scopedVars)).pipe(s.mergeMap(e=>s.from(this._getKeys(e)).pipe(s.tap(e=>{Ra(e)&&this.setState({error:e.error.message})}),s.map(e=>Aa(e)),s.take(1),s.mergeMap(e=>{const t=e.map(e=>({label:e.text,value:e.value?String(e.value):e.text,group:e.group}));return s.of(t)})))))}getRecommendations(){return this._recommendations}getApplicableKeys(){const{value:e,keysApplicability:t}=this.state,n=u.isArray(e)?e.map(String):e?[String(e)]:[];if(!t||0===t.length)return n;return n.filter(e=>{const n=t.find(t=>t.key===e);return!n||!1!==n.applicable})}async getGroupByApplicabilityForQueries(e,t){const n=await Rt(this.state.datasource,this._scopedVars);if(!n.getDrilldownsApplicability)return;const r=li.getTimeRange(this).state.value;return await n.getDrilldownsApplicability({groupByKeys:Array.isArray(e)?e.map(e=>String(e)):e?[String(e)]:[],queries:t,timeRange:r,scopes:li.getScopes(this),...vn(this)})}async _verifyApplicability(){const e=Ta(this),t=this.state.value,n=await this.getGroupByApplicabilityForQueries(t,e);n&&(u.isEqual(n,this.state.keysApplicability)?this.setState({applicabilityEnabled:!0}):(this.setState({keysApplicability:null!=n?n:void 0,applicabilityEnabled:!0}),this.publishEvent(new Ve(this),!0)))}checkIfRestorable(e){var t,n,r,a;const i=u.isArray(null==(t=this.state.defaultValue)?void 0:t.value)?null==(n=this.state.defaultValue)?void 0:n.value:(null==(r=this.state.defaultValue)?void 0:r.value)?[null==(a=this.state.defaultValue)?void 0:a.value]:[],o=u.isArray(e)?e:[e];return o.length!==i.length||!u.isEqual(o,i)}restoreDefaultValues(){this.setState({restorable:!1}),this.state.defaultValue&&this.changeValueTo(this.state.defaultValue.value,this.state.defaultValue.text,!0)}async _verifyApplicabilityAndStoreRecentGrouping(){if(await this._verifyApplicability(),!this._recommendations)return;const e=this.getApplicableKeys();0!==e.length&&this._recommendations.storeRecentGrouping(e)}getDefaultMultiState(e){return{value:[],text:[]}}}Cr.Component=function({model:e}){var t,n;const{value:r,text:a,key:i,isMulti:l=!0,maxVisibleValues:c,noValueOnClear:p,options:m,includeAll:g,allowCustomValue:v=!0,defaultValue:y,keysApplicability:b,drilldownRecommendationsEnabled:_}=e.useState(),w=e.getRecommendations(),M=f.useStyles2(Fr),S=o.useMemo(()=>{const e=u.isArray(r)?r:[r],t=u.isArray(a)?a:[a];return e.map((e,n)=>{var r;return{value:e,label:String(null!=(r=t[n])?r:e)}})},[r,a]),[k,L]=o.useState(!1),[x,D]=o.useState(!1),[T,E]=o.useState(""),[O,P]=o.useState(S),Y=o.useMemo(()=>on(m,g),[m,g]),C=void 0!==y;o.useEffect(()=>{P(S)},[S]);const A=(t,{action:n})=>"input-change"===n?(E(t),e.onSearchChange&&e.onSearchChange(t),t):"input-blur"===n?(E(""),""):T,R=o.useMemo(()=>ja(Y(T).map(Ir)),[Y,T]),j=e=>F.default.createElement("div",{className:M.selectWrapper},e),I=l?F.default.createElement(Ar,{condition:null!=(t=e.state.wideInput)&&t,wrapper:j},F.default.createElement(f.MultiSelect,{"aria-label":d.t("grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector","Group by selector"),"data-testid":`GroupBySelect-${i}`,id:i,placeholder:d.t("grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label","Group by label"),width:"auto",className:h.cx(_&&M.selectStylesInWrapper),allowCustomValue:v,inputValue:T,value:O,noMultiValueWrap:!0,maxVisibleValues:null!=c?c:5,tabSelectsValue:!1,virtualized:!0,options:R,filterOption:Rr,closeMenuOnSelect:!1,isOpen:x,isClearable:!0,hideSelectedOptions:!1,isLoading:k,components:{Option:fn,Menu:jr,...C?{IndicatorsContainer:()=>F.default.createElement(Sn,{model:e})}:{},MultiValueContainer:({innerProps:e,children:t})=>F.default.createElement(Ln,{innerProps:e,keysApplicability:b},t)},onInputChange:A,onBlur:()=>{e.changeValueTo(O.map(e=>e.value),O.map(e=>e.label),!0);const t=e.checkIfRestorable(O.map(e=>e.value));t!==e.state.restorable&&e.setState({restorable:t}),e._verifyApplicabilityAndStoreRecentGrouping()},onChange:(t,n)=>{"clear"===n.action&&p&&e.changeValueTo([],void 0,!0),P(t),E("")},onOpenMenu:async()=>{const t=Dn(e);null==t||t.startInteraction(Re),L(!0),await s.lastValueFrom(e.validateAndUpdate()),L(!1),D(!0),null==t||t.stopInteraction()},onCloseMenu:()=>{D(!1)}})):F.default.createElement(Ar,{condition:null!=(n=e.state.wideInput)&&n,wrapper:j},F.default.createElement(f.Select,{"aria-label":d.t("grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector","Group by selector"),"data-testid":`GroupBySelect-${i}`,id:i,placeholder:d.t("grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label","Group by label"),width:"auto",inputValue:T,value:O&&O.length>0?O:null,allowCustomValue:v,noMultiValueWrap:!0,maxVisibleValues:null!=c?c:5,tabSelectsValue:!1,virtualized:!0,options:R,filterOption:Rr,closeMenuOnSelect:!0,isOpen:x,isClearable:!0,hideSelectedOptions:!1,noValueOnClear:!0,isLoading:k,components:{Menu:jr},onInputChange:A,onChange:(t,n)=>{if("clear"===n.action)return P([]),void(p&&e.changeValueTo([]));(null==t?void 0:t.value)&&(P([t]),e.changeValueTo([t.value],t.label?[t.label]:void 0))},onOpenMenu:async()=>{const t=Dn(e);null==t||t.startInteraction(Re),L(!0),await s.lastValueFrom(e.validateAndUpdate()),L(!1),D(!0),null==t||t.stopInteraction()},onCloseMenu:()=>{D(!1)}}));if(!w)return I;return F.default.createElement("div",{className:M.wrapper},F.default.createElement("div",{className:M.recommendations},F.default.createElement(w.Component,{model:w})),I)};const Ar=({condition:e,wrapper:t,children:n})=>e?t(n):F.default.createElement(F.default.Fragment,null,n),Rr=()=>!0;function jr(e){return F.default.createElement(en.Menu,{...e},F.default.createElement("div",{style:{minWidth:"220px"}},e.children))}function Ir(e){const{label:t,value:n,group:r}=e,a={label:t,value:n};return r&&(a.group=r),a}const Fr=e=>({selectWrapper:h.css({display:"flex",minWidth:0,width:"100%"}),fullWidthMultiSelect:h.css({width:"100%","& [data-testid]":{gridAutoColumns:"max-content",justifyItems:"start"}}),wrapper:h.css({display:"flex"}),selectStylesInWrapper:h.css({borderTopLeftRadius:0,borderBottomLeftRadius:0,border:`1px solid ${e.colors.border.strong}`,borderLeft:"none"}),recommendations:h.css({display:"flex",alignItems:"center",paddingInline:e.spacing(.5),borderTop:`1px solid ${e.colors.border.strong}`,borderBottom:`1px solid ${e.colors.border.strong}`,backgroundColor:e.components.input.background,"& button":{borderRadius:0,height:"100%",margin:0,paddingInline:e.spacing(.5)}})});function Hr({data:e,showAll:t,seriesLimit:n,onShowAllSeries:r}){const a=f.useStyles2(Nr),i=null==e?void 0:e.series.length;if(void 0===i||i({timeSeriesDisclaimer:h.css({label:"time-series-disclaimer",display:"flex",alignItems:"center",gap:e.spacing(1)}),warningMessage:h.css({display:"flex",alignItems:"center",gap:e.spacing(.5),color:e.colors.warning.main,fontSize:e.typography.bodySmall.fontSize})});function zr(){const e=o.useRef(void 0);return null!=e.current||(e.current=u.uniqueId()),e.current}const Vr=F.default.forwardRef(({children:e,onLoad:t,onChange:n,className:r,...a},i)=>{const s=zr(),{hideEmpty:l}=f.useStyles2(Wr),[u,c]=o.useState(!1),[p,h]=o.useState(!1),m=o.useRef(null);return o.useImperativeHandle(i,()=>m.current),g.useEffectOnce(()=>{Vr.addCallback(s,e=>{!u&&e.isIntersecting&&(c(!0),null==t||t()),h(e.isIntersecting),null==n||n(e.isIntersecting)});const e=m.current;return e&&Vr.observer.observe(e),()=>{e&&Vr.observer.unobserve(e),delete Vr.callbacks[s],0===Object.keys(Vr.callbacks).length&&Vr.observer.disconnect()}}),F.default.createElement("div",{id:s,ref:m,className:`${l} ${r}`,...a},u?F.default.createElement($r.Provider,{value:p},e):d.t("grafana-scenes.components.lazy-loader.placeholder"," "))});function Wr(){return{hideEmpty:h.css({"&:empty":{display:"none"}})}}Vr.displayName="LazyLoader",Vr.callbacks={},Vr.addCallback=(e,t)=>Vr.callbacks[e]=t,Vr.observer=new IntersectionObserver(e=>{for(const t of e)"function"==typeof Vr.callbacks[t.target.id]&&Vr.callbacks[t.target.id](t)},{rootMargin:"100px"});const $r=F.default.createContext(!0);function Ur(e,t){if(t)return t;let n=e.error?e.error.message:void 0;return e.errors&&(n=e.errors.map(e=>e.message).join(", ")),n}const Br=h.css({position:"relative",width:"100%",height:"100%"}),qr=h.css({position:"absolute",width:"100%",height:"100%"}),Gr=e=>({ok:h.css({color:e.colors.success.text}),pending:h.css({color:e.colors.warning.text}),alerting:h.css({color:e.colors.error.text})}),Kr="hideSeriesFrom",Jr=a.isSystemOverrideWithRef(Kr);function Qr(e,t=a.ByNamesMatcherMode.exclude,n){return n=null!=n?n:{id:"custom.hideFrom",value:{viz:!0,legend:!1,tooltip:!0}},{__systemRef:Kr,matcher:{id:a.FieldMatcherID.byNames,options:{mode:t,names:e,prefix:t===a.ByNamesMatcherMode.exclude?"All except:":void 0,readOnly:!0}},properties:[{...n,value:{viz:!0,legend:!1,tooltip:!0}}]}}const Zr=(e,t,n=a.ByNamesMatcherMode.exclude)=>{const r=e.properties.find(e=>"custom.hideFrom"===e.id),i=Xr(e),o=i.findIndex(e=>e===t);return o<0?i.push(t):i.splice(o,1),Qr(i,n,r)},Xr=e=>{var t;const n=null==(t=e.matcher.options)?void 0:t.names;return Array.isArray(n)?[...n]:[]},ea=(e,t)=>Xr(e).length===ta(t).length,ta=(e,t)=>{const n=new Set;for(const r of e)for(const i of r.fields){if(i.type!==a.FieldType.number)continue;const o=a.getFieldDisplayName(i,r,e);o!==t&&n.add(o)}return Array.from(n)},na=(e,t)=>{var n;let r=[];for(const i of e){const e=i.properties.find(e=>"custom.hideFrom"===e.id);if(void 0!==e&&!0===(null==(n=e.value)?void 0:n.legend)){const e=a.fieldMatchers.get(i.matcher.id).get(i.matcher.options);for(const n of t)for(const i of n.fields){if(i.type!==a.FieldType.number)continue;const o=a.getFieldDisplayName(i,n,t);e(i,n,t)&&r.push(o)}}}return r},ra=(e,t)=>({matcher:{id:a.FieldMatcherID.byName,options:e},properties:[aa(t)]}),aa=e=>({id:"color",value:{mode:a.FieldColorModeId.Fixed,fixedColor:e}});class ia extends Z{constructor(e){super({...e,sync:e.sync||c.DashboardCursorSync.Off}),this.getEventsBus=e=>{if(!this.parent)throw new Error("EnableCursorSync cannot be used as a standalone scene object");return new oa(this.parent,e)}}getEventsScope(){if(!this.parent)throw new Error("EnableCursorSync cannot be used as a standalone scene object");return this.state.key}}class oa{constructor(e,t){this._source=e,this._eventsOrigin=t}publish(e){e.origin=this,this._eventsOrigin.publishEvent(e,!0)}getStream(e){return new s.Observable(t=>{const n=this._source.subscribeToEvent(e,e=>{t.next(e)});return()=>n.unsubscribe()})}subscribe(e,t){return this.getStream(e).pipe().subscribe(t)}removeAllListeners(){}newScopedBus(e,t){throw new Error("For internal use only")}}const sa=class e extends Z{constructor({enabled:e=!1}){super({enabled:e}),this.timerId=void 0,this._activationHandler=()=>(this.state.enabled&&this.enable(),()=>{window.clearInterval(this.timerId),this.timerId=void 0}),this.addActivationHandler(this._activationHandler)}enable(){window.clearInterval(this.timerId),this.timerId=void 0,this.timerId=window.setInterval(()=>{const e=li.findAllObjects(this.getRoot(),e=>e instanceof ha);for(const t of e)t.forceRender()},e.REFRESH_RATE),this.setState({enabled:!0})}disable(){window.clearInterval(this.timerId),this.timerId=void 0,this.setState({enabled:!1})}get isEnabled(){return this.state.enabled}};sa.REFRESH_RATE=100;let la=sa;class ua extends Z{constructor(e={}){super({...e}),this._isTracking=!1,this._activeQueries=new Map,this.addActivationHandler(()=>this._onActivate())}_onActivate(){var e,t;let n;try{n=li.getAncestor(this,ha)}catch(e){return void pe(0,0)}if(!n)return void pe();if(!n.state.key)return void pe();this._panelKey=n.state.key,this._panelId=String(n.getLegacyPanelId()),this._pluginId=n.state.pluginId;const r=n.getPlugin();return this._pluginVersion=null==(t=null==(e=null==r?void 0:r.meta)?void 0:e.info)?void 0:t.version,this._subs.add(n.subscribeToState((e,t)=>{this._handlePanelStateChange(n,e,t)})),()=>{this._cleanup()}}_handlePanelStateChange(e,t,n){t.pluginId!==n.pluginId&&this._onPluginChange(e,t.pluginId)}onQueryStarted(e,t,n){if(!this._panelKey)return null;this._activeQueries.set(n,{entry:t,startTime:e});const r=Et("query");return Yt().notifyPanelOperationStart({operationId:r,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,pluginVersion:this._pluginVersion,operation:"query",timestamp:e,metadata:{queryId:n,queryType:t.type}}),(e,a)=>{if(!this._panelKey)return;const i=this._activeQueries.get(n);if(!i)return;const o=e-i.startTime;this._activeQueries.delete(n),Yt().notifyPanelOperationComplete({operationId:r,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,pluginVersion:this._pluginVersion,operation:"query",timestamp:e,duration:o,metadata:{queryId:n,queryType:t.type},error:a?(null==a?void 0:a.message)||String(a)||"Unknown error":void 0})}}onPluginLoadStart(e){if(!this._panelKey){let t;try{t=li.getAncestor(this,ha)}catch(e){return null}t&&!this._panelKey&&t.state.key&&(this._panelKey=t.state.key,this._panelId=String(t.getLegacyPanelId()),this._pluginId=e)}if(!this._panelKey)return null;this._isTracking||this._startTracking(),this._loadPluginStartTime=performance.now();const t=Et("pluginLoad");return Yt().notifyPanelOperationStart({operationId:t,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"plugin-load",timestamp:this._loadPluginStartTime,metadata:{pluginId:e}}),(e,n=!1)=>{if(!this._panelKey||!this._loadPluginStartTime)return;const r=performance.now()-this._loadPluginStartTime;Yt().notifyPanelOperationComplete({operationId:t,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"plugin-load",timestamp:performance.now(),duration:r,metadata:{pluginId:this._pluginId,fromCache:n,pluginLoadTime:r}}),this._loadPluginStartTime=void 0}}onFieldConfigStart(e){if(!this._panelKey)return null;this._applyFieldConfigStartTime=e;const t=Et("fieldConfig");return Yt().notifyPanelOperationStart({operationId:t,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"fieldConfig",timestamp:this._applyFieldConfigStartTime,metadata:{}}),(e,n,r)=>{if(!this._panelKey||!this._applyFieldConfigStartTime)return;const a=e-this._applyFieldConfigStartTime;Yt().notifyPanelOperationComplete({operationId:t,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"fieldConfig",timestamp:e,duration:a,metadata:{}}),this._applyFieldConfigStartTime=void 0}}_getPanelInfo(){let e;try{e=li.getAncestor(this,ha)}catch(e){}let t=(null==e?void 0:e.state.title)||this._panelKey||"No-key panel";return t.length>30&&(t=t.substring(0,27)+"..."),`VizPanelRenderProfiler [${t}]`}onSimpleRenderStart(e){if(!this._panelKey)return;const t=Et("render");return Yt().notifyPanelOperationStart({operationId:t,panelId:this._panelId||"unknown",panelKey:this._panelKey,pluginId:this._pluginId||"unknown",pluginVersion:this._pluginVersion,operation:"render",timestamp:e,metadata:{}}),(e,n)=>{this._panelKey&&Yt().notifyPanelOperationComplete({operationId:t,panelId:this._panelId||"unknown",panelKey:this._panelKey,pluginId:this._pluginId||"unknown",pluginVersion:this._pluginVersion,operation:"render",duration:n,timestamp:e,metadata:{}})}}_onPluginChange(e,t){var n,r;this._pluginId=t;const a=e.getPlugin();this._pluginVersion=null==(r=null==(n=null==a?void 0:a.meta)?void 0:n.info)?void 0:r.version,pe(this._getPanelInfo())}_startTracking(){this._panelKey&&this._pluginId&&!this._isTracking&&(this._isTracking=!0)}_cleanup(){this._activeQueries.clear(),this._isTracking=!1,pe(this._getPanelInfo())}onDataTransformStart(e,t,n){if(!this._panelKey)return null;const r=Et("transform");return Yt().notifyPanelOperationStart({operationId:r,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"transform",timestamp:e,metadata:{transformationId:t,transformationCount:n.transformationCount,seriesTransformationCount:n.seriesTransformationCount,annotationTransformationCount:n.annotationTransformationCount}}),(e,a,i,o)=>{this._panelKey&&Yt().notifyPanelOperationComplete({operationId:r,panelId:this._panelId,panelKey:this._panelKey,pluginId:this._pluginId,operation:"transform",timestamp:e,duration:a,metadata:{transformationId:t,transformationCount:n.transformationCount,seriesTransformationCount:n.seriesTransformationCount,annotationTransformationCount:n.annotationTransformationCount,success:i,error:(null==o?void 0:o.error)||(i?void 0:"Transform operation failed")}})}}}class ca{constructor(){this._resultsMap=new Map,this._prevLayers=[]}getMergedStream(e){(function(e,t){if(e.length!==t.length)return!0;for(let n=0;ne.getResultsStream()),n=[];for(const t of e)n.push(t.activate());return s.merge(t).pipe(s.mergeAll(),s.filter(e=>this._resultsMap.get(e.origin.state.key)!==e),s.map(e=>(this._resultsMap.set(e.origin.state.key,e),this._resultsMap.values())),s.finalize(()=>{n.forEach(e=>e())}))}}class da extends Z{constructor(){super(...arguments),this.isDataLayer=!0,this._results=new s.ReplaySubject(1),this._dataLayersMerger=new ca}subscribeToAllLayers(e){e.length>0?this.querySub=this._dataLayersMerger.getMergedStream(e).subscribe(this._onLayerUpdateReceived.bind(this)):(this._results.next({origin:this,data:Se}),this.setStateHelper({data:Se}))}_onLayerUpdateReceived(e){var t;let n=[];for(const r of e)(null==(t=r.data)?void 0:t.series)&&(n=n.concat(r.data.series));const r={...Se,series:n};this._results.next({origin:this,data:r}),this.setStateHelper({data:r})}getResultsStream(){return this._results}cancelQuery(){var e;null==(e=this.querySub)||e.unsubscribe()}setStateHelper(e){ft(this,e)}}class fa extends da{constructor(e){var t,n;super({name:null!=(t=e.name)?t:"Data layers",layers:null!=(n=e.layers)?n:[]}),this.addActivationHandler(()=>this._onActivate())}_onActivate(){return this._subs.add(this.subscribeToState((e,t)=>{var n;e.layers!==t.layers&&(null==(n=this.querySub)||n.unsubscribe(),this.subscribeToAllLayers(e.layers))})),this.subscribeToAllLayers(this.state.layers),()=>{var e;null==(e=this.querySub)||e.unsubscribe()}}}fa.Component=({model:e})=>{const{layers:t}=e.useState();return F.default.createElement(F.default.Fragment,null,t.map(e=>F.default.createElement(e.Component,{model:e,key:e.state.key})))};class pa extends Z{constructor(e){super(e),this._results=new s.ReplaySubject(1),this._variableDependency=new Ha(this,{statePaths:["transformations"],onReferencedVariableValueChanged:()=>this.reprocessTransformations()}),this.addActivationHandler(()=>this.activationHandler())}activationHandler(){const e=this.getSourceData();return this._subs.add(e.subscribeToState(e=>this.transform(e.data))),e.state.data&&this.transform(e.state.data),()=>{this._transformSub&&this._transformSub.unsubscribe()}}getSourceData(){if(this.state.$data){if(this.state.$data instanceof fa)throw new Error("SceneDataLayerSet can not be used as data provider for SceneDataTransformer.");return this.state.$data}if(!this.parent||!this.parent.parent)throw new Error("SceneDataTransformer must either have $data set on it or have a parent.parent with $data");return li.getData(this.parent.parent)}setContainerWidth(e){this.state.$data&&this.state.$data.setContainerWidth&&this.state.$data.setContainerWidth(e)}isDataReadyToDisplay(){const e=this.getSourceData();return!e.isDataReadyToDisplay||e.isDataReadyToDisplay()}reprocessTransformations(){this.transform(this.getSourceData().state.data,!0)}_calculateTransformationMetrics(e,t){return{transformationCount:t.length,seriesTransformationCount:t.filter(e=>!("options"in e)&&!("topic"in e)||(null==e.topic||e.topic===a.DataTopic.Series)).length,annotationTransformationCount:t.filter(e=>("options"in e||"topic"in e)&&e.topic===a.DataTopic.Annotations).length}}cancelQuery(){var e,t;null==(t=(e=this.getSourceData()).cancelQuery)||t.call(e)}getResultsStream(){return this._results}clone(e){const t=super.clone(e);return this._prevDataFromSource&&(t._prevDataFromSource=this._prevDataFromSource),t}isInViewChanged(e){var t,n;null==(n=null==(t=this.state.$data)?void 0:t.isInViewChanged)||n.call(t,e)}bypassIsInViewChanged(e){var t,n;null==(n=null==(t=this.state.$data)?void 0:t.bypassIsInViewChanged)||n.call(t,e)}haveAlreadyTransformedData(e){if(!this._prevDataFromSource)return!1;if(e===this._prevDataFromSource)return!0;const{series:t,annotations:n}=this._prevDataFromSource;return e.series===t&&e.annotations===n&&(this.state.data&&e.state!==this.state.data.state&&this.setState({data:{...this.state.data,state:e.state}}),!0)}transform(e,t=!1){var n;const r=performance.now(),o=ma(this),l=performance.now();let u,c=null;if(0===this.state.transformations.length||!e)return this._prevDataFromSource=e,this.setState({data:e}),void(e&&this._results.next({origin:this,data:e}));if(!t&&this.haveAlreadyTransformedData(e))return;if(o){const t=this.state.transformations.map(e=>"id"in e?e.id:"customTransformation").join("+");u=t||"no-transforms";const n=this._calculateTransformationMetrics(e,this.state.transformations);c=o.onDataTransformStart(r,u,n)}const d=this._interpolateVariablesInTransformationConfigs(e),f=this._filterAndPrepareTransformationsByTopic(d,e=>!("options"in e)&&!("topic"in e)||(null==e.topic||e.topic===a.DataTopic.Series)),p=this._filterAndPrepareTransformationsByTopic(d,e=>("options"in e||"topic"in e)&&e.topic===a.DataTopic.Annotations);this._transformSub&&this._transformSub.unsubscribe();const h={interpolate:(t,n)=>{var r;return li.interpolate(this,t,{...null==(r=e.request)?void 0:r.scopedVars,...n})}},m=a.transformDataFrame(f,e.series,h),g=a.transformDataFrame(p,null!=(n=e.annotations)?n:[]);let v=[],y=[];this._transformSub=s.forkJoin([m,g]).pipe(s.map(t=>(t.forEach(e=>{var t;for(const n of e)(null==(t=n.meta)?void 0:t.dataTopic)===a.DataTopic.Annotations?y.push(n):v.push(n)}),{...e,series:v,annotations:y})),s.catchError(t=>{var n;const r=performance.now();c&&c(r,r-l,!1,{error:t.message||t}),console.error("Error transforming data: ",t);const o=(null==(n=this.getSourceData().state.data)?void 0:n.errors)||[],u=i.toDataQueryError(t);u.message=`Error transforming data: ${u.message}`;const d={...e,state:a.LoadingState.Error,errors:[...o,u]};return s.of(d)})).subscribe(t=>{var n;const r=performance.now();c&&c(r,r-l,!0,{outputSeriesCount:t.series.length,outputAnnotationsCount:(null==(n=t.annotations)?void 0:n.length)||0}),this.setState({data:t}),this._results.next({origin:this,data:t}),this._prevDataFromSource=e})}_interpolateVariablesInTransformationConfigs(e){var t;const n=this.state.transformations;if(0===this._variableDependency.getNames().size)return n;const r=n.every(e=>"object"==typeof e);return r?JSON.parse(li.interpolate(this,JSON.stringify(n),null==(t=e.request)?void 0:t.scopedVars)):n.map(t=>{var n;return"object"==typeof t?JSON.parse(li.interpolate(this,JSON.stringify(t),null==(n=e.request)?void 0:n.scopedVars)):t})}_filterAndPrepareTransformationsByTopic(e,t){return e.filter(t).map(e=>"operator"in e?e.operator:e)}}class ha extends Z{constructor(e){var t;super({options:{},fieldConfig:{defaults:{},overrides:[]},title:d.t("grafana-scenes.components.viz-panel.title.title","Title"),pluginId:"timeseries",_renderCounter:0,...e}),this._variableDependency=new Ha(this,{statePaths:["title","options","fieldConfig"]}),this._structureRev=0,this.onTimeRangeChange=e=>{li.getTimeRange(this).onTimeRangeChange({raw:{from:a.toUtc(e.from),to:a.toUtc(e.to)},from:a.toUtc(e.from),to:a.toUtc(e.to)})},this.getTimeRange=e=>{const t=li.findObject(this,e=>e instanceof la),n=li.getTimeRange(this);if(t instanceof la&&t.isEnabled)return Te(n.state.from,n.state.to,n.getTimeZone(),n.state.fiscalYearStartMonth,n.state.UNSAFE_nowDelay,n.state.weekStart);const r=this.getPlugin();return r&&!r.meta.skipDataQuery&&e&&e.timeRange?e.timeRange:n.state.value},this.onTitleChange=e=>{this.setState({title:e})},this.onDescriptionChange=e=>{this.setState({description:e})},this.onDisplayModeChange=e=>{this.setState({displayMode:e})},this.onToggleCollapse=e=>{this.setState({collapsed:e})},this.onOptionsChange=(e,t=!1,n=!1)=>{var r;const{fieldConfig:i,options:o}=this.state,s=t?e:u.mergeWith(u.cloneDeep(o),e,(e,t,n,r)=>{if(u.isArray(t))return t;e===t||void 0!==t||(r[n]=t)}),l=a.getPanelOptionsWithDefaults({plugin:this._plugin,currentOptions:s,currentFieldConfig:i,isAfterPluginChange:n});this.setState({options:l.options,_renderCounter:(null!=(r=this.state._renderCounter)?r:0)+1})},this.onFieldConfigChange=(e,t)=>{const{fieldConfig:n,options:r}=this.state,i=t?e:u.merge(u.cloneDeep(n),e),o=a.getPanelOptionsWithDefaults({plugin:this._plugin,currentOptions:r,currentFieldConfig:i,isAfterPluginChange:!1});this._dataWithFieldConfig=void 0,this.setState({fieldConfig:o.fieldConfig})},this.interpolate=(e,t,n)=>li.interpolate(this,e,t,n),this.getDescription=()=>{this.publishEvent(new q({origin:this,interaction:"panel-description-shown"}),!0);const{description:e}=this.state;if(e){const t=this.interpolate(e);return a.renderMarkdown(t)}return""},this.onCancelQuery=()=>{var e;this.publishEvent(new q({origin:this,interaction:"panel-cancel-query-clicked"}),!0);const t=li.getData(this);null==(e=t.cancelQuery)||e.call(t)},this.onStatusMessageClick=()=>{this.publishEvent(new q({origin:this,interaction:"panel-status-message-clicked"}),!0)},this._onSeriesColorChange=(e,t)=>{this.onFieldConfigChange(((e,t,n)=>{const{overrides:r}=n,i=n.overrides.findIndex(t=>t.matcher.id===a.FieldMatcherID.byName&&t.matcher.options===e);if(i<0)return{...n,overrides:[...n.overrides,ra(e,t)]};const o=Array.from(r),s=o[i],l=s.properties.findIndex(e=>"color"===e.id);if(l<0)return o[i]={...s,properties:[...s.properties,aa(t)]},{...n,overrides:o};const u=Array.from(s.properties);return u[l]=aa(t),o[i]={...s,properties:u},{...n,overrides:o}})(e,t,this.state.fieldConfig))},this._onSeriesVisibilityChange=(e,t)=>{this._dataWithFieldConfig&&this.onFieldConfigChange(function(e,t,n,r){const{overrides:a}=n,i=e,o=a.findIndex(Jr);if(o<0){if(t===f.SeriesVisibilityChangeMode.ToggleSelection){const e=Qr([i,...na(a,r)]);return{...n,overrides:[...n.overrides,e]}}const e=Qr(ta(r,i));return{...n,overrides:[...n.overrides,e]}}const s=Array.from(a),[l]=s.splice(o,1);if(t===f.SeriesVisibilityChangeMode.ToggleSelection){let e=Xr(l);const t=na(s,r);if(t.length>0&&(e=e.filter(e=>t.indexOf(e)<0)),e[0]===i&&1===e.length)return{...n,overrides:s};const a=Qr([i,...t]);return{...n,overrides:[...s,a]}}const u=Zr(l,i);return ea(u,r)?{...n,overrides:s}:{...n,overrides:[...s,u]}}(e,t,this.state.fieldConfig,this._dataWithFieldConfig.series),!0)},this._onInstanceStateChange=e=>{this._panelContext&&(this._panelContext={...this._panelContext,instanceState:e}),this.setState({_pluginInstanceState:e})},this._onToggleLegendSort=e=>{const t=this.state.options.legend;if(!t)return;let n=t.sortDesc,r=t.sortBy;e!==r&&(n=void 0),!1===n?(r=void 0,n=void 0):(n=!n,r=e),this.onOptionsChange({...this.state.options,legend:{...t,sortBy:r,sortDesc:n}},!0)},this.addActivationHandler(()=>{this._onActivate()}),null==(t=e.menu)||t.addActivationHandler(()=>{this.publishEvent(new q({origin:this,interaction:"panel-menu-shown"}),!0)})}getProfiler(){if(this.state.$behaviors)for(const e of this.state.$behaviors)if(e instanceof ua)return e}_onActivate(){this._plugin||this._loadPlugin(this.state.pluginId)}forceRender(){var e;this.setState({_renderCounter:(null!=(e=this.state._renderCounter)?e:0)+1})}async _loadPlugin(e,t,n,r){const o=this.getProfiler(),s=function(e){var t;const{getPanelPluginFromCache:n}=i.getPluginImportUtils();return null!=(t=n(e))?t:W.get(e)}(e);if(s){const a=null==o?void 0:o.onPluginLoadStart(e);null==a||a(s,!0),this._pluginLoaded(s,t,n,r)}else{const{importPanelPlugin:s}=i.getPluginImportUtils();try{const a=null==o?void 0:o.onPluginLoadStart(e),i=s(e),l=li.getQueryController(this);l&&l.state.enableProfiling&&At(i).pipe(Ct({type:`VizPanel/loadPlugin/${e}`,origin:this})).subscribe(()=>{});const u=await i;null==a||a(u,!1),this._pluginLoaded(u,t,n,r)}catch(t){this._pluginLoaded(function(e){const t=new a.PanelPlugin(()=>null);return t.meta={id:e,name:e,sort:100,type:a.PluginType.panel,module:"",baseUrl:"",info:{author:{name:""},description:"",links:[],logos:{large:"",small:"public/img/grafana_icon.svg"},screenshots:[],updated:"",version:""}},t}(e)),t instanceof Error&&this.setState({_pluginLoadError:t.message})}}}getLegacyPanelId(){var e,t;const n=null!=(t=null==(e=this.state.key)?void 0:e.split("/"))?t:[];if(0===n.length)return 0;const r=n[n.length-1],a=parseInt(r.replace("panel-",""),10);return isNaN(a)?0:a}getPathId(){return fi(this)}async _pluginLoaded(e,t,n,r){var i;const{options:o,fieldConfig:s,title:l,pluginVersion:u,_UNSAFE_customMigrationHandler:c}=this.state,d={title:l,options:o,fieldConfig:s,id:this.getLegacyPanelId(),type:e.meta.id,pluginVersion:u};t&&(d.options=t),n&&(d.fieldConfig=n);const f=this._getPluginVersion(e);null==c||c(d,e);const p=f!==u||(null==(i=e.shouldMigrate)?void 0:i.call(e,d));e.onPanelMigration&&p&&!r&&(d.options=await e.onPanelMigration(d));let h=this.state.$data;d.transformations&&h&&(h instanceof pa?h.setState({transformations:d.transformations}):h instanceof ba&&(h.clearParent(),h=new pa({transformations:d.transformations,$data:h})));const m=a.getPanelOptionsWithDefaults({plugin:e,currentOptions:d.options,currentFieldConfig:d.fieldConfig,isAfterPluginChange:null!=r&&r});if(this._plugin=e,this.setState({$data:h,options:m.options,fieldConfig:m.fieldConfig,pluginVersion:f,pluginId:e.meta.id}),e.meta.skipDataQuery){const e=li.getTimeRange(this);this._subs.add(e.subscribeToState(()=>this.forceRender()))}}_getPluginVersion(e){return e&&e.meta.info.version?e.meta.info.version:i.config.buildInfo.version}getPlugin(){return this._plugin}getPanelContext(){return null!=this._panelContext||(this._panelContext=this.buildPanelContext()),this._panelContext}async changePluginType(e,t,n){var r,a;const{options:i,fieldConfig:o,pluginId:s}=this.state;this._dataWithFieldConfig=void 0;const l=this.state.pluginId!==e;await this._loadPlugin(e,null!=t?t:{},n,l);const c={title:this.state.title,options:this.state.options,fieldConfig:this.state.fieldConfig,id:1,type:e},d=null==(a=null==(r=this._plugin)?void 0:r.onPanelTypeChanged)?void 0:a.call(r,c,s,i,o);d&&!u.isEmpty(d)&&this.onOptionsChange(d,!0,!0)}clearFieldConfigCache(){this._dataWithFieldConfig=void 0}applyFieldConfig(e){var t,n,r,o;const s=performance.now(),l=this._plugin,u=this.getProfiler();if(!l||l.meta.skipDataQuery||!e)return Se;if(this._prevData===e&&this._dataWithFieldConfig)return this._dataWithFieldConfig;const c=null==u?void 0:u.onFieldConfigStart(s),d=l.dataSupport||{alertStates:!1,annotations:!1},f=l.fieldConfigRegistry,p=null!=(n=null==(t=this._dataWithFieldConfig)?void 0:t.series)?n:[],h=a.applyFieldOverrides({data:e.series,fieldConfig:this.state.fieldConfig,fieldConfigRegistry:f,replaceVariables:this.interpolate,theme:i.config.theme2,timeZone:null==(r=e.request)?void 0:r.timezone});return a.compareArrayValues(h,p,a.compareDataFrameStructures)||this._structureRev++,this._dataWithFieldConfig={...e,structureRev:this._structureRev,series:h},this._dataWithFieldConfig.annotations&&(this._dataWithFieldConfig.annotations=a.applyFieldOverrides({data:this._dataWithFieldConfig.annotations,fieldConfig:{defaults:{},overrides:[]},fieldConfigRegistry:f,replaceVariables:this.interpolate,theme:i.config.theme2,timeZone:null==(o=e.request)?void 0:o.timezone})),d.alertStates||(this._dataWithFieldConfig.alertState=void 0),d.annotations||(this._dataWithFieldConfig.annotations=void 0),this._prevData=e,u&&(null==c||c(performance.now())),this._dataWithFieldConfig}clone(e){return super.clone({_pluginInstanceState:void 0,_pluginLoadError:void 0,...e})}buildPanelContext(){const e=(t=this,li.findObject(t,e=>e instanceof ia));var t;const n={eventsScope:e?e.getEventsScope():"__global_",eventBus:e?e.getEventsBus(this):i.getAppEvents(),app:a.CoreApp.Unknown,sync:()=>e?e.state.sync:a.DashboardCursorSync.Off,onSeriesColorChange:this._onSeriesColorChange,onToggleSeriesVisibility:this._onSeriesVisibilityChange,onToggleLegendSort:this._onToggleLegendSort,onInstanceStateChange:this._onInstanceStateChange};return this.state.extendPanelContext&&this.state.extendPanelContext(this,n),n}}function ma(e){try{const t=li.getAncestor(e,ha);if(t){return(t.state.$behaviors||[]).find(e=>e instanceof ua)}}catch(e){}}ha.Component=function({model:e}){var t;const{title:n,options:r,fieldConfig:s,_pluginLoadError:l,displayMode:c,hoverHeader:p,showMenuAlways:m,hoverHeaderOffset:v,menu:y,headerActions:b,subHeader:_,titleItems:w,seriesLimit:M,seriesLimitShowAll:S,description:k,collapsible:L,collapsed:x,_renderCounter:D=0}=e.useState(),[T,{width:E,height:O}]=g.useMeasure(),P=o.useMemo(()=>i.getAppEvents(),[]),Y=o.useCallback(()=>{e.state.key&&P.publish(new a.SetPanelAttentionEvent({panelId:e.getPathId()}))},[e,P]),C=o.useMemo(()=>u.debounce(Y,100,{leading:!0,trailing:!1}),[Y]),A=o.useMemo(()=>e.getProfiler(),[e]),R=performance.now(),j=F.default.useRef(null);o.useLayoutEffect(()=>{if(A){const e=A.onSimpleRenderStart(R);j.current=e||null}}),o.useEffect(()=>{if(j.current){const e=performance.now(),t=e-R;j.current(e,t),j.current=null}});const I=e.getPlugin(),{dragClass:H,dragClassCancel:N}=function(e){var t,n;const r=li.getLayout(e),a=null==r?void 0:r.isDraggable();if(!r||!a||function(e,t){let n=e;for(;n&&n!==t;){if("isDraggable"in n.state&&!1===n.state.isDraggable)return!0;if("repeatSourceKey"in n.state&&n.state.repeatSourceKey)return!0;n=n.parent}return!1}(e,r))return{dragClass:"",dragClassCancel:""};return{dragClass:null==(t=r.getDragClass)?void 0:t.call(r),dragClassCancel:null==(n=null==r?void 0:r.getDragClassCancel)?void 0:n.call(r)}}(e),z=function(e){var t,n;const r=li.getLayout(e);return null!=(n=null==(t=null==r?void 0:r.getDragHooks)?void 0:t.call(r))?n:{}}(e),V=li.getData(e),W=V.useState(),$=function(e,t,n){return o.useMemo(()=>(null==e?void 0:e.series)&&t&&!n?{...e,series:e.series.slice(0,t)}:e,[e,t,n])}(W.data,M,S),U=e.applyFieldConfig($),B=li.getTimeRange(e).getTimeZone(),q=e.getTimeRange(U),G=F.default.useContext($r);o.useEffect(()=>{V.isInViewChanged&&V.isInViewChanged(G)},[G,V]);const K=e.interpolate(n,void 0,"text"),J=f.useStyles2(Gr);if(!I)return F.default.createElement("div",null,F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.viz-panel-renderer.loading-plugin-panel"},"Loading plugin panel..."));if(!I.panel)return F.default.createElement("div",null,F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.viz-panel-renderer.panel-plugin-has-no-panel-component"},"Panel plugin has no panel component"));const Q=I.panel;V&&V.setContainerWidth&&V.setContainerWidth(Math.round(E));let Z=[];_&&(Array.isArray(_)?Z=Z.concat(_.map(e=>F.default.createElement(e.Component,{model:e,key:`${e.state.key}`}))):Lt(_)?Z.push(F.default.createElement(_.Component,{model:_,key:`${_.state.key}`})):Z.push(_));let X,ee,te=[];w&&(Array.isArray(w)?te=te.concat(w.map(e=>F.default.createElement(e.Component,{model:e,key:`${e.state.key}`}))):Lt(w)?te.push(F.default.createElement(w.Component,{model:w})):te.push(w)),M&&te.push(F.default.createElement(Hr,{key:"series-limit",data:W.data,seriesLimit:M,showAll:S,onShowAllSeries:()=>e.setState({seriesLimitShowAll:!S})})),e.state.$timeRange&&te.push(F.default.createElement(e.state.$timeRange.Component,{model:e.state.$timeRange,key:e.state.key})),U.alertState&&te.push(F.default.createElement(f.Tooltip,{content:null!=(t=U.alertState.state)?t:"unknown",key:`alert-states-icon-${e.state.key}`},F.default.createElement(f.PanelChrome.TitleItem,{className:h.cx({[J.ok]:U.alertState.state===a.AlertState.OK,[J.pending]:U.alertState.state===a.AlertState.Pending,[J.alerting]:U.alertState.state===a.AlertState.Alerting})},F.default.createElement(f.Icon,{name:"alerting"===U.alertState.state?"heart-break":"heart",className:"panel-alert-icon",size:"md"})))),y&&(X=F.default.createElement(y.Component,{model:y})),b&&(ee=Array.isArray(b)?F.default.createElement(F.default.Fragment,null,b.map(e=>F.default.createElement(e.Component,{model:e,key:`${e.state.key}`}))):Lt(b)?F.default.createElement(b.Component,{model:b}):b);const ne=U,re=!V.isDataReadyToDisplay||V.isDataReadyToDisplay(),ae=e.getPanelContext(),ie=e.getLegacyPanelId();return F.default.createElement("div",{className:Br},F.default.createElement("div",{ref:T,className:qr,"data-viz-panel-key":e.state.key},E>0&&O>0&&F.default.createElement(f.PanelChrome,{title:K,description:(null==k?void 0:k.trim())?e.getDescription:void 0,loadingState:ne.state,statusMessage:Ur(ne,l),statusMessageOnClick:e.onStatusMessageClick,width:E,height:O,selectionId:e.state.key,displayMode:c,titleItems:te.length>0?te:void 0,dragClass:H,actions:ee,dragClassCancel:N,padding:I.noPadding?"none":"md",menu:X,onCancelQuery:e.onCancelQuery,onFocus:Y,onMouseEnter:Y,onMouseMove:C,subHeaderContent:Z.length?Z:void 0,onDragStart:t=>{var n;null==(n=z.onDragStart)||n.call(z,t,e)},showMenuAlways:m,...L?{collapsible:Boolean(L),collapsed:x,onToggleCollapse:e.onToggleCollapse}:{hoverHeader:p,hoverHeaderOffset:v}},(t,i)=>F.default.createElement(F.default.Fragment,null,F.default.createElement(f.ErrorBoundaryAlert,{dependencies:[I,ne]},F.default.createElement(a.PluginContextProvider,{meta:I.meta},F.default.createElement(f.PanelContextProvider,{value:ae},re&&F.default.createElement(Q,{id:ie,data:ne,title:n,timeRange:q,timeZone:B,options:r,fieldConfig:s,transparent:"transparent"===c,width:t,height:i,renderCounter:D,replaceVariables:e.interpolate,onOptionsChange:e.onOptionsChange,onFieldConfigChange:e.onFieldConfigChange,onChangeTimeRange:e.onTimeRangeChange,eventBus:ae.eventBus}))))))))};class ga{constructor(e){this._variableDependency=e}findAndSubscribeToDrilldowns(e){const t=function(e){var t;for(const n of Cn.values())if(ai(n,null==(t=n.state.datasource)?void 0:t.uid)===e)return n}(e),n=function(e){var t;for(const n of zt.values())if(ai(n,null==(t=n.state.datasource)?void 0:t.uid)===e)return n}(e);let r=!1;this._adhocFiltersVar!==t&&(this._adhocFiltersVar=t,r=!0),this._groupByVar!==n&&(this._groupByVar=n,r=!0),r&&this._updateExplicitDrilldownVariableDependencies()}_updateExplicitDrilldownVariableDependencies(){const e=[];this._adhocFiltersVar&&e.push(this._adhocFiltersVar.state.name),this._groupByVar&&e.push(this._groupByVar.state.name),this._variableDependency.setVariableNames(e)}get adHocFiltersVar(){return this._adhocFiltersVar}get groupByVar(){return this._groupByVar}getFilters(){var e;return this._adhocFiltersVar?[...null!=(e=this._adhocFiltersVar.state.originFilters)?e:[],...this._adhocFiltersVar.state.filters].filter(e=>Tr(e)&&Er(e)):void 0}getGroupByKeys(){return this._groupByVar?this._groupByVar.getApplicableKeys():void 0}cleanup(){this._adhocFiltersVar=void 0,this._groupByVar=void 0}}let va=100;function ya(){return"SQR"+va++}class ba extends Z{constructor(e){super(e),this._dataLayersMerger=new ca,this._variableValueRecorder=new jt,this._results=new s.ReplaySubject(1),this._scopedVars={__sceneObject:Mn(this)},this._isInView=!0,this._bypassIsInView=!1,this._queryNotExecutedWhenOutOfView=!1,this._variableDependency=new Ha(this,{statePaths:["queries","datasource","minInterval"],onVariableUpdateCompleted:this.onVariableUpdatesCompleted.bind(this),onAnyVariableChanged:this.onAnyVariableChanged.bind(this),dependsOnScopes:!0}),this._drilldownDependenciesManager=new ga(this._variableDependency),this.onDataReceived=e=>{const t=a.preProcessPanelData(e,this.state.data);this._resultAnnotations=e.annotations;const n=this._combineDataLayers(t);let r=this.state._hasFetchedData;r||t.state===c.LoadingState.Loading||(r=!0),this.setState({data:n,_hasFetchedData:r}),this._results.next({origin:this,data:n})},this.addActivationHandler(()=>this._onActivate())}getResultsStream(){return this._results}_onActivate(){if(this.isQueryModeAuto()){const e=li.getTimeRange(this),t=this.getClosestExtraQueryProviders();for(const e of t)this._subs.add(e.subscribeToState((t,n)=>{e.shouldRerun(n,t,this.state.queries)&&this.runQueries()}));this.subscribeToTimeRangeChanges(e),this.shouldRunQueriesOnActivate()&&this.runQueries()}return this._dataLayersSub||this._handleDataLayers(),()=>this._onDeactivate()}_handleDataLayers(){const e=li.getDataLayers(this);0!==e.length&&(this._dataLayersSub=this._dataLayersMerger.getMergedStream(e).subscribe(this._onLayersReceived.bind(this)))}_onLayersReceived(e){var t,n,r,i,o;const s=li.getTimeRange(this),{dataLayerFilter:l}=this.state;let c,d=[],f=[];for(const r of e)for(let e of r.data.series)(null==(t=e.meta)?void 0:t.dataTopic)===a.DataTopic.Annotations&&(d=d.concat(e)),(null==(n=e.meta)?void 0:n.dataTopic)===a.DataTopic.AlertStates&&(f=f.concat(e));if((null==l?void 0:l.panelId)&&(d.length>0&&(d=function(e,t){var n;if(!Array.isArray(e)||0===e.length)return e;const r=Array.from({length:e.length},()=>new Set);let a=0;for(const i of e){for(let e=0;e"panelId"===e.name),l=i.fields.find(e=>"source"===e.name);if(l){s&&"dashboard"===l.values[e].type&&(o=[t.panelId,Ht].includes(s.values[e]));const r=l.values[e].filter;if(r){const e=[...null!=(n=r.ids)?n:[],Ht].includes(t.panelId);r.exclude?e&&(o=!1):e||(o=!1)}}o&&r[a].add(e)}a++}const i=[];a=0;for(const t of e){const e=r[a].size,n=[];for(const e of t.fields){const i=[];for(let n=0;n0))for(const e of f){const t=new a.DataFrameView(e);for(const e of t)if(e.panelId===l.panelId){c=e;break}}if(wa(d)&&wa(this._layerAnnotations)&&u.isEqual(c,null==(r=this.state.data)?void 0:r.alertState))return;this._layerAnnotations=d;const p=this.state.data?this.state.data:{...Se,timeRange:s.state.value};this.setState({data:{...p,annotations:[...null!=(i=this._resultAnnotations)?i:[],...d],alertState:null!=c?c:null==(o=this.state.data)?void 0:o.alertState}})}onVariableUpdatesCompleted(){this.isQueryModeAuto()&&this.runQueries()}onAnyVariableChanged(e){this._drilldownDependenciesManager.adHocFiltersVar!==e&&this._drilldownDependenciesManager.groupByVar!==e&&this.isQueryModeAuto()&&(e instanceof Sr&&this._isRelevantAutoVariable(e)&&this.runQueries(),e instanceof Cr&&this._isRelevantAutoVariable(e)&&this.runQueries())}_isRelevantAutoVariable(e){var t,n;const r=null!=(t=this.state.datasource)?t:_a(this.state.queries);return"auto"===e.state.applyMode&&(null==r?void 0:r.uid)===(null==(n=e.state.datasource)?void 0:n.uid)}shouldRunQueriesOnActivate(){return this._variableValueRecorder.hasDependenciesChanged(this)?(pe(),!0):!this.state.data||!!this._isDataTimeRangeStale(this.state.data)}_isDataTimeRangeStale(e){const t=li.getTimeRange(this).state.value,n=e.timeRange;return(t.from.unix()!==n.from.unix()||t.to.unix()!==n.to.unix())&&(pe(),!0)}_onDeactivate(){var e;this._querySub&&(this._querySub.unsubscribe(),this._querySub=void 0),this._dataLayersSub&&(this._dataLayersSub.unsubscribe(),this._dataLayersSub=void 0),null==(e=this._timeSub)||e.unsubscribe(),this._timeSub=void 0,this._timeSubRange=void 0,this._drilldownDependenciesManager.cleanup()}setContainerWidth(e){!this._containerWidth&&e>0?(this._containerWidth=e,this.state.maxDataPointsFromWidth&&!this.state.maxDataPoints&&setTimeout(()=>{this.isActive&&!this.state._hasFetchedData&&this.runQueries()},0)):e>0&&(this._containerWidth=e)}isDataReadyToDisplay(){return Boolean(this.state._hasFetchedData)}subscribeToTimeRangeChanges(e){this._timeSubRange!==e&&(this._timeSub&&this._timeSub.unsubscribe(),this._timeSubRange=e,this._timeSub=e.subscribeToState(()=>{this.runWithTimeRange(e)}))}runQueries(){const e=li.getTimeRange(this);this.isQueryModeAuto()&&this.subscribeToTimeRangeChanges(e),this.runWithTimeRange(e)}getMaxDataPoints(){var e;return this.state.maxDataPoints?this.state.maxDataPoints:this.state.maxDataPointsFromWidth&&null!=(e=this._containerWidth)?e:500}cancelQuery(){var e;null==(e=this._querySub)||e.unsubscribe(),this._dataLayersSub&&(this._dataLayersSub.unsubscribe(),this._dataLayersSub=void 0),this.setState({data:{...this.state.data,state:c.LoadingState.Done}})}async runWithTimeRange(e){var t,n,r;if(!this.state.maxDataPoints&&this.state.maxDataPointsFromWidth&&!this._containerWidth)return;if(this.isQueryModeAuto()&&!this._isInView&&!this._bypassIsInView)return void(this._queryNotExecutedWhenOutOfView=!0);if(this._queryNotExecutedWhenOutOfView=!1,this._dataLayersSub||this._handleDataLayers(),null==(t=this._querySub)||t.unsubscribe(),this._variableDependency.hasDependencyInLoadingState())return pe(),void this.setState({data:{...null!=(n=this.state.data)?n:Se,state:c.LoadingState.Loading}});this._variableValueRecorder.recordCurrentDependencyValuesForSceneObject(this);const{queries:a}=this.state;if(null==a?void 0:a.length)try{const t=null!=(r=this.state.datasource)?r:_a(a),n=await Rt(t,this._scopedVars);this._drilldownDependenciesManager.findAndSubscribeToDrilldowns(n.uid);const o=i.getRunRequest(),{primary:l,secondaries:u,processors:c}=this.prepareRequests(e,n);pe(0,0,this.state.key);let d=o(n,l);if(u.length>0){const e=u.map(e=>o(n,e)),t=(e=>t=>t.pipe(s.mergeMap(([t,...n])=>{const r=n.flatMap(n=>{var r,a;return null!=(a=null==(r=e.get(n.request.requestId))?void 0:r(t,n))?a:s.of(n)});return s.forkJoin([s.of(t),...r])}),s.map(([e,...t])=>{var n;return{...e,series:[...e.series,...t.flatMap(e=>e.series)],annotations:[...null!=(n=e.annotations)?n:[],...t.flatMap(e=>{var t;return null!=(t=e.annotations)?t:[]})]}})))(c);d=s.forkJoin([d,...e]).pipe(t)}const f=ma(this);d=d.pipe(Ct({type:"SceneQueryRunner/runQueries",request:l,origin:this,cancel:()=>this.cancelQuery()},f)),this._querySub=d.subscribe(this.onDataReceived)}catch(e){console.error("PanelQueryRunner Error",e),this.onDataReceived({...Se,...this.state.data,state:c.LoadingState.Error,errors:[i.toDataQueryError(e)]})}else this._setNoDataState()}clone(e){var t;const n=super.clone(e);return this._resultAnnotations&&(n._resultAnnotations=this._resultAnnotations.map(e=>({...e}))),this._layerAnnotations&&(n._layerAnnotations=this._layerAnnotations.map(e=>({...e}))),n._variableValueRecorder=this._variableValueRecorder.cloneAndRecordCurrentValuesForSceneObject(this),n._containerWidth=this._containerWidth,n._results.next({origin:this,data:null!=(t=this.state.data)?t:Se}),n}prepareRequests(e,t){var n;const{minInterval:r,queries:o}=this.state;let s={app:"scenes",requestId:ya(),timezone:e.getTimeZone(),range:e.state.value,interval:"1s",intervalMs:1e3,targets:u.cloneDeep(o),maxDataPoints:this.getMaxDataPoints(),scopedVars:this._scopedVars,startTime:Date.now(),liveStreaming:this.state.liveStreaming,rangeRaw:{from:e.state.from,to:e.state.to},cacheTimeout:this.state.cacheTimeout,queryCachingTTL:this.state.queryCachingTTL,scopes:li.getScopes(this),...Nt(this)};const l=this._drilldownDependenciesManager.getFilters(),c=this._drilldownDependenciesManager.getGroupByKeys();l&&(s.filters=l),c&&(s.groupByKeys=c),s.targets=s.targets.map(e=>{var n;return e.datasource&&(e.datasource.uid===t.uid||(null==(n=t.meta)?void 0:n.mixed)||!i.isExpressionReference||i.isExpressionReference(e.datasource))||(e.datasource=t.getRef()),e});const d=r?ai(this,r):t.interval,f=a.rangeUtil.calculateInterval(e.state.value,s.maxDataPoints,d);s.scopedVars=Object.assign({},s.scopedVars,{__interval:{text:f.interval,value:f.interval},__interval_ms:{text:f.intervalMs.toString(),value:f.intervalMs}}),s.interval=f.interval,s.intervalMs=f.intervalMs;const p=e.state.value;let h=[],m=new Map;for(const e of null!=(n=this.getClosestExtraQueryProviders())?n:[])for(const{req:t,processor:n}of e.getExtraQueries(s)){const e=ya();h.push({...t,requestId:e}),m.set(e,null!=n?n:Ft)}return s.range=p,{primary:s,secondaries:h,processors:m}}_combineDataLayers(e){return this._layerAnnotations&&this._layerAnnotations.length>0&&(e.annotations=(e.annotations||[]).concat(this._layerAnnotations)),this.state.data&&this.state.data.alertState&&(e.alertState=this.state.data.alertState),e}_setNoDataState(){this.state.data!==Se&&this.setState({data:Se})}getClosestExtraQueryProviders(){const e=new Map;return this.parent?(Le(this.parent,t=>(It(t)&&!e.has(t.constructor)&&e.set(t.constructor,t),t.forEachChild(t=>{It(t)&&!e.has(t.constructor)&&e.set(t.constructor,t)}),null)),Array.from(e.values())):[]}isQueryModeAuto(){var e;return"auto"===(null!=(e=this.state.runQueriesMode)?e:"auto")}isInViewChanged(e){pe(0,0,this.state.key),this._isInView=e,e&&this._queryNotExecutedWhenOutOfView&&this.runQueries()}bypassIsInViewChanged(e){pe(0,0,this.state.key),this._bypassIsInView=e,e&&this._queryNotExecutedWhenOutOfView&&this.runQueries()}}function _a(e){var t,n;return null!=(n=null==(t=e.find(e=>null!==e.datasource))?void 0:t.datasource)?n:void 0}function wa(e){if(!e)return!0;for(let t=0;t0)return!1;return!0}function Ma(e,t){return e===t||u.isEqual(e,t)}function Sa(e){try{return JSON.stringify(e,(()=>{const e=new WeakSet;return(t,n)=>{if("object"==typeof n&&null!==n){if(e.has(n))return;e.add(n)}return n}})())}catch(e){console.error(e)}return""}function ka(e){return e.map(e=>function(e){var t,n;let r="",a=e.operator;"=|"===a?(a="=~",r=null==(t=e.values)?void 0:t.map(xa).join("|")):"!=|"===a?(a="!~",r=null==(n=e.values)?void 0:n.map(xa).join("|")):r="=~"===a||"!~"===a?xa(e.value):La(e.value);return`${e.key}${a}"${r}"`}(e)).join(",")}function La(e){return e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/"/g,'\\"')}function xa(e){return La(e.replace(Da,"\\$&"))}const Da=/[*+?()|\\.\[\]{}^$]/g;function Ta(e){var t;const n=li.findAllObjects(e.getRoot(),e=>e instanceof ba),r=li.interpolate(e,null==(t=e.state.datasource)?void 0:t.uid),a=function(e){const t={};for(const n of e)n.state.key&&(n.state.key in t||(t[n.state.key]=[]),t[n.state.key].push(n));return Object.values(t).flatMap(e=>{const t=e.filter(e=>e.isActive);return 0===t.length&&1===e.length?e:t})}(n).filter(t=>{var n;return li.interpolate(e,null==(n=t.state.datasource)?void 0:n.uid)===r});if(0===a.length)return[];const i=[];return a.forEach(t=>{i.push(...t.state.queries.filter(t=>{if(!t.datasource||!t.datasource.uid)return!0;return li.interpolate(e,t.datasource.uid)===r}))}),i}function Ea(e){return null==e?"":/\|/g[Symbol.replace](e,"__gfp__")}function Oa(e){return null==e?"":/,/g[Symbol.replace](e,"__gfc__")}function Pa(e){return function(e){return null==e?"":/#/g[Symbol.replace](e,"__gfh__")}(Ea(e))}function Ya(e){return null==e?"":(e=/__gfp__/g[Symbol.replace](e,"|"),e=/__gfc__/g[Symbol.replace](e,","),e=/__gfh__/g[Symbol.replace](e,"#"))}function Ca(e,t){return t&&e!==t?[e,t].map(Oa).join(","):Oa(e)}function Aa(e){return Array.isArray(e)?e:e.data}function Ra(e){return!Array.isArray(e)&&Boolean(e.error)}function ja(e){const t=[],n=new Map;for(const r of e){const e=r.group;if(e){let a=n.get(e);a||(a=[],n.set(e,a),t.push({label:e,options:a})),a.push(r)}else t.push(r)}return t}function Ia(e){return{disabledPill:h.css({background:e.colors.action.selected,color:e.colors.text.disabled,border:0,"&:hover":{background:e.colors.action.selected}}),strikethrough:h.css({textDecoration:"line-through"})}}class Fa extends Z{constructor(e){super({type:"constant",value:"",name:"",...e,skipUrlSync:!0}),this._variableDependency=new Ha(this,{statePaths:["value"]}),this._prevValue=""}validateAndUpdate(){const e=this.getValue();return this._prevValue!==e&&(this._prevValue=e,this.publishEvent(new Ve(this),!0)),s.of({})}getValue(){return"string"==typeof this.state.value?li.interpolate(this,this.state.value):this.state.value}}class Ha{constructor(e,t){this._sceneObject=e,this._options=t,this._dependencies=new Set,this._isWaitingForVariables=!1,this.scanCount=0,this._statePaths=t.statePaths,this._options.handleTimeMacros&&this.handleTimeMacros()}hasDependencyOn(e){return this.getNames().has(e)}variableUpdateCompleted(e,t){var n,r,i,o;const s=this.getNames(),l=(s.has(e.state.name)||s.has(a.DataLinkBuiltInVars.includeVars))&&t;pe(0,0,e.state.name,this._isWaitingForVariables),null==(r=(n=this._options).onAnyVariableChanged)||r.call(n,e),this._options.onVariableUpdateCompleted&&(this._isWaitingForVariables||l)&&this._options.onVariableUpdateCompleted(),l&&(null==(o=(i=this._options).onReferencedVariableValueChanged)||o.call(i,e),this._options.onReferencedVariableValueChanged||this._options.onVariableUpdateCompleted||this._sceneObject.forceRender())}hasDependencyInLoadingState(){return this._isWaitingForVariables=li.hasVariableDependencyInLoadingState(this._sceneObject),this._isWaitingForVariables}getNames(){const e=this._state,t=this._state=this._sceneObject.state;return(!e||t!==e&&(!this._statePaths||this._statePaths.some(n=>"*"===n||t[n]!==e[n])))&&this.scanStateForDependencies(t),this._dependencies}setVariableNames(e){this._options.variableNames=e,this.scanStateForDependencies(this._state)}setPaths(e){this._statePaths=e}scanStateForDependencies(e){if(this._dependencies.clear(),this.scanCount++,this._options.variableNames)for(const e of this._options.variableNames)this._dependencies.add(e);if(this._options.dependsOnScopes&&this._dependencies.add(Xe),this._statePaths)for(const t of this._statePaths){if("*"===t){this.extractVariablesFrom(e);break}{const n=e[t];n&&this.extractVariablesFrom(n)}}}extractVariablesFrom(e){Qe.lastIndex=0;const t=("string"!=typeof e?Sa(e):e).matchAll(Qe);if(t)for(const e of t){const[,t,n,,r]=e,a=t||n||r;this._dependencies.add(a)}}handleTimeMacros(){this._sceneObject.addActivationHandler(()=>{const e=li.getTimeRange(this._sceneObject).subscribeToState((e,t)=>{const n=this.getNames(),r=n.has("__from"),a=n.has("__to"),i=n.has("__timezone");if(e.value!==t.value)if(r){const t=new Fa({name:"__from",value:e.from});this.variableUpdateCompleted(t,!0)}else if(a){const t=new Fa({name:"__to",value:e.to});this.variableUpdateCompleted(t,!0)}if(e.timeZone!==t.timeZone&&i){const t=new Fa({name:"__timezone",value:e.timeZone});this.variableUpdateCompleted(t,!0)}});return()=>e.unsubscribe()})}}const Na=e=>Boolean(e.metricFindQuery)&&!Boolean(e.variables),za=e=>{if(!e.variables)return!1;if(e.variables.getType()!==a.VariableSupportType.Standard)return!1;const t=e.variables;return"toDataQuery"in t&&Boolean(t.toDataQuery)},Va=e=>{if(!e.variables)return!1;if(e.variables.getType()!==a.VariableSupportType.Custom)return!1;const t=e.variables;return"query"in t&&"editor"in t&&Boolean(t.query)&&Boolean(t.editor)},Wa=e=>!!e.variables&&e.variables.getType()===a.VariableSupportType.Datasource;class $a{constructor(e,t=i.getRunRequest()){this.datasource=e,this._runRequest=t}getTarget(e){if(za(this.datasource))return this.datasource.variables.toDataQuery(function(e){var t;const n=null!=(t=e.state.query)?t:"";if("string"==typeof n)return{query:n,refId:`variable-${e.state.name}`};if(null==n.refId)return{...n,refId:`variable-${e.state.name}`};return e.state.query}(e));throw new Error("Couldn't create a target with supplied arguments.")}runRequest(e,t){return za(this.datasource)?this.datasource.variables.query?this._runRequest(this.datasource,t,this.datasource.variables.query.bind(this.datasource.variables)):this._runRequest(this.datasource,t):Ga()}}class Ua{constructor(e){this.datasource=e}getTarget(e){if(Na(this.datasource))return e.state.query;throw new Error("Couldn't create a target with supplied arguments.")}runRequest({variable:e,searchFilter:t},n){return Na(this.datasource)?s.from(this.datasource.metricFindQuery(e.state.query,{...n,variable:{name:e.state.name,type:e.state.type},searchFilter:t})).pipe(s.mergeMap(e=>{if(!e||!e.length)return Ga();const t=e;return s.of({series:t,state:a.LoadingState.Done,timeRange:n.range})})):Ga()}}class Ba{constructor(e,t=i.getRunRequest()){this.datasource=e,this._runRequest=t}getTarget(e){if(Va(this.datasource))return e.state.query;throw new Error("Couldn't create a target with supplied arguments.")}runRequest(e,t){return Va(this.datasource)?this.datasource.variables.query?this._runRequest(this.datasource,t,this.datasource.variables.query.bind(this.datasource.variables)):this._runRequest(this.datasource,t):Ga()}}class qa{constructor(e,t=i.getRunRequest()){this.datasource=e,this._runRequest=t}getTarget(e){var t;if(Wa(this.datasource))return"string"==typeof e.state.query?e.state.query:{...e.state.query,refId:null!=(t=e.state.query.refId)?t:"variable-query"};throw new Error("Couldn't create a target with supplied arguments.")}runRequest(e,t){return Wa(this.datasource)?this._runRequest(this.datasource,t):Ga()}}function Ga(){return s.of({state:a.LoadingState.Done,series:[],timeRange:a.getDefaultTimeRange()})}let Ka=function(e){if(za(e))return new $a(e,i.getRunRequest());if(Na(e))return new Ua(e);if(Va(e))return new Ba(e);if(Wa(e))return new qa(e);throw new Error(`Couldn't create a query runner for datasource ${e.type}`)};const Ja=(e,t)=>{const n=[];let r=null;t.lastIndex=0;do{r=t.exec(e),r&&n.push(r)}while(t.global&&r&&""!==r[0]&&void 0!==r[0]);return n},Qa=(e,t)=>{if(t===a.VariableSort.disabled)return e;switch(t){case a.VariableSort.alphabeticalAsc:e=u.sortBy(e,"label");break;case a.VariableSort.alphabeticalDesc:e=u.sortBy(e,"label").reverse();break;case a.VariableSort.numericalAsc:e=u.sortBy(e,Za);break;case a.VariableSort.numericalDesc:e=(e=u.sortBy(e,Za)).reverse();break;case a.VariableSort.alphabeticalCaseInsensitiveAsc:e=u.sortBy(e,e=>u.toLower(e.label));break;case a.VariableSort.alphabeticalCaseInsensitiveDesc:e=(e=u.sortBy(e,e=>u.toLower(e.label))).reverse();break;case a.VariableSort.naturalAsc:e=ei(e);break;case a.VariableSort.naturalDesc:e=(e=ei(e)).reverse()}return e};function Za(e){if(!e.label)return-1;const t=e.label.match(/.*?(\d+).*/);return!t||t.length<2?-1:parseInt(t[1],10)}const Xa=new Intl.Collator(void 0,{sensitivity:"accent",numeric:!0});function ei(e){return e.slice().sort((e,t)=>Xa.compare(e.label,t.label))}function ti(e,t){return e=>e.pipe(s.map(e=>{const t=e.series;if(!t||!t.length)return[];if(function(e){if(!e)return!1;if(!e.length)return!0;const t=e[0];if(a.isDataFrame(t))return!1;for(const e in t){if(!t.hasOwnProperty(e))continue;const n=t[e];if(null!==n&&"string"!=typeof n&&"number"!=typeof n)continue;const r=e.toLowerCase();if("text"===r||"value"===r)return!0}return!1}(t))return t;if(0===t[0].fields.length)return[];const n=function(e){const t=-1===e.value&&-1===e.text;if(!e.properties.length)throw new Error("Couldn't find any field of type string in the results");t&&(e.value=e.properties[0].index,e.text=e.properties[0].index);-1===e.value&&-1!==e.text&&(e.value=e.text);-1===e.text&&-1!==e.value&&(e.text=e.value);return e}(function(e){const t={value:-1,text:-1,expandable:-1,properties:[]};for(const n of a.getProcessedDataFrames(e))for(let r=0;r-1!==n?e.fields[n].values.get(t):void 0,i=a(n.value),o=a(n.text),s=a(n.expandable),l={};for(const e of n.properties)l[e.name]=a(e.index);const u={value:i,text:o,properties:l};void 0!==s&&(u.expandable=Boolean(s)),r.push(u)}return r}))}class ni extends gt{constructor(e){super({type:"query",name:"",value:"",text:"",options:[],datasource:null,regex:"",query:"",regexApplyTo:"value",refresh:a.VariableRefresh.onDashboardLoad,sort:a.VariableSort.disabled,...e}),this._variableDependency=new Ha(this,{statePaths:["regex","regexApplyTo","query","datasource"]}),this.onSearchChange=e=>{Sa(this.state.query).indexOf(Ze)>-1&&this._updateOptionsBasedOnSearchFilter(e)},this._updateOptionsBasedOnSearchFilter=u.debounce(async e=>{const t=await s.lastValueFrom(this.getValueOptions({searchFilter:e}));this.setState({options:t,loading:!1})},400)}getValueOptions(e){return this.state.query?(this.setState({loading:!0,error:null}),s.from(Rt(this.state.datasource,{__sceneObject:Mn(this)})).pipe(s.mergeMap(t=>{const n=Ka(t),r=n.getTarget(this),i=this.getRequest(r,e.searchFilter);return n.runRequest({variable:this,searchFilter:e.searchFilter},i).pipe(Ct({type:"QueryVariable/getValueOptions",request:i,origin:this}),s.filter(e=>e.state===a.LoadingState.Done||e.state===a.LoadingState.Error),s.take(1),s.mergeMap(e=>e.state===a.LoadingState.Error?s.throwError(()=>e.error):s.of(e)),ti(),s.mergeMap(e=>{let t="";this.state.regex&&(t=li.interpolate(this,this.state.regex,void 0,"regex"));let n=function({variableRegEx:e,variableRegexApplyTo:t,sort:n,metricNames:r}){var i,o,s,l,c,d,f,p,h,m;let g,v=[];e&&(g=a.stringToJsRegex(e));for(let e=0;ee.groups&&e.groups.value),r=e.find(e=>e.groups&&e.groups.text),i=e.find(e=>e.length>1),o=e.length>1&&i;if(n||r)y=null!=(f=null==(c=null==n?void 0:n.groups)?void 0:c.value)?f:null==(d=null==r?void 0:r.groups)?void 0:d.text,a=null!=(m=null==(p=null==r?void 0:r.groups)?void 0:p.text)?m:null==(h=null==n?void 0:n.groups)?void 0:h.value;else{if(o){for(let t=0;t!e.find(e=>e.value===t.value)),"after"===this.state.staticOptionsOrder?n.push(...e):"sorted"===this.state.staticOptionsOrder?n=Qa(n.concat(e),this.state.sort):n.unshift(...e)}return s.of(n)}),s.catchError(e=>e.cancelled?s.of([]):s.throwError(()=>e)))}))):s.of([])}getRequest(e,t){const n={__sceneObject:Mn(this)};t&&(n.__searchFilter={value:t,text:t});const r=li.getTimeRange(this).state.value;return{app:a.CoreApp.Dashboard,requestId:l.v4(),timezone:"",range:r,interval:"",intervalMs:0,targets:[e],scopedVars:n,startTime:Date.now()}}}function ri(e){var t;return null!=(t=Le(e,e=>e.state.$data))?t:Fe}function ai(e,t,n,r,a){return""===t||null==t?"":kt(e,t,n,r,a)}function ii(e,t,n,r){if(t(e))return e;let a=null;return e.forEachChild(e=>{if(e===n)return;let r=ii(e,t);return r?(a=r,!1):void 0}),a||(r&&e.parent?ii(e.parent,t,e,!0):null)}function oi(e,t){return ii(e,t,void 0,!0)}function si(e,t){const n=[];return e.forEachChild(e=>{t(e)&&n.push(e),n.push(...si(e,t))}),n}ni.Component=({model:e})=>F.default.createElement(hn,{model:e});const li={getVariables:function(e){var t;return null!=(t=Le(e,e=>e.state.$variables))?t:Ne},getData:ri,getTimeRange:ze,getLayout:function(e){const t=Le(e,e=>function(e){return"isDraggable"in e}(e)?e:void 0);return t||null},getDataLayers:function(e,t=!1){let n=e,r=[];for(;n;){const e=n.state.$data;if(e){if(Tt(e)?r=r.concat(e):e.state.$data&&Tt(e.state.$data)&&(r=r.concat(e.state.$data)),t&&r.length>0)break;n=n.parent}else n=n.parent}return r},interpolate:ai,lookupVariable:fe,hasVariableDependencyInLoadingState:function(e){if(!e.variableDependency)return!1;for(const t of e.variableDependency.getNames()){if(e instanceof ni&&e.state.name===t){console.warn("Query variable is referencing itself");continue}const n=fe(t,e);if(!n)continue;if(n.parent.isVariableLoadingOrWaitingToUpdate(n))return!0}return!1},findByKey:function(e,t){const n=oi(e,e=>e.state.key===t);if(!n)throw new Error("Unable to find scene with key "+t);return n},findByKeyAndType:function(e,t,n){const r=oi(e,e=>e.state.key===t);if(!r)throw new Error("Unable to find scene with key "+t);if(!(r instanceof n))throw new Error(`Found scene object with key ${t} does not match type ${n.name}`);return r},findObject:oi,findAllObjects:si,getAncestor:function(e,t){let n=e;for(;n;){if(n instanceof t)return n;n=n.parent}if(!n)throw new Error("Unable to find parent of type "+t.name);return n},getQueryController:we,findDescendents:function(e,t){function n(e){return e instanceof t}return si(e,n).filter(n)},getScopes:function(e){const t=fe(Xe,e);if(t instanceof On)return t.state.scopes}},ui=class e extends Z{constructor(e){super({type:"system",value:"",text:"",name:"",...e,skipUrlSync:!0})}getValue(e){return null!=e&&this.state.properties?this.getFieldAccessor(e)(this.state.properties):this.state.value}getFieldAccessor(t){const n=e.fieldAccessorCache[t];return n||(e.fieldAccessorCache[t]=u.property(t))}getValueText(e){if(e&&this.state.properties){const t=this.getFieldAccessor(e)(this.state.properties);if(null!=t)return String(t)}return this.state.text.toString()}isAncestorLoading(){var e,t;const n=null==(t=null==(e=this.parent)?void 0:e.parent)?void 0:t.parent;if(!n)throw new Error("LocalValueVariable requires a parent SceneVariableSet that has an ancestor SceneVariableSet");const r=li.getVariables(n),a=li.lookupVariable(this.state.name,n);return!(!r||!a)&&r.isVariableLoadingOrWaitingToUpdate(a)}};ui.fieldAccessorCache={};let ci=ui;const di="$";function fi(e){let t,n=`panel-${e.getLegacyPanelId()}`,r=e;for(;r;){const e=r.state.$variables;e&&e.state.variables.forEach(e=>{e.state.name!==t&&e instanceof ci&&(n=`${e.state.value}${di}${n}`,t=e.state.name)}),r=r.parent}return n}var pi=Object.freeze({__proto__:null,ActWhenVariableChanged:class extends Z{constructor(){super(...arguments),this._runningEffect=null,this._variableDependency=new Ha(this,{variableNames:[this.state.variableName],onReferencedVariableValueChanged:this._onVariableChanged.bind(this)})}_onVariableChanged(e){const t=this.state.onChange;this._runningEffect&&(this._runningEffect(),this._runningEffect=null);const n=t(e,this);n&&(this._runningEffect=n)}},CursorSync:ia,LiveNowTimer:la,SceneInteractionTracker:class extends Z{constructor(e={},t){super(e),this.renderProfiler=t,this.isInteractionTracker=!0,t&&(this.renderProfiler=t,this.renderProfiler.setInteractionCompleteHandler(e.onInteractionComplete))}startInteraction(e){var t;this.state.enableInteractionTracking&&(null==(t=this.renderProfiler)||t.startInteraction(e))}stopInteraction(){var e;null==(e=this.renderProfiler)||e.stopInteraction()}},SceneQueryController:class extends Z{constructor(e={},t){super({...e,isRunning:!1}),this.profiler=t,this.isQueryController=!0,be(this,he,new Set),be(this,me,null),this.runningQueriesCount=()=>ye(this,he).size,t&&(this.profiler=t,t.setQueryController(this)),this.addActivationHandler(()=>{var e;return null==(e=this.profiler)||e.setQueryController(this),()=>ye(this,he).clear()})}startProfile(e){var t;this.state.enableProfiling&&(null==(t=this.profiler)||t.startProfile(e))}cancelProfile(){var e;null==(e=this.profiler)||e.cancelProfile()}queryStarted(e){ye(this,he).add(e),this.changeRunningQueryCount(1,e),this.state.isRunning||this.setState({isRunning:!0})}queryCompleted(e){ye(this,he).has(e)&&(ye(this,he).delete(e),this.changeRunningQueryCount(-1),0===ye(this,he).size&&this.setState({isRunning:!1}))}changeRunningQueryCount(e,t){var n,r,a,i,o,s,l;window.__grafanaRunningQueryCount=(null!=(n=window.__grafanaRunningQueryCount)?n:0)+e,1===e&&this.state.enableProfiling&&(t&&(null==(r=this.profiler)||r.addCrumb(`${t.type}`)),(null==(a=this.profiler)?void 0:a.isTailRecording())&&(pe(),null==(i=this.profiler)||i.cancelTailRecording())),this.state.enableProfiling&&(ye(this,me)&&cancelAnimationFrame(ye(this,me)),o=this,s=me,l=requestAnimationFrame(()=>{var e;null==(e=this.profiler)||e.tryCompletingProfile()}),ve(o,s,"write to private field"),s.set(o,l))}cancelAll(){var e;for(const t of ye(this,he).values())null==(e=t.cancel)||e.call(t)}}});function hi(e,t,...n){let r=!1;"undefined"!=typeof window&&(r="true"===localStorage.getItem("grafana.debug.sceneProfiling"))}class mi{constructor(e){this._config=e,this._subscriptions=[]}attachToScene(e){this._sceneObject=e;const t=e.subscribeToState((e,t)=>{this._config.watchStateKey?e[this._config.watchStateKey]!==t[this._config.watchStateKey]&&this._attachProfilersToPanels():this._attachProfilersToPanels()});this._subscriptions.push(t),this._attachProfilersToPanels()}attachProfilerToPanel(e){var t;if(null==(t=e.state.$behaviors)?void 0:t.find(e=>e instanceof ua))return;const n=new ua;e.setState({$behaviors:[...e.state.$behaviors||[],n]})}_attachProfilersToPanels(){if(!this._sceneObject)return;li.findAllObjects(this._sceneObject,e=>e instanceof ha).forEach(e=>{this.attachProfilerToPanel(e)})}cleanup(){this._subscriptions.forEach(e=>e.unsubscribe()),this._subscriptions=[],this._sceneObject=void 0}}var gi,vi,yi,bi,_i,wi=e=>{throw TypeError(e)},Mi=(e,t,n)=>t.has(e)||wi("Cannot "+n),Si=(e,t,n)=>(Mi(e,t,"read from private field"),n?n.call(e):t.get(e)),ki=(e,t,n)=>t.has(e)?wi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Li=(e,t,n,r)=>(Mi(e,t,"write to private field"),t.set(e,n),n);class xi{constructor(){ki(this,gi,!1),ki(this,vi,null),ki(this,yi,null),ki(this,bi,0),ki(this,_i,null),this.measureFrames=()=>{if(!Si(this,gi))return;const e=performance.now(),t=e-Si(this,bi);if(t>50){const n={duration:t,timestamp:e,method:"manual"};if(Si(this,vi)&&Si(this,vi).call(this,n),"undefined"!=typeof performance&&performance.mark&&performance.measure){const n=`long-frame-manual-${e.toFixed(0)}`,r=`${n}-start`,a=`${n}-end`,i=`Long Frame (Manual): ${t.toFixed(1)}ms`;try{performance.mark(r,{startTime:e-t}),performance.mark(a,{startTime:e}),performance.measure(i,r,a)}catch(e){performance.mark(i)}}hi()}Li(this,bi,e),Si(this,gi)&&Li(this,yi,requestAnimationFrame(this.measureFrames))}}isLoAFAvailable(){return"undefined"!=typeof PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")}start(e){Si(this,gi)&&(hi(),this.stop()),Li(this,vi,e),Li(this,gi,!0),this.isLoAFAvailable()?this.startLoAFTracking():this.startManualFrameTracking(),hi(0,this.isLoAFAvailable())}stop(){Si(this,gi)&&(Li(this,gi,!1),Li(this,vi,null),this.stopLoAFTracking(),this.stopManualFrameTracking())}isTracking(){return Si(this,gi)}startLoAFTracking(){if(!this.isLoAFAvailable())return hi(),void this.startManualFrameTracking();try{Li(this,_i,new PerformanceObserver(e=>{for(const t of e.getEntries()){const e={duration:t.duration,timestamp:t.startTime,method:"loaf"};if(Si(this,vi)&&Si(this,vi).call(this,e),"undefined"!=typeof performance&&performance.mark&&performance.measure){const e=`long-frame-${t.startTime.toFixed(0)}`,n=`${e}-start`,r=`${e}-end`,a=`Long Frame (LoAF): ${t.duration.toFixed(1)}ms`;try{performance.mark(n,{startTime:t.startTime}),performance.mark(r,{startTime:t.startTime+t.duration}),performance.measure(a,n,r)}catch(e){performance.mark(a)}}hi(0,(t.duration,t.startTime))}})),Si(this,_i).observe({type:"long-animation-frame",buffered:!1})}catch(e){hi(0,0),this.startManualFrameTracking()}}stopLoAFTracking(){Si(this,_i)&&(Si(this,_i).disconnect(),Li(this,_i,null),hi())}startManualFrameTracking(){Li(this,bi,performance.now()),Li(this,yi,requestAnimationFrame(()=>this.measureFrames()))}stopManualFrameTracking(){Si(this,yi)&&(cancelAnimationFrame(Si(this,yi)),Li(this,yi,null),hi())}}gi=new WeakMap,vi=new WeakMap,yi=new WeakMap,bi=new WeakMap,_i=new WeakMap;var Di,Ti,Ei,Oi,Pi,Yi,Ci,Ai,Ri,ji,Ii,Fi=e=>{throw TypeError(e)},Hi=(e,t,n)=>t.has(e)||Fi("Cannot "+n),Ni=(e,t,n)=>(Hi(e,t,"read from private field"),n?n.call(e):t.get(e)),zi=(e,t,n)=>t.has(e)?Fi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Vi=(e,t,n,r)=>(Hi(e,t,"write to private field"),t.set(e,n),n);function Wi(e,t){const n=performance.getEntriesByType("resource");performance.clearResourceTimings();const r=n.filter(n=>n.startTime>=e&&n.startTime<=t&&n.responseEnd>=e&&n.responseEnd<=t);for(const e of r)performance.measure("Network entry "+e.name,{start:e.startTime,end:e.responseEnd});return function(e){if(0===e.length)return 0;e.sort((e,t)=>e.startTime-t.startTime);let t=0,n=e[0].startTime,r=e[0].responseEnd;for(let a=1;a{const r=performance.now(),a=r-t;if(Ni(this,Yi).push(a),r-e<2e3)Ni(this,Di)&&Vi(this,Oi,requestAnimationFrame(()=>this.measureTrailingFrames(e,r,n)));else{const t=function(e){for(let t=e.length-1;t>=0;t--)if(e[t]>30)return e.slice(0,t+1);return[e[0]]}(Ni(this,Yi)),r=t.reduce((e,t)=>e+t,0);hi(0,0,Ni(this,Di)),Vi(this,Yi,[]);const a=e-n;t.length>0?(r.toFixed(1),t.length):(r.toFixed(1),t.length),Ni(this,Ai)>0?(Ni(this,Ri).toFixed(1),Ni(this,Ai)):(Ni(this,Ri).toFixed(1),Ni(this,Ai));hi(0,(a+r).toFixed(1)),Ni(this,Ci).stop(),Vi(this,Oi,null);const i=n+a+r;if(!Ni(this,Di))return;const o=Wi(n,i);if(Ni(this,Di)){const e={operationId:Ni(this,Pi)||Et("dashboard-fallback"),interactionType:Ni(this,Di).origin,timestamp:i,duration:a+r,networkDuration:o,longFramesCount:Ni(this,Ai),longFramesTotalTime:Ni(this,Ri),metadata:this.metadata};Yt().notifyDashboardInteractionComplete(e),Vi(this,Di,null),Vi(this,Oi,null)}}},Vi(this,Ci,new xi),this.setupVisibilityChangeHandler(),Vi(this,Ti,null),e&&(this._panelProfilingManager=new mi(e))}setMetadata(e){this.metadata={...e}}setQueryController(e){this.queryController=e}attachPanelProfiling(e){var t;null==(t=this._panelProfilingManager)||t.attachToScene(e)}attachProfilerToPanel(e){var t;hi(0,0,e.state.key),null==(t=this._panelProfilingManager)||t.attachProfilerToPanel(e)}setInteractionCompleteHandler(e){Vi(this,Ii,null!=e?e:null)}setupVisibilityChangeHandler(){Ni(this,ji)||(Vi(this,ji,()=>{document.hidden&&Ni(this,Di)&&(hi(),this.cancelProfile())}),"undefined"!=typeof document&&document.addEventListener("visibilitychange",Ni(this,ji)))}cleanup(){var e;Ni(this,ji)&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",Ni(this,ji)),Vi(this,ji,null)),Ni(this,Ci).stop(),this.cancelProfile(),null==(e=this._panelProfilingManager)||e.cleanup()}startProfile(e){document.hidden?hi(0,0):Ni(this,Di)?Ni(this,Oi)?(this.cancelProfile(),this._startNewProfile(e,!0)):this.addCrumb(e):this._startNewProfile(e)}startInteraction(e){Ni(this,Ti)&&(hi(0,0,Ni(this,Ti)),Vi(this,Ti,null)),Vi(this,Ti,{interaction:e,startTs:performance.now()}),hi(0,0)}stopInteraction(){if(!Ni(this,Ti))return;const e=performance.now(),t=e-Ni(this,Ti).startTs,n=Wi(Ni(this,Ti).startTs,e);hi(0,(t.toFixed(1),n.toFixed(1))),Ni(this,Ii)&&Ni(this,Di)&&Ni(this,Ii).call(this,{origin:Ni(this,Ti).interaction,duration:t,networkDuration:n,startTs:Ni(this,Ti).startTs,endTs:e}),performance.mark(`${Ni(this,Ti).interaction}_start`,{startTime:Ni(this,Ti).startTs}),performance.mark(`${Ni(this,Ti).interaction}_end`,{startTime:e}),performance.measure(`Interaction_${Ni(this,Ti).interaction}`,`${Ni(this,Ti).interaction}_start`,`${Ni(this,Ti).interaction}_end`),Vi(this,Ti,null)}getCurrentInteraction(){var e,t;return null!=(t=null==(e=Ni(this,Ti))?void 0:e.interaction)?t:null}_startNewProfile(e,t=!1){hi(),Vi(this,Di,{origin:e,crumbs:[]}),Vi(this,Ei,performance.now()),Vi(this,Ai,0),Vi(this,Ri,0),Vi(this,Pi,Et("dashboard")),Yt().notifyDashboardInteractionStart({operationId:Ni(this,Pi),interactionType:e,timestamp:Ni(this,Ei),metadata:this.metadata}),Ni(this,Ci).start(e=>{var t,n,r;Ni(this,Di)&&Ni(this,Ei)&&(e.timestampthis.measureTrailingFrames(e,e,t)))}tryCompletingProfile(){var e;hi(0,0,Ni(this,Di)),0===(null==(e=this.queryController)?void 0:e.runningQueriesCount())&&Ni(this,Di)&&(hi(),this.recordProfileTail(performance.now(),Ni(this,Ei)))}isTailRecording(){return Boolean(Ni(this,Oi))}cancelTailRecording(){Ni(this,Oi)&&(cancelAnimationFrame(Ni(this,Oi)),Vi(this,Oi,null),hi())}cancelProfile(){Ni(this,Di)&&(hi(0,0,Ni(this,Di)),Vi(this,Di,null),Ni(this,Oi)&&(cancelAnimationFrame(Ni(this,Oi)),Vi(this,Oi,null)),Ni(this,Ci).stop(),hi(),Vi(this,Yi,[]),Vi(this,Ai,0),Vi(this,Ri,0))}addCrumb(e){Ni(this,Di)&&(Yt().notifyDashboardInteractionMilestone({operationId:Et("dashboard-milestone"),interactionType:Ni(this,Di).origin,timestamp:performance.now(),milestone:e,metadata:this.metadata}),Ni(this,Di).crumbs.push(e))}},getScenePerformanceTracker:Yt});function Ui(e){if("string"==typeof e)return e;if(e){if(e instanceof Error)return e.message;if(i.isFetchError(e)){if(e.data&&e.data.message)return e.data.message;if(e.statusText)return e.statusText}else if(e.hasOwnProperty("message"))return e.message}return JSON.stringify(e)}class Bi extends Z{constructor(e,t=[]){super({isEnabled:!0,...e}),this._results=new s.ReplaySubject(1),this.isDataLayer=!0,this._variableValueRecorder=new jt,this._variableDependency=new Ha(this,{onVariableUpdateCompleted:this.onVariableUpdateCompleted.bind(this),dependsOnScopes:!0}),this._variableDependency.setPaths(t),this.addActivationHandler(()=>this.onActivate())}onActivate(){return this.state.isEnabled&&this.onEnable(),this.shouldRunLayerOnActivate()&&this.runLayer(),this.subscribeToState((e,t)=>{!e.isEnabled&&this.querySub&&(this.querySub.unsubscribe(),this.querySub=void 0,this.onDisable(),this._results.next({origin:this,data:Se}),this.setStateHelper({data:Se})),e.isEnabled&&!t.isEnabled&&(this.onEnable(),this.runLayer())}),()=>{this.onDeactivate()}}onDeactivate(){this.querySub&&(this.querySub.unsubscribe(),this.querySub=void 0),this.onDisable(),this._variableValueRecorder.recordCurrentDependencyValuesForSceneObject(this)}onVariableUpdateCompleted(){this.runLayer()}cancelQuery(){this.querySub&&(this.querySub.unsubscribe(),this.querySub=void 0,this.publishResults(Se))}publishResults(e){this.state.isEnabled&&(this._results.next({origin:this,data:e}),this.setStateHelper({data:e}))}getResultsStream(){return this._results}shouldRunLayerOnActivate(){return!!this.state.isEnabled&&(this._variableValueRecorder.hasDependenciesChanged(this)?(pe(),!0):!this.state.data)}setStateHelper(e){ft(this,e)}}const qi={prepareAnnotation:e=>{if(u.isString(null==e?void 0:e.query)){const{query:t,...n}=e;return{...n,target:{refId:"annotation_query",query:t},mappings:{}}}return e},prepareQuery:e=>e.target,processEvents:(e,t)=>Ji(t,e.mappings)};const Gi=[{key:"time",field:e=>e.fields.find(e=>e.type===a.FieldType.time),placeholder:"time, or the first time field"},{key:"timeEnd",help:"When this field is defined, the annotation will be treated as a range"},{key:"title"},{key:"text",field:e=>e.fields.find(e=>e.type===a.FieldType.string),placeholder:"text, or the first text field"},{key:"tags",split:",",help:"The results will be split on comma (,)"},{key:"id"}],Ki=[...i.config.publicDashboardAccessToken?[{key:"color"},{key:"isRegion"},{key:"source"}]:[],...Gi,{key:"userId"},{key:"login"},{key:"email"},{key:"prevState"},{key:"newState"},{key:"data"},{key:"panelId"},{key:"alertId"},{key:"dashboardId"},{key:"dashboardUID"}];function Ji(e,t){return s.of(e).pipe(e=>e.pipe(_.mergeMap(e=>(null==e?void 0:e.length)?1===e.length?s.of(e[0]):s.of(e).pipe(a.standardTransformers.mergeTransformer.operator({},{interpolate:e=>e}),_.map(e=>e[0])):s.of(void 0))),_.map(e=>{if(!(null==e?void 0:e.length))return[];let n=!1,r=!1;const i={};for(const t of e.fields){i[a.getFieldDisplayName(t,e).toLowerCase()]=t}t||(t={});const o=[];for(const s of Ki){const l=t[s.key]||{};if(l.source===a.AnnotationEventFieldSource.Skip)continue;const u={key:s.key,split:s.split};if(l.source===a.AnnotationEventFieldSource.Text)u.text=l.value;else{const t=(l.value||s.key).toLowerCase();u.field=i[t],!u.field&&s.field&&(u.field=s.field(e))}(u.field||u.text)&&(o.push(u),"time"===u.key?n=!0:"text"===u.key&&(r=!0))}if(!n||!r)return console.error("Cannot process annotation fields. No time or text present."),[];const s=[];for(let t=0;t({state:c.LoadingState.Done,events:e})));const d={...qi,...e.annotations},f={...null==(u=d.getDefaultQuery)?void 0:u.call(d),...n},p=d.prepareAnnotation(f);if(!p)return s.of({state:c.LoadingState.Done,events:[]});const h=d.prepareQuery(p);if(!h)return s.of({state:c.LoadingState.Done,events:[]});const m=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,g=a.rangeUtil.calculateInterval(t.state.value,m,e.interval),v={__interval:{text:g.interval,value:g.interval},__interval_ms:{text:g.intervalMs.toString(),value:g.intervalMs},__annotation:{text:p.name,value:p},__sceneObject:Mn(r)},y={startTime:Date.now(),requestId:"AQ"+Zi++,range:t.state.value,maxDataPoints:m,scopedVars:v,...g,app:a.CoreApp.Dashboard,timezone:t.getTimeZone(),targets:[{...h,refId:"Anno"}],scopes:li.getScopes(r),filters:o,groupByKeys:l,...Nt(r)};return i.getRunRequest()(e,y).pipe(_.mergeMap(e=>{const t=(null==e?void 0:e.series.length)?e.series:e.annotations;return(null==t?void 0:t.length)?(t.forEach(e=>{var t;(null==(t=e.meta)?void 0:t.dataTopic)||(e.meta={...e.meta||{},dataTopic:a.DataTopic.Annotations})}),d.processEvents(p,t).pipe(_.map(t=>({state:e.state,events:t||[]})))):s.of({state:e.state,events:[]})}))}function eo(e){return"panel-alert"===e.eventType}class to extends Bi{constructor(e){super({isEnabled:!0,...e},["query"]),this._scopedVars={__sceneObject:Mn(this)},this._drilldownDependenciesManager=new ga(this._variableDependency)}onEnable(){this.publishEvent(new i.RefreshEvent,!0);const e=li.getTimeRange(this);this.setState({query:{...this.state.query,enable:!0}}),this._timeRangeSub=e.subscribeToState(()=>{this.runWithTimeRange(e)})}onDisable(){var e;this.publishEvent(new i.RefreshEvent,!0),this.setState({query:{...this.state.query,enable:!1}}),null==(e=this._timeRangeSub)||e.unsubscribe()}runLayer(){pe();const e=li.getTimeRange(this);this.runWithTimeRange(e)}async runWithTimeRange(e){var t;const{query:n}=this.state;if(n.enable)if(this._drilldownDependenciesManager.findAndSubscribeToDrilldowns(null==(t=n.datasource)?void 0:t.uid),this.querySub&&this.querySub.unsubscribe(),this._variableDependency.hasDependencyInLoadingState())pe();else try{let t=Xi(await this.resolveDataSource(n),e,n,this,this._drilldownDependenciesManager.getFilters(),this._drilldownDependenciesManager.getGroupByKeys()).pipe(Ct({type:"AnnotationsDataLayer/annotationsLoading",origin:this,cancel:()=>this.cancelQuery()}),s.map(e=>this.processEvents(n,e)));this.querySub=t.subscribe(e=>{this.publishResults(e)})}catch(e){this.publishResults({...Se,state:c.LoadingState.Error,errors:[{message:Ui(e)}]}),console.error("AnnotationsDataLayer error",e)}}async resolveDataSource(e){return await Rt(e.datasource||void 0,this._scopedVars)}processEvents(e,t){let n=(r=e,o=t.events||[],r.snapshotData&&delete(r=u.cloneDeep(r)).snapshotData,o.map(e=>{var t;const n={...e};switch(n.source=r,n.color=i.config.theme2.visualization.getColorByName(r.iconColor),n.type=r.name,n.isRegion=Boolean(n.timeEnd&&n.time!==n.timeEnd),null==(t=n.newState)?void 0:t.toLowerCase()){case"pending":n.color="yellow";break;case"alerting":n.color="red";break;case"ok":case"normal":n.color="green";break;case"no_data":case"nodata":n.color="gray"}return n}));var r,o;n=function(e){let t=[];const n=u.partition(e,"id"),r=u.groupBy(n[0],"id");return t=u.map(r,e=>e.length>1&&!u.every(e,eo)?u.find(e,e=>"panel-alert"!==e.eventType):u.head(e)),t=u.concat(t,n[1]),t}(n);const s={...Se,state:t.state},l=a.arrayToDataFrame(n);return l.meta={...l.meta,dataTopic:a.DataTopic.Annotations},s.series=[l],s}}to.Component=function({model:e}){const{isEnabled:t,isHidden:n}=e.useState(),r=`data-layer-${e.state.key}`;if(n)return null;return F.default.createElement(f.InlineSwitch,{className:no,id:r,value:t,onChange:()=>e.setState({isEnabled:!t})})};const no=h.css({borderBottomLeftRadius:0,borderTopLeftRadius:0});var ro=Object.freeze({__proto__:null,AnnotationsDataLayer:to});class ao extends Z{constructor(e){super(e),this._activationHandler=()=>{const e=this.getAncestorTimeRange();this.ancestorTimeRangeChanged(e.state),this._subs.add(e.subscribeToState(e=>this.ancestorTimeRangeChanged(e)))},this.addActivationHandler(this._activationHandler)}getAncestorTimeRange(){if(!this.parent||!this.parent.parent)throw new Error(typeof this+" must be used within $timeRange scope");return li.getTimeRange(this.parent.parent)}getTimeZone(){return this.getAncestorTimeRange().getTimeZone()}onTimeRangeChange(e){this.getAncestorTimeRange().onTimeRangeChange(e)}onTimeZoneChange(e){this.getAncestorTimeRange().onTimeZoneChange(e)}onRefresh(){this.getAncestorTimeRange().onRefresh()}}class io extends Z{constructor(){super({})}}function oo({layer:e}){var t,n;const r=`data-layer-${e.state.key}`,{data:a,isHidden:i}=e.useState(),o=Boolean(a&&a.state===c.LoadingState.Loading);return i?null:F.default.createElement("div",{className:so},F.default.createElement(Rn,{htmlFor:r,isLoading:o,onCancel:()=>{var t;return null==(t=e.cancelQuery)?void 0:t.call(e)},label:e.state.name,description:e.state.description,error:null==(n=null==(t=e.state.data)?void 0:t.errors)?void 0:n[0].message}),F.default.createElement(e.Component,{model:e}))}io.Component=function({model:e}){const t=li.getDataLayers(e,!0);if(0===t.length)return null;return F.default.createElement(F.default.Fragment,null,t.map(e=>F.default.createElement(oo,{layer:e,key:e.state.key})))};const so=h.css({display:"flex"});class lo extends Z{}function uo({variable:e,layout:t,showAlways:n,hideLabel:r}){return X(e,{shouldActivateOrKeepAlive:!0}).hide!==a.VariableHide.hideVariable||n?"vertical"===t?F.default.createElement("div",{className:po,"data-testid":p.selectors.pages.Dashboard.SubMenu.submenuItem},F.default.createElement(co,{variable:e,layout:t,hideLabel:r}),F.default.createElement(e.Component,{model:e})):F.default.createElement("div",{className:fo,"data-testid":p.selectors.pages.Dashboard.SubMenu.submenuItem},F.default.createElement(co,{variable:e,hideLabel:r}),F.default.createElement(e.Component,{model:e})):e.UNSAFE_renderAsHidden?F.default.createElement(e.Component,{model:e}):null}function co({variable:e,layout:t,hideLabel:n}){var r;const{state:i}=e;if(e.state.hide===a.VariableHide.hideLabel||n)return null;const o=`var-${i.key}`,s=i.label||i.name;return F.default.createElement(Rn,{htmlFor:o,isLoading:i.loading,onCancel:()=>{var t;return null==(t=e.onCancel)?void 0:t.call(e)},label:s,error:i.error,layout:t,description:null!=(r=i.description)?r:void 0})}lo.Component=function({model:e}){const t=li.getVariables(e).useState();return F.default.createElement(F.default.Fragment,null,t.variables.map(t=>F.default.createElement(uo,{key:t.state.key,variable:t,layout:e.state.layout})))};const fo=h.css({display:"flex","> :nth-child(2)":h.css({borderTopLeftRadius:0,borderBottomLeftRadius:0})}),po=h.css({display:"flex",flexDirection:"column"});class ho extends Z{}ho.Component=function({model:e}){const t=li.lookupVariable(e.state.variableName,e);if(!t)return null;return F.default.createElement(uo,{key:t.state.key,variable:t,layout:e.state.layout,showAlways:!0})};class mo extends Z{constructor(e){super(e),this._variablesToUpdate=new Set,this._updating=new Map,this._variableValueRecorder=new jt,this._variableDependency=new vo(this._handleParentVariableUpdatesCompleted.bind(this)),this._onActivate=()=>{const e=li.getTimeRange(this);this._subs.add(this.subscribeToEvent(Ve,e=>this._handleVariableValueChanged(e.payload))),this._subs.add(e.subscribeToState(()=>{this._refreshTimeRangeBasedVariables()})),this._subs.add(this.subscribeToState(this._onStateChanged)),this._checkForVariablesThatChangedWhileInactive();for(const e of this.state.variables)this._variableNeedsUpdate(e)&&this._variablesToUpdate.add(e);return this._updateNextBatch(),this._onDeactivate},this._onDeactivate=()=>{var e;for(const t of this._updating.values())null==(e=t.subscription)||e.unsubscribe();for(const e of this.state.variables)this._variablesToUpdate.has(e)||this._updating.has(e)||this._variableValueRecorder.recordCurrentValue(e);this._variablesToUpdate.clear(),this._updating.clear()},this._onStateChanged=(e,t)=>{const n=this._variablesToUpdate.size;for(const n of t.variables)if(!e.variables.includes(n)){const e=this._updating.get(n);(null==e?void 0:e.subscription)&&e.subscription.unsubscribe(),this._updating.delete(n),this._variablesToUpdate.delete(n)}for(const n of e.variables)t.variables.includes(n)||this._variableNeedsUpdate(n)&&this._variablesToUpdate.add(n);0===n&&this._variablesToUpdate.size>0&&this._updateNextBatch()},this.addActivationHandler(this._onActivate)}getByName(e){return this.state.variables.find(t=>t.state.name===e)}_refreshTimeRangeBasedVariables(){for(const e of this.state.variables)"refresh"in e.state&&e.state.refresh===a.VariableRefresh.onTimeRangeChanged&&this._variablesToUpdate.add(e);this._updateNextBatch()}_checkForVariablesThatChangedWhileInactive(){if(this._variableValueRecorder.hasValues())for(const e of this.state.variables)this._variableValueRecorder.hasValueChanged(e)&&(go(e,"Changed while in-active"),this._addDependentVariablesToUpdateQueue(e))}_variableNeedsUpdate(e){return!e.isLazy&&(!!e.validateAndUpdate&&(!this._variableValueRecorder.hasRecordedValue(e)||(go(e,"Skipping updateAndValidate current value valid"),!1)))}_updateNextBatch(){for(const e of this._variablesToUpdate){if(!e.validateAndUpdate){console.error("Variable added to variablesToUpdate but does not have validateAndUpdate");continue}if(this._updating.has(e))continue;if(li.hasVariableDependencyInLoadingState(e))continue;const t={variable:e};this._updating.set(e,t),go(e,"updateAndValidate started"),t.subscription=e.validateAndUpdate().subscribe({next:()=>this._validateAndUpdateCompleted(e),complete:()=>this._validateAndUpdateCompleted(e),error:t=>this._handleVariableError(e,t)})}}_validateAndUpdateCompleted(e){var t;if(!this._updating.has(e))return;const n=this._updating.get(e);null==(t=null==n?void 0:n.subscription)||t.unsubscribe(),this._updating.delete(e),this._variablesToUpdate.delete(e),go(e,"updateAndValidate completed"),this._notifyDependentSceneObjects(e),this._updateNextBatch()}cancel(e){var t;const n=this._updating.get(e);null==(t=null==n?void 0:n.subscription)||t.unsubscribe(),this._updating.delete(e),this._variablesToUpdate.delete(e)}_handleVariableError(e,t){var n;const r=this._updating.get(e);null==(n=null==r?void 0:r.subscription)||n.unsubscribe(),this._updating.delete(e),this._variablesToUpdate.delete(e),e.setState({loading:!1,error:t.message}),console.error("SceneVariableSet updateAndValidate error",t),go(e,"updateAndValidate error",t),this._notifyDependentSceneObjects(e),this._updateNextBatch()}_handleVariableValueChanged(e){this._addDependentVariablesToUpdateQueue(e),this._updating.has(e)||(this._updateNextBatch(),this._notifyDependentSceneObjects(e))}_handleParentVariableUpdatesCompleted(e,t){t&&this._addDependentVariablesToUpdateQueue(e),this._variablesToUpdate.size>0&&0===this._updating.size&&this._updateNextBatch()}_addDependentVariablesToUpdateQueue(e){for(const t of this.state.variables)t.variableDependency&&t.variableDependency.hasDependencyOn(e.state.name)&&(go(t,"Added to update queue, dependant variable value changed"),this._updating.has(t)&&t.onCancel&&t.onCancel(),t.validateAndUpdate&&this._variablesToUpdate.add(t),t.variableDependency.variableUpdateCompleted(e,!0))}_notifyDependentSceneObjects(e){this.parent&&this._traverseSceneAndNotify(this.parent,e,!0)}_traverseSceneAndNotify(e,t,n){if(this!==e&&e.isActive){if(e.state.$variables&&e.state.$variables!==this){const n=e.state.$variables.getByName(t.state.name);if(null==n?void 0:n.isAncestorLoading)t=n;else if(n)return}e.variableDependency&&e.variableDependency.variableUpdateCompleted(t,n),e.forEachChild(e=>this._traverseSceneAndNotify(e,t,n))}}isVariableLoadingOrWaitingToUpdate(e){return!!e.state.loading||(!(!e.isAncestorLoading||!e.isAncestorLoading())||(!(!this._variablesToUpdate.has(e)&&!this._updating.has(e))||li.hasVariableDependencyInLoadingState(e)))}}function go(e,t,n){pe(0,e.state.name)}class vo{constructor(e){this._variableUpdatesCompleted=e,this._emptySet=new Set}getNames(){return this._emptySet}hasDependencyOn(e){return!1}variableUpdateCompleted(e,t){this._variableUpdatesCompleted(e,t)}}class yo extends gt{constructor(e){super({type:"custom",query:"",valuesFormat:"csv",value:"",text:"",options:[],name:"",...e}),this._variableDependency=new Ha(this,{statePaths:["query"]})}transformCsvStringToOptions(e,t=!0){var n;return(null!=(n=(e=t?li.interpolate(this,e):e).match(/(?:\\,|[^,])+/g))?n:[]).map(e=>{var t;e=e.replace(/\\,/g,",");const n=null!=(t=/^\s*(.+)\s:\s(.+)$/g.exec(e))?t:[];if(3===n.length){const[,e,t]=n;return{label:e.trim(),value:t.trim()}}return{label:e.trim(),value:e.trim()}})}transformJsonToOptions(e){if(!e)return[];const t=JSON.parse(e);if(!Array.isArray(t)||t.some(e=>"object"!=typeof e||null===e))throw new Error("Query must be a JSON array of objects");const n="text",r="value";return t.map(e=>{var t;return{label:null==(t=String(e[n]||e[r]))?void 0:t.trim(),value:String(e[r]).trim(),properties:u.omit(e,[n,r])}})}getValueOptions(e){const t="json"===this.state.valuesFormat?this.transformJsonToOptions(this.state.query):this.transformCsvStringToOptions(this.state.query);return t.length||(this.skipNextValidation=!0),s.of(t)}}yo.Component=({model:e})=>F.default.createElement(hn,{model:e});class bo extends Z{constructor(e){super({type:"switch",value:"false",enabledValue:"true",disabledValue:"false",name:"",...e}),this._prevValue="",this._urlSync=new ke(this,{keys:()=>this.getKeys()})}validateAndUpdate(){const e=this.getValue();return this._prevValue!==e&&(this._prevValue=e,this.publishEvent(new Ve(this),!0)),s.of({})}setValue(e){this.getValue()!==e&&([this.state.enabledValue,this.state.disabledValue].includes(e)?(this.setState({value:e}),this.publishEvent(new Ve(this),!0)):console.error(`Invalid value for switch variable: "${e}". Valid values are: "${this.state.enabledValue}" and "${this.state.disabledValue}".`))}getValue(){return this.state.value}isEnabled(){return this.state.value===this.state.enabledValue}isDisabled(){return this.state.value===this.state.disabledValue}getKey(){return`var-${this.state.name}`}getKeys(){return this.state.skipUrlSync?[]:[this.getKey()]}getUrlState(){return this.state.skipUrlSync?{}:{[this.getKey()]:this.state.value}}updateFromUrl(e){const t=e[this.getKey()];"string"==typeof t&&this.setValue(t)}}function _o(e){return{container:h.css({display:"flex",alignItems:"center",padding:e.spacing(0,1),height:e.spacing(e.components.height.md),borderRadius:e.shape.radius.default,border:`1px solid ${e.components.input.borderColor}`,background:e.colors.background.primary})}}bo.Component=function({model:e}){const t=e.useState(),n=f.useStyles2(_o);return F.default.createElement("div",{className:n.container},F.default.createElement(f.Switch,{id:`var-switch-${t.key}`,value:t.value===t.enabledValue,onChange:n=>{e.setValue(n.currentTarget.checked?t.enabledValue:t.disabledValue)}}))};class wo extends gt{constructor(e){super({type:"datasource",value:"",text:"",options:[],name:"",regex:"",pluginId:"",...e}),this._variableDependency=new Ha(this,{statePaths:["regex"]})}getValueOptions(e){if(!this.state.pluginId)return s.of([]);const t=i.getDataSourceSrv().getList({metrics:!0,variables:!1,pluginId:this.state.pluginId});let n;if(this.state.regex){const e=li.interpolate(this,this.state.regex,void 0,"regex");n=a.stringToJsRegex(e)}const r=[];for(let e=0;e5)return[];for(const a of n){const n=`${e}${a}`;r.push({name:n,children:ko(n,t+1)})}return r}function Lo(e,t,n){if(n>=t.length)return e;if("*"===t[n])return e;const r=t[n];let a=[],i=[r];r.startsWith("{")&&(i=r.replace(/\{|\}/g,"").split(","));for(const r of e)for(const e of i)if(-1!==e.indexOf("*")){const i=e.replace("*","");new RegExp(`^${i}.*`,"gi").test(r.name)&&(a=a.concat(Lo([r],t,n+1)))}else r.name===e&&(a=a.concat(Lo(r.children,t,n+1)));return a}function xo(e){if(0===e.indexOf("value"))return[{name:e,children:[]}];return Lo(ko("",0),e.split("."),0)}wo.Component=({model:e})=>F.default.createElement(hn,{model:e});class Do extends gt{constructor(e,t=!1){super({type:"custom",name:"Test",value:"Value",text:d.t("grafana-scenes.variables.test-variable.text.text","Text"),query:"Query",options:[],refresh:a.VariableRefresh.onDashboardLoad,updateOptions:!0,...e}),this.completeUpdate=new s.Subject,this.isGettingValues=!0,this.getValueOptionsCount=0,this.isLazy=!1,this._variableDependency=new Ha(this,{statePaths:["query"]}),this.isLazy=t}getValueOptions(e){const{delayMs:t}=this.state;this.getValueOptionsCount+=1;const n=li.getQueryController(this);return new s.Observable(e=>{const r={type:"variable",origin:this,cancel:()=>e.complete()};if(n&&n.queryStarted(r),this.setState({loading:!0}),this.state.throwError)throw new Error(this.state.throwError);const a=li.interpolate(this,this.state.query),i=this.getOptions(a),o=this.completeUpdate.subscribe({next:()=>{const t={issuedQuery:a,loading:!1};this.state.updateOptions&&(t.options=i),this.setState(t),e.next(i),e.complete()}});let s;return t?s=window.setTimeout(()=>this.signalUpdateCompleted(),t):0===t&&this.signalUpdateCompleted(),this.isGettingValues=!0,()=>{o.unsubscribe(),window.clearTimeout(s),this.isGettingValues=!1,this.state.loading&&this.setState({loading:!1}),n&&n.queryCompleted(r)}})}cancel(){const e=Le(this,e=>e instanceof mo?e:void 0);null==e||e.cancel(this)}getOptions(e){return this.state.optionsToReturn?this.state.optionsToReturn:xo(e).map(e=>({label:e.name,value:e.name}))}signalUpdateCompleted(){this.completeUpdate.next(1)}}function To({model:e}){const{value:t,key:n,loading:r}=e.useState(),a=o.useCallback(t=>{e.setValue(t.currentTarget.value)},[e]),i=o.useCallback(t=>{"Enter"===t.key&&e.setValue(t.currentTarget.value)},[e]);return F.default.createElement(f.AutoSizeInput,{id:n,placeholder:d.t("grafana-scenes.variables.variable-value-input.placeholder-enter-value","Enter value"),minWidth:15,maxWidth:30,value:t,loading:r,onBlur:a,onKeyDown:i})}Do.Component=({model:e})=>F.default.createElement(hn,{model:e});class Eo extends Z{constructor(e){super({type:"textbox",value:"",name:"",...e}),this._urlSync=new ke(this,{keys:()=>this.getKeys()})}getValue(){return this.state.value}setValue(e){e!==this.state.value&&(this.setState({value:e}),this.publishEvent(new Ve(this),!0))}getKey(){return`var-${this.state.name}`}getKeys(){return this.state.skipUrlSync?[]:[this.getKey()]}getUrlState(){return this.state.skipUrlSync?{}:{[this.getKey()]:this.state.value}}updateFromUrl(e){const t=e[this.getKey()];"string"==typeof t&&this.setValue(t)}}Eo.Component=({model:e})=>F.default.createElement(To,{model:e});class Oo extends Z{constructor(e){super({type:"interval",value:"",intervals:["1m","10m","30m","1h","6h","12h","1d","7d","14d","30d"],name:"",autoStepCount:30,autoMinInterval:"10s",autoEnabled:!1,refresh:c.VariableRefresh.onTimeRangeChanged,...e}),this._onChange=e=>{this.setState({value:e.value}),this.publishEvent(new Ve(this),!0)},this._urlSync=new ke(this,{keys:()=>[this.getKey()]})}getKey(){return`var-${this.state.name}`}getUrlState(){return{[this.getKey()]:this.state.value}}updateFromUrl(e){const t={},n=e[this.getKey()];"string"==typeof n&&(n.startsWith("$__auto_interval_")?t.value=Je:t.value=n),this.setState(t)}getOptionsForSelect(){const{value:e,intervals:t,autoEnabled:n}=this.state;let r=t.map(e=>({value:e,label:e}));return n&&(r=[{value:Je,label:"Auto"},...r]),e&&!r.some(t=>t.value===e)&&r.push({value:e,label:e}),r}getValue(){const{value:e,autoStepCount:t,autoMinInterval:n}=this.state;return e===Je?this.getAutoRefreshInteval(t,n):e}getAutoRefreshInteval(e,t){const n=li.getTimeRange(this).state.value;return a.rangeUtil.calculateInterval(n,e,t).interval}validateAndUpdate(){const{value:e,intervals:t}=this.state;let n=!1;if(e===Je)n=!0;else if(!e&&t.length>0){const e=t[0];this.setState({value:e}),n=!0}return n&&this.publishEvent(new Ve(this),!0),s.of({})}}Oo.Component=({model:e})=>{const{key:t,value:n}=e.useState();return F.default.createElement(f.Select,{id:t,placeholder:d.t("grafana-scenes.variables.interval-variable.placeholder-select-value","Select value"),width:"auto",value:n,tabSelectsValue:!1,options:e.getOptionsForSelect(),onChange:e._onChange})};var Po,Yo,Co=e=>{throw TypeError(e)},Ao=(e,t,n)=>t.has(e)||Co("Cannot "+n),Ro=(e,t,n)=>(Ao(e,t,"read from private field"),n?n.call(e):t.get(e)),jo=(e,t,n)=>t.has(e)?Co("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Io=(e,t,n,r)=>(Ao(e,t,"write to private field"),t.set(e,n),n);class Fo extends a.BusEventWithPayload{}Fo.type="new-scene-object-added";class Ho{constructor(e={},t=i.locationService){this._options=e,this._locationService=t,this._paramsCache=new No(t),this._urlKeyMapper=new oe({namespace:e.namespace,excludeFromNamespace:e.excludeFromNamespace})}initSync(e){var t;if(this._subs&&(pe(0,0,null==(t=this._sceneRoot)||t.state.key),this._subs.unsubscribe()),pe(0,0,e.state.key),this._sceneRoot=e,this._subs=new s.Subscription,this._subs.add(e.subscribeToEvent(B,e=>{this.handleSceneObjectStateChanged(e.payload.changedObject)})),this._subs.add(e.subscribeToEvent(Fo,e=>{this.handleNewObject(e.payload)})),this._urlKeyMapper.clear(),this._lastLocation=this._locationService.getLocation(),this.handleNewObject(this._sceneRoot),this._options.updateUrlOnInit){const t=le(e,this._urlKeyMapper.getOptions());(function(e,t){for(let n in e)if(!de(t.getAll(n),e[n]))return!0;return!1})(t,this._paramsCache.getParams())&&this._locationService.partial(t,!0)}}cleanUp(e){this._sceneRoot===e&&(pe(),this._subs&&(this._subs.unsubscribe(),this._subs=void 0,pe(0,0,(this._sceneRoot.state.key,e.state.key))),this._sceneRoot=void 0,this._lastLocation=void 0)}handleNewLocation(e){this._sceneRoot&&this._lastLocation!==e&&(pe(),this._lastLocation=e,ue(this._sceneRoot,this._paramsCache.getParams(),this._urlKeyMapper))}handleNewObject(e){this._sceneRoot&&ue(e,this._paramsCache.getParams(),this._urlKeyMapper)}handleSceneObjectStateChanged(e){var t,n;if(!e.urlSync)return;const r=e.urlSync.getUrlState(),a=this._locationService.getSearch(),i={};for(const[t,n]of Object.entries(r)){const r=this._urlKeyMapper.getUniqueKey(t,e);de(a.getAll(r),n)||(i[r]=n)}if(Object.keys(i).length>0){const a=!0!==(null==(n=(t=e.urlSync).shouldCreateHistoryStep)?void 0:n.call(t,r));pe(),this._locationService.partial(i,a),this._lastLocation=this._locationService.getLocation()}}getUrlState(e){return le(e,this._urlKeyMapper.getOptions())}}class No{constructor(e){this.locationService=e,jo(this,Po),jo(this,Yo)}getParams(){const e=this.locationService.getLocation();return Ro(this,Yo)===e||(Io(this,Yo,e),Io(this,Po,new URLSearchParams(e.search))),Ro(this,Po)}}function zo(e,t={}){const n=r.useLocation(),a=pt(),[i,s]=o.useState(!1),l=function(e,t){return o.useMemo(()=>new Ho({updateUrlOnInit:e.updateUrlOnInit,createBrowserHistorySteps:e.createBrowserHistorySteps,namespace:e.namespace,excludeFromNamespace:e.excludeFromNamespace},t),[e.updateUrlOnInit,e.createBrowserHistorySteps,e.namespace,e.excludeFromNamespace,t])}(t,a);return o.useEffect(()=>(l.initSync(e),s(!0),()=>l.cleanUp(e)),[e,l]),o.useEffect(()=>{const e=a.getLocation(),t=e!==n?e:n;e!==n&&pe(),l.handleNewLocation(t)},[e,l,n,a]),i}Po=new WeakMap,Yo=new WeakMap;class Vo extends Z{constructor(e){super(e),this.addActivationHandler(()=>{const e=function(e){const t=window.__grafanaSceneContext;return pe(),window.__grafanaSceneContext=e,()=>{window.__grafanaSceneContext===e&&(pe(),window.__grafanaSceneContext=t)}}(this);return()=>{e()}})}}Vo.Component=function({model:e}){const{body:t,controls:n}=e.useState(),r=f.useStyles2(Wo);return F.default.createElement("div",{className:r.container},n&&F.default.createElement("div",{className:r.controls},n.map(e=>F.default.createElement(e.Component,{key:e.state.key,model:e}))),F.default.createElement("div",{className:r.body},F.default.createElement(t.Component,{model:t})))};const Wo=e=>({container:h.css({flexGrow:1,display:"flex",gap:e.spacing(2),minHeight:"100%",flexDirection:"column"}),body:h.css({flexGrow:1,display:"flex",gap:e.spacing(1)}),controls:h.css({display:"flex",gap:e.spacing(2),alignItems:"flex-end",flexWrap:"wrap"})});class $o extends Z{addItem(e){this.setState({items:this.state.items?[...this.state.items,e]:[e]})}setItems(e){this.setState({items:e})}}async function Uo(e,t,n,r){var a,o,s,l;const u=null==(a=e.request)?void 0:a.targets;if(!u)return"";const{from:c,to:d}=n,f=null==(o=e.request)?void 0:o.filters,p={__sceneObject:Mn(t)},h=(await Promise.allSettled(u.map(async e=>{var t;const n=await i.getDataSourceSrv().get(e.datasource);return(null==(t=n.interpolateVariablesInQueries)?void 0:t.call(n,[e],null!=p?p:{},f)[0])||e}))).filter(e=>"fulfilled"===e.status).map(e=>e.value).map(e=>{var t;return null!=(t=null==r?void 0:r(e))?t:e}),m=null!=h?h:[];let g=new Set(m.map(e=>{var t;return null==(t=e.datasource)?void 0:t.uid})).size>1?"-- Mixed --":null==(l=null==(s=m.find(e=>{var t;return!!(null==(t=e.datasource)?void 0:t.uid)}))?void 0:s.datasource)?void 0:l.uid;if((null==m?void 0:m.length)&&g&&c&&d){return`/explore?left=${encodeURIComponent(JSON.stringify({datasource:g,queries:m,range:{from:c,to:d}}))}`}return""}$o.Component=function({model:e}){const{items:t=[]}=e.useState(),n=F.default.useRef(null);o.useEffect(()=>{n.current&&n.current.focus()},[]);const r=e=>e.map(e=>{switch(e.type){case"divider":return F.default.createElement(f.Menu.Divider,{key:e.text});case"group":return F.default.createElement(f.Menu.Group,{key:e.text,label:e.text},e.subMenu?r(e.subMenu):void 0);default:return F.default.createElement(f.Menu.Item,{key:e.text,role:"menuitem",label:e.text,icon:e.iconClassName,childItems:e.subMenu?r(e.subMenu):void 0,url:e.href,onClick:e.onClick,shortcut:e.shortcut,testId:p.selectors.components.Panels.Panel.menuItems(e.text)})}});return F.default.createElement(f.Menu,{ref:n},r(t))};class Bo extends Z{constructor(e={}){super({options:e})}}Bo.Component=function({model:e}){const{options:t}=e.useState(),{data:n}=li.getData(e).useState(),{from:r,to:a}=li.getTimeRange(e).useState(),{value:o}=g.useAsync(async()=>n?Uo(n,e,{from:r,to:a},t.transform):"",[n,e,r,a]),s=i.useReturnToPrevious();if(o)return F.default.createElement(f.LinkButton,{key:"explore",icon:"compass",size:"sm",variant:"secondary",href:o,onClick:()=>{var e;t.returnToPrevious&&s(t.returnToPrevious.title,t.returnToPrevious.href),null==(e=t.onClick)||e.call(t)}},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.viz-panel-explore-button.explore"},"Explore"));return null};class qo extends Z{}function Go(e){return e instanceof os}qo.Component=function({model:e}){const{body:t}=e.useState(),n=e.parent;if(n&&(r=n,!(r instanceof ns))&&!Go(n))throw new Error("SceneGridItem must be a child of SceneGridLayout or SceneGridRow");var r;if(!t)return null;return F.default.createElement(t.Component,{model:t})};const Ko=h.css({flex:"1 1 auto",position:"relative",zIndex:1,width:"100%"}),Jo=F.default.forwardRef((e,t)=>{var n;const{grid:r,layoutItem:a,index:i,totalCount:o,isLazy:s,style:l,onLoad:u,onChange:c,children:d,...f}=e,p=r.getSceneLayoutChild(a.i),m=null==(n=p.getClassName)?void 0:n.call(p),g=F.default.createElement(p.Component,{model:p,key:p.state.key});return s?F.default.createElement(Vr,{...f,key:p.state.key,"data-griditem-key":p.state.key,className:h.cx(m,e.className),style:l,ref:t},g,d):F.default.createElement("div",{...f,ref:t,key:p.state.key,"data-griditem-key":p.state.key,className:h.cx(m,e.className),style:l},g,d)});function Qo(e,t,n){e.current?t?e.current.classList.add("react-grid-layout--enable-move-animations"):e.current.classList.remove("react-grid-layout--enable-move-animations"):n||setTimeout(()=>Qo(e,t,!0),50)}Jo.displayName="GridItemWrapper";const Zo=F.default.forwardRef(({handleAxis:e,...t},n)=>{const r=f.useStyles2(Xo);return F.default.createElement("div",{ref:n,...t,className:`${r} scene-resize-handle`},F.default.createElement("svg",{width:"16px",height:"16px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F.default.createElement("path",{d:"M21 15L15 21M21 8L8 21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))});function Xo(e){return h.css({position:"absolute",bottom:0,right:0,zIndex:999,padding:e.spacing(1.5,0,0,1.5),color:e.colors.border.strong,cursor:"se-resize","&:hover":{color:e.colors.text.link},svg:{display:"block"},".react-resizable-hide &":{display:"none"}})}Zo.displayName="ResizeHandle";class es extends a.BusEventWithPayload{}es.type="scene-grid-layout-drag-start";const ts=class e extends Z{constructor(e){super({...e,children:as(e.children)}),this._skipOnLayoutChange=!1,this._oldLayout=[],this._loadOldLayout=!1,this.onLayoutChange=e=>{if(this._skipOnLayoutChange)this._skipOnLayoutChange=!1;else{this._loadOldLayout&&(e=[...this._oldLayout],this._loadOldLayout=!1);for(const t of e){const e=this.getSceneLayoutChild(t.i),n={x:t.x,y:t.y,width:t.w,height:t.h};rs(e.state,n)||e.setState({...n})}this.setState({children:as(this.state.children)})}},this.onResizeStop=(e,t,n)=>{this.getSceneLayoutChild(n.i).setState({width:n.w,height:n.h})},this.onDragStart=e=>{this._oldLayout=[...e]},this.onDragStop=(e,t,n)=>{const r=this.getSceneLayoutChild(n.i),a=(e=is(e)).findIndex(e=>e.i===n.i);let i=this.findGridItemSceneParent(e,a-1),o=this.state.children;for(let t=0;t{this.publishEvent(new es({evt:e,panel:t}),!0)}}}adjustYPositions(e,t){for(const n of this.state.children)if(n.state.y>e&&n.setState({y:n.state.y+t}),n instanceof os)for(const r of n.state.children)r.state.y>e&&r.setState({y:r.state.y+t})}toggleRow(e){var t,n;if(!e.state.isCollapsed)return e.setState({isCollapsed:!0}),void this.setState({});const r=e.state.children;if(0===r.length)return e.setState({isCollapsed:!1}),void this.setState({});const a=e.state.y,i=(null!=(t=r[0].state.y)?t:a)-(a+1);let o=a;for(const e of r){const t={...e.state};t.y=null!=(n=t.y)?n:a,t.y-=i,t.y!==e.state.y&&e.setState(t),o=Math.max(o,Number(t.y)+Number(t.height))}const s=o-a-1;for(const t of this.state.children)if(t.state.y>a&&this.pushChildDown(t,s),Go(t)&&t!==e)for(const e of t.state.children)e.state.y>a&&this.pushChildDown(e,s);e.setState({isCollapsed:!1}),this.setState({})}ignoreLayoutChange(e){this._skipOnLayoutChange=e}getSceneLayoutChild(e){for(const t of this.state.children){if(t.state.key===e)return t;if(t instanceof os)for(const n of t.state.children)if(n.state.key===e)return n}throw new Error("Scene layout child not found for GridItem")}pushChildDown(e,t){e.setState({y:e.state.y+t})}findGridItemSceneParent(e,t){for(let n=t;n>=0;n--){const t=e[n],r=this.getSceneLayoutChild(t.i);if(r instanceof os)return r.state.isCollapsed?this:r}return this}isRowDropValid(t,n,r){if(t[t.length-1].i===n.i)return!0;const a=this.getSceneLayoutChild(t[r+1].i);return a instanceof os||a.parent instanceof e}moveChildTo(t,n){const r=t.parent;let a=this.state.children;const i=t.clone({key:t.state.key});if(r instanceof os){const e=r.clone();if(e.setState({children:e.state.children.filter(e=>e.state.key!==t.state.key)}),a=a.map(t=>t===r?e:t),n instanceof os){const e=n.clone();e.setState({children:[...e.state.children,i]}),a=a.map(t=>t===n?e:t)}else a=[...a,i]}else if(!(n instanceof e)){a=a.filter(e=>e.state.key!==t.state.key);const e=n.clone();e.setState({children:[...e.state.children,i]}),a=a.map(t=>t===n?e:t)}return a}toGridCell(e){const t=e.state;let n=Number.isFinite(Number(t.x))?Number(t.x):0,r=Number.isFinite(Number(t.y))?Number(t.y):0;const a=Number.isFinite(Number(t.width))?Number(t.width):4,i=Number.isFinite(Number(t.height))?Number(t.height):4;let o=e.state.isDraggable,s=e.state.isResizable;return e instanceof os&&(o=!!e.state.isCollapsed,s=!1),ht(e)&&(o=!1,s=!1),{i:e.state.key,x:n,y:r,h:i,w:a,isResizable:s,isDraggable:o}}buildGridLayout(e,t){let n=[];for(const e of this.state.children)if(n.push(this.toGridCell(e)),e instanceof os&&!e.state.isCollapsed)for(const t of e.state.children)n.push(this.toGridCell(t));return n=is(n),this.state.UNSAFE_fitPanels&&(n=function(e,t){const n=t-32,r=Math.max(...e.map(e=>e.h+e.y))/Math.floor(n/38);return e.map(e=>({...e,y:Math.round(e.y/r)||0,h:Math.round(e.h/r)||1}))}(n,t)),e<768?(this._skipOnLayoutChange=!0,n.map(e=>({...e,w:24}))):(this._skipOnLayoutChange=!1,n)}};ts.Component=function({model:e}){const{children:t,isLazy:n,isDraggable:r,isResizable:a}=e.useState(),[i,{width:s,height:l}]=g.useMeasure(),u=o.useRef(null);return o.useEffect(()=>{Qo(u,!!r)},[r]),function(e){if(e.some(e=>void 0===e.state.height||void 0===e.state.width||void 0===e.state.x||void 0===e.state.y))throw new Error("All children must have a size specified")}(t),F.default.createElement("div",{ref:i,className:Ko},((t,i)=>{if(!t||!i)return null;const o=e.buildGridLayout(t,i);return F.default.createElement("div",{ref:u,style:{width:`${t}px`,height:"100%"},className:"react-grid-layout"},F.default.createElement(N.default,{width:t,isDraggable:r&&t>768,isResizable:null!=a&&a,containerPadding:[0,0],useCSSTransforms:!0,margin:[8,8],cols:24,rowHeight:30,draggableHandle:`.grid-drag-handle-${e.state.key}`,draggableCancel:".grid-drag-cancel",layout:o,onDragStart:e.onDragStart,onDragStop:e.onDragStop,onResizeStop:e.onResizeStop,onLayoutChange:e.onLayoutChange,isBounded:!1,resizeHandle:F.default.createElement(Zo,null)},o.map((t,r)=>F.default.createElement(Jo,{key:t.i,grid:e,layoutItem:t,index:r,isLazy:n,totalCount:o.length}))))})(s,l))};let ns=ts;function rs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function as(e){return e.forEach(e=>{e instanceof os&&e.setState({children:as(e.state.children)})}),[...e].sort((e,t)=>e.state.y-t.state.y||e.state.x-t.state.x)}function is(e){return[...e].sort((e,t)=>e.y-t.y||e.x-t.x)}class os extends Z{constructor(e){super({children:e.children||[],isCollapsible:e.isCollapsible||!0,title:e.title||"",...e,x:0,height:1,width:24}),this._variableDependency=new Ha(this,{statePaths:["title"],handleTimeMacros:!0}),this.onCollapseToggle=()=>{this.state.isCollapsible&&this.getGridLayout().toggleRow(this)}}getGridLayout(){const e=this.parent;if(!(e&&e instanceof ns))throw new Error("SceneGridRow must be a child of SceneGridLayout");return e}getUrlState(){return{rowc:this.state.isCollapsed?"1":"0"}}updateFromUrl(e){null!=e.rowc&&e.rowc!==this.getUrlState().rowc&&this.onCollapseToggle()}getPanelCount(e){var t;let n=0;for(const r of e)n+=(null==(t=r.getChildCount)?void 0:t.call(r))||1;return n}}os.Component=function({model:e}){const t=f.useStyles2(ss),{isCollapsible:n,isCollapsed:r,title:a,actions:i,children:o}=e.useState(),s=e.getGridLayout(),l=s.getDragClass(),u=s.isDraggable()&&!ht(e),c=e.getPanelCount(o),m=1===c?"panel":"panels";return F.default.createElement("div",{className:h.cx(t.row,r&&t.rowCollapsed)},F.default.createElement("div",{className:t.rowTitleAndActionsGroup},F.default.createElement("button",{onClick:e.onCollapseToggle,className:t.rowTitleButton,"aria-label":r?d.t("grafana-scenes.components.scene-grid-row.expand-row","Expand row"):d.t("grafana-scenes.components.scene-grid-row.collapse-row","Collapse row"),"data-testid":p.selectors.components.DashboardRow.title(li.interpolate(e,a,void 0,"text"))},n&&F.default.createElement(f.Icon,{name:r?"angle-right":"angle-down"}),F.default.createElement("span",{className:t.rowTitle,role:"heading"},li.interpolate(e,a,void 0,"text"))),F.default.createElement("span",{className:h.cx(t.panelCount,r&&t.panelCountCollapsed)},"(",c," ",m,")"),i&&F.default.createElement("div",{className:t.rowActions},F.default.createElement(i.Component,{model:i}))),u&&r&&F.default.createElement("div",{className:h.cx(t.dragHandle,l)},F.default.createElement(f.Icon,{name:"draggabledots"})))};const ss=e=>({row:h.css({width:"100%",height:"30px",display:"flex",justifyContent:"space-between",gap:e.spacing(1)}),rowTitleButton:h.css({display:"flex",alignItems:"center",cursor:"pointer",background:"transparent",border:"none",minWidth:0,gap:e.spacing(1)}),rowCollapsed:h.css({borderBottom:`1px solid ${e.colors.border.weak}`}),rowTitle:h.css({fontSize:e.typography.h5.fontSize,fontWeight:e.typography.fontWeightMedium,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",flexGrow:1,minWidth:0}),collapsedInfo:h.css({fontSize:e.typography.bodySmall.fontSize,color:e.colors.text.secondary,display:"flex",alignItems:"center",flexGrow:1}),rowTitleAndActionsGroup:h.css({display:"flex",minWidth:0,"&:hover, &:focus-within":{"& > div":{opacity:1}}}),rowActions:h.css({display:"flex",whiteSpace:"nowrap",opacity:0,transition:"200ms opacity ease-in 200ms","&:hover, &:focus-within":{opacity:1}}),dragHandle:h.css({display:"flex",padding:e.spacing(0,1),alignItems:"center",justifyContent:"flex-end",cursor:"move",color:e.colors.text.secondary,"&:hover":{color:e.colors.text.primary}}),panelCount:h.css({whiteSpace:"nowrap",paddingLeft:e.spacing(2),color:e.colors.text.secondary,fontStyle:"italic",fontSize:e.typography.size.sm,fontWeight:"normal",display:"none",lineHeight:"30px"}),panelCountCollapsed:h.css({display:"inline-block"})});class ls extends Z{constructor(){super(...arguments),this.onToggle=()=>{this.setState({isCollapsed:!this.state.isCollapsed})},this.onRemove=()=>{const e=this.parent;"body"in e.state&&e.setState({body:void 0})}}}ls.Component=function({model:e}){const{title:t,isCollapsed:n,canCollapse:r,canRemove:a,body:i,controls:o}=e.useState(),s=f.useStyles2(ss),l=f.useStyles2(us),u=(null!=o?o:[]).map(e=>F.default.createElement(e.Component,{key:e.state.key,model:e}));a&&u.push(F.default.createElement(f.ToolbarButton,{icon:"times",variant:"default",onClick:e.onRemove,key:"remove-button","aria-label":d.t("grafana-scenes.components.nested-scene-renderer.remove-button-label","Remove scene")}));return F.default.createElement("div",{className:l.wrapper},F.default.createElement("div",{className:h.cx(l.row,n&&l.rowCollapsed)},F.default.createElement("button",{onClick:e.onToggle,className:s.rowTitleButton,"aria-label":n?d.t("grafana-scenes.components.nested-scene-renderer.expand-button-label","Expand scene"):d.t("grafana-scenes.components.nested-scene-renderer.collapse-button-label","Collapse scene")},r&&F.default.createElement(f.Icon,{name:n?"angle-right":"angle-down"}),F.default.createElement("span",{className:s.rowTitle,role:"heading"},li.interpolate(e,t,void 0,"text"))),F.default.createElement("div",{className:l.actions},u)),!n&&F.default.createElement(i.Component,{model:i}))};const us=e=>({wrapper:h.css({display:"flex",flexDirection:"column",flexGrow:1,gap:e.spacing(1)}),row:h.css({width:"100%",display:"flex",justifyContent:"space-between",gap:e.spacing(1)}),rowCollapsed:h.css({borderBottom:`1px solid ${e.colors.border.weak}`,paddingBottom:e.spacing(1)}),actions:h.css({display:"flex",alignItems:"center",gap:e.spacing(1),justifyContent:"flex-end",flexGrow:1})});class cs extends Z{constructor(){super(...arguments),this._variableDependency=new Ha(this,{statePaths:["text"]})}}cs.Component=function({model:e}){const{text:t,fontSize:n=20,align:r="left",key:a,spacing:i}=e.useState(),o=f.useTheme2(),s=h.css({fontSize:n,display:"flex",flexGrow:1,alignItems:"center",padding:i?o.spacing(i,0):void 0,justifyContent:r});return F.default.createElement("div",{className:s,"data-testid":a},li.interpolate(e,t))};class ds extends Z{}ds.Component=({model:e})=>{const t=e.useState();return F.default.createElement(f.ToolbarButton,{onClick:t.onClick,icon:t.icon})};class fs extends Z{}fs.Component=({model:e})=>{const t=e.useState();return F.default.createElement("div",{style:{display:"flex"}},t.label&&F.default.createElement(Rn,{label:t.label}),F.default.createElement(f.Input,{defaultValue:t.value,width:8,onBlur:t=>{e.state.onChange(parseInt(t.currentTarget.value,10))}}))};class ps extends Z{constructor(){super(...arguments),this.onZoom=()=>{const e=li.getTimeRange(this),t=function(e,t){const n=e.to.valueOf()-e.from.valueOf(),r=e.to.valueOf()-n/2,i=0===n?3e4:n*t,o=r+i/2,s=r-i/2;return{from:a.toUtc(s),to:a.toUtc(o),raw:{from:a.toUtc(s),to:a.toUtc(o)}}}(e.state.value,2);e.onTimeRangeChange(t)},this.onChangeFiscalYearStartMonth=e=>{li.getTimeRange(this).setState({fiscalYearStartMonth:e})},this.toAbsolute=()=>{const e=li.getTimeRange(this),t=e.state.value,n=a.toUtc(t.from),r=a.toUtc(t.to);e.onTimeRangeChange({from:n,to:r,raw:{from:n,to:r}})},this.onMoveBackward=()=>{const e=li.getTimeRange(this),{state:{value:t}}=e;e.onTimeRangeChange(hs(0,t))},this.onMoveForward=()=>{const e=li.getTimeRange(this),{state:{value:t}}=e;e.onTimeRangeChange(hs(1,t,Date.now()))}}}function hs(e,t,n){const r=t.to.valueOf(),i=t.from.valueOf(),o=(r-i)/2;let s,l;0===e?(s=i-o,l=r-o):(s=i+o,l=r+o,void 0!==n&&l>n&&r{var t;t=e,(a.isDateTime(t.raw.from)||a.isDateTime(t.raw.to))&&c([e,...null!=u?u:[]]),o.onTimeRangeChange(e)},timeZone:s,fiscalYearStartMonth:l.fiscalYearStartMonth,onMoveBackward:e.onMoveBackward,onMoveForward:e.onMoveForward,moveForwardTooltip:v?d.t("grafana-scenes.components.time-picker.move-forward-tooltip","Move {{moveForwardDuration}} forward",{moveForwardDuration:v}):void 0,moveBackwardTooltip:d.t("grafana-scenes.components.time-picker.move-backward-tooltip","Move {{moveBackwardDuration}} backward",{moveBackwardDuration:m}),onZoom:e.onZoom,onChangeTimeZone:o.onTimeZoneChange,onChangeFiscalYearStartMonth:e.onChangeFiscalYearStartMonth,weekStart:l.weekStart,history:u,quickRanges:p})};const ms="grafana.dashboard.timepicker.history";function gs(e){return JSON.parse(e).map(e=>a.rangeUtil.convertRawToRange(e,"utc",void 0,"YYYY-MM-DD HH:mm:ss"))}function vs(e){return JSON.stringify((t=e.map(e=>({from:"string"==typeof e.raw.from?e.raw.from:e.raw.from.toISOString(),to:"string"==typeof e.raw.to?e.raw.to:e.raw.to.toISOString()})),u.uniqBy(t,e=>e.from+e.to).slice(0,4)));var t}const ys=["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"];class bs extends Z{constructor(e){var t,n,r;super({refresh:"",...e,autoValue:void 0,autoEnabled:null==(t=e.autoEnabled)||t,autoMinInterval:null!=(n=e.autoMinInterval)?n:i.config.minRefreshInterval,intervals:(null!=(r=e.intervals)?r:ys).filter(t=>{var n;const r=null!=(n=e.minRefreshInterval)?n:i.config.minRefreshInterval;try{return!r||a.rangeUtil.intervalToMs(t)>=a.rangeUtil.intervalToMs(r)}catch(e){return!1}})}),this._urlSync=new ke(this,{keys:["refresh"]}),this._autoRefreshBlocked=!1,this.onRefresh=()=>{const e=li.getQueryController(this);if(null==e?void 0:e.state.isRunning)return e.cancelAll(),void e.cancelProfile();null==e||e.startProfile(Pe);const t=li.getTimeRange(this);this._intervalTimer&&clearInterval(this._intervalTimer),t.onRefresh(),this.setupIntervalTimer()},this.onIntervalChanged=e=>{this.setState({refresh:e}),this.setupIntervalTimer()},this.setupAutoTimeRangeListener=()=>li.getTimeRange(this).subscribeToState((e,t)=>{e.from===t.from&&e.to===t.to||this.setupIntervalTimer()}),this.calculateAutoRefreshInterval=()=>{var e;const t=li.getTimeRange(this),n=null!=(e=null==window?void 0:window.innerWidth)?e:2e3;return a.rangeUtil.calculateInterval(t.state.value,n,this.state.autoMinInterval)},this.setupIntervalTimer=()=>{var e;const t=li.getTimeRange(this),{refresh:n,intervals:r}=this.state;if((this._intervalTimer||""===n)&&clearInterval(this._intervalTimer),""===n)return;if(n!==f.RefreshPicker.autoOption.value&&r&&!r.includes(n))return;let i;if(null==(e=this._autoTimeRangeListener)||e.unsubscribe(),n===f.RefreshPicker.autoOption.value){const e=this.calculateAutoRefreshInterval();i=e.intervalMs,this._autoTimeRangeListener=this.setupAutoTimeRangeListener(),e.interval!==this.state.autoValue&&this.setState({autoValue:e.interval})}else i=a.rangeUtil.intervalToMs(n);this._intervalTimer=setInterval(()=>{if(this.isTabVisible()){const e=li.getQueryController(this);(null==e?void 0:e.state.isRunning)&&e.cancelProfile(),null==e||e.startProfile(Pe),t.onRefresh()}else this._autoRefreshBlocked=!0},i)},this.addActivationHandler(()=>{this.setupIntervalTimer();const e=()=>{this._autoRefreshBlocked&&"visible"===document.visibilityState&&(this._autoRefreshBlocked=!1,this.onRefresh())};return document.addEventListener("visibilitychange",e),()=>{var t;this._intervalTimer&&clearInterval(this._intervalTimer),document.removeEventListener("visibilitychange",e),null==(t=this._autoTimeRangeListener)||t.unsubscribe()}})}getUrlState(){let e=this.state.refresh;return"string"==typeof e&&0!==e.length||(e=void 0),{refresh:e}}updateFromUrl(e){const{intervals:t}=this.state;let n=e.refresh;"string"==typeof n&&function(e){try{return a.rangeUtil.describeInterval(e).count>0}catch(e){return!1}}(n)&&((null==t?void 0:t.includes(n))?this.setState({refresh:n}):this.setState({refresh:t?_s(n,t):void 0}))}isTabVisible(){return void 0===document.visibilityState||"visible"===document.visibilityState}}function _s(e,t){if(0===t.length)return;const n=a.rangeUtil.intervalToMs(e);let r=t[0];for(let e=1;en)break;r=t[e]}return r}bs.Component=function({model:e}){var t;const{refresh:n,intervals:r,autoEnabled:a,autoValue:i,isOnCanvas:o,primary:s,withText:l}=e.useState(),u=function(e){const t=li.getQueryController(e);if(!t)return!1;return t.useState().isRunning}(e);let c,p,h=n===(null==(t=f.RefreshPicker.autoOption)?void 0:t.value)?i:l?d.t("grafana-scenes.components.scene-refresh-picker.text-refresh","Refresh"):void 0;u&&(c=d.t("grafana-scenes.components.scene-refresh-picker.tooltip-cancel","Cancel all queries"),l&&(h=d.t("grafana-scenes.components.scene-refresh-picker.text-cancel","Cancel")));l&&(p="96px");return F.default.createElement(f.RefreshPicker,{showAutoInterval:a,value:n,intervals:r,tooltip:c,width:p,text:h,onRefresh:()=>{e.onRefresh()},primary:s,onIntervalChanged:e.onIntervalChanged,isLoading:u,isOnCanvas:null==o||o})};const ws=e=>`${e}-compare`,Ms="__previousPeriod",Ss="__noPeriod",ks={label:"Previous period",value:Ms},Ls={label:"None",value:Ss},xs=[{label:"Day before",value:"24h"},{label:"Week before",value:"1w"},{label:"Month before",value:"1M"}];class Ds extends Z{constructor(e){super({compareOptions:xs,...e}),this._urlSync=new ke(this,{keys:["compareWith"]}),this._onActivate=()=>{const e=li.getTimeRange(this);this.setState({compareOptions:this.getCompareOptions(e.state.value)}),this._subs.add(e.subscribeToState(e=>{const t=this.getCompareOptions(e.value),n={compareOptions:t};Boolean(this.state.compareWith)&&!t.find(({value:e})=>e===this.state.compareWith)&&(n.compareWith=Ms),this.setState(n)}))},this.getCompareOptions=e=>{const t=Math.ceil(e.to.diff(e.from)),n=xs.findIndex(({value:e})=>a.rangeUtil.intervalToMs(e)>=t);return[Ls,ks,...xs.slice(n).map(({label:e,value:t})=>({label:e,value:t}))]},this.onCompareWithChanged=e=>{e===Ss?this.onClearCompare():this.setState({compareWith:e})},this.onClearCompare=()=>{this.setState({compareWith:void 0})},this.addActivationHandler(this._onActivate)}getExtraQueries(e){const t=[],n=this.getCompareTimeRange(e.range);if(!n)return t;const r=e.targets.filter(e=>!1!==e.timeRangeCompare);return r.length&&t.push({req:{...e,targets:r,range:n},processor:Ts}),t}shouldRerun(e,t,n){return e.compareWith!==t.compareWith&&void 0!==n.find(e=>!1!==e.timeRangeCompare)}getCompareTimeRange(e){let t,n;if(this.state.compareWith){if(this.state.compareWith===Ms){const r=e.to.diff(e.from);t=a.dateTime(e.from).subtract(r),n=a.dateTime(e.to).subtract(r)}else t=a.dateTime(e.from).subtract(a.rangeUtil.intervalToMs(this.state.compareWith)),n=a.dateTime(e.to).subtract(a.rangeUtil.intervalToMs(this.state.compareWith));return{from:t,to:n,raw:{from:t,to:n}}}}getUrlState(){return{compareWith:this.state.compareWith}}updateFromUrl(e){if(!e.compareWith)return;const t=De(e.compareWith);if(t){this.getCompareOptions(li.getTimeRange(this).state.value).find(({value:e})=>e===t)?this.setState({compareWith:t}):this.setState({compareWith:"__previousPeriod"})}}}Ds.Component=function({model:e}){var t;const n=f.useStyles2(Es),{compareWith:r,compareOptions:a,hideCheckbox:i}=e.useState(),[o,s]=F.default.useState(r),l=null!=(t=a.find(({value:e})=>e===o))?t:ks,u=a.find(({value:e})=>e===r),c=Boolean(u),p=()=>{c?(s(r),e.onClearCompare()):c||e.onCompareWithChanged(l.value)},h=i&&!r?Ls:u,m=i||c,g=i&&h?{...h,label:`Comparison: ${h.label}`}:h;return F.default.createElement(f.ButtonGroup,null,!i&&F.default.createElement(f.ToolbarButton,{variant:"canvas",tooltip:d.t("grafana-scenes.components.scene-time-range-compare-renderer.button-tooltip","Enable time frame comparison"),onClick:e=>{e.stopPropagation(),e.preventDefault(),p()}},F.default.createElement(f.Checkbox,{label:" ",value:c,onClick:p}),F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.scene-time-range-compare-renderer.button-label"},"Comparison")),m?F.default.createElement(f.ButtonSelect,{variant:"canvas",value:g,options:a,onChange:t=>{e.onCompareWithChanged(t.value)}}):F.default.createElement(f.ToolbarButton,{className:n.previewButton,disabled:!0,variant:"canvas",isOpen:!1},l.label))};const Ts=(e,t)=>{const n=t.timeRange.from.diff(e.timeRange.from);return t.series.forEach(e=>{e.refId=ws(e.refId||""),e.meta={...e.meta,timeCompare:{diffMs:n,isTimeShiftQuery:!0}}}),s.of(t)};function Es(e){return{previewButton:h.css({"&:disabled":{border:`1px solid ${e.colors.secondary.border}`,color:e.colors.text.disabled,opacity:1}})}}class Os extends Z{constructor(e){super(e),this.addActivationHandler(()=>{const e=li.getData(this);this._subs.add(e.subscribeToState(e=>{var t;(null==(t=e.data)?void 0:t.state)===a.LoadingState.Done&&this.performRepeat(e.data)})),e.state.data&&this.performRepeat(e.state.data)})}performRepeat(e){const t=[];for(let n=0;n{const{body:t}=e.useState();return F.default.createElement(t.Component,{model:t})};class Ps extends Z{constructor(e){super(e),this._variableDependency=new Ha(this,{variableNames:[this.state.variableName],onVariableUpdateCompleted:()=>this.performRepeat()}),this.addActivationHandler(()=>this.performRepeat())}performRepeat(){if(this._variableDependency.hasDependencyInLoadingState())return;const e=li.lookupVariable(this.state.variableName,this);if(!(e instanceof gt))return void console.error("SceneByVariableRepeater: variable is not a MultiValueVariable");const t=function(e){const{value:t,text:n,options:r}=e.state;if(e.hasAllValue())return r;if(Array.isArray(t)&&Array.isArray(n))return t.map((e,t)=>({value:e,label:n[t]}));return[{value:t,label:n}]}(e),n=[];for(const e of t){const t=this.state.getLayoutChild(e);n.push(t)}this.state.body.setState({children:n})}}Ps.Component=({model:e})=>{const{body:t}=e.useState();return F.default.createElement(t.Component,{model:t})};class Ys extends Z{constructor(){super({}),this._renderBeforeActivation=!0}}Ys.Component=e=>F.default.createElement("div",{style:{flexGrow:1}});class Cs extends Z{toggleDirection(){this.setState({direction:"row"===this.state.direction?"column":"row"})}isDraggable(){return!1}}Cs.Component=function({model:e,parentState:t}){const{children:n,isHidden:r}=e.useState(),a=function(e,t){return o.useMemo(()=>{var n,r,a,o,s,l,u,c,d,f;const{direction:p="row",wrap:m}=e,g=i.config.theme2,v={};return t?Rs(v,e,t):(v.display="flex",v.flexGrow=1,v.minWidth=e.minWidth,v.minHeight=e.minHeight),v.flexDirection=p,v.gap="8px",v.flexWrap=m||"nowrap",v.alignContent="baseline",v.minWidth=v.minWidth||0,v.minHeight=v.minHeight||0,v[g.breakpoints.down("md")]={flexDirection:null!=(r=null==(n=e.md)?void 0:n.direction)?r:"column",maxWidth:null!=(o=null==(a=e.md)?void 0:a.maxWidth)?o:"unset",maxHeight:null!=(l=null==(s=e.md)?void 0:s.maxHeight)?l:"unset",height:null!=(c=null==(u=e.md)?void 0:u.height)?c:"unset",width:null!=(f=null==(d=e.md)?void 0:d.width)?f:"unset"},h.css(v)},[t,e])}(e.state,t);if(r)return null;return F.default.createElement("div",{className:a},n.map(t=>{const n=t.Component;return F.default.createElement(n,{key:t.state.key,model:t,parentState:e.state})}))};class As extends Z{}function Rs(e,t,n){var r,a,i;const o=null!=(r=n.direction)?r:"row",{xSizing:s="fill",ySizing:l="fill"}=t;return e.display="flex",e.position="relative",e.flexDirection=o,"column"===o?(t.height?e.height=t.height:e.flexGrow="fill"===l?1:0,t.width?e.width=t.width:e.alignSelf="fill"===s?"stretch":"flex-start"):(t.height?e.height=t.height:e.alignSelf="fill"===l?"stretch":"flex-start",t.width?e.width=t.width:e.flexGrow="fill"===s?1:0,t.wrap&&(e.flexWrap=t.wrap,"nowrap"!==t.wrap&&("row"===o?e.rowGap="8px":e.columnGap="8px"))),e.minWidth=t.minWidth,e.maxWidth=t.maxWidth,e.maxHeight=t.maxHeight,e.minHeight=null!=(a=t.minHeight)?a:n.minHeight,e.height=null!=(i=t.height)?i:n.height,e}As.Component=function({model:e,parentState:t}){if(!t)throw new Error("SceneFlexItem must be a child of SceneFlexLayout");const{body:n,isHidden:r}=e.useState(),a=function(e,t){return o.useMemo(()=>{var n,r,a,o,s,l,u,c,d,f;const p=i.config.theme2,m=Rs({},e,t);return m[p.breakpoints.down("md")]={maxWidth:null!=(r=null==(n=e.md)?void 0:n.maxWidth)?r:"unset",maxHeight:null!=(o=null==(a=e.md)?void 0:a.maxHeight)?o:"unset",height:null!=(u=null==(s=e.md)?void 0:s.height)?u:null==(l=t.md)?void 0:l.height,width:null!=(f=null==(c=e.md)?void 0:c.width)?f:null==(d=t.md)?void 0:d.width},h.css(m)},[e,t])}(e.state,t);if(!n||r)return null;return F.default.createElement("div",{className:a},F.default.createElement(n.Component,{model:n}))};class js extends Z{constructor(e){var t,n;super({rowGap:1,columnGap:1,templateColumns:"repeat(auto-fit, minmax(400px, 1fr))",autoRows:null!=(t=e.autoRows)?t:"320px",children:null!=(n=e.children)?n:[],...e})}isDraggable(){return!1}}js.Component=function({model:e}){const{children:t,isHidden:n,isLazy:r}=e.useState(),a=(s=e.state,o.useMemo(()=>{var e,t,n,r,a,o,l,u,c,d,f;const p={},m=i.config.theme2;return p.display="grid",p.gridTemplateColumns=s.templateColumns,p.gridTemplateRows=s.templateRows||"unset",p.gridAutoRows=s.autoRows||"unset",p.rowGap=m.spacing(null!=(e=s.rowGap)?e:1),p.columnGap=m.spacing(null!=(t=s.columnGap)?t:1),p.justifyItems=s.justifyItems||"unset",p.alignItems=s.alignItems||"unset",p.justifyContent=s.justifyContent||"unset",p.flexGrow=1,s.md&&(p[m.breakpoints.down("md")]={gridTemplateRows:null==(n=s.md)?void 0:n.templateRows,gridTemplateColumns:null==(r=s.md)?void 0:r.templateColumns,rowGap:s.md.rowGap?m.spacing(null!=(o=null==(a=s.md)?void 0:a.rowGap)?o:1):void 0,columnGap:s.md.columnGap?m.spacing(null!=(u=null==(l=s.md)?void 0:l.rowGap)?u:1):void 0,justifyItems:null==(c=s.md)?void 0:c.justifyItems,alignItems:null==(d=s.md)?void 0:d.alignItems,justifyContent:null==(f=s.md)?void 0:f.justifyContent}),h.css(p)},[s]));var s;if(n)return null;return F.default.createElement("div",{className:a},t.map(t=>{const n=t.Component;return r?F.default.createElement(Vr,{key:t.state.key,className:a},F.default.createElement(n,{key:t.state.key,model:t,parentState:e.state})):F.default.createElement(n,{key:t.state.key,model:t,parentState:e.state})}))};class Is extends Z{}Is.Component=function({model:e,parentState:t}){if(!t)throw new Error("SceneCSSGridItem must be a child of SceneCSSGridLayout");const{body:n,isHidden:r}=e.useState(),a=(i=e.state,o.useMemo(()=>{const e={};return e.gridColumn=i.gridColumn||"unset",e.gridRow=i.gridRow||"unset",e.position="relative",h.css(e)},[i]));var i;if(!n||r)return null;return F.default.createElement("div",{className:a},F.default.createElement(n.Component,{model:n}))};const Fs=new Set(["ArrowUp","ArrowDown"]),Hs=new Set(["ArrowLeft","ArrowRight"]),Ns={row:{dim:"width",axis:"clientX",min:"minWidth",max:"maxWidth"},column:{dim:"height",axis:"clientY",min:"minHeight",max:"maxHeight"}};function zs({direction:e="row",handleSize:t=32,initialSize:n="auto",primaryPaneStyles:r,secondaryPaneStyles:a,onDragFinished:i,children:s}){const l=F.default.Children.toArray(s),c=o.useRef(null),p=o.useRef(null),m=o.useRef(null),g=o.useRef(null),v=o.useRef(null),y=o.useRef("1fr"),b=o.useRef(void 0),_=o.useRef(void 0),w=Ns[e].dim,M=Ns[e].axis,S=Ns[e].min,k=Ns[e].max;!function(e,t,n=0,r){const a=u.throttle(t,n);o.useLayoutEffect(()=>{if(!e)return;const t=new ResizeObserver(a);return t.observe(e,{box:"device-pixel-content-box"}),()=>t.disconnect()},r)}(g.current,e=>{for(const t of e){if(!t.target.isSameNode(g.current))return;const e=p.current.getBoundingClientRect()[w],n=Ws(p.current);c.current.ariaValueNow=`${u.clamp((e-n[S])/(n[k]-n[S])*100,0,100)}`}},500,[k,S,e,w]);const L=o.useRef(null),x=o.useCallback(e=>{y.current=p.current.getBoundingClientRect()[w],v.current=g.current.getBoundingClientRect()[w],L.current=e[M],c.current.setPointerCapture(e.pointerId),b.current=Ws(p.current),_.current=void 0},[w,M]),D=o.useCallback(e=>{if(null!==L.current&&"1fr"!==y.current){const n=e[M]-L.current,r=b.current,a=u.clamp(y.current+n,r[S],r[k]),i=a/(v.current-t);p.current.style.flexGrow=`${i}`,m.current.style.flexGrow=""+(1-i);const o=u.clamp((a-r[S])/(r[k]-r[S])*100,0,100);c.current.ariaValueNow=`${o}`}},[t,M,S,k]),T=o.useCallback(e=>{e.preventDefault(),e.stopPropagation(),c.current.releasePointerCapture(e.pointerId),L.current=null,null==i||i(parseFloat(p.current.style.flexGrow))},[i]),E=o.useRef(new Set),O=o.useRef(null),P=o.useCallback(n=>{var r;if(0===E.current.size)return void(O.current=null);if("1fr"===y.current)return;const a=.3*(n-(null!=(r=O.current)?r:n));let i=0;"row"===e?(E.current.has("ArrowLeft")&&(i-=a),E.current.has("ArrowRight")&&(i+=a)):(E.current.has("ArrowUp")&&(i-=a),E.current.has("ArrowDown")&&(i+=a));const o=b.current,s=p.current.getBoundingClientRect()[w],l=u.clamp(s+i,o[S],o[k]),d=l/(v.current-t);p.current.style.flexGrow=`${d}`,m.current.style.flexGrow=""+(1-d);const f=(l-o[S])/(o[k]-o[S])*100;c.current.ariaValueNow=`${u.clamp(f,0,100)}`,O.current=n,window.requestAnimationFrame(P)},[e,t,S,k,w]),Y=o.useCallback(n=>{if("Enter"===n.key)return void(void 0===_.current?(_.current=p.current.style.flexGrow,p.current.style.flexGrow="0",m.current.style.flexGrow="1"):(p.current.style.flexGrow=_.current,m.current.style.flexGrow=""+(1-parseFloat(_.current)),_.current=void 0));if("Home"===n.key){b.current=Ws(p.current),v.current=g.current.getBoundingClientRect()[w];const e=b.current[S]/(v.current-t);return p.current.style.flexGrow=`${e}`,m.current.style.flexGrow=""+(1-e),void(c.current.ariaValueNow="0")}if("End"===n.key){b.current=Ws(p.current),v.current=g.current.getBoundingClientRect()[w];const e=b.current[k]/(v.current-t);return p.current.style.flexGrow=`${e}`,m.current.style.flexGrow=""+(1-e),void(c.current.ariaValueNow="100")}if(!("column"===e&&Fs.has(n.key)||"row"===e&&Hs.has(n.key))||E.current.has(n.key))return;_.current=void 0,n.preventDefault(),n.stopPropagation(),y.current=p.current.getBoundingClientRect()[w],v.current=g.current.getBoundingClientRect()[w],b.current=Ws(p.current);if(!E.current.has(n.key)){const e=0===E.current.size;E.current.add(n.key),e&&window.requestAnimationFrame(P)}},[e,P,t,k,w,S]),C=o.useCallback(t=>{"row"===e&&!Hs.has(t.key)||"column"===e&&!Fs.has(t.key)||(E.current.delete(t.key),null==i||i(parseFloat(p.current.style.flexGrow)))},[e,i]),A=o.useCallback(()=>{p.current.style.flexGrow="0.5",m.current.style.flexGrow="0.5";const e=Ws(p.current);b.current=e,y.current=p.current.getBoundingClientRect()[w],c.current.ariaValueNow=""+(y.current-e[S])/(e[k]-e[S])*100},[k,w,S]),R=o.useCallback(()=>{E.current.size>0&&(E.current.clear(),L.current=null,null==i||i(parseFloat(p.current.style.flexGrow)))},[i]),j=f.useStyles2(Vs),I=zr(),H=2===l.length?"visible":"hidden";return F.default.createElement("div",{ref:g,className:j.container,style:{flexDirection:e}},F.default.createElement("div",{ref:p,className:j.panel,style:{flexGrow:"auto"===n?.5:u.clamp(n,0,1),[S]:"min-content",...r},id:`start-panel-${I}`},l[0]),l[1]&&F.default.createElement(F.default.Fragment,null,F.default.createElement("div",{ref:c,style:{[w]:`${t}px`},className:h.cx(j.handle,{[j.handleHorizontal]:"column"===e}),onPointerUp:T,onPointerDown:x,onPointerMove:D,onKeyDown:Y,onKeyUp:C,onDoubleClick:A,onBlur:R,role:"separator","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":50,"aria-controls":`start-panel-${I}`,"aria-label":d.t("grafana-scenes.components.splitter.aria-label-pane-resize-widget","Pane resize widget"),tabIndex:0}),F.default.createElement("div",{ref:m,className:j.panel,style:{flexGrow:"auto"===n?.5:u.clamp(1-n,0,1),[S]:"min-content",visibility:`${H}`,...a},id:`end-panel-${I}`},l[1])))}function Vs(e){return{handle:h.css({cursor:"col-resize",position:"relative",flexShrink:0,userSelect:"none","&::before":{content:'""',position:"absolute",backgroundColor:e.colors.primary.main,left:"50%",transform:"translate(-50%)",top:0,height:"100%",width:"1px",opacity:0,transition:"opacity ease-in-out 0.2s"},"&::after":{content:'""',width:"4px",borderRadius:"4px",backgroundColor:e.colors.border.weak,transition:"background-color ease-in-out 0.2s",height:"50%",top:"calc(50% - (50%) / 2)",transform:"translateX(-50%)",position:"absolute",left:"50%"},"&:hover, &:focus-visible":{outline:"none","&::before":{opacity:1},"&::after":{backgroundColor:e.colors.primary.main}}}),handleHorizontal:h.css({cursor:"row-resize","&::before":{left:"inherit",transform:"translateY(-50%)",top:"50%",height:"1px",width:"100%"},"&::after":{width:"50%",height:"4px",top:"50%",transform:"translateY(-50%)",left:"calc(50% - (50%) / 2)"}}),container:h.css({display:"flex",width:"100%",flexGrow:1,overflow:"hidden"}),panel:h.css({display:"flex",position:"relative",flexBasis:0})}}function Ws(e){if(null===e)return;const t=document.body.style.overflow,n=e.style.width,r=e.style.height,a=e.style.flexGrow;document.body.style.overflow="hidden",e.style.flexGrow="0";const{width:i,height:o}=e.getBoundingClientRect();e.style.flexGrow="100";const{width:s,height:l}=e.getBoundingClientRect();return document.body.style.overflow=t,e.style.width=n,e.style.height=r,e.style.flexGrow=a,{minWidth:i,maxWidth:s,minHeight:o,maxHeight:l}}class $s extends Z{toggleDirection(){this.setState({direction:"row"===this.state.direction?"column":"row"})}isDraggable(){return!1}}$s.Component=function({model:e}){const{primary:t,secondary:n,direction:r,isHidden:a,initialSize:i,primaryPaneStyles:o,secondaryPaneStyles:s}=e.useState();if(a)return null;const l=t.Component,u=null==n?void 0:n.Component;let c=n?i:1;return F.default.createElement(zs,{direction:r,initialSize:null!=c?c:.5,primaryPaneStyles:o,secondaryPaneStyles:s},F.default.createElement(l,{key:t.state.key,model:t,parentState:e.state}),u&&n&&F.default.createElement(u,{key:n.state.key,model:n,parentState:e.state}))};class Us extends Z{constructor(){super(...arguments),this._renderBeforeActivation=!0}enrichDataRequest(){return{app:this.state.name||"app"}}}Us.Component=({model:e})=>{const{pages:t}=e.useState();return F.default.createElement(F.default.Fragment,null,F.default.createElement(Bs.Provider,{value:e},F.default.createElement(r.Routes,null,t.map(e=>F.default.createElement(r.Route,{key:e.state.url,path:e.state.routePath,element:F.default.createElement(e.Component,{model:e})})))))};const Bs=o.createContext(null),qs=new Map;class Gs extends Z{}function Ks({node:e}){const t=e.useState(),n=f.useStyles2(Js);return F.default.createElement("div",{className:n.container},Object.keys(t).map(r=>F.default.createElement("div",{className:n.row,key:r},F.default.createElement("div",{className:n.keyName},r),F.default.createElement("div",{className:n.value},function(e,t,n){if(null===t)return"null";switch(typeof t){case"number":return F.default.createElement(f.Input,{type:"number",defaultValue:t,onBlur:t=>n.setState({[e]:t.currentTarget.valueAsNumber})});case"string":return F.default.createElement(f.Input,{type:"text",defaultValue:t,onBlur:t=>n.setState({[e]:t.currentTarget.value})});case"object":return Lt(t)?t.constructor.name:u.isPlainObject(t)||u.isArray(t)?F.default.createElement(f.JSONFormatter,{json:t,open:0}):String(t);default:return typeof t}}(r,t[r],e)))))}function Js(e){return{container:h.css({flexGrow:1,display:"flex",gap:e.spacing(.5),flexDirection:"column"}),row:h.css({display:"flex",gap:e.spacing(2)}),keyName:h.css({display:"flex",flexGrow:"0",width:120,alignItems:"center",height:e.spacing(e.components.height.md)}),value:h.css({flexGrow:1,minHeight:e.spacing(e.components.height.md),display:"flex",alignItems:"center"})}}function Qs({node:e,selectedObject:t,onSelect:n}){const r=f.useStyles2(Zs),a=[],i=e===t;return e.forEachChild(e=>{a.push(F.default.createElement(Qs,{node:e,key:e.state.key,selectedObject:t,onSelect:n}))}),F.default.createElement("div",{className:r.container},F.default.createElement("div",{className:h.cx(r.name,i&&r.selected),onClick:()=>n(e)},e.constructor.name),F.default.createElement("div",{className:r.children},a))}function Zs(e){return{container:h.css({flexGrow:1,display:"flex",gap:e.spacing(.5),flexDirection:"column"}),name:h.css({flexGrow:1,display:"flex",gap:e.spacing(1),fontSize:e.typography.bodySmall.fontSize,cursor:"pointer",padding:e.spacing(0,1),borderRadius:e.shape.borderRadius(2),position:"relative","&:hover":{background:e.colors.background.secondary}}),selected:h.css({"&::before":{display:"block",content:"' '",position:"absolute",left:0,width:4,bottom:2,top:2,borderRadius:e.shape.radius.default,backgroundImage:e.colors.gradients.brandVertical}}),children:h.css({flexGrow:1,display:"flex",flexDirection:"column",paddingLeft:e.spacing(1)})}}function Xs({scene:e}){const t=f.useStyles2(el),[n,r]=o.useState(!1),[a,i]=o.useState();return F.default.createElement(F.default.Fragment,null,F.default.createElement(f.ToolbarButton,{variant:"canvas",icon:"bug",onClick:()=>r(!0)}),n&&F.default.createElement(f.Drawer,{title:d.t("grafana-scenes.components.scene-debugger.title-scene-debugger","Scene debugger"),onClose:()=>r(!1),size:"lg"},F.default.createElement("div",{className:t.panes},F.default.createElement("div",{className:t.pane1},F.default.createElement("div",{className:t.paneHeading},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.scene-debugger.scene-graph"},"Scene graph")),F.default.createElement(f.CustomScrollbar,{autoHeightMin:"100%"},F.default.createElement("div",{className:t.treeWrapper},F.default.createElement(Qs,{node:e,selectedObject:a,onSelect:i})))),F.default.createElement("div",{className:t.pane2},F.default.createElement("div",{className:t.paneHeading},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.scene-debugger.object-details"},"Object details")),a&&F.default.createElement(Ks,{node:a})))))}function el(e){return{panes:h.css({flexGrow:1,display:"flex",height:"100%",flexDirection:"row",marginTop:e.spacing(-2)}),pane1:h.css({flexGrow:0,display:"flex",height:"100%",flexDirection:"column",borderRight:`1px solid ${e.colors.border.weak}`}),pane2:h.css({flexGrow:1,display:"flex",minHeight:"100%",flexDirection:"column",paddingLeft:e.spacing(2)}),treeWrapper:h.css({paddingRight:e.spacing(2),height:"100%",marginLeft:e.spacing(-1)}),paneHeading:h.css({padding:e.spacing(1,0),fontWeight:e.typography.fontWeightMedium})}}function tl({page:e}){const t=V(e.state.url),n=function(e){if(e.parent instanceof al)return e.parent;return e}(e),a=n.useState(),s=function(){const e=r.useLocation();return i.locationSearchToObject(e.search||"")}(),l=e.getScene(t),u=o.useContext(Bs),c=a.initializedScene===l,{layout:d}=e.state,f=pt();o.useLayoutEffect(()=>{c||n.initializeScene(l)},[l,n,c]),o.useEffect(()=>()=>n.setState({initializedScene:void 0}),[n]);const p=zo(n,null==u?void 0:u.state.urlSyncOptions);if(!c&&!p)return null;const h={text:a.title,img:a.titleImg,icon:a.titleIcon,url:z(a.url,f.getSearchObject(),a.preserveUrlKeys),hideFromBreadcrumbs:a.hideFromBreadcrumbs,parentItem:nl(a.getParentPage?a.getParentPage():n.parent,s,f.getSearchObject())};a.tabs&&(h.children=a.tabs.map(t=>({text:t.state.title,icon:t.state.titleIcon,tabSuffix:t.state.tabSuffix,active:e===t,url:z(t.state.url,f.getSearchObject(),t.state.preserveUrlKeys),parentItem:h})));let m=[];return a.controls&&(m=a.controls.map(e=>F.default.createElement(e.Component,{model:e,key:e.state.key}))),s["scene-debugger"]&&m.push(F.default.createElement(Xs,{scene:n,key:"scene-debugger"})),F.default.createElement(i.PluginPage,{layout:d,pageNav:h,actions:m,renderTitle:a.renderTitle,subTitle:a.subTitle},F.default.createElement(l.Component,{model:l}))}function nl(e,t,n){if(e instanceof al)return{text:e.state.title,url:z(e.state.url,n,e.state.preserveUrlKeys),hideFromBreadcrumbs:e.state.hideFromBreadcrumbs,parentItem:nl(e.state.getParentPage?e.state.getParentPage():e.parent,t,n)}}function rl({drilldown:e,parent:t}){const n=V(e.routePath),r=t.getDrilldownPage(e,n);return F.default.createElement(r.Component,{model:r})}Gs.Component=({model:e})=>{const{component:t,props:n,reactNode:r}=e.useState();return t?F.default.createElement(t,{...n}):r||null};class al extends Z{constructor(){super(...arguments),this._sceneCache=new Map,this._drilldownCache=new Map}initializeScene(e){this.setState({initializedScene:e})}getScene(e){let t=this._sceneCache.get(e.url);if(t)return t;if(!this.state.getScene)throw new Error("Missing getScene on SceneAppPage "+this.state.title);return t=this.state.getScene(e),this._sceneCache.set(e.url,t),t}getDrilldownPage(e,t){let n=this._drilldownCache.get(t.url);return n||(n=e.getPage(t,this),this._drilldownCache.set(t.url,n),n)}enrichDataRequest(e){if(this.state.getParentPage)return this.state.getParentPage().enrichDataRequest(e);if(!this.parent)return null;const t=this.getRoot();return xt(t)?t.enrichDataRequest(e):null}}al.Component=function({model:e}){const{tabs:t,drilldowns:n}=e.useState(),a=[];if(a.push(function(e){var t,n,a;return F.default.createElement(r.Route,{key:"fallback route",path:"*",element:F.default.createElement(tl,{page:null!=(a=null==(n=(t=e.state).getFallbackPage)?void 0:n.call(t))?a:new al({url:"",title:d.t("grafana-scenes.components.fallback-page.title","Not found"),subTitle:d.t("grafana-scenes.components.fallback-page.subTitle","The url did not match any page"),routePath:"*",getScene:()=>new Vo({body:new Cs({direction:"column",children:[new As({body:new Gs({component:()=>F.default.createElement("div",{"data-testid":"default-fallback-content"},F.default.createElement(d.Trans,{i18nKey:"grafana-scenes.components.fallback-page.content"},"If you found your way here using a link then there might be a bug in this application."))})})]})})})})})}(e)),t&&t.length>0)for(let n=0;nF.default.createElement(rl,{drilldown:t,parent:e})}));t||a.push(F.default.createElement(r.Route,{key:"home route",path:"/",element:F.default.createElement(tl,{page:e})}));return F.default.createElement(r.Routes,null,a)};class il{constructor(){this._overrides=[]}overrideColor(e){return this._overrides[this._overrides.length-1].properties.push({id:"color",value:e}),this}overrideDecimals(e){return this._overrides[this._overrides.length-1].properties.push({id:"decimals",value:e}),this}overrideDisplayName(e){return this._overrides[this._overrides.length-1].properties.push({id:"displayName",value:e}),this}overrideFilterable(e){return this._overrides[this._overrides.length-1].properties.push({id:"filterable",value:e}),this}overrideLinks(e){return this._overrides[this._overrides.length-1].properties.push({id:"links",value:e}),this}overrideMappings(e){return this._overrides[this._overrides.length-1].properties.push({id:"mappings",value:e}),this}overrideMax(e){return this._overrides[this._overrides.length-1].properties.push({id:"max",value:e}),this}overrideMin(e){return this._overrides[this._overrides.length-1].properties.push({id:"min",value:e}),this}overrideNoValue(e){return this._overrides[this._overrides.length-1].properties.push({id:"noValue",value:e}),this}overrideThresholds(e){return this._overrides[this._overrides.length-1].properties.push({id:"thresholds",value:e}),this}overrideUnit(e){return this._overrides[this._overrides.length-1].properties.push({id:"unit",value:e}),this}}class ol extends il{match(e){return this._overrides.push({matcher:e,properties:[]}),this}matchFieldsWithName(e){return this._overrides.push({matcher:{id:a.FieldMatcherID.byName,options:e},properties:[]}),this}matchFieldsWithNameByRegex(e){return this._overrides.push({matcher:{id:a.FieldMatcherID.byRegexp,options:e},properties:[]}),this}matchFieldsByType(e){return this._overrides.push({matcher:{id:a.FieldMatcherID.byType,options:e},properties:[]}),this}matchFieldsByQuery(e){return this._overrides.push({matcher:{id:a.FieldMatcherID.byFrameRefID,options:e},properties:[]}),this}matchFieldsByValue(e){return this._overrides.push({matcher:{id:a.FieldMatcherID.byValue,options:e},properties:[]}),this}matchComparisonQuery(e){return this.matchFieldsByQuery(ws(e))}overrideCustomFieldConfig(e,t){const n=`custom.${String(e)}`;return this._overrides[this._overrides.length-1].properties.push({id:n,value:t}),this}build(){return this._overrides}}class sl{constructor(e){this.defaultFieldConfig=e,this._fieldConfig={defaults:{},overrides:[]},this._overridesBuilder=new ol,this.setDefaults()}setDefaults(){const e={defaults:{custom:this.defaultFieldConfig?u.cloneDeep(this.defaultFieldConfig()):{}},overrides:[]};this._fieldConfig=e}setColor(e){return this.setFieldConfigDefaults("color",e)}setDecimals(e){return this.setFieldConfigDefaults("decimals",e)}setDisplayName(e){return this.setFieldConfigDefaults("displayName",e)}setFilterable(e){return this.setFieldConfigDefaults("filterable",e)}setLinks(e){return this.setFieldConfigDefaults("links",e)}setMappings(e){return this.setFieldConfigDefaults("mappings",e)}setMax(e){return this.setFieldConfigDefaults("max",e)}setMin(e){return this.setFieldConfigDefaults("min",e)}setNoValue(e){return this.setFieldConfigDefaults("noValue",e)}setThresholds(e){return this.setFieldConfigDefaults("thresholds",e)}setUnit(e){return this.setFieldConfigDefaults("unit",e)}setCustomFieldConfig(e,t){return this._fieldConfig.defaults={...this._fieldConfig.defaults,custom:u.merge(this._fieldConfig.defaults.custom,{[e]:t})},this}setOverrides(e){return e(this._overridesBuilder),this}setFieldConfigDefaults(e,t){return this._fieldConfig.defaults={...this._fieldConfig.defaults,[e]:t},this}build(){return{defaults:this._fieldConfig.defaults,overrides:this._overridesBuilder.build()}}}class ll{constructor(e){this.defaultOptions=e,this._options={},this.setDefaults()}setDefaults(){this._options=this.defaultOptions?u.cloneDeep(this.defaultOptions()):{}}setOption(e,t){return this._options=u.merge(this._options,{[e]:t}),this}build(){return this._options}}class ul{constructor(e,t,n,r){this._state={},this._state.title="",this._state.description="",this._state.displayMode="default",this._state.hoverHeader=!1,this._state.pluginId=e,this._state.pluginVersion=t,this._fieldConfigBuilder=new sl(r),this._panelOptionsBuilder=new ll(n)}setTitle(e){return this._state.title=e,this}setDescription(e){return this._state.description=e,this}setDisplayMode(e){return this._state.displayMode=e,this}setHoverHeader(e){return this._state.hoverHeader=e,this}setShowMenuAlways(e){return this._state.showMenuAlways=e,this}setMenu(e){return this._state.menu=e,this}setHeaderActions(e){return this._state.headerActions=e,this}setCollapsible(e){return this._state.collapsible=e,this}setCollapsed(e){return this._state.collapsed=e,this}setColor(e){return this._fieldConfigBuilder.setColor(e),this}setDecimals(e){return this._fieldConfigBuilder.setDecimals(e),this}setDisplayName(e){return this._fieldConfigBuilder.setDisplayName(e),this}setFilterable(e){return this._fieldConfigBuilder.setFilterable(e),this}setLinks(e){return this._fieldConfigBuilder.setLinks(e),this}setMappings(e){return this._fieldConfigBuilder.setMappings(e),this}setMax(e){return this._fieldConfigBuilder.setMax(e),this}setMin(e){return this._fieldConfigBuilder.setMin(e),this}setNoValue(e){return this._fieldConfigBuilder.setNoValue(e),this}setThresholds(e){return this._fieldConfigBuilder.setThresholds(e),this}setUnit(e){return this._fieldConfigBuilder.setUnit(e),this}setCustomFieldConfig(e,t){return this._fieldConfigBuilder.setCustomFieldConfig(e,t),this}setOverrides(e){return this._fieldConfigBuilder.setOverrides(e),this}setOption(e,t){return this._panelOptionsBuilder.setOption(e,t),this}setData(e){return this._state.$data=e,this}setTimeRange(e){return this._state.$timeRange=e,this}setVariables(e){return this._state.$variables=e,this}setBehaviors(e){return this._state.$behaviors=e,this}setSeriesLimit(e){return this._state.seriesLimit=e,this}applyMixin(e){return e(this),this}build(){return new ha({...this._state,options:this._panelOptionsBuilder.build(),fieldConfig:this._fieldConfigBuilder.build()})}}const cl={barchart:()=>new ll(()=>M.defaultOptions),bargauge:()=>new ll(()=>S.defaultOptions),datagrid:()=>new ll(()=>k.defaultOptions),flamegraph:()=>new ll,gauge:()=>new ll(()=>L.defaultOptions),geomap:()=>new ll(()=>x.defaultOptions),heatmap:()=>new ll(()=>D.defaultOptions),histogram:()=>new ll(()=>T.defaultOptions),logs:()=>new ll,news:()=>new ll(()=>E.defaultOptions),nodegraph:()=>new ll,piechart:()=>new ll(()=>O.defaultOptions),stat:()=>new ll(()=>P.defaultOptions),statetimeline:()=>new ll(()=>Y.defaultOptions),statushistory:()=>new ll(()=>C.defaultOptions),table:()=>new ll(()=>A.defaultOptions),text:()=>new ll(()=>R.defaultOptions),timeseries:()=>new ll,trend:()=>new ll,traces:()=>new ll,xychart:()=>new ll(()=>j.defaultOptions)},dl={barchart:()=>new sl(()=>M.defaultFieldConfig),bargauge:()=>new sl,datagrid:()=>new sl,flamegraph:()=>new sl,gauge:()=>new sl,geomap:()=>new sl,heatmap:()=>new sl,histogram:()=>new sl(()=>T.defaultFieldConfig),logs:()=>new sl,news:()=>new sl,nodegraph:()=>new sl,piechart:()=>new sl,stat:()=>new sl,statetimeline:()=>new sl(()=>Y.defaultFieldConfig),statushistory:()=>new sl(()=>C.defaultFieldConfig),table:()=>new sl,text:()=>new sl,timeseries:()=>new sl,trend:()=>new sl,traces:()=>new sl,xychart:()=>new sl(()=>j.defaultFieldConfig)},fl={barchart:()=>new ul("barchart","10.0.0",()=>M.defaultOptions,()=>M.defaultFieldConfig),bargauge:()=>new ul("bargauge","10.0.0",()=>S.defaultOptions),datagrid:()=>new ul("datagrid","10.0.0",()=>k.defaultOptions),flamegraph:()=>new ul("flamegraph","10.0.0"),gauge:()=>new ul("gauge","10.0.0",()=>L.defaultOptions),geomap:()=>new ul("geomap","10.0.0",()=>x.defaultOptions),heatmap:()=>new ul("heatmap","10.0.0",()=>D.defaultOptions),histogram:()=>new ul("histogram","10.0.0",()=>T.defaultOptions,()=>T.defaultFieldConfig),logs:()=>new ul("logs","10.0.0"),news:()=>new ul("news","10.0.0",()=>E.defaultOptions),nodegraph:()=>new ul("nodeGraph","10.0.0"),piechart:()=>new ul("piechart","10.0.0",()=>O.defaultOptions),stat:()=>new ul("stat","10.0.0",()=>P.defaultOptions),statetimeline:()=>new ul("state-timeline","10.0.0",()=>Y.defaultOptions,()=>Y.defaultFieldConfig),statushistory:()=>new ul("status-history","10.0.0",()=>C.defaultOptions,()=>C.defaultFieldConfig),table:()=>new ul("table","10.0.0",()=>A.defaultOptions),text:()=>new ul("text","10.0.0",()=>R.defaultOptions),timeseries:()=>new ul("timeseries","10.0.0"),trend:()=>new ul("trend","10.0.0"),traces:()=>new ul("traces","10.0.0"),xychart:()=>new ul("xychart","10.0.0",()=>j.defaultOptions,()=>j.defaultFieldConfig)};class pl{constructor(e,t,n,r){this._pluginId=e,this._pluginVersion=t,this._fieldConfigBuilder=new sl(r),this._panelOptionsBuilder=new ll(n)}setColor(e){return this._fieldConfigBuilder.setColor(e),this}setDecimals(e){return this._fieldConfigBuilder.setDecimals(e),this}setDisplayName(e){return this._fieldConfigBuilder.setDisplayName(e),this}setFilterable(e){return this._fieldConfigBuilder.setFilterable(e),this}setLinks(e){return this._fieldConfigBuilder.setLinks(e),this}setMappings(e){return this._fieldConfigBuilder.setMappings(e),this}setMax(e){return this._fieldConfigBuilder.setMax(e),this}setMin(e){return this._fieldConfigBuilder.setMin(e),this}setNoValue(e){return this._fieldConfigBuilder.setNoValue(e),this}setThresholds(e){return this._fieldConfigBuilder.setThresholds(e),this}setUnit(e){return this._fieldConfigBuilder.setUnit(e),this}setCustomFieldConfig(e,t){return this._fieldConfigBuilder.setCustomFieldConfig(e,t),this}setOverrides(e){return this._fieldConfigBuilder.setOverrides(e),this}setOption(e,t){return this._panelOptionsBuilder.setOption(e,t),this}build(){return{pluginId:this._pluginId,pluginVersion:this._pluginVersion,options:this._panelOptionsBuilder.build(),fieldConfig:this._fieldConfigBuilder.build()}}}const hl={barchart:()=>new pl("barchart","10.0.0",()=>M.defaultOptions,()=>M.defaultFieldConfig),bargauge:()=>new pl("bargauge","10.0.0",()=>S.defaultOptions),datagrid:()=>new pl("datagrid","10.0.0",()=>k.defaultOptions),flamegraph:()=>new pl("flamegraph","10.0.0"),gauge:()=>new pl("gauge","10.0.0",()=>L.defaultOptions),geomap:()=>new pl("geomap","10.0.0",()=>x.defaultOptions),heatmap:()=>new pl("heatmap","10.0.0",()=>D.defaultOptions),histogram:()=>new pl("histogram","10.0.0",()=>T.defaultOptions,()=>T.defaultFieldConfig),logs:()=>new pl("logs","10.0.0"),news:()=>new pl("news","10.0.0",()=>E.defaultOptions),nodegraph:()=>new pl("nodeGraph","10.0.0"),piechart:()=>new pl("piechart","10.0.0",()=>O.defaultOptions),stat:()=>new pl("stat","10.0.0",()=>P.defaultOptions),statetimeline:()=>new pl("state-timeline","10.0.0",()=>Y.defaultOptions,()=>Y.defaultFieldConfig),statushistory:()=>new pl("status-history","10.0.0",()=>C.defaultOptions,()=>C.defaultFieldConfig),table:()=>new pl("table","10.0.0",()=>A.defaultOptions),text:()=>new pl("text","10.0.0",()=>R.defaultOptions),timeseries:()=>new pl("timeseries","10.0.0"),trend:()=>new pl("trend","10.0.0"),traces:()=>new pl("traces","10.0.0"),xychart:()=>new pl("xychart","10.0.0",()=>j.defaultOptions,()=>j.defaultFieldConfig)};const ml=d.LANGUAGES.reduce((e,t)=>(e[t.code]=async()=>await function(e){switch(e){case"../locales/cs-CZ/grafana-scenes.json":return Promise.resolve().then(function(){return n(11566)});case"../locales/de-DE/grafana-scenes.json":return Promise.resolve().then(function(){return n(79849)});case"../locales/en-US/grafana-scenes.json":return Promise.resolve().then(function(){return n(2802)});case"../locales/es-ES/grafana-scenes.json":return Promise.resolve().then(function(){return n(30161)});case"../locales/fr-FR/grafana-scenes.json":return Promise.resolve().then(function(){return n(42874)});case"../locales/hu-HU/grafana-scenes.json":return Promise.resolve().then(function(){return n(78477)});case"../locales/id-ID/grafana-scenes.json":return Promise.resolve().then(function(){return n(4382)});case"../locales/it-IT/grafana-scenes.json":return Promise.resolve().then(function(){return n(25217)});case"../locales/ja-JP/grafana-scenes.json":return Promise.resolve().then(function(){return n(54351)});case"../locales/ko-KR/grafana-scenes.json":return Promise.resolve().then(function(){return n(17625)});case"../locales/nl-NL/grafana-scenes.json":return Promise.resolve().then(function(){return n(67195)});case"../locales/pl-PL/grafana-scenes.json":return Promise.resolve().then(function(){return n(36147)});case"../locales/pt-BR/grafana-scenes.json":return Promise.resolve().then(function(){return n(23956)});case"../locales/pt-PT/grafana-scenes.json":return Promise.resolve().then(function(){return n(919)});case"../locales/ru-RU/grafana-scenes.json":return Promise.resolve().then(function(){return n(47953)});case"../locales/sv-SE/grafana-scenes.json":return Promise.resolve().then(function(){return n(21971)});case"../locales/tr-TR/grafana-scenes.json":return Promise.resolve().then(function(){return n(7871)});case"../locales/zh-Hans/grafana-scenes.json":return Promise.resolve().then(function(){return n(50971)});case"../locales/zh-Hant/grafana-scenes.json":return Promise.resolve().then(function(){return n(45925)});default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../locales/${t.code}/grafana-scenes.json`),e),{}),gl={getUrlWithAppState:z,registerRuntimePanelPlugin:function({pluginId:e,plugin:t}){if(W.has(e))throw new Error(`A runtime panel plugin with id ${e} has already been registered`);t.meta={...t.meta,id:e,name:e,module:"runtime plugin",baseUrl:"runtime plugin",info:{author:{name:"Runtime plugin "+e},description:"",links:[],logos:{large:"",small:""},screenshots:[],updated:"",version:""}},W.set(e,t)},registerRuntimeDataSource:ae,registerVariableMacro:function(e,t,n=!1){if(!n&&St.get(e))throw new Error(`Macro already registered ${e}`);return St.set(e,t),()=>{if(n)throw new Error("Replaced macros can not be unregistered. They need to be restored manually.");St.delete(e)}},cloneSceneObjectState:te,syncStateFromSearchParams:function(e,t,n){ue(e,t,new oe(n))},getUrlState:le,renderPrometheusLabelFilters:ka,escapeLabelValueInRegexSelector:xa,escapeLabelValueInExactSelector:La,escapeURLDelimiters:function(e){return Oa(Ea(e))},isAdHocVariable:function(e){return"adhoc"===e.state.type},isConstantVariable:function(e){return"constant"===e.state.type},isCustomVariable:function(e){return"custom"===e.state.type},isDataSourceVariable:function(e){return"datasource"===e.state.type},isIntervalVariable:function(e){return"interval"===e.state.type},isQueryVariable:function(e){return"query"===e.state.type},isTextBoxVariable:function(e){return"textbox"===e.state.type},isGroupByVariable:function(e){return"groupby"===e.state.type},isSwitchVariable:function(e){return"switch"===e.state.type},isRepeatCloneOrChildOf:ht,buildPathIdFor:fi};t.H9=Sr,t.yP=yo,t.mI=wo,t.d0=fl,t.xK=Is,t.gF=js,t.Zv=Me,t.Es=pa,t.vA=As,t.G1=Cs,t.Bs=Z,t.So=ke,t.dt=ba,t.WM=bs,t.KE=ps,t.JZ=je,t.Pj=mo,t.$L=function({children:e,scene:t,updateUrlOnInit:n,createBrowserHistorySteps:r,namespace:a,excludeFromNamespace:i}){return zo(t,{updateUrlOnInit:n,createBrowserHistorySteps:r,namespace:a,excludeFromNamespace:i})?e:null},t.Sh=Ha,t.Eb=ha,t.Lw=$o,t.Gg=pi,t.jh=li,t.Go=gl},15208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var r=n(35416),a=n(1266),i=n(16129),o=n(52296);t.distinct=function(e,t){return r.operate(function(n,r){var s=new Set;n.subscribe(a.createOperatorSubscriber(r,function(t){var n=e?e(t):t;s.has(n)||(s.add(n),r.next(t))})),t&&o.innerFrom(t).subscribe(a.createOperatorSubscriber(r,function(){return s.clear()},i.noop))})}},16129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},16333:(e,t,n)=>{"use strict";t.__esModule=!0,t.resizableProps=void 0;var r,a=(r=n(62688))&&r.__esModule?r:{default:r};n(38230);t.resizableProps={axis:a.default.oneOf(["both","x","y","none"]),className:a.default.string,children:a.default.element.isRequired,draggableOpts:a.default.shape({allowAnyClick:a.default.bool,cancel:a.default.string,children:a.default.node,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:"undefined"!=typeof Element?a.default.instanceOf(Element):a.default.any,grid:a.default.arrayOf(a.default.number),handle:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number}),height:function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{A:()=>a});var r=n(17451);function a(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},16516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var r=n(35416),a=n(1266),i=n(52296);t.throttle=function(e,t){return r.operate(function(n,r){var o=null!=t?t:{},s=o.leading,l=void 0===s||s,u=o.trailing,c=void 0!==u&&u,d=!1,f=null,p=null,h=!1,m=function(){null==p||p.unsubscribe(),p=null,c&&(y(),h&&r.complete())},g=function(){p=null,h&&r.complete()},v=function(t){return p=i.innerFrom(e(t)).subscribe(a.createOperatorSubscriber(r,m,g))},y=function(){if(d){d=!1;var e=f;f=null,r.next(e),!h&&v(e)}};n.subscribe(a.createOperatorSubscriber(r,function(e){d=!0,f=e,(!p||p.closed)&&(l?y():v(e))},function(){h=!0,(!(c&&d&&p)||p.closed)&&r.complete()}))})}},16557:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(42689))},17451:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nr})},17462:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(42689))},17625:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"{{keyLabel}} 키로 필터 편집","managed-filter":"{{origin}} 관리 필터","non-applicable":"","remove-filter-with-key":"{{keyLabel}} 키로 필터 제거"},"adhoc-filters-combobox":{"remove-filter-value":"필터 값 제거 - {{itemLabel}}","use-custom-value":"사용자 지정 값 사용: {{itemLabel}}"},"fallback-page":{content:"링크를 사용하여 여기로 이동한 경우 이 애플리케이션에 버그가 있을 수 있습니다.",subTitle:"URL이 어떤 페이지와도 일치하지 않습니다.",title:"찾을 수 없음"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"장면 접기","expand-button-label":"장면 펼치기","remove-button-label":"장면 제거"},"scene-debugger":{"object-details":"객체 상세 정보","scene-graph":"장면 그래프","title-scene-debugger":"장면 디버거"},"scene-grid-row":{"collapse-row":"행 접기","expand-row":"행 펼치기"},"scene-refresh-picker":{"text-cancel":"취소","text-refresh":"새로 고침","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"비교","button-tooltip":"시간 범위 비교 활성화"},splitter:{"aria-label-pane-resize-widget":"창 크기 조정 위젯"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"제목"}},"viz-panel-explore-button":{explore:"탐색"},"viz-panel-renderer":{"loading-plugin-panel":"플러그인 패널 로딩 중...","panel-plugin-has-no-panel-component":"패널 플러그인에 패널 구성 요소가 없습니다."},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"하나의 패널에 너무 많은 시리즈를 렌더링하면 성능에 영향을 주고 데이터가 읽기 어려워질 수 있습니다. ","warning-message":"{{seriesLimit}}개 시계열만 표시 중"}},utils:{"controls-label":{"tooltip-remove":"제거"},"loading-indicator":{"content-cancel-query":"쿼리 취소"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"필터 연산자 편집"},"ad-hoc-filter-builder":{"aria-label-add-filter":"필터 추가","title-add-filter":"필터 추가"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"필터 제거","key-select":{"placeholder-select-label":"레이블 선택"},"label-select-label":"레이블 선택","title-remove-filter":"필터 제거","value-select":{"placeholder-select-value":"값 선택"}},"data-source-variable":{label:{default:"기본값"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"지우기",tooltip:"이 대시보드에서 기본적으로 적용됩니다. 편집하면 다른 대시보드로 이전됩니다.","tooltip-restore-groupby-set-by-this-dashboard":"이 대시보드에서 설정한 '그룹별'을 복원합니다."},"format-registry":{formats:{description:{"commaseparated-values":"쉼표로 구분된 값","double-quoted-values":"큰 따옴표로 묶인 값","format-date-in-different-ways":"다양한 방식으로 날짜 형식 지정","format-multivalued-variables-using-syntax-example":"glob 구문을 사용하여 다중 값 변수 형식 지정, 예: {value1,value2}","html-escaping-of-values":"값의 HTML 이스케이프","join-values-with-a-comma":"","json-stringify-value":"JSON 문자열화 값","keep-value-as-is":"값을 그대로 유지","multiple-values-are-formatted-like-variablevalue":"여러 값은 variable=value와 같은 형식으로 지정됩니다.","single-quoted-values":"작은 따옴표로 묶인 값","useful-escaping-values-taking-syntax-characters":"URI 구문 문자를 고려한 URL 이스케이프 값에 유용","useful-for-url-escaping-values":"URL 이스케이프 값에 유용","values-are-separated-by-character":"값은 | 문자로 구분됩니다"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"선택기를 기준으로 그룹화","placeholder-group-by-label":"레이블을 기준으로 그룹화"},"interval-variable":{"placeholder-select-value":"값 선택"},"loading-options-placeholder":{"loading-options":"옵션 로딩 중..."},"multi-value-apply-button":{apply:"적용"},"no-options-placeholder":{"no-options-found":"찾은 옵션 없음"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"라벨을 가져오는 동안 오류가 발생했습니다. 클릭하여 다시 시도"},"test-object-with-variable-dependency":{title:{hello:"안녕하세요"}},"test-variable":{text:{text:"텍스트"}},"variable-value-input":{"placeholder-enter-value":"값 입력"},"variable-value-select":{"placeholder-select-value":"값 선택"}}}}},17685:(e,t,n)=>{"use strict";const r=n(96175),a=n(6877),i=n(47574),o=n(73039),s=n(5161),l=n(1178);e.exports=(e,t,n,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,u);case"!=":return a(e,n,u);case">":return i(e,n,u);case">=":return o(e,n,u);case"<":return s(e,n,u);case"<=":return l(e,n,u);default:throw new TypeError(`Invalid operator: ${t}`)}}},18030:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(42689))},18041:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var r=n(3818);t.count=function(e){return r.reduce(function(t,n,r){return!e||e(n,r)?t+1:t},0)}},18100:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=f(n(85959)),i=f(n(62688)),o=n(38230),s=n(50936),l=n(20414),u=n(20906),c=n(47222),d=f(n(97256));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}},{key:"createStyle",value:function(e){var t,n=this.props,r=n.usePercentages,a=n.containerWidth;return n.useCSSTransforms?t=(0,l.setTransform)(e):(t=(0,l.setTopLeft)(e),r&&(t.left=(0,l.perc)(e.left/a),t.width=(0,l.perc)(e.width/a))),t}},{key:"mixinDraggable",value:function(e,t){return a.default.createElement(o.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}},{key:"mixinResizable",value:function(e,t,n){var r=this.props,i=r.cols,o=r.x,l=r.minW,c=r.minH,d=r.maxW,f=r.maxH,p=r.transformScale,h=r.resizeHandles,m=r.resizeHandle,g=this.getPositionParams(),v=(0,u.calcGridItemPosition)(g,0,0,i-o,0).width,y=(0,u.calcGridItemPosition)(g,0,0,l,c),b=(0,u.calcGridItemPosition)(g,0,0,d,f),_=[y.width,y.height],w=[Math.min(b.width,v),Math.min(b.height,1/0)];return a.default.createElement(s.Resizable,{draggableOpts:{disabled:!n},className:n?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:_,maxConstraints:w,onResizeStop:this.onResizeStop,onResizeStart:this.onResizeStart,onResize:this.onResize,transformScale:p,resizeHandles:h,handle:m},e)}},{key:"onResizeHandler",value:function(e,t,n){var r=t.node,a=t.size,i=this.props[n];if(i){var o=this.props,s=o.cols,l=o.x,c=o.y,d=o.i,f=o.maxH,p=o.minH,h=this.props,m=h.minW,g=h.maxW,v=(0,u.calcWH)(this.getPositionParams(),a.width,a.height,l,c),y=v.w,b=v.h;m=Math.max(m,1),g=Math.min(g,s-l),y=(0,u.clamp)(y,m,g),b=(0,u.clamp)(b,p,f),this.setState({resizing:"onResizeStop"===n?null:a}),i.call(this,d,y,b,{e,node:r,size:a})}}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.w,i=e.h,o=e.isDraggable,s=e.isResizable,l=e.droppingPosition,c=e.useCSSTransforms,f=(0,u.calcGridItemPosition)(this.getPositionParams(),t,n,r,i,this.state),p=a.default.Children.only(this.props.children),m=a.default.cloneElement(p,{ref:this.elementRef,className:(0,d.default)("react-grid-item",p.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":o,"react-draggable-dragging":Boolean(this.state.dragging),dropping:Boolean(l),cssTransforms:c}),style:h(h(h({},this.props.style),p.props.style),this.createStyle(f))});return m=this.mixinResizable(m,f,s),m=this.mixinDraggable(m,o)}}],n&&m(t.prototype,n),r&&m(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.default.Component);t.default=w,_(w,"propTypes",{children:i.default.element,cols:i.default.number.isRequired,containerWidth:i.default.number.isRequired,rowHeight:i.default.number.isRequired,margin:i.default.array.isRequired,maxRows:i.default.number.isRequired,containerPadding:i.default.array.isRequired,x:i.default.number.isRequired,y:i.default.number.isRequired,w:i.default.number.isRequired,h:i.default.number.isRequired,minW:function(e,t){var n=e[t];return"number"!=typeof n?new Error("minWidth not Number"):n>e.w||n>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxWidth not Number"):ne.h||n>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxHeight not Number"):n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var r=n(56871);t.SequenceError=r.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})},18231:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},18752:(e,t,n)=>{"use strict";const r=n(39534),a=n(66293);e.exports=(e,t,n)=>{let i=null,o=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new r(i,n)))}),i}},18762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var r=n(92023);t.scheduleArray=function(e,t){return new r.Observable(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}},18952:(e,t,n)=>{"use strict";n.d(t,{eg:()=>i,lR:()=>l,o1:()=>o,yB:()=>s});var r=n(3003),a=n(85959);function i(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function o(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function s(e){let t=(0,a.useRef)({isFocused:!1,observer:null});return(0,r.N)(()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,a.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=n=>{if(t.current.isFocused=!1,r.disabled){let t=i(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let l=!1},19355:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var r=n(79391),a=n(35416),i=n(1266);t.skipLast=function(e){return e<=0?r.identity:a.operate(function(t,n){var r=new Array(e),a=0;return t.subscribe(i.createOperatorSubscriber(n,function(t){var i=a++;if(i{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(95781),a=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},i=e=>e,o=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},s={passive:!0},l="undefined"==typeof window||"onscrollend"in window,u=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e){return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]};const c=(e,t,n,r)=>{for(;e<=t;){const a=(e+t)/2|0,i=n(a);if(ir))return a;t=a-1}}return e>0?e-1:0};t.approxEqual=r.approxEqual,t.debounce=r.debounce,t.memo=r.memo,t.notUndefined=r.notUndefined,t.Virtualizer=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{const t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:i,rangeExtractor:o,onChange:()=>{},measureElement:u,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=r.memo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const n=new Map,r=new Map;for(let a=t-1;a>=0;a--){const t=e[a];if(n.has(t.lane))continue;const i=r.get(t.lane);if(null==i||t.end>i.end?r.set(t.lane,t):t.ende.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=r.memo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(e,t,n,r,a,i)=>(void 0!==this.prevLanes&&this.prevLanes!==i&&(this.lanesChangedFlag=!0),this.prevLanes=i,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:a,lanes:i}),{key:!1}),this.getMeasurements=r.memo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:a,lanes:i},o)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(const t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));const s=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);const l=this.measurementsCache.slice(0,s),u=new Array(i).fill(void 0);for(let e=0;e1){s=i;const e=u[s],r=void 0!==e?l[e]:void 0;c=r?r.end+this.options.gap:t+n}else{const e=1===this.options.lanes?l[a-1]:this.getFurthestMeasurement(l,a);c=e?e.end+this.options.gap:t+n,s=e?e.lane:a%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(a,s)}const d=o.get(e),f="number"==typeof d?d:this.options.estimateSize(a),p=c+f;l[a]={index:a,start:c,size:f,end:p,key:e,lane:s},u[s]=a}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=r.memo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const a=e.length-1,i=t=>e[t].start;if(e.length<=r)return{startIndex:0,endIndex:a};let o=c(0,a,i,n),s=o;if(1===r)for(;s1){const i=Array(r).fill(0);for(;se=0&&l.some(e=>e>=n);){const t=e[o];l[t.lane]=t.start,o--}o=Math.max(0,o-o%r),s=Math.min(a,s+(r-1-s%r))}return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n,lanes:r}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=r.memo(()=>{let e=null,t=null;const n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,a)=>null===r||null===a?[]:e({startIndex:r,endIndex:a,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;const a=r.key,i=this.elementsCache.get(a);i!==e&&(i&&this.observer.unobserve(i),this.observer.observe(e),this.elementsCache.set(a,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const n=this.measurementsCache[e];if(!n)return;const r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):n.start{e?this._measureElement(e,void 0):this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))})},this.getVirtualItems=r.memo(()=>[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{const n=[];for(let r=0,a=e.length;rthis.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return r.notUndefined(t[c(0,t.length-1,e=>r.notUndefined(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),a=this.getScrollOffset();"auto"===t&&(t=e>=a+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r);const i=this.getMaxScrollOffset();return Math.max(Math.min(i,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=this.measurementsCache[e];if(!n)return;const r=this.getSize(),a=this.getScrollOffset();if("auto"===t)if(n.end>=a+r-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=a+this.options.scrollPaddingStart))return[a,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];const i="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(i,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1)),this.currentScrollToIndex=e;let a=0;const i=t=>{if(!this.targetWindow)return;const a=this.getOffsetForIndex(e,t);if(!a)return void console.warn("Failed to get offset for index:",e);const[i,s]=a;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.targetWindow.requestAnimationFrame(()=>{const t=()=>{if(this.currentScrollToIndex!==e)return;const t=this.getScrollOffset(),n=this.getOffsetForIndex(e,s);n?r.approxEqual(n[0],t)||o(s):console.warn("Failed to get offset for index:",e)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(t):t()})},o=t=>{this.targetWindow&&this.currentScrollToIndex===e&&(a++,a<10?this.targetWindow.requestAnimationFrame(()=>i(t)):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let n;if(0===t.length)n=this.options.paddingStart;else if(1===this.options.lanes)n=(null==(e=t[t.length-1])?void 0:e.end)??0;else{const e=Array(this.options.lanes).fill(null);let r=t.length-1;for(;r>=0&&e.some(e=>null===e);){const n=t[r];null===e[n.lane]&&(e[n.lane]=n.end),r--}n=Math.max(...e.filter(e=>null!==e))}return Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}},t.defaultKeyExtractor=i,t.defaultRangeExtractor=o,t.elementScroll=(e,{adjustments:t=0,behavior:n},r)=>{var a,i;const o=e+t;null==(i=null==(a=r.scrollElement)?void 0:a.scrollTo)||i.call(a,{[r.options.horizontal?"left":"top"]:o,behavior:n})},t.measureElement=u,t.observeElementOffset=(e,t)=>{const n=e.scrollElement;if(!n)return;const a=e.targetWindow;if(!a)return;let i=0;const o=e.options.useScrollendEvent&&l?()=>{}:r.debounce(a,()=>{t(i,!1)},e.options.isScrollingResetDelay),u=r=>()=>{const{horizontal:a,isRtl:s}=e.options;i=a?n.scrollLeft*(s?-1:1):n.scrollTop,o(),t(i,r)},c=u(!0),d=u(!1);n.addEventListener("scroll",c,s);const f=e.options.useScrollendEvent&&l;return f&&n.addEventListener("scrollend",d,s),()=>{n.removeEventListener("scroll",c),f&&n.removeEventListener("scrollend",d)}},t.observeElementRect=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=e=>{const{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(a(n)),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(t=>{const r=()=>{const e=t[0];if(null==e?void 0:e.borderBoxSize){const t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(a(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},t.observeWindowOffset=(e,t)=>{const n=e.scrollElement;if(!n)return;const a=e.targetWindow;if(!a)return;let i=0;const o=e.options.useScrollendEvent&&l?()=>{}:r.debounce(a,()=>{t(i,!1)},e.options.isScrollingResetDelay),u=r=>()=>{i=n[e.options.horizontal?"scrollX":"scrollY"],o(),t(i,r)},c=u(!0),d=u(!1);n.addEventListener("scroll",c,s);const f=e.options.useScrollendEvent&&l;return f&&n.addEventListener("scrollend",d,s),()=>{n.removeEventListener("scroll",c),f&&n.removeEventListener("scrollend",d)}},t.observeWindowRect=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=()=>{t({width:n.innerWidth,height:n.innerHeight})};return r(),n.addEventListener("resize",r,s),()=>{n.removeEventListener("resize",r)}},t.windowScroll=(e,{adjustments:t=0,behavior:n},r)=>{var a,i;const o=e+t;null==(i=null==(a=r.scrollElement)?void 0:a.scrollTo)||i.call(a,{[r.options.horizontal?"left":"top"]:o,behavior:n})}},19559:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(42689))},19985:(e,t,n)=>{"use strict";n.d(t,{bq:()=>s,wt:()=>l,sD:()=>o});var r=n(71570);let a=!1;function i(){return a}function o(e,t){if(!i())return!(!t||!e)&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}const s=(e=document)=>{var t;if(!i())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function l(e){return i()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},20020:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var o=n(92023),s=n(27491),l=n(98083),u=n(7394),c=n(79916),d=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return a(t,e),t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new l.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;c.errorContext(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=i(t.currentObservers),o=a.next();!o.done;o=a.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;c.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;c.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,a=n.isStopped,i=n.observers;return r||a?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new s.Subscription(function(){t.currentObservers=null,u.arrRemove(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,a=t.isStopped;n?e.error(r):a&&e.complete()},t.prototype.asObservable=function(){var e=new o.Observable;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(o.Observable);t.Subject=d;var f=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return a(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:s.EMPTY_SUBSCRIPTION},t}(d);t.AnonymousSubject=f},20297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var r=n(20020),a=n(59924),i=n(32216);t.publish=function(e){return e?function(t){return i.connect(e)(t)}:function(e){return a.multicast(new r.Subject)(e)}}},20311:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(42689))},20414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bottom=d,t.childrenEqual=function(e,t){return(0,r.default)(a.default.Children.map(e,function(e){return null==e?void 0:e.key}),a.default.Children.map(t,function(e){return null==e?void 0:e.key}))},t.cloneLayout=f,t.cloneLayoutItem=h,t.collides=g,t.compact=v,t.compactItem=_,t.compactType=function(e){var t=e||{},n=t.verticalCompact,r=t.compactType;return!1===n?null:r},t.correctBounds=w,t.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},t.fastRGLPropsEqual=void 0,t.getAllCollisions=k,t.getFirstCollision=S,t.getLayoutItem=M,t.getStatics=L,t.modifyLayout=p,t.moveElement=x,t.moveElementAwayFromCollision=D,t.noop=void 0,t.perc=function(e){return 100*e+"%"},t.setTopLeft=function(e){var t=e.top,n=e.left,r=e.width,a=e.height;return{top:"".concat(t,"px"),left:"".concat(n,"px"),width:"".concat(r,"px"),height:"".concat(a,"px"),position:"absolute"}},t.setTransform=function(e){var t=e.top,n=e.left,r=e.width,a=e.height,i="translate(".concat(n,"px,").concat(t,"px)");return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:"".concat(r,"px"),height:"".concat(a,"px"),position:"absolute"}},t.sortLayoutItems=T,t.sortLayoutItemsByColRow=O,t.sortLayoutItemsByRowCol=E,t.synchronizeLayoutWithChildren=function(e,t,n,r,i){e=e||[];var o=[];a.default.Children.forEach(t,function(t){if(null!=(null==t?void 0:t.key)){var n=M(e,String(t.key));if(n)o.push(h(n));else{!u&&t.props._grid&&console.warn("`_grid` properties on children have been deprecated as of React 15.2. Please use `data-grid` or add your properties directly to the `layout`.");var r=t.props["data-grid"]||t.props._grid;r?(u||P([r],"ReactGridLayout.children"),o.push(h(s(s({},r),{},{i:t.key})))):o.push(h({w:1,h:1,x:0,y:d(o),i:String(t.key)}))}}});var l=w(o,{cols:n});return i?l:v(l,r,n)},t.validateLayout=P,t.withLayoutItem=function(e,t,n){var r=M(e,t);return r?(r=n(h(r)),[e=p(e,r),r]):[e,null]};var r=i(n(77842)),a=i(n(85959));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;tn&&(n=t);return n}function f(e){for(var t=Array(e.length),n=0,r=e.length;n=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function v(e,t,n){for(var r=L(e),a=T(e,t),i=Array(e.length),o=0,s=a.length;ot.y+t.h)break;g(t,o)&&b(e,o,n+t[a],r)}}t[r]=n}function _(e,t,n,r,a){var i,o="horizontal"===n;if("vertical"===n)for(t.y=Math.min(d(e),t.y);t.y>0&&!S(e,t);)t.y--;else if(o)for(;t.x>0&&!S(e,t);)t.x--;for(;i=S(e,t);)o?b(a,t,i.x+i.w,"x"):b(a,t,i.y+i.h,"y"),o&&t.x+t.w>r&&(t.x=r-t.w,t.y++);return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function w(e,t){for(var n=L(e),r=0,a=e.length;rt.cols&&(i.x=t.cols-i.w),i.x<0&&(i.x=0,i.w=t.cols),i.static)for(;S(n,i);)i.y++;else n.push(i)}return e}function M(e,t){for(var n=0,r=e.length;n=r:"horizontal"===o&&"number"==typeof n&&u>=n)&&(d=d.reverse());var p=k(d,t),h=p.length>0;if(h&&l)return f(e);if(h&&i)return Y("Collision prevented on ".concat(t.i,", reverting.")),t.x=u,t.y=c,t.moved=!1,e;for(var m=0,g=p.length;mt.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function O(e){return e.slice(0).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var r=0,a=e.length;r=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"годину"===i?e+" година":e+" "+i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},20600:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(42689))},20787:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var a=n(47209),i=n(35416),o=n(1266);t.takeLast=function(e){return e<=0?function(){return a.EMPTY}:i.operate(function(t,n){var a=[];t.subscribe(o.createOperatorSubscriber(n,function(t){a.push(t),e{"use strict";function n(e){var t=e.margin,n=e.containerPadding,r=e.containerWidth,a=e.cols;return(r-t[0]*(a-1)-2*n[0])/a}function r(e,t,n){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*n):e}function a(e,t,n){return Math.max(Math.min(e,n),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.calcGridColWidth=n,t.calcGridItemPosition=function(e,t,a,i,o,s){var l=e.margin,u=e.containerPadding,c=e.rowHeight,d=n(e),f={};s&&s.resizing?(f.width=Math.round(s.resizing.width),f.height=Math.round(s.resizing.height)):(f.width=r(i,d,l[0]),f.height=r(o,c,l[1]));s&&s.dragging?(f.top=Math.round(s.dragging.top),f.left=Math.round(s.dragging.left)):(f.top=Math.round((c+l[1])*a+u[1]),f.left=Math.round((d+l[0])*t+u[0]));return f},t.calcGridItemWHPx=r,t.calcWH=function(e,t,r,i,o){var s=e.margin,l=e.maxRows,u=e.cols,c=e.rowHeight,d=n(e),f=Math.round((t+s[0])/(d+s[0])),p=Math.round((r+s[1])/(c+s[1]));return f=a(f,0,u-i),p=a(p,0,l-o),{w:f,h:p}},t.calcXY=function(e,t,r,i,o){var s=e.margin,l=e.cols,u=e.rowHeight,c=e.maxRows,d=n(e),f=Math.round((r-s[0])/(d+s[0])),p=Math.round((t-s[1])/(u+s[1]));return f=a(f,0,l-i),p=a(p,0,c-o),{x:f,y:p}},t.clamp=a},21424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var r=n(42945);t.combineAll=r.combineLatestAll},21433:(e,t)=>{"use strict";var n=/[A-Z]/g;t.v=function(e){var t=(e=e||{}).assign||Object.assign;var r=t({raw:"",pfx:"_",client:"object"==typeof window,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(n,"-$&").toLowerCase()},decl:function(e,t){return(e=r.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(r.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){r.raw+=e}},e);return r.client&&(r.sh||document.head.appendChild(r.sh=document.createElement("style")),r.putRaw=function(e){var t=r.sh.sheet;try{t.insertRule(e,t.cssRules.length)}catch(e){}}),r.put=function(e,t,n){var a,i,o="",s=[];for(a in t)(i=t[a])instanceof Object&&!(i instanceof Array)?s.push(a):o+=r.decl(a,i,e,n);o&&(o=e+"{"+o+"}",r.putRaw(n?n+"{"+o+"}":o));for(var l=0;l{"use strict";const r=n(2728),a=n(86484),i=n(39534),o=n(48029),s=n(9618),l=n(95991),u=n(38968),c=n(82969),d=n(97278),f=n(78992),p=n(91180),h=n(6339),m=n(3731),g=n(5566),v=n(36264),y=n(4693),b=n(56879),_=n(36657),w=n(40959),M=n(47574),S=n(5161),k=n(96175),L=n(6877),x=n(73039),D=n(1178),T=n(17685),E=n(77192),O=n(11106),P=n(66293),Y=n(64120),C=n(61173),A=n(4922),R=n(18752),j=n(93931),I=n(81772),F=n(34473),H=n(24129),N=n(76184),z=n(85362),V=n(47287),W=n(53910);e.exports={parse:s,valid:l,clean:u,inc:c,diff:d,major:f,minor:p,patch:h,prerelease:m,compare:g,rcompare:v,compareLoose:y,compareBuild:b,sort:_,rsort:w,gt:M,lt:S,eq:k,neq:L,gte:x,lte:D,cmp:T,coerce:E,Comparator:O,Range:P,satisfies:Y,toComparators:C,maxSatisfying:A,minSatisfying:R,minVersion:j,validRange:I,outside:F,gtr:H,ltr:N,intersects:z,simplifyRange:V,subset:W,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},21724:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultOptions:()=>a,pluginVersion:()=>r});const r="12.3.1",a={showImage:!0}},21971:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Redigera filter med nyckeln {{keyLabel}}","managed-filter":"Filter som hanteras av {{origin}}","non-applicable":"","remove-filter-with-key":"Ta bort filter med nyckeln {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Ta bort filtervärde – {{itemLabel}}","use-custom-value":"Använd anpassat värde: {{itemLabel}}"},"fallback-page":{content:"Om du kom hit via en länk kan det finnas en bugg i den här applikationen.",subTitle:"Webbadressen matchade ingen sida",title:"Hittades inte"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Dölj scen","expand-button-label":"Visa scen","remove-button-label":"Ta bort scen"},"scene-debugger":{"object-details":"Information om objekt","scene-graph":"Scengraf","title-scene-debugger":"Scenfelsökare"},"scene-grid-row":{"collapse-row":"Dölj rad","expand-row":"Expandera rad"},"scene-refresh-picker":{"text-cancel":"Avbryt","text-refresh":"Uppdatera","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Jämförelse","button-tooltip":"Aktivera jämförelse av tidsram"},splitter:{"aria-label-pane-resize-widget":"Widget för storleksändring av ruta"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Titel"}},"viz-panel-explore-button":{explore:"Utforska"},"viz-panel-renderer":{"loading-plugin-panel":"Läser in tilläggspanel …","panel-plugin-has-no-panel-component":"Paneltillägg har ingen panelkomponent"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Att återge för många serier i en enda panel kan påverka prestandan och göra data svårare att läsa. ","warning-message":"Visar endast {{seriesLimit}} serier"}},utils:{"controls-label":{"tooltip-remove":"Ta bort"},"loading-indicator":{"content-cancel-query":"Avbryt fråga"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Redigera filteroperator"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Lägg till filter","title-add-filter":"Lägg till filter"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Ta bort filter","key-select":{"placeholder-select-label":"Välj etikett"},"label-select-label":"Välj etikett","title-remove-filter":"Ta bort filter","value-select":{"placeholder-select-value":"Välj värde"}},"data-source-variable":{label:{default:"standard"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"radera",tooltip:"Tillämpas som standard i denna instrumentpanel. Om den redigeras överförs det till andra instrumentpaneler.","tooltip-restore-groupby-set-by-this-dashboard":"Återställ gruppering som inställts av denna panel."},"format-registry":{formats:{description:{"commaseparated-values":"Kommaavgränsade värden","double-quoted-values":"Dubbelciterade värden","format-date-in-different-ways":"Formatera datum på olika sätt","format-multivalued-variables-using-syntax-example":"Formatera flervärdesvariabler med globsyntax, till exempel {value1,value2}","html-escaping-of-values":"HTML-undantagstecken för värden","join-values-with-a-comma":"","json-stringify-value":"JSON stringify-värde","keep-value-as-is":"Behåll värdet som det är","multiple-values-are-formatted-like-variablevalue":"Flera värden formateras som variabel=värde","single-quoted-values":"Enkla citerade värden","useful-escaping-values-taking-syntax-characters":"Användbart för URL-undantagna värden, med hänsyn till URI-syntaxtecken","useful-for-url-escaping-values":"Användbart för URL-undantagning av värden","values-are-separated-by-character":"Värdena är åtskilda med tecknet |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Gruppera efter väljare","placeholder-group-by-label":"Gruppera efter etikett"},"interval-variable":{"placeholder-select-value":"Välj värde"},"loading-options-placeholder":{"loading-options":"Laddar alternativ …"},"multi-value-apply-button":{apply:"Tillämpa"},"no-options-placeholder":{"no-options-found":"Inga alternativ hittades"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Ett fel uppstod vid hämtning av etiketter. Klicka för att försöka igen"},"test-object-with-variable-dependency":{title:{hello:"Hej"}},"test-variable":{text:{text:"Text"}},"variable-value-input":{"placeholder-enter-value":"Ange ett värde"},"variable-value-select":{"placeholder-select-value":"Välj värde"}}}}},21997:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(42689))},22984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=n(3818),a=n(35416),i=function(e,t){return e.push(t),e};t.toArray=function(){return a.operate(function(e,t){r.reduce(i,[])(e).subscribe(t)})}},23298:function(e){e.exports=function(){"use strict";var e={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},t=Array.prototype.slice;function n(e){var n=e.length;return n?1===n?[e[0]]:2===n?[e[0],e[1]]:3===n?[e[0],e[1],e[2]]:t.call(e,0):[]}function r(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}function a(e){return"function"==typeof e&&e.isMemoized}function i(e,t){return e===t||e!=e&&t!=t}function o(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var s=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:n(this.keys),size:this.size,values:n(this.values)}},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,a=this.keys,i=a.length;if(!i)return-1;if(n(a[0],e))return 0;if(r>1)for(var o=1;o1){for(var s=0;s1){for(var i=0;i=s&&(r.length=a.length=s)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,a=n.onCacheHit,i=this.keys[0],o=this.values[0];this.values[0]=o.then(function(n){return t.shouldUpdateOnHit&&a(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n},function(e){var n=t.getKeyIndex(i);throw-1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e})},e}();function l(e,t){if(void 0===t&&(t={}),a(e))return l(e.fn,o(e.options,t));if("function"!=typeof e)throw new TypeError("You must pass a function to `memoize`.");var u=t.isEqual,c=void 0===u?i:u,d=t.isMatchingKey,f=t.isPromise,p=void 0!==f&&f,h=t.maxSize,m=void 0===h?1:h,g=t.onCacheAdd,v=t.onCacheChange,y=t.onCacheHit,b=t.transformKey,_=o({isEqual:c,isMatchingKey:d,isPromise:p,maxSize:m,onCacheAdd:g,onCacheChange:v,onCacheHit:y,transformKey:b},r(t)),w=new s(_),M=w.keys,S=w.values,k=w.canTransformKey,L=w.shouldCloneArguments,x=w.shouldUpdateOnAdd,D=w.shouldUpdateOnChange,T=w.shouldUpdateOnHit,E=function(){var t=L?n(arguments):arguments;k&&(t=b(t));var r=M.length?w.getKeyIndex(t):-1;if(-1!==r)T&&y(w,_,E),r&&(w.orderByLru(M[r],S[r],r),D&&v(w,_,E));else{var a=e.apply(this,arguments),i=L?t:n(arguments);w.orderByLru(i,a,M.length),p&&w.updateAsyncCache(E),x&&g(w,_,E),D&&v(w,_,E)}return S[0]};return E.cache=w,E.fn=e,E.isMemoized=!0,E.options=_,E}return l}()},23901:(e,t,n)=>{"use strict";n.d(t,{t:()=>ne});var r=n(62540);const a=e=>"string"==typeof e,i=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},o=e=>null==e?"":""+e,s=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(s,"."):e,u=e=>!e||a(e),c=(e,t,n)=>{const r=a(t)?t.split("."):t;let i=0;for(;i{const{obj:r,k:a}=c(e,t,Object);if(void 0!==r||1===t.length)return void(r[a]=n);let i=t[t.length-1],o=t.slice(0,t.length-1),s=c(e,o,Object);for(;void 0===s.obj&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=c(e,o,Object),s?.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},f=(e,t)=>{const{obj:n,k:r}=c(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},p=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?a(e[r])||e[r]instanceof String||a(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):p(e[r],t[r],n):e[r]=t[r]);return e},h=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var m={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const g=e=>a(e)?e.replace(/[&<>"'\/]/g,e=>m[e]):e;const v=[" ",",","?","!",";"],y=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),b=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let a=e;for(let e=0;e-1&&oe?.replace("_","-"),w={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class M{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||w,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(a(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new M(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new M(this.logger,e)}}var S=new M;class k{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r{for(let a=0;a-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],n&&(Array.isArray(n)?s.push(...n):a(n)&&i?s.push(...n.split(i)):s.push(n)));const l=f(this.data,s);return!l&&!t&&!n&&e.indexOf(".")>-1&&(e=s[0],t=s[1],n=s.slice(2).join(".")),!l&&o&&a(n)?b(this.data?.[e]?.[t],n,i):l}addResource(e,t,n,r,a={silent:!1}){const i=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator;let o=[e,t];n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split("."),r=t,t=o[1]),this.addNamespaces(t),d(this.data,o,r),a.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const r in n)(a(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,a,i={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=f(this.data,o)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?p(s,n,a):s={...s,...n},d(this.data,o,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var x={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,a)??t}),t}};const D=Symbol("i18next/PATH_KEY");function T(e,t){const{[D]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,a)=>(n?.revoke?.(),a===D?e:(e.push(a),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const E={},O=e=>!a(e)&&"boolean"!=typeof e&&"number"!=typeof e;class P extends k{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=S.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const a=O(r.res);return!1!==n.returnObjects||!a}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,s=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=v.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const a=y.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let i=!a.test(e);if(!i){const t=e.indexOf(n);t>0&&!a.test(e.substring(0,t))&&(i=!0)}return i})(e,n,r));if(o&&!s){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:a(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:a(i)?[i]:i}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=T(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const i=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],r),u=l[l.length-1];let c=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");const d=r.lng||this.language,f=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===d?.toLowerCase())return f?i?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:`${u}${c}${s}`:i?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:s;const p=this.resolve(e,r);let h=p?.res;const m=p?.usedKey||s,g=p?.exactUsedKey||s,v=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==r.count&&!a(r.count),_=P.hasDefaultValue(r),w=b?this.pluralResolver.getSuffix(d,r.count,r):"",M=r.ordinal&&b?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",S=b&&!r.ordinal&&0===r.count,k=S&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${w}`]||r[`defaultValue${M}`]||r.defaultValue;let L=h;y&&!h&&_&&(L=k);const x=O(L),D=Object.prototype.toString.apply(L);if(!(y&&L&&x&&["[object Number]","[object Function]","[object RegExp]"].indexOf(D)<0)||a(v)&&Array.isArray(L))if(y&&a(v)&&Array.isArray(h))h=h.join(v),h&&(h=this.extendTranslation(h,e,r,n));else{let t=!1,a=!1;!this.isValidLookup(h)&&_&&(t=!0,h=k),this.isValidLookup(h)||(a=!0,h=s);const i=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:h,l=_&&k!==h&&this.options.updateMissing;if(a||t||l){if(this.logger.log(l?"updateKey":"missingKey",d,u,s,l?k:h),o){const e=this.resolve(s,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n{const a=_&&n!==h?n:i;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,a,l,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,a,l,r),this.emit("missingKey",e,u,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,r);S&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,r[`defaultValue${t}`]||k)})}):n(e,s,k))}h=this.extendTranslation(h,e,r,p,n),a&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${u}${c}${s}`),(a||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,t?h:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,L,{...r,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(p.res=e,p.usedParams=this.getUsedParamsDetails(r),p):e}if(o){const e=Array.isArray(L),t=e?[]:{},n=e?g:m;for(const e in L)if(Object.prototype.hasOwnProperty.call(L,e)){const a=`${n}${o}${e}`;t[e]=_&&!h?this.translate(a,{...r,defaultValue:O(k)?k[e]:void 0,joinArrays:!1,ns:l}):this.translate(a,{...r,joinArrays:!1,ns:l}),t[e]===a&&(t[e]=L[e])}h=t}}return i?(p.res=h,p.usedParams=this.getUsedParamsDetails(r),p):h}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const o=a(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(o){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!a(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),o){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const o=n.postProcess||this.options.postProcess,s=a(o)?[o]:o;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=x.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,o,s;return a(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const l=this.extractFromKey(e,t),u=l.key;r=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=void 0!==t.count&&!a(t.count),f=d&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(a(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(e=>{this.isValidLookup(n)||(s=e,E[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(s)||(E[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(r=>{if(this.isValidLookup(n))return;o=r;const a=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(a,u,r,e,t);else{let e;d&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&0===e.indexOf(i)&&a.push(u+e.replace(i,this.options.pluralSeparator)),a.push(u+e),f&&a.push(u+n)),p){const r=`${u}${this.options.contextSeparator||"_"}${t.context}`;a.push(r),d&&(t.ordinal&&0===e.indexOf(i)&&a.push(r+e.replace(i,this.options.pluralSeparator)),a.push(r+e),f&&a.push(r+n))}}let s;for(;s=a.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!a(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class Y{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}getScriptPartFromCode(e){if(!(e=_(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=_(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(a(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),a(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return a(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):a(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}}const C={zero:0,one:1,two:2,few:3,many:4,other:5},A={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class R{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=S.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=_("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:r});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let i;try{i=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),A;if(!e.match(/-|_/))return A;const r=this.languageUtils.getLanguagePartFromCode(e);i=this.getRule(r,t)}return this.pluralRulesCache[a]=i,i}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>C[e]-C[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const j=(e,t,n,r=".",i=!0)=>{let o=((e,t,n)=>{const r=f(e,n);return void 0!==r?r:f(t,n)})(e,t,n);return!o&&i&&a(n)&&(o=b(e,n,r),void 0===o&&(o=b(t,n,r))),o},I=e=>e.replace(/\$/g,"$$$$");class F{constructor(e={}){this.logger=S.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:a,prefixEscaped:i,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:v,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=a?h(a):i||"{{",this.suffix=o?h(o):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?h(d):f||h("$t("),this.nestingSuffix=p?h(p):m||h(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,s,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const a=j(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,n,{...r,...t,interpolationkey:e}):a}const a=e.split(this.formatSeparator),i=a.shift().trim(),o=a.join(this.formatSeparator).trim();return this.format(j(t,u,i,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:i})};this.resetRegExp();const d=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>I(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?I(this.escape(e)):I(e)}].forEach(t=>{for(l=0;i=t.regex.exec(e);){const n=i[1].trim();if(s=c(n),void 0===s)if("function"==typeof d){const t=d(e,i,r);s=a(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))s="";else{if(f){s=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s=""}else a(s)||this.useRawValueToEscape||(s=o(s));const u=t.safeValue(s);if(e=e.replace(i[0],u),f?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,s;const l=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let a=`{${r[1]}`;e=r[0],a=this.interpolate(a,s);const i=a.match(/'/g),o=a.match(/"/g);((i?.length??0)%2==0&&!o||o.length%2!=0)&&(a=a.replace(/'/g,'"'));try{s=JSON.parse(a),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${a}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let u=[];s={...n},s=s.replace&&!a(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;const c=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==c&&(u=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(l.call(this,r[1].trim(),s),s),i&&r[0]===e&&!a(i))return i;a(i)||(i=o(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}const H=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(_(r),a),t[o]=s),s(n)}},N=e=>(t,n,r)=>e(_(n),r)(t);class z{constructor(e={}){this.logger=S.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?H:N;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=H(t)}format(e,t,n,r={}){const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(e=>e.indexOf(")")>-1)){const e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{const{formatName:a,formatOptions:i}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),a=r.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();n[i]||(n[i]=a),"false"===a&&(n[i]=!1),"true"===a&&(n[i]=!0),isNaN(a)||(n[i]=parseInt(a,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[a]){let t=e;try{const o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[a](e,s,{...i,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class V extends k{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=S.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const a={},i={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===i[o]&&(i[o]=!0):(this.state[o]=1,r=!1,void 0===i[o]&&(i[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),a=r[0],i=r[1];t&&this.emit("failedLoading",a,i,t),!t&&n&&this.store.addResourceBundle(a,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const o={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:a}=c(e,t,Object);r[a]=r[a]||[],r[a].push(n)})(n.loaded,[a],i),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,a=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:a,callback:i});this.readingCalls++;const o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r{this.read.call(this,e,t,n,r+1,2*a,i)},a):i(o,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,o);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();a(e)&&(e=this.languageUtils.toResolveHierarchy(e)),a(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],a=n[1];this.read(r,a,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${a} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${a} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,a,i={},o=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...i,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;a=5===l.length?l(e,t,n,r,s):l(e,t,n,r),a&&"function"==typeof a.then?a.then(e=>o(null,e)).catch(o):o(null,a)}catch(e){o(e)}else l(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const W=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),a(e[1])&&(t.defaultValue=e[1]),a(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),$=e=>(a(e.ns)&&(e.ns=[e.ns]),a(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),a(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),U=()=>{};class B extends k{constructor(e={},t){var n;if(super(),this.options=$(e),this.services={},this.logger=S,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(a(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=W();this.options={...n,...this.options,...$(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?S.init(r(this.modules.logger),this.options):S.init(null,this.options),e=this.modules.formatter?this.modules.formatter:z;const t=new Y(this.options);this.store=new L(this.options.resources,this.options);const a=this.services;a.logger=S,a.resourceStore=this.store,a.languageUtils=t,a.pluralResolver=new R(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(a.formatter=r(e),a.formatter.init&&a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new F(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new V(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new P(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=U),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const o=i(),s=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),o}loadResources(e,t=U){let n=t;const r=a(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(r)t(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=i();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=U),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&x.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=i();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(a,i)=>{i?this.isLanguageChangingTo===e&&(r(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(a,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);const n=a(t)?t:t&&t[0],i=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(a(t)?[t]:t);i&&(this.language||r(i),this.translator.language||this.translator.changeLanguage(i),this.services.languageDetector?.cacheUserLanguage?.(i)),this.loadResources(i,e=>{o(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...a)=>{let i;i="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(a)):{...t},i.lng=i.lng||r.lng,i.lngs=i.lngs||r.lngs,i.ns=i.ns||r.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||r.keyPrefix);const o=this.options.keySeparator||".";let s;return i.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=T(e,{...this.options,...t})),`${i.keyPrefix}${o}${e}`)):("function"==typeof e&&(e=T(e,{...this.options,...t})),s=i.keyPrefix?`${i.keyPrefix}${o}${e}`:e),this.t(s,i)};return a(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(n,e)||r&&!i(a,e)))}loadNamespaces(e,t){const n=i();return this.options.ns?(a(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=i();a(e)&&(e=[e]);const r=this.options.preload||[],o=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new Y(W());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new B(e,t);return n.createInstance=B.createInstance,n}cloneInstance(e={},t=U){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},a=new B(r);void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e));if(["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});a.store=new L(e,r),a.services.resourceStore=a.store}if(e.interpolation){const t={...W().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};a.services.interpolator=new F(n)}return a.translator=new P(a.services,r),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(r,t),a.translator.options=r,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const q=B.createInstance();q.createInstance,q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages;n(12091);var G=n(79315);const K="en-US",J=K;let Q,Z;function X({id:e,ns:t}={}){if(e)return Q=te().getFixedT(null,e),void(Z=t=>(0,r.jsx)(G.Trans,{shouldUnescape:!0,ns:e,...t}));Q=te().t,Z=e=>(0,r.jsx)(G.Trans,{shouldUnescape:!0,ns:t,...e})}function ee(){var e;if((null==(e=te().options)?void 0:e.resources)&&"object"==typeof te().options.resources)return;const t=te().use(G.initReactI18next).init({resources:{},returnEmptyString:!1,lng:J});return X(),t}function te(){const e=q;return e&&e.default?e.default:e}const ne=(e,t,n)=>(ee(),Q||(console.warn("t() was called before i18n was initialized. This is probably caused by calling t() in the root module scope, instead of lazily on render"),Q=te().t),Q(e,t,n))},23956:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Editar filtro com chave {{keyLabel}}","managed-filter":"Filtro gerenciado de {{origin}}","non-applicable":"","remove-filter-with-key":"Remover filtro com chave {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Remover valor do filtro: {{itemLabel}}","use-custom-value":"Usar valor personalizado: {{itemLabel}}"},"fallback-page":{content:"Se você chegou aqui usando um link, pode haver um bug neste aplicativo.",subTitle:"O URL não corresponde a nenhuma página",title:"Não encontrado"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Recolher cena","expand-button-label":"Expandir cena","remove-button-label":"Remover cena"},"scene-debugger":{"object-details":"Detalhes do objeto","scene-graph":"Gráfico de cena","title-scene-debugger":"Depurador de cena"},"scene-grid-row":{"collapse-row":"Recolher linha","expand-row":"Expandir linha"},"scene-refresh-picker":{"text-cancel":"Cancelar","text-refresh":"Atualizar","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Comparação","button-tooltip":"Ativar comparação de intervalo de tempo"},splitter:{"aria-label-pane-resize-widget":"Widget de redimensionamento do painel"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Título"}},"viz-panel-explore-button":{explore:"Explorar"},"viz-panel-renderer":{"loading-plugin-panel":"Carregando painel do plug-in…","panel-plugin-has-no-panel-component":"O plug-in do painel não possui componente de painel"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Renderizar muitas séries em um único painel pode afetar o desempenho e dificultar a leitura dos dados.","warning-message":"Mostrando apenas {{seriesLimit}} série(s)"}},utils:{"controls-label":{"tooltip-remove":"Remover"},"loading-indicator":{"content-cancel-query":"Cancelar consulta"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Editar operador de filtro"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Adicionar filtro","title-add-filter":"Adicionar filtro"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Remover filtro","key-select":{"placeholder-select-label":"Selecionar rótulo"},"label-select-label":"Selecionar rótulo","title-remove-filter":"Remover filtro","value-select":{"placeholder-select-value":"Selecionar valor"}},"data-source-variable":{label:{default:"padrão"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"limpar",tooltip:"Aplicado por padrão neste painel. Se editado, ele é transferido para outros painéis.","tooltip-restore-groupby-set-by-this-dashboard":"Restaura a função groupby definida por este painel."},"format-registry":{formats:{description:{"commaseparated-values":"Valores separados por vírgula","double-quoted-values":"Valores entre aspas duplas","format-date-in-different-ways":"Formatar data de diferentes maneiras","format-multivalued-variables-using-syntax-example":"Formatar variáveis de múltiplos valores usando a sintaxe glob. Por exemplo: {value1,value2}","html-escaping-of-values":"Escape HTML de valores","join-values-with-a-comma":"","json-stringify-value":"Valor convertido em string JSON","keep-value-as-is":"Manter o valor como está","multiple-values-are-formatted-like-variablevalue":"Vários valores são formatados como variável=valor","single-quoted-values":"Valores entre aspas simples","useful-escaping-values-taking-syntax-characters":"Útil para valores de escape de URL, levando em consideração caracteres de sintaxe URI","useful-for-url-escaping-values":"Útil para valores de escape de URL","values-are-separated-by-character":'Os valores são separados pelo caractere "|"'}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Agrupar por seletor","placeholder-group-by-label":"Agrupar por rótulo"},"interval-variable":{"placeholder-select-value":"Selecionar valor"},"loading-options-placeholder":{"loading-options":"Carregando opções…"},"multi-value-apply-button":{apply:"Aplicar"},"no-options-placeholder":{"no-options-found":"Nenhuma opção encontrada"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Ocorreu um erro ao buscar rótulos. Clique para tentar novamente"},"test-object-with-variable-dependency":{title:{hello:"Olá"}},"test-variable":{text:{text:"Texto"}},"variable-value-input":{"placeholder-enter-value":"Digite um valor"},"variable-value-select":{"placeholder-select-value":"Selecionar valor"}}}}},24129:(e,t,n)=>{"use strict";const r=n(34473);e.exports=(e,t,n)=>r(e,t,">",n)},24811:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var r=n(35416),a=n(1266),i=n(52296),o=n(16129);t.takeUntil=function(e){return r.operate(function(t,n){i.innerFrom(e).subscribe(a.createOperatorSubscriber(n,function(){return n.complete()},o.noop)),!n.closed&&t.subscribe(n)})}},25027:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},25059:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var i="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":i=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":i=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta"}return i=a(e,r)+" "+i}function a(e,r){return e<10?r?n[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},25217:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Modifica filtro con chiave {{keyLabel}}","managed-filter":"filtro gestito da {{origin}}","non-applicable":"","remove-filter-with-key":"Rimuovi filtro con chiave {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Rimuovi valore filtro - {{itemLabel}}","use-custom-value":"Usa il valore personalizzato: {{itemLabel}}"},"fallback-page":{content:"Se un link ti ha portato qui, potrebbe esserci un bug in questa applicazione.",subTitle:"L'URL non corrispondeva a nessuna pagina",title:"Non trovato"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Riduci scena","expand-button-label":"Espandi scena","remove-button-label":"Rimuovi scena"},"scene-debugger":{"object-details":"Dettagli dell’oggetto","scene-graph":"Grafico della scena","title-scene-debugger":"Debugger della scena"},"scene-grid-row":{"collapse-row":"Riduci riga","expand-row":"Espandi riga"},"scene-refresh-picker":{"text-cancel":"Annulla","text-refresh":"Aggiorna","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Confronto","button-tooltip":"Abilita confronto intervallo di tempo"},splitter:{"aria-label-pane-resize-widget":"Widget di ridimensionamento del pannello"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Titolo"}},"viz-panel-explore-button":{explore:"Esplora"},"viz-panel-renderer":{"loading-plugin-panel":"Caricamento del pannello dei componenti aggiuntivi in corso...","panel-plugin-has-no-panel-component":"Il plug-in del pannello non ha alcun componente del pannello"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Il rendering di troppe serie in un singolo pannello può influire sulle prestazioni e rendere più difficile la lettura dei dati.","warning-message":"Mostra solo {{seriesLimit}} serie"}},utils:{"controls-label":{"tooltip-remove":"Rimuovi"},"loading-indicator":{"content-cancel-query":"Annulla query"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Modifica operatore del filtro"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Aggiungi filtro","title-add-filter":"Aggiungi filtro"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Rimuovi filtro","key-select":{"placeholder-select-label":"Seleziona etichetta"},"label-select-label":"Seleziona etichetta","title-remove-filter":"Rimuovi filtro","value-select":{"placeholder-select-value":"Seleziona valore"}},"data-source-variable":{label:{default:"predefinito"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"cancella",tooltip:"Applicato per impostazione predefinita in questa dashboard. Se modificato, viene trasferito ad altre dashboard.","tooltip-restore-groupby-set-by-this-dashboard":"Ripristina il raggruppamento impostato da questa dashboard."},"format-registry":{formats:{description:{"commaseparated-values":"Valori separati da virgola","double-quoted-values":"Valori tra virgolette doppie","format-date-in-different-ways":"Formatta la data in diversi modi","format-multivalued-variables-using-syntax-example":"Formatta le variabili a più valori utilizzando la sintassi glob, esempio {value1,value2}","html-escaping-of-values":"Escaping HTML dei valori","join-values-with-a-comma":"","json-stringify-value":"Valore JSON stringify","keep-value-as-is":"Mantieni il valore così com'è","multiple-values-are-formatted-like-variablevalue":"I valori multipli sono formattati come variabile=valore","single-quoted-values":"Valori tra virgolette singole","useful-escaping-values-taking-syntax-characters":"Utile per i valori di escape degli URL, tenendo conto dei caratteri di sintassi URI","useful-for-url-escaping-values":"Utile per i valori di escape degli URL","values-are-separated-by-character":"I valori sono separati dal carattere |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Raggruppa per selettore","placeholder-group-by-label":"Raggruppa per etichetta"},"interval-variable":{"placeholder-select-value":"Seleziona valore"},"loading-options-placeholder":{"loading-options":"Caricamento opzioni in corso..."},"multi-value-apply-button":{apply:"Applica"},"no-options-placeholder":{"no-options-found":"Nessuna opzione trovata"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Si è verificato un errore durante il recupero delle etichette. Clicca per riprovare"},"test-object-with-variable-dependency":{title:{hello:"Ciao"}},"test-variable":{text:{text:"Testo"}},"variable-value-input":{"placeholder-enter-value":"Inserisci valore"},"variable-value-select":{"placeholder-select-value":"Seleziona valore"}}}}},25219:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var a=n(27491),i=n(35416),o=n(1266),s=n(7394),l=n(4386),u=n(11824),c=n(75031);t.bufferTime=function(e){for(var t,n,d=[],f=1;f=0?c.executeSchedule(n,p,d,h,!0):l=!0,d();var f=o.createOperatorSubscriber(n,function(e){var t,n,a=i.slice();try{for(var o=r(a),s=o.next();!s.done;s=o.next()){var l=s.value,c=l.buffer;c.push(e),m<=c.length&&u(l)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},function(){for(;null==i?void 0:i.length;)n.next(i.shift().buffer);null==f||f.unsubscribe(),n.complete(),n.unsubscribe()},void 0,function(){return i=null});t.subscribe(f)})}},25225:(e,t,n)=>{"use strict";n.d(t,{c:()=>V});var r=n(27405),a=n(68102),i=n(79089),o=n(97850),s=n(29644);var l=n(85959),u=n(48398),c=n(8083),d=l.useLayoutEffect,f=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],p=function(){};var h=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.A)(e,f);return(0,r.A)({},t)},m=function(e,t,n){var r=e.cx,a=e.getStyles,i=e.getClassNames,o=e.className;return{css:a(t,e),className:r(null!=n?n:{},i(t,e),o)}};var g={get passive(){return!0}},v="undefined"!=typeof window?window:{};v.addEventListener&&v.removeEventListener&&(v.addEventListener("p",p,g),v.removeEventListener("p",p,!1));var y=["children","innerProps"],b=["children","innerProps"];var _,w=function(e){return"auto"===e?"bottom":e},M=(0,l.createContext)(null),S=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"menu",{menu:!0}),{ref:n},r),t)},k=["size"],L=["innerProps","isRtl","size"];var x,D,T={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},E=function(e){var t=e.size,n=(0,s.A)(e,k);return(0,i.jsx)("svg",(0,a.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:T},n))},O=function(e){return(0,i.jsx)(E,(0,a.A)({size:20},e),(0,i.jsx)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},P=function(e){return(0,i.jsx)(E,(0,a.A)({size:20},e),(0,i.jsx)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Y=(0,i.keyframes)(_||(x=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],D||(D=x.slice(0)),_=Object.freeze(Object.defineProperties(x,{raw:{value:Object.freeze(D)}})))),C=function(e){var t=e.delay,n=e.offset;return(0,i.jsx)("span",{css:(0,i.css)({animation:"".concat(Y," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},A=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return(0,i.jsx)("div",(0,a.A)({ref:o},m(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),s,{"aria-disabled":n||void 0}),t)},R=["data"],j=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,s=e.Heading,l=e.headingProps,u=e.innerProps,c=e.label,d=e.theme,f=e.selectProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"group",{group:!0}),u),(0,i.jsx)(s,(0,a.A)({},l,{selectProps:f,theme:d,getStyles:r,getClassNames:o,cx:n}),c),(0,i.jsx)("div",null,t))},I=["innerRef","isDisabled","isHidden","inputClassName"],F={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},H=((0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},F),function(e){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},F)}),N=function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",n,t)};var z=function(e){var t=e.children,n=e.components,a=e.data,o=e.innerProps,s=e.isDisabled,l=e.removeProps,u=e.selectProps,c=n.Container,d=n.Label,f=n.Remove;return(0,i.jsx)(c,{data:a,innerProps:(0,r.A)((0,r.A)({},m(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:u},(0,i.jsx)(d,{data:a,innerProps:(0,r.A)({},m(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,i.jsx)(f,{data:a,innerProps:(0,r.A)((0,r.A)({},m(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:u}))},V={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,i.jsx)(O,null))},Control:A,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,i.jsx)(P,null))},DownChevron:P,CrossIcon:O,Group:j,GroupHeading:function(e){var t=h(e);t.data;var n=(0,s.A)(t,R);return(0,i.jsx)("div",(0,a.A)({},m(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,i.jsx)("span",(0,a.A)({},t,m(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=h(e),o=r.innerRef,l=r.isDisabled,u=r.isHidden,c=r.inputClassName,d=(0,s.A)(r,I);return(0,i.jsx)("div",(0,a.A)({},m(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,i.jsx)("input",(0,a.A)({className:t({input:!0},c),ref:o,style:H(u),disabled:l},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,l=void 0===o?4:o,u=(0,s.A)(e,L);return(0,i.jsx)("div",(0,a.A)({},m((0,r.A)((0,r.A)({},u),{},{innerProps:t,isRtl:n,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,i.jsx)(C,{delay:0,offset:n}),(0,i.jsx)(C,{delay:160,offset:!0}),(0,i.jsx)(C,{delay:320,offset:!n}))},Menu:S,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return(0,i.jsx)("div",(0,a.A)({},m(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,f=e.innerProps,p=e.menuPlacement,h=e.menuPosition,g=(0,l.useRef)(null),v=(0,l.useRef)(null),y=(0,l.useState)(w(p)),b=(0,o.A)(y,2),_=b[0],S=b[1],k=(0,l.useMemo)(function(){return{setPortalPlacement:S}},[]),L=(0,l.useState)(null),x=(0,o.A)(L,2),D=x[0],T=x[1],E=(0,l.useCallback)(function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===h?0:window.pageYOffset,n=e[_]+t;n===(null==D?void 0:D.offset)&&e.left===(null==D?void 0:D.rect.left)&&e.width===(null==D?void 0:D.rect.width)||T({offset:n,rect:e})}},[s,h,_,null==D?void 0:D.offset,null==D?void 0:D.rect.left,null==D?void 0:D.rect.width]);d(function(){E()},[E]);var O=(0,l.useCallback)(function(){"function"==typeof v.current&&(v.current(),v.current=null),s&&g.current&&(v.current=(0,c.ll)(s,g.current,E,{elementResize:"ResizeObserver"in window}))},[s,E]);d(function(){O()},[O]);var P=(0,l.useCallback)(function(e){g.current=e,O()},[O]);if(!t&&"fixed"!==h||!D)return null;var Y=(0,i.jsx)("div",(0,a.A)({ref:P},m((0,r.A)((0,r.A)({},e),{},{offset:D.offset,position:h,rect:D.rect}),"menuPortal",{"menu-portal":!0}),f),n);return(0,i.jsx)(M.Provider,{value:k},t?(0,u.createPortal)(Y,t):Y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,l=(0,s.A)(e,b);return(0,i.jsx)("div",(0,a.A)({},m((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,l=(0,s.A)(e,y);return(0,i.jsx)("div",(0,a.A)({},m((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:z,MultiValueContainer:N,MultiValueLabel:N,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",(0,a.A)({role:"button"},n),t||(0,i.jsx)(O,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,s=e.innerRef,l=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:s,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return(0,i.jsx)("div",(0,a.A)({},m(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,i.jsx)("div",(0,a.A)({},m(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return(0,i.jsx)("div",(0,a.A)({},m(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}}},25387:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(42689))},25567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var r=n(52296),a=n(20020),i=n(35416),o=n(1266);t.repeatWhen=function(e){return i.operate(function(t,n){var i,s,l=!1,u=!1,c=!1,d=function(){return c&&u&&(n.complete(),!0)},f=function(){c=!1,i=t.subscribe(o.createOperatorSubscriber(n,void 0,function(){c=!0,!d()&&(s||(s=new a.Subject,r.innerFrom(e(s)).subscribe(o.createOperatorSubscriber(n,function(){i?f():l=!0},function(){u=!0,d()}))),s).next()})),l&&(i.unsubscribe(),i=null,l=!1,f())};f()})}},25718:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},25834:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var r=n(47209),a=n(48743),i=n(26612),o=n(44717);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(t.NotificationKind||(t.NotificationKind={}));var s=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){return l(this,e)},e.prototype.do=function(e,t,n){var r=this,a=r.kind,i=r.value,o=r.error;return"N"===a?null==e?void 0:e(i):"E"===a?null==t?void 0:t(o):null==n?void 0:n()},e.prototype.accept=function(e,t,n){var r;return o.isFunction(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){var e=this,t=e.kind,n=e.value,o=e.error,s="N"===t?a.of(n):"E"===t?i.throwError(function(){return o}):"C"===t?r.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function l(e,t){var n,r,a,i=e,o=i.kind,s=i.value,l=i.error;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,s):"E"===o?null===(r=t.error)||void 0===r||r.call(t,l):null===(a=t.complete)||void 0===a||a.call(t)}t.Notification=s,t.observeNotification=l},26404:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},26612:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var r=n(92023),a=n(44717);t.throwError=function(e,t){var n=a.isFunction(e)?e:function(){return e},i=function(e){return e.error(n())};return new r.Observable(t?function(e){return t.schedule(i,0,e)}:i)}},26732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error(`Invalid prop ${t} passed to ${n} - do not set this, set it on the child.`)},t.findInArray=function(e,t){for(let n=0,r=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var r=n(33967),a=n(44717);t.isIterable=function(e){return a.isFunction(null==e?void 0:e[r.iterator])}},26972:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultFieldConfig:()=>o,defaultOptions:()=>i,pluginVersion:()=>a});var r=n(85569);const a="12.3.1",i={barRadius:0,barWidth:.97,fullHighlight:!1,groupWidth:.7,orientation:r.i.Auto,showValue:r.V.Auto,stacking:r.S.None,xTickLabelRotation:0,xTickLabelSpacing:0},o={fillOpacity:80,gradientMode:r.G.None,lineWidth:1}},26977:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var r=n(11282);t.flatMap=r.mergeMap},27104:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(42689))},27244:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(42689))},27390:function(e,t,n){!function(e){"use strict";var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(42689))},27405:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(41705);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var r=n(35416),a=n(16129),i=n(1266),o=n(52296);t.bufferWhen=function(e){return r.operate(function(t,n){var r=null,s=null,l=function(){null==s||s.unsubscribe();var t=r;r=[],t&&n.next(t),o.innerFrom(e()).subscribe(s=i.createOperatorSubscriber(n,l,a.noop))};l(),t.subscribe(i.createOperatorSubscriber(n,function(e){return null==r?void 0:r.push(e)},function(){r&&n.next(r),n.complete()},void 0,function(){return r=s=null}))})}},27997:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},28226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var r=n(35129),a=n(59924),i=n(44717);t.publishReplay=function(e,t,n,o){n&&!i.isFunction(n)&&(o=n);var s=i.isFunction(n)?n:void 0;return function(n){return a.multicast(new r.ReplaySubject(e,t,o),s)(n)}}},28512:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},28974:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(42689))},29198:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(42689))},29343:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return n[e]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(42689))},29644:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rr})},29842:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var r=n(35416),a=n(1266);t.skipWhile=function(e){return r.operate(function(t,n){var r=!1,i=0;t.subscribe(a.createOperatorSubscriber(n,function(t){return(r||(r=!e(t,i++)))&&n.next(t)}))})}},29939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var r=n(79391),a=n(35416),i=n(1266);function o(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=r.identity),e=null!=e?e:o,a.operate(function(n,r){var a,o=!0;n.subscribe(i.createOperatorSubscriber(r,function(n){var i=t(n);!o&&e(a,i)||(o=!1,a=i,r.next(n))}))})}},30161:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Editar filtro con la clave {{keyLabel}}","managed-filter":"Filtro gestionado de {{origin}}","non-applicable":"","remove-filter-with-key":"Eliminar filtro con la clave {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Eliminar valor del filtro: {{itemLabel}}","use-custom-value":"Usar valor personalizado: {{itemLabel}}"},"fallback-page":{content:"Si ha llegado hasta aquí mediante un enlace, es posible que haya un error en esta aplicación.",subTitle:"La URL no coincide con ninguna página",title:"No se ha encontrado"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Contraer escena","expand-button-label":"Expandir escena","remove-button-label":"Eliminar escena"},"scene-debugger":{"object-details":"Detalles del objeto","scene-graph":"Gráfico de la escena","title-scene-debugger":"Depurador de escenas"},"scene-grid-row":{"collapse-row":"Contraer fila","expand-row":"Expandir fila"},"scene-refresh-picker":{"text-cancel":"Cancelar","text-refresh":"Actualizar","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Comparación","button-tooltip":"Habilitar comparación de intervalos de tiempo"},splitter:{"aria-label-pane-resize-widget":"Widget de cambio de tamaño del panel"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Título"}},"viz-panel-explore-button":{explore:"Explorar"},"viz-panel-renderer":{"loading-plugin-panel":"Cargando panel de plugins...","panel-plugin-has-no-panel-component":"El plugin del panel no tiene ningún componente de panel"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Representar demasiadas series en un solo panel puede afectar al rendimiento y dificultar la lectura de los datos.","warning-message":"Mostrando solo {{seriesLimit}} serie(s)"}},utils:{"controls-label":{"tooltip-remove":"Eliminar"},"loading-indicator":{"content-cancel-query":"Cancelar consulta"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Editar operador de filtro"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Añadir filtro","title-add-filter":"Añadir filtro"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Eliminar filtro","key-select":{"placeholder-select-label":"Seleccionar etiqueta"},"label-select-label":"Seleccionar etiqueta","title-remove-filter":"Eliminar filtro","value-select":{"placeholder-select-value":"Seleccionar valor"}},"data-source-variable":{label:{default:"predeterminada"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"borrar",tooltip:"Aplicado de forma predeterminada en este dashboard. Si se edita, se transfiere a otros dashboards.","tooltip-restore-groupby-set-by-this-dashboard":"Restaura la función groupby definida por este dashboard."},"format-registry":{formats:{description:{"commaseparated-values":"Valores separados por comas","double-quoted-values":"Valores entre comillas dobles","format-date-in-different-ways":"Dar formato a la fecha de diferentes maneras","format-multivalued-variables-using-syntax-example":"Dar formato a las variables de múltiples valores con la sintaxis glob, por ejemplo, {value1,value2}","html-escaping-of-values":"Escape HTML de valores","join-values-with-a-comma":"","json-stringify-value":"Valor de JSON stringify","keep-value-as-is":"Mantener el valor tal cual","multiple-values-are-formatted-like-variablevalue":"Los valores múltiples tienen el formato variable=valor","single-quoted-values":"Valores entre comillas simples","useful-escaping-values-taking-syntax-characters":"Útil para valores de escape URL, utilizando caracteres de sintaxis URI","useful-for-url-escaping-values":"Útil para valores de escape URL","values-are-separated-by-character":"Los valores están separados por el carácter |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Agrupar por selector","placeholder-group-by-label":"Agrupar por etiqueta"},"interval-variable":{"placeholder-select-value":"Seleccionar valor"},"loading-options-placeholder":{"loading-options":"Cargando opciones..."},"multi-value-apply-button":{apply:"Aplicar"},"no-options-placeholder":{"no-options-found":"No se han encontrado opciones"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Se ha producido un error al recuperar las etiquetas. Haga clic para volver a intentarlo"},"test-object-with-variable-dependency":{title:{hello:"Hola"}},"test-variable":{text:{text:"Texto"}},"variable-value-input":{"placeholder-enter-value":"Introducir valor"},"variable-value-select":{"placeholder-select-value":"Seleccionar valor"}}}}},30277:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(43215))&&r.__esModule?r:{default:r};var i=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};t.default=i},30469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var r=n(4575),a=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=r.dateTimestampProvider.now,e}();t.Scheduler=a},30665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var r=n(56871);t.UnsubscriptionError=r.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}})},30994:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var r=n(92023),a=n(43787),i=n(45294),o=n(79391),s=n(88240),l=n(11824),u=n(34950),c=n(1266),d=n(75031);function f(e,t,n){return void 0===n&&(n=o.identity),function(r){p(t,function(){for(var a=e.length,o=new Array(a),s=a,l=a,u=function(a){p(t,function(){var u=i.from(e[a],t),d=!1;u.subscribe(c.createOperatorSubscriber(r,function(e){o[a]=e,d||(d=!0,l--),l||r.next(n(o.slice()))},function(){--s||r.complete()}))},r)},d=0;d{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(n,r){return!e.call(t,n,r)}}},31357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var r=n(74828);t.mapTo=function(e){return r.map(function(){return e})}},31801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var r=n(84512),a=n(44717);t.isInteropObservable=function(e){return a.isFunction(e[r.observable])}},32206:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(42689))},32216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var r=n(20020),a=n(52296),i=n(35416),o=n(3123),s={connector:function(){return new r.Subject}};t.connect=function(e,t){void 0===t&&(t=s);var n=t.connector;return i.operate(function(t,r){var i=n();a.innerFrom(e(o.fromSubscribable(i))).subscribe(r),r.add(t.subscribe(i))})}},32607:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(42689))},32681:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=u,t.addEvent=function(e,t,n,r){if(!e)return;const a={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,a):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&u(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const n=s(e,t,"px");return{[(0,a.browserPrefixToKey)("transform",a.default)]:n}},t.createSVGTransform=function(e,t){return s(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,e=>t===e.identifier)||e.changedTouches&&(0,r.findInArray)(e.changedTouches,e=>t===e.identifier)},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=s,t.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight),t},t.matchesSelector=o,t.matchesSelectorAndParentsTo=function(e,t,n){let r=e;do{if(o(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),a=(e.clientX+t.scrollLeft-r.left)/n,i=(e.clientY+t.scrollTop-r.top)/n;return{x:a,y:i}},t.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth),t},t.removeClassName=c,t.removeEvent=function(e,t,n,r){if(!e)return;const a={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{l(e)}):l(e)};var r=n(26732),a=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(a=t?r:n){if(a.has(e))return a.get(e);a.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?a(o,t,i):o[t]=e[t]);return o}(e,t)}(n(47350));let i="";function o(e,t){return i||(i=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return(0,r.isFunction)(e[t])})),!!(0,r.isFunction)(e[i])&&e[i](t)}function s(e,t,n){let{x:r,y:a}=e,i=`translate(${r}${n},${a}${n})`;if(t){i=`translate(${`${"string"==typeof t.x?t.x:t.x+n}`}, ${`${"string"==typeof t.y?t.y:t.y+n}`})`+i}return i}function l(e){if(e)try{if(e.body&&c(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function u(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}},33010:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function a(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,n,o){var s=e+" ";return 1===e?s+r(e,t,n[0],o):t?s+(a(e)?i(n)[1]:i(n)[0]):o?s+i(n)[1]:s+(a(e)?i(n)[1]:i(n)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(42689))},33016:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var r=n(20020),a=n(35416),i=n(1266),o=n(52296);t.windowWhen=function(e){return a.operate(function(t,n){var a,s,l=function(e){a.error(e),n.error(e)},u=function(){var t;null==s||s.unsubscribe(),null==a||a.complete(),a=new r.Subject,n.next(a.asObservable());try{t=o.innerFrom(e())}catch(e){return void l(e)}t.subscribe(s=i.createOperatorSubscriber(n,u,u,l))};u(),t.subscribe(i.createOperatorSubscriber(n,function(e){return a.next(e)},function(){a.complete(),n.complete()},l,function(){null==s||s.unsubscribe(),a=null}))})}},33049:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,z:()=>l});var r=n(85959);const a=r.createContext({}),i=!0;function o({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:a,circle:o,direction:s,duration:l,enableAnimation:u=i,customHighlightBackground:c}){const d={};return"rtl"===s&&(d["--animation-direction"]="reverse"),"number"==typeof l&&(d["--animation-duration"]=`${l}s`),u||(d["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(d.width=n),"string"!=typeof r&&"number"!=typeof r||(d.height=r),"string"!=typeof a&&"number"!=typeof a||(d.borderRadius=a),o&&(d.borderRadius="50%"),void 0!==e&&(d["--base-color"]=e),void 0!==t&&(d["--highlight-color"]=t),"string"==typeof c&&(d["--custom-highlight-background"]=c),d}function s({count:e=1,wrapper:t,className:n,containerClassName:s,containerTestId:l,circle:u=!1,style:c,...d}){var f,p,h;const m=r.useContext(a),g={...d};for(const[e,t]of Object.entries(d))void 0===t&&delete g[e];const v={...m,...g,circle:u},y={...c,...o(v)};let b="react-loading-skeleton";n&&(b+=` ${n}`);const _=null!==(f=v.inline)&&void 0!==f&&f,w=[],M=Math.ceil(e);for(let t=0;te&&t===M-1){const t=null!==(p=n.width)&&void 0!==p?p:"100%",r=e%1,a="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:a}}const a=r.createElement("span",{className:b,style:n,key:t},"‌");_?w.push(a):w.push(r.createElement(r.Fragment,{key:t},a,r.createElement("br",null)))}return r.createElement("span",{className:s,"data-testid":l,"aria-live":"polite","aria-busy":null!==(h=v.enableAnimation)&&void 0!==h?h:i},t?w.map((e,n)=>r.createElement(t,{key:n},e)):w)}function l({children:e,...t}){return r.createElement(a.Provider,{value:t},e)}},33315:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"минута":"минуту":e+" "+t({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(42689))},33419:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,i=e>=100?100:null;return e+(t[r]||t[a]||t[i])}},week:{dow:1,doy:7}})}(n(42689))},33484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var r=n(37676),a=n(72914),i=n(20787),o=n(45956),s=n(87507),l=n(79391);t.last=function(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?a.filter(function(t,n){return e(t,n,u)}):l.identity,i.takeLast(1),n?s.defaultIfEmpty(t):o.throwIfEmpty(function(){return new r.EmptyError}))}}},33692:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{t.t=function(e){var t=e.index,n=e.parentStyleSheet,r=n.cssRules||n.rules;for(t=Math.max(t,r.length-1);t>=0;){if(r[t]===e){n.deleteRule(t);break}t--}}},33870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var r=n(4386),a=n(35416),i=n(1266);t.debounceTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),a.operate(function(n,r){var a=null,o=null,s=null,l=function(){if(a){a.unsubscribe(),a=null;var e=o;o=null,r.next(e)}};function u(){var n=s+e,i=t.now();if(i{"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=n,t.iterator=n()},34473:(e,t,n)=>{"use strict";const r=n(39534),a=n(11106),{ANY:i}=a,o=n(66293),s=n(64120),l=n(47574),u=n(5161),c=n(1178),d=n(73039);e.exports=(e,t,n,f)=>{let p,h,m,g,v;switch(e=new r(e,f),t=new o(t,f),n){case">":p=l,h=c,m=u,g=">",v=">=";break;case"<":p=u,h=d,m=l,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,f))return!1;for(let n=0;n{e.semver===i&&(e=new a(">=0.0.0")),o=o||e,s=s||e,p(e.semver,o.semver,f)?o=e:m(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===v)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}},34566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>Re,CompositeItem:()=>je,FloatingArrow:()=>Ve,FloatingDelayGroup:()=>it,FloatingFocusManager:()=>Nt,FloatingList:()=>Te,FloatingNode:()=>Ke,FloatingOverlay:()=>Wt,FloatingPortal:()=>Pt,FloatingTree:()=>Je,arrow:()=>oe,autoPlacement:()=>re,autoUpdate:()=>U.ll,computePosition:()=>U.rD,detectOverflow:()=>U.__,flip:()=>te,getOverflowAncestors:()=>a.v9,hide:()=>ae,inline:()=>ie,inner:()=>wn,limitShift:()=>ee,offset:()=>Z,platform:()=>U.iD,safePolygon:()=>kn,shift:()=>X,size:()=>ne,useClick:()=>Bt,useClientPoint:()=>Gt,useDelayGroup:()=>ot,useDelayGroupContext:()=>at,useDismiss:()=>Zt,useFloating:()=>en,useFloatingNodeId:()=>Ge,useFloatingParentNodeId:()=>Be,useFloatingPortalNode:()=>Ot,useFloatingRootContext:()=>Xt,useFloatingTree:()=>qe,useFocus:()=>tn,useHover:()=>tt,useId:()=>ze,useInnerOffset:()=>Mn,useInteractions:()=>on,useListItem:()=>Ee,useListNavigation:()=>fn,useMergeRefs:()=>se,useRole:()=>hn,useTransitionStatus:()=>vn,useTransitionStyles:()=>yn,useTypeahead:()=>bn});var r=n(85959),a=n(977);function i(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function o(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,a.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function l(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function u(e){return!(0!==e.mozInputSource||!e.isTrusted)||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function c(e){return!l().includes("jsdom/")&&(!f()&&0===e.width&&0===e.height||f()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function d(){return/apple/i.test(navigator.vendor)}function f(){const e=/android/i;return e.test(s())||e.test(l())}function p(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function h(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function m(e){return(null==e?void 0:e.ownerDocument)||document}function g(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function v(e){return"composedPath"in e?e.composedPath()[0]:e.target}const y="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function b(e){return(0,a.sb)(e)&&e.matches(y)}function _(e){e.preventDefault(),e.stopPropagation()}function w(e){return!!e&&("combobox"===e.getAttribute("role")&&b(e))}var M=n(58015),S=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],k=S.join(","),L="undefined"==typeof Element,x=L?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,D=!L&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},T=function(e,t){var n;void 0===t&&(t=!0);var r=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):T(e.parentNode))},E=function(e,t,n){if(T(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(k));return t&&x.call(e,k)&&r.unshift(e),r=r.filter(n)},O=function(e,t,n){for(var r=[],a=Array.from(e);a.length;){var i=a.shift();if(!T(i,!1))if("SLOT"===i.tagName){var o=i.assignedElements(),s=o.length?o:i.children,l=O(s,!0,n);n.flatten?r.push.apply(r,l):r.push({scopeParent:i,candidates:l})}else{x.call(i,k)&&n.filter(i)&&(t||!e.includes(i))&&r.push(i);var u=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),c=!T(u,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(u&&c){var d=O(!0===u?i.children:u.children,!0,n);n.flatten?r.push.apply(r,d):r.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return r},P=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Y=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!P(e)?0:e.tabIndex},C=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},A=function(e){return"INPUT"===e.tagName},R=function(e){return function(e){return A(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||D(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(x.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return j(e)}else{if("function"==typeof r){for(var i=e;e;){var o=e.parentElement,s=D(e);if(o&&!o.shadowRoot&&!0===r(o))return j(e);e=e.assignedSlot?e.assignedSlot:o||s===e.ownerDocument?o:s.host}e=i}if(function(e){var t,n,r,a,i=e&&D(e),o=null===(t=i)||void 0===t?void 0:t.host,s=!1;if(i&&i!==e)for(s=!!(null!==(n=o)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(o)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&o;){var l,u,c;s=!(null===(u=o=null===(l=i=D(o))||void 0===l?void 0:l.host)||void 0===u||null===(c=u.ownerDocument)||void 0===c||!c.contains(o))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},F=function(e,t){return!(t.disabled||function(e){return A(e)&&"hidden"===e.type}(t)||I(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},z=function(e){var t=[],n=[];return e.forEach(function(e,r){var a=!!e.scopeParent,i=a?e.scopeParent:e,o=function(e,t){var n=Y(e);return n<0&&t&&!P(e)?0:n}(i,a),s=a?z(e.candidates):i;0===o?a?t.push.apply(t,s):t.push(i):n.push({documentOrder:r,tabIndex:o,item:e,isScope:a,content:s})}),n.sort(C).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},V=function(e,t){var n;return n=(t=t||{}).getShadowRoot?O([e],t.includeContainer,{filter:H.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:N}):E(e,t.includeContainer,H.bind(null,t)),z(n)},W=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==x.call(e,k)&&H(t,e)},$=n(48398),U=n(8083),B="undefined"!=typeof document?r.useLayoutEffect:function(){};function q(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!q(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!==r--;){const n=a[r];if(("_owner"!==n||!e.$$typeof)&&!q(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function G(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function K(e,t){const n=G(e);return Math.round(t*n)/n}function J(e){const t=r.useRef(e);return B(()=>{t.current=e}),t}const Q=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?(0,U.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,U.UE)({element:n,padding:r}).fn(t):{};var a}}),Z=(e,t)=>({...(0,U.cY)(e),options:[e,t]}),X=(e,t)=>({...(0,U.BN)(e),options:[e,t]}),ee=(e,t)=>({...(0,U.ER)(e),options:[e,t]}),te=(e,t)=>({...(0,U.UU)(e),options:[e,t]}),ne=(e,t)=>({...(0,U.Ej)(e),options:[e,t]}),re=(e,t)=>({...(0,U.RK)(e),options:[e,t]}),ae=(e,t)=>({...(0,U.jD)(e),options:[e,t]}),ie=(e,t)=>({...(0,U.mG)(e),options:[e,t]}),oe=(e,t)=>({...Q(e),options:[e,t]});function se(e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}const le={...r},ue=le.useInsertionEffect||(e=>e());function ce(e){const t=r.useRef(()=>{0});return ue(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r=e.current.length}function ve(e,t){return be(e,{disabledIndices:t})}function ye(e,t){return be(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function be(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:a,amount:i=1}=void 0===t?{}:t;const o=e.current;let s=n;do{s+=r?-i:i}while(s>=0&&s<=o.length-1&&ke(o,s,a));return s}function _e(e,t){let{event:n,orientation:r,loop:a,rtl:i,cols:o,disabledIndices:s,minIndex:l,maxIndex:u,prevIndex:c,stopEvent:d=!1}=t,f=c;if(n.key===de){if(d&&_(n),-1===c)f=u;else if(f=be(e,{startingIndex:f,amount:o,decrement:!0,disabledIndices:s}),a&&(c-oe?n:n-o}ge(e,f)&&(f=c)}if(n.key===fe&&(d&&_(n),-1===c?f=l:(f=be(e,{startingIndex:c,amount:o,disabledIndices:s}),a&&c+o>u&&(f=be(e,{startingIndex:c%o-o,amount:o,disabledIndices:s}))),ge(e,f)&&(f=c)),"both"===r){const t=(0,M.RI)(c/o);n.key===(i?pe:he)&&(d&&_(n),c%o!==o-1?(f=be(e,{startingIndex:c,disabledIndices:s}),a&&me(f,o,t)&&(f=be(e,{startingIndex:c-c%o-1,disabledIndices:s}))):a&&(f=be(e,{startingIndex:c-c%o-1,disabledIndices:s})),me(f,o,t)&&(f=c)),n.key===(i?he:pe)&&(d&&_(n),c%o!==0?(f=be(e,{startingIndex:c,decrement:!0,disabledIndices:s}),a&&me(f,o,t)&&(f=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:s}))):a&&(f=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:s})),me(f,o,t)&&(f=c));const r=(0,M.RI)(u/o)===t;ge(e,f)&&(f=a&&r?n.key===(i?he:pe)?u:be(e,{startingIndex:c-c%o-1,disabledIndices:s}):c)}return f}function we(e,t,n){const r=[];let a=0;return e.forEach((e,i)=>{let{width:o,height:s}=e,l=!1;for(n&&(a=0);!l;){const e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=i}),l=!0):a++}}),[...r]}function Me(e,t,n,r,a){if(-1===e)return-1;const i=n.indexOf(e),o=t[e];switch(a){case"tl":return i;case"tr":return o?i+o.width-1:i;case"bl":return o?i+(o.height-1)*r:i;case"br":return n.lastIndexOf(e)}}function Se(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function ke(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var Le="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function xe(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const De=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function Te(e){const{children:t,elementsRef:n,labelsRef:a}=e,[i,o]=r.useState(()=>new Map),s=r.useCallback(e=>{o(t=>new Map(t).set(e,null))},[]),l=r.useCallback(e=>{o(t=>{const n=new Map(t);return n.delete(e),n})},[]);return Le(()=>{const e=new Map(i);Array.from(e.keys()).sort(xe).forEach((t,n)=>{e.set(t,n)}),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(i,e)||o(e)},[i]),r.createElement(De.Provider,{value:r.useMemo(()=>({register:s,unregister:l,map:i,elementsRef:n,labelsRef:a}),[s,l,i,n,a])},t)}function Ee(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:a,map:i,elementsRef:o,labelsRef:s}=r.useContext(De),[l,u]=r.useState(null),c=r.useRef(null),d=r.useCallback(e=>{if(c.current=e,null!==l&&(o.current[l]=e,s)){var n;const r=void 0!==t;s.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}},[l,o,s,t]);return Le(()=>{const e=c.current;if(e)return n(e),()=>{a(e)}},[n,a]),Le(()=>{const e=c.current?i.get(c.current):null;null!=e&&u(e)},[i]),r.useMemo(()=>({ref:d,index:null==l?-1:l}),[l,d])}function Oe(e,t){return"function"==typeof e?e(t):e?r.cloneElement(e,t):r.createElement("div",t)}const Pe=r.createContext({activeIndex:0,onNavigate:()=>{}}),Ye=[pe,he],Ce=[de,fe],Ae=[...Ye,...Ce],Re=r.forwardRef(function(e,t){const{render:n,orientation:a="both",loop:i=!0,rtl:o=!1,cols:s=1,disabledIndices:l,activeIndex:u,onNavigate:c,itemSizes:d,dense:f=!1,...p}=e,[h,m]=r.useState(0),g=null!=u?u:h,v=ce(null!=c?c:m),y=r.useRef([]),b=n&&"function"!=typeof n?n.props:{},_=r.useMemo(()=>({activeIndex:g,onNavigate:v}),[g,v]),w=s>1;const M={...p,...b,ref:t,"aria-orientation":"both"===a?void 0:a,onKeyDown(e){null==p.onKeyDown||p.onKeyDown(e),null==b.onKeyDown||b.onKeyDown(e),function(e){if(!Ae.includes(e.key))return;let t=g;const n=ve(y,l),r=ye(y,l),u=o?pe:he,c=o?he:pe;if(w){const c=d||Array.from({length:y.current.length},()=>({width:1,height:1})),p=we(c,s,f),h=p.findIndex(e=>null!=e&&!ke(y.current,e,l)),m=p.reduce((e,t,n)=>null==t||ke(y.current,t,l)?e:n,-1),v=p[_e({current:p.map(e=>e?y.current[e]:null)},{event:e,orientation:a,loop:i,rtl:o,cols:s,disabledIndices:Se([...l||y.current.map((e,t)=>ke(y.current,t)?t:void 0),void 0],p),minIndex:h,maxIndex:m,prevIndex:Me(g>r?n:g,c,p,s,e.key===fe?"bl":e.key===u?"tr":"tl")})];null!=v&&(t=v)}const p={horizontal:[u],vertical:[fe],both:[u,fe]}[a],h={horizontal:[c],vertical:[de],both:[c,de]}[a],m=w?Ae:{horizontal:Ye,vertical:Ce,both:Ae}[a];var b;t===g&&[...p,...h].includes(e.key)&&(t=i&&t===r&&p.includes(e.key)?n:i&&t===n&&h.includes(e.key)?r:be(y,{startingIndex:t,decrement:h.includes(e.key),disabledIndices:l})),t===g||ge(y,t)||(e.stopPropagation(),m.includes(e.key)&&e.preventDefault(),v(t),null==(b=y.current[t])||b.focus())}(e)}};return r.createElement(Pe.Provider,{value:_},r.createElement(Te,{elementsRef:y},Oe(n,M)))}),je=r.forwardRef(function(e,t){const{render:n,...a}=e,i=n&&"function"!=typeof n?n.props:{},{activeIndex:o,onNavigate:s}=r.useContext(Pe),{ref:l,index:u}=Ee(),c=se([l,t,i.ref]),d=o===u;return Oe(n,{...a,...i,ref:c,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==a.onFocus||a.onFocus(e),null==i.onFocus||i.onFocus(e),s(u)}})});function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+He++;const ze=le.useId||function(){const[e,t]=r.useState(()=>Fe?Ne():void 0);return Le(()=>{null==e&&t(Ne())},[]),r.useEffect(()=>{Fe=!0},[]),e};const Ve=r.forwardRef(function(e,t){const{context:{placement:n,elements:{floating:i},middlewareData:{arrow:o,shift:s}},width:l=14,height:u=7,tipRadius:c=0,strokeWidth:d=0,staticOffset:f,stroke:p,d:h,style:{transform:m,...g}={},...v}=e;const y=ze(),[b,_]=r.useState(!1);if(Le(()=>{if(!i)return;"rtl"===(0,a.L9)(i).direction&&_(!0)},[i]),!i)return null;const[w,M]=n.split("-"),S="top"===w||"bottom"===w;let k=f;(S&&null!=s&&s.x||!S&&null!=s&&s.y)&&(k=null);const L=2*d,x=L/2,D=l/2*(c/-8+1),T=u/2*c/4,E=!!h,O=k&&"end"===M?"bottom":"top";let P=k&&"end"===M?"right":"left";k&&b&&(P="end"===M?"left":"right");const Y=null!=(null==o?void 0:o.x)?k||o.x:"",C=null!=(null==o?void 0:o.y)?k||o.y:"",A=h||"M0,0 H"+l+" L"+(l-D)+","+(u-T)+" Q"+l/2+","+u+" "+D+","+(u-T)+" Z",R={top:E?"rotate(180deg)":"",left:E?"rotate(90deg)":"rotate(-90deg)",bottom:E?"":"rotate(180deg)",right:E?"rotate(-90deg)":"rotate(90deg)"}[w];return r.createElement("svg",Ie({},v,{"aria-hidden":!0,ref:t,width:E?l:l+L,height:l,viewBox:"0 0 "+l+" "+(u>l?u:l),style:{position:"absolute",pointerEvents:"none",[P]:Y,[O]:C,[w]:S||E?"100%":"calc(100% - "+L/2+"px)",transform:[R,m].filter(e=>!!e).join(" "),...g}}),L>0&&r.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:p,strokeWidth:L+(h?0:1),d:A}),r.createElement("path",{stroke:L&&!h?v.fill:"none",d:A}),r.createElement("clipPath",{id:y},r.createElement("rect",{x:-x,y:x*(E?-1:1),width:l+L,height:l})))});function We(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}const $e=r.createContext(null),Ue=r.createContext(null),Be=()=>{var e;return(null==(e=r.useContext($e))?void 0:e.id)||null},qe=()=>r.useContext(Ue);function Ge(e){const t=ze(),n=qe(),r=Be(),a=e||r;return Le(()=>{const e={id:t,parentId:a};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}},[n,t,a]),t}function Ke(e){const{children:t,id:n}=e,a=Be();return r.createElement($e.Provider,{value:r.useMemo(()=>({id:n,parentId:a}),[n,a])},t)}function Je(e){const{children:t}=e,n=r.useRef([]),a=r.useCallback(e=>{n.current=[...n.current,e]},[]),i=r.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),o=r.useState(()=>We())[0];return r.createElement(Ue.Provider,{value:r.useMemo(()=>({nodesRef:n,addNode:a,removeNode:i,events:o}),[a,i,o])},t)}function Qe(e){return"data-floating-ui-"+e}function Ze(e){const t=(0,r.useRef)(e);return Le(()=>{t.current=e}),t}const Xe=Qe("safe-polygon");function et(e,t,n){return n&&!h(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function tt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,dataRef:s,events:l,elements:u}=e,{enabled:c=!0,delay:d=0,handleClose:f=null,mouseOnly:p=!1,restMs:g=0,move:v=!0}=t,y=qe(),b=Be(),_=Ze(f),w=Ze(d),M=Ze(n),S=r.useRef(),k=r.useRef(-1),L=r.useRef(),x=r.useRef(-1),D=r.useRef(!0),T=r.useRef(!1),E=r.useRef(()=>{}),O=r.useRef(!1),P=r.useCallback(()=>{var e;const t=null==(e=s.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[s]);r.useEffect(()=>{if(c)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(x.current),D.current=!0,O.current=!1)}},[c,l]),r.useEffect(()=>{if(!c)return;if(!_.current)return;if(!n)return;function e(e){P()&&i(!1,e,"hover")}const t=m(u.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[u.floating,n,i,c,_,P]);const Y=r.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=et(w.current,"close",S.current);r&&!L.current?(clearTimeout(k.current),k.current=window.setTimeout(()=>i(!1,e,n),r)):t&&(clearTimeout(k.current),i(!1,e,n))},[w,i]),C=ce(()=>{E.current(),L.current=void 0}),A=ce(()=>{if(T.current){const e=m(u.floating).body;e.style.pointerEvents="",e.removeAttribute(Xe),T.current=!1}}),R=ce(()=>!!s.current.openEvent&&["click","mousedown"].includes(s.current.openEvent.type));r.useEffect(()=>{if(c&&(0,a.vq)(u.domReference)){var e;const a=u.domReference;return n&&a.addEventListener("mouseleave",l),null==(e=u.floating)||e.addEventListener("mouseleave",l),v&&a.addEventListener("mousemove",t,{once:!0}),a.addEventListener("mouseenter",t),a.addEventListener("mouseleave",r),()=>{var e;n&&a.removeEventListener("mouseleave",l),null==(e=u.floating)||e.removeEventListener("mouseleave",l),v&&a.removeEventListener("mousemove",t),a.removeEventListener("mouseenter",t),a.removeEventListener("mouseleave",r)}}function t(e){if(clearTimeout(k.current),D.current=!1,p&&!h(S.current)||g>0&&!et(w.current,"open"))return;const t=et(w.current,"open",S.current);t?k.current=window.setTimeout(()=>{M.current||i(!0,e,"hover")},t):n||i(!0,e,"hover")}function r(e){if(R())return;E.current();const t=m(u.floating);if(clearTimeout(x.current),O.current=!1,_.current&&s.current.floatingContext){n||clearTimeout(k.current),L.current=_.current({...s.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){A(),C(),R()||Y(e,!0,"safe-polygon")}});const r=L.current;return t.addEventListener("mousemove",r),void(E.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==S.current||!o(u.floating,e.relatedTarget))&&Y(e)}function l(e){R()||s.current.floatingContext&&(null==_.current||_.current({...s.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){A(),C(),R()||Y(e)}})(e))}},[u,c,e,p,g,v,Y,C,A,i,n,M,y,w,_,s,R]),Le(()=>{var e;if(c&&n&&null!=(e=_.current)&&e.__options.blockPointerEvents&&P()){T.current=!0;const e=u.floating;if((0,a.vq)(u.domReference)&&e){var t;const n=m(u.floating).body;n.setAttribute(Xe,"");const r=u.domReference,a=null==y||null==(t=y.nodesRef.current.find(e=>e.id===b))||null==(t=t.context)?void 0:t.elements.floating;return a&&(a.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[c,n,b,u,y,_,P]),Le(()=>{n||(S.current=void 0,O.current=!1,C(),A())},[n,C,A]),r.useEffect(()=>()=>{C(),clearTimeout(k.current),clearTimeout(x.current),A()},[c,u.domReference,C,A]);const j=r.useMemo(()=>{function e(e){S.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){D.current||M.current||i(!0,t,"hover")}p&&!h(S.current)||n||0===g||O.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(x.current),"touch"===S.current?r():(O.current=!0,x.current=window.setTimeout(r,g)))}}},[p,i,n,M,g]),I=r.useMemo(()=>({onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){R()||Y(e.nativeEvent,!1)}}),[Y,R]);return r.useMemo(()=>c?{reference:j,floating:I}:{},[c,j,I])}const nt=()=>{},rt=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:nt,setState:nt,isInstantPhase:!1}),at=()=>r.useContext(rt);function it(e){const{children:t,delay:n,timeoutMs:a=0}=e,[i,o]=r.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:a,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),l=r.useCallback(e=>{o({currentId:e})},[]);return Le(()=>{i.currentId?null===s.current?s.current=i.currentId:i.isInstantPhase||o({isInstantPhase:!0}):(i.isInstantPhase&&o({isInstantPhase:!1}),s.current=null)},[i.currentId,i.isInstantPhase]),r.createElement(rt.Provider,{value:r.useMemo(()=>({...i,setState:o,setCurrentId:l}),[i,l])},t)}function ot(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:a}=e,{id:i,enabled:o=!0}=t,s=null!=i?i:a,l=at(),{currentId:u,setCurrentId:c,initialDelay:d,setState:f,timeoutMs:p}=l;return Le(()=>{o&&u&&(f({delay:{open:1,close:et(d,"close")}}),u!==s&&r(!1))},[o,s,r,f,u,d]),Le(()=>{function e(){r(!1),f({delay:d,currentId:null})}if(o&&u&&!n&&u===s){if(p){const t=window.setTimeout(e,p);return()=>{clearTimeout(t)}}e()}},[o,n,f,u,s,r,d,p]),Le(()=>{o&&c!==nt&&n&&c(s)},[o,n,c,s]),l}let st=0;function lt(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:a=!1}=t;r&&cancelAnimationFrame(st);const i=()=>null==e?void 0:e.focus({preventScroll:n});a?i():st=requestAnimationFrame(i)}function ut(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let ct=new WeakMap,dt=new WeakSet,ft={},pt=0;const ht=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,mt=e=>e&&(e.host||mt(e.parentNode)),gt=(e,t)=>t.map(t=>{if(e.contains(t))return t;const n=mt(t);return e.contains(n)?n:null}).filter(e=>null!=e);function vt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=m(e[0]).body;return function(e,t,n,r){const i="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,s=gt(t,e),l=new Set,u=new Set(s),c=[];ft[i]||(ft[i]=new WeakMap);const d=ft[i];return s.forEach(function e(t){t&&!l.has(t)&&(l.add(t),t.parentNode&&e(t.parentNode))}),function e(t){t&&!u.has(t)&&[].forEach.call(t.children,t=>{if("script"!==(0,a.mq)(t))if(l.has(t))e(t);else{const e=o?t.getAttribute(o):null,n=null!==e&&"false"!==e,r=(ct.get(t)||0)+1,a=(d.get(t)||0)+1;ct.set(t,r),d.set(t,a),c.push(t),1===r&&n&&dt.add(t),1===a&&t.setAttribute(i,""),!n&&o&&t.setAttribute(o,"true")}})}(t),l.clear(),pt++,()=>{c.forEach(e=>{const t=(ct.get(e)||0)-1,n=(d.get(e)||0)-1;ct.set(e,t),d.set(e,n),t||(!dt.has(e)&&o&&e.removeAttribute(o),dt.delete(e)),n||e.removeAttribute(i)}),pt--,pt||(ct=new WeakMap,ct=new WeakMap,dt=new WeakSet,ft={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const yt=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function bt(e,t){const n=V(e,yt());"prev"===t&&n.reverse();const r=n.indexOf(i(m(e)));return n.slice(r+1)[0]}function _t(){return bt(document.body,"next")}function wt(){return bt(document.body,"prev")}function Mt(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!o(n,r)}function St(e){V(e,yt()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function kt(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}const Lt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function xt(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const Dt=r.forwardRef(function(e,t){const[n,a]=r.useState();Le(()=>(d()&&a("button"),document.addEventListener("keydown",xt),()=>{document.removeEventListener("keydown",xt)}),[]);const i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[Qe("focus-guard")]:"",style:Lt};return r.createElement("span",Ie({},e,i))}),Tt=r.createContext(null),Et=Qe("portal");function Ot(e){void 0===e&&(e={});const{id:t,root:n}=e,i=ze(),o=Yt(),[s,l]=r.useState(null),u=r.useRef(null);return Le(()=>()=>{null==s||s.remove(),queueMicrotask(()=>{u.current=null})},[s]),Le(()=>{if(!i)return;if(u.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=i,n.setAttribute(Et,""),e.appendChild(n),u.current=n,l(n)},[t,i]),Le(()=>{if(null===n)return;if(!i)return;if(u.current)return;let e=n||(null==o?void 0:o.portalNode);e&&!(0,a.vq)(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const s=document.createElement("div");s.id=i,s.setAttribute(Et,""),e=r||e,e.appendChild(s),u.current=s,l(s)},[t,n,i,o]),s}function Pt(e){const{children:t,id:n,root:a,preserveTabOrder:i=!0}=e,o=Ot({id:n,root:a}),[s,l]=r.useState(null),u=r.useRef(null),c=r.useRef(null),d=r.useRef(null),f=r.useRef(null),p=null==s?void 0:s.modal,h=null==s?void 0:s.open,m=!!s&&!s.modal&&s.open&&i&&!(!a&&!o);return r.useEffect(()=>{if(o&&i&&!p)return o.addEventListener("focusin",e,!0),o.addEventListener("focusout",e,!0),()=>{o.removeEventListener("focusin",e,!0),o.removeEventListener("focusout",e,!0)};function e(e){if(o&&Mt(e)){("focusin"===e.type?kt:St)(o)}}},[o,i,p]),r.useEffect(()=>{o&&(h||kt(o))},[h,o]),r.createElement(Tt.Provider,{value:r.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:u,afterOutsideRef:c,beforeInsideRef:d,afterInsideRef:f,portalNode:o,setFocusManagerState:l}),[i,o])},m&&o&&r.createElement(Dt,{"data-type":"outside",ref:u,onFocus:e=>{if(Mt(e,o)){var t;null==(t=d.current)||t.focus()}else{const e=wt()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),m&&o&&r.createElement("span",{"aria-owns":o.id,style:Lt}),o&&$.createPortal(t,o),m&&o&&r.createElement(Dt,{"data-type":"outside",ref:c,onFocus:e=>{if(Mt(e,o)){var t;null==(t=f.current)||t.focus()}else{const t=_t()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const Yt=()=>r.useContext(Tt),Ct="data-floating-ui-focusable";function At(e){return e?e.hasAttribute(Ct)?e:e.querySelector("["+Ct+"]")||e:null}const Rt=20;let jt=[];function It(e){jt=jt.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,a.mq)(t)){if(!W(t,yt())){const e=V(t,yt())[0];e&&(t=e)}jt.push(t),jt.length>Rt&&(jt=jt.slice(-Rt))}}function Ft(){return jt.slice().reverse().find(e=>e.isConnected)}const Ht=r.forwardRef(function(e,t){return r.createElement("button",Ie({},e,{type:"button",ref:t,tabIndex:-1,style:Lt}))});function Nt(e){const{context:t,children:n,disabled:s=!1,order:l=["content"],guards:d=!0,initialFocus:f=0,returnFocus:p=!0,restoreFocus:h=!1,modal:g=!0,visuallyHiddenDismiss:y=!1,closeOnFocusOut:b=!0}=e,{open:M,refs:S,nodeId:k,onOpenChange:L,events:x,dataRef:D,floatingId:T,elements:{domReference:E,floating:O}}=t,P="number"==typeof f&&f<0,Y=w(E)&&P,C=!ht()||d,A=Ze(l),R=Ze(f),j=Ze(p),I=qe(),F=Yt(),H=r.useRef(null),N=r.useRef(null),z=r.useRef(!1),W=r.useRef(!1),$=r.useRef(-1),U=null!=F,B=At(O),q=ce(function(e){return void 0===e&&(e=B),e?V(e,yt()):[]}),G=ce(e=>{const t=q(e);return A.current.map(e=>E&&"reference"===e?E:B&&"floating"===e?B:t).filter(Boolean).flat()});function K(e){return!s&&y&&g?r.createElement(Ht,{ref:"start"===e?H:N,onClick:e=>L(!1,e.nativeEvent)},"string"==typeof y?y:"Dismiss"):null}r.useEffect(()=>{if(s)return;if(!g)return;function e(e){if("Tab"===e.key){o(B,i(m(B)))&&0===q().length&&!Y&&_(e);const t=G(),n=v(e);"reference"===A.current[0]&&n===E&&(_(e),e.shiftKey?lt(t[t.length-1]):lt(t[1])),"floating"===A.current[1]&&n===B&&e.shiftKey&&(_(e),lt(t[0]))}}const t=m(B);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[s,E,B,g,A,Y,q,G]),r.useEffect(()=>{if(!s&&O)return O.addEventListener("focusin",e),()=>{O.removeEventListener("focusin",e)};function e(e){const t=v(e),n=q().indexOf(t);-1!==n&&($.current=n)}},[s,O,q]),r.useEffect(()=>{if(!s&&b)return O&&(0,a.sb)(E)?(E.addEventListener("focusout",t),E.addEventListener("pointerdown",e),O.addEventListener("focusout",t),()=>{E.removeEventListener("focusout",t),E.removeEventListener("pointerdown",e),O.removeEventListener("focusout",t)}):void 0;function e(){W.current=!0,setTimeout(()=>{W.current=!1})}function t(e){const t=e.relatedTarget;queueMicrotask(()=>{const n=!(o(E,t)||o(O,t)||o(t,O)||o(null==F?void 0:F.portalNode,t)||null!=t&&t.hasAttribute(Qe("focus-guard"))||I&&(ut(I.nodesRef.current,k).find(e=>{var n,r;return o(null==(n=e.context)?void 0:n.elements.floating,t)||o(null==(r=e.context)?void 0:r.elements.domReference,t)})||function(e,t){var n;let r=[],a=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;a;){const t=e.find(e=>e.id===a);a=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(I.nodesRef.current,k).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));if(h&&n&&i(m(B))===m(B).body){(0,a.sb)(B)&&B.focus();const e=$.current,t=q(),n=t[e]||t[t.length-1]||B;(0,a.sb)(n)&&n.focus()}!Y&&g||!t||!n||W.current||t===Ft()||(z.current=!0,L(!1,e,"focus-out"))})}},[s,E,O,B,g,k,I,F,L,b,h,q,Y]),r.useEffect(()=>{var e;if(s)return;const t=Array.from((null==F||null==(e=F.portalNode)?void 0:e.querySelectorAll("["+Qe("portal")+"]"))||[]);if(O){const e=[O,...t,H.current,N.current,A.current.includes("reference")||Y?E:null].filter(e=>null!=e),n=g||Y?vt(e,C,!C):vt(e);return()=>{n()}}},[s,E,O,g,A,F,Y,C]),Le(()=>{if(s||!(0,a.sb)(B))return;const e=i(m(B));queueMicrotask(()=>{const t=G(B),n=R.current,r=("number"==typeof n?t[n]:n.current)||B,a=o(B,e);P||a||!M||lt(r,{preventScroll:r===B})})},[s,M,B,P,G,R]),Le(()=>{if(s||!B)return;let e=!1;const t=m(B),n=i(t);let r=D.current.openEvent;function l(t){let{open:n,reason:a,event:i,nested:o}=t;n&&(r=i),"escape-key"===a&&S.domReference.current&&It(S.domReference.current),"hover"===a&&"mouseleave"===i.type&&(z.current=!0),"outside-press"===a&&(o?(z.current=!1,e=!0):z.current=!(u(i)||c(i)))}It(n),x.on("openchange",l);const d=t.createElement("span");return d.setAttribute("tabindex","-1"),d.setAttribute("aria-hidden","true"),Object.assign(d.style,Lt),U&&E&&E.insertAdjacentElement("afterend",d),()=>{x.off("openchange",l);const n=i(t),s=o(O,n)||I&&ut(I.nodesRef.current,k).some(e=>{var t;return o(null==(t=e.context)?void 0:t.elements.floating,n)});(s||r&&["click","mousedown"].includes(r.type))&&S.domReference.current&&It(S.domReference.current);const u="boolean"==typeof j.current?Ft()||d:j.current.current||d;queueMicrotask(()=>{j.current&&!z.current&&(0,a.sb)(u)&&(u===n||n===t.body||s)&&u.focus({preventScroll:e}),d.remove()})}},[s,O,B,j,D,S,x,I,k,U,E]),r.useEffect(()=>{queueMicrotask(()=>{z.current=!1})},[s]),Le(()=>{if(!s&&F)return F.setFocusManagerState({modal:g,closeOnFocusOut:b,open:M,onOpenChange:L,refs:S}),()=>{F.setFocusManagerState(null)}},[s,F,g,M,L,S,b]),Le(()=>{if(s)return;if(!B)return;if("function"!=typeof MutationObserver)return;if(P)return;const e=()=>{const e=B.getAttribute("tabindex"),t=q(),n=i(m(O)),r=t.indexOf(n);-1!==r&&($.current=r),A.current.includes("floating")||n!==S.domReference.current&&0===t.length?"0"!==e&&B.setAttribute("tabindex","0"):"-1"!==e&&B.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(B,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[s,O,B,S,A,q,P]);const J=!s&&C&&(!g||!Y)&&(U||g);return r.createElement(r.Fragment,null,J&&r.createElement(Dt,{"data-type":"inside",ref:null==F?void 0:F.beforeInsideRef,onFocus:e=>{if(g){const e=G();lt("reference"===l[0]?e[0]:e[e.length-1])}else if(null!=F&&F.preserveTabOrder&&F.portalNode)if(z.current=!1,Mt(e,F.portalNode)){const e=_t()||E;null==e||e.focus()}else{var t;null==(t=F.beforeOutsideRef.current)||t.focus()}}}),!Y&&K("start"),n,K("end"),J&&r.createElement(Dt,{"data-type":"inside",ref:null==F?void 0:F.afterInsideRef,onFocus:e=>{if(g)lt(G()[0]);else if(null!=F&&F.preserveTabOrder&&F.portalNode)if(b&&(z.current=!0),Mt(e,F.portalNode)){const e=wt()||E;null==e||e.focus()}else{var t;null==(t=F.afterOutsideRef.current)||t.focus()}}}))}let zt=0;let Vt=()=>{};const Wt=r.forwardRef(function(e,t){const{lockScroll:n=!1,...a}=e;return Le(()=>{if(n)return zt++,1===zt&&(Vt=function(){const e=/iP(hone|ad|od)|iOS/.test(s()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,a=t.left?parseFloat(t.left):window.scrollX,i=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var o,l;const e=(null==(o=window.visualViewport)?void 0:o.offsetLeft)||0,n=(null==(l=window.visualViewport)?void 0:l.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(i-Math.floor(n))+"px",left:-(a-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(a,i))}}()),()=>{zt--,0===zt&&Vt()}},[n]),r.createElement("div",Ie({ref:t},a,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...a.style}}))});function $t(e){return(0,a.sb)(e.target)&&"BUTTON"===e.target.tagName}function Ut(e){return b(e)}function Bt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:i,elements:{domReference:o}}=e,{enabled:s=!0,event:l="click",toggle:u=!0,ignoreMouse:c=!1,keyboardHandlers:d=!0,stickIfOpen:f=!0}=t,p=r.useRef(),m=r.useRef(!1),g=r.useMemo(()=>({onPointerDown(e){p.current=e.pointerType},onMouseDown(e){const t=p.current;0===e.button&&"click"!==l&&(h(t,!0)&&c||(!n||!u||i.current.openEvent&&f&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),a(!0,e.nativeEvent,"click")):a(!1,e.nativeEvent,"click")))},onClick(e){const t=p.current;"mousedown"===l&&p.current?p.current=void 0:h(t,!0)&&c||(!n||!u||i.current.openEvent&&f&&"click"!==i.current.openEvent.type?a(!0,e.nativeEvent,"click"):a(!1,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!d||$t(e)||(" "!==e.key||Ut(o)||(e.preventDefault(),m.current=!0),"Enter"===e.key&&a(!n||!u,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||$t(e)||Ut(o)||" "===e.key&&m.current&&(m.current=!1,a(!n||!u,e.nativeEvent,"click"))}}),[i,o,l,c,d,a,n,f,u]);return r.useMemo(()=>s?{reference:g}:{},[s,g])}function qt(e){return null!=e&&null!=e.clientX}function Gt(e,t){void 0===t&&(t={});const{open:n,dataRef:i,elements:{floating:s,domReference:l},refs:u}=e,{enabled:c=!0,axis:d="both",x:f=null,y:p=null}=t,m=r.useRef(!1),g=r.useRef(null),[y,b]=r.useState(),[_,w]=r.useState([]),M=ce((e,t)=>{m.current||i.current.openEvent&&!qt(i.current.openEvent)||u.setPositionReference(function(e,t){let n=null,r=null,a=!1;return{contextElement:e||void 0,getBoundingClientRect(){var i;const o=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,l="y"===t.axis||"both"===t.axis,u=["mouseenter","mousemove"].includes((null==(i=t.dataRef.current.openEvent)?void 0:i.type)||"")&&"touch"!==t.pointerType;let c=o.width,d=o.height,f=o.x,p=o.y;return null==n&&t.x&&s&&(n=o.x-t.x),null==r&&t.y&&l&&(r=o.y-t.y),f-=n||0,p-=r||0,c=0,d=0,!a||u?(c="y"===t.axis?o.width:0,d="x"===t.axis?o.height:0,f=s&&null!=t.x?t.x:f,p=l&&null!=t.y?t.y:p):a&&!u&&(d="x"===t.axis?o.height:d,c="y"===t.axis?o.width:c),a=!0,{width:c,height:d,x:f,y:p,top:p,right:f+c,bottom:p+d,left:f}}}}(l,{x:e,y:t,axis:d,dataRef:i,pointerType:y}))}),S=ce(e=>{null==f&&null==p&&(n?g.current||w([]):M(e.clientX,e.clientY))}),k=h(y)?s:n,L=r.useCallback(()=>{if(!k||!c||null!=f||null!=p)return;const e=(0,a.zk)(s);function t(n){const r=v(n);o(s,r)?(e.removeEventListener("mousemove",t),g.current=null):M(n.clientX,n.clientY)}if(!i.current.openEvent||qt(i.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),g.current=null};return g.current=n,n}u.setPositionReference(l)},[k,c,f,p,s,i,u,l,M]);r.useEffect(()=>L(),[L,_]),r.useEffect(()=>{c&&!s&&(m.current=!1)},[c,s]),r.useEffect(()=>{!c&&n&&(m.current=!0)},[c,n]),Le(()=>{!c||null==f&&null==p||(m.current=!1,M(f,p))},[c,f,p,M]);const x=r.useMemo(()=>{function e(e){let{pointerType:t}=e;b(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:S,onMouseEnter:S}},[S]);return r.useMemo(()=>c?{reference:x}:{},[c,x])}const Kt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Jt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Qt=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function Zt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,elements:s,dataRef:l}=e,{enabled:u=!0,escapeKey:c=!0,outsidePress:d=!0,outsidePressEvent:f="pointerdown",referencePress:p=!1,referencePressEvent:h="pointerdown",ancestorScroll:y=!1,bubbles:b,capture:_}=t,w=qe(),M=ce("function"==typeof d?d:()=>!1),S="function"==typeof d?M:d,k=r.useRef(!1),L=r.useRef(!1),{escapeKey:x,outsidePress:D}=Qt(b),{escapeKey:T,outsidePress:E}=Qt(_),O=r.useRef(!1),P=ce(e=>{var t;if(!n||!u||!c||"Escape"!==e.key)return;if(O.current)return;const r=null==(t=l.current.floatingContext)?void 0:t.nodeId,a=w?ut(w.nodesRef.current,r):[];if(!x&&(e.stopPropagation(),a.length>0)){let e=!0;if(a.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}i(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),Y=ce(e=>{var t;const n=()=>{var t;P(e),null==(t=v(e))||t.removeEventListener("keydown",n)};null==(t=v(e))||t.addEventListener("keydown",n)}),C=ce(e=>{var t;const n=k.current;k.current=!1;const r=L.current;if(L.current=!1,"click"===f&&r)return;if(n)return;if("function"==typeof S&&!S(e))return;const u=v(e),c="["+Qe("inert")+"]",d=m(s.floating).querySelectorAll(c);let p=(0,a.vq)(u)?u:null;for(;p&&!(0,a.eu)(p);){const e=(0,a.$4)(p);if((0,a.eu)(e)||!(0,a.vq)(e))break;p=e}if(d.length&&(0,a.vq)(u)&&!u.matches("html,body")&&!o(u,s.floating)&&Array.from(d).every(e=>!o(p,e)))return;if((0,a.sb)(u)&&j){const t=u.clientWidth>0&&u.scrollWidth>u.clientWidth,n=u.clientHeight>0&&u.scrollHeight>u.clientHeight;let r=n&&e.offsetX>u.clientWidth;if(n){"rtl"===(0,a.L9)(u).direction&&(r=e.offsetX<=u.offsetWidth-u.clientWidth)}if(r||t&&e.offsetY>u.clientHeight)return}const h=null==(t=l.current.floatingContext)?void 0:t.nodeId,y=w&&ut(w.nodesRef.current,h).some(t=>{var n;return g(e,null==(n=t.context)?void 0:n.elements.floating)});if(g(e,s.floating)||g(e,s.domReference)||y)return;const b=w?ut(w.nodesRef.current,h):[];if(b.length>0){let e=!0;if(b.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}i(!1,e,"outside-press")}),A=ce(e=>{var t;const n=()=>{var t;C(e),null==(t=v(e))||t.removeEventListener(f,n)};null==(t=v(e))||t.addEventListener(f,n)});r.useEffect(()=>{if(!n||!u)return;l.current.__escapeKeyBubbles=x,l.current.__outsidePressBubbles=D;let e=-1;function t(e){i(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),O.current=!0}function o(){e=window.setTimeout(()=>{O.current=!1},(0,a.Tc)()?5:0)}const d=m(s.floating);c&&(d.addEventListener("keydown",T?Y:P,T),d.addEventListener("compositionstart",r),d.addEventListener("compositionend",o)),S&&d.addEventListener(f,E?A:C,E);let p=[];return y&&((0,a.vq)(s.domReference)&&(p=(0,a.v9)(s.domReference)),(0,a.vq)(s.floating)&&(p=p.concat((0,a.v9)(s.floating))),!(0,a.vq)(s.reference)&&s.reference&&s.reference.contextElement&&(p=p.concat((0,a.v9)(s.reference.contextElement)))),p=p.filter(e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)}),p.forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{c&&(d.removeEventListener("keydown",T?Y:P,T),d.removeEventListener("compositionstart",r),d.removeEventListener("compositionend",o)),S&&d.removeEventListener(f,E?A:C,E),p.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[l,s,c,S,f,n,i,y,u,x,D,P,T,Y,C,E,A]),r.useEffect(()=>{k.current=!1},[S,f]);const R=r.useMemo(()=>({onKeyDown:P,[Kt[h]]:e=>{p&&i(!1,e.nativeEvent,"reference-press")}}),[P,i,p,h]),j=r.useMemo(()=>({onKeyDown:P,onMouseDown(){L.current=!0},onMouseUp(){L.current=!0},[Jt[f]]:()=>{k.current=!0}}),[P,f]);return r.useMemo(()=>u?{reference:R,floating:j}:{},[u,R,j])}function Xt(e){const{open:t=!1,onOpenChange:n,elements:a}=e,i=ze(),o=r.useRef({}),[s]=r.useState(()=>We()),l=null!=Be();const[u,c]=r.useState(a.reference),d=ce((e,t,r)=>{o.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)}),f=r.useMemo(()=>({setPositionReference:c}),[]),p=r.useMemo(()=>({reference:u||a.reference||null,floating:a.floating||null,domReference:a.reference}),[u,a.reference,a.floating]);return r.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:s,floatingId:i,refs:f}),[t,d,p,s,i,f])}function en(e){void 0===e&&(e={});const{nodeId:t}=e,n=Xt({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,o=i.elements,[s,l]=r.useState(null),[u,c]=r.useState(null),d=(null==o?void 0:o.domReference)||s,f=r.useRef(null),p=qe();Le(()=>{d&&(f.current=d)},[d]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:i,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(a);q(p,a)||h(a);const[m,g]=r.useState(null),[v,y]=r.useState(null),b=r.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),_=r.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[]),w=o||m,M=s||v,S=r.useRef(null),k=r.useRef(null),L=r.useRef(d),x=null!=u,D=J(u),T=J(i),E=J(c),O=r.useCallback(()=>{if(!S.current||!k.current)return;const e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),(0,U.rD)(S.current,k.current,e).then(e=>{const t={...e,isPositioned:!1!==E.current};P.current&&!q(L.current,t)&&(L.current=t,$.flushSync(()=>{f(t)}))})},[p,t,n,T,E]);B(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);const P=r.useRef(!1);B(()=>(P.current=!0,()=>{P.current=!1}),[]),B(()=>{if(w&&(S.current=w),M&&(k.current=M),w&&M){if(D.current)return D.current(w,M,O);O()}},[w,M,O,D,x]);const Y=r.useMemo(()=>({reference:S,floating:k,setReference:b,setFloating:_}),[b,_]),C=r.useMemo(()=>({reference:w,floating:M}),[w,M]),A=r.useMemo(()=>{const e={position:n,left:0,top:0};if(!C.floating)return e;const t=K(C.floating,d.x),r=K(C.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...G(C.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,C.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:O,refs:Y,elements:C,floatingStyles:A}),[d,O,Y,C,A])}({...e,elements:{...o,...u&&{reference:u}}}),m=r.useCallback(e=>{const t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),h.refs.setReference(t)},[h.refs]),g=r.useCallback(e=>{((0,a.vq)(e)||null===e)&&(f.current=e,l(e)),((0,a.vq)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,a.vq)(e))&&h.refs.setReference(e)},[h.refs]),v=r.useMemo(()=>({...h.refs,setReference:g,setPositionReference:m,domReference:f}),[h.refs,g,m]),y=r.useMemo(()=>({...h.elements,domReference:d}),[h.elements,d]),b=r.useMemo(()=>({...h,...i,refs:v,elements:y,nodeId:t}),[h,v,y,t,i]);return Le(()=>{i.dataRef.current.floatingContext=b;const e=null==p?void 0:p.nodesRef.current.find(e=>e.id===t);e&&(e.context=b)}),r.useMemo(()=>({...h,context:b,refs:v,elements:y}),[h,v,y,b])}function tn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:s,events:l,dataRef:u,elements:f}=e,{enabled:h=!0,visibleOnly:g=!0}=t,y=r.useRef(!1),_=r.useRef(),w=r.useRef(!0);r.useEffect(()=>{if(!h)return;const e=(0,a.zk)(f.domReference);function t(){!n&&(0,a.sb)(f.domReference)&&f.domReference===i(m(f.domReference))&&(y.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[f.domReference,n,h]),r.useEffect(()=>{if(h)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(y.current=!0)}},[l,h]),r.useEffect(()=>()=>{clearTimeout(_.current)},[]);const M=r.useMemo(()=>({onPointerDown(e){c(e.nativeEvent)||(w.current=!1)},onMouseLeave(){y.current=!1},onFocus(e){if(y.current)return;const t=v(e.nativeEvent);if(g&&(0,a.vq)(t))try{if(d()&&p())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!w.current&&!b(t))return}s(!0,e.nativeEvent,"focus")},onBlur(e){y.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=(0,a.vq)(t)&&t.hasAttribute(Qe("focus-guard"))&&"outside"===t.getAttribute("data-type");_.current=window.setTimeout(()=>{var e;const a=i(f.domReference?f.domReference.ownerDocument:document);(t||a!==f.domReference)&&(o(null==(e=u.current.floatingContext)?void 0:e.refs.floating.current,a)||o(f.domReference,a)||r||s(!1,n,"focus"))})}}),[u,f.domReference,s,g]);return r.useMemo(()=>h?{reference:M}:{},[h,M])}const nn="active",rn="selected";function an(e,t,n){const r=new Map,a="item"===n;let i=e;if(a&&e){const{[nn]:t,[rn]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Ct]:""},...i,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,i]=t;var o;a&&[nn,rn].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(o=r.get(n))||o.push(i),e[n]=function(){for(var e,t=arguments.length,a=new Array(t),i=0;ie(...a)).find(e=>void 0!==e)})):e[n]=i)}),e):e,{})}}function on(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),a=e.map(e=>null==e?void 0:e.item),i=r.useCallback(t=>an(t,e,"reference"),t),o=r.useCallback(t=>an(t,e,"floating"),n),s=r.useCallback(t=>an(t,e,"item"),a);return r.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}let sn=!1;function ln(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function un(e,t){return ln(t,e===de||e===fe,e===pe||e===he)}function cn(e,t,n){return ln(t,e===fe,n?e===pe:e===he)||"Enter"===e||" "===e||""===e}function dn(e,t,n){return ln(t,n?e===he:e===pe,e===de)}function fn(e,t){const{open:n,onOpenChange:s,elements:l}=e,{listRef:f,activeIndex:h,onNavigate:g=()=>{},enabled:v=!0,selectedIndex:y=null,allowEscape:b=!1,loop:M=!1,nested:S=!1,rtl:k=!1,virtual:L=!1,focusItemOnOpen:x="auto",focusItemOnHover:D=!0,openOnArrowKeyDown:T=!0,disabledIndices:E,orientation:O="vertical",cols:P=1,scrollItemIntoView:Y=!0,virtualItemRef:C,itemSizes:A,dense:R=!1}=t;const j=Ze(At(l.floating)),I=Be(),F=qe(),H=ce(g),N=w(l.domReference),z=r.useRef(x),V=r.useRef(null!=y?y:-1),W=r.useRef(null),$=r.useRef(!0),U=r.useRef(H),B=r.useRef(!!l.floating),q=r.useRef(n),G=r.useRef(!1),K=r.useRef(!1),J=Ze(E),Q=Ze(n),Z=Ze(Y),X=Ze(y),[ee,te]=r.useState(),[ne,re]=r.useState(),ae=ce(function(e,t,n){function r(e){L?(te(e.id),null==F||F.events.emit("virtualfocus",e),C&&(C.current=e)):lt(e,{preventScroll:!0,sync:!(!p()||!d())&&(sn||G.current)})}void 0===n&&(n=!1);const a=e.current[t.current];a&&r(a),requestAnimationFrame(()=>{const i=e.current[t.current]||a;if(!i)return;a||r(i);const o=Z.current;o&&oe&&(n||!$.current)&&(null==i.scrollIntoView||i.scrollIntoView("boolean"==typeof o?{block:"nearest",inline:"nearest"}:o))})});Le(()=>{document.createElement("div").focus({get preventScroll(){return sn=!0,!1}})},[]),Le(()=>{v&&(n&&l.floating?z.current&&null!=y&&(K.current=!0,V.current=y,H(y)):B.current&&(V.current=-1,U.current(null)))},[v,n,l.floating,y,H]),Le(()=>{if(v&&n&&l.floating)if(null==h){if(G.current=!1,null!=X.current)return;if(B.current&&(V.current=-1,ae(f,V)),(!q.current||!B.current)&&z.current&&(null!=W.current||!0===z.current&&null==W.current)){let e=0;const t=()=>{if(null==f.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else V.current=null==W.current||cn(W.current,O,k)||S?ve(f,J.current):ye(f,J.current),W.current=null,H(V.current)};t()}}else ge(f,h)||(V.current=h,ae(f,V,K.current),K.current=!1)},[v,n,l.floating,h,X,S,f,O,k,H,ae,J]),Le(()=>{var e;if(!v||l.floating||!F||L||!B.current)return;const t=F.nodesRef.current,n=null==(e=t.find(e=>e.id===I))||null==(e=e.context)?void 0:e.elements.floating,r=i(m(l.floating)),a=t.some(e=>e.context&&o(e.context.elements.floating,r));n&&!a&&$.current&&n.focus({preventScroll:!0})},[v,l.floating,F,I,L]),Le(()=>{if(v&&F&&L&&!I)return F.events.on("virtualfocus",e),()=>{F.events.off("virtualfocus",e)};function e(e){re(e.id),C&&(C.current=e)}},[v,F,L,I,C]),Le(()=>{U.current=H,B.current=!!l.floating}),Le(()=>{n||(W.current=null)},[n]),Le(()=>{q.current=n},[n]);const ie=null!=h,oe=r.useMemo(()=>{function e(e){if(!n)return;const t=f.current.indexOf(e);-1!==t&&H(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...D&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;$.current&&"touch"!==t&&(V.current=-1,ae(f,V),H(null),L||lt(j.current,{preventScroll:!0}))}}}},[n,j,ae,D,f,H,L]),se=ce(e=>{if($.current=!1,G.current=!0,229===e.which)return;if(!Q.current&&e.currentTarget===j.current)return;if(S&&dn(e.key,O,k))return _(e),s(!1,e.nativeEvent,"list-navigation"),void((0,a.sb)(l.domReference)&&(L?null==F||F.events.emit("virtualfocus",l.domReference):l.domReference.focus()));const t=V.current,r=ve(f,E),o=ye(f,E);if(N||("Home"===e.key&&(_(e),V.current=r,H(V.current)),"End"===e.key&&(_(e),V.current=o,H(V.current))),P>1){const t=A||Array.from({length:f.current.length},()=>({width:1,height:1})),n=we(t,P,R),a=n.findIndex(e=>null!=e&&!ke(f.current,e,E)),i=n.reduce((e,t,n)=>null==t||ke(f.current,t,E)?e:n,-1),s=n[_e({current:n.map(e=>null!=e?f.current[e]:null)},{event:e,orientation:O,loop:M,rtl:k,cols:P,disabledIndices:Se([...E||f.current.map((e,t)=>ke(f.current,t)?t:void 0),void 0],n),minIndex:a,maxIndex:i,prevIndex:Me(V.current>o?r:V.current,t,n,P,e.key===fe?"bl":e.key===(k?pe:he)?"tr":"tl"),stopEvent:!0})];if(null!=s&&(V.current=s,H(V.current)),"both"===O)return}if(un(e.key,O)){if(_(e),n&&!L&&i(e.currentTarget.ownerDocument)===e.currentTarget)return V.current=cn(e.key,O,k)?r:o,void H(V.current);cn(e.key,O,k)?V.current=M?t>=o?b&&t!==f.current.length?-1:r:be(f,{startingIndex:t,disabledIndices:E}):Math.min(o,be(f,{startingIndex:t,disabledIndices:E})):V.current=M?t<=r?b&&-1!==t?f.current.length:o:be(f,{startingIndex:t,decrement:!0,disabledIndices:E}):Math.max(r,be(f,{startingIndex:t,decrement:!0,disabledIndices:E})),ge(f,V.current)?H(null):H(V.current)}}),le=r.useMemo(()=>L&&n&&ie&&{"aria-activedescendant":ne||ee},[L,n,ie,ne,ee]),ue=r.useMemo(()=>({"aria-orientation":"both"===O?void 0:O,...!w(l.domReference)&&le,onKeyDown:se,onPointerMove(){$.current=!0}}),[le,se,l.domReference,O]),de=r.useMemo(()=>{function e(e){"auto"===x&&u(e.nativeEvent)&&(z.current=!0)}return{...le,onKeyDown(e){$.current=!1;const t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),a=t||r,i=function(e,t,n){return ln(t,n?e===pe:e===he,e===fe)}(e.key,O,k),o=dn(e.key,O,k),l=un(e.key,O),u=(S?i:l)||"Enter"===e.key||""===e.key.trim();if(L&&n){const t=null==F?void 0:F.nodesRef.current.find(e=>null==e.parentId),n=F&&t?function(e,t){let n,r=-1;return function t(a,i){i>r&&(n=a,r=i),ut(e,a).forEach(e=>{t(e.id,i+1)})}(t,0),e.find(e=>e.id===n)}(F.nodesRef.current,t.id):null;if(a&&n&&C){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(i||o){var c,d;const r=(null==(c=n.context)?void 0:c.elements.domReference)===e.currentTarget,a=o&&!r?null==(d=n.context)?void 0:d.elements.domReference:i?f.current.find(e=>(null==e?void 0:e.id)===ee):null;a&&(_(e),a.dispatchEvent(t),re(void 0))}var p;if((l||r)&&n.context)if(n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return _(e),void(null==(p=n.context.elements.domReference)||p.dispatchEvent(t))}return se(e)}(n||T||!t)&&(u&&(W.current=S&&l?null:e.key),S?i&&(_(e),n?(V.current=ve(f,J.current),H(V.current)):s(!0,e.nativeEvent,"list-navigation")):l&&(null!=y&&(V.current=y),_(e),!n&&T?s(!0,e.nativeEvent,"list-navigation"):se(e),n&&H(V.current)))},onFocus(){n&&!L&&H(null)},onPointerDown:function(e){z.current=x,"auto"===x&&c(e.nativeEvent)&&(z.current=!0)},onMouseDown:e,onClick:e}},[ee,le,se,J,x,f,S,H,s,n,T,O,k,y,F,L,C]);return r.useMemo(()=>v?{reference:de,floating:ue,item:oe}:{},[v,de,ue,oe])}const pn=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function hn(e,t){var n;void 0===t&&(t={});const{open:a,floatingId:i}=e,{enabled:o=!0,role:s="dialog"}=t,l=null!=(n=pn.get(s))?n:s,u=ze(),c=null!=Be(),d=r.useMemo(()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:a?i:void 0}:{"aria-expanded":a?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":a?i:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:u},..."menu"===l&&c&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}},[l,i,c,a,u,s]),f=r.useMemo(()=>{const e={id:i,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":u}}},[l,i,u,s]),p=r.useCallback(e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:i+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[i,s]);return r.useMemo(()=>o?{reference:d,floating:f,item:p}:{},[o,d,f,p])}const mn=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function gn(e,t){return"function"==typeof e?e(t):e}function vn(e,t){void 0===t&&(t={});const{open:n,elements:{floating:a}}=e,{duration:i=250}=t,o=("number"==typeof i?i:i.close)||0,[s,l]=r.useState("unmounted"),u=function(e,t){const[n,a]=r.useState(e);return e&&!n&&a(!0),r.useEffect(()=>{if(!e&&n){const e=setTimeout(()=>a(!1),t);return()=>clearTimeout(e)}},[e,n,t]),n}(n,o);return u||"close"!==s||l("unmounted"),Le(()=>{if(a){if(n){l("initial");const e=requestAnimationFrame(()=>{l("open")});return()=>{cancelAnimationFrame(e)}}l("close")}},[n,a]),{isMounted:u,status:s}}function yn(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:a,close:i,common:o,duration:s=250}=t,l=e.placement,u=l.split("-")[0],c=r.useMemo(()=>({side:u,placement:l}),[u,l]),d="number"==typeof s,f=(d?s:s.open)||0,p=(d?s:s.close)||0,[h,m]=r.useState(()=>({...gn(o,c),...gn(n,c)})),{isMounted:g,status:v}=vn(e,{duration:s}),y=Ze(n),b=Ze(a),_=Ze(i),w=Ze(o);return Le(()=>{const e=gn(y.current,c),t=gn(_.current,c),n=gn(w.current,c),r=gn(b.current,c)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===v&&m(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===v&&m({transitionProperty:Object.keys(r).map(mn).join(","),transitionDuration:f+"ms",...n,...r}),"close"===v){const r=t||e;m({transitionProperty:Object.keys(r).map(mn).join(","),transitionDuration:p+"ms",...n,...r})}},[p,_,y,b,w,f,v,c]),{isMounted:g,styles:h}}function bn(e,t){var n;const{open:a,dataRef:i}=e,{listRef:o,activeIndex:s,onMatch:l,onTypingChange:u,enabled:c=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:p=[],selectedIndex:h=null}=t,m=r.useRef(),g=r.useRef(""),v=r.useRef(null!=(n=null!=h?h:s)?n:-1),y=r.useRef(null),b=ce(l),w=ce(u),M=Ze(d),S=Ze(p);Le(()=>{a&&(clearTimeout(m.current),y.current=null,g.current="")},[a]),Le(()=>{var e;a&&""===g.current&&(v.current=null!=(e=null!=h?h:s)?e:-1)},[a,h,s]);const k=ce(e=>{e?i.current.typing||(i.current.typing=e,w(e)):i.current.typing&&(i.current.typing=e,w(e))}),L=ce(e=>{function t(e,t,n){const r=M.current?M.current(t,n):t.find(e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())));return r?e.indexOf(r):-1}const n=o.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(n,n,g.current)?k(!1):" "===e.key&&_(e)),null==n||S.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;a&&" "!==e.key&&(_(e),k(!0));n.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&g.current===e.key&&(g.current="",v.current=y.current),g.current+=e.key,clearTimeout(m.current),m.current=setTimeout(()=>{g.current="",v.current=y.current,k(!1)},f);const r=v.current,i=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],g.current);-1!==i?(b(i),y.current=i):" "!==e.key&&(g.current="",k(!1))}),x=r.useMemo(()=>({onKeyDown:L}),[L]),D=r.useMemo(()=>({onKeyDown:L,onKeyUp(e){" "===e.key&&k(!1)}}),[L,k]);return r.useMemo(()=>c?{reference:x,floating:D}:{},[c,x,D])}function _n(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const wn=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:a,offset:i=0,index:o=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:u,...c}=(0,M._3)(e,t),{rects:d,elements:{floating:f}}=t,p=n.current[o],h=(null==u?void 0:u.current)||f,m=f.clientTop||h.clientTop,g=0!==f.clientTop,v=0!==h.clientTop,y=f===h;if(!p)return{};const b={...t,...await Z(-p.offsetTop-f.clientTop-d.reference.height/2-p.offsetHeight/2-i).fn(t)},_=await(0,U.__)(_n(b,h.scrollHeight+m+f.clientTop),c),w=await(0,U.__)(b,{...c,elementContext:"reference"}),S=(0,M.T9)(0,_.top),k=b.y+S,L=(h.scrollHeight>h.clientHeight?e=>e:M.LI)((0,M.T9)(0,h.scrollHeight+(g&&y||v?2*m:0)-S-(0,M.T9)(0,_.bottom)));if(h.style.maxHeight=L+"px",h.scrollTop=S,a){const e=h.offsetHeight=-l||w.bottom>=-l;$.flushSync(()=>a(e))}return r&&(r.current=await(0,U.__)(_n({...b,y:k},h.offsetHeight+m+f.clientTop),c)),{y:k}}});function Mn(e,t){const{open:n,elements:a}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:u}=t,c=ce(u),d=r.useRef(!1),f=r.useRef(null),p=r.useRef(null);r.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==o.current)return;const n=e.deltaY,r=o.current.top>=-.5,a=o.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,s=n<0?-1:1,u=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!a&&n<0?(e.preventDefault(),$.flushSync(()=>{c(e=>e+Math[u](n,i*s))})):/firefox/i.test(l())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||a.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame(()=>{f.current=t.scrollTop,null!=o.current&&(p.current={...o.current})}),()=>{f.current=null,p.current=null,t.removeEventListener("wheel",e)}):void 0},[i,n,a.floating,o,s,c]);const h=r.useMemo(()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==s?void 0:s.current)||a.floating;if(o.current&&e&&d.current){if(null!==f.current){const t=e.scrollTop-f.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&$.flushSync(()=>c(e=>e+t))}requestAnimationFrame(()=>{f.current=e.scrollTop})}}}),[a.floating,c,o,s]);return r.useMemo(()=>i?{floating:h}:{},[i,h])}function Sn(e,t){const[n,r]=e;let a=!1;const i=t.length;for(let e=0,o=i-1;e=r!=u>=r&&n<=(l-i)*(r-s)/(u-s)+i&&(a=!a)}return a}function kn(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let i,s=!1,l=null,u=null,c=performance.now();const d=e=>{let{x:n,y:d,placement:f,elements:p,onClose:h,nodeId:m,tree:g}=e;return function(e){function y(){clearTimeout(i),h()}if(clearTimeout(i),!p.domReference||!p.floating||null==f||null==n||null==d)return;const{clientX:b,clientY:_}=e,w=[b,_],M=v(e),S="mouseleave"===e.type,k=o(p.floating,M),L=o(p.domReference,M),x=p.domReference.getBoundingClientRect(),D=p.floating.getBoundingClientRect(),T=f.split("-")[0],E=n>D.right-D.width/2,O=d>D.bottom-D.height/2,P=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(w,x),Y=D.width>x.width,C=D.height>x.height,A=(Y?x:D).left,R=(Y?x:D).right,j=(C?x:D).top,I=(C?x:D).bottom;if(k&&(s=!0,!S))return;if(L&&(s=!1),L&&!S)return void(s=!0);if(S&&(0,a.vq)(e.relatedTarget)&&o(p.floating,e.relatedTarget))return;if(g&&ut(g.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===T&&d>=x.bottom-1||"bottom"===T&&d<=x.top+1||"left"===T&&n>=x.right-1||"right"===T&&n<=x.left+1)return y();let F=[];switch(T){case"top":F=[[A,x.top+1],[A,D.bottom-1],[R,D.bottom-1],[R,x.top+1]];break;case"bottom":F=[[A,D.top+1],[A,x.bottom-1],[R,x.bottom-1],[R,D.top+1]];break;case"left":F=[[D.right-1,I],[D.right-1,j],[x.left+1,j],[x.left+1,I]];break;case"right":F=[[x.right-1,I],[x.right-1,j],[D.left+1,j],[D.left+1,I]]}if(!Sn([b,_],F)){if(s&&!P)return y();if(!S&&r){const t=function(e,t){const n=performance.now(),r=n-c;if(null===l||null===u||0===r)return l=e,u=t,c=n,null;const a=e-l,i=t-u,o=Math.sqrt(a*a+i*i);return l=e,u=t,c=n,o/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return y()}Sn([b,_],function(e){let[n,r]=e;switch(T){case"top":return[[Y?n+t/2:E?n+4*t:n-4*t,r+t+1],[Y?n-t/2:E?n+4*t:n-4*t,r+t+1],...[[D.left,E||Y?D.bottom-t:D.top],[D.right,E?Y?D.bottom-t:D.top:D.bottom-t]]];case"bottom":return[[Y?n+t/2:E?n+4*t:n-4*t,r-t],[Y?n-t/2:E?n+4*t:n-4*t,r-t],...[[D.left,E||Y?D.top+t:D.bottom],[D.right,E?Y?D.top+t:D.bottom:D.top+t]]];case"left":{const e=[n+t+1,C?r+t/2:O?r+4*t:r-4*t],a=[n+t+1,C?r-t/2:O?r+4*t:r-4*t];return[...[[O||C?D.right-t:D.left,D.top],[O?C?D.right-t:D.left:D.right-t,D.bottom]],e,a]}case"right":return[[n-t,C?r+t/2:O?r+4*t:r-4*t],[n-t,C?r-t/2:O?r+4*t:r-4*t],...[[O||C?D.left+t:D.right,D.top],[O?C?D.left+t:D.right:D.left+t,D.bottom]]]}}([n,d]))?!s&&r&&(i=window.setTimeout(y,40)):y()}}};return d.__options={blockPointerEvents:n},d}},34629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>i,__asyncDelegator:()=>L,__asyncGenerator:()=>k,__asyncValues:()=>x,__await:()=>S,__awaiter:()=>h,__classPrivateFieldGet:()=>Y,__classPrivateFieldIn:()=>A,__classPrivateFieldSet:()=>C,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>I,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>a,__generator:()=>m,__importDefault:()=>P,__importStar:()=>O,__makeTemplateObject:()=>D,__metadata:()=>p,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>o,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>_,__spreadArray:()=>M,__spreadArrays:()=>w,__values:()=>y,default:()=>H});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var g=(0,n[p])("accessor"===l?{get:d.get,set:d.set}:d[u],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=o(g.get))&&(d.get=s),(s=o(g.set))&&(d.set=s),(s=o(g.init))&&a.unshift(s)}else(s=o(g))&&("field"===l?a.unshift(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function _(){for(var e=[],t=0;t1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function L(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,a,(t=e[n](t)).done,t.value)})}}}function D(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},E=function(e){return E=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},E(e)};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=E(e),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var r=n(87820),a=n(56476);t.reportUnhandledError=function(e){a.timeoutProvider.setTimeout(function(){var t=r.config.onUnhandledError;if(!t)throw e;t(e)})}},34942:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(a," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},34950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce(function(e,n,r){return e[n]=t[r],e},{})}},34956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var r=n(92023),a=n(52296),i=n(20020),o=n(35416),s=n(1266);t.groupBy=function(e,t,n,l){return o.operate(function(o,u){var c;t&&"function"!=typeof t?(n=t.duration,c=t.element,l=t.connector):c=t;var d=new Map,f=function(e){d.forEach(e),e(u)},p=function(e){return f(function(t){return t.error(e)})},h=0,m=!1,g=new s.OperatorSubscriber(u,function(t){try{var o=e(t),f=d.get(o);if(!f){d.set(o,f=l?l():new i.Subject);var v=(b=o,_=f,(w=new r.Observable(function(e){h++;var t=_.subscribe(e);return function(){t.unsubscribe(),0===--h&&m&&g.unsubscribe()}})).key=b,w);if(u.next(v),n){var y=s.createOperatorSubscriber(f,function(){f.complete(),null==y||y.unsubscribe()},void 0,void 0,function(){return d.delete(o)});g.add(a.innerFrom(n(v)).subscribe(y))}}f.next(c?c(t):t)}catch(e){p(e)}var b,_,w},function(){return f(function(e){return e.complete()})},p,function(){return d.clear()},function(){return m=!0,0===h});o.subscribe(g)})}},35129:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var i=n(20020),o=n(4575),s=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.dateTimestampProvider);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=n,a._timestampProvider=r,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,n),a}return a(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,a=n._buffer,i=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(a.push(t),!i&&a.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var r=n(31276),a=n(72914);t.partition=function(e,t){return function(n){return[a.filter(e,t)(n),a.filter(r.not(e,t))(n)]}}},35416:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var r=n(44717);function a(e){return r.isFunction(null==e?void 0:e.lift)}t.hasLift=a,t.operate=function(e){return function(t){if(a(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},35461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var r=n(92023),a=n(4386),i=n(64568),o=n(96349);t.timer=function(e,t,n){void 0===e&&(e=0),void 0===n&&(n=a.async);var s=-1;return null!=t&&(i.isScheduler(t)?n=t:s=t),new r.Observable(function(t){var r=o.isValidDate(e)?+e-n.now():e;r<0&&(r=0);var a=0;return n.schedule(function(){t.closed||(t.next(a++),0<=s?this.schedule(void 0,s):t.complete())},r)})}},35489:(e,t,n)=>{"use strict";var r=n(60062),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,o,s,l,u,c=!1;t||(t={}),n=t.debug||!1;try{if(o=r(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},35696:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};const r=new Uint8Array(16)},35961:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){if("m"===n)return t?"jedna minuta":r?"jednu minutu":"jedne minute"}function n(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return"jedan sat";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},35964:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(42689))},36147:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Edytuj filtr z kluczem {{keyLabel}}","managed-filter":"Filtr zarządzany ({{origin}})","non-applicable":"","remove-filter-with-key":"Usuń filtr z kluczem {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Usuń wartość filtra – {{itemLabel}}","use-custom-value":"Użyj wartości niestandardowej: {{itemLabel}}"},"fallback-page":{content:"Jeśli doprowadził Cię tutaj link, może to oznaczać błąd w aplikacji.",subTitle:"Adres URL nie pasuje do żadnej strony",title:"Nie znaleziono"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Zwiń scenę","expand-button-label":"Rozwiń scenę","remove-button-label":"Usuń scenę"},"scene-debugger":{"object-details":"Szczegóły obiektu","scene-graph":"Wykres sceny","title-scene-debugger":"Debuger sceny"},"scene-grid-row":{"collapse-row":"Zwiń wiersz","expand-row":"Rozwiń wiersz"},"scene-refresh-picker":{"text-cancel":"Anuluj","text-refresh":"Odśwież","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Porównanie","button-tooltip":"Włącz porównanie ram czasowych"},splitter:{"aria-label-pane-resize-widget":"Widżet zmiany rozmiaru okienka"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Tytuł"}},"viz-panel-explore-button":{explore:"Eksploruj"},"viz-panel-renderer":{"loading-plugin-panel":"Ładowanie panelu wtyczki…","panel-plugin-has-no-panel-component":"Wtyczka panelu nie zawiera komponentu panelu"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Renderowanie zbyt wielu szeregów w jednym panelu może wpłynąć na wydajność i utrudnić odczyt danych.","warning-message":"Wyświetlanie tylko {{seriesLimit}} szeregów"}},utils:{"controls-label":{"tooltip-remove":"Usuń"},"loading-indicator":{"content-cancel-query":"Anuluj zapytanie"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Edytuj operator filtra"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Dodaj filtr","title-add-filter":"Dodaj filtr"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Usuń filtr","key-select":{"placeholder-select-label":"Wybierz etykietę"},"label-select-label":"Wybierz etykietę","title-remove-filter":"Usuń filtr","value-select":{"placeholder-select-value":"Wybierz wartość"}},"data-source-variable":{label:{default:"domyślne"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"wyczyść",tooltip:"Zastosowano domyślnie do tego pulpitu. W przypadku edycji zmiana zostanie uwzględniona na innych pulpitach.","tooltip-restore-groupby-set-by-this-dashboard":"Przywróć grupowanie ustawione przez ten pulpit."},"format-registry":{formats:{description:{"commaseparated-values":"Wartości rozdzielone przecinkami","double-quoted-values":"Wartości w podwójnym cudzysłowie","format-date-in-different-ways":"Formatowanie daty na różne sposoby","format-multivalued-variables-using-syntax-example":"Formatowanie zmiennych wielowartościowych za pomocą składni glob, np. {value1,value2}","html-escaping-of-values":"Modyfikowanie wartości w kodzie HTML","join-values-with-a-comma":"","json-stringify-value":"Wartość konwersji na ciąg JSON","keep-value-as-is":"Zachowaj wartość w obecnej postaci","multiple-values-are-formatted-like-variablevalue":"Wiele wartości jest sformatowanych w postaci zmienna=wartość","single-quoted-values":"Wartości w pojedynczym cudzysłowie","useful-escaping-values-taking-syntax-characters":"Przydatne w przypadku wartości unikowych w adresach URL z uwzględnieniem znaków składni identyfikatora URI","useful-for-url-escaping-values":"Przydatne w przypadku wartości znaków unikowych w adresach URL","values-are-separated-by-character":"Wartości są rozdzielone znakiem |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Grupuj według selektora","placeholder-group-by-label":"Grupuj według etykiety"},"interval-variable":{"placeholder-select-value":"Wybierz wartość"},"loading-options-placeholder":{"loading-options":"Ładowanie opcji…"},"multi-value-apply-button":{apply:"Zastosuj"},"no-options-placeholder":{"no-options-found":"Nie znaleziono opcji"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Podczas pobierania etykiet wystąpił błąd. Kliknij, aby spróbować ponownie"},"test-object-with-variable-dependency":{title:{hello:"Cześć!"}},"test-variable":{text:{text:"Tekst"}},"variable-value-input":{"placeholder-enter-value":"Wprowadź wartość"},"variable-value-select":{"placeholder-select-value":"Wybierz wartość"}}}}},36264:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t,n)=>r(t,e,n)},36544:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},36657:(e,t,n)=>{"use strict";const r=n(56879);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},36748:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultOptions:()=>i,pluginVersion:()=>a});var r=n(85569);const a="12.3.1",i={minVizHeight:75,minVizWidth:75,showThresholdLabels:!1,showThresholdMarkers:!0,sizing:r.e.Auto}},36805:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.default=function(e){var t;return t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(u,t);var n,i,l=(n=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=h(n);if(i){var a=h(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,e)});function u(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var t=arguments.length,n=new Array(t),r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,s);return n&&!this.mounted?a.createElement("div",{className:(0,o.default)(this.props.className,g),style:this.props.style,ref:this.elementRef}):a.createElement(e,c({innerRef:this.elementRef},r,this.state))}}]),u}(a.Component),m(t,"defaultProps",{measureBeforeMount:!1}),m(t,"propTypes",{measureBeforeMount:i.default.bool}),t};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}a.default=e,n&&n.set(e,a);return a}(n(85959)),i=l(n(62688)),o=l(n(97256)),s=["measureBeforeMount"];function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(){return c=Object.assign||function(e){for(var t=1;t=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(42689))},37308:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(42689))},37434:e=>{e.exports=function(e,t,n){return e===t||e.className===t.className&&n(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&n(e.verticalCompact,t.verticalCompact)&&n(e.compactType,t.compactType)&&n(e.layout,t.layout)&&n(e.margin,t.margin)&&n(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&n(e.resizeHandles,t.resizeHandles)&&n(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&n(e.droppingItem,t.droppingItem)&&n(e.innerRef,t.innerRef)}},37676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var r=n(56871);t.EmptyError=r.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},37891:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(42689))},37967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var r=n(26145),a=n(35416),i=n(1266);t.materialize=function(){return a.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){t.next(r.Notification.createNext(e))},function(){t.next(r.Notification.createComplete()),t.complete()},function(e){t.next(r.Notification.createError(e)),t.complete()}))})}},38230:(e,t,n)=>{"use strict";const{default:r,DraggableCore:a}=n(9111);e.exports=r,e.exports.default=r,e.exports.DraggableCore=a},38503:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(42689))},38767:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var r=n(4386),a=n(35461);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=r.asyncScheduler),e<0&&(e=0),a.timer(e,e,t)}},38968:(e,t,n)=>{"use strict";const r=n(9618);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},39136:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var r=n(63741),a=n(43026);t.scheduleReadableStreamLike=function(e,t){return r.scheduleAsyncIterable(a.readableStreamLikeToAsyncGenerator(e),t)}},39237:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(42689))},39445:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(42689))},39534:(e,t,n)=>{"use strict";const r=n(75906),{MAX_LENGTH:a,MAX_SAFE_INTEGER:i}=n(86484),{safeRe:o,t:s}=n(2728),l=n(78029),{compareIdentifiers:u}=n(48029);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&te.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return u(n,a)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("build compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return u(n,a)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?o[s.PRERELEASELOOSE]:o[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},39954:(e,t,n)=>{"use strict";t.__esModule=!0,t.cloneElement=function(e,t){t.style&&e.props.style&&(t.style=o(o({},e.props.style),t.style));t.className&&e.props.className&&(t.className=`${e.props.className} ${t.className}`);return a.default.cloneElement(e,t)};var r,a=(r=n(85959))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(42689))},40264:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var r=n(52296),a=n(20020),i=n(35416),o=n(1266);t.retryWhen=function(e){return i.operate(function(t,n){var i,s,l=!1,u=function(){i=t.subscribe(o.createOperatorSubscriber(n,void 0,void 0,function(t){s||(s=new a.Subject,r.innerFrom(e(s)).subscribe(o.createOperatorSubscriber(n,function(){return i?u():l=!0}))),s&&s.next(t)})),l&&(i.unsubscribe(),i=null,l=!1,u())};u()})}},40362:(e,t,n)=>{"use strict";var r=n(56441);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},40628:(e,t)=>{"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){const t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n>>0;d=c,c=u,u=r(l,30)>>>0,l=o,o=s}a[0]=a[0]+o>>>0,a[1]=a[1]+l>>>0,a[2]=a[2]+u>>>0,a[3]=a[3]+c>>>0,a[4]=a[4]+d>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]};t.default=a},40694:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},40818:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(42689))},40959:(e,t,n)=>{"use strict";const r=n(56879);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},41146:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,a){var i=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||a?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||a?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||a?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(a?"daga":"dögum"):n?i+"dagur":i+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(a?"mánuði":"mánuðum"):n?i+"mánuður":i+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?i+(n||a?"ár":"árum"):i+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},41388:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(42689))},41432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var r=n(37676),a=n(72914),i=n(46803),o=n(87507),s=n(45956),l=n(79391);t.first=function(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?a.filter(function(t,n){return e(t,n,u)}):l.identity,i.take(1),n?o.defaultIfEmpty(t):s.throwIfEmpty(function(){return new r.EmptyError}))}}},41705:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(92162);function a(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},42231:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(42689))},42392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultOptions:()=>i,pluginVersion:()=>a});var r=n(85569);const a="12.3.1",i={displayMode:r.h.Gradient,maxVizHeight:300,minVizHeight:16,minVizWidth:8,namePlacement:r.g.Auto,showUnfilled:!0,sizing:r.e.Auto,valueMode:r.f.Color}},42689:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],a=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},N={};function z(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(N[e]=a),t&&(N[t[0]]=function(){return j(a.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(I);for(t=0,n=r.length;t=0&&F.test(e);)e=e.replace(F,r),F.lastIndex=0,n-=1;return e}var B={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var G="Invalid date";function K(){return this._invalidDate}var J="%d",Q=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var a=this._relativeTime[n];return O(a)?a(e,t,n,r):a.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)}var ne={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return"string"==typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ae(e){var t,n,r={};for(n in e)l(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}var se,le=/\d/,ue=/\d\d/,ce=/\d{3}/,de=/\d{4}/,fe=/[+-]?\d{6}/,pe=/\d\d?/,he=/\d\d\d\d?/,me=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ve=/\d{1,4}/,ye=/[+-]?\d{1,6}/,be=/\d+/,_e=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,ke=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Le=/^[1-9]\d?/,xe=/^([1-9]\d|\d)/;function De(e,t,n){se[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Te(e,t){return l(se,e)?se[e](t._strict,t._locale):new RegExp(Ee(e))}function Ee(e){return Oe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function Oe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Pe(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ye(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Pe(t)),n}se={};var Ce={};function Ae(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),d(t)&&(a=function(e,n){n[t]=Ye(e)}),r=e.length,n=0;n68?1900:2e3)};var Ge,Ke=Qe("FullYear",!0);function Je(){return Ie(this.year())}function Qe(e,t){return function(n){return null!=n?(Xe(this,e,n),a.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Xe(e,t,n){var r,a,i,o,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,o=e.month(),s=29!==(s=e.date())||1!==o||Ie(i)?s:28,a?r.setUTCFullYear(i,o,s):r.setFullYear(i,o,s)}}function et(e){return O(this[e=re(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var n,r=oe(e=ae(e)),a=r.length;for(n=0;n=0?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function _t(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n;return-(7+_t(e,0,r).getUTCDay()-t)%7+r-1}function Mt(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,a);return s<=0?o=qe(i=e-1)+s:s>qe(e)?(i=e+1,o=s-qe(e)):(i=e,o=s),{year:i,dayOfYear:o}}function St(e,t,n){var r,a,i=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+kt(a=e.year()-1,t,n):o>kt(e.year(),t,n)?(r=o-kt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function kt(e,t,n){var r=wt(e,t,n),a=wt(e+1,t,n);return(qe(e)-r+a)/7}function Lt(e){return St(e,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),De("w",pe,Le),De("ww",pe,ue),De("W",pe,Le),De("WW",pe,ue),Re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Ye(e)});var xt={dow:0,doy:6};function Dt(){return this._week.dow}function Tt(){return this._week.doy}function Et(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ot(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Yt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("d",0,"do","day"),z("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),z("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),z("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),De("d",pe),De("e",pe),De("E",pe),De("dd",function(e,t){return t.weekdaysMinRegex(e)}),De("ddd",function(e,t){return t.weekdaysShortRegex(e)}),De("dddd",function(e,t){return t.weekdaysRegex(e)}),Re(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:v(n).invalidWeekday=e}),Re(["d","e","E"],function(e,t,n,r){t[r]=Ye(e)});var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=ke,Ft=ke,Ht=ke;function Nt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ct(n,this._week.dow):e?n[e.day()]:n}function zt(e){return!0===e?Ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return!0===e?Ct(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,o))||-1!==(a=Ge.call(this._shortWeekdaysParse,o))||-1!==(a=Ge.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,o))||-1!==(a=Ge.call(this._weekdaysParse,o))||-1!==(a=Ge.call(this._minWeekdaysParse,o))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,o))||-1!==(a=Ge.call(this._weekdaysParse,o))||-1!==(a=Ge.call(this._shortWeekdaysParse,o))?a:null}function $t(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Yt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ht),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=Oe(this.weekdaysMin(n,"")),a=Oe(this.weekdaysShort(n,"")),i=Oe(this.weekdays(n,"")),o.push(r),s.push(a),l.push(i),u.push(r),u.push(a),u.push(i);o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function en(e,t){z(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Zt),z("k",["kk",2],0,Xt),z("hmm",0,0,function(){return""+Zt.apply(this)+j(this.minutes(),2)}),z("hmmss",0,0,function(){return""+Zt.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),en("a",!0),en("A",!1),De("a",tn),De("A",tn),De("H",pe,xe),De("h",pe,Le),De("k",pe,Le),De("HH",pe,ue),De("hh",pe,ue),De("kk",pe,ue),De("hmm",he),De("hmmss",me),De("Hmm",he),De("Hmmss",me),Ae(["H","HH"],ze),Ae(["k","kk"],function(e,t,n){var r=Ye(e);t[ze]=24===r?0:r}),Ae(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Ae(["h","hh"],function(e,t,n){t[ze]=Ye(e),v(n).bigHour=!0}),Ae("hmm",function(e,t,n){var r=e.length-2;t[ze]=Ye(e.substr(0,r)),t[Ve]=Ye(e.substr(r)),v(n).bigHour=!0}),Ae("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Ye(e.substr(0,r)),t[Ve]=Ye(e.substr(r,2)),t[We]=Ye(e.substr(a)),v(n).bigHour=!0}),Ae("Hmm",function(e,t,n){var r=e.length-2;t[ze]=Ye(e.substr(0,r)),t[Ve]=Ye(e.substr(r))}),Ae("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Ye(e.substr(0,r)),t[Ve]=Ye(e.substr(r,2)),t[We]=Ye(e.substr(a))});var rn=/[ap]\.?m?\.?/i,an=Qe("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:A,longDateFormat:B,invalidDate:G,ordinal:J,dayOfMonthOrdinalParse:Q,relativeTime:X,months:at,monthsShort:it,week:xt,weekdays:At,weekdaysMin:jt,weekdaysShort:Rt,meridiemParse:rn},un={},cn={};function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=mn(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&dn(a,n)>=t-1)break;t--}i++}return sn}function hn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function mn(t){var r=null;if(void 0===un[t]&&e&&e.exports&&hn(t))try{r=sn._abbr,n(61738)("./"+t),gn(r)}catch(e){un[t]=null}return un[t]}function gn(e,t){var n;return e&&((n=c(t)?bn(e):vn(e,t))?sn=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new C(Y(r,t)),cn[e]&&cn[e].forEach(function(e){vn(e.name,e.config)}),gn(e),un[e]}return delete un[e],null}function yn(e,t){if(null!=t){var n,r,a=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(Y(un[e]._config,t)):(null!=(r=mn(e))&&(a=r._config),t=Y(a,t),null==r&&(t.abbr=e),(n=new C(t)).parentLocale=un[e],un[e]=n),gn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!o(e)){if(t=mn(e))return t;e=[e]}return pn(e)}function _n(){return D(un)}function wn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[He]<0||n[He]>11?He:n[Ne]<1||n[Ne]>rt(n[Fe],n[He])?Ne:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ve]||0!==n[We]||0!==n[$e])?ze:n[Ve]<0||n[Ve]>59?Ve:n[We]<0||n[We]>59?We:n[$e]<0||n[$e]>999?$e:-1,v(e)._overflowDayOfYear&&(tNe)&&(t=Ne),v(e)._overflowWeeks&&-1===t&&(t=Ue),v(e)._overflowWeekday&&-1===t&&(t=Be),v(e).overflow=t),e}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,Ln=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Dn=/^\/?Date\((-?\d+)/i,Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function On(e){var t,n,r,a,i,o,s=e._i,l=Mn.exec(s)||Sn.exec(s),u=Ln.length,c=xn.length;if(l){for(v(e).iso=!0,t=0,n=u;tqe(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=_t(i,0,e._dayOfYear),e._a[He]=n.getUTCMonth(),e._a[Ne]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[Ve]&&0===e._a[We]&&0===e._a[$e]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?_t:bt).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(v(e).weekdayMismatch=!0)}}function zn(e){var t,n,r,a,i,o,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,o=4,n=Fn(t.GG,e._a[Fe],St(Jn(),1,4).year),r=Fn(t.W,1),((a=Fn(t.E,1))<1||a>7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=St(Jn(),i,o),n=Fn(t.gg,e._a[Fe],u.year),r=Fn(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i),r<1||r>kt(n,i,o)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=Mt(n,r,a,i,o),e._a[Fe]=s.year,e._dayOfYear=s.dayOfYear)}function Vn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,i,o,s,l,u=""+e._i,c=u.length,d=0;for(l=(r=U(e._f,e._locale).match(I)||[]).length,t=0;t0&&v(e).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),N[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),je(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=c-d,u.length>0&&v(e).unusedInput.push(u),e._a[ze]<=12&&!0===v(e).bigHour&&e._a[ze]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[ze]=Wn(e._locale,e._a[ze],e._meridiem),null!==(s=v(e).era)&&(e._a[Fe]=e._locale.erasConvertYear(s,e._a[Fe])),Nn(e),wn(e)}else jn(e);else On(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function $n(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:b()});function Xn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=qn(t))._a?(e=t._isUTC?m(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Lr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Dr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(e,t){var n,r,a,i=e,o=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Dr.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:Ye(o[Ne])*n,h:Ye(o[ze])*n,m:Ye(o[Ve])*n,s:Ye(o[We])*n,ms:Ye(ur(1e3*o[$e]))*n}):(o=Tr.exec(e))?(n="-"===o[1]?-1:1,i={y:Or(o[2],n),M:Or(o[3],n),w:Or(o[4],n),d:Or(o[5],n),h:Or(o[6],n),m:Or(o[7],n),s:Or(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Yr(Jn(i.from),Jn(i.to)),(i={}).ms=a.milliseconds,i.M=a.months),r=new sr(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Or(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Pr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Yr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Pr(e,t):((n=Pr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Cr(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Ar(this,Er(n,r),e),this}}function Ar(e,t,n,r){var i=t._milliseconds,o=ur(t._days),s=ur(t._months);e.isValid()&&(r=null==r||r,s&&pt(e,Ze(e,"Month")+s*n),o&&Xe(e,"Date",Ze(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&a.updateOffset(e,o||s))}Er.fn=sr.prototype,Er.invalid=or;var Rr=Cr(1,"add"),jr=Cr(-1,"subtract");function Ir(e){return"string"==typeof e||e instanceof String}function Fr(e){return k(e)||f(e)||Ir(e)||d(e)||Nr(e)||Hr(e)||null==e}function Hr(e){var t,n,r=s(e)&&!u(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=i.length;for(t=0;tn.valueOf():n.valueOf()9999?$(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(n,"Z")):$(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",i="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function na(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=$(this,e);return this.localeData().postformat(t)}function ra(e,t){return this.isValid()&&(k(e)&&e.isValid()||Jn(e).isValid())?Er({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from(Jn(),e)}function ia(e,t){return this.isValid()&&(k(e)&&e.isValid()||Jn(e).isValid())?Er({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oa(e){return this.to(Jn(),e)}function sa(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var la=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ua(){return this._locale}var ca=1e3,da=60*ca,fa=60*da,pa=3506328*fa;function ha(e,t){return(e%t+t)%t}function ma(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-pa:new Date(e,t,n).valueOf()}function ga(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-pa:Date.UTC(e,t,n)}function va(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ga:ma,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ha(t+(this._isUTC?0:this.utcOffset()*da),fa);break;case"minute":t=this._d.valueOf(),t-=ha(t,da);break;case"second":t=this._d.valueOf(),t-=ha(t,ca)}return this._d.setTime(t),a.updateOffset(this,!0),this}function ya(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ga:ma,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fa-ha(t+(this._isUTC?0:this.utcOffset()*da),fa)-1;break;case"minute":t=this._d.valueOf(),t+=da-ha(t,da)-1;break;case"second":t=this._d.valueOf(),t+=ca-ha(t,ca)-1}return this._d.setTime(t),a.updateOffset(this,!0),this}function ba(){return this._d.valueOf()-6e4*(this._offset||0)}function _a(){return Math.floor(this.valueOf()/1e3)}function wa(){return new Date(this.valueOf())}function Ma(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Sa(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ka(){return this.isValid()?this.toISOString():null}function La(){return y(this)}function xa(){return h({},v(this))}function Da(){return v(this).overflow}function Ta(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ea(e,t){var n,r,i,o=this._eras||bn("en")._eras;for(n=0,r=o.length;n=0)return l[r]}function Pa(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Ya(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e(i=kt(e,r,a))&&(t=i),Za.call(this,e,t,n,r,a))}function Za(e,t,n,r,a){var i=Mt(e,t,n,r,a),o=_t(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Xa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),De("N",Ha),De("NN",Ha),De("NNN",Ha),De("NNNN",Na),De("NNNNN",za),Ae(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?v(n).era=a:v(n).invalidEra=e}),De("y",be),De("yy",be),De("yyy",be),De("yyyy",be),De("yo",Va),Ae(["y","yy","yyy","yyyy"],Fe),Ae(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Fe]=n._locale.eraYearOrdinalParse(e,a):t[Fe]=parseInt(e,10)}),z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$a("gggg","weekYear"),$a("ggggg","weekYear"),$a("GGGG","isoWeekYear"),$a("GGGGG","isoWeekYear"),De("G",_e),De("g",_e),De("GG",pe,ue),De("gg",pe,ue),De("GGGG",ve,de),De("gggg",ve,de),De("GGGGG",ye,fe),De("ggggg",ye,fe),Re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=Ye(e)}),Re(["gg","GG"],function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)}),z("Q",0,"Qo","quarter"),De("Q",le),Ae("Q",function(e,t){t[He]=3*(Ye(e)-1)}),z("D",["DD",2],"Do","date"),De("D",pe,Le),De("DD",pe,ue),De("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Ae(["D","DD"],Ne),Ae("Do",function(e,t){t[Ne]=Ye(e.match(pe)[0])});var ei=Qe("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),De("DDD",ge),De("DDDD",ce),Ae(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ye(e)}),z("m",["mm",2],0,"minute"),De("m",pe,xe),De("mm",pe,ue),Ae(["m","mm"],Ve);var ni=Qe("Minutes",!1);z("s",["ss",2],0,"second"),De("s",pe,xe),De("ss",pe,ue),Ae(["s","ss"],We);var ri,ai,ii=Qe("Seconds",!1);for(z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),De("S",ge,le),De("SS",ge,ue),De("SSS",ge,ce),ri="SSSS";ri.length<=9;ri+="S")De(ri,be);function oi(e,t){t[$e]=Ye(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Ae(ri,oi);function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}ai=Qe("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var ui=S.prototype;function ci(e){return Jn(1e3*e)}function di(){return Jn.apply(null,arguments).parseZone()}function fi(e){return e}ui.add=Rr,ui.calendar=Wr,ui.clone=$r,ui.diff=Qr,ui.endOf=ya,ui.format=na,ui.from=ra,ui.fromNow=aa,ui.to=ia,ui.toNow=oa,ui.get=et,ui.invalidAt=Da,ui.isAfter=Ur,ui.isBefore=Br,ui.isBetween=qr,ui.isSame=Gr,ui.isSameOrAfter=Kr,ui.isSameOrBefore=Jr,ui.isValid=La,ui.lang=la,ui.locale=sa,ui.localeData=ua,ui.max=Zn,ui.min=Qn,ui.parsingFlags=xa,ui.set=tt,ui.startOf=va,ui.subtract=jr,ui.toArray=Ma,ui.toObject=Sa,ui.toDate=wa,ui.toISOString=ea,ui.inspect=ta,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ui[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ui.toJSON=ka,ui.toString=Xr,ui.unix=_a,ui.valueOf=ba,ui.creationData=Ta,ui.eraName=Ya,ui.eraNarrow=Ca,ui.eraAbbr=Aa,ui.eraYear=Ra,ui.year=Ke,ui.isLeapYear=Je,ui.weekYear=Ua,ui.isoWeekYear=Ba,ui.quarter=ui.quarters=Xa,ui.month=ht,ui.daysInMonth=mt,ui.week=ui.weeks=Et,ui.isoWeek=ui.isoWeeks=Ot,ui.weeksInYear=Ka,ui.weeksInWeekYear=Ja,ui.isoWeeksInYear=qa,ui.isoWeeksInISOWeekYear=Ga,ui.date=ei,ui.day=ui.days=Ut,ui.weekday=Bt,ui.isoWeekday=qt,ui.dayOfYear=ti,ui.hour=ui.hours=an,ui.minute=ui.minutes=ni,ui.second=ui.seconds=ii,ui.millisecond=ui.milliseconds=ai,ui.utcOffset=gr,ui.utc=yr,ui.local=br,ui.parseZone=_r,ui.hasAlignedHourOffset=wr,ui.isDST=Mr,ui.isLocal=kr,ui.isUtcOffset=Lr,ui.isUtc=xr,ui.isUTC=xr,ui.zoneAbbr=si,ui.zoneName=li,ui.dates=x("dates accessor is deprecated. Use date instead.",ei),ui.months=x("months accessor is deprecated. Use month instead",ht),ui.years=x("years accessor is deprecated. Use year instead",Ke),ui.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ui.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var pi=C.prototype;function hi(e,t,n,r){var a=bn(),i=m().set(r,t);return a[n](i,e)}function mi(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=hi(e,r,n,"month");return a}function gi(e,t,n,r){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var a,i=bn(),o=e?i._week.dow:0,s=[];if(null!=n)return hi(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=hi(t,(a+o)%7,r,"day");return s}function vi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return gi(e,t,n,"weekdays")}function _i(e,t,n){return gi(e,t,n,"weekdaysShort")}function wi(e,t,n){return gi(e,t,n,"weekdaysMin")}pi.calendar=R,pi.longDateFormat=q,pi.invalidDate=K,pi.ordinal=Z,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=ee,pi.pastFuture=te,pi.set=P,pi.eras=Ea,pi.erasParse=Oa,pi.erasConvertYear=Pa,pi.erasAbbrRegex=Ia,pi.erasNameRegex=ja,pi.erasNarrowRegex=Fa,pi.months=ut,pi.monthsShort=ct,pi.monthsParse=ft,pi.monthsRegex=vt,pi.monthsShortRegex=gt,pi.week=Lt,pi.firstDayOfYear=Tt,pi.firstDayOfWeek=Dt,pi.weekdays=Nt,pi.weekdaysMin=Vt,pi.weekdaysShort=zt,pi.weekdaysParse=$t,pi.weekdaysRegex=Gt,pi.weekdaysShortRegex=Kt,pi.weekdaysMinRegex=Jt,pi.isPM=nn,pi.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Ye(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",gn),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bn);var Mi=Math.abs;function Si(){var e=this._data;return this._milliseconds=Mi(this._milliseconds),this._days=Mi(this._days),this._months=Mi(this._months),e.milliseconds=Mi(e.milliseconds),e.seconds=Mi(e.seconds),e.minutes=Mi(e.minutes),e.hours=Mi(e.hours),e.months=Mi(e.months),e.years=Mi(e.years),this}function ki(e,t,n,r){var a=Er(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Li(e,t){return ki(this,e,t,1)}function xi(e,t){return ki(this,e,t,-1)}function Di(e){return e<0?Math.floor(e):Math.ceil(e)}function Ti(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*Di(Oi(s)+o),o=0,s=0),l.milliseconds=i%1e3,e=Pe(i/1e3),l.seconds=e%60,t=Pe(e/60),l.minutes=t%60,n=Pe(t/60),l.hours=n%24,o+=Pe(n/24),s+=a=Pe(Ei(o)),o-=Di(Oi(a)),r=Pe(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ei(e){return 4800*e/146097}function Oi(e){return 146097*e/4800}function Pi(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ei(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Oi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Yi(e){return function(){return this.as(e)}}var Ci=Yi("ms"),Ai=Yi("s"),Ri=Yi("m"),ji=Yi("h"),Ii=Yi("d"),Fi=Yi("w"),Hi=Yi("M"),Ni=Yi("Q"),zi=Yi("y"),Vi=Ci;function Wi(){return Er(this)}function $i(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ui(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bi=Ui("milliseconds"),qi=Ui("seconds"),Gi=Ui("minutes"),Ki=Ui("hours"),Ji=Ui("days"),Qi=Ui("months"),Zi=Ui("years");function Xi(){return Pe(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function ro(e,t,n,r){var a=Er(e).abs(),i=eo(a.as("s")),o=eo(a.as("m")),s=eo(a.as("h")),l=eo(a.as("d")),u=eo(a.as("M")),c=eo(a.as("w")),d=eo(a.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,no.apply(null,f)}function ao(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}function io(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},to,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ro(this,!a,i,n=this.localeData()),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var so=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function uo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s,l=so(this._milliseconds)/1e3,u=so(this._days),c=so(this._months),d=this.asSeconds();return d?(e=Pe(l/60),t=Pe(e/60),l%=60,e%=60,n=Pe(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var co=sr.prototype;return co.isValid=ir,co.abs=Si,co.add=Li,co.subtract=xi,co.as=Pi,co.asMilliseconds=Ci,co.asSeconds=Ai,co.asMinutes=Ri,co.asHours=ji,co.asDays=Ii,co.asWeeks=Fi,co.asMonths=Hi,co.asQuarters=Ni,co.asYears=zi,co.valueOf=Vi,co._bubble=Ti,co.clone=Wi,co.get=$i,co.milliseconds=Bi,co.seconds=qi,co.minutes=Gi,co.hours=Ki,co.days=Ji,co.weeks=Xi,co.months=Qi,co.years=Zi,co.humanize=oo,co.toISOString=uo,co.toString=uo,co.toJSON=uo,co.locale=sa,co.localeData=ua,co.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),co.lang=la,z("X",0,0,"unix"),z("x",0,0,"valueOf"),De("x",_e),De("X",Se),Ae("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),Ae("x",function(e,t,n){n._d=new Date(Ye(e))}),a.version="2.30.1",i(Jn),a.fn=ui,a.min=er,a.max=tr,a.now=nr,a.utc=m,a.unix=ci,a.months=vi,a.isDate=f,a.locale=gn,a.invalid=b,a.duration=Er,a.isMoment=k,a.weekdays=bi,a.parseZone=di,a.localeData=bn,a.isDuration=lr,a.monthsShort=yi,a.weekdaysMin=wi,a.defineLocale=vn,a.updateLocale=yn,a.locales=_n,a.weekdaysShort=_i,a.normalizeUnits=re,a.relativeTimeRounding=ao,a.relativeTimeThreshold=io,a.calendarFormat=Vr,a.prototype=ui,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},42874:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Modifier le filtre ayant pour clé {{keyLabel}}","managed-filter":"Filtre géré {{origin}}","non-applicable":"","remove-filter-with-key":"Supprimer le filtre ayant pour clé {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Supprimer la valeur du filtre – {{itemLabel}}","use-custom-value":"Utiliser une valeur personnalisée : {{itemLabel}}"},"fallback-page":{content:"Si vous êtes arrivé ici via un lien, il se peut qu’il y ait un bug dans l’application.",subTitle:"L’URL ne correspond à aucune page",title:"Page introuvable"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Réduire la scène","expand-button-label":"Développer la scène","remove-button-label":"Supprimer la scène"},"scene-debugger":{"object-details":"Détails de l’objet","scene-graph":"Graphique de la scène","title-scene-debugger":"Débogueur de scène"},"scene-grid-row":{"collapse-row":"Réduire la ligne","expand-row":"Développer la ligne"},"scene-refresh-picker":{"text-cancel":"Annuler","text-refresh":"Actualiser","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Comparaison","button-tooltip":"Activer la comparaison d’intervalles"},splitter:{"aria-label-pane-resize-widget":"Widget de redimensionnement du panneau"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Titre"}},"viz-panel-explore-button":{explore:"Explorer"},"viz-panel-renderer":{"loading-plugin-panel":"Chargement du panneau du plugin…","panel-plugin-has-no-panel-component":"Le plugin de panneau ne contient aucun composant de panneau"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Le rendu d’un trop grand nombre de séries dans un seul panneau peut nuire aux performances et rendre les données plus difficiles à lire.","warning-message":"Affichage limité à {{seriesLimit}} séries"}},utils:{"controls-label":{"tooltip-remove":"Supprimer"},"loading-indicator":{"content-cancel-query":"Annuler la requête"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Modifier l’opérateur du filtre"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Ajouter un filtre","title-add-filter":"Ajouter un filtre"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Supprimer le filtre","key-select":{"placeholder-select-label":"Sélectionner une étiquette"},"label-select-label":"Sélectionner une étiquette","title-remove-filter":"Supprimer le filtre","value-select":{"placeholder-select-value":"Sélectionner une valeur"}},"data-source-variable":{label:{default:"par défaut"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"effacer",tooltip:"Appliqué par défaut dans ce tableau de bord. En cas de modification, il s’applique aussi aux autres tableaux de bord.","tooltip-restore-groupby-set-by-this-dashboard":"Restaurer le groupage défini par ce tableau de bord."},"format-registry":{formats:{description:{"commaseparated-values":"Valeurs séparées par des virgules","double-quoted-values":"Valeurs entre guillemets doubles","format-date-in-different-ways":"Formater la date de différentes façons","format-multivalued-variables-using-syntax-example":"Formater les variables à valeurs multiples avec la syntaxe glob : exemple {value1,value2}","html-escaping-of-values":"Échappement HTML des valeurs","join-values-with-a-comma":"","json-stringify-value":"Valeur au format JSON (stringify)","keep-value-as-is":"Conserver la valeur telle quelle","multiple-values-are-formatted-like-variablevalue":"Plusieurs valeurs sont formatées ainsi : variable=valeur","single-quoted-values":"Valeurs entre guillemets simples","useful-escaping-values-taking-syntax-characters":"Utile pour l’échappement des valeurs dans les URL en tenant compte des caractères de syntaxe URI","useful-for-url-escaping-values":"Utile pour l’échappement des valeurs dans les URL","values-are-separated-by-character":"Les valeurs sont séparées par le caractère « | »"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Sélecteur de regroupement","placeholder-group-by-label":"Regrouper par étiquette"},"interval-variable":{"placeholder-select-value":"Sélectionner une valeur"},"loading-options-placeholder":{"loading-options":"Chargement des options..."},"multi-value-apply-button":{apply:"Appliquer"},"no-options-placeholder":{"no-options-found":"Aucune option trouvée"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Une erreur est survenue lors de la récupération des étiquettes. Cliquez pour réessayer"},"test-object-with-variable-dependency":{title:{hello:"Bonjour"}},"test-variable":{text:{text:"Texte"}},"variable-value-input":{"placeholder-enter-value":"Saisir une valeur"},"variable-value-select":{"placeholder-select-value":"Sélectionner une valeur"}}}}},42945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var r=n(30994),a=n(10587);t.combineLatestAll=function(e){return a.joinAllInternals(r.combineLatest,e)}},43026:function(e,t,n){"use strict";var r=this&&this.__generator||function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]1||l(e,t)})})}function l(e,t){try{(n=i[e](t)).value instanceof a?Promise.resolve(n.value.v).then(u,c):d(o[0][2],n)}catch(e){d(o[0][3],e)}var n}function u(e){l("next",e)}function c(e){l("throw",e)}function d(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var o=n(44717);t.readableStreamLikeToAsyncGenerator=function(e){return i(this,arguments,function(){var t,n,i;return r(this,function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,a(t.read())];case 3:return n=r.sent(),i=n.value,n.done?[4,a(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,a(i)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t.isReadableStreamLike=function(e){return o.isFunction(null==e?void 0:e.getReader)}},43215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(76506))&&r.__esModule?r:{default:r};var i=function(e){return"string"==typeof e&&a.default.test(e)};t.default=i},43239:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(42689))},43350:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(42689))},43391:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var r=n(74828);t.pluck=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var n=Array.isArray,r=Object.getPrototypeOf,a=Object.prototype,i=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(n(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&r(s)===a){var o=i(t);return{args:o.map(function(e){return t[e]}),keys:o}}}var s;return{args:e,keys:null}}},44027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var r=n(35416);t.subscribeOn=function(e,t){return void 0===t&&(t=0),r.operate(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}},44468:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,i,o){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(42689))},44717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},44776:(e,t,n)=>{"use strict";n.d(t,{s:()=>ce});var r=n(3003),a=n(85959);function i(e){let[t,n]=(0,a.useState)(e),i=(0,a.useRef)(t),o=(0,a.useRef)(null),s=(0,a.useRef)(()=>{if(!o.current)return;let e=o.current.next();e.done?o.current=null:i.current===e.value?s.current():n(e.value)});(0,r.N)(()=>{i.current=t,o.current&&s.current()});let l=(0,a.useCallback)(e=>{o.current=e(i.current),s.current()},[s]);return[t,l]}const o={prefix:String(Math.round(1e10*Math.random())),current:0},s=a.createContext(o),l=a.createContext(!1);Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);let u=new WeakMap;function c(e=!1){let t=(0,a.useContext)(s),n=(0,a.useRef)(null);if(null===n.current&&!e){var r,i;let e=null===(i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i||null===(r=i.ReactCurrentOwner)||void 0===r?void 0:r.current;if(e){let n=u.get(e);null==n?u.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,u.delete(e))}n.current=++t.current}return n.current}const d="function"==typeof a.useId?function(e){let t=a.useId(),[n]=(0,a.useState)("function"==typeof a.useSyncExternalStore?a.useSyncExternalStore(h,f,p):(0,a.useContext)(l));return e||`${n?"react-aria":`react-aria${o.prefix}`}-${t}`}:function(e){let t=(0,a.useContext)(s),n=c(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`};function f(){return!1}function p(){return!0}function h(e){return()=>{}}let m,g=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),v=new Map;function y(e=[]){let t=function(e){let[t,n]=(0,a.useState)(e),i=(0,a.useRef)(null),o=d(t),s=(0,a.useRef)(null);if(m&&m.register(s,o),g){const e=v.get(o);e&&!e.includes(i)?e.push(i):v.set(o,[i])}return(0,r.N)(()=>{let e=o;return()=>{m&&m.unregister(s),v.delete(e)}},[o]),(0,a.useEffect)(()=>{let e=i.current;return e&&n(e),()=>{e&&(i.current=null)}}),o}(),[n,o]=i(t),s=(0,a.useCallback)(()=>{o(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,o]);return(0,r.N)(s,[t,s,...e]),n}"undefined"!=typeof FinalizationRegistry&&(m=new FinalizationRegistry(e=>{v.delete(e)}));const b=new Set(["id"]),_=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),w=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),M=new Set(["dir","lang","hidden","inert","translate"]),S=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),k=/^(data-.*)$/;function L(e,t={}){let{labelable:n,isLink:r,global:a,events:i=a,propNames:o}=t,s={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(b.has(t)||n&&_.has(t)||r&&w.has(t)||a&&M.has(t)||i&&(S.has(t)||t.endsWith("Capture")&&S.has(t.slice(0,-7)))||(null==o?void 0:o.has(t))||k.test(t))&&(s[t]=e[t]);return s}var x=n(18952);function D(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function T(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function E(e){let t=null;return()=>(null==t&&(t=e()),t)}const O=E(function(){return T(/^Mac/i)}),P=E(function(){return T(/^iPhone/i)}),Y=E(function(){return T(/^iPad/i)||O()&&navigator.maxTouchPoints>1}),C=E(function(){return P()||Y()}),A=(E(function(){return O()||C()}),E(function(){return D(/AppleWebKit/i)&&!R()})),R=E(function(){return D(/Chrome/i)}),j=E(function(){return D(/Android/i)}),I=E(function(){return D(/Firefox/i)});function F(e){if(function(){if(null==H){H=!1;try{document.createElement("div").focus({get preventScroll(){return H=!0,!0}})}catch{}}return H}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight{te(e)},{once:!0}),U.set(t,{focus:r})}const te=(e,t)=>{const n=(0,z.mD)(e),r=(0,z.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),U.has(n)&&(n.HTMLElement.prototype.focus=U.get(n).focus,r.removeEventListener("keydown",K,!0),r.removeEventListener("keyup",K,!0),r.removeEventListener("click",Q,!0),n.removeEventListener("focus",Z,!0),n.removeEventListener("blur",X,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",J,!0),r.removeEventListener("pointermove",J,!0),r.removeEventListener("pointerup",J,!0)),U.delete(n))};"undefined"!=typeof document&&function(e){const t=(0,z.TW)(e);let n;"loading"!==t.readyState?ee(e):(n=()=>{ee(e)},t.addEventListener("DOMContentLoaded",n))}();new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var ne=n(19985);let re=new Map,ae=new Set;function ie(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=re.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),re.delete(n.target)),0===re.size)){for(let e of ae)e();ae.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=re.get(n.target);r||(r=new Set,re.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function oe(e){requestAnimationFrame(()=>{!function(){for(const[e]of re)"isConnected"in e&&!e.isConnected&&re.delete(e)}(),0===re.size?e():ae.add(e)})}function se(e){const t=(0,z.TW)(e);if("virtual"===V){let n=(0,ne.bq)(t);oe(()=>{const r=(0,ne.bq)(t);r!==n&&r!==t.body||!e.isConnected||F(e)})}else F(e)}"undefined"!=typeof document&&("loading"!==document.readyState?ie():document.addEventListener("DOMContentLoaded",ie));n(48398);const le=a.createContext(null);function ue(){let e=(0,a.useContext)(le),t=null==e?void 0:e.setContain;(0,r.N)(()=>{null==t||t(!0)},[t])}function ce(e,t){let{role:n="dialog"}=e,r=y();r=e["aria-label"]?void 0:r;let i=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){se(t.current);let e=setTimeout(()=>{document.activeElement!==t.current&&document.activeElement!==document.body||(i.current=!0,t.current&&(t.current.blur(),se(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),ue(),{dialogProps:{...L(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}},45294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var r=n(54463),a=n(52296);t.from=function(e,t){return t?r.scheduled(e,t):a.innerFrom(e)}},45363:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"godinu"===i?e+" godina":e+" "+i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},45415:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21559);function a(e,t="latest"){return i(e,t.replace(/\-.*/,""))}function i(e,t){const n={};for(const[r,a]of Object.entries(e))o(a)?n[r]=i(a,t):(l(a,r),n[r]=s(a,t));return n}function o(e){if("object"==typeof e){const[t]=Object.keys(e);return!r.valid(t)}return!1}function s(e,t){let n,a=Object.keys(e).sort(r.compare);if("latest"===t)return e[a[a.length-1]];for(const e of a)r.gte(t,e)&&(n=e);return n||(n=a[a.length-1]),e[n]}function l(e,t){if(!Object.keys(e).every(e=>r.valid(e)))throw new Error(`Invalid semver version: '${t}'`)}const u="8.5.0",c={RadioButton:{container:{"10.2.3":"data-testid radio-button"}},Breadcrumbs:{breadcrumb:{"9.4.0":e=>`data-testid ${e} breadcrumb`}},CanvasGridAddActions:{addPanel:{"12.1.0":"data-testid CanvasGridAddActions add-panel"},groupPanels:{"12.1.0":"data-testid CanvasGridAddActions group-panels"},ungroup:{"12.1.0":"data-testid CanvasGridAddActions ungroup"},addRow:{"12.1.0":"data-testid CanvasGridAddActions add-row"},pasteRow:{"12.1.0":"data-testid CanvasGridAddActions paste-row"},addTab:{"12.1.0":"data-testid CanvasGridAddActions add-tab"},pasteTab:{"12.1.0":"data-testid CanvasGridAddActions paste-tab"}},DashboardEditPaneSplitter:{primaryBody:{"12.1.0":"data-testid DashboardEditPaneSplitter primary body"}},EditPaneHeader:{deleteButton:{"12.1.0":"data-testid EditPaneHeader delete panel"},copyDropdown:{"12.1.0":"data-testid EditPaneHeader copy dropdown"},copy:{"12.1.0":"data-testid EditPaneHeader copy"},duplicate:{"12.1.0":"data-testid EditPaneHeader duplicate"},backButton:{"12.1.0":"data-testid EditPaneHeader back"}},TimePicker:{openButton:{[u]:"data-testid TimePicker Open Button"},overlayContent:{"10.2.3":"data-testid TimePicker Overlay Content"},fromField:{"10.2.3":"data-testid Time Range from field",[u]:"Time Range from field"},toField:{"10.2.3":"data-testid Time Range to field",[u]:"Time Range to field"},applyTimeRange:{[u]:"data-testid TimePicker submit button"},copyTimeRange:{"10.4.0":"data-testid TimePicker copy button"},pasteTimeRange:{"10.4.0":"data-testid TimePicker paste button"},calendar:{label:{"10.2.3":"data-testid Time Range calendar",[u]:"Time Range calendar"},openButton:{"10.2.3":"data-testid Open time range calendar",[u]:"Open time range calendar"},closeButton:{"10.2.3":"data-testid Close time range Calendar",[u]:"Close time range Calendar"}},absoluteTimeRangeTitle:{[u]:"data-testid-absolute-time-range-narrow"}},DataSourcePermissions:{form:{"9.5.0":()=>'form[name="addPermission"]'},roleType:{"9.5.0":"Role to add new permission to"},rolePicker:{"9.5.0":"Built-in role picker"},permissionLevel:{"12.0.0":"Permission level","9.5.0":"Permission Level"}},DateTimePicker:{input:{"10.2.3":"data-testid date-time-input"}},DataSource:{TestData:{QueryTab:{scenarioSelectContainer:{[u]:"Test Data Query scenario select container"},scenarioSelect:{[u]:"Test Data Query scenario select"},max:{[u]:"TestData max"},min:{[u]:"TestData min"},noise:{[u]:"TestData noise"},seriesCount:{[u]:"TestData series count"},spread:{[u]:"TestData spread"},startValue:{[u]:"TestData start value"},drop:{[u]:"TestData drop values"}}},DataSourceHttpSettings:{urlInput:{"10.4.0":"data-testid Datasource HTTP settings url",[u]:"Datasource HTTP settings url"}},Jaeger:{traceIDInput:{[u]:"Trace ID"}},Prometheus:{configPage:{connectionSettings:{[u]:"Data source connection URL"},manageAlerts:{"10.4.0":"prometheus-alerts-manager"},allowAsRecordingRulesTarget:{"12.1.0":"prometheus-recording-rules-target"},scrapeInterval:{"10.4.0":"data-testid scrape interval"},queryTimeout:{"10.4.0":"data-testid query timeout"},defaultEditor:{"10.4.0":"data-testid default editor"},disableMetricLookup:{"10.4.0":"disable-metric-lookup"},prometheusType:{"10.4.0":"data-testid prometheus type"},prometheusVersion:{"10.4.0":"data-testid prometheus version"},cacheLevel:{"10.4.0":"data-testid cache level"},incrementalQuerying:{"10.4.0":"prometheus-incremental-querying"},queryOverlapWindow:{"10.4.0":"data-testid query overlap window"},disableRecordingRules:{"10.4.0":"disable-recording-rules"},customQueryParameters:{"10.4.0":"data-testid custom query parameters"},httpMethod:{"10.4.0":"data-testid http method"},exemplarsAddButton:{"10.3.0":"data-testid Add exemplar config button",[u]:"Add exemplar config button"},internalLinkSwitch:{"10.3.0":"data-testid Internal link switch",[u]:"Internal link switch"},codeModeMetricNamesSuggestionLimit:{"11.1.0":"data-testid code mode metric names suggestion limit"},seriesLimit:{"12.0.2":"data-testid maximum series limit"}},queryEditor:{explain:{"10.4.0":"data-testid prometheus explain switch wrapper"},editorToggle:{"10.4.0":"data-testid QueryEditorModeToggle"},options:{"10.4.0":"data-testid prometheus options"},legend:{"10.4.0":"data-testid prometheus legend wrapper"},format:{"10.4.0":"data-testid prometheus format"},step:{"10.4.0":"data-testid prometheus-step"},type:{"10.4.0":"data-testid prometheus type"},exemplars:{"10.4.0":"data-testid prometheus-exemplars"},builder:{metricSelect:{"10.4.0":"data-testid metric select"},hints:{"10.4.0":"data-testid prometheus hints"},metricsExplorer:{"10.4.0":"data-testid metrics explorer"},queryAdvisor:{"10.4.0":"data-testid query advisor"}},code:{queryField:{"10.4.0":"data-testid prometheus query field"},metricsCountInfo:{"11.1.0":"data-testid metrics count disclaimer"},metricsBrowser:{openButton:{"10.4.0":"data-testid open metrics browser"},selectMetric:{"10.4.0":"data-testid select a metric"},seriesLimit:{"10.3.1":"data-testid series limit"},metricList:{"10.4.0":"data-testid metric list"},labelNamesFilter:{"10.4.0":"data-testid label names filter"},labelValuesFilter:{"10.4.0":"data-testid label values filter"},useQuery:{"10.4.0":"data-testid use query"},useAsRateQuery:{"10.4.0":"data-testid use as rate query"},validateSelector:{"10.4.0":"data-testid validate selector"},clear:{"10.4.0":"data-testid clear"}}}},exemplarMarker:{"10.3.0":"data-testid Exemplar marker",[u]:"Exemplar marker"},variableQueryEditor:{queryType:{"10.4.0":"data-testid query type"},labelnames:{metricRegex:{"10.4.0":"data-testid label names metric regex"}},labelValues:{labelSelect:{"10.4.0":"data-testid label values label select"}},metricNames:{metricRegex:{"10.4.0":"data-testid metric names metric regex"}},varQueryResult:{"10.4.0":"data-testid variable query result"},seriesQuery:{"10.4.0":"data-testid prometheus series query"},classicQuery:{"10.4.0":"data-testid prometheus classic query"}},annotations:{minStep:{"10.4.0":"data-testid prometheus-annotation-min-step"},title:{"10.4.0":"data-testid prometheus annotation title"},tags:{"10.4.0":"data-testid prometheus annotation tags"},text:{"10.4.0":"data-testid prometheus annotation text"},seriesValueAsTimestamp:{"10.4.0":"data-testid prometheus annotation series value as timestamp"}}}},Menu:{MenuComponent:{[u]:e=>`${e} menu`},MenuGroup:{[u]:e=>`${e} menu group`},MenuItem:{[u]:e=>`${e} menu item`},SubMenu:{container:{"10.3.0":"data-testid SubMenu container",[u]:"SubMenu container"},icon:{"10.3.0":"data-testid SubMenu icon",[u]:"SubMenu icon"}}},Panels:{Panel:{title:{[u]:e=>`data-testid Panel header ${e}`},content:{"11.1.0":"data-testid panel content"},headerContainer:{"9.5.0":"data-testid header-container"},headerItems:{"10.2.0":e=>`data-testid Panel header item ${e}`},menuItems:{"9.5.0":e=>`data-testid Panel menu item ${e}`},menu:{"9.5.0":e=>`data-testid Panel menu ${e}`},containerByTitle:{[u]:e=>`${e} panel`},headerCornerInfo:{[u]:e=>`Panel header ${e}`},status:{"10.2.0":e=>`data-testid Panel status ${e}`,[u]:e=>"Panel status"},loadingBar:{"10.0.0":()=>"Panel loading bar"},HoverWidget:{container:{"10.1.0":"data-testid hover-header-container",[u]:"hover-header-container"},dragIcon:{"10.0.0":"data-testid drag-icon"}},PanelDataErrorMessage:{"10.4.0":"data-testid Panel data error message"}},Visualization:{Graph:{container:{"9.5.0":"Graph container"},VisualizationTab:{legendSection:{[u]:"Legend section"}},Legend:{legendItemAlias:{[u]:e=>`gpl alias ${e}`},showLegendSwitch:{[u]:"gpl show legend"}},xAxis:{labels:{[u]:()=>"div.flot-x-axis > div.flot-tick-label"}}},BarGauge:{valueV2:{[u]:"data-testid Bar gauge value"}},PieChart:{svgSlice:{"10.3.0":"data testid Pie Chart Slice"}},Text:{container:{[u]:()=>".markdown-html"}},Table:{header:{[u]:"table header"},footer:{[u]:"table-footer"},body:{"10.2.0":"data-testid table body"}}}},VizLegend:{seriesName:{"10.3.0":e=>`data-testid VizLegend series ${e}`}},Drawer:{General:{title:{[u]:e=>`Drawer title ${e}`},expand:{[u]:"Drawer expand"},contract:{[u]:"Drawer contract"},close:{"10.3.0":"data-testid Drawer close",[u]:"Drawer close"},rcContentWrapper:{"9.4.0":()=>".rc-drawer-content-wrapper"},subtitle:{"10.4.0":"data-testid drawer subtitle"}},DashboardSaveDrawer:{saveButton:{"11.1.0":"data-testid Save dashboard drawer button"},saveAsButton:{"11.1.0":"data-testid Save as dashboard drawer button"},saveAsTitleInput:{"11.1.0":"Save dashboard title field"}}},PanelEditor:{General:{content:{"11.1.0":"data-testid Panel editor content","8.0.0":"Panel editor content"}},OptionsPane:{content:{"11.1.0":"data-testid Panel editor option pane content",[u]:"Panel editor option pane content"},select:{[u]:"Panel editor option pane select"},fieldLabel:{[u]:e=>`${e} field property editor`},fieldInput:{"11.0.0":e=>`data-testid Panel editor option pane field input ${e}`}},DataPane:{content:{"11.1.0":"data-testid Panel editor data pane content",[u]:"Panel editor data pane content"}},applyButton:{"9.2.0":"data-testid Apply changes and go back to dashboard","9.1.0":"Apply changes and go back to dashboard","8.0.0":"panel editor apply"},toggleVizPicker:{"10.0.0":"data-testid toggle-viz-picker","8.0.0":"toggle-viz-picker"},toggleVizOptions:{"10.1.0":"data-testid toggle-viz-options",[u]:"toggle-viz-options"},toggleTableView:{"11.1.0":"data-testid toggle-table-view",[u]:"toggle-table-view"},showZoomField:{"10.2.0":"Map controls Show zoom control field property editor"},showAttributionField:{"10.2.0":"Map controls Show attribution field property editor"},showScaleField:{"10.2.0":"Map controls Show scale field property editor"},showMeasureField:{"10.2.0":"Map controls Show measure tools field property editor"},showDebugField:{"10.2.0":"Map controls Show debug field property editor"},measureButton:{"12.1.0":"data-testid panel-editor-measure-button","9.2.0":"show measure tools"},Outline:{section:{"12.0.0":"data-testid Outline section"},node:{"12.0.0":e=>`data-testid outline node ${e}`},item:{"12.0.0":e=>`data-testid outline item ${e}`}},ElementEditPane:{variableType:{"12.0.0":e=>`data-testid variable type ${e}`},addVariableButton:{"12.0.0":"data-testid add variable button"},variableNameInput:{"12.0.0":"data-testid variable name input"},variableLabelInput:{"12.0.0":"data-testid variable label input"},AutoGridLayout:{minColumnWidth:{"12.1.0":"data-testid min column width selector"},customMinColumnWidth:{"12.1.0":"data-testid custom min column width input"},clearCustomMinColumnWidth:{"12.1.0":"data-testid clear custom min column width input"},maxColumns:{"12.1.0":"data-testid max columns selector"},rowHeight:{"12.1.0":"data-testid row height selector"},customRowHeight:{"12.1.0":"data-testid custom row height input"},clearCustomRowHeight:{"12.1.0":"data-testid clear custom row height input"},fillScreen:{"12.1.0":"data-testid fill screen switch"}}}},PanelInspector:{Data:{content:{[u]:"Panel inspector Data content"}},Stats:{content:{[u]:"Panel inspector Stats content"}},Json:{content:{"11.1.0":"data-testid Panel inspector Json content",[u]:"Panel inspector Json content"}},Query:{content:{[u]:"Panel inspector Query content"},refreshButton:{[u]:"Panel inspector Query refresh button"},jsonObjectKeys:{[u]:()=>".json-formatter-key"}}},Tab:{title:{"11.2.0":e=>`data-testid Tab ${e}`},active:{[u]:()=>'[class*="-activeTabStyle"]'}},RefreshPicker:{runButtonV2:{[u]:"data-testid RefreshPicker run button"},intervalButtonV2:{[u]:"data-testid RefreshPicker interval button"}},QueryTab:{content:{[u]:"Query editor tab content"},queryInspectorButton:{[u]:"Query inspector button"},queryHistoryButton:{"10.2.0":"data-testid query-history-button",[u]:"query-history-button"},addQuery:{"10.2.0":"data-testid query-tab-add-query",[u]:"Query editor add query button"},addQueryFromLibrary:{"11.5.0":"data-testid query-tab-add-query-from-library"},queryGroupTopSection:{"11.2.0":"data-testid query group top section"},addExpression:{"11.2.0":"data-testid query-tab-add-expression"}},QueryHistory:{queryText:{"9.0.0":"Query text"}},QueryEditorRows:{rows:{[u]:"Query editor row"}},QueryEditorRow:{actionButton:{"10.4.0":e=>`data-testid ${e}`},title:{[u]:e=>`Query editor row title ${e}`},container:{[u]:e=>`Query editor row ${e}`}},AlertTab:{content:{"10.2.3":"data-testid Alert editor tab content",[u]:"Alert editor tab content"}},AlertRules:{groupToggle:{"11.0.0":"data-testid group-collapse-toggle"},toggle:{"11.0.0":"data-testid collapse-toggle"},expandedContent:{"11.0.0":"data-testid expanded-content"},previewButton:{"11.1.0":"data-testid alert-rule preview-button"},ruleNameField:{"11.1.0":"data-testid alert-rule name-field"},newFolderButton:{"11.1.0":"data-testid alert-rule new-folder-button"},newFolderNameField:{"11.1.0":"data-testid alert-rule name-folder-name-field"},newFolderNameCreateButton:{"11.1.0":"data-testid alert-rule name-folder-name-create-button"},newEvaluationGroupButton:{"11.1.0":"data-testid alert-rule new-evaluation-group-button"},newEvaluationGroupName:{"11.1.0":"data-testid alert-rule new-evaluation-group-name"},newEvaluationGroupInterval:{"11.1.0":"data-testid alert-rule new-evaluation-group-interval"},newEvaluationGroupCreate:{"11.1.0":"data-testid alert-rule new-evaluation-group-create-button"},step:{"11.5.0":e=>`data-testid alert-rule step-${e}`},stepAdvancedModeSwitch:{"11.5.0":e=>`data-testid advanced-mode-switch step-${e}`}},Alert:{alertV2:{[u]:e=>`data-testid Alert ${e}`}},TransformTab:{content:{"10.1.0":"data-testid Transform editor tab content",[u]:"Transform editor tab content"},newTransform:{"10.1.0":e=>`data-testid New transform ${e}`},transformationEditor:{"10.1.0":e=>`data-testid Transformation editor ${e}`},transformationEditorDebugger:{"10.1.0":e=>`data-testid Transformation editor debugger ${e}`}},Transforms:{card:{"10.1.0":e=>`data-testid New transform ${e}`},disableTransformationButton:{"10.4.0":"data-testid Disable transformation button"},Reduce:{modeLabel:{"10.2.3":"data-testid Transform mode label",[u]:"Transform mode label"},calculationsLabel:{"10.2.3":"data-testid Transform calculations label",[u]:"Transform calculations label"}},SpatialOperations:{actionLabel:{"9.1.2":"root Action field property editor"},locationLabel:{"10.2.0":"root Location Mode field property editor"},location:{autoOption:{"9.1.2":"Auto location option"},coords:{option:{"9.1.2":"Coords location option"},latitudeFieldLabel:{"9.1.2":"root Latitude field field property editor"},longitudeFieldLabel:{"9.1.2":"root Longitude field field property editor"}},geohash:{option:{"9.1.2":"Geohash location option"},geohashFieldLabel:{"9.1.2":"root Geohash field field property editor"}},lookup:{option:{"9.1.2":"Lookup location option"},lookupFieldLabel:{"9.1.2":"root Lookup field field property editor"},gazetteerFieldLabel:{"9.1.2":"root Gazetteer field property editor"}}}},searchInput:{"10.2.3":"data-testid search transformations",[u]:"search transformations"},noTransformationsMessage:{"10.2.3":"data-testid no transformations message"},addTransformationButton:{"10.1.0":"data-testid add transformation button",[u]:"add transformation button"},removeAllTransformationsButton:{"10.4.0":"data-testid remove all transformations button"}},NavBar:{Configuration:{button:{"9.5.0":"Configuration"}},Toggle:{button:{"10.2.3":"data-testid Toggle menu",[u]:"Toggle menu"}},Reporting:{button:{"9.5.0":"Reporting"}}},NavMenu:{Menu:{"10.2.3":"data-testid navigation mega-menu"},item:{"9.5.0":"data-testid Nav menu item"}},NavToolbar:{container:{"9.4.0":"data-testid Nav toolbar"},commandPaletteTrigger:{"11.5.0":"data-testid Command palette trigger"},shareDashboard:{"11.1.0":"data-testid Share dashboard"},markAsFavorite:{"11.1.0":"data-testid Mark as favorite"},editDashboard:{editButton:{"11.1.0":"data-testid Edit dashboard button"},saveButton:{"11.1.0":"data-testid Save dashboard button"},exitButton:{"11.1.0":"data-testid Exit edit mode button"},settingsButton:{"11.1.0":"data-testid Dashboard settings"},addRowButton:{"11.1.0":"data-testid Add row button"},addLibraryPanelButton:{"11.1.0":"data-testid Add a panel from the panel library button"},addVisualizationButton:{"11.1.0":"data-testid Add new visualization menu item"},pastePanelButton:{"11.1.0":"data-testid Paste panel button"},discardChangesButton:{"11.1.0":"data-testid Discard changes button"},discardLibraryPanelButton:{"11.1.0":"data-testid Discard library panel button"},unlinkLibraryPanelButton:{"11.1.0":"data-testid Unlink library panel button"},saveLibraryPanelButton:{"11.1.0":"data-testid Save library panel button"},backToDashboardButton:{"11.1.0":"data-testid Back to dashboard button"}}},PageToolbar:{container:{[u]:()=>".page-toolbar"},item:{[u]:e=>`${e}`},itemButton:{"9.5.0":e=>`data-testid ${e}`}},QueryEditorToolbarItem:{button:{[u]:e=>`QueryEditor toolbar item button ${e}`}},BackButton:{backArrow:{"10.3.0":"data-testid Go Back",[u]:"Go Back"}},OptionsGroup:{group:{"11.1.0":e=>e?`data-testid Options group ${e}`:"data-testid Options group",[u]:e=>e?`Options group ${e}`:"Options group"},toggle:{"11.1.0":e=>e?`data-testid Options group ${e} toggle`:"data-testid Options group toggle",[u]:e=>e?`Options group ${e} toggle`:"Options group toggle"}},PluginVisualization:{item:{[u]:e=>`Plugin visualization item ${e}`},current:{[u]:()=>'[class*="-currentVisualizationItem"]'}},Select:{menu:{"11.5.0":"data-testid Select menu",[u]:"Select options menu"},option:{"11.1.0":"data-testid Select option",[u]:"Select option"},toggleAllOptions:{"11.3.0":"data-testid toggle all options"},input:{[u]:()=>'input[id*="time-options-input"]'},singleValue:{[u]:()=>'div[class*="-singleValue"]'}},FieldConfigEditor:{content:{[u]:"Field config editor content"}},OverridesConfigEditor:{content:{[u]:"Field overrides editor content"}},FolderPicker:{containerV2:{[u]:"data-testid Folder picker select container"},input:{"10.4.0":"data-testid folder-picker-input"}},ReadonlyFolderPicker:{container:{[u]:"data-testid Readonly folder picker select container"}},DataSourcePicker:{container:{"10.0.0":"data-testid Data source picker select container","8.0.0":"Data source picker select container"},inputV2:{"10.1.0":"data-testid Select a data source",[u]:"Select a data source"},dataSourceList:{"10.4.0":"data-testid Data source list dropdown"},advancedModal:{dataSourceList:{"10.4.0":"data-testid Data source list"},builtInDataSourceList:{"10.4.0":"data-testid Built in data source list"}}},TimeZonePicker:{containerV2:{[u]:"data-testid Time zone picker select container"},changeTimeSettingsButton:{"11.0.0":"data-testid Time zone picker Change time settings button"}},WeekStartPicker:{containerV2:{[u]:"data-testid Choose starting day of the week"},placeholder:{[u]:"Choose starting day of the week"}},TraceViewer:{spanBar:{"9.0.0":"data-testid SpanBar--wrapper"}},QueryField:{container:{"10.3.0":"data-testid Query field",[u]:"Query field"}},QueryBuilder:{queryPatterns:{"10.3.0":"data-testid Query patterns",[u]:"Query patterns"},labelSelect:{"10.3.0":"data-testid Select label",[u]:"Select label"},inputSelect:{"11.1.0":"data-testid Select label-input"},valueSelect:{"10.3.0":"data-testid Select value",[u]:"Select value"},matchOperatorSelect:{"10.3.0":"data-testid Select match operator",[u]:"Select match operator"}},ValuePicker:{button:{"10.3.0":e=>`data-testid Value picker button ${e}`},select:{"10.3.0":e=>`data-testid Value picker select ${e}`}},Search:{sectionV2:{[u]:"data-testid Search section"},itemsV2:{[u]:"data-testid Search items"},cards:{[u]:"data-testid Search cards"},collapseFolder:{[u]:e=>`data-testid Collapse folder ${e}`},expandFolder:{[u]:e=>`data-testid Expand folder ${e}`},dashboardItem:{[u]:e=>`data-testid Dashboard search item ${e}`},dashboardCard:{[u]:e=>`data-testid Search card ${e}`},folderHeader:{"9.3.0":e=>`data-testid Folder header ${e}`},folderContent:{"9.3.0":e=>`data-testid Folder content ${e}`},dashboardItems:{[u]:"data-testid Dashboard search item"}},DashboardLinks:{container:{[u]:"data-testid Dashboard link container"},dropDown:{[u]:"data-testid Dashboard link dropdown"},link:{[u]:"data-testid Dashboard link"}},LoadingIndicator:{icon:{"10.4.0":"data-testid Loading indicator",[u]:"Loading indicator"}},CallToActionCard:{buttonV2:{[u]:e=>`data-testid Call to action button ${e}`}},DataLinksContextMenu:{singleLink:{"10.3.0":"data-testid Data link",[u]:"Data link"}},DataLinksActionsTooltip:{tooltipWrapper:{"12.1.0":"data-testid Data links actions tooltip wrapper"}},CodeEditor:{container:{"10.2.3":"data-testid Code editor container",[u]:"Code editor container"}},ReactMonacoEditor:{editorLazy:{"11.1.0":"data-testid ReactMonacoEditor editorLazy"}},DashboardImportPage:{textarea:{[u]:"data-testid-import-dashboard-textarea"},submit:{[u]:"data-testid-load-dashboard"}},ImportDashboardForm:{name:{[u]:"data-testid-import-dashboard-title"},submit:{[u]:"data-testid-import-dashboard-submit"}},PanelAlertTabContent:{content:{"10.2.3":"data-testid Unified alert editor tab content",[u]:"Unified alert editor tab content"}},VisualizationPreview:{card:{[u]:e=>`data-testid suggestion-${e}`}},ColorSwatch:{name:{[u]:"data-testid-colorswatch"}},DashboardRow:{title:{[u]:e=>`data-testid dashboard-row-title-${e}`}},UserProfile:{profileSaveButton:{[u]:"data-testid-user-profile-save"},preferencesSaveButton:{[u]:"data-testid-shared-prefs-save"},orgsTable:{[u]:"data-testid-user-orgs-table"},sessionsTable:{[u]:"data-testid-user-sessions-table"},extensionPointTabs:{"10.2.3":"data-testid-extension-point-tabs"},extensionPointTab:{"10.2.3":e=>`data-testid-extension-point-tab-${e}`}},FileUpload:{inputField:{"9.0.0":"data-testid-file-upload-input-field"},fileNameSpan:{"9.0.0":"data-testid-file-upload-file-name"}},DebugOverlay:{wrapper:{"9.2.0":"debug-overlay"}},OrgRolePicker:{input:{"9.5.0":"Role"}},AnalyticsToolbarButton:{button:{"9.5.0":"Dashboard insights"}},Variables:{variableOption:{"9.5.0":"data-testid variable-option"},variableLinkWrapper:{"11.1.1":"data-testid variable-link-wrapper"}},Annotations:{annotationsTypeInput:{"11.1.0":"data-testid annotations-type-input",[u]:"annotations-type-input"},annotationsChoosePanelInput:{"11.1.0":"data-testid choose-panels-input",[u]:"choose-panels-input"},editor:{testButton:{"11.0.0":"data-testid annotations-test-button"},resultContainer:{"11.0.0":"data-testid annotations-query-result-container"}}},Tooltip:{container:{"10.2.0":"data-testid tooltip"}},ReturnToPrevious:{buttonGroup:{"11.0.0":"data-testid dismissable button group"},backButton:{"11.0.0":"data-testid back"},dismissButton:{"11.0.0":"data-testid dismiss"}},SQLQueryEditor:{selectColumn:{"11.0.0":"data-testid select-column"},selectColumnInput:{"11.0.0":"data-testid select-column-input"},selectFunctionParameter:{"11.0.0":e=>`data-testid select-function-parameter-${e}`},selectAggregation:{"11.0.0":"data-testid select-aggregation"},selectAggregationInput:{"11.0.0":"data-testid select-aggregation-input"},selectAlias:{"11.0.0":"data-testid select-alias"},selectAliasInput:{"11.0.0":"data-testid select-alias-input"},selectInputParameter:{"11.0.0":"data-testid select-input-parameter"},filterConjunction:{"11.0.0":"data-testid filter-conjunction"},filterField:{"11.0.0":"data-testid filter-field"},filterOperator:{"11.0.0":"data-testid filter-operator"},headerTableSelector:{"11.0.0":"data-testid header-table-selector"},headerFilterSwitch:{"11.0.0":"data-testid header-filter-switch"},headerGroupSwitch:{"11.0.0":"data-testid header-group-switch"},headerOrderSwitch:{"11.0.0":"data-testid header-order-switch"},headerPreviewSwitch:{"11.0.0":"data-testid header-preview-switch"}},EntityNotFound:{container:{"11.2.0":"data-testid entity-not-found"}},Portal:{container:{"11.5.0":"data-testid portal-container"}}},d={Alerting:{AddAlertRule:{url:{"10.1.0":"/alerting/new/alerting",[u]:"/alerting/new"}},EditAlertRule:{url:{[u]:e=>`alerting/${e}/edit`}}},Login:{url:{[u]:"/login"},username:{"10.2.3":"data-testid Username input field",[u]:"Username input field"},password:{"10.2.3":"data-testid Password input field",[u]:"Password input field"},submit:{"10.2.3":"data-testid Login button",[u]:"Login button"},skip:{"10.2.3":"data-testid Skip change password button"}},PasswordlessLogin:{url:{[u]:"/login/passwordless/authenticate"},email:{"10.2.3":"data-testid Email input field",[u]:"Email input field"},submit:{"10.2.3":"data-testid PasswordlessLogin button",[u]:"PasswordlessLogin button"}},Home:{url:{[u]:"/"}},DataSource:{name:{"10.3.0":"data-testid Data source settings page name input field",[u]:"Data source settings page name input field"},delete:{[u]:"Data source settings page Delete button"},readOnly:{"10.3.0":"data-testid Data source settings page read only message",[u]:"Data source settings page read only message"},saveAndTest:{"10.0.0":"data-testid Data source settings page Save and Test button",[u]:"Data source settings page Save and Test button"},alert:{"10.3.0":"data-testid Data source settings page Alert",[u]:"Data source settings page Alert"}},DataSources:{url:{[u]:"/datasources"},dataSources:{[u]:e=>`Data source list item ${e}`}},EditDataSource:{url:{"9.5.0":e=>`/datasources/edit/${e}`},settings:{"9.5.0":"Datasource settings page basic settings"}},AddDataSource:{url:{[u]:"/datasources/new"},dataSourcePluginsV2:{"9.3.1":e=>`Add new data source ${e}`,[u]:e=>`Data source plugin item ${e}`}},ConfirmModal:{delete:{"10.0.0":"data-testid Confirm Modal Danger Button",[u]:"Confirm Modal Danger Button"}},AddDashboard:{url:{[u]:"/dashboard/new"},itemButton:{"9.5.0":e=>`data-testid ${e}`},addNewPanel:{"11.1.0":"data-testid Add new panel","8.0.0":"Add new panel",[u]:"Add new panel"},itemButtonAddViz:{[u]:"Add new visualization menu item"},addNewRow:{"11.1.0":"data-testid Add new row",[u]:"Add new row"},addNewPanelLibrary:{"11.1.0":"data-testid Add new panel from panel library",[u]:"Add new panel from panel library"},Settings:{Annotations:{List:{url:{[u]:"/dashboard/new?orgId=1&editview=annotations"}},Edit:{url:{[u]:e=>`/dashboard/new?editview=annotations&editIndex=${e}`}}},Variables:{List:{url:{"11.3.0":"/dashboard/new?orgId=1&editview=variables",[u]:"/dashboard/new?orgId=1&editview=templating"}},Edit:{url:{"11.3.0":e=>`/dashboard/new?orgId=1&editview=variables&editIndex=${e}`,[u]:e=>`/dashboard/new?orgId=1&editview=templating&editIndex=${e}`}}}}},ImportDashboard:{url:{[u]:"/dashboard/import"}},Dashboard:{url:{[u]:e=>`/d/${e}`},DashNav:{nav:{[u]:"Dashboard navigation"},navV2:{[u]:"data-testid Dashboard navigation"},publicDashboardTag:{"9.1.0":"data-testid public dashboard tag"},shareButton:{"10.4.0":"data-testid share-button"},scrollContainer:{"11.1.0":"data-testid Dashboard canvas scroll container"},newShareButton:{container:{"11.1.0":"data-testid new share button"},shareLink:{"11.1.0":"data-testid new share link-button"},arrowMenu:{"11.1.0":"data-testid new share button arrow menu"},menu:{container:{"11.1.0":"data-testid new share button menu"},shareInternally:{"11.1.0":"data-testid new share button share internally"},shareExternally:{"11.1.1":"data-testid new share button share externally"},shareSnapshot:{"11.2.0":"data-testid new share button share snapshot"}}},NewExportButton:{container:{"11.2.0":"data-testid new export button"},arrowMenu:{"11.2.0":"data-testid new export button arrow menu"},Menu:{container:{"11.2.0":"data-testid new export button menu"},exportAsJson:{"11.2.0":"data-testid new export button export as json"}}},playlistControls:{prev:{"11.0.0":"data-testid playlist previous dashboard button"},stop:{"11.0.0":"data-testid playlist stop dashboard button"},next:{"11.0.0":"data-testid playlist next dashboard button"}}},Controls:{"11.1.0":"data-testid dashboard controls"},SubMenu:{submenu:{[u]:"Dashboard submenu"},submenuItem:{[u]:"data-testid template variable"},submenuItemLabels:{[u]:e=>`data-testid Dashboard template variables submenu Label ${e}`},submenuItemValueDropDownValueLinkTexts:{[u]:e=>`data-testid Dashboard template variables Variable Value DropDown value link text ${e}`},submenuItemValueDropDownDropDown:{[u]:"Variable options"},submenuItemValueDropDownOptionTexts:{[u]:e=>`data-testid Dashboard template variables Variable Value DropDown option text ${e}`},Annotations:{annotationsWrapper:{"10.0.0":"data-testid annotation-wrapper"},annotationLabel:{"10.0.0":e=>`data-testid Dashboard annotations submenu Label ${e}`},annotationToggle:{"10.0.0":e=>`data-testid Dashboard annotations submenu Toggle ${e}`}}},Settings:{Actions:{close:{"9.5.0":"data-testid dashboard-settings-close"}},General:{deleteDashBoard:{"11.1.0":"data-testid Dashboard settings page delete dashboard button"},sectionItems:{[u]:e=>`Dashboard settings section item ${e}`},saveDashBoard:{[u]:"Dashboard settings aside actions Save button"},saveAsDashBoard:{[u]:"Dashboard settings aside actions Save As button"},title:{"11.2.0":"General"}},Annotations:{Edit:{urlParams:{[u]:e=>`editview=annotations&editIndex=${e}`}},List:{url:{[u]:e=>`/d/${e}?editview=annotations`},addAnnotationCTAV2:{[u]:"data-testid Call to action button Add annotation query"},annotations:{"10.4.0":"data-testid list-annotations"}},Settings:{name:{"11.1.0":"data-testid Annotations settings name input",[u]:"Annotations settings name input"}},NewAnnotation:{panelFilterSelect:{"10.0.0":"data-testid annotations-panel-filter"},showInLabel:{"11.1.0":"data-testid show-in-label"},previewInDashboard:{"10.0.0":"data-testid annotations-preview"},delete:{"10.4.0":"data-testid annotations-delete"},apply:{"10.4.0":"data-testid annotations-apply"},enable:{"10.4.0":"data-testid annotation-enable"},hide:{"10.4.0":"data-testid annotation-hide"}}},Variables:{List:{url:{"11.3.0":e=>`/d/${e}?editview=variables`,[u]:e=>`/d/${e}?editview=templating`},addVariableCTAV2:{[u]:"data-testid Call to action button Add variable"},newButton:{[u]:"Variable editor New variable button"},table:{[u]:"Variable editor Table"},tableRowNameFields:{[u]:e=>`Variable editor Table Name field ${e}`},tableRowDefinitionFields:{"10.1.0":e=>`Variable editor Table Definition field ${e}`},tableRowArrowUpButtons:{[u]:e=>`Variable editor Table ArrowUp button ${e}`},tableRowArrowDownButtons:{[u]:e=>`Variable editor Table ArrowDown button ${e}`},tableRowDuplicateButtons:{[u]:e=>`Variable editor Table Duplicate button ${e}`},tableRowRemoveButtons:{[u]:e=>`Variable editor Table Remove button ${e}`}},Edit:{urlParams:{"11.3.0":e=>`editview=variables&editIndex=${e}`,[u]:e=>`editview=templating&editIndex=${e}`},General:{headerLink:{[u]:"Variable editor Header link"},modeLabelNew:{[u]:"Variable editor Header mode New"},modeLabelEdit:{[u]:"Variable editor Header mode Edit"},generalNameInput:{[u]:"Variable editor Form Name field"},generalNameInputV2:{[u]:"data-testid Variable editor Form Name field"},generalTypeSelect:{[u]:"Variable editor Form Type select"},generalTypeSelectV2:{[u]:"data-testid Variable editor Form Type select"},generalLabelInput:{[u]:"Variable editor Form Label field"},generalLabelInputV2:{[u]:"data-testid Variable editor Form Label field"},generalHideSelect:{[u]:"Variable editor Form Hide select"},generalHideSelectV2:{[u]:"data-testid Variable editor Form Hide select"},selectionOptionsAllowCustomValueSwitch:{[u]:"data-testid Variable editor Form Allow Custom Value switch"},selectionOptionsMultiSwitch:{"10.4.0":"data-testid Variable editor Form Multi switch",[u]:"Variable editor Form Multi switch"},selectionOptionsIncludeAllSwitch:{"10.4.0":"data-testid Variable editor Form IncludeAll switch",[u]:"Variable editor Form IncludeAll switch"},selectionOptionsCustomAllInput:{"10.4.0":"data-testid Variable editor Form IncludeAll field",[u]:"Variable editor Form IncludeAll field"},previewOfValuesOption:{"10.4.0":"data-testid Variable editor Preview of Values option",[u]:"Variable editor Preview of Values option"},submitButton:{"10.4.0":"data-testid Variable editor Run Query button",[u]:"Variable editor Submit button"},applyButton:{"9.3.0":"data-testid Variable editor Apply button"}},QueryVariable:{closeButton:{[u]:"data-testid Query Variable editor close button"},editor:{[u]:"data-testid Query Variable editor"},previewButton:{[u]:"data-testid Query Variable editor preview button"},queryOptionsDataSourceSelect:{"10.4.0":"data-testid Select a data source","10.0.0":"data-testid Data source picker select container",[u]:"Data source picker select container"},queryOptionsOpenButton:{[u]:"data-testid Query Variable editor open button"},queryOptionsRefreshSelect:{[u]:"Variable editor Form Query Refresh select"},queryOptionsRefreshSelectV2:{[u]:"data-testid Variable editor Form Query Refresh select"},queryOptionsRegExInput:{[u]:"Variable editor Form Query RegEx field"},queryOptionsRegExInputV2:{[u]:"data-testid Variable editor Form Query RegEx field"},queryOptionsSortSelect:{[u]:"Variable editor Form Query Sort select"},queryOptionsSortSelectV2:{[u]:"data-testid Variable editor Form Query Sort select"},queryOptionsQueryInput:{"10.4.0":"data-testid Variable editor Form Default Variable Query Editor textarea"},valueGroupsTagsEnabledSwitch:{[u]:"Variable editor Form Query UseTags switch"},valueGroupsTagsTagsQueryInput:{[u]:"Variable editor Form Query TagsQuery field"},valueGroupsTagsTagsValuesQueryInput:{[u]:"Variable editor Form Query TagsValuesQuery field"}},ConstantVariable:{constantOptionsQueryInput:{[u]:"Variable editor Form Constant Query field"},constantOptionsQueryInputV2:{[u]:"data-testid Variable editor Form Constant Query field"}},DatasourceVariable:{datasourceSelect:{[u]:"data-testid datasource variable datasource type"},nameFilter:{[u]:"data-testid datasource variable datasource name filter"}},TextBoxVariable:{textBoxOptionsQueryInput:{[u]:"Variable editor Form TextBox Query field"},textBoxOptionsQueryInputV2:{[u]:"data-testid Variable editor Form TextBox Query field"}},CustomVariable:{customValueInput:{[u]:"data-testid custom-variable-input"}},IntervalVariable:{intervalsValueInput:{[u]:"data-testid interval variable intervals input"},autoEnabledCheckbox:{"10.4.0":"data-testid interval variable auto value checkbox"},stepCountIntervalSelect:{"10.4.0":"data-testid interval variable step count input"},minIntervalInput:{"10.4.0":"data-testid interval variable mininum interval input"}},GroupByVariable:{dataSourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid group by variable info text"},modeToggle:{"10.4.0":"data-testid group by variable mode toggle"}},AdHocFiltersVariable:{datasourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid ad-hoc filters variable info text"},modeToggle:{"11.0.0":"data-testid ad-hoc filters variable mode toggle"}}}}},Annotations:{marker:{"10.0.0":"data-testid annotation-marker"}},Rows:{Repeated:{ConfigSection:{warningMessage:{"10.2.0":"data-testid Repeated rows warning message"}}}}},Dashboards:{url:{[u]:"/dashboards"},dashboards:{"10.2.0":e=>`Dashboard search item ${e}`},toggleView:{[u]:"data-testid radio-button"}},SaveDashboardAsModal:{newName:{"10.2.0":"Save dashboard title field"},save:{"10.2.0":"Save dashboard button"}},SaveDashboardModal:{save:{"10.2.0":"Dashboard settings Save Dashboard Modal Save button"},saveVariables:{"10.2.0":"Dashboard settings Save Dashboard Modal Save variables checkbox"},saveTimerange:{"10.2.0":"Dashboard settings Save Dashboard Modal Save timerange checkbox"},saveRefresh:{"11.1.0":"Dashboard settings Save Dashboard Modal Save refresh checkbox"}},SharePanelModal:{linkToRenderedImage:{[u]:"Link to rendered image"}},ShareDashboardModal:{PublicDashboard:{WillBePublicCheckbox:{"9.1.0":"data-testid public dashboard will be public checkbox"},LimitedDSCheckbox:{"9.1.0":"data-testid public dashboard limited datasources checkbox"},CostIncreaseCheckbox:{"9.1.0":"data-testid public dashboard cost may increase checkbox"},PauseSwitch:{"9.5.0":"data-testid public dashboard pause switch"},EnableAnnotationsSwitch:{"9.3.0":"data-testid public dashboard on off switch for annotations"},CreateButton:{"9.5.0":"data-testid public dashboard create button"},DeleteButton:{"9.3.0":"data-testid public dashboard delete button"},CopyUrlInput:{"9.1.0":"data-testid public dashboard copy url input"},CopyUrlButton:{"9.1.0":"data-testid public dashboard copy url button"},SettingsDropdown:{"10.1.0":"data-testid public dashboard settings dropdown"},TemplateVariablesWarningAlert:{"9.1.0":"data-testid public dashboard disabled template variables alert"},UnsupportedDataSourcesWarningAlert:{"9.5.0":"data-testid public dashboard unsupported data sources alert"},NoUpsertPermissionsWarningAlert:{"9.5.0":"data-testid public dashboard no upsert permissions alert"},EnableTimeRangeSwitch:{"9.4.0":"data-testid public dashboard on off switch for time range"},EmailSharingConfiguration:{Container:{"9.5.0":"data-testid email sharing config container"},ShareType:{"9.5.0":"data-testid public dashboard share type"},EmailSharingInput:{"9.5.0":"data-testid public dashboard email sharing input"},EmailSharingInviteButton:{"9.5.0":"data-testid public dashboard email sharing invite button"},EmailSharingList:{"9.5.0":"data-testid public dashboard email sharing list"},DeleteEmail:{"9.5.0":"data-testid public dashboard delete email button"},ReshareLink:{"9.5.0":"data-testid public dashboard reshare link button"}}},SnapshotScene:{url:{"11.1.0":e=>`/dashboard/snapshot/${e}`},PublishSnapshot:{"11.1.0":"data-testid publish snapshot button"},CopyUrlButton:{"11.1.0":"data-testid snapshot copy url button"},CopyUrlInput:{"11.1.0":"data-testid snapshot copy url input"}}},ShareDashboardDrawer:{ShareInternally:{container:{"11.3.0":"data-testid share internally drawer container"},lockTimeRangeSwitch:{"11.3.0":"data-testid share internally lock time range switch"},shortenUrlSwitch:{"11.3.0":"data-testid share internally shorten url switch"},copyUrlButton:{"11.3.0":"data-testid share internally copy url button"},SharePanel:{preview:{"11.5.0":"data-testid share panel internally image generation preview"},widthInput:{"11.5.0":"data-testid share panel internally width input"},heightInput:{"11.5.0":"data-testid share panel internally height input"},scaleFactorInput:{"11.5.0":"data-testid share panel internally scale factor input"},generateImageButton:{"11.5.0":"data-testid share panel internally generate image button"},downloadImageButton:{"11.5.0":"data-testid share panel internally download image button"}}},ShareExternally:{container:{"11.3.0":"data-testid share externally drawer container"},publicAlert:{"11.3.0":"data-testid public share alert"},emailSharingAlert:{"11.3.0":"data-testid email share alert"},shareTypeSelect:{"11.3.0":"data-testid share externally share type select"},Creation:{PublicShare:{createButton:{"11.3.0":"data-testid public share dashboard create button"},cancelButton:{"11.3.0":"data-testid public share dashboard cancel button"}},EmailShare:{createButton:{"11.3.0":"data-testid email share dashboard create button"},cancelButton:{"11.3.0":"data-testid email share dashboard cancel button"}},willBePublicCheckbox:{"11.3.0":"data-testid share dashboard will be public checkbox"}},Configuration:{enableTimeRangeSwitch:{"11.3.0":"data-testid share externally enable time range switch"},enableAnnotationsSwitch:{"11.3.0":"data-testid share externally enable annotations switch"},copyUrlButton:{"11.3.0":"data-testid share externally copy url button"},revokeAccessButton:{"11.3.0":"data-testid share externally revoke access button"},toggleAccessButton:{"11.3.0":"data-testid share externally pause or resume access button"}}},ShareSnapshot:{url:{"11.3.0":e=>`/dashboard/snapshot/${e}`},container:{"11.3.0":"data-testid share snapshot drawer container"},publishSnapshot:{"11.3.0":"data-testid share snapshot publish button"},copyUrlButton:{"11.3.0":"data-testid share snapshot copy url button"}}},ExportDashboardDrawer:{ExportAsJson:{container:{"11.3.0":"data-testid export as json drawer container"},codeEditor:{"11.3.0":"data-testid export as json code editor"},exportExternallyToggle:{"11.3.0":"data-testid export as json externally switch"},saveToFileButton:{"11.3.0":"data-testid export as json save to file button"},copyToClipboardButton:{"11.3.0":"data-testid export as json copy to clipboard button"},cancelButton:{"11.3.0":"data-testid export as json cancel button"}}},PublicDashboard:{page:{"9.5.0":"public-dashboard-page"},NotAvailable:{container:{"9.5.0":"public-dashboard-not-available"},title:{"9.5.0":"public-dashboard-title"},pausedDescription:{"9.5.0":"public-dashboard-paused-description"}},footer:{"11.0.0":"public-dashboard-footer"}},PublicDashboardScene:{loadingPage:{"11.0.0":"public-dashboard-scene-loading-page"},page:{"11.0.0":"public-dashboard-scene-page"},controls:{"11.0.0":"public-dashboard-controls"}},RequestViewAccess:{form:{"9.5.0":"request-view-access-form"},recipientInput:{"9.5.0":"request-view-access-recipient-input"},submitButton:{"9.5.0":"request-view-access-submit-button"}},PublicDashboardConfirmAccess:{submitButton:{"10.2.0":"data-testid confirm-access-submit-button"}},Explore:{url:{[u]:"/explore"},General:{container:{[u]:"data-testid Explore"},graph:{[u]:"Explore Graph"},table:{[u]:"Explore Table"},scrollView:{"9.0.0":"data-testid explorer scroll view"},addFromQueryLibrary:{"11.5.0":"data-testid explore add from query library button"}},QueryHistory:{container:{"11.1.0":"data-testid QueryHistory"}}},SoloPanel:{url:{[u]:e=>`/d-solo/${e}`}},PluginsList:{page:{[u]:"Plugins list page"},list:{[u]:"Plugins list"},listItem:{[u]:"Plugins list item"},signatureErrorNotice:{"10.3.0":"data-testid Unsigned plugins notice",[u]:"Unsigned plugins notice"}},PluginPage:{page:{[u]:"Plugin page"},signatureInfo:{"10.3.0":"data-testid Plugin signature info",[u]:"Plugin signature info"},disabledInfo:{"10.3.0":"data-testid Plugin disabled info",[u]:"Plugin disabled info"}},PlaylistForm:{name:{[u]:"Playlist name"},interval:{[u]:"Playlist interval"},itemDelete:{"10.2.0":"data-testid playlist-form-delete-item"}},BrowseDashboards:{table:{body:{"10.2.0":"data-testid browse-dashboards-table"},row:{"10.2.0":e=>`data-testid browse dashboards row ${e}`},checkbox:{"10.0.0":e=>`data-testid ${e} checkbox`}},NewFolderForm:{form:{"10.2.0":"data-testid new folder form"},nameInput:{"10.2.0":"data-testid new-folder-name-input"},createButton:{"10.2.0":"data-testid new-folder-create-button"}}},SearchDashboards:{table:{"10.2.0":"Search results table"}},Search:{url:{"9.3.0":"/?search=openn"},FolderView:{url:{"9.3.0":"/?search=open&layout=folders"}}},PublicDashboards:{ListItem:{linkButton:{"9.3.0":"public-dashboard-link-button"},configButton:{"9.3.0":"public-dashboard-configuration-button"},trashcanButton:{"9.3.0":"public-dashboard-remove-button"},pauseSwitch:{"10.1.0":"data-testid public dashboard pause switch"}}},UserListPage:{tabs:{allUsers:{"10.0.0":"data-testid all-users-tab"},orgUsers:{"10.0.0":"data-testid org-users-tab"},anonUserDevices:{"10.2.3":"data-testid anon-user-devices-tab"},publicDashboardsUsers:{"10.0.0":"data-testid public-dashboards-users-tab"},users:{"10.0.0":"data-testid users-tab"}},org:{url:{"10.2.0":"/admin/users","9.5.0":"/org/users"}},admin:{url:{"9.5.0":"/admin/users"}},publicDashboards:{container:{"11.1.0":"data-testid public-dashboards-users-list"}},UserListAdminPage:{container:{"10.0.0":"data-testid user-list-admin-page"}},UsersListPage:{container:{"10.0.0":"data-testid users-list-page"}},UserAnonListPage:{container:{"10.4.0":"data-testid user-anon-list-page"}},UsersListPublicDashboardsPage:{container:{"10.0.0":"data-testid users-list-public-dashboards-page"},DashboardsListModal:{listItem:{"10.0.0":e=>`data-testid dashboards-list-item-${e}`}}}},ProfilePage:{url:{"10.2.0":"/profile"}},Plugin:{url:{[u]:e=>`/plugins/${e}`}},MigrateToCloud:{url:{"11.2.0":"/admin/migrate-to-cloud"}}},f=a(d),p=a(c),h={pages:f,components:p};t.Components=p,t.Pages=f,t.resolveSelectors=a,t.selectors=h,t.versionedComponents=c,t.versionedPages=d},45565:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(42689))},45865:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,a=e>=100?100:null;return e+(t[n]||t[r]||t[a])},week:{dow:1,doy:7}})}(n(42689))},45925:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"使用鍵 {{keyLabel}} 編輯篩選條件","managed-filter":"{{origin}} 受管理的篩選條件","non-applicable":"","remove-filter-with-key":"使用鍵 {{keyLabel}} 移除篩選條件"},"adhoc-filters-combobox":{"remove-filter-value":"移除篩選條件值 - {{itemLabel}}","use-custom-value":"使用自訂值:{{itemLabel}}"},"fallback-page":{content:"如果您使用連結找到此處,則此應用程式中可能存在錯誤。",subTitle:"URL 與任何頁面都不相符",title:"無結果"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"收闔場景","expand-button-label":"展開場景","remove-button-label":"移除場景"},"scene-debugger":{"object-details":"物件詳情","scene-graph":"場景圖表","title-scene-debugger":"場景除錯器"},"scene-grid-row":{"collapse-row":"收闔列","expand-row":"展開列"},"scene-refresh-picker":{"text-cancel":"取消","text-refresh":"更新","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"比較","button-tooltip":"啟用時間範圍比較"},splitter:{"aria-label-pane-resize-widget":"窗格調整大小小工具"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"標題"}},"viz-panel-explore-button":{explore:"探索"},"viz-panel-renderer":{"loading-plugin-panel":"正在載入外掛程式面板…","panel-plugin-has-no-panel-component":"面板外掛程式沒有面板元件"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"在單個面板中呈現太多序列可能會影響效能,並使資料更難讀取。","warning-message":"僅顯示 {{seriesLimit}} 個序列"}},utils:{"controls-label":{"tooltip-remove":"移除"},"loading-indicator":{"content-cancel-query":"取消查詢"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"編輯篩選條件運算子"},"ad-hoc-filter-builder":{"aria-label-add-filter":"新增篩選條件","title-add-filter":"新增篩選條件"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"移除篩選條件","key-select":{"placeholder-select-label":"選擇標籤"},"label-select-label":"選擇標籤","title-remove-filter":"移除篩選條件","value-select":{"placeholder-select-value":"選擇值"}},"data-source-variable":{label:{default:"預設值"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"清除",tooltip:"在此儀表板中預設套用。如果編輯,它會轉移到其他儀表板。","tooltip-restore-groupby-set-by-this-dashboard":"還原此儀表板設定的分組依據。"},"format-registry":{formats:{description:{"commaseparated-values":"逗點分隔的值","double-quoted-values":"帶雙引號的值","format-date-in-different-ways":"以不同方式格式化日期","format-multivalued-variables-using-syntax-example":"使用 glob 語法格式化多值變數,例如 {value1,value2}","html-escaping-of-values":"值的 HTML 轉義","join-values-with-a-comma":"","json-stringify-value":"JSON 字串化值","keep-value-as-is":"按原樣保留值","multiple-values-are-formatted-like-variablevalue":"多個值按「變數=值」的方式格式化","single-quoted-values":"帶單引號的值","useful-escaping-values-taking-syntax-characters":"對 URL 轉義值很有用,需考慮 URI 語法字元","useful-for-url-escaping-values":"對 URL 轉義值很有用","values-are-separated-by-character":"值以 | 字元分隔"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"按選取器分組","placeholder-group-by-label":"按標籤分組"},"interval-variable":{"placeholder-select-value":"選擇值"},"loading-options-placeholder":{"loading-options":"正在載入選項…"},"multi-value-apply-button":{apply:"套用"},"no-options-placeholder":{"no-options-found":"未找到選項"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"擷取標籤時發生錯誤。點選以重試"},"test-object-with-variable-dependency":{title:{hello:"您好"}},"test-variable":{text:{text:"文字"}},"variable-value-input":{"placeholder-enter-value":"輸入值"},"variable-value-select":{"placeholder-select-value":"選擇值"}}}}},45956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var r=n(37676),a=n(35416),i=n(1266);function o(){return new r.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=o),a.operate(function(t,n){var r=!1;t.subscribe(i.createOperatorSubscriber(n,function(e){r=!0,n.next(e)},function(){return r?n.complete():n.error(e())}))})}},46022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=t.merge=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.concat=t.combineLatestWith=t.combineLatest=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=void 0,t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.race=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.partition=t.pairwise=t.onErrorResumeNext=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=void 0,t.zipWith=t.zipAll=t.zip=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=void 0;var r=n(66993);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return r.audit}});var a=n(54116);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return a.auditTime}});var i=n(47190);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return i.buffer}});var o=n(76835);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return o.bufferCount}});var s=n(25219);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return s.bufferTime}});var l=n(80118);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return l.bufferToggle}});var u=n(27514);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return u.bufferWhen}});var c=n(58251);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return c.catchError}});var d=n(21424);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return d.combineAll}});var f=n(42945);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return f.combineLatestAll}});var p=n(52e3);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return p.combineLatest}});var h=n(93928);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return h.combineLatestWith}});var m=n(1812);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return m.concat}});var g=n(80861);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return g.concatAll}});var v=n(71012);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return v.concatMap}});var y=n(61157);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return y.concatMapTo}});var b=n(33692);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return b.concatWith}});var _=n(32216);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return _.connect}});var w=n(18041);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return w.count}});var M=n(72747);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return M.debounce}});var S=n(33870);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return S.debounceTime}});var k=n(87507);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return k.defaultIfEmpty}});var L=n(62409);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return L.delay}});var x=n(85137);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return x.delayWhen}});var D=n(84126);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return D.dematerialize}});var T=n(15208);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return T.distinct}});var E=n(29939);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return E.distinctUntilChanged}});var O=n(10183);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return O.distinctUntilKeyChanged}});var P=n(61195);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return P.elementAt}});var Y=n(93723);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Y.endWith}});var C=n(61909);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return C.every}});var A=n(79228);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return A.exhaust}});var R=n(79765);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return R.exhaustAll}});var j=n(8748);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return j.exhaustMap}});var I=n(68324);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return I.expand}});var F=n(72914);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return F.filter}});var H=n(89822);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return H.finalize}});var N=n(52819);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return N.find}});var z=n(3367);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return z.findIndex}});var V=n(41432);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return V.first}});var W=n(34956);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return W.groupBy}});var $=n(52507);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return $.ignoreElements}});var U=n(66095);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return U.isEmpty}});var B=n(33484);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return B.last}});var q=n(74828);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return q.map}});var G=n(31357);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return G.mapTo}});var K=n(37967);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return K.materialize}});var J=n(94388);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return J.max}});var Q=n(61550);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Q.merge}});var Z=n(1867);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return Z.mergeAll}});var X=n(26977);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return X.flatMap}});var ee=n(11282);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ee.mergeMap}});var te=n(86295);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return te.mergeMapTo}});var ne=n(9527);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return ne.mergeScan}});var re=n(25834);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return re.mergeWith}});var ae=n(61306);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ae.min}});var ie=n(59924);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return ie.multicast}});var oe=n(82803);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return oe.observeOn}});var se=n(21997);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return se.onErrorResumeNext}});var le=n(74492);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return le.pairwise}});var ue=n(35352);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ue.partition}});var ce=n(43391);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ce.pluck}});var de=n(20297);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return de.publish}});var fe=n(46383);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return fe.publishBehavior}});var pe=n(58229);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return pe.publishLast}});var he=n(28226);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return he.publishReplay}});var me=n(78973);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return me.race}});var ge=n(177);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return ge.raceWith}});var ve=n(3818);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return ve.reduce}});var ye=n(7775);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return ye.repeat}});var be=n(25567);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return be.repeatWhen}});var _e=n(14740);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return _e.retry}});var we=n(40264);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return we.retryWhen}});var Me=n(85884);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Me.refCount}});var Se=n(86870);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Se.sample}});var ke=n(85411);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return ke.sampleTime}});var Le=n(82457);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Le.scan}});var xe=n(55109);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return xe.sequenceEqual}});var De=n(83329);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return De.share}});var Te=n(11738);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Te.shareReplay}});var Ee=n(70884);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Ee.single}});var Oe=n(14411);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Oe.skip}});var Pe=n(19355);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Pe.skipLast}});var Ye=n(82947);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Ye.skipUntil}});var Ce=n(29842);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Ce.skipWhile}});var Ae=n(62778);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ae.startWith}});var Re=n(44027);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Re.subscribeOn}});var je=n(89061);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return je.switchAll}});var Ie=n(6300);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Ie.switchMap}});var Fe=n(61933);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Fe.switchMapTo}});var He=n(51689);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return He.switchScan}});var Ne=n(46803);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Ne.take}});var ze=n(20787);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return ze.takeLast}});var Ve=n(24811);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Ve.takeUntil}});var We=n(47770);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return We.takeWhile}});var $e=n(79967);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return $e.tap}});var Ue=n(16516);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Ue.throttle}});var Be=n(75945);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Be.throttleTime}});var qe=n(45956);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return qe.throwIfEmpty}});var Ge=n(99712);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Ge.timeInterval}});var Ke=n(87517);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Ke.timeout}});var Je=n(62001);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Je.timeoutWith}});var Qe=n(68158);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return Qe.timestamp}});var Ze=n(22984);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return Ze.toArray}});var Xe=n(75492);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return Xe.window}});var et=n(56817);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return et.windowCount}});var tt=n(96841);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return tt.windowTime}});var nt=n(4880);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return nt.windowToggle}});var rt=n(33016);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return rt.windowWhen}});var at=n(99163);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return at.withLatestFrom}});var it=n(32681);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return it.zip}});var ot=n(5606);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return ot.zipAll}});var st=n(50973);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return st.zipWith}})},46330:(e,t)=>{t.J=function e(t,n,r,a){var i,o,s={},l=!1;for(i in n)"object"!=typeof(o=n[i])&&(l=!0,s[i]=o);for(i in l&&(t[a]||(t[a]={}),t[a][r]=s),n)if("object"==typeof(o=n[i]))if("@"===i[0])e(t,o,r,i);else{var u=i.indexOf("&")>-1,c=r.split(",");if(u)for(var d=0;d{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var r=n(71222),a=n(51507);t.publishBehavior=function(e){return function(t){var n=new r.BehaviorSubject(e);return new a.ConnectableObservable(t,function(){return n})}}},46474:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+a({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function a(e,t){return 2===t?i(e):e}function i(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,u=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],f=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:f,fullWeekdaysParse:c,shortWeekdaysParse:d,minWeekdaysParse:f,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(42689))},46803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var r=n(47209),a=n(35416),i=n(1266);t.take=function(e){return e<=0?function(){return r.EMPTY}:a.operate(function(t,n){var r=0;t.subscribe(i.createOperatorSubscriber(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},46836:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(42689))},47071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var r=n(1266);t.scanInternals=function(e,t,n,a,i){return function(o,s){var l=n,u=t,c=0;o.subscribe(r.createOperatorSubscriber(s,function(t){var n=c++;u=l?e(u,t,n):(l=!0,t),a&&s.next(u)},i&&function(){l&&s.next(u),s.complete()}))}}},47186:(e,t,n)=>{"use strict";n.d(t,{Tp:()=>d});var r=n(21559);function a(e,t="latest"){return i(e,t.replace(/\-.*/,""))}function i(e,t){const n={};for(const[r,a]of Object.entries(e))o(a)?n[r]=i(a,t):(l(a,r),n[r]=s(a,t));return n}function o(e){if("object"==typeof e){const[t]=Object.keys(e);return!(0,r.valid)(t)}return!1}function s(e,t){let n,a=Object.keys(e).sort(r.compare);if("latest"===t)return e[a[a.length-1]];for(const e of a)(0,r.gte)(t,e)&&(n=e);return n||(n=a[a.length-1]),e[n]}function l(e,t){if(!Object.keys(e).every(e=>(0,r.valid)(e)))throw new Error(`Invalid semver version: '${t}'`)}const u="8.5.0",c={RadioButton:{container:{"10.2.3":"data-testid radio-button"}},Breadcrumbs:{breadcrumb:{"9.4.0":e=>`data-testid ${e} breadcrumb`}},CanvasGridAddActions:{addPanel:{"12.1.0":"data-testid CanvasGridAddActions add-panel"},groupPanels:{"12.1.0":"data-testid CanvasGridAddActions group-panels"},ungroup:{"12.1.0":"data-testid CanvasGridAddActions ungroup"},addRow:{"12.1.0":"data-testid CanvasGridAddActions add-row"},pasteRow:{"12.1.0":"data-testid CanvasGridAddActions paste-row"},addTab:{"12.1.0":"data-testid CanvasGridAddActions add-tab"},pasteTab:{"12.1.0":"data-testid CanvasGridAddActions paste-tab"}},DashboardEditPaneSplitter:{primaryBody:{"12.1.0":"data-testid DashboardEditPaneSplitter primary body"}},EditPaneHeader:{deleteButton:{"12.1.0":"data-testid EditPaneHeader delete panel"},copyDropdown:{"12.1.0":"data-testid EditPaneHeader copy dropdown"},copy:{"12.1.0":"data-testid EditPaneHeader copy"},duplicate:{"12.1.0":"data-testid EditPaneHeader duplicate"},backButton:{"12.1.0":"data-testid EditPaneHeader back"}},TimePicker:{openButton:{[u]:"data-testid TimePicker Open Button"},overlayContent:{"10.2.3":"data-testid TimePicker Overlay Content"},fromField:{"10.2.3":"data-testid Time Range from field",[u]:"Time Range from field"},toField:{"10.2.3":"data-testid Time Range to field",[u]:"Time Range to field"},applyTimeRange:{[u]:"data-testid TimePicker submit button"},copyTimeRange:{"10.4.0":"data-testid TimePicker copy button"},pasteTimeRange:{"10.4.0":"data-testid TimePicker paste button"},calendar:{label:{"10.2.3":"data-testid Time Range calendar",[u]:"Time Range calendar"},openButton:{"10.2.3":"data-testid Open time range calendar",[u]:"Open time range calendar"},closeButton:{"10.2.3":"data-testid Close time range Calendar",[u]:"Close time range Calendar"}},absoluteTimeRangeTitle:{[u]:"data-testid-absolute-time-range-narrow"}},DataSourcePermissions:{form:{"9.5.0":()=>'form[name="addPermission"]'},roleType:{"9.5.0":"Role to add new permission to"},rolePicker:{"9.5.0":"Built-in role picker"},permissionLevel:{"12.0.0":"Permission level","9.5.0":"Permission Level"}},DateTimePicker:{input:{"10.2.3":"data-testid date-time-input"}},DataSource:{TestData:{QueryTab:{scenarioSelectContainer:{[u]:"Test Data Query scenario select container"},scenarioSelect:{[u]:"Test Data Query scenario select"},max:{[u]:"TestData max"},min:{[u]:"TestData min"},noise:{[u]:"TestData noise"},seriesCount:{[u]:"TestData series count"},spread:{[u]:"TestData spread"},startValue:{[u]:"TestData start value"},drop:{[u]:"TestData drop values"}}},DataSourceHttpSettings:{urlInput:{"10.4.0":"data-testid Datasource HTTP settings url",[u]:"Datasource HTTP settings url"}},Jaeger:{traceIDInput:{[u]:"Trace ID"}},Prometheus:{configPage:{connectionSettings:{[u]:"Data source connection URL"},manageAlerts:{"10.4.0":"prometheus-alerts-manager"},allowAsRecordingRulesTarget:{"12.1.0":"prometheus-recording-rules-target"},scrapeInterval:{"10.4.0":"data-testid scrape interval"},queryTimeout:{"10.4.0":"data-testid query timeout"},defaultEditor:{"10.4.0":"data-testid default editor"},disableMetricLookup:{"10.4.0":"disable-metric-lookup"},prometheusType:{"10.4.0":"data-testid prometheus type"},prometheusVersion:{"10.4.0":"data-testid prometheus version"},cacheLevel:{"10.4.0":"data-testid cache level"},incrementalQuerying:{"10.4.0":"prometheus-incremental-querying"},queryOverlapWindow:{"10.4.0":"data-testid query overlap window"},disableRecordingRules:{"10.4.0":"disable-recording-rules"},customQueryParameters:{"10.4.0":"data-testid custom query parameters"},httpMethod:{"10.4.0":"data-testid http method"},exemplarsAddButton:{"10.3.0":"data-testid Add exemplar config button",[u]:"Add exemplar config button"},internalLinkSwitch:{"10.3.0":"data-testid Internal link switch",[u]:"Internal link switch"},codeModeMetricNamesSuggestionLimit:{"11.1.0":"data-testid code mode metric names suggestion limit"},seriesLimit:{"12.0.2":"data-testid maximum series limit"}},queryEditor:{explain:{"10.4.0":"data-testid prometheus explain switch wrapper"},editorToggle:{"10.4.0":"data-testid QueryEditorModeToggle"},options:{"10.4.0":"data-testid prometheus options"},legend:{"10.4.0":"data-testid prometheus legend wrapper"},format:{"10.4.0":"data-testid prometheus format"},step:{"10.4.0":"data-testid prometheus-step"},type:{"10.4.0":"data-testid prometheus type"},exemplars:{"10.4.0":"data-testid prometheus-exemplars"},builder:{metricSelect:{"10.4.0":"data-testid metric select"},hints:{"10.4.0":"data-testid prometheus hints"},metricsExplorer:{"10.4.0":"data-testid metrics explorer"},queryAdvisor:{"10.4.0":"data-testid query advisor"}},code:{queryField:{"10.4.0":"data-testid prometheus query field"},metricsCountInfo:{"11.1.0":"data-testid metrics count disclaimer"},metricsBrowser:{openButton:{"10.4.0":"data-testid open metrics browser"},selectMetric:{"10.4.0":"data-testid select a metric"},seriesLimit:{"10.3.1":"data-testid series limit"},metricList:{"10.4.0":"data-testid metric list"},labelNamesFilter:{"10.4.0":"data-testid label names filter"},labelValuesFilter:{"10.4.0":"data-testid label values filter"},useQuery:{"10.4.0":"data-testid use query"},useAsRateQuery:{"10.4.0":"data-testid use as rate query"},validateSelector:{"10.4.0":"data-testid validate selector"},clear:{"10.4.0":"data-testid clear"}}}},exemplarMarker:{"10.3.0":"data-testid Exemplar marker",[u]:"Exemplar marker"},variableQueryEditor:{queryType:{"10.4.0":"data-testid query type"},labelnames:{metricRegex:{"10.4.0":"data-testid label names metric regex"}},labelValues:{labelSelect:{"10.4.0":"data-testid label values label select"}},metricNames:{metricRegex:{"10.4.0":"data-testid metric names metric regex"}},varQueryResult:{"10.4.0":"data-testid variable query result"},seriesQuery:{"10.4.0":"data-testid prometheus series query"},classicQuery:{"10.4.0":"data-testid prometheus classic query"}},annotations:{minStep:{"10.4.0":"data-testid prometheus-annotation-min-step"},title:{"10.4.0":"data-testid prometheus annotation title"},tags:{"10.4.0":"data-testid prometheus annotation tags"},text:{"10.4.0":"data-testid prometheus annotation text"},seriesValueAsTimestamp:{"10.4.0":"data-testid prometheus annotation series value as timestamp"}}}},Menu:{MenuComponent:{[u]:e=>`${e} menu`},MenuGroup:{[u]:e=>`${e} menu group`},MenuItem:{[u]:e=>`${e} menu item`},SubMenu:{container:{"10.3.0":"data-testid SubMenu container",[u]:"SubMenu container"},icon:{"10.3.0":"data-testid SubMenu icon",[u]:"SubMenu icon"}}},Panels:{Panel:{title:{[u]:e=>`data-testid Panel header ${e}`},content:{"11.1.0":"data-testid panel content"},headerContainer:{"9.5.0":"data-testid header-container"},headerItems:{"10.2.0":e=>`data-testid Panel header item ${e}`},menuItems:{"9.5.0":e=>`data-testid Panel menu item ${e}`},menu:{"9.5.0":e=>`data-testid Panel menu ${e}`},containerByTitle:{[u]:e=>`${e} panel`},headerCornerInfo:{[u]:e=>`Panel header ${e}`},status:{"10.2.0":e=>`data-testid Panel status ${e}`,[u]:e=>"Panel status"},loadingBar:{"10.0.0":()=>"Panel loading bar"},HoverWidget:{container:{"10.1.0":"data-testid hover-header-container",[u]:"hover-header-container"},dragIcon:{"10.0.0":"data-testid drag-icon"}},PanelDataErrorMessage:{"10.4.0":"data-testid Panel data error message"}},Visualization:{Graph:{container:{"9.5.0":"Graph container"},VisualizationTab:{legendSection:{[u]:"Legend section"}},Legend:{legendItemAlias:{[u]:e=>`gpl alias ${e}`},showLegendSwitch:{[u]:"gpl show legend"}},xAxis:{labels:{[u]:()=>"div.flot-x-axis > div.flot-tick-label"}}},BarGauge:{valueV2:{[u]:"data-testid Bar gauge value"}},PieChart:{svgSlice:{"10.3.0":"data testid Pie Chart Slice"}},Text:{container:{[u]:()=>".markdown-html"}},Table:{header:{[u]:"table header"},footer:{[u]:"table-footer"},body:{"10.2.0":"data-testid table body"}}}},VizLegend:{seriesName:{"10.3.0":e=>`data-testid VizLegend series ${e}`}},Drawer:{General:{title:{[u]:e=>`Drawer title ${e}`},expand:{[u]:"Drawer expand"},contract:{[u]:"Drawer contract"},close:{"10.3.0":"data-testid Drawer close",[u]:"Drawer close"},rcContentWrapper:{"9.4.0":()=>".rc-drawer-content-wrapper"},subtitle:{"10.4.0":"data-testid drawer subtitle"}},DashboardSaveDrawer:{saveButton:{"11.1.0":"data-testid Save dashboard drawer button"},saveAsButton:{"11.1.0":"data-testid Save as dashboard drawer button"},saveAsTitleInput:{"11.1.0":"Save dashboard title field"}}},PanelEditor:{General:{content:{"11.1.0":"data-testid Panel editor content","8.0.0":"Panel editor content"}},OptionsPane:{content:{"11.1.0":"data-testid Panel editor option pane content",[u]:"Panel editor option pane content"},select:{[u]:"Panel editor option pane select"},fieldLabel:{[u]:e=>`${e} field property editor`},fieldInput:{"11.0.0":e=>`data-testid Panel editor option pane field input ${e}`}},DataPane:{content:{"11.1.0":"data-testid Panel editor data pane content",[u]:"Panel editor data pane content"}},applyButton:{"9.2.0":"data-testid Apply changes and go back to dashboard","9.1.0":"Apply changes and go back to dashboard","8.0.0":"panel editor apply"},toggleVizPicker:{"10.0.0":"data-testid toggle-viz-picker","8.0.0":"toggle-viz-picker"},toggleVizOptions:{"10.1.0":"data-testid toggle-viz-options",[u]:"toggle-viz-options"},toggleTableView:{"11.1.0":"data-testid toggle-table-view",[u]:"toggle-table-view"},showZoomField:{"10.2.0":"Map controls Show zoom control field property editor"},showAttributionField:{"10.2.0":"Map controls Show attribution field property editor"},showScaleField:{"10.2.0":"Map controls Show scale field property editor"},showMeasureField:{"10.2.0":"Map controls Show measure tools field property editor"},showDebugField:{"10.2.0":"Map controls Show debug field property editor"},measureButton:{"12.1.0":"data-testid panel-editor-measure-button","9.2.0":"show measure tools"},Outline:{section:{"12.0.0":"data-testid Outline section"},node:{"12.0.0":e=>`data-testid outline node ${e}`},item:{"12.0.0":e=>`data-testid outline item ${e}`}},ElementEditPane:{variableType:{"12.0.0":e=>`data-testid variable type ${e}`},addVariableButton:{"12.0.0":"data-testid add variable button"},variableNameInput:{"12.0.0":"data-testid variable name input"},variableLabelInput:{"12.0.0":"data-testid variable label input"},AutoGridLayout:{minColumnWidth:{"12.1.0":"data-testid min column width selector"},customMinColumnWidth:{"12.1.0":"data-testid custom min column width input"},clearCustomMinColumnWidth:{"12.1.0":"data-testid clear custom min column width input"},maxColumns:{"12.1.0":"data-testid max columns selector"},rowHeight:{"12.1.0":"data-testid row height selector"},customRowHeight:{"12.1.0":"data-testid custom row height input"},clearCustomRowHeight:{"12.1.0":"data-testid clear custom row height input"},fillScreen:{"12.1.0":"data-testid fill screen switch"}}}},PanelInspector:{Data:{content:{[u]:"Panel inspector Data content"}},Stats:{content:{[u]:"Panel inspector Stats content"}},Json:{content:{"11.1.0":"data-testid Panel inspector Json content",[u]:"Panel inspector Json content"}},Query:{content:{[u]:"Panel inspector Query content"},refreshButton:{[u]:"Panel inspector Query refresh button"},jsonObjectKeys:{[u]:()=>".json-formatter-key"}}},Tab:{title:{"11.2.0":e=>`data-testid Tab ${e}`},active:{[u]:()=>'[class*="-activeTabStyle"]'}},RefreshPicker:{runButtonV2:{[u]:"data-testid RefreshPicker run button"},intervalButtonV2:{[u]:"data-testid RefreshPicker interval button"}},QueryTab:{content:{[u]:"Query editor tab content"},queryInspectorButton:{[u]:"Query inspector button"},queryHistoryButton:{"10.2.0":"data-testid query-history-button",[u]:"query-history-button"},addQuery:{"10.2.0":"data-testid query-tab-add-query",[u]:"Query editor add query button"},addQueryFromLibrary:{"11.5.0":"data-testid query-tab-add-query-from-library"},queryGroupTopSection:{"11.2.0":"data-testid query group top section"},addExpression:{"11.2.0":"data-testid query-tab-add-expression"}},QueryHistory:{queryText:{"9.0.0":"Query text"}},QueryEditorRows:{rows:{[u]:"Query editor row"}},QueryEditorRow:{actionButton:{"10.4.0":e=>`data-testid ${e}`},title:{[u]:e=>`Query editor row title ${e}`},container:{[u]:e=>`Query editor row ${e}`}},AlertTab:{content:{"10.2.3":"data-testid Alert editor tab content",[u]:"Alert editor tab content"}},AlertRules:{groupToggle:{"11.0.0":"data-testid group-collapse-toggle"},toggle:{"11.0.0":"data-testid collapse-toggle"},expandedContent:{"11.0.0":"data-testid expanded-content"},previewButton:{"11.1.0":"data-testid alert-rule preview-button"},ruleNameField:{"11.1.0":"data-testid alert-rule name-field"},newFolderButton:{"11.1.0":"data-testid alert-rule new-folder-button"},newFolderNameField:{"11.1.0":"data-testid alert-rule name-folder-name-field"},newFolderNameCreateButton:{"11.1.0":"data-testid alert-rule name-folder-name-create-button"},newEvaluationGroupButton:{"11.1.0":"data-testid alert-rule new-evaluation-group-button"},newEvaluationGroupName:{"11.1.0":"data-testid alert-rule new-evaluation-group-name"},newEvaluationGroupInterval:{"11.1.0":"data-testid alert-rule new-evaluation-group-interval"},newEvaluationGroupCreate:{"11.1.0":"data-testid alert-rule new-evaluation-group-create-button"},step:{"11.5.0":e=>`data-testid alert-rule step-${e}`},stepAdvancedModeSwitch:{"11.5.0":e=>`data-testid advanced-mode-switch step-${e}`}},Alert:{alertV2:{[u]:e=>`data-testid Alert ${e}`}},TransformTab:{content:{"10.1.0":"data-testid Transform editor tab content",[u]:"Transform editor tab content"},newTransform:{"10.1.0":e=>`data-testid New transform ${e}`},transformationEditor:{"10.1.0":e=>`data-testid Transformation editor ${e}`},transformationEditorDebugger:{"10.1.0":e=>`data-testid Transformation editor debugger ${e}`}},Transforms:{card:{"10.1.0":e=>`data-testid New transform ${e}`},disableTransformationButton:{"10.4.0":"data-testid Disable transformation button"},Reduce:{modeLabel:{"10.2.3":"data-testid Transform mode label",[u]:"Transform mode label"},calculationsLabel:{"10.2.3":"data-testid Transform calculations label",[u]:"Transform calculations label"}},SpatialOperations:{actionLabel:{"9.1.2":"root Action field property editor"},locationLabel:{"10.2.0":"root Location Mode field property editor"},location:{autoOption:{"9.1.2":"Auto location option"},coords:{option:{"9.1.2":"Coords location option"},latitudeFieldLabel:{"9.1.2":"root Latitude field field property editor"},longitudeFieldLabel:{"9.1.2":"root Longitude field field property editor"}},geohash:{option:{"9.1.2":"Geohash location option"},geohashFieldLabel:{"9.1.2":"root Geohash field field property editor"}},lookup:{option:{"9.1.2":"Lookup location option"},lookupFieldLabel:{"9.1.2":"root Lookup field field property editor"},gazetteerFieldLabel:{"9.1.2":"root Gazetteer field property editor"}}}},searchInput:{"10.2.3":"data-testid search transformations",[u]:"search transformations"},noTransformationsMessage:{"10.2.3":"data-testid no transformations message"},addTransformationButton:{"10.1.0":"data-testid add transformation button",[u]:"add transformation button"},removeAllTransformationsButton:{"10.4.0":"data-testid remove all transformations button"}},NavBar:{Configuration:{button:{"9.5.0":"Configuration"}},Toggle:{button:{"10.2.3":"data-testid Toggle menu",[u]:"Toggle menu"}},Reporting:{button:{"9.5.0":"Reporting"}}},NavMenu:{Menu:{"10.2.3":"data-testid navigation mega-menu"},item:{"9.5.0":"data-testid Nav menu item"}},NavToolbar:{container:{"9.4.0":"data-testid Nav toolbar"},commandPaletteTrigger:{"11.5.0":"data-testid Command palette trigger"},shareDashboard:{"11.1.0":"data-testid Share dashboard"},markAsFavorite:{"11.1.0":"data-testid Mark as favorite"},editDashboard:{editButton:{"11.1.0":"data-testid Edit dashboard button"},saveButton:{"11.1.0":"data-testid Save dashboard button"},exitButton:{"11.1.0":"data-testid Exit edit mode button"},settingsButton:{"11.1.0":"data-testid Dashboard settings"},addRowButton:{"11.1.0":"data-testid Add row button"},addLibraryPanelButton:{"11.1.0":"data-testid Add a panel from the panel library button"},addVisualizationButton:{"11.1.0":"data-testid Add new visualization menu item"},pastePanelButton:{"11.1.0":"data-testid Paste panel button"},discardChangesButton:{"11.1.0":"data-testid Discard changes button"},discardLibraryPanelButton:{"11.1.0":"data-testid Discard library panel button"},unlinkLibraryPanelButton:{"11.1.0":"data-testid Unlink library panel button"},saveLibraryPanelButton:{"11.1.0":"data-testid Save library panel button"},backToDashboardButton:{"11.1.0":"data-testid Back to dashboard button"}}},PageToolbar:{container:{[u]:()=>".page-toolbar"},item:{[u]:e=>`${e}`},itemButton:{"9.5.0":e=>`data-testid ${e}`}},QueryEditorToolbarItem:{button:{[u]:e=>`QueryEditor toolbar item button ${e}`}},BackButton:{backArrow:{"10.3.0":"data-testid Go Back",[u]:"Go Back"}},OptionsGroup:{group:{"11.1.0":e=>e?`data-testid Options group ${e}`:"data-testid Options group",[u]:e=>e?`Options group ${e}`:"Options group"},toggle:{"11.1.0":e=>e?`data-testid Options group ${e} toggle`:"data-testid Options group toggle",[u]:e=>e?`Options group ${e} toggle`:"Options group toggle"}},PluginVisualization:{item:{[u]:e=>`Plugin visualization item ${e}`},current:{[u]:()=>'[class*="-currentVisualizationItem"]'}},Select:{menu:{"11.5.0":"data-testid Select menu",[u]:"Select options menu"},option:{"11.1.0":"data-testid Select option",[u]:"Select option"},toggleAllOptions:{"11.3.0":"data-testid toggle all options"},input:{[u]:()=>'input[id*="time-options-input"]'},singleValue:{[u]:()=>'div[class*="-singleValue"]'}},FieldConfigEditor:{content:{[u]:"Field config editor content"}},OverridesConfigEditor:{content:{[u]:"Field overrides editor content"}},FolderPicker:{containerV2:{[u]:"data-testid Folder picker select container"},input:{"10.4.0":"data-testid folder-picker-input"}},ReadonlyFolderPicker:{container:{[u]:"data-testid Readonly folder picker select container"}},DataSourcePicker:{container:{"10.0.0":"data-testid Data source picker select container","8.0.0":"Data source picker select container"},inputV2:{"10.1.0":"data-testid Select a data source",[u]:"Select a data source"},dataSourceList:{"10.4.0":"data-testid Data source list dropdown"},advancedModal:{dataSourceList:{"10.4.0":"data-testid Data source list"},builtInDataSourceList:{"10.4.0":"data-testid Built in data source list"}}},TimeZonePicker:{containerV2:{[u]:"data-testid Time zone picker select container"},changeTimeSettingsButton:{"11.0.0":"data-testid Time zone picker Change time settings button"}},WeekStartPicker:{containerV2:{[u]:"data-testid Choose starting day of the week"},placeholder:{[u]:"Choose starting day of the week"}},TraceViewer:{spanBar:{"9.0.0":"data-testid SpanBar--wrapper"}},QueryField:{container:{"10.3.0":"data-testid Query field",[u]:"Query field"}},QueryBuilder:{queryPatterns:{"10.3.0":"data-testid Query patterns",[u]:"Query patterns"},labelSelect:{"10.3.0":"data-testid Select label",[u]:"Select label"},inputSelect:{"11.1.0":"data-testid Select label-input"},valueSelect:{"10.3.0":"data-testid Select value",[u]:"Select value"},matchOperatorSelect:{"10.3.0":"data-testid Select match operator",[u]:"Select match operator"}},ValuePicker:{button:{"10.3.0":e=>`data-testid Value picker button ${e}`},select:{"10.3.0":e=>`data-testid Value picker select ${e}`}},Search:{sectionV2:{[u]:"data-testid Search section"},itemsV2:{[u]:"data-testid Search items"},cards:{[u]:"data-testid Search cards"},collapseFolder:{[u]:e=>`data-testid Collapse folder ${e}`},expandFolder:{[u]:e=>`data-testid Expand folder ${e}`},dashboardItem:{[u]:e=>`data-testid Dashboard search item ${e}`},dashboardCard:{[u]:e=>`data-testid Search card ${e}`},folderHeader:{"9.3.0":e=>`data-testid Folder header ${e}`},folderContent:{"9.3.0":e=>`data-testid Folder content ${e}`},dashboardItems:{[u]:"data-testid Dashboard search item"}},DashboardLinks:{container:{[u]:"data-testid Dashboard link container"},dropDown:{[u]:"data-testid Dashboard link dropdown"},link:{[u]:"data-testid Dashboard link"}},LoadingIndicator:{icon:{"10.4.0":"data-testid Loading indicator",[u]:"Loading indicator"}},CallToActionCard:{buttonV2:{[u]:e=>`data-testid Call to action button ${e}`}},DataLinksContextMenu:{singleLink:{"10.3.0":"data-testid Data link",[u]:"Data link"}},DataLinksActionsTooltip:{tooltipWrapper:{"12.1.0":"data-testid Data links actions tooltip wrapper"}},CodeEditor:{container:{"10.2.3":"data-testid Code editor container",[u]:"Code editor container"}},ReactMonacoEditor:{editorLazy:{"11.1.0":"data-testid ReactMonacoEditor editorLazy"}},DashboardImportPage:{textarea:{[u]:"data-testid-import-dashboard-textarea"},submit:{[u]:"data-testid-load-dashboard"}},ImportDashboardForm:{name:{[u]:"data-testid-import-dashboard-title"},submit:{[u]:"data-testid-import-dashboard-submit"}},PanelAlertTabContent:{content:{"10.2.3":"data-testid Unified alert editor tab content",[u]:"Unified alert editor tab content"}},VisualizationPreview:{card:{[u]:e=>`data-testid suggestion-${e}`}},ColorSwatch:{name:{[u]:"data-testid-colorswatch"}},DashboardRow:{title:{[u]:e=>`data-testid dashboard-row-title-${e}`}},UserProfile:{profileSaveButton:{[u]:"data-testid-user-profile-save"},preferencesSaveButton:{[u]:"data-testid-shared-prefs-save"},orgsTable:{[u]:"data-testid-user-orgs-table"},sessionsTable:{[u]:"data-testid-user-sessions-table"},extensionPointTabs:{"10.2.3":"data-testid-extension-point-tabs"},extensionPointTab:{"10.2.3":e=>`data-testid-extension-point-tab-${e}`}},FileUpload:{inputField:{"9.0.0":"data-testid-file-upload-input-field"},fileNameSpan:{"9.0.0":"data-testid-file-upload-file-name"}},DebugOverlay:{wrapper:{"9.2.0":"debug-overlay"}},OrgRolePicker:{input:{"9.5.0":"Role"}},AnalyticsToolbarButton:{button:{"9.5.0":"Dashboard insights"}},Variables:{variableOption:{"9.5.0":"data-testid variable-option"},variableLinkWrapper:{"11.1.1":"data-testid variable-link-wrapper"}},Annotations:{annotationsTypeInput:{"11.1.0":"data-testid annotations-type-input",[u]:"annotations-type-input"},annotationsChoosePanelInput:{"11.1.0":"data-testid choose-panels-input",[u]:"choose-panels-input"},editor:{testButton:{"11.0.0":"data-testid annotations-test-button"},resultContainer:{"11.0.0":"data-testid annotations-query-result-container"}}},Tooltip:{container:{"10.2.0":"data-testid tooltip"}},ReturnToPrevious:{buttonGroup:{"11.0.0":"data-testid dismissable button group"},backButton:{"11.0.0":"data-testid back"},dismissButton:{"11.0.0":"data-testid dismiss"}},SQLQueryEditor:{selectColumn:{"11.0.0":"data-testid select-column"},selectColumnInput:{"11.0.0":"data-testid select-column-input"},selectFunctionParameter:{"11.0.0":e=>`data-testid select-function-parameter-${e}`},selectAggregation:{"11.0.0":"data-testid select-aggregation"},selectAggregationInput:{"11.0.0":"data-testid select-aggregation-input"},selectAlias:{"11.0.0":"data-testid select-alias"},selectAliasInput:{"11.0.0":"data-testid select-alias-input"},selectInputParameter:{"11.0.0":"data-testid select-input-parameter"},filterConjunction:{"11.0.0":"data-testid filter-conjunction"},filterField:{"11.0.0":"data-testid filter-field"},filterOperator:{"11.0.0":"data-testid filter-operator"},headerTableSelector:{"11.0.0":"data-testid header-table-selector"},headerFilterSwitch:{"11.0.0":"data-testid header-filter-switch"},headerGroupSwitch:{"11.0.0":"data-testid header-group-switch"},headerOrderSwitch:{"11.0.0":"data-testid header-order-switch"},headerPreviewSwitch:{"11.0.0":"data-testid header-preview-switch"}},EntityNotFound:{container:{"11.2.0":"data-testid entity-not-found"}},Portal:{container:{"11.5.0":"data-testid portal-container"}}},d={pages:a({Alerting:{AddAlertRule:{url:{"10.1.0":"/alerting/new/alerting",[u]:"/alerting/new"}},EditAlertRule:{url:{[u]:e=>`alerting/${e}/edit`}}},Login:{url:{[u]:"/login"},username:{"10.2.3":"data-testid Username input field",[u]:"Username input field"},password:{"10.2.3":"data-testid Password input field",[u]:"Password input field"},submit:{"10.2.3":"data-testid Login button",[u]:"Login button"},skip:{"10.2.3":"data-testid Skip change password button"}},PasswordlessLogin:{url:{[u]:"/login/passwordless/authenticate"},email:{"10.2.3":"data-testid Email input field",[u]:"Email input field"},submit:{"10.2.3":"data-testid PasswordlessLogin button",[u]:"PasswordlessLogin button"}},Home:{url:{[u]:"/"}},DataSource:{name:{"10.3.0":"data-testid Data source settings page name input field",[u]:"Data source settings page name input field"},delete:{[u]:"Data source settings page Delete button"},readOnly:{"10.3.0":"data-testid Data source settings page read only message",[u]:"Data source settings page read only message"},saveAndTest:{"10.0.0":"data-testid Data source settings page Save and Test button",[u]:"Data source settings page Save and Test button"},alert:{"10.3.0":"data-testid Data source settings page Alert",[u]:"Data source settings page Alert"}},DataSources:{url:{[u]:"/datasources"},dataSources:{[u]:e=>`Data source list item ${e}`}},EditDataSource:{url:{"9.5.0":e=>`/datasources/edit/${e}`},settings:{"9.5.0":"Datasource settings page basic settings"}},AddDataSource:{url:{[u]:"/datasources/new"},dataSourcePluginsV2:{"9.3.1":e=>`Add new data source ${e}`,[u]:e=>`Data source plugin item ${e}`}},ConfirmModal:{delete:{"10.0.0":"data-testid Confirm Modal Danger Button",[u]:"Confirm Modal Danger Button"}},AddDashboard:{url:{[u]:"/dashboard/new"},itemButton:{"9.5.0":e=>`data-testid ${e}`},addNewPanel:{"11.1.0":"data-testid Add new panel","8.0.0":"Add new panel",[u]:"Add new panel"},itemButtonAddViz:{[u]:"Add new visualization menu item"},addNewRow:{"11.1.0":"data-testid Add new row",[u]:"Add new row"},addNewPanelLibrary:{"11.1.0":"data-testid Add new panel from panel library",[u]:"Add new panel from panel library"},Settings:{Annotations:{List:{url:{[u]:"/dashboard/new?orgId=1&editview=annotations"}},Edit:{url:{[u]:e=>`/dashboard/new?editview=annotations&editIndex=${e}`}}},Variables:{List:{url:{"11.3.0":"/dashboard/new?orgId=1&editview=variables",[u]:"/dashboard/new?orgId=1&editview=templating"}},Edit:{url:{"11.3.0":e=>`/dashboard/new?orgId=1&editview=variables&editIndex=${e}`,[u]:e=>`/dashboard/new?orgId=1&editview=templating&editIndex=${e}`}}}}},ImportDashboard:{url:{[u]:"/dashboard/import"}},Dashboard:{url:{[u]:e=>`/d/${e}`},DashNav:{nav:{[u]:"Dashboard navigation"},navV2:{[u]:"data-testid Dashboard navigation"},publicDashboardTag:{"9.1.0":"data-testid public dashboard tag"},shareButton:{"10.4.0":"data-testid share-button"},scrollContainer:{"11.1.0":"data-testid Dashboard canvas scroll container"},newShareButton:{container:{"11.1.0":"data-testid new share button"},shareLink:{"11.1.0":"data-testid new share link-button"},arrowMenu:{"11.1.0":"data-testid new share button arrow menu"},menu:{container:{"11.1.0":"data-testid new share button menu"},shareInternally:{"11.1.0":"data-testid new share button share internally"},shareExternally:{"11.1.1":"data-testid new share button share externally"},shareSnapshot:{"11.2.0":"data-testid new share button share snapshot"}}},NewExportButton:{container:{"11.2.0":"data-testid new export button"},arrowMenu:{"11.2.0":"data-testid new export button arrow menu"},Menu:{container:{"11.2.0":"data-testid new export button menu"},exportAsJson:{"11.2.0":"data-testid new export button export as json"}}},playlistControls:{prev:{"11.0.0":"data-testid playlist previous dashboard button"},stop:{"11.0.0":"data-testid playlist stop dashboard button"},next:{"11.0.0":"data-testid playlist next dashboard button"}}},Controls:{"11.1.0":"data-testid dashboard controls"},SubMenu:{submenu:{[u]:"Dashboard submenu"},submenuItem:{[u]:"data-testid template variable"},submenuItemLabels:{[u]:e=>`data-testid Dashboard template variables submenu Label ${e}`},submenuItemValueDropDownValueLinkTexts:{[u]:e=>`data-testid Dashboard template variables Variable Value DropDown value link text ${e}`},submenuItemValueDropDownDropDown:{[u]:"Variable options"},submenuItemValueDropDownOptionTexts:{[u]:e=>`data-testid Dashboard template variables Variable Value DropDown option text ${e}`},Annotations:{annotationsWrapper:{"10.0.0":"data-testid annotation-wrapper"},annotationLabel:{"10.0.0":e=>`data-testid Dashboard annotations submenu Label ${e}`},annotationToggle:{"10.0.0":e=>`data-testid Dashboard annotations submenu Toggle ${e}`}}},Settings:{Actions:{close:{"9.5.0":"data-testid dashboard-settings-close"}},General:{deleteDashBoard:{"11.1.0":"data-testid Dashboard settings page delete dashboard button"},sectionItems:{[u]:e=>`Dashboard settings section item ${e}`},saveDashBoard:{[u]:"Dashboard settings aside actions Save button"},saveAsDashBoard:{[u]:"Dashboard settings aside actions Save As button"},title:{"11.2.0":"General"}},Annotations:{Edit:{urlParams:{[u]:e=>`editview=annotations&editIndex=${e}`}},List:{url:{[u]:e=>`/d/${e}?editview=annotations`},addAnnotationCTAV2:{[u]:"data-testid Call to action button Add annotation query"},annotations:{"10.4.0":"data-testid list-annotations"}},Settings:{name:{"11.1.0":"data-testid Annotations settings name input",[u]:"Annotations settings name input"}},NewAnnotation:{panelFilterSelect:{"10.0.0":"data-testid annotations-panel-filter"},showInLabel:{"11.1.0":"data-testid show-in-label"},previewInDashboard:{"10.0.0":"data-testid annotations-preview"},delete:{"10.4.0":"data-testid annotations-delete"},apply:{"10.4.0":"data-testid annotations-apply"},enable:{"10.4.0":"data-testid annotation-enable"},hide:{"10.4.0":"data-testid annotation-hide"}}},Variables:{List:{url:{"11.3.0":e=>`/d/${e}?editview=variables`,[u]:e=>`/d/${e}?editview=templating`},addVariableCTAV2:{[u]:"data-testid Call to action button Add variable"},newButton:{[u]:"Variable editor New variable button"},table:{[u]:"Variable editor Table"},tableRowNameFields:{[u]:e=>`Variable editor Table Name field ${e}`},tableRowDefinitionFields:{"10.1.0":e=>`Variable editor Table Definition field ${e}`},tableRowArrowUpButtons:{[u]:e=>`Variable editor Table ArrowUp button ${e}`},tableRowArrowDownButtons:{[u]:e=>`Variable editor Table ArrowDown button ${e}`},tableRowDuplicateButtons:{[u]:e=>`Variable editor Table Duplicate button ${e}`},tableRowRemoveButtons:{[u]:e=>`Variable editor Table Remove button ${e}`}},Edit:{urlParams:{"11.3.0":e=>`editview=variables&editIndex=${e}`,[u]:e=>`editview=templating&editIndex=${e}`},General:{headerLink:{[u]:"Variable editor Header link"},modeLabelNew:{[u]:"Variable editor Header mode New"},modeLabelEdit:{[u]:"Variable editor Header mode Edit"},generalNameInput:{[u]:"Variable editor Form Name field"},generalNameInputV2:{[u]:"data-testid Variable editor Form Name field"},generalTypeSelect:{[u]:"Variable editor Form Type select"},generalTypeSelectV2:{[u]:"data-testid Variable editor Form Type select"},generalLabelInput:{[u]:"Variable editor Form Label field"},generalLabelInputV2:{[u]:"data-testid Variable editor Form Label field"},generalHideSelect:{[u]:"Variable editor Form Hide select"},generalHideSelectV2:{[u]:"data-testid Variable editor Form Hide select"},selectionOptionsAllowCustomValueSwitch:{[u]:"data-testid Variable editor Form Allow Custom Value switch"},selectionOptionsMultiSwitch:{"10.4.0":"data-testid Variable editor Form Multi switch",[u]:"Variable editor Form Multi switch"},selectionOptionsIncludeAllSwitch:{"10.4.0":"data-testid Variable editor Form IncludeAll switch",[u]:"Variable editor Form IncludeAll switch"},selectionOptionsCustomAllInput:{"10.4.0":"data-testid Variable editor Form IncludeAll field",[u]:"Variable editor Form IncludeAll field"},previewOfValuesOption:{"10.4.0":"data-testid Variable editor Preview of Values option",[u]:"Variable editor Preview of Values option"},submitButton:{"10.4.0":"data-testid Variable editor Run Query button",[u]:"Variable editor Submit button"},applyButton:{"9.3.0":"data-testid Variable editor Apply button"}},QueryVariable:{closeButton:{[u]:"data-testid Query Variable editor close button"},editor:{[u]:"data-testid Query Variable editor"},previewButton:{[u]:"data-testid Query Variable editor preview button"},queryOptionsDataSourceSelect:{"10.4.0":"data-testid Select a data source","10.0.0":"data-testid Data source picker select container",[u]:"Data source picker select container"},queryOptionsOpenButton:{[u]:"data-testid Query Variable editor open button"},queryOptionsRefreshSelect:{[u]:"Variable editor Form Query Refresh select"},queryOptionsRefreshSelectV2:{[u]:"data-testid Variable editor Form Query Refresh select"},queryOptionsRegExInput:{[u]:"Variable editor Form Query RegEx field"},queryOptionsRegExInputV2:{[u]:"data-testid Variable editor Form Query RegEx field"},queryOptionsSortSelect:{[u]:"Variable editor Form Query Sort select"},queryOptionsSortSelectV2:{[u]:"data-testid Variable editor Form Query Sort select"},queryOptionsQueryInput:{"10.4.0":"data-testid Variable editor Form Default Variable Query Editor textarea"},valueGroupsTagsEnabledSwitch:{[u]:"Variable editor Form Query UseTags switch"},valueGroupsTagsTagsQueryInput:{[u]:"Variable editor Form Query TagsQuery field"},valueGroupsTagsTagsValuesQueryInput:{[u]:"Variable editor Form Query TagsValuesQuery field"}},ConstantVariable:{constantOptionsQueryInput:{[u]:"Variable editor Form Constant Query field"},constantOptionsQueryInputV2:{[u]:"data-testid Variable editor Form Constant Query field"}},DatasourceVariable:{datasourceSelect:{[u]:"data-testid datasource variable datasource type"},nameFilter:{[u]:"data-testid datasource variable datasource name filter"}},TextBoxVariable:{textBoxOptionsQueryInput:{[u]:"Variable editor Form TextBox Query field"},textBoxOptionsQueryInputV2:{[u]:"data-testid Variable editor Form TextBox Query field"}},CustomVariable:{customValueInput:{[u]:"data-testid custom-variable-input"}},IntervalVariable:{intervalsValueInput:{[u]:"data-testid interval variable intervals input"},autoEnabledCheckbox:{"10.4.0":"data-testid interval variable auto value checkbox"},stepCountIntervalSelect:{"10.4.0":"data-testid interval variable step count input"},minIntervalInput:{"10.4.0":"data-testid interval variable mininum interval input"}},GroupByVariable:{dataSourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid group by variable info text"},modeToggle:{"10.4.0":"data-testid group by variable mode toggle"}},AdHocFiltersVariable:{datasourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid ad-hoc filters variable info text"},modeToggle:{"11.0.0":"data-testid ad-hoc filters variable mode toggle"}}}}},Annotations:{marker:{"10.0.0":"data-testid annotation-marker"}},Rows:{Repeated:{ConfigSection:{warningMessage:{"10.2.0":"data-testid Repeated rows warning message"}}}}},Dashboards:{url:{[u]:"/dashboards"},dashboards:{"10.2.0":e=>`Dashboard search item ${e}`},toggleView:{[u]:"data-testid radio-button"}},SaveDashboardAsModal:{newName:{"10.2.0":"Save dashboard title field"},save:{"10.2.0":"Save dashboard button"}},SaveDashboardModal:{save:{"10.2.0":"Dashboard settings Save Dashboard Modal Save button"},saveVariables:{"10.2.0":"Dashboard settings Save Dashboard Modal Save variables checkbox"},saveTimerange:{"10.2.0":"Dashboard settings Save Dashboard Modal Save timerange checkbox"},saveRefresh:{"11.1.0":"Dashboard settings Save Dashboard Modal Save refresh checkbox"}},SharePanelModal:{linkToRenderedImage:{[u]:"Link to rendered image"}},ShareDashboardModal:{PublicDashboard:{WillBePublicCheckbox:{"9.1.0":"data-testid public dashboard will be public checkbox"},LimitedDSCheckbox:{"9.1.0":"data-testid public dashboard limited datasources checkbox"},CostIncreaseCheckbox:{"9.1.0":"data-testid public dashboard cost may increase checkbox"},PauseSwitch:{"9.5.0":"data-testid public dashboard pause switch"},EnableAnnotationsSwitch:{"9.3.0":"data-testid public dashboard on off switch for annotations"},CreateButton:{"9.5.0":"data-testid public dashboard create button"},DeleteButton:{"9.3.0":"data-testid public dashboard delete button"},CopyUrlInput:{"9.1.0":"data-testid public dashboard copy url input"},CopyUrlButton:{"9.1.0":"data-testid public dashboard copy url button"},SettingsDropdown:{"10.1.0":"data-testid public dashboard settings dropdown"},TemplateVariablesWarningAlert:{"9.1.0":"data-testid public dashboard disabled template variables alert"},UnsupportedDataSourcesWarningAlert:{"9.5.0":"data-testid public dashboard unsupported data sources alert"},NoUpsertPermissionsWarningAlert:{"9.5.0":"data-testid public dashboard no upsert permissions alert"},EnableTimeRangeSwitch:{"9.4.0":"data-testid public dashboard on off switch for time range"},EmailSharingConfiguration:{Container:{"9.5.0":"data-testid email sharing config container"},ShareType:{"9.5.0":"data-testid public dashboard share type"},EmailSharingInput:{"9.5.0":"data-testid public dashboard email sharing input"},EmailSharingInviteButton:{"9.5.0":"data-testid public dashboard email sharing invite button"},EmailSharingList:{"9.5.0":"data-testid public dashboard email sharing list"},DeleteEmail:{"9.5.0":"data-testid public dashboard delete email button"},ReshareLink:{"9.5.0":"data-testid public dashboard reshare link button"}}},SnapshotScene:{url:{"11.1.0":e=>`/dashboard/snapshot/${e}`},PublishSnapshot:{"11.1.0":"data-testid publish snapshot button"},CopyUrlButton:{"11.1.0":"data-testid snapshot copy url button"},CopyUrlInput:{"11.1.0":"data-testid snapshot copy url input"}}},ShareDashboardDrawer:{ShareInternally:{container:{"11.3.0":"data-testid share internally drawer container"},lockTimeRangeSwitch:{"11.3.0":"data-testid share internally lock time range switch"},shortenUrlSwitch:{"11.3.0":"data-testid share internally shorten url switch"},copyUrlButton:{"11.3.0":"data-testid share internally copy url button"},SharePanel:{preview:{"11.5.0":"data-testid share panel internally image generation preview"},widthInput:{"11.5.0":"data-testid share panel internally width input"},heightInput:{"11.5.0":"data-testid share panel internally height input"},scaleFactorInput:{"11.5.0":"data-testid share panel internally scale factor input"},generateImageButton:{"11.5.0":"data-testid share panel internally generate image button"},downloadImageButton:{"11.5.0":"data-testid share panel internally download image button"}}},ShareExternally:{container:{"11.3.0":"data-testid share externally drawer container"},publicAlert:{"11.3.0":"data-testid public share alert"},emailSharingAlert:{"11.3.0":"data-testid email share alert"},shareTypeSelect:{"11.3.0":"data-testid share externally share type select"},Creation:{PublicShare:{createButton:{"11.3.0":"data-testid public share dashboard create button"},cancelButton:{"11.3.0":"data-testid public share dashboard cancel button"}},EmailShare:{createButton:{"11.3.0":"data-testid email share dashboard create button"},cancelButton:{"11.3.0":"data-testid email share dashboard cancel button"}},willBePublicCheckbox:{"11.3.0":"data-testid share dashboard will be public checkbox"}},Configuration:{enableTimeRangeSwitch:{"11.3.0":"data-testid share externally enable time range switch"},enableAnnotationsSwitch:{"11.3.0":"data-testid share externally enable annotations switch"},copyUrlButton:{"11.3.0":"data-testid share externally copy url button"},revokeAccessButton:{"11.3.0":"data-testid share externally revoke access button"},toggleAccessButton:{"11.3.0":"data-testid share externally pause or resume access button"}}},ShareSnapshot:{url:{"11.3.0":e=>`/dashboard/snapshot/${e}`},container:{"11.3.0":"data-testid share snapshot drawer container"},publishSnapshot:{"11.3.0":"data-testid share snapshot publish button"},copyUrlButton:{"11.3.0":"data-testid share snapshot copy url button"}}},ExportDashboardDrawer:{ExportAsJson:{container:{"11.3.0":"data-testid export as json drawer container"},codeEditor:{"11.3.0":"data-testid export as json code editor"},exportExternallyToggle:{"11.3.0":"data-testid export as json externally switch"},saveToFileButton:{"11.3.0":"data-testid export as json save to file button"},copyToClipboardButton:{"11.3.0":"data-testid export as json copy to clipboard button"},cancelButton:{"11.3.0":"data-testid export as json cancel button"}}},PublicDashboard:{page:{"9.5.0":"public-dashboard-page"},NotAvailable:{container:{"9.5.0":"public-dashboard-not-available"},title:{"9.5.0":"public-dashboard-title"},pausedDescription:{"9.5.0":"public-dashboard-paused-description"}},footer:{"11.0.0":"public-dashboard-footer"}},PublicDashboardScene:{loadingPage:{"11.0.0":"public-dashboard-scene-loading-page"},page:{"11.0.0":"public-dashboard-scene-page"},controls:{"11.0.0":"public-dashboard-controls"}},RequestViewAccess:{form:{"9.5.0":"request-view-access-form"},recipientInput:{"9.5.0":"request-view-access-recipient-input"},submitButton:{"9.5.0":"request-view-access-submit-button"}},PublicDashboardConfirmAccess:{submitButton:{"10.2.0":"data-testid confirm-access-submit-button"}},Explore:{url:{[u]:"/explore"},General:{container:{[u]:"data-testid Explore"},graph:{[u]:"Explore Graph"},table:{[u]:"Explore Table"},scrollView:{"9.0.0":"data-testid explorer scroll view"},addFromQueryLibrary:{"11.5.0":"data-testid explore add from query library button"}},QueryHistory:{container:{"11.1.0":"data-testid QueryHistory"}}},SoloPanel:{url:{[u]:e=>`/d-solo/${e}`}},PluginsList:{page:{[u]:"Plugins list page"},list:{[u]:"Plugins list"},listItem:{[u]:"Plugins list item"},signatureErrorNotice:{"10.3.0":"data-testid Unsigned plugins notice",[u]:"Unsigned plugins notice"}},PluginPage:{page:{[u]:"Plugin page"},signatureInfo:{"10.3.0":"data-testid Plugin signature info",[u]:"Plugin signature info"},disabledInfo:{"10.3.0":"data-testid Plugin disabled info",[u]:"Plugin disabled info"}},PlaylistForm:{name:{[u]:"Playlist name"},interval:{[u]:"Playlist interval"},itemDelete:{"10.2.0":"data-testid playlist-form-delete-item"}},BrowseDashboards:{table:{body:{"10.2.0":"data-testid browse-dashboards-table"},row:{"10.2.0":e=>`data-testid browse dashboards row ${e}`},checkbox:{"10.0.0":e=>`data-testid ${e} checkbox`}},NewFolderForm:{form:{"10.2.0":"data-testid new folder form"},nameInput:{"10.2.0":"data-testid new-folder-name-input"},createButton:{"10.2.0":"data-testid new-folder-create-button"}}},SearchDashboards:{table:{"10.2.0":"Search results table"}},Search:{url:{"9.3.0":"/?search=openn"},FolderView:{url:{"9.3.0":"/?search=open&layout=folders"}}},PublicDashboards:{ListItem:{linkButton:{"9.3.0":"public-dashboard-link-button"},configButton:{"9.3.0":"public-dashboard-configuration-button"},trashcanButton:{"9.3.0":"public-dashboard-remove-button"},pauseSwitch:{"10.1.0":"data-testid public dashboard pause switch"}}},UserListPage:{tabs:{allUsers:{"10.0.0":"data-testid all-users-tab"},orgUsers:{"10.0.0":"data-testid org-users-tab"},anonUserDevices:{"10.2.3":"data-testid anon-user-devices-tab"},publicDashboardsUsers:{"10.0.0":"data-testid public-dashboards-users-tab"},users:{"10.0.0":"data-testid users-tab"}},org:{url:{"10.2.0":"/admin/users","9.5.0":"/org/users"}},admin:{url:{"9.5.0":"/admin/users"}},publicDashboards:{container:{"11.1.0":"data-testid public-dashboards-users-list"}},UserListAdminPage:{container:{"10.0.0":"data-testid user-list-admin-page"}},UsersListPage:{container:{"10.0.0":"data-testid users-list-page"}},UserAnonListPage:{container:{"10.4.0":"data-testid user-anon-list-page"}},UsersListPublicDashboardsPage:{container:{"10.0.0":"data-testid users-list-public-dashboards-page"},DashboardsListModal:{listItem:{"10.0.0":e=>`data-testid dashboards-list-item-${e}`}}}},ProfilePage:{url:{"10.2.0":"/profile"}},Plugin:{url:{[u]:e=>`/plugins/${e}`}},MigrateToCloud:{url:{"11.2.0":"/admin/migrate-to-cloud"}}}),components:a(c)}},47190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var r=n(35416),a=n(16129),i=n(1266),o=n(52296);t.buffer=function(e){return r.operate(function(t,n){var r=[];return t.subscribe(i.createOperatorSubscriber(n,function(e){return r.push(e)},function(){n.next(r),n.complete()})),o.innerFrom(e).subscribe(i.createOperatorSubscriber(n,function(){var e=r;r=[],n.next(e)},a.noop)),function(){r=null}})}},47209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var r=n(92023);t.EMPTY=new r.Observable(function(e){return e.complete()}),t.empty=function(e){return e?function(e){return new r.Observable(function(t){return e.schedule(function(){return t.complete()})})}(e):t.EMPTY}},47222:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandleType=t.resizeHandleAxesType=t.default=void 0;var r=i(n(62688)),a=i(n(85959));function i(e){return e&&e.__esModule?e:{default:e}}var o=r.default.arrayOf(r.default.oneOf(["s","w","e","n","sw","nw","se","ne"]));t.resizeHandleAxesType=o;var s=r.default.oneOfType([r.default.node,r.default.func]);t.resizeHandleType=s;var l={className:r.default.string,style:r.default.object,width:r.default.number,autoSize:r.default.bool,cols:r.default.number,draggableCancel:r.default.string,draggableHandle:r.default.string,verticalCompact:function(e){e.verticalCompact,0},compactType:r.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&n(20414).validateLayout(t,"layout")},margin:r.default.arrayOf(r.default.number),containerPadding:r.default.arrayOf(r.default.number),rowHeight:r.default.number,maxRows:r.default.number,isBounded:r.default.bool,isDraggable:r.default.bool,isResizable:r.default.bool,allowOverlap:r.default.bool,preventCollision:r.default.bool,useCSSTransforms:r.default.bool,transformScale:r.default.number,isDroppable:r.default.bool,resizeHandles:o,resizeHandle:s,onLayoutChange:r.default.func,onDragStart:r.default.func,onDrag:r.default.func,onDragStop:r.default.func,onResizeStart:r.default.func,onResize:r.default.func,onResizeStop:r.default.func,onDrop:r.default.func,droppingItem:r.default.shape({i:r.default.string.isRequired,w:r.default.number.isRequired,h:r.default.number.isRequired}),children:function(e,t){var n=e[t],r={};a.default.Children.forEach(n,function(e){if(null!=(null==e?void 0:e.key)){if(r[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');r[e.key]=!0}})},innerRef:r.default.any};t.default=l},47287:(e,t,n)=>{"use strict";const r=n(64120),a=n(5566);e.exports=(e,t,n)=>{const i=[];let o=null,s=null;const l=e.sort((e,t)=>a(e,t,n));for(const e of l){r(e,t,n)?(s=e,o||(o=e)):(s&&i.push([o,s]),s=null,o=null)}o&&i.push([o,null]);const u=[];for(const[e,t]of i)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=a,t.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},t.default=void 0,t.getPrefix=r;const n=["Moz","Webkit","O","ms"];function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const t=window.document?.documentElement?.style;if(!t)return"";if(e in t)return"";for(let r=0;r=10?e:e+12},week:{dow:0,doy:6}})}(n(42689))},47574:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t,n)=>r(e,t,n)>0},47770:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var r=n(35416),a=n(1266);t.takeWhile=function(e,t){return void 0===t&&(t=!1),r.operate(function(n,r){var i=0;n.subscribe(a.createOperatorSubscriber(r,function(n){var a=e(n,i++);(a||t)&&r.next(n),!a&&r.complete()}))})}},47786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(68435)),a=i(n(6105));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v3",48,a.default);t.default=o},47953:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Редактировать фильтр с ключом {{keyLabel}}","managed-filter":"фильтр, управляемый {{origin}}","non-applicable":"","remove-filter-with-key":"Удалить фильтр с ключом {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Удалить значение фильтра ({{itemLabel}})","use-custom-value":"Использовать пользовательское значение: {{itemLabel}}"},"fallback-page":{content:"Если вы попали сюда по ссылке, возможна ошибка в приложении.",subTitle:"URL-адрес не соответствует ни одной странице",title:"Не найдена"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Свернуть сцену","expand-button-label":"Развернуть сцену","remove-button-label":"Удалить сцену"},"scene-debugger":{"object-details":"Сведения об объекте","scene-graph":"Граф сцены","title-scene-debugger":"Отладчик сцен"},"scene-grid-row":{"collapse-row":"Свернуть строку","expand-row":"Развернуть строку"},"scene-refresh-picker":{"text-cancel":"Отмена","text-refresh":"Обновить","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Сравнение","button-tooltip":"Включить сравнение временных рамок"},splitter:{"aria-label-pane-resize-widget":"Виджет изменения размера панелей"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Заголовок"}},"viz-panel-explore-button":{explore:"Обзор"},"viz-panel-renderer":{"loading-plugin-panel":"Загрузка панели плагинов...","panel-plugin-has-no-panel-component":"Плагин не имеет свойства панели"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Отображение слишком большого количества рядов на одной панели может повлиять на производительность и затруднить чтение данных.","warning-message":"Макс. количество отображаемых рядов: {{seriesLimit}}"}},utils:{"controls-label":{"tooltip-remove":"Удалить"},"loading-indicator":{"content-cancel-query":"Отмена запроса"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Оператор редактирования фильтра"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Добавить фильтр","title-add-filter":"Добавить фильтр"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Удалить фильтр","key-select":{"placeholder-select-label":"Выбрать метку"},"label-select-label":"Выбрать метку","title-remove-filter":"Удалить фильтр","value-select":{"placeholder-select-value":"Выбрать значение"}},"data-source-variable":{label:{default:"по умолчанию"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"очистить",tooltip:"Применяется по умолчанию на этом дашборде. При редактировании переносится на другие дашборды.","tooltip-restore-groupby-set-by-this-dashboard":"Восстановить критерий группирования, заданный этим дашбордом."},"format-registry":{formats:{description:{"commaseparated-values":"Значения, разделенные запятыми","double-quoted-values":"Значения в двойных кавычках","format-date-in-different-ways":"Форматируйте дату разными способами","format-multivalued-variables-using-syntax-example":"Форматируйте многозначные переменные с использованием синтаксиса glob, например {value1,value2}","html-escaping-of-values":"HTML-экранирование значений","join-values-with-a-comma":"","json-stringify-value":"Значение преобразования JSON в строку","keep-value-as-is":"Сохраните значение как есть","multiple-values-are-formatted-like-variablevalue":"Несколько значений форматируются как «переменная=значение»","single-quoted-values":"Значения в одинарных кавычках","useful-escaping-values-taking-syntax-characters":"Функция удобна при URL-экранировании значений с учетом символов синтаксиса URI","useful-for-url-escaping-values":"Функция удобна при URL-экранировании значений","values-are-separated-by-character":"Значения разделяются символом |"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Группировать по селектору","placeholder-group-by-label":"Группировать по меткам"},"interval-variable":{"placeholder-select-value":"Выбрать значение"},"loading-options-placeholder":{"loading-options":"Загрузка параметров..."},"multi-value-apply-button":{apply:"Применить"},"no-options-placeholder":{"no-options-found":"Параметры не найдены"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Ошибка при получении меток. Нажмите, чтобы повторить попытку"},"test-object-with-variable-dependency":{title:{hello:"Привет"}},"test-variable":{text:{text:"Текст"}},"variable-value-input":{"placeholder-enter-value":"Ввести значение"},"variable-value-select":{"placeholder-select-value":"Выбрать значение"}}}}},48029:e=>{"use strict";const t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:en(t,e)}},48294:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},48364:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MapCenterID:()=>s,TooltipMode:()=>o,defaultMapViewConfig:()=>i,defaultOptions:()=>a,pluginVersion:()=>r});const r="12.3.1",a={layers:[]},i={allLayers:!0,id:"zero",lat:0,lon:0,noRepeat:!1,zoom:1};var o=(e=>(e.Details="details",e.None="none",e))(o||{}),s=(e=>(e.Coords="coords",e.Fit="fit",e.Zero="zero",e))(s||{})},48478:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t({ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r],+e)}function r(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(42689))},48743:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var r=n(11824),a=n(45294);t.of=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34629),a=r.__importStar(n(85959));t.default=function(e){var t=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(n,t),n.prototype.render=function(){return e(this.props,this.context)},n}(a.Component);return t}},48944:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(42689))},49148:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var r=n(56871);t.ArgumentOutOfRangeError=r.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},49338:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(42689))},49568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(35696))&&r.__esModule?r:{default:r},i=n(69676);let o,s,l=0,u=0;var c=function(e,t,n){let r=t&&n||0;const c=t||new Array(16);let d=(e=e||{}).node||o,f=void 0!==e.clockseq?e.clockseq:s;if(null==d||null==f){const t=e.random||(e.rng||a.default)();null==d&&(d=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==f&&(f=s=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:u+1;const m=p-l+(h-u)/1e4;if(m<0&&void 0===e.clockseq&&(f=f+1&16383),(m<0||p>l)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,u=h,s=f,p+=122192928e5;const g=(1e4*(268435455&p)+h)%4294967296;c[r++]=g>>>24&255,c[r++]=g>>>16&255,c[r++]=g>>>8&255,c[r++]=255&g;const v=p/4294967296*1e4&268435455;c[r++]=v>>>8&255,c[r++]=255&v,c[r++]=v>>>24&15|16,c[r++]=v>>>16&255,c[r++]=f>>>8|128,c[r++]=255&f;for(let e=0;e<6;++e)c[r+e]=d[e];return t||(0,i.unsafeStringify)(c)};t.default=c},49617:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],a=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:a,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(42689))},49893:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},50230:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(42689))},50544:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findOrGenerateResponsiveLayout=function(e,t,n,i,o,s){if(e[n])return(0,r.cloneLayout)(e[n]);for(var l=e[i],u=a(t),c=u.slice(u.indexOf(n)),d=0,f=c.length;de[s]&&(r=s)}return r},t.getColsFromBreakpoint=function(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},t.sortBreakpoints=a;var r=n(20414);function a(e){return Object.keys(e).sort(function(t,n){return e[t]-e[n]})}},50765:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(42689))},50936:(e,t,n)=>{"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=n(11794).default,e.exports.ResizableBox=n(96609).default},50971:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"使用键 {{keyLabel}} 编辑筛选器","managed-filter":"{{origin}} 托管筛选器","non-applicable":"","remove-filter-with-key":"使用键 {{keyLabel}} 移除筛选器"},"adhoc-filters-combobox":{"remove-filter-value":"移除筛选器值 - {{itemLabel}}","use-custom-value":"使用自定义值:{{itemLabel}}"},"fallback-page":{content:"如果您使用链接找到了此处的路径,则此应用程序中可能存在错误。",subTitle:"URL 与任何页面都不匹配",title:"未找到"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"折叠场景","expand-button-label":"展开场景","remove-button-label":"移除场景"},"scene-debugger":{"object-details":"对象详情","scene-graph":"场景图","title-scene-debugger":"场景调试器"},"scene-grid-row":{"collapse-row":"折叠行","expand-row":"展开行"},"scene-refresh-picker":{"text-cancel":"取消","text-refresh":"刷新","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"比较","button-tooltip":"启用时间范围比较"},splitter:{"aria-label-pane-resize-widget":"窗格大小调整小部件"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"标题"}},"viz-panel-explore-button":{explore:"探索"},"viz-panel-renderer":{"loading-plugin-panel":"正在加载插件面板…","panel-plugin-has-no-panel-component":"面板插件没有面板组件"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"在单个面板中呈现太多系列可能会影响性能,并使数据难以阅读。","warning-message":"仅显示 {{seriesLimit}} 系列"}},utils:{"controls-label":{"tooltip-remove":"移除"},"loading-indicator":{"content-cancel-query":"取消查询"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"编辑筛选器运算符"},"ad-hoc-filter-builder":{"aria-label-add-filter":"添加筛选条件","title-add-filter":"添加筛选条件"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"移除筛选条件","key-select":{"placeholder-select-label":"选择标签"},"label-select-label":"选择标签","title-remove-filter":"移除筛选条件","value-select":{"placeholder-select-value":"选择值"}},"data-source-variable":{label:{default:"默认"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"清除",tooltip:"在此数据面板中默认应用。如果编辑,它将转移到其他数据面板。","tooltip-restore-groupby-set-by-this-dashboard":"还原此数据面板设置的分组。"},"format-registry":{formats:{description:{"commaseparated-values":"逗号分隔值","double-quoted-values":"双引号值","format-date-in-different-ways":"以不同方式格式化日期","format-multivalued-variables-using-syntax-example":"使用 glob 语法格式化多值变量,例如 {value1,value2}","html-escaping-of-values":"值的 HTML 转义","join-values-with-a-comma":"","json-stringify-value":"JSON 字符串化值","keep-value-as-is":"保持值不变","multiple-values-are-formatted-like-variablevalue":"多个值的格式为 variable=value","single-quoted-values":"单引号值","useful-escaping-values-taking-syntax-characters":"用于 URL 转义值,采用 URI 语法字符","useful-for-url-escaping-values":"适用于 URL 转义值","values-are-separated-by-character":"值由 | 字符分隔"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"按选择器分组","placeholder-group-by-label":"按标签分组"},"interval-variable":{"placeholder-select-value":"选择值"},"loading-options-placeholder":{"loading-options":"正在加载选项…"},"multi-value-apply-button":{apply:"应用"},"no-options-placeholder":{"no-options-found":"未找到选项"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"获取标签时发生错误。单击重试"},"test-object-with-variable-dependency":{title:{hello:"您好"}},"test-variable":{text:{text:"文本"}},"variable-value-input":{"placeholder-enter-value":"输入数值"},"variable-value-select":{"placeholder-select-value":"选择值"}}}}},50973:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var r=n(6300),a=n(35416);t.switchScan=function(e,t){return a.operate(function(n,a){var i=t;return r.switchMap(function(t,n){return e(i,t,n)},function(e,t){return i=t,t})(n).subscribe(a),function(){i=null}})}},51944:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(42689))},52e3:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=n(65547),l=n(60452),u=n(92023),c=n(31801),d=n(69451),f=n(63533),p=n(26847),h=n(43026),m=n(44717),g=n(34696),v=n(84512);function y(e){return new u.Observable(function(t){var n=e[v.observable]();if(m.isFunction(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function b(e){return new u.Observable(function(t){for(var n=0;n0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var r=n(35416),a=n(1266),i=n(16129);t.ignoreElements=function(){return r.operate(function(e,t){e.subscribe(a.createOperatorSubscriber(t,i.noop))})}},52819:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var r=n(35416),a=n(1266);function i(e,t,n){var r="index"===n;return function(n,i){var o=0;n.subscribe(a.createOperatorSubscriber(i,function(a){var s=o++;e.call(t,a,s,n)&&(i.next(r?s:a),i.complete())},function(){i.next(r?-1:void 0),i.complete()}))}}t.find=function(e,t){return r.operate(i(e,t,"value"))},t.createFind=i},53910:(e,t,n)=>{"use strict";const r=n(66293),a=n(11106),{ANY:i}=a,o=n(64120),s=n(5566),l=[new a(">=0.0.0-0")],u=[new a(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:u}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=u}const r=new Set;let a,c,p,h,m,g,v;for(const t of e)">"===t.operator||">="===t.operator?a=d(a,t,n):"<"===t.operator||"<="===t.operator?c=f(c,t,n):r.add(t.semver);if(r.size>1)return null;if(a&&c){if(p=s(a.semver,c.semver,n),p>0)return null;if(0===p&&(">="!==a.operator||"<="!==c.operator))return null}for(const e of r){if(a&&!o(e,String(a),n))return null;if(c&&!o(e,String(c),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let y=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,b=!(!a||n.includePrerelease||!a.semver.prerelease.length)&&a.semver;y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,a)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=d(a,e,n),h===e&&h!==a)return!1}else if(">="===a.operator&&!o(a.semver,String(e),n))return!1;if(c)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(m=f(c,e,n),m===e&&m!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),n))return!1;if(!e.operator&&(c||a)&&0!==p)return!1}return!(a&&g&&!c&&0!==p)&&(!(c&&v&&!a&&0!==p)&&(!b&&!y))},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},54116:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var r=n(4386),a=n(66993),i=n(35461);t.auditTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),a.audit(function(){return i.timer(e,t)})}},54351:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"{{keyLabel}}キーでフィルターを編集 ","managed-filter":"{{origin}}管理フィルター","non-applicable":"","remove-filter-with-key":"{{keyLabel}}キーでフィルターを削除 "},"adhoc-filters-combobox":{"remove-filter-value":"フィルター値を削除 - {{itemLabel}}","use-custom-value":"カスタム値を使用:{{itemLabel}} "},"fallback-page":{content:"リンクからこのページにアクセスした場合、アプリケーションにバグがある可能性があります。",subTitle:"URLがどのページにも一致しません",title:"見つかりません"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"シーンを折りたたむ","expand-button-label":"シーンを展開","remove-button-label":"シーンを削除"},"scene-debugger":{"object-details":"オブジェクトの詳細","scene-graph":"シーングラフ","title-scene-debugger":"シーンデバッガー"},"scene-grid-row":{"collapse-row":"行を折りたたむ","expand-row":"行を展開"},"scene-refresh-picker":{"text-cancel":"キャンセル","text-refresh":"更新","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"比較","button-tooltip":"時間枠比較を有効にする"},splitter:{"aria-label-pane-resize-widget":"ペインリサイズウィジェット"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"タイトル"}},"viz-panel-explore-button":{explore:"探検"},"viz-panel-renderer":{"loading-plugin-panel":"プラグインパネルを読み込み中...","panel-plugin-has-no-panel-component":"パネルプラグインにパネルコンポーネントがありません"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"単一パネルで多数の系列を表示すると、パフォーマンスに影響し、データが読みにくくなる場合があります。","warning-message":"{{seriesLimit}}系列のみ表示"}},utils:{"controls-label":{"tooltip-remove":"削除"},"loading-indicator":{"content-cancel-query":"クエリをキャンセル"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"フィルター演算子を編集"},"ad-hoc-filter-builder":{"aria-label-add-filter":"フィルターを追加","title-add-filter":"フィルターを追加"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"フィルターを削除","key-select":{"placeholder-select-label":"ラベルを選択"},"label-select-label":"ラベルを選択","title-remove-filter":"フィルターを削除","value-select":{"placeholder-select-value":"値を選択"}},"data-source-variable":{label:{default:"デフォルト"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"クリア",tooltip:"このダッシュボードでデフォルトで適用されます。編集した場合、他のダッシュボードに引き継がれます。","tooltip-restore-groupby-set-by-this-dashboard":"このダッシュボードで設定されたgroupbyを復元します。"},"format-registry":{formats:{description:{"commaseparated-values":"カンマ区切り値","double-quoted-values":"二重引用符で囲まれた値","format-date-in-different-ways":"日付を様々な形式でフォーマット","format-multivalued-variables-using-syntax-example":"glob構文を使用して複数値変数をフォーマット(例: {value1,value2})","html-escaping-of-values":"値のHTMLエスケープ","join-values-with-a-comma":"","json-stringify-value":"JSON文字列化値","keep-value-as-is":"値をそのまま保持","multiple-values-are-formatted-like-variablevalue":"複数の値は変数=値の形式でフォーマットされます","single-quoted-values":"一重引用符で囲まれた値","useful-escaping-values-taking-syntax-characters":"URI構文文字を考慮したURLエスケープ値に便利","useful-for-url-escaping-values":"URLエスケープ値に便利","values-are-separated-by-character":"値は|文字で区切られます"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"セレクターでグループ化","placeholder-group-by-label":"ラベルでグループ化"},"interval-variable":{"placeholder-select-value":"値を選択"},"loading-options-placeholder":{"loading-options":"オプションを読み込み中..."},"multi-value-apply-button":{apply:"適用"},"no-options-placeholder":{"no-options-found":"オプションが見つかりません"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"ラベルの取得中にエラーが発生しました。クリックして再試行"},"test-object-with-variable-dependency":{title:{hello:"こんにちは"}},"test-variable":{text:{text:"テキスト"}},"variable-value-input":{"placeholder-enter-value":"値を入力"},"variable-value-select":{"placeholder-select-value":"値を選択"}}}}},54463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var r=n(14502),a=n(12366),i=n(18762),o=n(63585),s=n(63741),l=n(31801),u=n(60452),c=n(65547),d=n(26847),f=n(69451),p=n(63533),h=n(43026),m=n(39136);t.scheduled=function(e,t){if(null!=e){if(l.isInteropObservable(e))return r.scheduleObservable(e,t);if(c.isArrayLike(e))return i.scheduleArray(e,t);if(u.isPromise(e))return a.schedulePromise(e,t);if(f.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(d.isIterable(e))return o.scheduleIterable(e,t);if(h.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw p.createInvalidObservableTypeError(e)}},54738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(43215))&&r.__esModule?r:{default:r};var i=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};t.default=i},55109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var r=n(35416),a=n(1266),i=n(52296);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),r.operate(function(n,r){var o={buffer:[],complete:!1},s={buffer:[],complete:!1},l=function(e){r.next(e),r.complete()},u=function(e,n){var i=a.createOperatorSubscriber(r,function(r){var a=n.buffer,i=n.complete;0===a.length?i?l(!1):e.buffer.push(r):!t(r,a.shift())&&l(!1)},function(){e.complete=!0;var t=n.complete,r=n.buffer;t&&l(0===r.length),null==i||i.unsubscribe()});return i};n.subscribe(u(o,s)),i.innerFrom(e).subscribe(u(s,o))})}},55366:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return a(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t._hasValue,a=t._value,i=t.thrownError,o=t.isStopped,s=t._isComplete;n?e.error(i):(o||s)&&(r&&e.next(a),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,n=t._hasValue,r=t._value;t._isComplete||(this._isComplete=!0,n&&e.prototype.next.call(this,r),e.prototype.complete.call(this))},t}(n(20020).Subject);t.AsyncSubject=i},55463:(e,t,n)=>{"use strict";var r=n(33776).t;t.v=function(e){if(e.client){0;var t=e.kebab;n.prototype.diff=function(e){var n,r=this.decl,a=this.rule.style;for(n in r)void 0===e[n]&&a.removeProperty(n);for(n in e)e[n]!==r[n]&&a.setProperty(t(n),e[n]);this.decl=e},n.prototype.del=function(){r(this.rule)},a.prototype.diff=function(e){var t=this.tree;for(var r in t)if(void 0===e[r]){var a=t[r];for(var i in a)a[i].del()}for(var r in e)if(void 0===t[r])for(var i in e[r]){(l=new n(i,r)).diff(e[r][i]),e[r][i]=l}else{var o=t[r],s=e[r];for(var i in o)s[i]||o[i].del();for(var i in s){var l;(l=o[i])?(l.diff(s[i]),s[i]=l):((l=new n(i,r)).diff(s[i]),s[i]=l)}}this.tree=e},e.VRule=n,e.VSheet=a}function n(t,n){this.rule=e.createRule(t,n),this.decl={}}function a(){this.tree={}}}},55887:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(42689))},56118:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:i,M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},56235:e=>{"use strict";const t=e=>"string"==typeof e,n=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},r=e=>null==e?"":""+e,a=/###/g,i=e=>e&&e.indexOf("###")>-1?e.replace(a,"."):e,o=e=>!e||t(e),s=(e,n,r)=>{const a=t(n)?n.split("."):n;let s=0;for(;s{const{obj:r,k:a}=s(e,t,Object);if(void 0!==r||1===t.length)return void(r[a]=n);let i=t[t.length-1],o=t.slice(0,t.length-1),l=s(e,o,Object);for(;void 0===l.obj&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),l=s(e,o,Object),l?.obj&&void 0!==l.obj[`${l.k}.${i}`]&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=n},u=(e,t)=>{const{obj:n,k:r}=s(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},c=(e,n,r)=>{for(const a in n)"__proto__"!==a&&"constructor"!==a&&(a in e?t(e[a])||e[a]instanceof String||t(n[a])||n[a]instanceof String?r&&(e[a]=n[a]):c(e[a],n[a],r):e[a]=n[a]);return e},d=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const p=e=>t(e)?e.replace(/[&<>"'\/]/g,e=>f[e]):e;const h=[" ",",","?","!",";"],m=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),g=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let a=e;for(let e=0;e-1&&oe?.replace("_","-"),y={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class b{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||y,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,a){return a&&!this.debug?null:(t(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new b(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new b(this.logger,e)}}var _=new b;class w{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r{for(let a=0;a-1&&this.options.ns.splice(t,1)}getResource(e,n,r,a={}){const i=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,o=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,n],r&&(Array.isArray(r)?s.push(...r):t(r)&&i?s.push(...r.split(i)):s.push(r)));const l=u(this.data,s);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=s[0],n=s[1],r=s.slice(2).join(".")),!l&&o&&t(r)?g(this.data?.[e]?.[n],r,i):l}addResource(e,t,n,r,a={silent:!1}){const i=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator;let o=[e,t];n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split("."),r=t,t=o[1]),this.addNamespaces(t),l(this.data,o,r),a.silent||this.emit("added",e,t,n,r)}addResources(e,n,r,a={silent:!1}){for(const a in r)(t(r[a])||Array.isArray(r[a]))&&this.addResource(e,n,a,r[a],{silent:!0});a.silent||this.emit("added",e,n,r)}addResourceBundle(e,t,n,r,a,i={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=u(this.data,o)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?c(s,n,a):s={...s,...n},l(this.data,o,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,a)??t}),t}};const k=Symbol("i18next/PATH_KEY");function L(e,t){const{[k]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,a)=>(n?.revoke?.(),a===k?e:(e.push(a),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const x={},D=e=>!t(e)&&"boolean"!=typeof e&&"number"!=typeof e;class T extends w{constructor(e,t={}){var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{n[e]&&(r[e]=n[e])}),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=_.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const a=D(r.res);return!1!==n.returnObjects||!a}extractFromKey(e,n){let r=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=r&&e.indexOf(r)>-1,s=!(this.options.userDefinedKeySeparator||n.keySeparator||this.options.userDefinedNsSeparator||n.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=h.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const a=m.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let i=!a.test(e);if(!i){const t=e.indexOf(n);t>0&&!a.test(e.substring(0,t))&&(i=!0)}return i})(e,r,a));if(o&&!s){const n=e.match(this.interpolator.nestingRegexp);if(n&&n.length>0)return{key:e,namespaces:t(i)?[i]:i};const o=e.split(r);(r!==a||r===a&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(a)}return{key:e,namespaces:t(i)?[i]:i}}translate(e,n,r){let a="object"==typeof n?{...n}:n;if("object"!=typeof a&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof a&&(a={...a}),a||(a={}),null==e)return"";"function"==typeof e&&(e=L(e,{...this.options,...a})),Array.isArray(e)||(e=[String(e)]);const i=void 0!==a.returnDetails?a.returnDetails:this.options.returnDetails,o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],a),u=l[l.length-1];let c=void 0!==a.nsSeparator?a.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");const d=a.lng||this.language,f=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===d?.toLowerCase())return f?i?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:`${u}${c}${s}`:i?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:s;const p=this.resolve(e,a);let h=p?.res;const m=p?.usedKey||s,g=p?.exactUsedKey||s,v=void 0!==a.joinArrays?a.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==a.count&&!t(a.count),_=T.hasDefaultValue(a),w=b?this.pluralResolver.getSuffix(d,a.count,a):"",M=a.ordinal&&b?this.pluralResolver.getSuffix(d,a.count,{ordinal:!1}):"",S=b&&!a.ordinal&&0===a.count,k=S&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${w}`]||a[`defaultValue${M}`]||a.defaultValue;let x=h;y&&!h&&_&&(x=k);const E=D(x),O=Object.prototype.toString.apply(x);if(!(y&&x&&E&&["[object Number]","[object Function]","[object RegExp]"].indexOf(O)<0)||t(v)&&Array.isArray(x))if(y&&t(v)&&Array.isArray(h))h=h.join(v),h&&(h=this.extendTranslation(h,e,a,r));else{let t=!1,n=!1;!this.isValidLookup(h)&&_&&(t=!0,h=k),this.isValidLookup(h)||(n=!0,h=s);const i=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,l=_&&k!==h&&this.options.updateMissing;if(n||t||l){if(this.logger.log(l?"updateKey":"missingKey",d,u,s,l?k:h),o){const e=this.resolve(s,{...a,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n{const r=_&&n!==h?n:i;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,r,l,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,r,l,a),this.emit("missingKey",e,u,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,a);S&&a[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,a[`defaultValue${t}`]||k)})}):n(e,s,k))}h=this.extendTranslation(h,e,a,p,r),n&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${u}${c}${s}`),(n||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,t?h:void 0,a))}else{if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,x,{...a,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(p.res=e,p.usedParams=this.getUsedParamsDetails(a),p):e}if(o){const e=Array.isArray(x),t=e?[]:{},n=e?g:m;for(const e in x)if(Object.prototype.hasOwnProperty.call(x,e)){const r=`${n}${o}${e}`;t[e]=_&&!h?this.translate(r,{...a,defaultValue:D(k)?k[e]:void 0,joinArrays:!1,ns:l}):this.translate(r,{...a,joinArrays:!1,ns:l}),t[e]===r&&(t[e]=x[e])}h=t}}return i?(p.res=h,p.usedParams=this.getUsedParamsDetails(a),p):h}extendTranslation(e,n,r,a,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const o=t(e)&&(void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(o){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=r.replace&&!t(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||a.usedLng,r),o){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||r.context?this.translate(...e,n):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${n[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}const o=r.postProcess||this.options.postProcess,s=t(o)?[o]:o;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=S.handle(s,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,a,i,o,s;return t(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;const l=this.extractFromKey(e,n),u=l.key;a=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=void 0!==n.count&&!t(n.count),f=d&&!n.ordinal&&0===n.count,p=void 0!==n.context&&(t(n.context)||"number"==typeof n.context)&&""!==n.context,h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);c.forEach(e=>{this.isValidLookup(r)||(s=e,x[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(s)||(x[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(t=>{if(this.isValidLookup(r))return;o=t;const a=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(a,u,t,e,n);else{let e;d&&(e=this.pluralResolver.getSuffix(t,n.count,n));const r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(n.ordinal&&0===e.indexOf(i)&&a.push(u+e.replace(i,this.options.pluralSeparator)),a.push(u+e),f&&a.push(u+r)),p){const t=`${u}${this.options.contextSeparator||"_"}${n.context}`;a.push(t),d&&(n.ordinal&&0===e.indexOf(i)&&a.push(t+e.replace(i,this.options.pluralSeparator)),a.push(t+e),f&&a.push(t+r))}}let s;for(;s=a.pop();)this.isValidLookup(r)||(i=s,r=this.getResource(t,e,s,n))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!t(e.replace);let a=r?e.replace:e;if(r&&void 0!==e.count&&(a.count=e.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const e of n)delete a[e]}return a}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class E{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_.create("languageUtils")}getScriptPartFromCode(e){if(!(e=v(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=v(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(t(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,n){if(!e)return[];if("function"==typeof e&&(e=e(n)),t(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((!1===n?[]:n)||this.options.fallbackLng||[],e),a=[],i=e=>{e&&(this.isSupportedCode(e)?a.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return t(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):t(e)&&i(this.formatLanguageCode(e)),r.forEach(e=>{a.indexOf(e)<0&&i(this.formatLanguageCode(e))}),a}}const O={zero:0,one:1,two:2,few:3,many:4,other:5},P={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Y{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=_.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=v("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:r});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let i;try{i=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),P;if(!e.match(/-|_/))return P;const r=this.languageUtils.getLanguagePartFromCode(e);i=this.getRule(r,t)}return this.pluralRulesCache[a]=i,i}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>O[e]-O[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const C=(e,n,r,a=".",i=!0)=>{let o=((e,t,n)=>{const r=u(e,n);return void 0!==r?r:u(t,n)})(e,n,r);return!o&&i&&t(r)&&(o=g(e,r,a),void 0===o&&(o=g(n,r,a))),o},A=e=>e.replace(/\$/g,"$$$$");class R{constructor(e={}){this.logger=_.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:a,prefixEscaped:i,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:v,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:p,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=a?d(a):i||"{{",this.suffix=o?d(o):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?d(f):h||d("$t("),this.nestingSuffix=m?d(m):g||d(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,a,i){let o,s,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const t=C(n,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(t,void 0,a,{...i,...n,interpolationkey:e}):t}const t=e.split(this.formatSeparator),r=t.shift().trim(),o=t.join(this.formatSeparator).trim();return this.format(C(n,u,r,this.options.keySeparator,this.options.ignoreJSONStructure),o,a,{...i,...n,interpolationkey:r})};this.resetRegExp();const d=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=void 0!==i?.interpolation?.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>A(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?A(this.escape(e)):A(e)}].forEach(n=>{for(l=0;o=n.regex.exec(e);){const a=o[1].trim();if(s=c(a),void 0===s)if("function"==typeof d){const n=d(e,o,i);s=t(n)?n:""}else if(i&&Object.prototype.hasOwnProperty.call(i,a))s="";else{if(f){s=o[0];continue}this.logger.warn(`missed to pass in variable ${a} for interpolating ${e}`),s=""}else t(s)||this.useRawValueToEscape||(s=r(s));const u=n.safeValue(s);if(e=e.replace(o[0],u),f?(n.regex.lastIndex+=s.length,n.regex.lastIndex-=o[0].length):n.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,n,a={}){let i,o,s;const l=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let a=`{${r[1]}`;e=r[0],a=this.interpolate(a,s);const i=a.match(/'/g),o=a.match(/"/g);((i?.length??0)%2==0&&!o||o.length%2!=0)&&(a=a.replace(/'/g,'"'));try{s=JSON.parse(a),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${a}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;i=this.nestingRegexp.exec(e);){let u=[];s={...a},s=s.replace&&!t(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;const c=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(-1!==c&&(u=i[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),i[1]=i[1].slice(0,c)),o=n(l.call(this,i[1].trim(),s),s),o&&i[0]===e&&!t(o))return o;t(o)||(o=r(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),u.length&&(o=u.reduce((e,t)=>this.format(e,t,a.lng,{...a,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const j=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(v(r),a),t[o]=s),s(n)}},I=e=>(t,n,r)=>e(v(n),r)(t);class F{constructor(e={}){this.logger=_.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?j:I;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=j(t)}format(e,t,n,r={}){const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(e=>e.indexOf(")")>-1)){const e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{const{formatName:a,formatOptions:i}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),a=r.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();n[i]||(n[i]=a),"false"===a&&(n[i]=!1),"true"===a&&(n[i]=!0),isNaN(a)||(n[i]=parseInt(a,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[a]){let t=e;try{const o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[a](e,s,{...i,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class H extends w{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=_.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const a={},i={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===i[o]&&(i[o]=!0):(this.state[o]=1,r=!1,void 0===i[o]&&(i[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),a=r[0],i=r[1];t&&this.emit("failedLoading",a,i,t),!t&&n&&this.store.addResourceBundle(a,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const o={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:a}=s(e,t,Object);r[a]=r[a]||[],r[a].push(n)})(n.loaded,[a],i),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,a=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:a,callback:i});this.readingCalls++;const o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r{this.read.call(this,e,t,n,r+1,2*a,i)},a):i(o,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,o);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}}prepareLoading(e,n,r={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();t(e)&&(e=this.languageUtils.toResolveHierarchy(e)),t(n)&&(n=[n]);const i=this.queueLoad(e,n,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],a=n[1];this.read(r,a,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${a} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${a} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,a,i={},o=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...i,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;a=5===l.length?l(e,t,n,r,s):l(e,t,n,r),a&&"function"==typeof a.then?a.then(e=>o(null,e)).catch(o):o(null,a)}catch(e){o(e)}else l(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const N=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let n={};if("object"==typeof e[1]&&(n=e[1]),t(e[1])&&(n.defaultValue=e[1]),t(e[2])&&(n.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const t=e[3]||e[2];Object.keys(t).forEach(e=>{n[e]=t[e]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),z=e=>(t(e.ns)&&(e.ns=[e.ns]),t(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),t(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),V=()=>{};class W extends w{constructor(e={},t){var n;if(super(),this.options=z(e),this.services={},this.logger=_,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},r){this.isInitializing=!0,"function"==typeof e&&(r=e,e={}),null==e.defaultNS&&e.ns&&(t(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const a=N();this.options={...a,...this.options,...z(e)},this.options.interpolation={...a.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=a.overloadTranslationOptionHandler);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?_.init(i(this.modules.logger),this.options):_.init(null,this.options),e=this.modules.formatter?this.modules.formatter:F;const t=new E(this.options);this.store=new M(this.options.resources,this.options);const n=this.services;n.logger=_,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new Y(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==a.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==a.interpolation.format||(n.formatter=i(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new R(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new H(i(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=i(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=i(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new T(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const o=n(),s=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),r(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),o}loadResources(e,n=V){let r=n;const a=t(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===a?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(a)t(a);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){const a=n();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=V),this.services.backendConnector.reload(e,t,e=>{a.resolve(),r(e)}),a}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,r){this.isLanguageChangingTo=e;const a=n();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(t,n)=>{n?this.isLanguageChangingTo===e&&(i(n),this.translator.changeLanguage(n),this.isLanguageChangingTo=void 0,this.emit("languageChanged",n),this.logger.log("languageChanged",n)):this.isLanguageChangingTo=void 0,a.resolve((...e)=>this.t(...e)),r&&r(t,(...e)=>this.t(...e))},s=n=>{e||n||!this.services.languageDetector||(n=[]);const r=t(n)?n:n&&n[0],a=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(t(n)?[n]:n);a&&(this.language||i(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{o(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),a}getFixedT(e,n,r){const a=(e,t,...n)=>{let i;i="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(n)):{...t},i.lng=i.lng||a.lng,i.lngs=i.lngs||a.lngs,i.ns=i.ns||a.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||r||a.keyPrefix);const o=this.options.keySeparator||".";let s;return i.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=L(e,{...this.options,...t})),`${i.keyPrefix}${o}${e}`)):("function"==typeof e&&(e=L(e,{...this.options,...t})),s=i.keyPrefix?`${i.keyPrefix}${o}${e}`:e),this.t(s,i)};return t(e)?a.lng=e:a.lngs=e,a.ns=n,a.keyPrefix=r,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(n,e)||r&&!i(a,e)))}loadNamespaces(e,r){const a=n();return this.options.ns?(t(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{a.resolve(),r&&r(e)}),a):(r&&r(),Promise.resolve())}loadLanguages(e,r){const a=n();t(e)&&(e=[e]);const i=this.options.preload||[],o=e.filter(e=>i.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=i.concat(o),this.loadResources(e=>{a.resolve(),r&&r(e)}),a):(r&&r(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new E(N());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new W(e,t);return n.createInstance=W.createInstance,n}cloneInstance(e={},t=V){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},a=new W(r);void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e));if(["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});a.store=new M(e,r),a.services.resourceStore=a.store}if(e.interpolation){const t={...N().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};a.services.interpolator=new R(n)}return a.translator=new T(a.services,r),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(r,t),a.translator.options=r,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const $=W.createInstance();$.keyFromSelector=L,e.exports=$},56441:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},56476:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var a=n(20020),i=n(35416),o=n(1266);t.windowCount=function(e,t){void 0===t&&(t=0);var n=t>0?t:e;return i.operate(function(t,i){var s=[new a.Subject],l=0;i.next(s[0].asObservable()),t.subscribe(o.createOperatorSubscriber(i,function(t){var o,u;try{for(var c=r(s),d=c.next();!d.done;d=c.next()){d.value.next(t)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(u=c.return)&&u.call(c)}finally{if(o)throw o.error}}var f=l-e+1;if(f>=0&&f%n===0&&s.shift().complete(),++l%n===0){var p=new a.Subject;s.push(p),i.next(p.asObservable())}},function(){for(;s.length>0;)s.shift().complete();i.complete()},function(e){for(;s.length>0;)s.shift().error(e);i.error(e)},function(){s=null}))})}},56871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},56879:(e,t,n)=>{"use strict";const r=n(39534);e.exports=(e,t,n)=>{const a=new r(e,n),i=new r(t,n);return a.compare(i)||a.compareBuild(i)}},56884:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},57705:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(42689))},57786:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(42689))},57988:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},58015:(e,t,n)=>{"use strict";n.d(t,{B1:()=>Y,C0:()=>m,DD:()=>i,Dz:()=>w,Jx:()=>c,LI:()=>l,PG:()=>v,RI:()=>u,Sg:()=>g,T9:()=>s,TV:()=>_,WJ:()=>S,_3:()=>h,aD:()=>k,bV:()=>O,jk:()=>o,lP:()=>E,nI:()=>P,qE:()=>p,r_:()=>r,sq:()=>y,w7:()=>M});const r=["top","right","bottom","left"],a=["start","end"],i=r.reduce((e,t)=>e.concat(t,t+"-"+a[0],t+"-"+a[1]),[]),o=Math.min,s=Math.max,l=Math.round,u=Math.floor,c=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function p(e,t,n){return s(e,o(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}const b=new Set(["top","bottom"]);function _(e){return b.has(m(e))?"y":"x"}function w(e){return v(_(e))}function M(e,t,n){void 0===n&&(n=!1);const r=g(e),a=w(e),i=y(a);let o="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=O(o)),[o,O(o)]}function S(e){const t=O(e);return[k(e),t,k(t)]}function k(e){return e.replace(/start|end/g,e=>f[e])}const L=["left","right"],x=["right","left"],D=["top","bottom"],T=["bottom","top"];function E(e,t,n,r){const a=g(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?x:L:t?L:x;case"left":case"right":return t?D:T;default:return[]}}(m(e),"start"===n,r);return a&&(i=i.map(e=>e+"-"+a),t&&(i=i.concat(i.map(k)))),i}function O(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function P(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Y(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}},58229:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var r=n(55366),a=n(51507);t.publishLast=function(){return function(e){var t=new r.AsyncSubject;return new a.ConnectableObservable(e,function(){return t})}}},58251:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var r=n(52296),a=n(1266),i=n(35416);t.catchError=function e(t){return i.operate(function(n,i){var o,s=null,l=!1;s=n.subscribe(a.createOperatorSubscriber(i,void 0,void 0,function(a){o=r.innerFrom(t(a,e(t)(n))),s?(s.unsubscribe(),s=null,o.subscribe(i)):l=!0})),l&&(s.unsubscribe(),s=null,o.subscribe(i))})}},58473:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(42689))},59083:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(42689))},59482:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}a.default=e,n&&n.set(e,a);return a}(n(85959)),i=d(n(77842)),o=d(n(97256)),s=n(20414),l=n(20906),u=d(n(18100)),c=d(n(47222));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var i=1/0,o=1/0;a.forEach(function(t){t.x>e.x&&(i=Math.min(i,t.x)),t.y>e.y&&(o=Math.min(o,t.y))}),Number.isFinite(i)&&(e.w=i-e.x),Number.isFinite(o)&&(e.h=o-e.y)}}return t||(e.w=n,e.h=r),e}),y=g(v,2),b=y[0],_=y[1];if(_){var w={w:_.w,h:_.h,x:_.x,y:_.y,static:!0,i:t};e.props.onResize(b,c,_,w,i,o),e.setState({layout:h?b:(0,s.compact)(b,(0,s.compactType)(e.props),f),activeDrag:w})}}),k(M(e),"onResizeStop",function(t,n,r,a){var i=a.e,o=a.node,l=e.state,u=l.layout,c=l.oldResizeItem,d=e.props,f=d.cols,p=d.allowOverlap,h=(0,s.getLayoutItem)(u,t);e.props.onResizeStop(u,c,h,null,i,o);var m=p?u:(0,s.compact)(u,(0,s.compactType)(e.props),f),g=e.state.oldLayout;e.setState({activeDrag:null,layout:m,oldResizeItem:null,oldLayout:null}),e.onLayoutMaybeChanged(m,g)}),k(M(e),"onDragOver",function(t){var n;if(t.preventDefault(),t.stopPropagation(),x&&(null===(n=t.nativeEvent.target)||void 0===n||!n.classList.contains(L)))return!1;var r=e.props,i=r.droppingItem,o=r.onDropDragOver,s=r.margin,u=r.cols,c=r.rowHeight,d=r.maxRows,f=r.width,h=r.containerPadding,g=r.transformScale,v=null==o?void 0:o(t);if(!1===v)return e.state.droppingDOMNode&&e.removeDroppingPlaceholder(),!1;var y=m(m({},i),v),b=e.state.layout,_=t.nativeEvent,w=_.layerX,M=_.layerY,S={left:w/g,top:M/g,e:t};if(e.state.droppingDOMNode){if(e.state.droppingPosition){var k=e.state.droppingPosition,D=k.left,T=k.top;(D!=w||T!=M)&&e.setState({droppingPosition:S})}}else{var E={cols:u,margin:s,maxRows:d,rowHeight:c,containerWidth:f,containerPadding:h||s},O=(0,l.calcXY)(E,M,w,y.w,y.h);e.setState({droppingDOMNode:a.createElement("div",{key:y.i}),droppingPosition:S,layout:[].concat(p(b),[m(m({},y),{},{x:O.x,y:O.y,static:!1,isDraggable:!0})])})}}),k(M(e),"removeDroppingPlaceholder",function(){var t=e.props,n=t.droppingItem,r=t.cols,a=e.state.layout,i=(0,s.compact)(a.filter(function(e){return e.i!==n.i}),(0,s.compactType)(e.props),r);e.setState({layout:i,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),k(M(e),"onDragLeave",function(t){t.preventDefault(),t.stopPropagation(),e.dragEnterCounter--,0===e.dragEnterCounter&&e.removeDroppingPlaceholder()}),k(M(e),"onDragEnter",function(t){t.preventDefault(),t.stopPropagation(),e.dragEnterCounter++}),k(M(e),"onDrop",function(t){t.preventDefault(),t.stopPropagation();var n=e.props.droppingItem,r=e.state.layout,a=r.find(function(e){return e.i===n.i});e.dragEnterCounter=0,e.removeDroppingPlaceholder(),e.props.onDrop(r,a,t)}),e}return t=d,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n;return t.activeDrag?null:((0,i.default)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,s.childrenEqual)(e.children,t.children)||(n=t.layout):n=e.layout,n?{layout:(0,s.synchronizeLayoutWithChildren)(n,e.children,e.cols,(0,s.compactType)(e),e.allowOverlap),compactType:e.compactType,children:e.children,propsLayout:e.layout}:null)}}],(n=[{key:"componentDidMount",value:function(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.children!==e.children||!(0,s.fastRGLPropsEqual)(this.props,e,i.default)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}},{key:"componentDidUpdate",value:function(e,t){if(!this.state.activeDrag){var n=this.state.layout,r=t.layout;this.onLayoutMaybeChanged(n,r)}}},{key:"containerHeight",value:function(){if(this.props.autoSize){var e=(0,s.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}}},{key:"onLayoutMaybeChanged",value:function(e,t){t||(t=this.state.layout),(0,i.default)(t,e)||this.props.onLayoutChange(e)}},{key:"placeholder",value:function(){var e=this.state.activeDrag;if(!e)return null;var t=this.props,n=t.width,r=t.cols,i=t.margin,o=t.containerPadding,s=t.rowHeight,l=t.maxRows,c=t.useCSSTransforms,d=t.transformScale;return a.createElement(u.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder",containerWidth:n,cols:r,margin:i,containerPadding:o||i,maxRows:l,rowHeight:s,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:c,transformScale:d},a.createElement("div",null))}},{key:"processGridItem",value:function(e,t){if(e&&e.key){var n=(0,s.getLayoutItem)(this.state.layout,String(e.key));if(!n)return null;var r=this.props,i=r.width,o=r.cols,l=r.margin,c=r.containerPadding,d=r.rowHeight,f=r.maxRows,p=r.isDraggable,h=r.isResizable,m=r.isBounded,g=r.useCSSTransforms,v=r.transformScale,y=r.draggableCancel,b=r.draggableHandle,_=r.resizeHandles,w=r.resizeHandle,M=this.state,S=M.mounted,k=M.droppingPosition,L="boolean"==typeof n.isDraggable?n.isDraggable:!n.static&&p,x="boolean"==typeof n.isResizable?n.isResizable:!n.static&&h,D=n.resizeHandles||_,T=L&&m&&!1!==n.isBounded;return a.createElement(u.default,{containerWidth:i,cols:o,margin:l,containerPadding:c||l,maxRows:f,rowHeight:d,cancel:y,handle:b,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:L,isResizable:x,isBounded:T,useCSSTransforms:g&&S,usePercentages:!S,transformScale:v,w:n.w,h:n.h,x:n.x,y:n.y,i:n.i,minH:n.minH,minW:n.minW,maxH:n.maxH,maxW:n.maxW,static:n.static,droppingPosition:t?k:void 0,resizeHandles:D,resizeHandle:w},e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.style,i=t.isDroppable,l=t.innerRef,u=(0,o.default)(L,n),c=m({height:this.containerHeight()},r);return a.createElement("div",{ref:l,className:u,style:c,onDrop:i?this.onDrop:s.noop,onDragLeave:i?this.onDragLeave:s.noop,onDragEnter:i?this.onDragEnter:s.noop,onDragOver:i?this.onDragOver:s.noop},a.Children.map(this.props.children,function(t){return e.processGridItem(t)}),i&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}])&&b(t.prototype,n),r&&b(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(a.Component);t.default=D,k(D,"displayName","ReactGridLayout"),k(D,"propTypes",c.default),k(D,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:s.noop,onDragStart:s.noop,onDrag:s.noop,onDragStop:s.noop,onResizeStart:s.noop,onResize:s.noop,onResizeStop:s.noop,onDrop:s.noop,onDropDragOver:s.noop})},59724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(68435)),a=i(n(40628));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v5",80,a.default);t.default=o},59880:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.divWrapper=void 0;var r=n(34629),a=r.__importStar(n(85959)),i=r.__importDefault(n(93333)),o=a.createElement,s=function(e,t,n,a){var i;return o(e,t?r.__assign(((i={})[t]=a,i),n):r.__assign(r.__assign({},a),n))};t.divWrapper=function(e,t,n,r){return o("div",null,s(e,t,n,r))};t.default=function(e,t,n){void 0===n&&(n=s);var r=function(a,s,l){void 0===s&&(s=t),void 0===l&&(l=null);var u="string"==typeof a;if(u)return function(e){return r(e,a||t,s)};var c=function(t){return o(e,l,function(e){return n(a,s,t,e)})};return u?i.default(c):c};return r}},59924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var r=n(51507),a=n(44717),i=n(32216);t.multicast=function(e,t){var n=a.isFunction(e)?e:function(){return e};return a.isFunction(t)?i.connect(t,{connector:n}):function(e){return new r.ConnectableObservable(e,n)}}},60016:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function a(e,t,n,r){var a=i(e);switch(n){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function i(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),a>0&&(i+=(""!==i?" ":"")+t[a]),""===i?"pagh":i}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},60062:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,a,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var s=0;s0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},60341:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},60452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var r=n(44717);t.isPromise=function(e){return r.isFunction(null==e?void 0:e.then)}},60901:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(42689))},61017:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var i=n(30469),o=function(e){function t(t,n){void 0===n&&(n=i.Scheduler.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return a(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i.Scheduler);t.AsyncScheduler=o},61157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var r=n(71012),a=n(44717);t.concatMapTo=function(e,t){return a.isFunction(t)?r.concatMap(function(){return e},t):r.concatMap(function(){return e})}},61173:(e,t,n)=>{"use strict";const r=n(66293);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},61195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var r=n(49148),a=n(72914),i=n(45956),o=n(87507),s=n(46803);t.elementAt=function(e,t){if(e<0)throw new r.ArgumentOutOfRangeError;var n=arguments.length>=2;return function(l){return l.pipe(a.filter(function(t,n){return n===e}),s.take(1),n?o.defaultIfEmpty(t):i.throwIfEmpty(function(){return new r.ArgumentOutOfRangeError}))}}},61306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var r=n(3818),a=n(44717);t.min=function(e){return r.reduce(a.isFunction(e)?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(42689))},61550:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(i(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(i(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(i(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(i(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(42689))},61584:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(42689))},61763:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var r=n(35416),a=n(1266);t.every=function(e,t){return r.operate(function(n,r){var i=0;n.subscribe(a.createOperatorSubscriber(r,function(a){e.call(t,a,i++,n)||(r.next(!1),r.complete())},function(){r.next(!0),r.complete()}))})}},61933:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var r=n(6300),a=n(44717);t.switchMapTo=function(e,t){return a.isFunction(t)?r.switchMap(function(){return e},t):r.switchMap(function(){return e})}},61966:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(42689))},62001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var r=n(4386),a=n(96349),i=n(87517);t.timeoutWith=function(e,t,n){var o,s,l;if(n=null!=n?n:r.async,a.isValidDate(e)?o=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(l=function(){return t},null==o&&null==s)throw new TypeError("No timeout provided.");return i.timeout({first:o,each:s,scheduler:n,with:l})}},62070:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var r=n(80861),a=n(11824),i=n(45294);t.concat=function(){for(var e=[],t=0;t=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(42689))},62409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var r=n(4386),a=n(85137),i=n(35461);t.delay=function(e,t){void 0===t&&(t=r.asyncScheduler);var n=i.timer(e,t);return a.delayWhen(function(){return n})}},62419:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(42689))},62540:(e,t,n)=>{"use strict";e.exports=n(2192)},62688:(e,t,n)=>{e.exports=n(40362)()},62757:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(a=r;0!==a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=r;0!==a--;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;0!==a--;){var o=i[a];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},62778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var r=n(62070),a=n(11824),i=n(35416);t.startWith=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},63585:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var r=n(92023),a=n(33967),i=n(44717),o=n(75031);t.scheduleIterable=function(e,t){return new r.Observable(function(n){var r;return o.executeSchedule(n,t,function(){r=e[a.iterator](),o.executeSchedule(n,t,function(){var e,t,a;try{t=(e=r.next()).value,a=e.done}catch(e){return void n.error(e)}a?n.complete():n.next(t)},0,!0)}),function(){return i.isFunction(null==r?void 0:r.return)&&r.return()}})}},63741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var r=n(92023),a=n(75031);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.Observable(function(n){a.executeSchedule(n,t,function(){var r=e[Symbol.asyncIterator]();a.executeSchedule(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}},64120:(e,t,n)=>{"use strict";const r=n(66293);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},64143:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var r=n(92023),a=n(52296),i=n(90160),o=n(1266);function s(e){return function(t){for(var n=[],r=function(r){n.push(a.innerFrom(e[r]).subscribe(o.createOperatorSubscriber(t,function(e){if(n){for(var a=0;a=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,i,o){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(42689))},64568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var r=n(44717);t.isScheduler=function(e){return e&&r.isFunction(e.schedule)}},64825:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(34942),a=n.n(r),i=n(60278),o=n.n(i)()(a());o.push([e.id,".rc-drawer {\n inset: 0;\n position: fixed;\n z-index: 1050;\n pointer-events: none;\n}\n.rc-drawer-inline {\n position: absolute;\n}\n.rc-drawer-mask {\n inset: 0;\n position: absolute;\n z-index: 1050;\n background: rgba(0, 0, 0, 0.5);\n pointer-events: auto;\n}\n.rc-drawer-content-wrapper {\n position: absolute;\n z-index: 1050;\n overflow: hidden;\n transition: transform 0.3s;\n}\n.rc-drawer-content-wrapper-hidden {\n display: none;\n}\n.rc-drawer-left .rc-drawer-content-wrapper {\n top: 0;\n bottom: 0;\n left: 0;\n}\n.rc-drawer-right .rc-drawer-content-wrapper {\n top: 0;\n right: 0;\n bottom: 0;\n}\n.rc-drawer-content {\n width: 100%;\n height: 100%;\n overflow: auto;\n background: #fff;\n pointer-events: auto;\n}\n","",{version:3,sources:["webpack://./../node_modules/rc-drawer/assets/index.css"],names:[],mappings:"AAAA;EACE,QAAQ;EACR,eAAe;EACf,aAAa;EACb,oBAAoB;AACtB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,QAAQ;EACR,kBAAkB;EAClB,aAAa;EACb,8BAA8B;EAC9B,oBAAoB;AACtB;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,gBAAgB;EAChB,0BAA0B;AAC5B;AACA;EACE,aAAa;AACf;AACA;EACE,MAAM;EACN,SAAS;EACT,OAAO;AACT;AACA;EACE,MAAM;EACN,QAAQ;EACR,SAAS;AACX;AACA;EACE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,oBAAoB;AACtB",sourcesContent:[".rc-drawer {\n inset: 0;\n position: fixed;\n z-index: 1050;\n pointer-events: none;\n}\n.rc-drawer-inline {\n position: absolute;\n}\n.rc-drawer-mask {\n inset: 0;\n position: absolute;\n z-index: 1050;\n background: rgba(0, 0, 0, 0.5);\n pointer-events: auto;\n}\n.rc-drawer-content-wrapper {\n position: absolute;\n z-index: 1050;\n overflow: hidden;\n transition: transform 0.3s;\n}\n.rc-drawer-content-wrapper-hidden {\n display: none;\n}\n.rc-drawer-left .rc-drawer-content-wrapper {\n top: 0;\n bottom: 0;\n left: 0;\n}\n.rc-drawer-right .rc-drawer-content-wrapper {\n top: 0;\n right: 0;\n bottom: 0;\n}\n.rc-drawer-content {\n width: 100%;\n height: 100%;\n overflow: auto;\n background: #fff;\n pointer-events: auto;\n}\n"],sourceRoot:""}]);const s=o},65547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},65805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return l.default}});var r=f(n(49568)),a=f(n(47786)),i=f(n(67827)),o=f(n(59724)),s=f(n(84646)),l=f(n(30277)),u=f(n(43215)),c=f(n(69676)),d=f(n(54738));function f(e){return e&&e.__esModule?e:{default:e}}},65938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HeatmapColorMode:()=>i,HeatmapColorScale:()=>o,HeatmapSelectionMode:()=>s,defaultOptions:()=>l,pluginVersion:()=>a});var r=n(85569);const a="12.3.1";var i=(e=>(e.Opacity="opacity",e.Scheme="scheme",e))(i||{}),o=(e=>(e.Exponential="exponential",e.Linear="linear",e))(o||{}),s=(e=>(e.X="x",e.Xy="xy",e.Y="y",e))(s||{});const l={calculate:!1,cellGap:1,cellValues:{},color:{scheme:"Oranges",fill:"dark-orange",reverse:!1,exponent:.5,steps:64},exemplars:{color:"rgba(255,0,255,0.7)"},filterValues:{le:1e-9},legend:{show:!0},selectionMode:"x",showValue:r.V.Auto,tooltip:{mode:r.d.Single,yHistogram:!1,showColorScale:!1}}},66095:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var r=n(35416),a=n(1266);t.isEmpty=function(){return r.operate(function(e,t){e.subscribe(a.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}},66293:(e,t,n)=>{"use strict";const r=/\s+/g;class a{constructor(e,t){if(t=o(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!v(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,n=i.get(t);if(n)return n;const r=this.options.loose,a=r?c[d.HYPHENRANGELOOSE]:c[d.HYPHENRANGE];e=e.replace(a,O(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(c[d.COMPARATORTRIM],f),l("comparator trim",e),e=e.replace(c[d.TILDETRIM],p),l("tilde trim",e),e=e.replace(c[d.CARETTRIM],h),l("caret trim",e);let o=e.split(" ").map(e=>_(e,this.options)).join(" ").split(/\s+/).map(e=>E(e,this.options));r&&(o=o.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[d.COMPARATORLOOSE])))),l("range list",o);const u=new Map,y=o.map(e=>new s(e,this.options));for(const e of y){if(v(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const b=[...u.values()];return i.set(t,b),b}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some(n=>b(n,t)&&e.set.some(e=>b(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,y=e=>""===e.value,b=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every(e=>a.intersects(e,t)),a=r.pop();return n},_=(e,t)=>(e=e.replace(c[d.BUILD],""),l("comp",e,t),e=k(e,t),l("caret",e),e=M(e,t),l("tildes",e),e=x(e,t),l("xrange",e),e=T(e,t),l("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,M=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{const n=t.loose?c[d.TILDELOOSE]:c[d.TILDE];return e.replace(n,(t,n,r,a,i)=>{let o;return l("tilde",e,t,n,r,a,i),w(n)?o="":w(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:w(a)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(l("replaceTilde pr",i),o=`>=${n}.${r}.${a}-${i} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,l("tilde return",o),o})},k=(e,t)=>e.trim().split(/\s+/).map(e=>L(e,t)).join(" "),L=(e,t)=>{l("caret",e,t);const n=t.loose?c[d.CARETLOOSE]:c[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,a,i,o)=>{let s;return l("caret",e,t,n,a,i,o),w(n)?s="":w(a)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(i)?s="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:o?(l("replaceCaret pr",o),s="0"===n?"0"===a?`>=${n}.${a}.${i}-${o} <${n}.${a}.${+i+1}-0`:`>=${n}.${a}.${i}-${o} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${i}-${o} <${+n+1}.0.0-0`):(l("no pr"),s="0"===n?"0"===a?`>=${n}.${a}.${i}${r} <${n}.${a}.${+i+1}-0`:`>=${n}.${a}.${i}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${i} <${+n+1}.0.0-0`),l("caret return",s),s})},x=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>D(e,t)).join(" ")),D=(e,t)=>{e=e.trim();const n=t.loose?c[d.XRANGELOOSE]:c[d.XRANGE];return e.replace(n,(n,r,a,i,o,s)=>{l("xRange",e,n,r,a,i,o,s);const u=w(a),c=u||w(i),d=c||w(o),f=d;return"="===r&&f&&(r=""),s=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&f?(c&&(i=0),o=0,">"===r?(r=">=",c?(a=+a+1,i=0,o=0):(i=+i+1,o=0)):"<="===r&&(r="<",c?a=+a+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+a}.${i}.${o}${s}`):c?n=`>=${a}.0.0${s} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${i}.0${s} <${a}.${+i+1}.0-0`),l("xRange return",n),n})},T=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[d.STAR],"")),E=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),O=e=>(t,n,r,a,i,o,s,l,u,c,d,f)=>`${n=w(r)?"":w(a)?`>=${r}.0.0${e?"-0":""}`:w(i)?`>=${r}.${a}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=w(u)?"":w(c)?`<${+u+1}.0.0-0`:w(d)?`<${u}.${+c+1}.0-0`:f?`<=${u}.${c}.${d}-${f}`:e?`<${u}.${c}.${+d+1}-0`:`<=${l}`}`.trim(),P=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},66467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var r=n(92023),a=n(90160),i=n(1266),o=n(16129),s=n(52296);t.onErrorResumeNext=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34629).__importDefault(n(96088)),a=function(e){return[e]};t.default=function(e,t){return void 0===t&&(t=a),function(n){return r.default(n,e.apply(void 0,t(n)))}}},66993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var r=n(35416),a=n(52296),i=n(1266);t.audit=function(e){return r.operate(function(t,n){var r=!1,o=null,s=null,l=!1,u=function(){if(null==s||s.unsubscribe(),s=null,r){r=!1;var e=o;o=null,n.next(e)}l&&n.complete()},c=function(){s=null,l&&n.complete()};t.subscribe(i.createOperatorSubscriber(n,function(t){r=!0,o=t,s||a.innerFrom(e(t)).subscribe(s=i.createOperatorSubscriber(n,u,c))},function(){l=!0,(!r||!s||s.closed)&&n.complete()}))})}},67195:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"Filter bewerken met sleutel {{keyLabel}}","managed-filter":"{{origin}} beheerde filter","non-applicable":"","remove-filter-with-key":"Filter verwijderen met sleutel {{keyLabel}}"},"adhoc-filters-combobox":{"remove-filter-value":"Filterwaarde verwijderen - {{itemLabel}}","use-custom-value":"Aangepaste waarde gebruiken: {{itemLabel}}"},"fallback-page":{content:"Als je hier bent gekomen via een link, dan kan er een bug in deze applicatie zijn.",subTitle:"De URL kwam met geen enkele pagina overeen",title:"Niet gevonden"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Scène samenvouwen","expand-button-label":"Scène uitvouwen","remove-button-label":"Scène verwijderen"},"scene-debugger":{"object-details":"Objectdetails","scene-graph":"Scènegrafiek","title-scene-debugger":"Scène-debugger"},"scene-grid-row":{"collapse-row":"Rij samenvouwen","expand-row":"Rij uitvouwen"},"scene-refresh-picker":{"text-cancel":"Annuleren","text-refresh":"Vernieuwen","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Vergelijking","button-tooltip":"Tijdsbestekvergelijking inschakelen"},splitter:{"aria-label-pane-resize-widget":"Grootte widget wijzigen"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Titel"}},"viz-panel-explore-button":{explore:"Verkennen"},"viz-panel-renderer":{"loading-plugin-panel":"Plug-inpaneel laden...","panel-plugin-has-no-panel-component":"Paneelplug-in heeft geen paneelcomponent"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Het renderen van te veel reeksen in één paneel kan de prestaties beïnvloeden en de leesbaarheid van de gegevens verminderen. ","warning-message":"Alleen {{seriesLimit}}-series weergeven"}},utils:{"controls-label":{"tooltip-remove":"Verwijderen"},"loading-indicator":{"content-cancel-query":"Query annuleren"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Filteroperator bewerken"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Filter toevoegen","title-add-filter":"Filter toevoegen"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Filter verwijderen","key-select":{"placeholder-select-label":"Selecteer label"},"label-select-label":"Selecteer label","title-remove-filter":"Filter verwijderen","value-select":{"placeholder-select-value":"Waarde selecteren"}},"data-source-variable":{label:{default:"standaard"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"wissen",tooltip:"Standaard toegepast in dit dashboard. Als het wordt bewerkt, wordt het overgenomen naar andere dashboards.","tooltip-restore-groupby-set-by-this-dashboard":"Herstel groupby ingesteld door dit dashboard."},"format-registry":{formats:{description:{"commaseparated-values":"Kommagescheiden waarden","double-quoted-values":"Dubbel geciteerde waarden","format-date-in-different-ways":"Datum op verschillende manieren opmaken","format-multivalued-variables-using-syntax-example":"Formatteer variabelen met meerdere waarden met behulp van glob-syntaxis, bijvoorbeeld {value1,value2}","html-escaping-of-values":"HTML-escaping van waarden","join-values-with-a-comma":"","json-stringify-value":"JSON-stringify-waarde","keep-value-as-is":"Huidige waarde behouden","multiple-values-are-formatted-like-variablevalue":"Meerdere waarden zijn opgemaakt als variabele=waarde","single-quoted-values":"Enkel geciteerde waarden","useful-escaping-values-taking-syntax-characters":"Handig voor URL-escapingwaarden, rekening houdend met URI-syntaxis tekens","useful-for-url-escaping-values":"Handig voor URL-escaping-waarden","values-are-separated-by-character":"Waarden worden gescheiden door | teken"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Groeperen op kiezer","placeholder-group-by-label":"Groeperen op label"},"interval-variable":{"placeholder-select-value":"Waarde selecteren"},"loading-options-placeholder":{"loading-options":"Opties laden…"},"multi-value-apply-button":{apply:"Toepassen"},"no-options-placeholder":{"no-options-found":"Geen opties gevonden"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Er is een fout opgetreden bij het ophalen van labels. Klik om opnieuw te proberen"},"test-object-with-variable-dependency":{title:{hello:"Hallo"}},"test-variable":{text:{text:"Tekst"}},"variable-value-input":{"placeholder-enter-value":"Voer waarde in"},"variable-value-select":{"placeholder-select-value":"Waarde selecteren"}}}}},67827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6682)),a=o(n(35696)),i=n(69676);function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const o=(e=e||{}).random||(e.rng||a.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return(0,i.unsafeStringify)(o)};t.default=s},68102:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},68158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var r=n(4575),a=n(74828);t.timestamp=function(e){return void 0===e&&(e=r.dateTimestampProvider),a.map(function(t){return{value:t,timestamp:e.now()}})}},68324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var r=n(35416),a=n(13754);t.expand=function(e,t,n){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,r.operate(function(r,i){return a.mergeInternals(r,i,e,t,void 0,!0,n)})}},68435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,o,s){var l;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var r=n(44717);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&r.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},69676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var r,a=(r=n(43215))&&r.__esModule?r:{default:r};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}var s=function(e,t=0){const n=o(e,t);if(!(0,a.default)(n))throw TypeError("Stringified UUID is invalid");return n};t.default=s},70884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var r=n(37676),a=n(18168),i=n(2318),o=n(35416),s=n(1266);t.single=function(e){return o.operate(function(t,n){var o,l=!1,u=!1,c=0;t.subscribe(s.createOperatorSubscriber(n,function(r){u=!0,e&&!e(r,c++,t)||(l&&n.error(new a.SequenceError("Too many matching values")),l=!0,o=r)},function(){l?(n.next(o),n.complete()):n.error(u?new i.NotFoundError("No matching values"):new r.EmptyError)}))})}},70940:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(85959);function a(e){for(var t=[],n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var r=n(11282),a=n(44717);t.concatMap=function(e,t){return a.isFunction(t)?r.mergeMap(e,t,1):r.mergeMap(e,1)}},71222:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return a(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(20020).Subject);t.BehaviorSubject=i},71502:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(42689))},71508:(e,t,n)=>{"use strict";n.d(t,{A:()=>Yt});var r=n(27405),a=n(97850),i=n(85959),o=n.n(i),s=n(48398),l=n.n(s);function u(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var c={},d=[];function f(e,t){}function p(e,t){}function h(e,t,n){t||c[n]||(e(!1,n),c[n]=!0)}function m(e,t){h(f,e,t)}m.preMessage=function(e){d.push(e)},m.resetWarned=function(){c={}},m.noteOnce=function(e,t){h(p,e,t)};const g=m;var v=n(40694),y=n(89555);var b=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),w=Symbol.for("react.fragment");var M=Number(i.version.split(".")[0]),S=function(e,t){"function"==typeof e?e(t):"object"===(0,v.A)(e)&&e&&"current"in e&&(e.current=t)},k=function(){for(var e=arguments.length,t=new Array(e),n=0;n=19)return!0;var r=(0,y.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===y.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===y.ForwardRef)};function D(e){return(0,i.isValidElement)(e)&&!((t=e)&&"object"===(0,v.A)(t)&&(t.$$typeof===b||t.$$typeof===_)&&t.type===w);var t}const T=i.createContext(null);var E=n(17451);var O=n(16438);function P(e){return function(e){if(Array.isArray(e))return(0,E.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,O.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Y=u()?i.useLayoutEffect:i.useEffect,C=function(e,t){var n=i.useRef(!0);Y(function(){return e(n.current)},t),Y(function(){return n.current=!1,function(){n.current=!0}},[])};const A=C;var R=[];var j="data-rc-order",I="data-rc-priority",F=new Map;function H(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function N(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function z(e){return Array.from((F.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!u())return null;var n=t.csp,r=t.prepend,a=t.priority,i=void 0===a?0:a,o=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),s="prependQueue"===o,l=document.createElement("style");l.setAttribute(j,o),s&&i&&l.setAttribute(I,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e;var c=N(t),d=c.firstChild;if(r){if(s){var f=(t.styles||z(c)).filter(function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(j)))return!1;var t=Number(e.getAttribute(I)||0);return i>=t});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,d)}else c.appendChild(l);return l}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=N(t);return(t.styles||z(n)).find(function(n){return n.getAttribute(H(t))===e})}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=W(e,t);n&&N(t).removeChild(n)}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=N(n),i=z(a),o=(0,r.A)((0,r.A)({},n),{},{styles:i});!function(e,t){var n=F.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=V("",t),a=r.parentNode;F.set(e,a),e.removeChild(r)}}(a,o);var s=W(t,o);if(s){var l,u,c;if(null!==(l=o.csp)&&void 0!==l&&l.nonce&&s.nonce!==(null===(u=o.csp)||void 0===u?void 0:u.nonce))s.nonce=null===(c=o.csp)||void 0===c?void 0:c.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var d=V(e,o);return d.setAttribute(H(o),t),d}function B(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,a,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var o=getComputedStyle(e);i.scrollbarColor=o.scrollbarColor,i.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),u=parseInt(s.height,10);try{var c=l?"width: ".concat(s.width,";"):"",d=u?"height: ".concat(s.height,";"):"";U("\n#".concat(t,"::-webkit-scrollbar {\n").concat(c,"\n").concat(d,"\n}"),t)}catch(e){console.error(e),r=l,a=u}}document.body.appendChild(n);var f=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,p=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),$(t),{width:f,height:p}}var q="rc-util-locker-".concat(Date.now()),G=0;function K(e){var t=!!e,n=i.useState(function(){return G+=1,"".concat(q,"_").concat(G)}),r=(0,a.A)(n,1)[0];A(function(){if(t){var e=(a=document.body,"undefined"!=typeof document&&a&&a instanceof Element?B(a):{width:0,height:0}).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;U("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),r)}else $(r);var a;return function(){$(r)}},[t,r])}var J=!1;var Q=function(e){return!1!==e&&(u()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},Z=i.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer,l=(e.debug,e.autoDestroy),c=void 0===l||l,d=e.children,f=i.useState(n),p=(0,a.A)(f,2),h=p[0],m=p[1],g=h||n;i.useEffect(function(){(c||n)&&m(n)},[n,c]);var v=i.useState(function(){return Q(o)}),y=(0,a.A)(v,2),b=y[0],_=y[1];i.useEffect(function(){var e=Q(o);_(null!=e?e:null)});var w=function(e){var t=i.useState(function(){return u()?document.createElement("div"):null}),n=(0,a.A)(t,1)[0],r=i.useRef(!1),o=i.useContext(T),s=i.useState(R),l=(0,a.A)(s,2),c=l[0],d=l[1],f=o||(r.current?void 0:function(e){d(function(t){return[e].concat(P(t))})});function p(){n.parentElement||document.body.appendChild(n),r.current=!0}function h(){var e;null===(e=n.parentElement)||void 0===e||e.removeChild(n),r.current=!1}return A(function(){return e?o?o(p):p():h(),h},[e]),A(function(){c.length&&(c.forEach(function(e){return e()}),d(R))},[c]),[n,f]}(g&&!b),M=(0,a.A)(w,2),S=M[0],k=M[1],D=null!=b?b:S;K(r&&n&&u()&&(D===S||D===document.body));var E=null;d&&x(d)&&t&&(E=d.ref);var O=L(E,t);if(!g||!u()||void 0===b)return null;var Y,C=!1===D||("boolean"==typeof Y&&(J=Y),J),j=d;return t&&(j=i.cloneElement(d,{ref:O})),i.createElement(T.Provider,{value:k},C?j:(0,s.createPortal)(j,D))});const X=Z;var ee=i.createContext(null),te=i.createContext({});const ne=ee;var re=n(41705),ae=n(68102),ie=n(4452),oe=n.n(ie);function se(e){return e instanceof HTMLElement||e instanceof SVGElement}function le(e){var t,n=function(e){return e&&"object"===(0,v.A)(e)&&se(e.nativeElement)?e.nativeElement:se(e)?e:null}(e);return n||(e instanceof o().Component?null===(t=l().findDOMNode)||void 0===t?void 0:t.call(l(),e):null)}var ue=i.createContext({});function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var de=n(92162);function fe(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:1),t};et.cancel=function(e){var t=Ze.get(e);return Xe(e),Je(t)};const tt=et;var nt=[Te,Ee,Oe,Pe],rt=[Te,Ye],at=!1;function it(e){return e===Oe||e===Pe}const ot=function(e,t,n){var r=Me(De),o=(0,a.A)(r,2),s=o[0],l=o[1],u=function(){var e=i.useRef(null);function t(){tt.cancel(e.current)}return i.useEffect(function(){return function(){t()}},[]),[function n(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=tt(function(){a<=1?r({isCanceled:function(){return i!==e.current}}):n(r,a-1)});e.current=i},t]}(),c=(0,a.A)(u,2),d=c[0],f=c[1];var p=t?rt:nt;return Ge(function(){if(s!==De&&s!==Pe){var e=p.indexOf(s),t=p[e+1],r=n(s);r===at?l(t,!0):t&&d(function(e){function n(){e.isCanceled()||l(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,s]),i.useEffect(function(){return function(){f()}},[]),[function(){l(Te,!0)},s]};function st(e,t,n,o){var s,l,u,c,d=o.motionEnter,f=void 0===d||d,p=o.motionAppear,h=void 0===p||p,m=o.motionLeave,g=void 0===m||m,v=o.motionDeadline,y=o.motionLeaveImmediately,b=o.onAppearPrepare,_=o.onEnterPrepare,w=o.onLeavePrepare,M=o.onAppearStart,S=o.onEnterStart,k=o.onLeaveStart,L=o.onAppearActive,x=o.onEnterActive,D=o.onLeaveActive,T=o.onAppearEnd,E=o.onEnterEnd,O=o.onLeaveEnd,P=o.onVisibleChanged,Y=Me(),C=(0,a.A)(Y,2),A=C[0],R=C[1],j=(s=Se,l=i.useReducer(function(e){return e+1},0),u=(0,a.A)(l,2)[1],c=i.useRef(s),[we(function(){return c.current}),we(function(e){c.current="function"==typeof e?e(c.current):e,u()})]),I=(0,a.A)(j,2),F=I[0],H=I[1],N=Me(null),z=(0,a.A)(N,2),V=z[0],W=z[1],$=F(),U=(0,i.useRef)(!1),B=(0,i.useRef)(null);function q(){return n()}var G=(0,i.useRef)(!1);function K(){H(Se),W(null,!0)}var J=we(function(e){var t=F();if(t!==Se){var n=q();if(!e||e.deadline||e.target===n){var r,a=G.current;t===ke&&a?r=null==T?void 0:T(n,e):t===Le&&a?r=null==E?void 0:E(n,e):t===xe&&a&&(r=null==O?void 0:O(n,e)),a&&!1!==r&&K()}}}),Q=function(e){var t=(0,i.useRef)();function n(t){t&&(t.removeEventListener(Be,e),t.removeEventListener(Ue,e))}return i.useEffect(function(){return function(){n(t.current)}},[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(Be,e),r.addEventListener(Ue,e),t.current=r)},n]}(J),Z=(0,a.A)(Q,1)[0],X=function(e){switch(e){case ke:return(0,re.A)((0,re.A)((0,re.A)({},Te,b),Ee,M),Oe,L);case Le:return(0,re.A)((0,re.A)((0,re.A)({},Te,_),Ee,S),Oe,x);case xe:return(0,re.A)((0,re.A)((0,re.A)({},Te,w),Ee,k),Oe,D);default:return{}}},ee=i.useMemo(function(){return X($)},[$]),te=ot($,!e,function(e){if(e===Te){var t=ee[Te];return t?t(q()):at}var n;ie in ee&&W((null===(n=ee[ie])||void 0===n?void 0:n.call(ee,q(),null))||null);return ie===Oe&&$!==Se&&(Z(q()),v>0&&(clearTimeout(B.current),B.current=setTimeout(function(){J({deadline:!0})},v))),ie===Ye&&K(),true}),ne=(0,a.A)(te,2),ae=ne[0],ie=ne[1],oe=it(ie);G.current=oe;var se=(0,i.useRef)(null);Ge(function(){if(!U.current||se.current!==t){R(t);var n,r=U.current;U.current=!0,!r&&t&&h&&(n=ke),r&&t&&f&&(n=Le),(r&&!t&&g||!r&&y&&!t&&g)&&(n=xe);var a=X(n);n&&(e||a[Te])?(H(n),ae()):H(Se),se.current=t}},[t]),(0,i.useEffect)(function(){($===ke&&!h||$===Le&&!f||$===xe&&!g)&&H(Se)},[h,f,g]),(0,i.useEffect)(function(){return function(){U.current=!1,clearTimeout(B.current)}},[]);var le=i.useRef(!1);(0,i.useEffect)(function(){A&&(le.current=!0),void 0!==A&&$===Se&&((le.current||A)&&(null==P||P(A)),le.current=!0)},[A,$]);var ue=V;return ee[Te]&&ie===Ee&&(ue=(0,r.A)({transition:"none"},ue)),[$,ie,ue,null!=A?A:t]}const lt=function(e){var t=e;"object"===(0,v.A)(e)&&(t=e.transitionSupport);var n=i.forwardRef(function(e,n){var o=e.visible,s=void 0===o||o,l=e.removeOnLeave,u=void 0===l||l,c=e.forceRender,d=e.children,f=e.motionName,p=e.leavedClassName,h=e.eventProps,m=function(e,n){return!(!e.motionName||!t||!1===n)}(e,i.useContext(ue).motion),g=(0,i.useRef)(),v=(0,i.useRef)();var y=st(m,s,function(){try{return g.current instanceof HTMLElement?g.current:le(v.current)}catch(e){return null}},e),b=(0,a.A)(y,4),_=b[0],w=b[1],M=b[2],k=b[3],L=i.useRef(k);k&&(L.current=!0);var T,E=i.useCallback(function(e){g.current=e,S(n,e)},[n]),O=(0,r.A)((0,r.A)({},h),{},{visible:s});if(d)if(_===Se)T=k?d((0,r.A)({},O),E):!u&&L.current&&p?d((0,r.A)((0,r.A)({},O),{},{className:p}),E):c||!u&&!p?d((0,r.A)((0,r.A)({},O),{},{style:{display:"none"}}),E):null;else{var P;w===Te?P="prepare":it(w)?P="active":w===Ee&&(P="start");var Y=qe(f,"".concat(_,"-").concat(P));T=d((0,r.A)((0,r.A)({},O),{},{className:oe()(qe(f,_),(0,re.A)((0,re.A)({},Y,Y&&P),f,"string"==typeof f)),style:M}),E)}else T=null;i.isValidElement(T)&&x(T)&&(function(e){if(e&&D(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null}(T)||(T=i.cloneElement(T,{ref:E})));return i.createElement(_e,{ref:v},T)});return n.displayName="CSSMotion",n}($e);var ut=n(29644),ct="add",dt="keep",ft="remove",pt="removed";function ht(e){var t;return t=e&&"object"===(0,v.A)(e)&&"key"in e?e:{key:e},(0,r.A)((0,r.A)({},t),{},{key:String(t.key)})}function mt(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ht)}var gt=["component","children","onVisibleChanged","onAllRemoved"],vt=["status"],yt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lt,t=function(t){me(a,t);var n=be(a);function a(){var e;ce(this,a);for(var t=arguments.length,i=new Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],a=0,i=t.length,o=mt(e),s=mt(t);o.forEach(function(e){for(var t=!1,o=a;o1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ft})).forEach(function(t){t.key===e&&(t.status=dt)})}),n}(a,i);return{keyEntities:o.filter(function(e){var t=a.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==pt||e.status!==ft})}}}]),a}(i.Component);(0,re.A)(t,"defaultProps",{component:"div"})}($e);const bt=lt;var _t={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=_t.F1&&t<=_t.F12)return!1;switch(t){case _t.ALT:case _t.CAPS_LOCK:case _t.CONTEXT_MENU:case _t.CTRL:case _t.DOWN:case _t.END:case _t.ESC:case _t.HOME:case _t.INSERT:case _t.LEFT:case _t.MAC_FF_META:case _t.META:case _t.NUMLOCK:case _t.NUM_CENTER:case _t.PAGE_DOWN:case _t.PAGE_UP:case _t.PAUSE:case _t.PRINT_SCREEN:case _t.RIGHT:case _t.SHIFT:case _t.UP:case _t.WIN_KEY:case _t.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=_t.ZERO&&e<=_t.NINE)return!0;if(e>=_t.NUM_ZERO&&e<=_t.NUM_MULTIPLY)return!0;if(e>=_t.A&&e<=_t.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case _t.SPACE:case _t.QUESTION_MARK:case _t.NUM_PLUS:case _t.NUM_MINUS:case _t.NUM_PERIOD:case _t.NUM_DIVISION:case _t.SEMICOLON:case _t.DASH:case _t.EQUALS:case _t.COMMA:case _t.PERIOD:case _t.SLASH:case _t.APOSTROPHE:case _t.SINGLE_QUOTE:case _t.OPEN_SQUARE_BRACKET:case _t.BACKSLASH:case _t.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const wt=_t;var Mt="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function St(e,t){return 0===e.indexOf(t)}function kt(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.A)({},n);var a={};return Object.keys(e).forEach(function(n){(t.aria&&("role"===n||St(n,"aria-"))||t.data&&St(n,"data-")||t.attr&&Mt.includes(n))&&(a[n]=e[n])}),a}var Lt=["prefixCls","className","containerRef"];const xt=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,a=(0,ut.A)(e,Lt),o=i.useContext(te).panel,s=L(o,r);return i.createElement("div",(0,ae.A)({className:oe()("".concat(t,"-content"),n),role:"dialog",ref:s},kt(e,{aria:!0}),{"aria-modal":"true"},a))};function Dt(e){return"string"==typeof e&&String(Number(e))===e?(g(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Tt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Et(e,t){var n,o,s,l=e.prefixCls,u=e.open,c=e.placement,d=e.inline,f=e.push,p=e.forceRender,h=e.autoFocus,m=e.keyboard,g=e.classNames,v=e.rootClassName,y=e.rootStyle,b=e.zIndex,_=e.className,w=e.id,M=e.style,S=e.motion,k=e.width,L=e.height,x=e.children,D=e.mask,T=e.maskClosable,E=e.maskMotion,O=e.maskClassName,P=e.maskStyle,Y=e.afterOpenChange,C=e.onClose,A=e.onMouseEnter,R=e.onMouseOver,j=e.onMouseLeave,I=e.onClick,F=e.onKeyDown,H=e.onKeyUp,N=e.styles,z=e.drawerRender,V=i.useRef(),W=i.useRef(),$=i.useRef();i.useImperativeHandle(t,function(){return V.current});i.useEffect(function(){var e;u&&h&&(null===(e=V.current)||void 0===e||e.focus({preventScroll:!0}))},[u]);var U=i.useState(!1),B=(0,a.A)(U,2),q=B[0],G=B[1],K=i.useContext(ne),J=null!==(n=null!==(o=null===(s="boolean"==typeof f?f?{}:{distance:0}:f||{})||void 0===s?void 0:s.distance)&&void 0!==o?o:null==K?void 0:K.pushDistance)&&void 0!==n?n:180,Q=i.useMemo(function(){return{pushDistance:J,push:function(){G(!0)},pull:function(){G(!1)}}},[J]);i.useEffect(function(){var e,t;u?null==K||null===(e=K.push)||void 0===e||e.call(K):null==K||null===(t=K.pull)||void 0===t||t.call(K)},[u]),i.useEffect(function(){return function(){var e;null==K||null===(e=K.pull)||void 0===e||e.call(K)}},[]);var Z=i.createElement(bt,(0,ae.A)({key:"mask"},E,{visible:D&&u}),function(e,t){var n=e.className,a=e.style;return i.createElement("div",{className:oe()("".concat(l,"-mask"),n,null==g?void 0:g.mask,O),style:(0,r.A)((0,r.A)((0,r.A)({},a),P),null==N?void 0:N.mask),onClick:T&&u?C:void 0,ref:t})}),X="function"==typeof S?S(c):S,ee={};if(q&&J)switch(c){case"top":ee.transform="translateY(".concat(J,"px)");break;case"bottom":ee.transform="translateY(".concat(-J,"px)");break;case"left":ee.transform="translateX(".concat(J,"px)");break;default:ee.transform="translateX(".concat(-J,"px)")}"left"===c||"right"===c?ee.width=Dt(k):ee.height=Dt(L);var te={onMouseEnter:A,onMouseOver:R,onMouseLeave:j,onClick:I,onKeyDown:F,onKeyUp:H},ie=i.createElement(bt,(0,ae.A)({key:"panel"},X,{visible:u,forceRender:p,onVisibleChanged:function(e){null==Y||Y(e)},removeOnLeave:!1,leavedClassName:"".concat(l,"-content-wrapper-hidden")}),function(t,n){var a=t.className,o=t.style,s=i.createElement(xt,(0,ae.A)({id:w,containerRef:n,prefixCls:l,className:oe()(_,null==g?void 0:g.content),style:(0,r.A)((0,r.A)({},M),null==N?void 0:N.content)},kt(e,{aria:!0}),te),x);return i.createElement("div",(0,ae.A)({className:oe()("".concat(l,"-content-wrapper"),null==g?void 0:g.wrapper,a),style:(0,r.A)((0,r.A)((0,r.A)({},ee),o),null==N?void 0:N.wrapper)},kt(e,{data:!0})),z?z(s):s)}),se=(0,r.A)({},y);return b&&(se.zIndex=b),i.createElement(ne.Provider,{value:Q},i.createElement("div",{className:oe()(l,"".concat(l,"-").concat(c),v,(0,re.A)((0,re.A)({},"".concat(l,"-open"),u),"".concat(l,"-inline"),d)),style:se,tabIndex:-1,ref:V,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case wt.TAB:var r;if(t===wt.TAB)if(n||document.activeElement!==$.current){if(n&&document.activeElement===W.current){var a;null===(a=$.current)||void 0===a||a.focus({preventScroll:!0})}}else null===(r=W.current)||void 0===r||r.focus({preventScroll:!0});break;case wt.ESC:C&&m&&(e.stopPropagation(),C(e))}}},Z,i.createElement("div",{tabIndex:0,ref:W,style:Tt,"aria-hidden":"true","data-sentinel":"start"}),ie,i.createElement("div",{tabIndex:0,ref:$,style:Tt,"aria-hidden":"true","data-sentinel":"end"})))}const Ot=i.forwardRef(Et);const Pt=function(e){var t=e.open,n=void 0!==t&&t,o=e.prefixCls,s=void 0===o?"rc-drawer":o,l=e.placement,u=void 0===l?"right":l,c=e.autoFocus,d=void 0===c||c,f=e.keyboard,p=void 0===f||f,h=e.width,m=void 0===h?378:h,g=e.mask,v=void 0===g||g,y=e.maskClosable,b=void 0===y||y,_=e.getContainer,w=e.forceRender,M=e.afterOpenChange,S=e.destroyOnClose,k=e.onMouseEnter,L=e.onMouseOver,x=e.onMouseLeave,D=e.onClick,T=e.onKeyDown,E=e.onKeyUp,O=e.panelRef,P=i.useState(!1),Y=(0,a.A)(P,2),C=Y[0],R=Y[1];var j=i.useState(!1),I=(0,a.A)(j,2),F=I[0],H=I[1];A(function(){H(!0)},[]);var N=!!F&&n,z=i.useRef(),V=i.useRef();A(function(){N&&(V.current=document.activeElement)},[N]);var W=i.useMemo(function(){return{panel:O}},[O]);if(!w&&!C&&!N&&S)return null;var $={onMouseEnter:k,onMouseOver:L,onMouseLeave:x,onClick:D,onKeyDown:T,onKeyUp:E},U=(0,r.A)((0,r.A)({},e),{},{open:N,prefixCls:s,placement:u,autoFocus:d,keyboard:p,width:m,mask:v,maskClosable:b,inline:!1===_,afterOpenChange:function(e){var t,n;(R(e),null==M||M(e),e||!V.current||null!==(t=z.current)&&void 0!==t&&t.contains(V.current))||(null===(n=V.current)||void 0===n||n.focus({preventScroll:!0}))},ref:z},$);return i.createElement(te.Provider,{value:W},i.createElement(X,{open:N||w||C,autoDestroy:!1,getContainer:_,autoLock:v&&(N||C)},i.createElement(Ot,U)))},Yt=Pt},71570:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>i,TW:()=>r,mD:()=>a});const r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},a=e=>{if(e&&"window"in e&&e.window===e)return e;return r(e).defaultView||window};function i(e){return null!==(t=e)&&"object"==typeof t&&"nodeType"in t&&"number"==typeof t.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;var t}},71792:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(85959),a=e=>"string"!=typeof e?{}:e.split(/ ?; ?/).reduce((e,t)=>{const[n,r]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,""):e.trim());if(n&&r){const t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`);let a=r.trim();Number.isNaN(Number(r))||(a=Number(r)),e[n.startsWith("-")?n:t]=a}return e},{});var i=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],o={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function s(e,t){const{key:n,level:s,...u}=t;switch(e.nodeType){case 1:return r.createElement(function(e){if(/[a-z]+[A-Z]+[a-z]+/.test(e))return e;return e.toLowerCase()}(e.nodeName),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute("class");t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case"class":break;case"style":n[e.name]=a(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[o[e.name]||e.name]=!0;break;default:n[o[e.name]||e.name]=e.value}})}return n}(e,n),l(e.childNodes,s,u));case 3:{const t=e.nodeValue?.toString()??"";if(!u.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;const n=e.parentNode.nodeName.toLowerCase();return i.includes(n)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return l(e.childNodes,s,t)}}function l(e,t,n){const r=[...e].map((e,r)=>c(e,{...n,index:r,level:t+1})).filter(Boolean);return r.length?r:null}function u(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:a="body > *",type:i="text/html"}=t;try{const o=(new DOMParser).parseFromString(e,i);if(n){const{childNodes:e}=o.body;return r?e:[...e].map(e=>c(e,t))}const s=o.querySelector(a)||o.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:c(s,t)}catch(e){0}return null}(e,t):e instanceof Node?c(e,t):null}function c(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:n=[],index:r=0,level:a=0,randomKey:i}=t;let o=e,l=`${a}-${r}`;const u=[];return i&&0===a&&(l=`${function(e=6){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let r=e;r>0;--r)n+=t[Math.round(61*Math.random())];return n}()}-${l}`),Array.isArray(n)&&n.forEach(t=>{t.condition(o,l,a)&&("function"==typeof t.pre&&(o=t.pre(o,l,a),o instanceof Node||(o=e)),"function"==typeof t.post&&u.push(t.post(o,l,a)))}),u.length?u:s(o,{key:l,level:a,...t})}var d=Object.defineProperty,f=(e,t,n)=>((e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),p="react-inlinesvg",h={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function m(e){return e[Math.floor(Math.random()*e.length)]}function g(){return!("undefined"==typeof window||!window.document?.createElement)}function v(){return function(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"undefined"!=typeof window&&null!==window}async function y(e,t){const n=await fetch(e,t),r=n.headers.get("content-type"),[a]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(e=>a.includes(e)))throw new Error(`Content type isn't valid: ${a}`);return n.text()}function b(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}var _,w=class{constructor(){f(this,"cacheApi"),f(this,"cacheStore"),f(this,"subscribers",[]),f(this,"isReady",!1),this.cacheStore=new Map;let e=p,t=!1;g()&&(e=window.REACT_INLINESVG_CACHE_NAME??p,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then(e=>{this.cacheApi=e}).catch(e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===h.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==h.LOADING){if(!n?.content){this.cacheStore.set(e,{content:"",status:h.LOADING});try{const n=await y(e,t);this.cacheStore.set(e,{content:n,status:h.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:h.FAILED}),t}}}else await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:h.IDLE}),await this.fetchAndAddToInternalCache(e,t)})}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===h.LOADED)return;if(n?.status===h.LOADING)return void await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:h.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});this.cacheStore.set(e,{content:"",status:h.LOADING});const r=await(this.cacheApi?.match(e));if(r){const t=await r.text();return void this.cacheStore.set(e,{content:t,status:h.LOADED})}try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),r=await(n?.text())??"";this.cacheStore.set(e,{content:r,status:h.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:h.FAILED}),t}}async handleLoading(e,t){for(let t=0;t<10;t++){if(this.cacheStore.get(e)?.status!==h.LOADING)return;await b(.1)}await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function M(e){const t=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{t.current=e}),t.current}function S(e){const{baseURL:t,content:n,description:r,handleError:a,hash:i,preProcessor:o,title:s,uniquifyIDs:l=!1}=e;try{const e=function(e,t){if(t)return t(e);return e}(n,o),a=u(e,{nodeOnly:!0});if(!(a&&a instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const c=k(a,{baseURL:t,hash:i,uniquifyIDs:l});if(r){const e=c.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=r,c.prepend(t)}if(void 0!==s){const e=c.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),s){const e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=s,c.prepend(e)}}return c}catch(e){return a(e)}}function k(e,t){const{baseURL:n="",hash:r,uniquifyIDs:a}=t,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],o=["href","xlink:href"];return a?([...e.children].forEach(e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map(e=>{const t=e,a=/url\((.*?)\)/.exec(e.value);return a?.[1]&&(t.value=e.value.replace(a[0],`url(${n}${a[1]}__${r})`)),t});i.forEach(e=>{const n=t.find(t=>t.name===e);var a,i;n&&(a=e,i=n.value,!o.includes(a)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)})}return e.children.length?k(e,t):e}),e):e}function L(e){const{cacheRequests:t=!0,children:n=null,description:a,fetchOptions:i,innerRef:o,loader:s=null,onError:l,onLoad:c,src:d,title:f,uniqueHash:p}=e,[b,w]=(0,r.useReducer)((e,t)=>({...e,...t}),{content:"",element:null,isCached:t&&_.isCached(e.src),status:h.IDLE}),{content:k,element:L,isCached:x,status:D}=b,T=M(e),E=M(b),O=(0,r.useRef)(p??function(e){const t="abcdefghijklmnopqrstuvwxyz",n=`${t}${t.toUpperCase()}1234567890`;let r="";for(let t=0;t{P.current&&(w({status:"Browser does not support SVG"===e.message?h.UNSUPPORTED:h.FAILED}),l?.(e))},[l]),A=(0,r.useCallback)((e,t=!1)=>{P.current&&w({content:e,isCached:t,status:h.LOADED})},[]),R=(0,r.useCallback)(async()=>{const e=await y(d,i);A(e)},[i,A,d]),j=(0,r.useCallback)(()=>{try{const t=u(S({...e,handleError:C,hash:O.current,content:k}));if(!t||!(0,r.isValidElement)(t))throw new Error("Could not convert the src to a React element");w({element:t,status:h.READY})}catch(e){C(e)}},[k,C,e]),I=(0,r.useCallback)(async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(d);let n;if(e?n=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):d.includes("{P.current&&w({content:"",element:null,isCached:!1,status:h.LOADING})},[]);(0,r.useEffect)(()=>{if(P.current=!0,g()&&!Y.current){try{if(D===h.IDLE){if(!v())throw new Error("Browser does not support SVG");if(!d)throw new Error("Missing src");F()}}catch(e){C(e)}return Y.current=!0,()=>{P.current=!1}}},[]),(0,r.useEffect)(()=>{if(g()&&T&&T.src!==d){if(!d)return void C(new Error("Missing src"));F()}},[C,F,T,d]),(0,r.useEffect)(()=>{D===h.LOADED&&j()},[D,j]),(0,r.useEffect)(()=>{g()&&T&&T.src===d&&(T.title===f&&T.description===a||j())},[a,j,T,d,f]),(0,r.useEffect)(()=>{if(E)switch(D){case h.LOADING:E.status!==h.LOADING&&I();break;case h.LOADED:E.status!==h.LOADED&&j();break;case h.READY:E.status!==h.READY&&c?.(d,x)}},[I,j,x,c,E,d,D]);const H=function(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return g()?L?(0,r.cloneElement)(L,{ref:o,...H}):[h.UNSUPPORTED,h.FAILED].includes(D)?n:s:s}function x(e){_||(_=new w);const{loader:t}=e,[n,a]=(0,r.useState)(_.isReady);return(0,r.useEffect)(()=>{n||_.onReady(()=>{a(!0)})},[n]),n?r.createElement(L,{...e}):t}},72393:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var r=n(79391);function a(e){return 0===e.length?r.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}t.pipe=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var r=n(35416),a=n(16129),i=n(1266),o=n(52296);t.debounce=function(e){return r.operate(function(t,n){var r=!1,s=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,r){r=!1;var e=s;s=null,n.next(e)}};t.subscribe(i.createOperatorSubscriber(n,function(t){null==l||l.unsubscribe(),r=!0,s=t,l=i.createOperatorSubscriber(n,u,a.noop),o.innerFrom(e(t)).subscribe(l)},function(){u(),n.complete()},void 0,function(){s=l=null}))})}},72808:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(42689))},72914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var r=n(35416),a=n(1266);t.filter=function(e,t){return r.operate(function(n,r){var i=0;n.subscribe(a.createOperatorSubscriber(r,function(n){return e.call(t,n,i++)&&r.next(n)}))})}},73039:(e,t,n)=>{"use strict";const r=n(5566);e.exports=(e,t,n)=>r(e,t,n)>=0},73727:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(42689))},74379:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(42689))},74492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var r=n(35416),a=n(1266);t.pairwise=function(){return r.operate(function(e,t){var n,r=!1;e.subscribe(a.createOperatorSubscriber(t,function(e){var a=n;n=e,r&&t.next([a,e]),r=!0}))})}},74636:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}a.default=e,n&&n.set(e,a);return a}(n(85959)),i=d(n(62688)),o=d(n(77842)),s=n(20414),l=n(50544),u=d(n(59482)),c=["breakpoint","breakpoints","cols","layouts","margin","containerPadding","onBreakpointChange","onLayoutChange","onWidthChange"];function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(){return p=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(85959),a=n(48398),i=n(19426);function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const s=o(r),l="undefined"!=typeof document?s.useLayoutEffect:s.useEffect;function u({useFlushSync:e=!0,...t}){const n=s.useReducer(()=>({}),{})[1],r={...t,onChange:(r,i)=>{var o;e&&i?a.flushSync(n):n(),null==(o=t.onChange)||o.call(t,r,i)}},[o]=s.useState(()=>new i.Virtualizer(r));return o.setOptions(r),l(()=>o._didMount(),[]),l(()=>o._willUpdate()),o}t.useVirtualizer=function(e){return u({observeElementRect:i.observeElementRect,observeElementOffset:i.observeElementOffset,scrollToFn:i.elementScroll,...e})},t.useWindowVirtualizer=function(e){return u({getScrollElement:()=>"undefined"!=typeof document?window:null,observeElementRect:i.observeWindowRect,observeElementOffset:i.observeWindowOffset,scrollToFn:i.windowScroll,initialOffset:()=>"undefined"!=typeof document?window.scrollY:0,...e})},Object.keys(i).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:()=>i[e]})})},74828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var r=n(35416),a=n(1266);t.map=function(e,t){return r.operate(function(n,r){var i=0;n.subscribe(a.createOperatorSubscriber(r,function(n){r.next(e.call(t,n,i++))}))})}},75031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,n,r,a){void 0===r&&(r=0),void 0===a&&(a=!1);var i=t.schedule(function(){n(),a?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!a)return i}},75251:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(42689))},75305:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}function n(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var r=t.toLowerCase();return r.includes("w")||r.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}})}(n(42689))},75492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var r=n(20020),a=n(35416),i=n(1266),o=n(16129),s=n(52296);t.window=function(e){return a.operate(function(t,n){var a=new r.Subject;n.next(a.asObservable());var l=function(e){a.error(e),n.error(e)};return t.subscribe(i.createOperatorSubscriber(n,function(e){return null==a?void 0:a.next(e)},function(){a.complete(),n.complete()},l)),s.innerFrom(e).subscribe(i.createOperatorSubscriber(n,function(){a.complete(),n.next(a=new r.Subject)},o.noop,l)),function(){null==a||a.unsubscribe(),a=null}})}},75906:e=>{"use strict";const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},75945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var r=n(4386),a=n(16516),i=n(35461);t.throttleTime=function(e,t,n){void 0===t&&(t=r.asyncScheduler);var o=i.timer(e,t);return a.throttle(function(){return o},n)}},76087:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case o:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case l:return e;default:return t}}case a:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.isMemo=function(e){return v(e)===h}},76184:(e,t,n)=>{"use strict";const r=n(34473);e.exports=(e,t,n)=>r(e,t,"<",n)},76506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},76511:(e,t)=>{var n=Object.keys;t.L=function(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;for(var r=n(e),a=r.length,i=0;i=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var a=n(35416),i=n(1266),o=n(7394);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,a.operate(function(n,a){var s=[],l=0;n.subscribe(i.createOperatorSubscriber(a,function(n){var i,u,c,d,f=null;l++%t===0&&s.push([]);try{for(var p=r(s),h=p.next();!h.done;h=p.next()){(v=h.value).push(n),e<=v.length&&(f=null!=f?f:[]).push(v)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(u=p.return)&&u.call(p)}finally{if(i)throw i.error}}if(f)try{for(var m=r(f),g=m.next();!g.done;g=m.next()){var v=g.value;o.arrRemove(s,v),a.next(v)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(d=m.return)&&d.call(m)}finally{if(c)throw c.error}}},function(){var e,t;try{for(var n=r(s),i=n.next();!i.done;i=n.next()){var o=i.value;a.next(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}a.complete()},void 0,function(){s=null}))})}},77192:(e,t,n)=>{"use strict";const r=n(39534),a=n(9618),{safeRe:i,t:o}=n(2728);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let a;for(;(a=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&a.index+a[0].length===n.index+n[0].length||(n=a),r.lastIndex=a.index+a[1].length+a[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE]);if(null===n)return null;const s=n[2],l=n[3]||"0",u=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return a(`${s}.${l}.${u}${c}${d}`,t)}},77243:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(42689))},77270:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(42689))},77638:function(e,t,n){"use strict";var r,a=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var i=function(e){function t(t,n){return e.call(this)||this}return a(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(27491).Subscription);t.Action=i},77842:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",o="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",M=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[i]=k[o]=k[_]=k[s]=k[w]=k[l]=k[u]=k[c]=k[d]=k[f]=k[p]=k[m]=k[g]=k[v]=k[b]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,x="object"==typeof self&&self&&self.Object===Object&&self,D=L||x||Function("return this")(),T=t&&!t.nodeType&&t,E=T&&e&&!e.nodeType&&e,O=E&&E.exports===T,P=O&&L.process,Y=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),C=Y&&Y.isTypedArray;function A(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var c=-1,d=!0,f=2&n?new _e:void 0;for(i.set(e,t),i.set(t,e);++c-1},ye.prototype.set=function(e,t){var n=this.__data__,r=Se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(ie||ye),string:new ve}},be.prototype.delete=function(e){var t=Pe(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Pe(this,e).get(e)},be.prototype.has=function(e){return Pe(this,e).has(e)},be.prototype.set=function(e,t){var n=Pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},_e.prototype.add=_e.prototype.push=function(e){return this.__data__.set(e,r),this},_e.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ye,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Ce=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=a}function We(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function $e(e){return null!=e&&"object"==typeof e}var Ue=C?function(e){return function(t){return e(t)}}(C):function(e){return $e(e)&&Ve(e.length)&&!!k[ke(e)]};function Be(e){return null!=(t=e)&&Ve(t.length)&&!ze(t)?Me(e):Te(e);var t}e.exports=function(e,t){return xe(e,t)}},77893:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(42689))},78029:e=>{"use strict";const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},78477:(e,t)=>{"use strict";t.default={"grafana-scenes":{components:{"adhoc-filter-pill":{"edit-filter-with-key":"{{keyLabel}} kulcsos szűrő szerkesztése","managed-filter":"{{origin}} által kezelt szűrő","non-applicable":"","remove-filter-with-key":"{{keyLabel}} kulcsos szűrő eltávolítása"},"adhoc-filters-combobox":{"remove-filter-value":"Szűrőérték eltávolítása – {{itemLabel}}","use-custom-value":"Egyéni érték használata: {{itemLabel}}"},"fallback-page":{content:"Ha egy hivatkozáson keresztül lépett ide, akkor lehet, hogy hiba van ebben az alkalmazásban.",subTitle:"Az URL-cím nem egyezett egyetlen oldallal sem",title:"Nem található"},"lazy-loader":{placeholder:""},"nested-scene-renderer":{"collapse-button-label":"Jelenet összecsukása","expand-button-label":"Jelenet kibontása","remove-button-label":"Jelenet eltávolítása"},"scene-debugger":{"object-details":"Az objektum részletei","scene-graph":"Jelenetdiagram","title-scene-debugger":"Jelenet-hibakereső"},"scene-grid-row":{"collapse-row":"Sor összecsukása","expand-row":"Sor kibontása"},"scene-refresh-picker":{"text-cancel":"Mégse","text-refresh":"Frissítés","tooltip-cancel":""},"scene-time-range-compare-renderer":{"button-label":"Összehasonlítás","button-tooltip":"Időkeret-összehasonlítás engedélyezése"},splitter:{"aria-label-pane-resize-widget":"Ablaktábla-átméretezési widget"},"time-picker":{"move-backward-tooltip":"","move-forward-tooltip":""},"viz-panel":{title:{title:"Cím"}},"viz-panel-explore-button":{explore:"Explore"},"viz-panel-renderer":{"loading-plugin-panel":"Bővítménypanel betöltése…","panel-plugin-has-no-panel-component":"A panelbővítménynek nincs panelösszetevője"},"viz-panel-series-limit":{"content-rendering-series-single-panel-impact-performance":"Ha túl sok sorozatot jelenít meg egyetlen panelen, az hatással lehet a teljesítményre, és megnehezítheti az adatok olvasását.","warning-message":"Csak {{seriesLimit}} sorozat megjelenítése"}},utils:{"controls-label":{"tooltip-remove":"Eltávolítás"},"loading-indicator":{"content-cancel-query":"A lekérdezés megszakítása"}},variables:{"ad-hoc-combobox":{"aria-label-edit-filter-operator":"Szűrőoperátor szerkesztése"},"ad-hoc-filter-builder":{"aria-label-add-filter":"Szűrő hozzáadása","title-add-filter":"Szűrő hozzáadása"},"ad-hoc-filter-renderer":{"aria-label-remove-filter":"Szűrő eltávolítása","key-select":{"placeholder-select-label":"Címke kiválasztása"},"label-select-label":"Címke kiválasztása","title-remove-filter":"Szűrő eltávolítása","value-select":{"placeholder-select-value":"Érték kiválasztása"}},"data-source-variable":{label:{default:"alapértelmezés"}},"default-group-by-custom-indicator-container":{"aria-label-clear":"törlés",tooltip:"Alapértelmezés szerint alkalmazva ezen az irányítópulton. A szerkesztést átviszi más irányítópultokra.","tooltip-restore-groupby-set-by-this-dashboard":"A jelen irányítópult által beállított csoportosítási szempont visszaállítása."},"format-registry":{formats:{description:{"commaseparated-values":"Vesszővel elválasztott értékek","double-quoted-values":"Dupla idézőjeles értékek","format-date-in-different-ways":"Dátum formázása különböző módokon","format-multivalued-variables-using-syntax-example":"Többértékű változók formázása glob szintaxissal, például: {érték1,érték2}","html-escaping-of-values":"Értékek módosított HTML-értelmezése","join-values-with-a-comma":"","json-stringify-value":"A JSON stringify értéke","keep-value-as-is":"Érték megtartása adott állapotban","multiple-values-are-formatted-like-variablevalue":"Több érték formázása változó=érték formátumban","single-quoted-values":"Egyszeres idézőjeles értékek","useful-escaping-values-taking-syntax-characters":"Hasznos az értékek módosított URL-értelmezéséhez, az URI-szintaktikai karakterek figyelembevételével","useful-for-url-escaping-values":"Hasznos az értékek módosított URL-értelmezéséhez","values-are-separated-by-character":"Az értékeket | karakter választja el"}}},"group-by-variable-renderer":{"aria-label-group-by-selector":"Csoportosításiszempont-választó","placeholder-group-by-label":"Csoportosítási szempont címkéje"},"interval-variable":{"placeholder-select-value":"Érték kiválasztása"},"loading-options-placeholder":{"loading-options":"Beállítások betöltése…"},"multi-value-apply-button":{apply:"Alkalmaz"},"no-options-placeholder":{"no-options-found":"Nem található beállítás"},"options-error-placeholder":{"error-occurred-fetching-labels-click-retry":"Hiba történt a címkék lekérése során. Kattintson az újrapróbálkozáshoz"},"test-object-with-variable-dependency":{title:{hello:"Üdv"}},"test-variable":{text:{text:"Szöveg"}},"variable-value-input":{"placeholder-enter-value":"Érték megadása"},"variable-value-select":{"placeholder-select-value":"Érték kiválasztása"}}}}},78510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbortedDeferredError:()=>o.AbortedDeferredError,Await:()=>o.Await,BrowserRouter:()=>kt,Form:()=>Pt,HashRouter:()=>Lt,Link:()=>Et,MemoryRouter:()=>o.MemoryRouter,NavLink:()=>Ot,Navigate:()=>o.Navigate,NavigationType:()=>o.NavigationType,Outlet:()=>o.Outlet,Route:()=>o.Route,Router:()=>o.Router,RouterProvider:()=>wt,Routes:()=>o.Routes,ScrollRestoration:()=>Yt,UNSAFE_DataRouterContext:()=>o.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>o.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>q,UNSAFE_FetchersContext:()=>mt,UNSAFE_LocationContext:()=>o.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>o.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>o.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>ht,UNSAFE_useRouteId:()=>o.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>qt,createBrowserRouter:()=>ct,createHashRouter:()=>dt,createMemoryRouter:()=>o.createMemoryRouter,createPath:()=>o.createPath,createRoutesFromChildren:()=>o.createRoutesFromChildren,createRoutesFromElements:()=>o.createRoutesFromElements,createSearchParams:()=>nt,defer:()=>o.defer,generatePath:()=>o.generatePath,isRouteErrorResponse:()=>o.isRouteErrorResponse,json:()=>o.json,matchPath:()=>o.matchPath,matchRoutes:()=>o.matchRoutes,parsePath:()=>o.parsePath,redirect:()=>o.redirect,redirectDocument:()=>o.redirectDocument,renderMatches:()=>o.renderMatches,replace:()=>o.replace,resolvePath:()=>o.resolvePath,unstable_HistoryRouter:()=>xt,unstable_usePrompt:()=>Kt,useActionData:()=>o.useActionData,useAsyncError:()=>o.useAsyncError,useAsyncValue:()=>o.useAsyncValue,useBeforeUnload:()=>Gt,useBlocker:()=>o.useBlocker,useFetcher:()=>Wt,useFetchers:()=>$t,useFormAction:()=>Vt,useHref:()=>o.useHref,useInRouterContext:()=>o.useInRouterContext,useLinkClickHandler:()=>It,useLoaderData:()=>o.useLoaderData,useLocation:()=>o.useLocation,useMatch:()=>o.useMatch,useMatches:()=>o.useMatches,useNavigate:()=>o.useNavigate,useNavigation:()=>o.useNavigation,useNavigationType:()=>o.useNavigationType,useOutlet:()=>o.useOutlet,useOutletContext:()=>o.useOutletContext,useParams:()=>o.useParams,useResolvedPath:()=>o.useResolvedPath,useRevalidator:()=>o.useRevalidator,useRouteError:()=>o.useRouteError,useRouteLoaderData:()=>o.useRouteLoaderData,useRoutes:()=>o.useRoutes,useSearchParams:()=>Ft,useSubmit:()=>zt,useViewTransitionState:()=>Jt});var r,a=n(85959),i=n(48398),o=n(81159);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function v(e,t,n,a){void 0===a&&(a={});let{window:i=document.defaultView,v5Compat:o=!1}=a,u=i.history,c=r.Pop,f=null,g=v();function v(){return(u.state||{idx:null}).idx}function y(){c=r.Pop;let e=v(),t=null==e?null:e-g;g=e,f&&f({action:c,location:_.location,delta:t})}function b(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"==typeof e?e:m(e);return n=n.replace(/ $/,"%20"),d(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,u.replaceState(s({},u.state,{idx:g}),""));let _={get action(){return c},get location(){return e(i,u)},listen(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(l,y),f=e,()=>{i.removeEventListener(l,y),f=null}},createHref:e=>t(i,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=r.Push;let a=h(_.location,e,t);n&&n(a,e),g=v()+1;let s=p(a,g),l=_.createHref(a);try{u.pushState(s,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(l)}o&&f&&f({action:c,location:_.location,delta:1})},replace:function(e,t){c=r.Replace;let a=h(_.location,e,t);n&&n(a,e),g=v();let i=p(a,g),s=_.createHref(a);u.replaceState(i,"",s),o&&f&&f({action:c,location:_.location,delta:0})},go:e=>u.go(e)};return _}var y;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(y||(y={}));const b=new Set(["lazy","caseSensitive","path","id","index","children"]);function _(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((e,a)=>{let i=[...n,String(a)],o="string"==typeof e.id?e.id:i.join("-");if(d(!0!==e.index||!e.children,"Cannot specify children on an index route"),d(!r[o],'Found a route id collision on id "'+o+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=s({},e,t(e),{id:o});return r[o]=n,n}{let n=s({},e,t(e),{id:o,children:void 0});return r[o]=n,e.children&&(n.children=_(e.children,t,i,r)),n}})}function w(e,t,n){return void 0===n&&(n="/"),M(e,t,n,!1)}function M(e,t,n,r){let a=j(("string"==typeof t?g(t):t).pathname||"/",n);if(null==a)return null;let i=S(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let o=null;for(let e=0;null==o&&e{let o={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(d(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let s=W([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),S(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Y(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of k(e.path))a(e,t,n);else a(e,t)}),t}function k(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return a?[i,""]:[i];let o=k(r.join("/")),s=[];return s.push(...o.map(e=>""===e?i:[i,e].join("/"))),a&&s.push(...o),s.map(t=>e.startsWith("/")&&""===t?"/":t)}const L=/^:[\w-]+$/,x=3,D=2,T=1,E=10,O=-2,P=e=>"*"===e;function Y(e,t){let n=e.split("/"),r=n.length;return n.some(P)&&(r+=O),t&&(r+=D),n.filter(e=>!P(e)).reduce((e,t)=>e+(L.test(t)?x:""===t?T:E),r)}function C(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,a={},i="/",o=[];for(let e=0;e(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let i=new RegExp(a,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let i=a[0],o=i.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=s[n]||"";o=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{}),pathname:i,pathnameBase:o,pattern:e}}function R(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return f(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}const I=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,F=e=>I.test(e);function H(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function N(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function z(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function V(e,t,n,r){let a;void 0===r&&(r=!1),"string"==typeof e?a=g(e):(a=s({},e),d(!a.pathname||!a.pathname.includes("?"),N("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),N("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),N("#","search","hash",a)));let i,o=""===e||""===a.pathname,l=o?"/":a.pathname;if(null==l)i=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let n,{pathname:r,search:a="",hash:i=""}="string"==typeof e?g(e):e;if(r)if(F(r))n=r;else{if(r.includes("//")){let e=r;r=r.replace(/\/\/+/g,"/"),f(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+r)}n=r.startsWith("/")?H(r.substring(1),"/"):H(r,t)}else n=t;return{pathname:n,search:U(a),hash:B(i)}}(a,i),c=l&&"/"!==l&&l.endsWith("/"),p=(o||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!c&&!p||(u.pathname+="/"),u}const W=e=>e.join("/").replace(/\/\/+/g,"/"),$=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),U=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",B=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class q{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function G(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const K=["post","put","patch","delete"],J=new Set(K),Q=["get",...K],Z=new Set(Q),X=new Set([301,302,303,307,308]),ee=new Set([307,308]),te={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ne={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},re={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ae=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ie=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),oe="remix-router-transitions";function se(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,a=!n;let i;if(d(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;i=e=>({hasErrorBoundary:t(e)})}else i=ie;let o,l,u,c={},p=_(e.routes,i,void 0,c),m=e.basename||"/",g=e.dataStrategy||ve,v=e.patchRoutesOnNavigation,b=s({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),S=null,k=new Set,L=null,x=null,D=null,T=null!=e.hydrationData,E=w(p,e.history.location,m),O=!1,P=null;if(null==E&&!v){let t=Pe(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Oe(p);E=n,P={[r.id]:t}}if(E&&!e.hydrationData){ut(E,p,e.history.location.pathname).active&&(E=null)}if(E)if(E.some(e=>e.route.lazy))l=!1;else if(E.some(e=>e.route.loader))if(b.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=E.findIndex(e=>void 0!==n[e.route.id]);l=E.slice(0,e+1).every(e=>!fe(e.route,t,n))}else l=E.every(e=>!fe(e.route,t,n))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,E=[],b.v7_partialHydration){let t=ut(null,p,e.history.location.pathname);t.active&&t.matches&&(O=!0,E=t.matches)}let Y,C,A={historyAction:e.history.action,location:e.history.location,matches:E,initialized:l,navigation:te,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||P,fetchers:new Map,blockers:new Map},R=r.Pop,I=!1,F=!1,H=new Map,N=null,z=!1,V=!1,W=[],$=new Set,U=new Map,B=0,q=-1,K=new Map,J=new Set,Q=new Map,Z=new Map,X=new Set,se=new Map,ce=new Map;function pe(e,t){void 0===t&&(t={}),A=s({},A,e);let n=[],r=[];b.v7_fetcherPersist&&A.fetchers.forEach((e,t)=>{"idle"===e.state&&(X.has(t)?r.push(t):n.push(t))}),X.forEach(e=>{A.fetchers.has(e)||U.has(e)||r.push(e)}),[...k].forEach(e=>e(A,{deletedFetchers:r,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),b.v7_fetcherPersist?(n.forEach(e=>A.fetchers.delete(e)),r.forEach(e=>Qe(e))):r.forEach(e=>X.delete(e))}function he(t,n,a){var i,l;let u,{flushSync:c}=void 0===a?{}:a,d=null!=A.actionData&&null!=A.navigation.formMethod&&ze(A.navigation.formMethod)&&"loading"===A.navigation.state&&!0!==(null==(i=t.state)?void 0:i._isRedirect);u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?A.actionData:null;let f=n.loaderData?De(A.loaderData,n.loaderData,n.matches||[],n.errors):A.loaderData,h=A.blockers;h.size>0&&(h=new Map(h),h.forEach((e,t)=>h.set(t,re)));let m,g=!0===I||null!=A.navigation.formMethod&&ze(A.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(o&&(p=o,o=void 0),z||R===r.Pop||(R===r.Push?e.history.push(t,t.state):R===r.Replace&&e.history.replace(t,t.state)),R===r.Pop){let e=H.get(A.location.pathname);e&&e.has(t.pathname)?m={currentLocation:A.location,nextLocation:t}:H.has(t.pathname)&&(m={currentLocation:t,nextLocation:A.location})}else if(F){let e=H.get(A.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),H.set(A.location.pathname,e)),m={currentLocation:A.location,nextLocation:t}}pe(s({},n,{actionData:u,loaderData:f,historyAction:R,location:t,initialized:!0,navigation:te,revalidation:"idle",restoreScrollPosition:lt(t,n.matches||A.matches),preventScrollReset:g,blockers:h}),{viewTransitionOpts:m,flushSync:!0===c}),R=r.Pop,I=!1,F=!1,z=!1,V=!1,W=[]}async function ge(t,n,a){Y&&Y.abort(),Y=null,R=t,z=!0===(a&&a.startUninterruptedRevalidation),function(e,t){if(L&&D){let n=st(e,t);L[n]=D()}}(A.location,A.matches),I=!0===(a&&a.preventScrollReset),F=!0===(a&&a.enableViewTransition);let i=o||p,l=a&&a.overrideNavigation,u=null!=a&&a.initialHydration&&A.matches&&A.matches.length>0&&!O?A.matches:w(i,n,m),c=!0===(a&&a.flushSync);if(u&&A.initialized&&!V&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(A.location,n)&&!(a&&a.submission&&ze(a.submission.formMethod)))return void he(n,{matches:u},{flushSync:c});let d=ut(u,i,n.pathname);if(d.active&&d.matches&&(u=d.matches),!u){let{error:e,notFoundMatches:t,route:r}=it(n.pathname);return void he(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:c})}Y=new AbortController;let f,h=Me(e.history,n,Y.signal,a&&a.submission);if(a&&a.pendingError)f=[Ee(u).route.id,{type:y.error,error:a.pendingError}];else if(a&&a.submission&&ze(a.submission.formMethod)){let t=await async function(t,n,a,i,o,s){void 0===s&&(s={});Fe();let l,u=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(n,a);if(pe({navigation:u},{flushSync:!0===s.flushSync}),o){let e=await ct(i,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Ee(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:y.error,error:e.error}]}}if(!e.matches){let{notFoundMatches:e,error:t,route:r}=it(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:y.error,error:t}]}}i=e.matches}let c=Be(i,n);if(c.route.action||c.route.lazy){if(l=(await Le("action",A,t,[c],i,null))[c.route.id],t.signal.aborted)return{shortCircuited:!0}}else l={type:y.error,error:Pe(405,{method:t.method,pathname:n.pathname,routeId:c.route.id})};if(Ie(l)){let n;if(s&&null!=s.replace)n=s.replace;else{n=we(l.response.headers.get("Location"),new URL(t.url),m,e.history)===A.location.pathname+A.location.search}return await ke(t,l,!0,{submission:a,replace:n}),{shortCircuited:!0}}if(Re(l))throw Pe(400,{type:"defer-action"});if(je(l)){let e=Ee(i,c.route.id);return!0!==(s&&s.replace)&&(R=r.Push),{matches:i,pendingActionResult:[e.route.id,l]}}return{matches:i,pendingActionResult:[c.route.id,l]}}(h,n,a.submission,u,d.active,{replace:a.replace,flushSync:c});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(je(r)&&G(r.error)&&404===r.error.status)return Y=null,void he(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}u=t.matches||u,f=t.pendingActionResult,l=Ge(n,a.submission),c=!1,d.active=!1,h=Me(e.history,h.url,h.signal)}let{shortCircuited:g,matches:v,loaderData:_,errors:M}=await async function(t,n,r,a,i,l,u,c,d,f,h){let g=i||Ge(n,l),v=l||u||qe(g),y=!(z||b.v7_partialHydration&&d);if(a){if(y){let e=Se(h);pe(s({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await ct(r,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Ee(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=it(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}r=e.matches}let _=o||p,[w,M]=de(e.history,A,r,v,n,b.v7_partialHydration&&!0===d,b.v7_skipActionErrorRevalidation,V,W,$,X,Q,J,_,m,h);if(ot(e=>!(r&&r.some(t=>t.route.id===e))||w&&w.some(t=>t.route.id===e)),q=++B,0===w.length&&0===M.length){let e=et();return he(n,s({matches:r,loaderData:{},errors:h&&je(h[1])?{[h[0]]:h[1].error}:null},Te(h),e?{fetchers:new Map(A.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(y){let e={};if(!a){e.navigation=g;let t=Se(h);void 0!==t&&(e.actionData=t)}M.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=A.fetchers.get(e.key),n=Ke(void 0,t?t.data:void 0);A.fetchers.set(e.key,n)}),new Map(A.fetchers)}(M)),pe(e,{flushSync:f})}M.forEach(e=>{Ze(e.key),e.controller&&U.set(e.key,e.controller)});let S=()=>M.forEach(e=>Ze(e.key));Y&&Y.signal.addEventListener("abort",S);let{loaderResults:k,fetcherResults:L}=await Ce(A,r,w,M,t);if(t.signal.aborted)return{shortCircuited:!0};Y&&Y.signal.removeEventListener("abort",S);M.forEach(e=>U.delete(e.key));let x=Ye(k);if(x)return await ke(t,x.result,!0,{replace:c}),{shortCircuited:!0};if(x=Ye(L),x)return J.add(x.key),await ke(t,x.result,!0,{replace:c}),{shortCircuited:!0};let{loaderData:D,errors:T}=xe(A,r,k,h,M,L,se);se.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&se.delete(t)})}),b.v7_partialHydration&&d&&A.errors&&(T=s({},A.errors,T));let E=et(),O=tt(q),P=E||O||M.length>0;return s({matches:r,loaderData:D,errors:T},P?{fetchers:new Map(A.fetchers)}:{})}(h,n,u,d.active,l,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,c,f);g||(Y=null,he(n,s({matches:v||u},Te(f),{loaderData:_,errors:M})))}function Se(e){return e&&!je(e[1])?{[e[0]]:e[1].data}:A.actionData?0===Object.keys(A.actionData).length?null:A.actionData:void 0}async function ke(a,i,o,l){let{submission:u,fetcherSubmission:c,preventScrollReset:f,replace:p}=void 0===l?{}:l;i.response.headers.has("X-Remix-Revalidate")&&(V=!0);let g=i.response.headers.get("Location");d(g,"Expected a Location header on the redirect Response"),g=we(g,new URL(a.url),m,e.history);let v=h(A.location,g,{_isRedirect:!0});if(n){let n=!1;if(i.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(ae.test(g)){const r=e.history.createURL(g);n=r.origin!==t.location.origin||null==j(r.pathname,m)}if(n)return void(p?t.location.replace(g):t.location.assign(g))}Y=null;let y=!0===p||i.response.headers.has("X-Remix-Replace")?r.Replace:r.Push,{formMethod:b,formAction:_,formEncType:w}=A.navigation;!u&&!c&&b&&_&&w&&(u=qe(A.navigation));let M=u||c;if(ee.has(i.response.status)&&M&&ze(M.formMethod))await ge(y,v,{submission:s({},M,{formAction:g}),preventScrollReset:f||I,enableViewTransition:o?F:void 0});else{let e=Ge(v,u);await ge(y,v,{overrideNavigation:e,fetcherSubmission:c,preventScrollReset:f||I,enableViewTransition:o?F:void 0})}}async function Le(e,t,n,r,a,o){let s,l={};try{s=await ye(g,e,t,n,r,a,o,c,i)}catch(e){return r.forEach(t=>{l[t.route.id]={type:y.error,error:e}}),l}for(let[e,t]of Object.entries(s))if(Ae(t)){let r=t.result;l[e]={type:y.redirect,response:_e(r,n,e,a,m,b.v7_relativeSplatPath)}}else l[e]=await be(t);return l}async function Ce(t,n,r,a,i){let o=t.matches,s=Le("loader",t,i,r,n,null),l=Promise.all(a.map(async n=>{if(n.matches&&n.match&&n.controller){let r=(await Le("loader",t,Me(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}return Promise.resolve({[n.key]:{type:y.error,error:Pe(404,{pathname:n.path})}})})),u=await s,c=(await l).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([Ve(n,u,i.signal,o,t.loaderData),We(n,c,a)]),{loaderResults:u,fetcherResults:c}}function Fe(){V=!0,W.push(...ot()),Q.forEach((e,t)=>{U.has(t)&&$.add(t),Ze(t)})}function He(e,t,n){void 0===n&&(n={}),A.fetchers.set(e,t),pe({fetchers:new Map(A.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Ne(e,t,n,r){void 0===r&&(r={});let a=Ee(A.matches,t);Qe(e),pe({errors:{[a.route.id]:n},fetchers:new Map(A.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ue(e){return Z.set(e,(Z.get(e)||0)+1),X.has(e)&&X.delete(e),A.fetchers.get(e)||ne}function Qe(e){let t=A.fetchers.get(e);!U.has(e)||t&&"loading"===t.state&&K.has(e)||Ze(e),Q.delete(e),K.delete(e),J.delete(e),b.v7_fetcherPersist&&X.delete(e),$.delete(e),A.fetchers.delete(e)}function Ze(e){let t=U.get(e);t&&(t.abort(),U.delete(e))}function Xe(e){for(let t of e){let e=Je(Ue(t).data);A.fetchers.set(t,e)}}function et(){let e=[],t=!1;for(let n of J){let r=A.fetchers.get(n);d(r,"Expected fetcher: "+n),"loading"===r.state&&(J.delete(n),e.push(n),t=!0)}return Xe(e),t}function tt(e){let t=[];for(let[n,r]of K)if(r0}function nt(e){A.blockers.delete(e),ce.delete(e)}function rt(e,t){let n=A.blockers.get(e)||re;d("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(A.blockers);r.set(e,t),pe({blockers:r})}function at(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===ce.size)return;ce.size>1&&f(!1,"A router only supports one blocker at a time");let a=Array.from(ce.entries()),[i,o]=a[a.length-1],s=A.blockers.get(i);return s&&"proceeding"===s.state?void 0:o({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}function it(e){let t=Pe(404,{pathname:e}),n=o||p,{matches:r,route:a}=Oe(n);return ot(),{notFoundMatches:r,route:a,error:t}}function ot(e){let t=[];return se.forEach((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),se.delete(r))}),t}function st(e,t){if(x){return x(e,t.map(e=>function(e,t){let{route:n,pathname:r,params:a}=e;return{id:n.id,pathname:r,params:a,data:t[n.id],handle:n.handle}}(e,A.loaderData)))||e.key}return e.key}function lt(e,t){if(L){let n=st(e,t),r=L[n];if("number"==typeof r)return r}return null}function ut(e,t,n){if(v){if(!e){return{active:!0,matches:M(t,n,m,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:M(t,n,m,!0)}}}return{active:!1,matches:null}}async function ct(e,t,n,r){if(!v)return{type:"success",matches:e};let a=e;for(;;){let e=null==o,s=o||p,l=c;try{await v({signal:n,path:t,matches:a,fetcherKey:r,patch:(e,t)=>{n.aborted||me(e,t,s,l,i)}})}catch(e){return{type:"error",error:e,partialMatches:a}}finally{e&&!n.aborted&&(p=[...p])}if(n.aborted)return{type:"aborted"};let u=w(s,t,m);if(u)return{type:"success",matches:u};let d=M(s,t,m,!0);if(!d||a.length===d.length&&a.every((e,t)=>e.route.id===d[t].route.id))return{type:"success",matches:null};a=d}}return u={get basename(){return m},get future(){return b},get state(){return A},get routes(){return p},get window(){return t},initialize:function(){if(S=e.history.listen(t=>{let{action:n,location:r,delta:a}=t;if(C)return C(),void(C=void 0);f(0===ce.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=at({currentLocation:A.location,nextLocation:r,historyAction:n});if(i&&null!=a){let t=new Promise(e=>{C=e});return e.history.go(-1*a),void rt(i,{state:"blocked",location:r,proceed(){rt(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(a))},reset(){let e=new Map(A.blockers);e.set(i,re),pe({blockers:e})}})}return ge(n,r)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(oe);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,H);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(oe,JSON.stringify(n))}catch(e){f(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,H);t.addEventListener("pagehide",e),N=()=>t.removeEventListener("pagehide",e)}return A.initialized||ge(r.Pop,A.location,{initialHydration:!0}),u},subscribe:function(e){return k.add(e),()=>k.delete(e)},enableScrollRestoration:function(e,t,n){if(L=e,D=t,x=n||null,!T&&A.navigation===te){T=!0;let e=lt(A.location,A.matches);null!=e&&pe({restoreScrollPosition:e})}return()=>{L=null,D=null,x=null}},navigate:async function t(n,a){if("number"==typeof n)return void e.history.go(n);let i=le(A.location,A.matches,m,b.v7_prependBasename,n,b.v7_relativeSplatPath,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),{path:o,submission:l,error:u}=ue(b.v7_normalizeFormMethod,!1,i,a),c=A.location,d=h(A.location,o,a&&a.state);d=s({},d,e.history.encodeLocation(d));let f=a&&null!=a.replace?a.replace:void 0,p=r.Push;!0===f?p=r.Replace:!1===f||null!=l&&ze(l.formMethod)&&l.formAction===A.location.pathname+A.location.search&&(p=r.Replace);let g=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,v=!0===(a&&a.flushSync),y=at({currentLocation:c,nextLocation:d,historyAction:p});if(!y)return await ge(p,d,{submission:l,pendingError:u,preventScrollReset:g,replace:a&&a.replace,enableViewTransition:a&&a.viewTransition,flushSync:v});rt(y,{state:"blocked",location:d,proceed(){rt(y,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(n,a)},reset(){let e=new Map(A.blockers);e.set(y,re),pe({blockers:e})}})},fetch:function(t,n,r,i){if(a)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Ze(t);let s=!0===(i&&i.flushSync),l=o||p,u=le(A.location,A.matches,m,b.v7_prependBasename,r,b.v7_relativeSplatPath,n,null==i?void 0:i.relative),c=w(l,u,m),f=ut(c,l,u);if(f.active&&f.matches&&(c=f.matches),!c)return void Ne(t,n,Pe(404,{pathname:u}),{flushSync:s});let{path:h,submission:g,error:v}=ue(b.v7_normalizeFormMethod,!0,u,i);if(v)return void Ne(t,n,v,{flushSync:s});let y=Be(c,h),_=!0===(i&&i.preventScrollReset);g&&ze(g.formMethod)?async function(t,n,r,a,i,s,l,u,c){function f(e){if(!e.route.action&&!e.route.lazy){let e=Pe(405,{method:c.formMethod,pathname:r,routeId:n});return Ne(t,n,e,{flushSync:l}),!0}return!1}if(Fe(),Q.delete(t),!s&&f(a))return;let h=A.fetchers.get(t);He(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(c,h),{flushSync:l});let g=new AbortController,v=Me(e.history,r,g.signal,c);if(s){let e=await ct(i,new URL(v.url).pathname,v.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Ne(t,n,e.error,{flushSync:l});if(!e.matches)return void Ne(t,n,Pe(404,{pathname:r}),{flushSync:l});if(f(a=Be(i=e.matches,r)))return}U.set(t,g);let y=B,_=await Le("action",A,v,[a],i,t),M=_[a.route.id];if(v.signal.aborted)return void(U.get(t)===g&&U.delete(t));if(b.v7_fetcherPersist&&X.has(t)){if(Ie(M)||je(M))return void He(t,Je(void 0))}else{if(Ie(M))return U.delete(t),q>y?void He(t,Je(void 0)):(J.add(t),He(t,Ke(c)),ke(v,M,!1,{fetcherSubmission:c,preventScrollReset:u}));if(je(M))return void Ne(t,n,M.error)}if(Re(M))throw Pe(400,{type:"defer-action"});let S=A.navigation.location||A.location,k=Me(e.history,S,g.signal),L=o||p,x="idle"!==A.navigation.state?w(L,A.navigation.location,m):A.matches;d(x,"Didn't find any matches after fetcher action");let D=++B;K.set(t,D);let T=Ke(c,M.data);A.fetchers.set(t,T);let[E,O]=de(e.history,A,x,c,S,!1,b.v7_skipActionErrorRevalidation,V,W,$,X,Q,J,L,m,[a.route.id,M]);O.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=A.fetchers.get(t),r=Ke(void 0,n?n.data:void 0);A.fetchers.set(t,r),Ze(t),e.controller&&U.set(t,e.controller)}),pe({fetchers:new Map(A.fetchers)});let P=()=>O.forEach(e=>Ze(e.key));g.signal.addEventListener("abort",P);let{loaderResults:C,fetcherResults:j}=await Ce(A,x,E,O,k);if(g.signal.aborted)return;g.signal.removeEventListener("abort",P),K.delete(t),U.delete(t),O.forEach(e=>U.delete(e.key));let I=Ye(C);if(I)return ke(k,I.result,!1,{preventScrollReset:u});if(I=Ye(j),I)return J.add(I.key),ke(k,I.result,!1,{preventScrollReset:u});let{loaderData:F,errors:H}=xe(A,x,C,void 0,O,j,se);if(A.fetchers.has(t)){let e=Je(M.data);A.fetchers.set(t,e)}tt(D),"loading"===A.navigation.state&&D>q?(d(R,"Expected pending action"),Y&&Y.abort(),he(A.navigation.location,{matches:x,loaderData:F,errors:H,fetchers:new Map(A.fetchers)})):(pe({errors:H,loaderData:De(A.loaderData,F,x,H),fetchers:new Map(A.fetchers)}),V=!1)}(t,n,h,y,c,f.active,s,_,g):(Q.set(t,{routeId:n,path:h}),async function(t,n,r,a,i,o,s,l,u){let c=A.fetchers.get(t);He(t,Ke(u,c?c.data:void 0),{flushSync:s});let f=new AbortController,p=Me(e.history,r,f.signal);if(o){let e=await ct(i,new URL(p.url).pathname,p.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Ne(t,n,e.error,{flushSync:s});if(!e.matches)return void Ne(t,n,Pe(404,{pathname:r}),{flushSync:s});a=Be(i=e.matches,r)}U.set(t,f);let h=B,m=await Le("loader",A,p,[a],i,t),g=m[a.route.id];Re(g)&&(g=await $e(g,p.signal,!0)||g);U.get(t)===f&&U.delete(t);if(p.signal.aborted)return;if(X.has(t))return void He(t,Je(void 0));if(Ie(g))return q>h?void He(t,Je(void 0)):(J.add(t),void await ke(p,g,!1,{preventScrollReset:l}));if(je(g))return void Ne(t,n,g.error);d(!Re(g),"Unhandled fetcher deferred data"),He(t,Je(g.data))}(t,n,h,y,c,f.active,s,_,g))},revalidate:function(){Fe(),pe({revalidation:"loading"}),"submitting"!==A.navigation.state&&("idle"!==A.navigation.state?ge(R||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:!0===F}):ge(A.historyAction,A.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ue,deleteFetcher:function(e){let t=(Z.get(e)||0)-1;t<=0?(Z.delete(e),X.add(e),b.v7_fetcherPersist||Qe(e)):Z.set(e,t),pe({fetchers:new Map(A.fetchers)})},dispose:function(){S&&S(),N&&N(),k.clear(),Y&&Y.abort(),A.fetchers.forEach((e,t)=>Qe(t)),A.blockers.forEach((e,t)=>nt(t))},getBlocker:function(e,t){let n=A.blockers.get(e)||re;return ce.get(e)!==t&&ce.set(e,t),n},deleteBlocker:nt,patchRoutes:function(e,t){let n=null==o;me(e,t,o||p,c,i),n&&(p=[...p],pe({}))},_internalFetchControllers:U,_internalActiveDeferreds:se,_internalSetRoutes:function(e){c={},o=_(e,i,void 0,c)}},u}Symbol("deferred");function le(e,t,n,r,a,i,o,s){let l,u;if(o){l=[];for(let e of t)if(l.push(e),e.route.id===o){u=e;break}}else l=t,u=t[t.length-1];let c=V(a||".",function(e,t){let n=z(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}(l,i),j(e.pathname,n)||e.pathname,"path"===s);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=Ue(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();c.search=n?"?"+n:""}}return r&&"/"!==n&&(c.pathname="/"===c.pathname?n:W([n,c.pathname])),m(c)}function ue(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!Ne(r.formMethod))return{path:n,error:Pe(405,{method:r.formMethod})};let a,i,o=()=>({path:n,error:Pe(400,{type:"invalid-body"})}),s=r.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=Ce(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!ze(l))return o();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!ze(l))return o();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return o()}}}if(d("function"==typeof FormData,"FormData is not available in this environment"),r.formData)a=Se(r.formData),i=r.formData;else if(r.body instanceof FormData)a=Se(r.body),i=r.body;else if(r.body instanceof URLSearchParams)a=r.body,i=ke(a);else if(null==r.body)a=new URLSearchParams,i=new FormData;else try{a=new URLSearchParams(r.body),i=ke(a)}catch(e){return o()}let c={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(ze(c.formMethod))return{path:n,submission:c};let f=g(n);return t&&f.search&&Ue(f.search)&&a.append("index",""),f.search="?"+a,{path:m(f),submission:c}}function ce(e,t,n){void 0===n&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function de(e,t,n,r,a,i,o,l,u,c,d,f,p,h,m,g){let v=g?je(g[1])?g[1].error:g[1].data:void 0,y=e.createURL(t.location),b=e.createURL(a),_=n;i&&t.errors?_=ce(n,Object.keys(t.errors)[0],!0):g&&je(g[1])&&(_=ce(n,g[0]));let M=g?g[1].statusCode:void 0,S=o&&M&&M>=400,k=_.filter((e,n)=>{let{route:a}=e;if(a.lazy)return!0;if(null==a.loader)return!1;if(i)return fe(a,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,a=void 0===e[n.route.id];return r||a}(t.loaderData,t.matches[n],e)||u.some(t=>t===e.route.id))return!0;let o=t.matches[n],c=e;return he(e,s({currentUrl:y,currentParams:o.params,nextUrl:b,nextParams:c.params},r,{actionResult:v,actionStatus:M,defaultShouldRevalidate:!S&&(l||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||pe(o,c))}))}),L=[];return f.forEach((e,a)=>{if(i||!n.some(t=>t.route.id===e.routeId)||d.has(a))return;let o=w(h,e.path,m);if(!o)return void L.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),f=Be(o,e.path),g=!1;p.has(a)?g=!1:c.has(a)?(c.delete(a),g=!0):g=u&&"idle"!==u.state&&void 0===u.data?l:he(f,s({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:n[n.length-1].params},r,{actionResult:v,actionStatus:M,defaultShouldRevalidate:!S&&l})),g&&L.push({key:a,routeId:e.routeId,path:e.path,matches:o,match:f,controller:new AbortController})}),[k,L]}function fe(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],a=null!=n&&void 0!==n[e.id];return!(!r&&a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!a)}function pe(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function he(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function me(e,t,n,r,a){var i;let o;if(e){let t=r[e];d(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),o=t.children}else o=n;let s=_(t.filter(e=>!o.some(t=>ge(e,t))),a,[e||"_","patch",String((null==(i=o)?void 0:i.length)||"0")],r);o.push(...s)}function ge(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>{var r;return null==(r=t.children)?void 0:r.some(t=>ge(e,t))}))}async function ve(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad);return(await Promise.all(n.map(e=>e.resolve()))).reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function ye(e,t,n,r,a,i,o,l,u,c){let p=i.map(e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let a=n[e.id];d(a,"No route found in manifest");let i={};for(let e in r){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;f(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||b.has(e)||(i[e]=r[e])}Object.assign(a,i),Object.assign(a,s({},t(a),{lazy:void 0}))}(e.route,u,l):void 0),h=i.map((e,n)=>{let i=p[n],o=a.some(t=>t.route.id===e.route.id);return s({},e,{shouldLoad:o,resolve:async n=>(n&&"GET"===r.method&&(e.route.lazy||e.route.loader)&&(o=!0),o?async function(e,t,n,r,a,i){let o,s,l=r=>{let o,l=new Promise((e,t)=>o=t);s=()=>o(),t.signal.addEventListener("abort",s);let u=a=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:i},...void 0!==a?[a]:[]),c=(async()=>{try{return{type:"data",result:await(a?a(e=>u(e)):u())}}catch(e){return{type:"error",result:e}}})();return Promise.race([c,l])};try{let a=n.route[e];if(r)if(a){let e,[t]=await Promise.all([l(a).catch(t=>{e=t}),r]);if(void 0!==e)throw e;o=t}else{if(await r,a=n.route[e],!a){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Pe(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:y.data,result:void 0}}o=await l(a)}else{if(!a){let e=new URL(t.url);throw Pe(404,{pathname:e.pathname+e.search})}o=await l(a)}d(void 0!==o.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:y.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return o}(t,r,e,i,n,c):Promise.resolve({type:y.data,result:void 0}))})}),m=await e({matches:h,request:r,params:i[0].params,fetcherKey:o,context:c});try{await Promise.all(p)}catch(e){}return m}async function be(e){let{result:t,type:n}=e;if(He(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:y.error,error:e}}return n===y.error?{type:y.error,error:new q(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:y.data,data:e,statusCode:t.status,headers:t.headers}}var r,a,i,o,s,l,u,c;return n===y.error?Fe(t)?t.data instanceof Error?{type:y.error,error:t.data,statusCode:null==(i=t.init)?void 0:i.status,headers:null!=(o=t.init)&&o.headers?new Headers(t.init.headers):void 0}:{type:y.error,error:new q((null==(r=t.init)?void 0:r.status)||500,void 0,t.data),statusCode:G(t)?t.status:void 0,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:y.error,error:t,statusCode:G(t)?t.status:void 0}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:y.deferred,deferredData:t,statusCode:null==(s=t.init)?void 0:s.status,headers:(null==(l=t.init)?void 0:l.headers)&&new Headers(t.init.headers)}:Fe(t)?{type:y.data,data:t.data,statusCode:null==(u=t.init)?void 0:u.status,headers:null!=(c=t.init)&&c.headers?new Headers(t.init.headers):void 0}:{type:y.data,data:t}}function _e(e,t,n,r,a,i){let o=e.headers.get("Location");if(d(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!ae.test(o)){let s=r.slice(0,r.findIndex(e=>e.route.id===n)+1);o=le(new URL(t.url),s,a,!0,o,i),e.headers.set("Location",o)}return e}function we(e,t,n,r){let a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(ae.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r);if(a.includes(i.protocol))throw new Error("Invalid redirect location");let o=null!=j(i.pathname,n);if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}try{let t=r.createURL(e);if(a.includes(t.protocol))throw new Error("Invalid redirect location")}catch(e){}return e}function Me(e,t,n,r){let a=e.createURL(Ce(t)).toString(),i={signal:n};if(r&&ze(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=Se(r.formData):i.body=r.formData}return new Request(a,i)}function Se(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function ke(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Le(e,t,n,r,a){let i,o={},s=null,l=!1,u={},c=n&&je(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let f=n.route.id,p=t[f];if(d(!Ie(p),"Cannot handle redirect results in processLoaderData"),je(p)){let t=p.error;if(void 0!==c&&(t=c,c=void 0),s=s||{},a)s[f]=t;else{let n=Ee(e,f);null==s[n.route.id]&&(s[n.route.id]=t)}o[f]=void 0,l||(l=!0,i=G(p.error)?p.error.status:500),p.headers&&(u[f]=p.headers)}else Re(p)?(r.set(f,p.deferredData),o[f]=p.deferredData.data,null==p.statusCode||200===p.statusCode||l||(i=p.statusCode),p.headers&&(u[f]=p.headers)):(o[f]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(i=p.statusCode),p.headers&&(u[f]=p.headers))}),void 0!==c&&n&&(s={[n[0]]:c},o[n[0]]=void 0),{loaderData:o,errors:s,statusCode:i||200,loaderHeaders:u}}function xe(e,t,n,r,a,i,o){let{loaderData:l,errors:u}=Le(t,n,r,o,!1);return a.forEach(t=>{let{key:n,match:r,controller:a}=t,o=i[n];if(d(o,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(je(o)){let t=Ee(e.matches,null==r?void 0:r.route.id);u&&u[t.route.id]||(u=s({},u,{[t.route.id]:o.error})),e.fetchers.delete(n)}else if(Ie(o))d(!1,"Unhandled fetcher revalidation redirect");else if(Re(o))d(!1,"Unhandled fetcher deferred data");else{let t=Je(o.data);e.fetchers.set(n,t)}}),{loaderData:l,errors:u}}function De(e,t,n,r){let a=s({},t);for(let i of n){let n=i.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(a[n]=t[n]):void 0!==e[n]&&i.route.loader&&(a[n]=e[n]),r&&r.hasOwnProperty(n))break}return a}function Te(e){return e?je(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Ee(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function Oe(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Pe(e,t){let{pathname:n,routeId:r,method:a,type:i,message:o}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",a&&n&&r?l="You made a "+a+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===i?l="defer() is not supported in actions":"invalid-body"===i&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):404===e?(s="Not Found",l='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",a&&n&&r?l="You made a "+a.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':a&&(l='Invalid request method "'+a.toUpperCase()+'"')),new q(e||500,s,new Error(l),!0)}function Ye(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(Ie(r))return{key:n,result:r}}}function Ce(e){return m(s({},"string"==typeof e?g(e):e,{hash:""}))}function Ae(e){return He(e.result)&&X.has(e.result.status)}function Re(e){return e.type===y.deferred}function je(e){return e.type===y.error}function Ie(e){return(e&&e.type)===y.redirect}function Fe(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function He(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Ne(e){return Z.has(e.toLowerCase())}function ze(e){return J.has(e.toLowerCase())}async function Ve(e,t,n,r,a){let i=Object.entries(t);for(let o=0;o(null==e?void 0:e.route.id)===s);if(!u)continue;let c=r.find(e=>e.route.id===u.route.id),d=null!=c&&!pe(c,u)&&void 0!==(a&&a[u.route.id]);Re(l)&&d&&await $e(l,n,!1).then(e=>{e&&(t[s]=e)})}}async function We(e,t,n){for(let r=0;r(null==e?void 0:e.route.id)===i)&&(Re(s)&&(d(o,"Expected an AbortController for revalidating fetcher deferred result"),await $e(s,o.signal,!0).then(e=>{e&&(t[a]=e)})))}}async function $e(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:y.data,data:e.deferredData.unwrappedData}}catch(e){return{type:y.error,error:e}}return{type:y.data,data:e.deferredData.data}}}function Ue(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function Be(e,t){let n="string"==typeof t?g(t).search:t.search;if(e[e.length-1].route.index&&Ue(n||""))return e[e.length-1];let r=z(e);return r[r.length-1]}function qe(e){let{formMethod:t,formAction:n,formEncType:r,text:a,formData:i,json:o}=e;if(t&&n&&r)return null!=a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:a}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}:void 0}function Ge(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ke(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Je(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}const Xe="get",et="application/x-www-form-urlencoded";function tt(e){return null!=e&&"string"==typeof e.tagName}function nt(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let rt=null;const at=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function it(e){return null==e||at.has(e)?e:null}function ot(e,t){let n,r,a,i,o;if(tt(s=e)&&"form"===s.tagName.toLowerCase()){let o=e.getAttribute("action");r=o?j(o,t):null,n=e.getAttribute("method")||Xe,a=it(e.getAttribute("enctype"))||et,i=new FormData(e)}else if(function(e){return tt(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return tt(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a