From c469eecfa16ab9e3ffefc92b33a201a2b233c4c0 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Fri, 17 Apr 2026 15:27:14 +1000 Subject: [PATCH 01/10] chore: doc tweaks --- cmd/spinifex/cmd/admin.go | 2 +- .../install-airgapped/README.md | 181 ++++++++++++------ .../install-multi-node/README.md | 13 +- docs/getting-started/install-source/README.md | 40 +--- docs/getting-started/install/README.md | 7 +- .../setting-up-your-cluster/README.md | 13 +- docs/getting-started/update/README.md | 2 +- .../flaw-remediation-policy/README.md | 2 +- docs/security/network-connections/README.md | 2 +- .../physical-security-guide/README.md | 4 +- .../bastion-private-subnet/README.md | 1 - docs/terraform-workbooks/nginx-alb/README.md | 1 - .../nginx-webserver/README.md | 1 - docs/terraform-workbooks/s3-webapp/README.md | 1 - 14 files changed, 143 insertions(+), 127 deletions(-) diff --git a/cmd/spinifex/cmd/admin.go b/cmd/spinifex/cmd/admin.go index 739596558..ac77f25e1 100644 --- a/cmd/spinifex/cmd/admin.go +++ b/cmd/spinifex/cmd/admin.go @@ -1154,7 +1154,7 @@ func runAdminInitMultiNode(cmd *cobra.Command, accessKey, secretKey, accountID, fmt.Printf(" Waiting for %d more node(s) to join...\n", expectedNodes-1) fmt.Printf(" Token expires in %s\n\n", tokenTTL) fmt.Printf(" Other nodes should run:\n") - fmt.Printf(" spx admin join --host %s --token %s --node --bind \n\n", formationAddr, joinToken) + fmt.Printf(" sudo spx admin join --host %s --token %s --node --bind \n\n", formationAddr, joinToken) // Wait for all nodes to register if err := fs.WaitForCompletion(formationTimeout); err != nil { diff --git a/docs/getting-started/install-airgapped/README.md b/docs/getting-started/install-airgapped/README.md index b7c72c1b0..f10d198d0 100644 --- a/docs/getting-started/install-airgapped/README.md +++ b/docs/getting-started/install-airgapped/README.md @@ -1,6 +1,6 @@ --- title: "Air-Gapped Install" -description: "Deploy Spinifex in environments without internet connectivity. Covers offline package caching, USB deployment, and package verification." +description: "Deploy Spinifex in environments without internet connectivity. Covers using a pre-built release tarball, mirrored APT packages, and locally-staged cloud images." category: "Getting Started" tags: - install @@ -9,8 +9,8 @@ tags: resources: - title: "Spinifex Repository" url: "https://github.com/mulgadc/spinifex" - - title: "apt-cacher-ng" - url: "https://wiki.debian.org/AptCacherNg" + - title: "External Connection Inventory" + url: "/docs/security/network-connections" --- # Air-Gapped Installation @@ -29,103 +29,158 @@ resources: In air-gapped or disconnected environments, Spinifex can be deployed without internet access. This guide covers preparing offline packages on a connected machine, creating USB deployment media, and installing on the target server with package verification. -**Deployment methods:** -- **apt-cacher-ng** — Local APT cache for Debian/Ubuntu packages -- **Go module cache** — Pre-downloaded Go dependencies -- **USB deployment** — Portable installation media with all dependencies -- **GPG verification** — Cryptographic package integrity checks - ## Instructions -## Step 1. Prepare Packages (on a connected machine) +## Step 1. Download the Release (on a connected machine) -Set up a local APT cache to collect all required packages: +Each Spinifex release publishes a self-contained tarball, the matching `setup.sh`, and a SHA-256 checksum to GitHub Releases. Resolve the latest tag and download the assets for your architecture: ```bash -sudo apt install apt-cacher-ng -sudo systemctl enable --now apt-cacher-ng +ARCH=amd64 # or arm64 +TAG=$(curl -fsSL https://api.github.com/repos/mulgadc/spinifex/releases/latest \ + | grep '"tag_name"' | cut -d'"' -f4) + +BASE="https://github.com/mulgadc/spinifex/releases/download/${TAG}" +curl -fsSLO "${BASE}/spinifex-${TAG}-linux-${ARCH}.tar.gz" +curl -fsSLO "${BASE}/spinifex-${TAG}-linux-${ARCH}.tar.gz.sha256" +curl -fsSLO "${BASE}/setup.sh" + +sha256sum -c "spinifex-${TAG}-linux-${ARCH}.tar.gz.sha256" ``` -Pre-download all Spinifex dependencies: +## Step 2. Stage Dependencies (on the connected machine) + +Pre-download the APT packages installed by the production setup. `apt install --download-only` writes `.deb` files to `/var/cache/apt/archives/` without installing them, so the connected machine isn't modified: ```bash -sudo apt install --download-only nbdkit nbdkit-plugin-dev pkg-config \ - qemu-system qemu-utils qemu-kvm libvirt-daemon-system \ - libvirt-clients libvirt-dev make gcc unzip xz-utils file \ - ovn-central ovn-host openvswitch-switch +sudo apt update +sudo apt install --download-only -y \ + nbdkit nbdkit-plugin-dev pkg-config \ + qemu-system-x86 qemu-utils qemu-kvm \ + libvirt-daemon-system libvirt-clients libvirt-dev \ + ovn-central ovn-host openvswitch-switch \ + dhcpcd-base make gcc jq curl iproute2 netcat-openbsd \ + wget unzip xz-utils file ``` -## Step 2. Create USB Deployment Media +Download AWS CLI v2: ```bash -mkdir -p /media/spinifex-deploy/{apt-packages,go-cache,spinifex-source} +curl -fsSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \ + -o awscliv2.zip +``` + +Mirror the cloud image you intend to run as guest VMs: + +```bash +mkdir -p images +curl -fsSL "https://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2" \ + -o images/debian-12-amd64.qcow2 +``` + +## Step 3. Assemble Transfer Media + +```bash +mkdir -p /media/spinifex-deploy/{tarball,apt-packages,aws,images} +cp spinifex-${TAG}-linux-${ARCH}.tar.gz /media/spinifex-deploy/tarball/ +cp setup.sh /media/spinifex-deploy/ cp /var/cache/apt/archives/*.deb /media/spinifex-deploy/apt-packages/ -cp -r ~/go/pkg/mod/cache/ /media/spinifex-deploy/go-cache/ -cp -r ~/Development/mulga/spinifex /media/spinifex-deploy/spinifex-source/ +cp awscliv2.zip /media/spinifex-deploy/aws/ +cp images/*.qcow2 /media/spinifex-deploy/images/ ``` -## Step 3. Verify Package Integrity +## Step 4. Install on the Air-Gapped Target -Sign and verify packages before transferring to the target: - -```bash -gpg --import /media/spinifex-deploy/mulga-signing-key.asc -gpg --verify spinifex-v1.0.tar.gz.sig spinifex-v1.0.tar.gz -sha256sum -c /media/spinifex-deploy/checksums.sha256 -``` - -## Step 4. Install on the Target Server - -Mount the USB and install: +Mount the media, install APT dependencies, install AWS CLI, then run `setup.sh` with the local tarball: ```bash sudo mount /dev/sdb1 /mnt/usb + sudo dpkg -i /mnt/usb/apt-packages/*.deb -cp -r /mnt/usb/spinifex-source ~/Development/mulga/spinifex -cd ~/Development/mulga/spinifex && make build +sudo apt-get install -f --no-download # resolve any leftover deps from local cache + +cd /tmp && unzip /mnt/usb/aws/awscliv2.zip && sudo ./aws/install + +INSTALL_SPINIFEX_TARBALL=/mnt/usb/tarball/spinifex-*-linux-*.tar.gz \ +INSTALL_SPINIFEX_SKIP_APT=1 \ +INSTALL_SPINIFEX_SKIP_AWS=1 \ +bash /mnt/usb/setup.sh ``` -Then follow the [Source Install](/docs/install-source) guide from Step 3 (Setup OVN) onwards. +Run `setup.sh` without `sudo` — the script handles privilege escalation internally and ends by `exec`-ing into a `newgrp spinifex` subshell so your current shell picks up `spinifex` group membership. Without that membership, AWS CLI cannot traverse `/etc/spinifex/` (mode `0750`) to read `ca.pem` and Step 9 will fail with a TLS error. Type `exit` to leave the subshell when finished. + +## Step 5. Setup OVN Networking + +`spx admin init` requires OVN/OVS to be configured before the daemon can manage tenant networks. `setup-ovn.sh` ships in the tarball and runs purely against local commands (no network access required): + +```bash +sudo /usr/local/share/spinifex/setup-ovn.sh --management +``` + +If your WAN interface is a physical NIC rather than a bridge, pass `--wan-bridge=br-wan --wan-iface=`. + +## Step 6. Initialize Without Telemetry + +```bash +sudo spx admin init --node node1 --nodes 1 --no-telemetry +``` + +This generates the cluster configuration, TLS certificates, installs the CA into the system trust store, and writes AWS CLI credentials. See [Single-Node Install](/docs/install) for what `spx admin init` does. + +## Step 7. Start Services + +`setup.sh` enables `spinifex.target` but does not start it on a fresh install. Start it now so predastore is online before you import images: + +```bash +sudo systemctl start spinifex.target +``` + +## Step 8. Import Cloud Images + +Register the pre-staged image with Spinifex: + +```bash +sudo spx admin images import --file /mnt/usb/images/debian-12-amd64.qcow2 \ + --distro debian --version 12 --arch x86_64 +``` + +## Step 9. Verify + +```bash +export AWS_PROFILE=spinifex +aws ec2 describe-instance-types +aws ec2 describe-images +``` + +If both calls return data, your air-gapped install is working. Continue to [Setting Up Your Cluster](/docs/setting-up-your-cluster) to launch your first instance. ## Troubleshooting -### Missing Dependencies After dpkg Install +### Missing APT Dependencies -Some packages may have unresolved dependencies. Fix with: +`dpkg -i` does not resolve transitive dependencies. After installing, run: ```bash -sudo dpkg -i /mnt/usb/apt-packages/*.deb -sudo apt-get install -f +sudo apt-get install -f --no-download ``` -The `-f` flag tells apt to fix broken dependencies using what's available locally. +The `--no-download` flag forces apt to use only what's in the local cache. If a dependency is genuinely missing, add it to the `apt --download-only` step on the connected machine and re-stage. -### GPG Verification Fails +### Setup.sh Tries to Download Anyway -The signing key may not match or the download was corrupted. Re-import the key and verify: +Confirm both skip flags are exported and that `INSTALL_SPINIFEX_TARBALL` points at a readable file: ```bash -gpg --import /media/spinifex-deploy/mulga-signing-key.asc -gpg --verify spinifex-v1.0.tar.gz.sig spinifex-v1.0.tar.gz +sudo INSTALL_SPINIFEX_TARBALL=/mnt/usb/tarball/spinifex-...tar.gz \ + INSTALL_SPINIFEX_SKIP_APT=1 \ + INSTALL_SPINIFEX_SKIP_AWS=1 \ + bash -x /mnt/usb/setup.sh ``` -If verification still fails, re-download the package on the connected machine and compare checksums: +### Init Telemetry Attempted -```bash -sha256sum spinifex-v1.0.tar.gz -``` +`spx admin init` posts a one-shot record to `https://install.mulgadc.com/install`. Pass `--no-telemetry` on every `init` and `join` invocation, or export `SPX_NO_TELEMETRY=1` in the operator's shell profile. -### Go Module Cache Errors +### Image Import Fails -The Go module cache may have been incompletely copied. On the connected machine, re-export the full cache: - -```bash -cp -r ~/go/pkg/mod/cache/ /media/spinifex-deploy/go-cache/ -``` - -On the target, restore it: - -```bash -mkdir -p ~/go/pkg/mod/ -cp -r /mnt/usb/go-cache ~/go/pkg/mod/cache -``` +`spx admin images import --file` requires the distro/version/arch flags so the image registers in the catalogue. If the import succeeds but `aws ec2 describe-images` returns empty, check `journalctl -u spinifex-daemon -f` for predastore upload errors. diff --git a/docs/getting-started/install-multi-node/README.md b/docs/getting-started/install-multi-node/README.md index a08ec6d60..ca0ba8709 100644 --- a/docs/getting-started/install-multi-node/README.md +++ b/docs/getting-started/install-multi-node/README.md @@ -31,7 +31,7 @@ resources: A Spinifex cluster distributes services across multiple servers for high availability, data durability, and fault tolerance. Cluster formation is automatic — the init node waits for peers to join, then distributes credentials, CA certificates, and configuration. -**Network requirements:** +**Network Requirements:** - Minimum 1 NIC per server (2 recommended for production) - UDP port 6081 open between hosts (Geneve tunnels) @@ -59,7 +59,7 @@ export AWS_AZ=us-east-1a ## Step 3. Setup OVN Networking -Server 1 runs OVN central and must be set up first. If your WAN interface is already a bridge (e.g. `br-wan`), setup-ovn.sh auto-detects it. Otherwise use `--wan-bridge=br-wan --wan-iface=eth1` (dedicated WAN NIC). +Server 1 runs OVN central and must be set up first. If your WAN interface is already a bridge, setup-ovn.sh auto-detects it. Otherwise use `--wan-bridge=br-wan --wan-iface=eth1` (dedicated WAN NIC). **Server 1:** @@ -104,8 +104,6 @@ sudo spx admin init \ --port 4432 --region $AWS_REGION --az $AWS_AZ ``` -Save the admin credentials — they will not be shown again. - The init output displays the join command including the token: ``` @@ -114,7 +112,7 @@ The init output displays the join command including the token: Token expires in 30m0s Other nodes should run: - spx admin join --host 10.0.0.1:4432 --token spx_join_a8Bf3x9Kz2mN --node --bind + sudo spx admin join --host 10.0.0.1:4432 --token spx_join_a8Bf3x9Kz2mN --node --bind ``` **Server 2 — Join** (while init is running): @@ -135,8 +133,7 @@ sudo spx admin join \ --region $AWS_REGION --az $AWS_AZ ``` -> **Note:** The join token expires 30 minutes after init by default. For larger deployments -> with slower provisioning, use `--token-ttl 2h` on the init command. +**Note:** The join token expires 30 minutes after init by default. For larger deployments with slower provisioning, use `--token-ttl 2h` ## Step 5. Start Services @@ -181,7 +178,7 @@ sudo ss -tlnp | grep 6642 ### CA Certificate Not Trusted ```bash -sudo cp ~/spinifex/config/ca.pem /usr/local/share/ca-certificates/spinifex-ca.crt +sudo cp /etc/spinifex/ca.pem /usr/local/share/ca-certificates/spinifex-ca.crt sudo update-ca-certificates ``` diff --git a/docs/getting-started/install-source/README.md b/docs/getting-started/install-source/README.md index 2cefe1a20..fddc21004 100644 --- a/docs/getting-started/install-source/README.md +++ b/docs/getting-started/install-source/README.md @@ -52,43 +52,17 @@ export PATH=$PATH:/usr/local/go/bin ```bash cd spinifex ./scripts/clone-deps.sh -./scripts/dev-setup.sh ``` -Confirm `./bin/spx` exists. - -## Step 3. Setup OVN - -If your WAN interface is already a bridge (e.g. `br-wan`), setup-ovn.sh auto-detects it: - -```bash -./scripts/setup-ovn.sh --management -``` - -If your WAN is a physical NIC: - -```bash -# Dedicated WAN NIC (not your SSH connection): -./scripts/setup-ovn.sh --management --wan-bridge=br-wan --wan-iface=eth1 -``` - -## Step 4. Development initialisation +## Step 3. Development Initialisation ```bash ./scripts/dev-install.sh ``` -Note, this will bootstrap a single node development environment +This bootstraps a single-node development environment: builds binaries, configures OVN, initialises the cluster, installs the CA certificate, and starts all services. -## Step 5. Start services - -```bash -sudo systemctl status spinifex.target -``` - -Start all services - -## Step 6. Verify Installation +## Step 4. Verify Installation ```bash export AWS_PROFILE=spinifex @@ -109,15 +83,9 @@ Continue to [Setting Up Your Cluster](/docs/setting-up-your-cluster) to import a export PATH=$PATH:/usr/local/go/bin ``` -### ./bin/spx Missing After Build - -```bash -./scripts/dev-setup.sh -``` - ### CA Certificate Not Trusted ```bash -sudo cp ~/spinifex/config/ca.pem /usr/local/share/ca-certificates/spinifex-ca.crt +sudo cp /etc/spinifex/ca.pem /usr/local/share/ca-certificates/spinifex-ca.crt sudo update-ca-certificates ``` diff --git a/docs/getting-started/install/README.md b/docs/getting-started/install/README.md index c725e6c2b..f5e48427a 100644 --- a/docs/getting-started/install/README.md +++ b/docs/getting-started/install/README.md @@ -29,7 +29,7 @@ resources: ## Overview -Spinifex is an open-source infrastructure platform that brings core AWS services — EC2, VPC, EBS, and S3 — to bare-metal, edge, and on-prem environments. +Spinifex is an open-source infrastructure platform that brings core AWS services to bare-metal, edge, and on-prem environments. This guide installs Spinifex on a single server using the binary installer. For multi-server clusters, see [Multi-Node Install](/docs/install-multi-node). To build from source, see [Source Install](/docs/install-source). @@ -65,10 +65,9 @@ If your WAN interface is already a bridge (e.g. `br-wan`), setup-ovn.sh auto-det sudo /usr/local/share/spinifex/setup-ovn.sh --management ``` -If your WAN is a physical NIC, choose one: +If your WAN is a physical NIC: ```bash -# Dedicated WAN NIC (not your SSH connection): sudo /usr/local/share/spinifex/setup-ovn.sh --management --wan-bridge=br-wan --wan-iface=eth1 ``` @@ -86,7 +85,7 @@ This is recommended for production and required in multi-node deployments. See [ sudo spx admin init --node node1 --nodes 1 ``` -This auto-detects your network topology, generates configuration and TLS certificates, installs the CA into the system trust store, and configures AWS CLI credentials. Save the admin credentials printed during init — they will not be shown again. +This auto-detects your network topology, generates configuration and TLS certificates, installs the CA into the system trust store, and configures AWS CLI credentials (saved in `~/.aws/credentials`) ## Step 4. Start Services diff --git a/docs/getting-started/setting-up-your-cluster/README.md b/docs/getting-started/setting-up-your-cluster/README.md index f82a623a5..777f42379 100644 --- a/docs/getting-started/setting-up-your-cluster/README.md +++ b/docs/getting-started/setting-up-your-cluster/README.md @@ -34,7 +34,7 @@ resources: ## Overview This guide assumes Spinifex is already installed and running. If not, follow one of the installation guides first: -- [Binary Install (Single Node)](/docs/install) +- [Single-Node Install)](/docs/install) - [Multi-Node Install](/docs/install-multi-node) - [Source Install](/docs/install-source) @@ -57,11 +57,12 @@ spx admin images list ``` ``` -NAME | DISTRO | VERSION | ARCH | BOOT -debian-12-arm64 | debian | 12 | arm64 | bios -debian-12-x86_64 | debian | 12 | x86_64 | bios -ubuntu-24.04-arm64 | ubuntu | 24.04 | arm64 | bios -ubuntu-24.04-x86_64 | ubuntu | 24.04 | x86_64 | bios +NAME | DISTRO | VERSION | ARCH | BOOT +debian-12-arm64 | debian | 12 | arm64 | bios +debian-12-x86_64 | debian | 12 | x86_64 | bios +lb-alpine-3.21.6-x86_64 | alpine | 3.21.6 | x86_64 | bios +ubuntu-24.04-arm64 | ubuntu | 24.04 | arm64 | bios +ubuntu-24.04-x86_64 | ubuntu | 24.04 | x86_64 | bios ``` Import an image: diff --git a/docs/getting-started/update/README.md b/docs/getting-started/update/README.md index e4b4c617b..44646e9ee 100644 --- a/docs/getting-started/update/README.md +++ b/docs/getting-started/update/README.md @@ -10,7 +10,7 @@ resources: - title: "Spinifex Repository" url: "https://github.com/mulgadc/spinifex" - title: "Single-Node Install" - url: "https://docs.mulgadc.com/docs/install" + url: "/docs/install" --- # Updating Spinifex diff --git a/docs/security/flaw-remediation-policy/README.md b/docs/security/flaw-remediation-policy/README.md index 927eb8287..0df38ec9f 100644 --- a/docs/security/flaw-remediation-policy/README.md +++ b/docs/security/flaw-remediation-policy/README.md @@ -129,7 +129,7 @@ Operators own remediation for layers Spinifex does not ship: | Host OS + kernel | Track distribution advisories (Debian DSA, Ubuntu USN) at matching cadence. | | OVN / OVS | Patched via the operator's package channel alongside the OS. | | QEMU / KVM / libvirt | As above — hypervisor CVEs affect tenant isolation. | -| Host AV / EDR agent | See https://docs.mulgadc.com/docs/security/malware-protection §2. | +| Host AV / EDR agent | See [Malware Protection §2](/docs/security/malware-protection). | Operators should subscribe to the `mulgadc/spinifex` release feed (Watch → Custom → Releases + Security Advisories) so Critical/High advisories arrive via GitHub's notification channel rather than polling. diff --git a/docs/security/network-connections/README.md b/docs/security/network-connections/README.md index 445593448..4c85bd2ef 100644 --- a/docs/security/network-connections/README.md +++ b/docs/security/network-connections/README.md @@ -114,7 +114,7 @@ Spinifex nodes initiate a small, fixed set of outbound connections. **Update checks and metadata.** Spinifex does not check for updates and does not consume a cloud metadata service (`169.254.169.254` is served *by* the cluster to guest VMs). Node software updates come from the operator's OS package channel. The install-telemetry endpoint above is the only vendor-operated destination contacted by a node; closed-egress deployments should disable it and record the opt-out in the security plan. -**Air-gapped deployments.** The three image URLs are the only destinations needed for the standard image catalogue. Mirror them locally and use `spx admin images import --file` with pre-staged files. Telemetry must also be disabled. See [Air-gapped install](https://docs.mulgadc.com/docs/install-airgapped). +**Air-gapped deployments.** The three image URLs are the only destinations needed for the standard image catalogue. Mirror them locally and use `spx admin images import --file` with pre-staged files. Telemetry must also be disabled. See [Air-Gapped Install](/docs/install-airgapped). ## 3. Cross-Node (Internal) Connections diff --git a/docs/security/physical-security-guide/README.md b/docs/security/physical-security-guide/README.md index e016d9035..cc53afa90 100644 --- a/docs/security/physical-security-guide/README.md +++ b/docs/security/physical-security-guide/README.md @@ -144,7 +144,7 @@ Every entry into a protected space must produce a log entry capturing: ### 4.3 Integration with Spinifex Logs -Forward physical-access events to the same SIEM or log collector used for Spinifex service logs (see [Malware Protection §3](https://docs.mulgadc.com/docs/security/malware-protection#3-scan-schedule-sil1-3145)) so a `master.key` access attempt can be correlated with a physical entry into the rack. +Forward physical-access events to the same SIEM or log collector used for Spinifex service logs (see [Malware Protection §3](/docs/security/malware-protection#3-scan-schedule-sil1-3145)) so a `master.key` access attempt can be correlated with a physical entry into the rack. ## 5. Manage Physical Access Devices (PE.L1-3.10.5) @@ -199,7 +199,7 @@ Use this list to confirm a site meets the four CMMC practices before admitting S - CCTV or equivalent monitoring covers the rack fronts, rears, and console positions, with 30-day minimum retention. - Physical access logs are produced for every entry, retained 12 months, and reviewed on the cadence in [§4.2](#42-retention-and-review). - Door-forced, door-held, and out-of-hours events alert the on-call operator. -- Physical access events forwarded to the SIEM used for Spinifex service logs (see [Malware Protection §3](https://docs.mulgadc.com/docs/security/malware-protection#3-scan-schedule-sil1-3145)). +- Physical access events forwarded to the SIEM used for Spinifex service logs (see [Malware Protection §3](/docs/security/malware-protection#3-scan-schedule-sil1-3145)). - Device register reconciles quarterly against the access-control system and physical key count; discrepancies are closed before sign-off. - Lost-device and termination procedures trigger immediate revocation per [§5.2](#52-control-b). - System security plan references this guide and records the facility, access-control product, CCTV retention, and log-forwarding destination. diff --git a/docs/terraform-workbooks/bastion-private-subnet/README.md b/docs/terraform-workbooks/bastion-private-subnet/README.md index 8a57acc13..630747b19 100644 --- a/docs/terraform-workbooks/bastion-private-subnet/README.md +++ b/docs/terraform-workbooks/bastion-private-subnet/README.md @@ -58,7 +58,6 @@ Deploy a VPC with public and private subnets where the private subnet has no int - Spinifex installed and running (see [Installing Spinifex](/docs/install)) - A Debian 12 AMI imported (see [Setting Up Your Cluster](/docs/setting-up-your-cluster)) - OpenTofu or Terraform installed -- `AWS_PROFILE=spinifex` configured ## Instructions diff --git a/docs/terraform-workbooks/nginx-alb/README.md b/docs/terraform-workbooks/nginx-alb/README.md index 36915a2a6..c10aa52df 100644 --- a/docs/terraform-workbooks/nginx-alb/README.md +++ b/docs/terraform-workbooks/nginx-alb/README.md @@ -68,7 +68,6 @@ Deploy two Nginx web servers behind an internet-facing Application Load Balancer - Spinifex installed and running (see [Installing Spinifex](/docs/install)) - A Debian 12 AMI imported (see [Setting Up Your Cluster](/docs/setting-up-your-cluster)) - OpenTofu or Terraform installed -- `AWS_PROFILE=spinifex` configured ## Instructions diff --git a/docs/terraform-workbooks/nginx-webserver/README.md b/docs/terraform-workbooks/nginx-webserver/README.md index 67cc1175d..63513c4ab 100644 --- a/docs/terraform-workbooks/nginx-webserver/README.md +++ b/docs/terraform-workbooks/nginx-webserver/README.md @@ -45,7 +45,6 @@ Deploy a complete Nginx web server on Spinifex using Terraform/OpenTofu. This wo - Spinifex installed and running (see [Installing Spinifex](/docs/install)) - A Debian 12 AMI imported (see [Setting Up Your Cluster](/docs/setting-up-your-cluster)) - OpenTofu or Terraform installed -- `AWS_PROFILE=spinifex` configured ## Instructions diff --git a/docs/terraform-workbooks/s3-webapp/README.md b/docs/terraform-workbooks/s3-webapp/README.md index 619fce854..c15610330 100644 --- a/docs/terraform-workbooks/s3-webapp/README.md +++ b/docs/terraform-workbooks/s3-webapp/README.md @@ -55,7 +55,6 @@ Deploy an EC2 instance running a Flask file-sharing web application backed by S3 - Predastore running (S3 API on port 8443) - A Debian 12 AMI imported (see [Setting Up Your Cluster](/docs/setting-up-your-cluster)) - OpenTofu or Terraform installed -- `AWS_PROFILE=spinifex` configured - The EC2 instance must be able to reach Predastore — use the host's br-wan IP, not localhost ## Instructions From f00a376d0b5e336a37980dcf30232288679e4834 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Fri, 17 Apr 2026 16:09:06 +1000 Subject: [PATCH 02/10] tweak: docs --- .../spinifex-admin-cli/README.md | 26 ++++++++++++++++--- docs/compute/launching-instances/README.md | 2 +- docs/compute/vpc-networking/README.md | 8 +++--- .../setting-up-your-cluster/README.md | 2 +- docs/getting-started/update/README.md | 2 +- .../flaw-remediation-policy/README.md | 2 +- 6 files changed, 31 insertions(+), 11 deletions(-) diff --git a/docs/administration/spinifex-admin-cli/README.md b/docs/administration/spinifex-admin-cli/README.md index f4619ddf0..175720f94 100644 --- a/docs/administration/spinifex-admin-cli/README.md +++ b/docs/administration/spinifex-admin-cli/README.md @@ -35,13 +35,25 @@ All services in the Spinifex platform are managed through this single binary. ## Account Management +Create a new isolated account with an admin user and AdministratorAccess policy: + ```bash spx admin account create --name myteam export AWS_PROFILE=spinifex-myteam ``` +List all accounts: + +```bash +spx admin account list +``` + + + ## Node Management +List nodes in the cluster: + ```bash spx get nodes ``` @@ -59,6 +71,8 @@ node3 Ready 127.0.0.3 ap-southeast-2 ap-southeast-2a 2m 0 spx top nodes ``` +Prints per-node CPU/memory usage and cluster-wide instance type availability. + ## Image Management ```bash @@ -66,8 +80,13 @@ spx admin images list spx admin images import --name debian-12-arm64 ``` +Catalog imports verify the image against the catalog-declared SHA-256/SHA-512 digest before extraction. Use `--file` to import operator-supplied media (verification skipped — operator is responsible for integrity), or `--force` to re-download after a checksum mismatch. + + ## Cluster Shutdown +Coordinated, phased shutdown of the entire cluster (API/UI → VMs → viperblock → predastore → NATS/daemon): + ```bash spx admin cluster shutdown ``` @@ -86,11 +105,12 @@ If you get permission errors during operations, ensure you're running with appro ### Services Fail to Start -Check the daemon logs for specific errors: +Check the daemon logs for specific errors via `systemctl`/`journalctl`: ```bash -ls ~/spinifex/logs/ -cat ~/spinifex/logs/spinifex.log +systemctl status 'spinifex-*' +journalctl -u spinifex-daemon -f +journalctl -u 'spinifex-*' -f ``` Common causes include port conflicts, missing OVN configuration, or untrusted CA certificates. diff --git a/docs/compute/launching-instances/README.md b/docs/compute/launching-instances/README.md index 4c71b00c7..9a33ed948 100644 --- a/docs/compute/launching-instances/README.md +++ b/docs/compute/launching-instances/README.md @@ -149,7 +149,7 @@ For production SSH via public IPs, see [Setting Up Your Cluster](/docs/setting-u Check QEMU logs for the instance and verify the AMI architecture matches your host: ```bash -cat ~/spinifex/logs/spinifex.log +journalctl -u spinifex-daemon -f aws ec2 describe-images --image-ids $SPINIFEX_AMI ``` diff --git a/docs/compute/vpc-networking/README.md b/docs/compute/vpc-networking/README.md index a6315076f..2b6b8791a 100644 --- a/docs/compute/vpc-networking/README.md +++ b/docs/compute/vpc-networking/README.md @@ -1014,13 +1014,13 @@ sudo tcpdump -i {nic} -n "host {public_ip}" ```bash # vpcd log (reconcile, NAT, topology operations) -cat ~/spinifex/logs/vpcd.log +journalctl -u spinifex-vpcd -f # ovn-controller log (port binding, commit failures) sudo cat /var/log/ovn/ovn-controller.log | tail -50 # Daemon log (instance launch, network setup) -cat ~/spinifex/logs/spinifex.log +journalctl -u spinifex-daemon -f ``` ### VPC Creation Fails @@ -1029,7 +1029,7 @@ Check OVN services and vpcd daemon: ```bash sudo systemctl is-active ovn-controller -cat ~/spinifex/logs/vpcd.log +journalctl -u spinifex-vpcd -f ``` ### Instances Cannot Reach Each Other @@ -1218,7 +1218,7 @@ sudo ovs-vsctl get Open_vSwitch . external-ids:system-id # What SB registered sudo ovn-sbctl list Chassis | grep name # What vpcd expects -grep node ~/spinifex/config/spinifex.toml | head -1 +grep node /etc/spinifex/spinifex.toml | head -1 ``` **Fix:** `reset-dev-env.sh` passes `--chassis-id=chassis-node1` to diff --git a/docs/getting-started/setting-up-your-cluster/README.md b/docs/getting-started/setting-up-your-cluster/README.md index 777f42379..d8d4840da 100644 --- a/docs/getting-started/setting-up-your-cluster/README.md +++ b/docs/getting-started/setting-up-your-cluster/README.md @@ -345,7 +345,7 @@ export AWS_PROFILE=spinifex-myteam ### Instance Stuck in Pending ```bash -cat ~/spinifex/logs/spinifex.log +journalctl -u spinifex-daemon -f aws ec2 describe-images ``` diff --git a/docs/getting-started/update/README.md b/docs/getting-started/update/README.md index 44646e9ee..f40597daa 100644 --- a/docs/getting-started/update/README.md +++ b/docs/getting-started/update/README.md @@ -1,7 +1,7 @@ --- title: "Updating Spinifex" description: "Upgrade an existing Spinifex installation to the latest release." -category: "Getting Started" +category: "Administration" tags: - update - upgrade diff --git a/docs/security/flaw-remediation-policy/README.md b/docs/security/flaw-remediation-policy/README.md index 0df38ec9f..0ee68cc35 100644 --- a/docs/security/flaw-remediation-policy/README.md +++ b/docs/security/flaw-remediation-policy/README.md @@ -129,7 +129,7 @@ Operators own remediation for layers Spinifex does not ship: | Host OS + kernel | Track distribution advisories (Debian DSA, Ubuntu USN) at matching cadence. | | OVN / OVS | Patched via the operator's package channel alongside the OS. | | QEMU / KVM / libvirt | As above — hypervisor CVEs affect tenant isolation. | -| Host AV / EDR agent | See [Malware Protection §2](/docs/security/malware-protection). | +| Host AV / EDR agent | See [Malware Protection §2](/docs/security/malware-protection#2-update-requirements-sil1-3144). | Operators should subscribe to the `mulgadc/spinifex` release feed (Watch → Custom → Releases + Security Advisories) so Critical/High advisories arrive via GitHub's notification channel rather than polling. From f97ff772a30259f270967e3b851c6e8d72473528 Mon Sep 17 00:00:00 2001 From: Josh Siviour Date: Mon, 20 Apr 2026 12:04:40 +1000 Subject: [PATCH 03/10] fix: sentinel TLS errors + shared NATS retry (#152) * fix: replace stringly-typed TLS error detection with sentinel errors Export ErrCACertRead and ErrCACertParse from utils/nats.go so callers can detect permanent TLS configuration failures with errors.Is instead of substring matching on error messages. Update daemon.go and awsgw.go retry loops accordingly, and update tests to use assert.ErrorIs. Refs: mulga-siv-1 * refactor: extract shared NATS connect-with-retry into utils daemon.connectNATS() and awsgw.connectNATS() were near-identical retry loops. Extract to utils.ConnectNATSWithRetry() with functional options for test configurability. --- spinifex/daemon/daemon.go | 43 ++++---------------- spinifex/daemon/daemon_test.go | 7 +++- spinifex/services/awsgw/awsgw.go | 34 +--------------- spinifex/utils/nats.go | 70 +++++++++++++++++++++++++++++++- spinifex/utils/nats_test.go | 42 ++++++++++++++++++- 5 files changed, 121 insertions(+), 75 deletions(-) diff --git a/spinifex/daemon/daemon.go b/spinifex/daemon/daemon.go index d6c0f8547..eaf7aefed 100644 --- a/spinifex/daemon/daemon.go +++ b/spinifex/daemon/daemon.go @@ -144,9 +144,8 @@ type Daemon struct { // Delay after QMP device_del before blockdev-del (default 1s, 0 in tests) detachDelay time.Duration - // NATS connect retry parameters (zero values use defaults: 5min max, 500ms initial delay) - natsMaxWait time.Duration - natsRetryDelay time.Duration + // NATS connect retry options (nil uses defaults: 5min max, 500ms initial delay) + natsRetryOpts []utils.RetryOption // NetworkPlumber handles tap device lifecycle for VPC networking networkPlumber NetworkPlumber @@ -839,40 +838,12 @@ func (d *Daemon) Start() error { // be ready immediately after daemon start (e.g. if start-dev.sh is still // launching services). This retries for up to 5 minutes before giving up. func (d *Daemon) connectNATS() error { - maxWait := 5 * time.Minute - retryDelay := 500 * time.Millisecond - if d.natsMaxWait > 0 { - maxWait = d.natsMaxWait - } - if d.natsRetryDelay > 0 { - retryDelay = d.natsRetryDelay - } - start := time.Now() - - for { - nc, err := utils.ConnectNATS(d.config.NATS.Host, d.config.NATS.ACL.Token, d.config.NATS.CACert) - if err == nil { - d.natsConn = nc - if time.Since(start) > time.Second { - slog.Info("NATS connection established", "elapsed", time.Since(start)) - } - return nil - } - - // TLS configuration errors are permanent — retrying will not help. - if strings.Contains(err.Error(), "CA cert") { - return fmt.Errorf("NATS TLS configuration error: %w", err) - } - - elapsed := time.Since(start) - if elapsed >= maxWait { - return fmt.Errorf("NATS connect failed after %s: %w", elapsed.Round(time.Second), err) - } - - slog.Warn("NATS not ready, retrying...", "error", err, "elapsed", elapsed.Round(time.Second), "retryIn", retryDelay) - time.Sleep(retryDelay) - retryDelay = min(retryDelay*2, 10*time.Second) + nc, err := utils.ConnectNATSWithRetry(d.config.NATS.Host, d.config.NATS.ACL.Token, d.config.NATS.CACert, d.natsRetryOpts...) + if err != nil { + return err } + d.natsConn = nc + return nil } // initJetStream initializes JetStream with retry/backoff and upgrades replicas diff --git a/spinifex/daemon/daemon_test.go b/spinifex/daemon/daemon_test.go index 34724fe45..ccef2d1cf 100644 --- a/spinifex/daemon/daemon_test.go +++ b/spinifex/daemon/daemon_test.go @@ -32,6 +32,7 @@ import ( "github.com/mulgadc/spinifex/spinifex/objectstore" "github.com/mulgadc/spinifex/spinifex/qmp" "github.com/mulgadc/spinifex/spinifex/types" + "github.com/mulgadc/spinifex/spinifex/utils" "github.com/mulgadc/spinifex/spinifex/vm" "github.com/nats-io/nats.go" "github.com/stretchr/testify/assert" @@ -3744,8 +3745,10 @@ func TestConnectNATS_RetriesOnFailure(t *testing.T) { clusterCfg.Nodes["node-1"] = cfg daemon, err := NewDaemon(clusterCfg) require.NoError(t, err) - daemon.natsMaxWait = 500 * time.Millisecond - daemon.natsRetryDelay = 50 * time.Millisecond + daemon.natsRetryOpts = []utils.RetryOption{ + utils.WithMaxWait(500 * time.Millisecond), + utils.WithRetryDelay(50 * time.Millisecond), + } start := time.Now() err = daemon.connectNATS() diff --git a/spinifex/services/awsgw/awsgw.go b/spinifex/services/awsgw/awsgw.go index e46de75b9..add0370b3 100644 --- a/spinifex/services/awsgw/awsgw.go +++ b/spinifex/services/awsgw/awsgw.go @@ -102,7 +102,7 @@ func launchService(config *config.ClusterConfig) error { // Connect to NATS for service communication. On concurrent startup the // local NATS server may not be listening yet, so retry with backoff. - natsConn, err := connectNATS(nodeConfig.NATS.Host, nodeConfig.NATS.ACL.Token, nodeConfig.NATS.CACert) + natsConn, err := utils.ConnectNATSWithRetry(nodeConfig.NATS.Host, nodeConfig.NATS.ACL.Token, nodeConfig.NATS.CACert) if err != nil { return err } @@ -203,38 +203,6 @@ func launchService(config *config.ClusterConfig) error { return nil } -// connectNATS establishes a connection to NATS with retry/backoff. On concurrent -// startup the local NATS server may not be listening yet. -func connectNATS(host, token, caCertPath string) (*nats.Conn, error) { - const maxWait = 5 * time.Minute - retryDelay := 500 * time.Millisecond - start := time.Now() - - for { - nc, err := utils.ConnectNATS(host, token, caCertPath) - if err == nil { - if time.Since(start) > time.Second { - slog.Info("NATS connection established", "elapsed", time.Since(start).Round(time.Second)) - } - return nc, nil - } - - // TLS configuration errors are permanent — retrying will not help. - if strings.Contains(err.Error(), "CA cert") { - return nil, fmt.Errorf("NATS TLS configuration error: %w", err) - } - - elapsed := time.Since(start) - if elapsed >= maxWait { - return nil, fmt.Errorf("NATS connect failed after %s: %w", elapsed.Round(time.Second), err) - } - - slog.Warn("NATS not ready, retrying...", "error", err, "elapsed", elapsed.Round(time.Second), "retryIn", retryDelay) - time.Sleep(retryDelay) - retryDelay = min(retryDelay*2, 10*time.Second) - } -} - // initIAMService initializes the IAM service with retry/backoff. On multi-node // clusters, JetStream requires NATS cluster quorum before KV buckets can be // created. This retries for up to 5 minutes to allow late-joining nodes. diff --git a/spinifex/utils/nats.go b/spinifex/utils/nats.go index e4b7b84e2..3d7feceb3 100644 --- a/spinifex/utils/nats.go +++ b/spinifex/utils/nats.go @@ -13,6 +13,14 @@ import ( "github.com/nats-io/nats.go" ) +// Sentinel errors for TLS certificate configuration failures in ConnectNATS. +// Callers can use errors.Is to detect permanent TLS errors without relying +// on error message text. +var ( + ErrCACertRead = errors.New("failed to read CA cert") + ErrCACertParse = errors.New("failed to parse CA cert") +) + // ConnectNATS establishes a connection to a NATS server with standard reconnect // handling and logging. If token is non-empty, token authentication is used. // If caCertPath is non-empty, TLS is enabled using the given CA certificate. @@ -35,11 +43,11 @@ func ConnectNATS(host, token, caCertPath string) (*nats.Conn, error) { if caCertPath != "" { caCert, err := os.ReadFile(caCertPath) if err != nil { - return nil, fmt.Errorf("read CA cert %s: %w", caCertPath, err) + return nil, fmt.Errorf("%w %s: %v", ErrCACertRead, caCertPath, err) } pool := x509.NewCertPool() if !pool.AppendCertsFromPEM(caCert) { - return nil, fmt.Errorf("failed to parse CA cert from %s", caCertPath) + return nil, fmt.Errorf("%w from %s", ErrCACertParse, caCertPath) } opts = append(opts, nats.Secure(&tls.Config{ RootCAs: pool, @@ -55,6 +63,64 @@ func ConnectNATS(host, token, caCertPath string) (*nats.Conn, error) { return nc, nil } +// retryConfig holds parameters for ConnectNATSWithRetry. +type retryConfig struct { + maxWait time.Duration + retryDelay time.Duration +} + +// RetryOption configures ConnectNATSWithRetry behavior. +type RetryOption func(*retryConfig) + +// WithMaxWait sets the maximum total time to keep retrying before giving up. +func WithMaxWait(d time.Duration) RetryOption { + return func(c *retryConfig) { c.maxWait = d } +} + +// WithRetryDelay sets the initial delay between retries (doubles each attempt, capped at 10s). +func WithRetryDelay(d time.Duration) RetryOption { + return func(c *retryConfig) { c.retryDelay = d } +} + +// ConnectNATSWithRetry calls ConnectNATS in a retry loop with exponential +// backoff. It retries for up to 5 minutes (default) before giving up. TLS +// configuration errors (ErrCACertRead, ErrCACertParse) are permanent and +// cause an immediate return without retrying. +func ConnectNATSWithRetry(host, token, caCertPath string, opts ...RetryOption) (*nats.Conn, error) { + cfg := retryConfig{ + maxWait: 5 * time.Minute, + retryDelay: 500 * time.Millisecond, + } + for _, o := range opts { + o(&cfg) + } + + start := time.Now() + for { + nc, err := ConnectNATS(host, token, caCertPath) + if err == nil { + if time.Since(start) > time.Second { + slog.Info("NATS connection established", "elapsed", time.Since(start).Round(time.Second)) + } + return nc, nil + } + + // TLS configuration errors are permanent — retrying will not help. + if errors.Is(err, ErrCACertRead) || errors.Is(err, ErrCACertParse) { + return nil, fmt.Errorf("NATS TLS configuration error: %w", err) + } + + elapsed := time.Since(start) + if elapsed >= cfg.maxWait { + return nil, fmt.Errorf("NATS connect failed after %s: %w", elapsed.Round(time.Second), err) + } + + slog.Warn("NATS not ready, retrying...", "error", err, "elapsed", elapsed.Round(time.Second), "retryIn", cfg.retryDelay) + time.Sleep(cfg.retryDelay) + cfg.retryDelay = min(cfg.retryDelay*2, 10*time.Second) + } +} + // AccountIDHeader is the NATS message header key used to pass the caller's // AWS account ID from the gateway to daemon handlers. const AccountIDHeader = "X-Account-ID" diff --git a/spinifex/utils/nats_test.go b/spinifex/utils/nats_test.go index b382ee6ac..71cd4649f 100644 --- a/spinifex/utils/nats_test.go +++ b/spinifex/utils/nats_test.go @@ -90,7 +90,7 @@ func TestConnectNATS_BadAddress(t *testing.T) { func TestConnectNATS_MissingCACert(t *testing.T) { _, err := ConnectNATS("nats://127.0.0.1:4222", "", "/nonexistent/ca.pem") require.Error(t, err) - assert.Contains(t, err.Error(), "read CA cert") + assert.ErrorIs(t, err, ErrCACertRead) assert.Contains(t, err.Error(), "/nonexistent/ca.pem") } @@ -101,7 +101,7 @@ func TestConnectNATS_MalformedCACert(t *testing.T) { _, err := ConnectNATS("nats://127.0.0.1:4222", "", badCert) require.Error(t, err) - assert.Contains(t, err.Error(), "failed to parse CA cert") + assert.ErrorIs(t, err, ErrCACertParse) } // generateTestCA creates an ephemeral CA cert+key and writes PEM files to dir. @@ -535,3 +535,41 @@ func TestAccountIDFromMsg_NilHeader(t *testing.T) { msg := &nats.Msg{Subject: "test"} assert.Equal(t, "", AccountIDFromMsg(msg)) } + +// --- ConnectNATSWithRetry tests --- + +func TestConnectNATSWithRetry_Success(t *testing.T) { + ns := startTestNATSServer(t) + + nc, err := ConnectNATSWithRetry(ns.ClientURL(), "", "") + require.NoError(t, err) + defer nc.Close() + assert.True(t, nc.IsConnected()) +} + +func TestConnectNATSWithRetry_RetriesOnFailure(t *testing.T) { + start := time.Now() + _, err := ConnectNATSWithRetry("nats://127.0.0.1:14222", "", "", + WithMaxWait(500*time.Millisecond), + WithRetryDelay(50*time.Millisecond), + ) + elapsed := time.Since(start) + + require.Error(t, err) + assert.Contains(t, err.Error(), "NATS connect failed") + assert.GreaterOrEqual(t, elapsed, 100*time.Millisecond, "should have retried at least once") + assert.Less(t, elapsed, 5*time.Second, "should fail within a few seconds") +} + +func TestConnectNATSWithRetry_TLSErrorNoRetry(t *testing.T) { + start := time.Now() + _, err := ConnectNATSWithRetry("nats://127.0.0.1:4222", "", "/nonexistent/ca.pem", + WithMaxWait(5*time.Second), + ) + elapsed := time.Since(start) + + require.Error(t, err) + assert.ErrorIs(t, err, ErrCACertRead) + assert.Contains(t, err.Error(), "NATS TLS configuration error") + assert.Less(t, elapsed, time.Second, "should fail immediately without retrying") +} From d6863f3d5e05d50495f6e1b2d63c441f9fb509d3 Mon Sep 17 00:00:00 2001 From: joshsiv-mulga Date: Mon, 20 Apr 2026 14:18:22 +1000 Subject: [PATCH 04/10] Change LB ISO download to Cloudflare host --- spinifex/utils/images.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinifex/utils/images.go b/spinifex/utils/images.go index 79a0e7676..385cd8ff5 100644 --- a/spinifex/utils/images.go +++ b/spinifex/utils/images.go @@ -348,8 +348,8 @@ var AvailableImages = map[string]Images{ Arch: "x86_64", Platform: "Linux/UNIX", CreatedAt: time.Date(2026, 03, 27, 0, 0, 0, 0, time.UTC), - URL: "https://d2yp8ipz5jfqcw.cloudfront.net/alb-alpine-3.21.6-x86_64.raw", - Checksum: "https://d2yp8ipz5jfqcw.cloudfront.net/alb-alpine-3.21.6-x86_64.raw.sha512", + URL: "https://iso.mulgadc.com/system-ami/lb-alpine-3.21.6-x86_64.raw", + Checksum: "https://iso.mulgadc.com/system-ami/lb-alpine-3.21.6-x86_64.raw.sha512", ChecksumType: "sha512", BootMode: "bios", Starred: false, From b46fe2531abb8afff4d278c92ec0cba715267036 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:01:29 +1000 Subject: [PATCH 05/10] chore: bump the npm-dependencies group (#154) --- .../services/spinifexui/frontend/package.json | 40 +- .../spinifexui/frontend/pnpm-lock.yaml | 2311 ++++++++--------- 2 files changed, 1173 insertions(+), 1178 deletions(-) diff --git a/spinifex/services/spinifexui/frontend/package.json b/spinifex/services/spinifexui/frontend/package.json index 250393a8b..595841c0c 100644 --- a/spinifex/services/spinifexui/frontend/package.json +++ b/spinifex/services/spinifexui/frontend/package.json @@ -14,19 +14,19 @@ }, "dependencies": { "@aws-crypto/sha256-browser": "^5.2.0", - "@aws-sdk/client-ec2": "^3.1029.0", - "@aws-sdk/client-elastic-load-balancing-v2": "^3.1029.0", - "@aws-sdk/client-iam": "^3.1029.0", - "@aws-sdk/client-s3": "^3.1029.0", - "@aws-sdk/lib-storage": "^3.1029.0", - "@base-ui/react": "^1.3.0", + "@aws-sdk/client-ec2": "^3.1032.0", + "@aws-sdk/client-elastic-load-balancing-v2": "^3.1032.0", + "@aws-sdk/client-iam": "^3.1032.0", + "@aws-sdk/client-s3": "^3.1032.0", + "@aws-sdk/lib-storage": "^3.1032.0", + "@base-ui/react": "^1.4.0", "@fontsource-variable/geist": "^5.2.8", "@fontsource-variable/jetbrains-mono": "^5.2.8", "@hookform/resolvers": "^5.2.2", - "@smithy/protocol-http": "^5.3.13", - "@smithy/signature-v4": "^5.3.13", - "@tanstack/react-query": "^5.99.0", - "@tanstack/react-router": "^1.168.18", + "@smithy/protocol-http": "^5.3.14", + "@smithy/signature-v4": "^5.3.14", + "@tanstack/react-query": "^5.99.1", + "@tanstack/react-router": "^1.168.23", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^1.8.0", @@ -38,28 +38,28 @@ "zod": "^4.3.6" }, "devDependencies": { - "@rolldown/plugin-babel": "^0.2.2", + "@rolldown/plugin-babel": "^0.2.3", "@tailwindcss/vite": "^4.2.2", - "@tanstack/eslint-plugin-query": "^5.99.0", + "@tanstack/eslint-plugin-query": "^5.99.1", "@tanstack/eslint-plugin-router": "^1.161.6", - "@tanstack/router-plugin": "^1.167.18", + "@tanstack/router-plugin": "^1.167.22", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/node": "24.12.2", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", - "@typescript/native-preview": "7.0.0-dev.20260411.1", + "@typescript/native-preview": "7.0.0-dev.20260418.1", "@vitejs/plugin-basic-ssl": "^2.3.0", "@vitejs/plugin-react": "^6.0.1", "@vitest/coverage-v8": "^4.1.4", "babel-plugin-react-compiler": "^1.0.0", - "happy-dom": "^20.8.9", - "oxfmt": "^0.44.0", - "oxlint": "^1.59.0", - "oxlint-tsgolint": "^0.20.0", - "typescript": "^6.0.2", - "ultracite": "7.5.6", + "happy-dom": "^20.9.0", + "oxfmt": "^0.45.0", + "oxlint": "^1.60.0", + "oxlint-tsgolint": "^0.21.1", + "typescript": "^6.0.3", + "ultracite": "7.6.0", "vite": "^8.0.8", "vitest": "^4.1.4" }, diff --git a/spinifex/services/spinifexui/frontend/pnpm-lock.yaml b/spinifex/services/spinifexui/frontend/pnpm-lock.yaml index 8fc25b6d3..aadb22254 100644 --- a/spinifex/services/spinifexui/frontend/pnpm-lock.yaml +++ b/spinifex/services/spinifexui/frontend/pnpm-lock.yaml @@ -12,23 +12,23 @@ importers: specifier: ^5.2.0 version: 5.2.0 '@aws-sdk/client-ec2': - specifier: ^3.1029.0 - version: 3.1029.0 + specifier: ^3.1032.0 + version: 3.1032.0 '@aws-sdk/client-elastic-load-balancing-v2': - specifier: ^3.1029.0 - version: 3.1029.0 + specifier: ^3.1032.0 + version: 3.1032.0 '@aws-sdk/client-iam': - specifier: ^3.1029.0 - version: 3.1029.0 + specifier: ^3.1032.0 + version: 3.1032.0 '@aws-sdk/client-s3': - specifier: ^3.1029.0 - version: 3.1029.0 + specifier: ^3.1032.0 + version: 3.1032.0 '@aws-sdk/lib-storage': - specifier: ^3.1029.0 - version: 3.1029.0(@aws-sdk/client-s3@3.1029.0) + specifier: ^3.1032.0 + version: 3.1032.0(@aws-sdk/client-s3@3.1032.0) '@base-ui/react': - specifier: ^1.3.0 - version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) + specifier: ^1.4.0 + version: 1.4.0(@date-fns/tz@1.4.1)(@types/react@19.2.14)(date-fns@4.1.0)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) '@fontsource-variable/geist': specifier: ^5.2.8 version: 5.2.8 @@ -39,17 +39,17 @@ importers: specifier: ^5.2.2 version: 5.2.2(react-hook-form@7.72.1(react@19.2.5)) '@smithy/protocol-http': - specifier: ^5.3.13 - version: 5.3.13 + specifier: ^5.3.14 + version: 5.3.14 '@smithy/signature-v4': - specifier: ^5.3.13 - version: 5.3.13 + specifier: ^5.3.14 + version: 5.3.14 '@tanstack/react-query': - specifier: ^5.99.0 - version: 5.99.0(react@19.2.5) + specifier: ^5.99.1 + version: 5.99.1(react@19.2.5) '@tanstack/react-router': - specifier: ^1.168.18 - version: 1.168.18(react-dom@19.2.5(react@19.2.5))(react@19.2.5) + specifier: ^1.168.23 + version: 1.168.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -79,20 +79,20 @@ importers: version: 4.3.6 devDependencies: '@rolldown/plugin-babel': - specifier: ^0.2.2 - version: 0.2.2(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + specifier: ^0.2.3 + version: 0.2.3(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@tailwindcss/vite': specifier: ^4.2.2 - version: 4.2.2(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + version: 4.2.2(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@tanstack/eslint-plugin-query': - specifier: ^5.99.0 - version: 5.99.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + specifier: ^5.99.1 + version: 5.99.1(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3) '@tanstack/eslint-plugin-router': specifier: ^1.161.6 - version: 1.161.6(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + version: 1.161.6(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3) '@tanstack/router-plugin': - specifier: ^1.167.18 - version: 1.167.18(@tanstack/react-router@1.168.18(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + specifier: ^1.167.22 + version: 1.167.22(@tanstack/react-router@1.168.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@testing-library/jest-dom': specifier: ^6.9.1 version: 6.9.1 @@ -112,14 +112,14 @@ importers: specifier: ^19.2.3 version: 19.2.3(@types/react@19.2.14) '@typescript/native-preview': - specifier: 7.0.0-dev.20260411.1 - version: 7.0.0-dev.20260411.1 + specifier: 7.0.0-dev.20260418.1 + version: 7.0.0-dev.20260418.1 '@vitejs/plugin-basic-ssl': specifier: ^2.3.0 - version: 2.3.0(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + version: 2.3.0(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@vitejs/plugin-react': specifier: ^6.0.1 - version: 6.0.1(@rolldown/plugin-babel@0.2.2(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)))(babel-plugin-react-compiler@1.0.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + version: 6.0.1(@rolldown/plugin-babel@0.2.3(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)))(babel-plugin-react-compiler@1.0.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@vitest/coverage-v8': specifier: ^4.1.4 version: 4.1.4(vitest@4.1.4) @@ -127,29 +127,29 @@ importers: specifier: ^1.0.0 version: 1.0.0 happy-dom: - specifier: ^20.8.9 - version: 20.8.9 + specifier: ^20.9.0 + version: 20.9.0 oxfmt: - specifier: ^0.44.0 - version: 0.44.0 + specifier: ^0.45.0 + version: 0.45.0 oxlint: - specifier: ^1.59.0 - version: 1.59.0(oxlint-tsgolint@0.20.0) + specifier: ^1.60.0 + version: 1.60.0(oxlint-tsgolint@0.21.1) oxlint-tsgolint: - specifier: ^0.20.0 - version: 0.20.0 + specifier: ^0.21.1 + version: 0.21.1 typescript: - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 ultracite: - specifier: 7.5.6 - version: 7.5.6(oxlint@1.59.0(oxlint-tsgolint@0.20.0)) + specifier: 7.6.0 + version: 7.6.0(oxfmt@0.45.0)(oxlint@1.60.0(oxlint-tsgolint@0.21.1)) vite: specifier: ^8.0.8 - version: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + version: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) vitest: specifier: ^4.1.4 - version: 4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.8.9)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + version: 4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.9.0)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) packages: @@ -159,13 +159,17 @@ packages: '@adobe/css-tools@4.4.4': resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==} - '@asamuzakjp/css-color@5.1.10': - resolution: {integrity: sha512-02OhhkKtgNRuicQ/nF3TRnGsxL9wp0r3Y7VlKWyOHHGmGyvXv03y+PnymU8FKFJMTjIr1Bk8U2g1HWSLrpAHww==} + '@asamuzakjp/css-color@5.1.11': + resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==} engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} '@asamuzakjp/dom-selector@6.8.1': resolution: {integrity: sha512-MvRz1nCqW0fsy8Qz4dnLIvhOlMzqDVBabZx6lH+YywFDdjXhMY37SmpV1XFX3JzG5GWHn63j6HX6QPr3lZXHvQ==} + '@asamuzakjp/generational-cache@1.0.1': + resolution: {integrity: sha512-wajfB8KqzMCN2KGNFdLkReeHncd0AslUSrvHVvvYWuU8ghncRJoA50kT3zP9MVL0+9g4/67H+cdvBskj9THPzg==} + engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + '@asamuzakjp/nwsapi@2.3.9': resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==} @@ -192,157 +196,157 @@ packages: '@aws-crypto/util@5.2.0': resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==} - '@aws-sdk/client-ec2@3.1029.0': - resolution: {integrity: sha512-JrxHF3368Tjt3fkcoajSEGeAnOLIcpOMlf9raSO88Q5+gUOsRtWwfBoJD5VsZFaY2aqc335INT6s2bAbv6kELA==} + '@aws-sdk/client-ec2@3.1032.0': + resolution: {integrity: sha512-GIylV1tq4kOsS6iatmA8XIRXm7aqZU36IA7cN5/wCWStVXsDgLZuRMYkzEnezieHu6+xmxKqAtDxH+/eUqcYKg==} engines: {node: '>=20.0.0'} - '@aws-sdk/client-elastic-load-balancing-v2@3.1029.0': - resolution: {integrity: sha512-iGZZr0Vj+7+uGIKBbD0Xl8fvUgM2ZAKNQA9F4nu+dpRCRD17SuwtHoPUIUf2eWMxtFvzqZ2DWmaFbnREEOU3AA==} + '@aws-sdk/client-elastic-load-balancing-v2@3.1032.0': + resolution: {integrity: sha512-OtTD68xc5Ui9g5TMaJZK/FrKhEiy7yuvhrsANSaRrHpQHrlgLVpQ09+bpGu3hisIaqi74mUwrSfwx1bDpXd/cQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/client-iam@3.1029.0': - resolution: {integrity: sha512-v/5wWvrX3fveCP5UQ4qTCvvD9KCQ3dpnY6uEOCGpkAigli+xzEixl8xNQDCRi9G3KyrhvGaeE2SEfuuoCHX+gw==} + '@aws-sdk/client-iam@3.1032.0': + resolution: {integrity: sha512-dzLygZx+PIUJ1Iob2l6a3ToqRtF1FQzF+Ps8lPeFaJSibslUt12hmBGUJ7uIVvoXhGzRRsRwtXTCH++XZpVYag==} engines: {node: '>=20.0.0'} - '@aws-sdk/client-s3@3.1029.0': - resolution: {integrity: sha512-OuA8RZTxsAaHDcI25j2NGLMaYFI2WpJdDzK3uLmVBmaHwjQKQZOUDVVBcln8pNo3IgkY+HRSJhRR4/xlM//UyQ==} + '@aws-sdk/client-s3@3.1032.0': + resolution: {integrity: sha512-A1wjVhV3IgsZ5td2l4AWgK03EjZ+ldwbiorxuO1hPf7RHJtSdr6oq/gKzyUwP7Tm7ma/M2xS/tplg5C8XB8RWg==} engines: {node: '>=20.0.0'} - '@aws-sdk/core@3.973.27': - resolution: {integrity: sha512-CUZ5m8hwMCH6OYI4Li/WgMfIEx10Q2PLI9Y3XOUTPGZJ53aZ0007jCv+X/ywsaERyKPdw5MRZWk877roQksQ4A==} + '@aws-sdk/core@3.974.1': + resolution: {integrity: sha512-gy/gffKz0zaHDaqRiLCdIvgHmaAL/HXuAtMcBP7euYSFx4BsbsdlfmUBJag+Gqe62z6/XuloKyQyaiH+kS3Vrg==} engines: {node: '>=20.0.0'} - '@aws-sdk/crc64-nvme@3.972.6': - resolution: {integrity: sha512-NMbiqKdruhwwgI6nzBVe2jWMkXjaoQz2YOs3rFX+2F3gGyrJDkDPwMpV/RsTFeq2vAQ055wZNtOXFK4NYSkM8g==} + '@aws-sdk/crc64-nvme@3.972.7': + resolution: {integrity: sha512-QUagVVBbC8gODCF6e1aV0mE2TXWB9Opz4k8EJFdNrujUVQm5R4AjJa1mpOqzwOuROBzqJU9zawzig7M96L8Ejg==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-env@3.972.25': - resolution: {integrity: sha512-6QfI0wv4jpG5CrdO/AO0JfZ2ux+tKwJPrUwmvxXF50vI5KIypKVGNF6b4vlkYEnKumDTI1NX2zUBi8JoU5QU3A==} + '@aws-sdk/credential-provider-env@3.972.27': + resolution: {integrity: sha512-xfUt2CUZDC+Tf16A6roD1b4pk/nrXdkoLY3TEhv198AXDtBo5xUJP1zd0e8SmuKLN4PpIBX96OizZbmMlcI6oQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-http@3.972.27': - resolution: {integrity: sha512-3V3Usj9Gs93h865DqN4M2NWJhC5kXU9BvZskfN3+69omuYlE3TZxOEcVQtBGLOloJB7BVfJKXVLqeNhOzHqSlQ==} + '@aws-sdk/credential-provider-http@3.972.29': + resolution: {integrity: sha512-hjNeYb6oLyHgMihra83ie0J/T2y9om3cy1qC90h9DRgvYXEoN4BCFf8bHguZjKhXunnv7YkmZRuYL5Mkk77eCA==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-ini@3.972.29': - resolution: {integrity: sha512-SiBuAnXecCbT/OpAf3vqyI/AVE3mTaYr9ShXLybxZiPLBiPCCOIWSGAtYYGQWMRvobBTiqOewaB+wcgMMZI2Aw==} + '@aws-sdk/credential-provider-ini@3.972.31': + resolution: {integrity: sha512-PuQ7e8WYzAPpzvFcajxf8c0LqSzakVHVlKw8M0oubk8Kf347YOCCqT1seQrHs5AdZuIh2RD9LX4O+Xa5ImEBfQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-login@3.972.29': - resolution: {integrity: sha512-OGOslTbOlxXexKMqhxCEbBQbUIfuhGxU5UXw3Fm56ypXHvrXH4aTt/xb5Y884LOoteP1QST1lVZzHfcTnWhiPQ==} + '@aws-sdk/credential-provider-login@3.972.31': + resolution: {integrity: sha512-bBmWDmtSpmLOZR6a0kmowBcVL1hiL8Vlap/RXeMpFd7JbWl87YcwqL6T9LH/0oBVEZXu1dUZAtojgSuZgMO5xw==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-node@3.972.30': - resolution: {integrity: sha512-FMnAnWxc8PG+ZrZ2OBKzY4luCUJhe9CG0B9YwYr4pzrYGLXBS2rl+UoUvjGbAwiptxRL6hyA3lFn03Bv1TLqTw==} + '@aws-sdk/credential-provider-node@3.972.32': + resolution: {integrity: sha512-9aj0x9hGYUondBZSD0XkksAdHhOKttFw4BWpLCeggeg40qSJxGrAP++g0GCm0VqWc1WtC/NRFiAVzPCy56vmog==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-process@3.972.25': - resolution: {integrity: sha512-HR7ynNRdNhNsdVCOCegy1HsfsRzozCOPtD3RzzT1JouuaHobWyRfJzCBue/3jP7gECHt+kQyZUvwg/cYLWurNQ==} + '@aws-sdk/credential-provider-process@3.972.27': + resolution: {integrity: sha512-1CZvfb1WzudWWIFAVQkd1OI/T1RxPcSvNWzNsb2BMBVsBJzBtB8dV5f2nymHVU4UqwxipdVt/DAbgdDRf33JDg==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-sso@3.972.29': - resolution: {integrity: sha512-HWv4SEq3jZDYPlwryZVef97+U8CxxRos5mK8sgGO1dQaFZpV5giZLzqGE5hkDmh2csYcBO2uf5XHjPTpZcJlig==} + '@aws-sdk/credential-provider-sso@3.972.31': + resolution: {integrity: sha512-x8Mx18S48XMl9bEEpYwmXDTvjWGPIfDadReN37Lc099/DUrlL4Zs9T9rwwggo6DkKS1aev6v+MTUx7JTa87TZQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/credential-provider-web-identity@3.972.29': - resolution: {integrity: sha512-PdMBza1WEKEUPFEmMGCfnU2RYCz9MskU2e8JxjyUOsMKku7j9YaDKvbDi2dzC0ihFoM6ods2SbhfAAro+Gwlew==} + '@aws-sdk/credential-provider-web-identity@3.972.31': + resolution: {integrity: sha512-zfuNMIkGfjYsHis9qytYf74Bcmq6Ji9Xwf4w53baRCI/b2otTwZv3SW1uRiJ5Di7999QzRGhHZ96+eUeo3gSOA==} engines: {node: '>=20.0.0'} - '@aws-sdk/lib-storage@3.1029.0': - resolution: {integrity: sha512-Un9PaYUUHKCbO+A2w4Hse7Fahg9siRSilR7MR5Eu9wbgzG79fCc/Jgm8x7q35KhRMW2z5Iy4tF5NjSw4nxnksA==} + '@aws-sdk/lib-storage@3.1032.0': + resolution: {integrity: sha512-jXXKbrRWYvLlCCO8suiOiFrkcsO/zVYjdPZpVnDLSO6Nled7VvxwRkjnM1/l5CnOHAW6VGhR3nrU/+LmqeGQYg==} engines: {node: '>=20.0.0'} peerDependencies: - '@aws-sdk/client-s3': ^3.1029.0 + '@aws-sdk/client-s3': ^3.1032.0 - '@aws-sdk/middleware-bucket-endpoint@3.972.9': - resolution: {integrity: sha512-COToYKgquDyligbcAep7ygs48RK+mwe/IYprq4+TSrVFzNOYmzWvHf6werpnKV5VYpRiwdn+Wa5ZXkPqLVwcTg==} + '@aws-sdk/middleware-bucket-endpoint@3.972.10': + resolution: {integrity: sha512-Vbc2frZH7wXlMNd+ZZSXUEs/l1Sv8Jj4zUnIfwrYF5lwaLdXHZ9xx4U3rjUcaye3HRhFVc+E5DbBxpRAbB16BA==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-expect-continue@3.972.9': - resolution: {integrity: sha512-V/FNCjFxnh4VGu+HdSiW4Yg5GELihA1MIDSAdsEPvuayXBVmr0Jaa6jdLAZLH38KYXl/vVjri9DQJWnTAujHEA==} + '@aws-sdk/middleware-expect-continue@3.972.10': + resolution: {integrity: sha512-2Yn0f1Qiq/DjxYR3wfI3LokXnjOhFM7Ssn4LTdFDIxRMCE6I32MAsVnhPX1cUZsuVA9tiZtwwhlSLAtFGxAZlQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-flexible-checksums@3.974.7': - resolution: {integrity: sha512-uU4/ch2CLHB8Phu1oTKnnQ4e8Ujqi49zEnQYBhWYT53zfFvtJCdGsaOoypBr8Fm/pmCBssRmGoIQ4sixgdLP9w==} + '@aws-sdk/middleware-flexible-checksums@3.974.9': + resolution: {integrity: sha512-ye6xVuMEQ5NCT+yQOryGYsuCXnOwu7iGFGzV+qpXZOWtqXIAAaFostapxj6RCubw36rekVwmdB2lcspFuyNfYQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-host-header@3.972.9': - resolution: {integrity: sha512-je5vRdNw4SkuTnmRbFZLdye4sQ0faLt8kwka5wnnSU30q1mHO4X+idGEJOOE+Tn1ME7Oryn05xxkDvIb3UaLaQ==} + '@aws-sdk/middleware-host-header@3.972.10': + resolution: {integrity: sha512-IJSsIMeVQ8MMCPbuh1AbltkFhLBLXn7aejzfX5YKT/VLDHn++Dcz8886tXckE+wQssyPUhaXrJhdakO2VilRhg==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-location-constraint@3.972.9': - resolution: {integrity: sha512-TyfOi2XNdOZpNKeTJwRUsVAGa+14nkyMb2VVGG+eDgcWG/ed6+NUo72N3hT6QJioxym80NSinErD+LBRF0Ir1w==} + '@aws-sdk/middleware-location-constraint@3.972.10': + resolution: {integrity: sha512-rI3NZvJcEvjoD0+0PI0iUAwlPw2IlSlhyvgBK/3WkKJQE/YiKFedd9dMN2lVacdNxPNhxL/jzQaKQdrGtQagjQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-logger@3.972.9': - resolution: {integrity: sha512-HsVgDrruhqI28RkaXALm8grJ7Agc1wF6Et0xh6pom8NdO2VdO/SD9U/tPwUjewwK/pVoka+EShBxyCvgsPCtog==} + '@aws-sdk/middleware-logger@3.972.10': + resolution: {integrity: sha512-OOuGvvz1Dm20SjZo5oEBePFqxt5nf8AwkNDSyUHvD9/bfNASmstcYxFAHUowy4n6Io7mWUZ04JURZwSBvyQanQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-recursion-detection@3.972.10': - resolution: {integrity: sha512-RVQQbq5orQ/GHUnXvqEOj2HHPBJm+mM+ySwZKS5UaLBwra5ugRtiH09PLUoOZRl7a1YzaOzXSuGbn9iD5j60WQ==} + '@aws-sdk/middleware-recursion-detection@3.972.11': + resolution: {integrity: sha512-+zz6f79Kj9V5qFK2P+D8Ehjnw4AhphAlCAsPjUqEcInA9umtSSKMrHbSagEeOIsDNuvVrH98bjRHcyQukTrhaQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-sdk-ec2@3.972.19': - resolution: {integrity: sha512-eB73yVCMipYwoxiKzRAy4gt1FiAVl/EodfdMxvPomKZw+yWEWKiGhwrVhtLHhFRAM+QkMLnEslsbvsyFELHW+g==} + '@aws-sdk/middleware-sdk-ec2@3.972.20': + resolution: {integrity: sha512-nmkwdX9ImAvVtzBl65GzttDUV6GUL3KNbDs0nk3XYQS6KdQnxuGnvirw1CTCsDrMJOQgMmKY3TEHc0r+zZGc0Q==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-sdk-s3@3.972.28': - resolution: {integrity: sha512-qJHcJQH9UNPUrnPlRtCozKjtqAaypQ5IgQxTNoPsVYIQeuwNIA8Rwt3NvGij1vCDYDfCmZaPLpnJEHlZXeFqmg==} + '@aws-sdk/middleware-sdk-s3@3.972.30': + resolution: {integrity: sha512-hoQRxjJu4tt3gEOQin21rJKotClJC+x7AmCh9ylRct1DJeaNI/BRlFxMbuhJe54bG6xANPagSs0my8K30QyV9g==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-ssec@3.972.9': - resolution: {integrity: sha512-wSA2BR7L0CyBNDJeSrleIIzC+DzL93YNTdfU0KPGLiocK6YsRv1nPAzPF+BFSdcs0Qa5ku5Kcf4KvQcWwKGenQ==} + '@aws-sdk/middleware-ssec@3.972.10': + resolution: {integrity: sha512-Gli9A0u8EVVb+5bFDGS/QbSVg28w/wpEidg1ggVcSj65BDTdGR6punsOcVjqdiu1i42WHWo51MCvARPIIz9juw==} engines: {node: '>=20.0.0'} - '@aws-sdk/middleware-user-agent@3.972.29': - resolution: {integrity: sha512-f/sIRzuTfEjg6NsbMYvye2VsmnQoNgntntleQyx5uGacUYzszbfIlO3GcI6G6daWUmTm0IDZc11qMHWwF0o0mQ==} + '@aws-sdk/middleware-user-agent@3.972.31': + resolution: {integrity: sha512-L+hXN2HDomlIsWSHW5DVD7ppccCeRnlHXZ5uHG34ePTjF5bm0I1fmrJLbUGiW97xRXWryit5cjdP4Sx2FwiGog==} engines: {node: '>=20.0.0'} - '@aws-sdk/nested-clients@3.996.19': - resolution: {integrity: sha512-uFkmCDXvmQYLanlYdOFS0+MQWkrj9wPMt/ZCc/0J0fjPim6F5jBVBmEomvGY/j77ILW6GTPwN22Jc174Mhkw6Q==} + '@aws-sdk/nested-clients@3.996.21': + resolution: {integrity: sha512-Me3d/ua2lb2G0bQfFmvCeQQp3+nN6GSPqMxDmi/IQlQ8CrlpQ5C0JJHpz2AnOUkEFI0lBNrAL3Vnt29l44ndkA==} engines: {node: '>=20.0.0'} - '@aws-sdk/region-config-resolver@3.972.11': - resolution: {integrity: sha512-6Q8B1dcx6BBqUTY1Mc/eROKA0FImEEY5VPSd6AGPEUf0ErjExz4snVqa9kNJSoVDV1rKaNf3qrWojgcKW+SdDg==} + '@aws-sdk/region-config-resolver@3.972.12': + resolution: {integrity: sha512-QQI43Mxd53nBij0pm8HXC+t4IOC6gnhhZfzxE0OATQyO6QfPV4e+aTIRRuAJKA6Nig/cR8eLwPryqYTX9ZrjAQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/signature-v4-multi-region@3.996.16': - resolution: {integrity: sha512-EMdXYB4r/k5RWq86fugjRhid5JA+Z6MpS7n4sij4u5/C+STrkvuf9aFu41rJA9MjUzxCLzv8U2XL8cH2GSRYpQ==} + '@aws-sdk/signature-v4-multi-region@3.996.18': + resolution: {integrity: sha512-4KT8UXRmvNAP5zKq9UI1MIwbnmSChZncBt89RKu/skMqZSSWGkBZTAJsZ+no+txfmF3kVaUFv31CTBZkQ5BJpQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/token-providers@3.1026.0': - resolution: {integrity: sha512-Ieq/HiRrbEtrYP387Nes0XlR7H1pJiJOZKv+QyQzMYpvTiDs0VKy2ZB3E2Zf+aFovWmeE7lRE4lXyF7dYM6GgA==} + '@aws-sdk/token-providers@3.1032.0': + resolution: {integrity: sha512-n+PU8Z+gll7p3wDrH+Wo6fkt8sPrVnq30YYM6Ryga95oJlEneNMEbDHj0iqjMX3V7gaGdJo/hJWyPo4lscP+mA==} engines: {node: '>=20.0.0'} '@aws-sdk/types@3.973.6': resolution: {integrity: sha512-Atfcy4E++beKtwJHiDln2Nby8W/mam64opFPTiHEqgsthqeydFS1pY+OUlN1ouNOmf8ArPU/6cDS65anOP3KQw==} engines: {node: '>=20.0.0'} - '@aws-sdk/types@3.973.7': - resolution: {integrity: sha512-reXRwoJ6CfChoqAsBszUYajAF8Z2LRE+CRcKocvFSMpIiLOtYU3aJ9trmn6VVPAzbbY5LXF+FfmUslbXk1SYFg==} + '@aws-sdk/types@3.973.8': + resolution: {integrity: sha512-gjlAdtHMbtR9X5iIhVUvbVcy55KnznpC6bkDUWW9z915bi0ckdUr5cjf16Kp6xq0bP5HBD2xzgbL9F9Quv5vUw==} engines: {node: '>=20.0.0'} '@aws-sdk/util-arn-parser@3.972.3': resolution: {integrity: sha512-HzSD8PMFrvgi2Kserxuff5VitNq2sgf3w9qxmskKDiDTThWfVteJxuCS9JXiPIPtmCrp+7N9asfIaVhBFORllA==} engines: {node: '>=20.0.0'} - '@aws-sdk/util-endpoints@3.996.6': - resolution: {integrity: sha512-2nUQ+2ih7CShuKHpGSIYvvAIOHy52dOZguYG36zptBukhw6iFwcvGfG0tes0oZFWQqEWvgZe9HLWaNlvXGdOrg==} + '@aws-sdk/util-endpoints@3.996.7': + resolution: {integrity: sha512-ty4LQxN1QC+YhUP28NfEgZDEGXkyqOQy+BDriBozqHsrYO4JMgiPhfizqOGF7P+euBTZ5Ez6SKlLAMCLo8tzmw==} engines: {node: '>=20.0.0'} - '@aws-sdk/util-format-url@3.972.9': - resolution: {integrity: sha512-fNJXHrs0ZT7Wx0KGIqKv7zLxlDXt2vqjx9z6oKUQFmpE5o4xxnSryvVHfHpIifYHWKz94hFccIldJ0YSZjlCBw==} + '@aws-sdk/util-format-url@3.972.10': + resolution: {integrity: sha512-DEKiHNJVtNxdyTeQspzY+15Po/kHm6sF0Cs4HV9Q2+lplB63+DrvdeiSoOSdWEWAoO2RcY1veoXVDz2tWxWCgQ==} engines: {node: '>=20.0.0'} '@aws-sdk/util-locate-window@3.965.5': resolution: {integrity: sha512-WhlJNNINQB+9qtLtZJcpQdgZw3SCDCpXdUJP7cToGwHbCWCnRckGlc6Bx/OhWwIYFNAn+FIydY8SZ0QmVu3xTQ==} engines: {node: '>=20.0.0'} - '@aws-sdk/util-user-agent-browser@3.972.9': - resolution: {integrity: sha512-sn/LMzTbGjYqCCF24390WxPd6hkpoSptiUn5DzVp4cD71yqw+yGEGm1YCxyEoPXyc8qciM8UzLJcZBFslxo5Uw==} + '@aws-sdk/util-user-agent-browser@3.972.10': + resolution: {integrity: sha512-FAzqXvfEssGdSIz8ejatan0bOdx1qefBWKF/gWmVBXIP1HkS7v/wjjaqrAGGKvyihrXTXW00/2/1nTJtxpXz7g==} - '@aws-sdk/util-user-agent-node@3.973.15': - resolution: {integrity: sha512-fYn3s9PtKdgQkczGZCFMgkNEe8aq1JCVbnRqjqN9RSVW43xn2RV9xdcZ3z01a48Jpkuh/xCmBKJxdLOo4Ozg7w==} + '@aws-sdk/util-user-agent-node@3.973.17': + resolution: {integrity: sha512-utF5qjjbuJQuU9VdCkWl7L87sr93cApsrD+uxGfUnlafX8iyEzJrb7EZnufjThURZVTOtelRMXrblWxpefElUg==} engines: {node: '>=20.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -350,8 +354,8 @@ packages: aws-crt: optional: true - '@aws-sdk/xml-builder@3.972.17': - resolution: {integrity: sha512-Ra7hjqAZf1OXRRMueB13qex7mFJRDK/pgCvdSFemXBT8KCGnQDPoKzHY1SjN+TjJVmnpSF14W5tJ1vDamFu+Gg==} + '@aws-sdk/xml-builder@3.972.18': + resolution: {integrity: sha512-BMDNVG1ETXRhl1tnisQiYBef3RShJ1kfZA7x7afivTFMLirfHNTb6U71K569HNXhSXbQZsweHvSDZ6euBw8hPA==} engines: {node: '>=20.0.0'} '@aws/lambda-invoke-store@0.2.4': @@ -445,19 +449,21 @@ packages: resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} engines: {node: '>=6.9.0'} - '@base-ui/react@1.3.0': - resolution: {integrity: sha512-FwpKqZbPz14AITp1CVgf4AjhKPe1OeeVKSBMdgD10zbFlj3QSWelmtCMLi2+/PFZZcIm3l87G7rwtCZJwHyXWA==} + '@base-ui/react@1.4.0': + resolution: {integrity: sha512-QcqdVbr/+ba2/RAKJIV1PV6S02Q5+r6a4Eym8ndBw+ZbBILkkmQAyRxXCg/pArrHnkrGeU8goe26aw0h6eE8pg==} engines: {node: '>=14.0.0'} peerDependencies: + '@date-fns/tz': ^1.2.0 '@types/react': ^17 || ^18 || ^19 + date-fns: ^4.0.0 react: ^17 || ^18 || ^19 react-dom: ^17 || ^18 || ^19 peerDependenciesMeta: '@types/react': optional: true - '@base-ui/utils@0.2.6': - resolution: {integrity: sha512-yQ+qeuqohwhsNpoYDqqXaLllYAkPCP4vYdDrVo8FQXaAPfHWm1pG/Vm+jmGTA5JFS0BAIjookyapuJFY8F9PIw==} + '@base-ui/utils@0.2.7': + resolution: {integrity: sha512-nXYKhiL/0JafyJE8PfcflipGftOftlIwKd72rU15iZ1M5yqgg5J9P8NHU71GReDuXco5MJA/eVQqUT5WRqX9sA==} peerDependencies: '@types/react': ^17 || ^18 || ^19 react: ^17 || ^18 || ^19 @@ -484,15 +490,15 @@ packages: resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==} engines: {node: '>=20.19.0'} - '@csstools/css-calc@3.1.1': - resolution: {integrity: sha512-HJ26Z/vmsZQqs/o3a6bgKslXGFAungXGbinULZO3eMsOyNJHeBBZfup5FiZInOghgoM4Hwnmw+OgbJCNg1wwUQ==} + '@csstools/css-calc@3.2.0': + resolution: {integrity: sha512-bR9e6o2BDB12jzN/gIbjHa5wLJ4UjD1CB9pM7ehlc0ddk6EBz+yYS1EV2MF55/HUxrHcB/hehAyt5vhsA3hx7w==} engines: {node: '>=20.19.0'} peerDependencies: '@csstools/css-parser-algorithms': ^4.0.0 '@csstools/css-tokenizer': ^4.0.0 - '@csstools/css-color-parser@4.0.2': - resolution: {integrity: sha512-0GEfbBLmTFf0dJlpsNU7zwxRIH0/BGEMuXLTCvFYxuL1tNhqzTbtnFICyJLTNK4a+RechKP75e7w42ClXSnJQw==} + '@csstools/css-color-parser@4.1.0': + resolution: {integrity: sha512-U0KhLYmy2GVj6q4T3WaAe6NPuFYCPQoE3b0dRGxejWDgcPp8TP7S5rVdM5ZrFaqu4N67X8YaPBw14dQSYx3IyQ==} engines: {node: '>=20.19.0'} peerDependencies: '@csstools/css-parser-algorithms': ^4.0.0 @@ -504,8 +510,8 @@ packages: peerDependencies: '@csstools/css-tokenizer': ^4.0.0 - '@csstools/css-syntax-patches-for-csstree@1.1.2': - resolution: {integrity: sha512-5GkLzz4prTIpoyeUiIu3iV6CSG3Plo7xRVOFPKI7FVEJ3mZ0A8SwK0XU3Gl7xAkiQ+mDyam+NNp875/C5y+jSA==} + '@csstools/css-syntax-patches-for-csstree@1.1.3': + resolution: {integrity: sha512-SH60bMfrRCJF3morcdk57WklujF4Jr/EsQUzqkarfHXEFcAR1gg7fS/chAE922Sehgzc1/+Tz5H3Ypa1HiEKrg==} peerDependencies: css-tree: ^3.2.1 peerDependenciesMeta: @@ -516,6 +522,9 @@ packages: resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==} engines: {node: '>=20.19.0'} + '@date-fns/tz@1.4.1': + resolution: {integrity: sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==} + '@emnapi/core@1.9.2': resolution: {integrity: sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==} @@ -754,12 +763,16 @@ packages: peerDependencies: react-hook-form: ^7.55.0 - '@humanfs/core@0.19.1': - resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + '@humanfs/core@0.19.2': + resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} engines: {node: '>=18.18.0'} - '@humanfs/node@0.16.7': - resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} + '@humanfs/node@0.16.8': + resolution: {integrity: sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==} + engines: {node: '>=18.18.0'} + + '@humanfs/types@0.15.0': + resolution: {integrity: sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==} engines: {node: '>=18.18.0'} '@humanwhocodes/module-importer@1.0.1': @@ -795,276 +808,276 @@ packages: '@oxc-project/types@0.124.0': resolution: {integrity: sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==} - '@oxfmt/binding-android-arm-eabi@0.44.0': - resolution: {integrity: sha512-5UvghMd9SA/yvKTWCAxMAPXS1d2i054UeOf4iFjZjfayTwCINcC3oaSXjtbZfCaEpxgJod7XiOjTtby5yEv/BQ==} + '@oxfmt/binding-android-arm-eabi@0.45.0': + resolution: {integrity: sha512-A/UMxFob1fefCuMeGxQBulGfFE38g2Gm23ynr3u6b+b7fY7/ajGbNsa3ikMIkGMLJW/TRoQaMoP1kME7S+815w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxfmt/binding-android-arm64@0.44.0': - resolution: {integrity: sha512-IVudM1BWfvrYO++Khtzr8q9n5Rxu7msUvoFMqzGJVdX7HfUXUDHwaH2zHZNB58svx2J56pmCUzophyaPFkcG/A==} + '@oxfmt/binding-android-arm64@0.45.0': + resolution: {integrity: sha512-L63z4uZmHjgvvqvMJD7mwff8aSBkM0+X4uFr6l6U5t6+Qc9DCLVZWIunJ7Gm4fn4zHPdSq6FFQnhu9yqqobxIg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxfmt/binding-darwin-arm64@0.44.0': - resolution: {integrity: sha512-eWCLAIKAHfx88EqEP1Ga2yz7qVcqDU5lemn4xck+07bH182hDdprOHjbogyk0In1Djys3T0/pO2JepFnRJ41Mg==} + '@oxfmt/binding-darwin-arm64@0.45.0': + resolution: {integrity: sha512-UV34dd623FzqT+outIGndsCA/RBB+qgB3XVQhgmmJ9PJwa37NzPC9qzgKeOhPKxVk2HW+JKldQrVL54zs4Noww==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxfmt/binding-darwin-x64@0.44.0': - resolution: {integrity: sha512-eHTBznHLM49++dwz07MblQ2cOXyIgeedmE3Wgy4ptUESj38/qYZyRi1MPwC9olQJWssMeY6WI3UZ7YmU5ggvyQ==} + '@oxfmt/binding-darwin-x64@0.45.0': + resolution: {integrity: sha512-pMNJv0CMa1pDefVPeNbuQxibh8ITpWDFEhMC/IBB9Zlu76EbgzYwrzI4Cb11mqX2+rIYN70UTrh3z06TM59ptQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxfmt/binding-freebsd-x64@0.44.0': - resolution: {integrity: sha512-jLMmbj0u0Ft43QpkUVr/0v1ZfQCGWAvU+WznEHcN3wZC/q6ox7XeSJtk9P36CCpiDSUf3sGnzbIuG1KdEMEDJQ==} + '@oxfmt/binding-freebsd-x64@0.45.0': + resolution: {integrity: sha512-xTcRoxbbo61sW2+ZRPeH+vp/o9G8gkdhiVumFU+TpneiPm14c79l6GFlxPXlCE9bNWikigbsrvJw46zCVAQFfg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxfmt/binding-linux-arm-gnueabihf@0.44.0': - resolution: {integrity: sha512-n+A/u/ByK1qV8FVGOwyaSpw5NPNl0qlZfgTBqHeGIqr8Qzq1tyWZ4lAaxPoe5mZqE3w88vn3+jZtMxriHPE7tg==} + '@oxfmt/binding-linux-arm-gnueabihf@0.45.0': + resolution: {integrity: sha512-hWL8Hdni+3U1mPFx1UtWeGp3tNb6EhBAUHRMbKUxVkOp3WwoJbpVO2bfUVbS4PfpledviXXNHSTl1veTa6FhkQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm-musleabihf@0.44.0': - resolution: {integrity: sha512-5eax+FkxyCqAi3Rw0mrZFr7+KTt/XweFsbALR+B5ljWBLBl8nHe4ADrUnb1gLEfQCJLl+Ca5FIVD4xEt95AwIw==} + '@oxfmt/binding-linux-arm-musleabihf@0.45.0': + resolution: {integrity: sha512-6Blt/0OBT7vvfQpqYuYbpbFLPqSiaYpEJzUUWhinPEuADypDbtV1+LdjM0vYBNGPvnj85ex7lTerEX6JGcPt9w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm64-gnu@0.44.0': - resolution: {integrity: sha512-58l8JaHxSGOmOMOG2CIrNsnkRJAj0YcHQCmvNACniOa/vd1iRHhlPajczegzS5jwMENlqgreyiTR9iNlke8qCw==} + '@oxfmt/binding-linux-arm64-gnu@0.45.0': + resolution: {integrity: sha512-jLjoLfe+hGfjhA8hNBSdw85yCA8ePKq7ME4T+g6P9caQXvmt6IhE2X7iVjnVdkmYUWEzZrxlh4p6RkDmAMJY/A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-arm64-musl@0.44.0': - resolution: {integrity: sha512-AlObQIXyVRZ96LbtVljtFq0JqH5B92NU+BQeDFrXWBUWlCKAM0wF5GLfIhCLT5kQ3Sl+U0YjRJ7Alqj5hGQaCg==} + '@oxfmt/binding-linux-arm64-musl@0.45.0': + resolution: {integrity: sha512-XQKXZIKYJC3GQJ8FnD3iMntpw69Wd9kDDK/Xt79p6xnFYlGGxSNv2vIBvRTDg5CKByWFWWZLCRDOXoP/m6YN4g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-ppc64-gnu@0.44.0': - resolution: {integrity: sha512-YcFE8/q/BbrCiIiM5piwbkA6GwJc5QqhMQp2yDrqQ2fuVkZ7CInb1aIijZ/k8EXc72qXMSwKpVlBv1w/MsGO/A==} + '@oxfmt/binding-linux-ppc64-gnu@0.45.0': + resolution: {integrity: sha512-+g5RiG+xOkdrCWkKodv407nTvMq4vYM18Uox2MhZBm/YoqFxxJpWKsloskFFG5NU13HGPw1wzYjjOVcyd9moCA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-gnu@0.44.0': - resolution: {integrity: sha512-eOdzs6RqkRzuqNHUX5C8ISN5xfGh4xDww8OEd9YAmc3OWN8oAe5bmlIqQ+rrHLpv58/0BuU48bxkhnIGjA/ATQ==} + '@oxfmt/binding-linux-riscv64-gnu@0.45.0': + resolution: {integrity: sha512-V7dXKoSyEbWAkkSF4JJNtF+NJZDmJoSarSoP30WCsB3X636Rehd3CvxBj49FIJxEBFWhvcUjGSHVeU8Erck1bQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-musl@0.44.0': - resolution: {integrity: sha512-YBgNTxntD/QvlFUfgvh8bEdwOhXiquX8gaofZJAwYa/Xp1S1DQrFVZEeck7GFktr24DztsSp8N8WtWCBwxs0Hw==} + '@oxfmt/binding-linux-riscv64-musl@0.45.0': + resolution: {integrity: sha512-Vdelft1sAEYojVGgcODEFXSWYQYlIvoyIGWebKCuUibd1tvS1TjTx413xG2ZLuHpYj45CkN/ztMLMX6jrgqpgg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-s390x-gnu@0.44.0': - resolution: {integrity: sha512-GLIh1R6WHWshl/i4QQDNgj0WtT25aRO4HNUWEoitxiywyRdhTFmFEYT2rXlcl9U6/26vhmOqG5cRlMLG3ocaIA==} + '@oxfmt/binding-linux-s390x-gnu@0.45.0': + resolution: {integrity: sha512-RR7xKgNpqwENnK0aYCGYg0JycY2n93J0reNjHyes+I9Gq52dH95x+CBlnlAQHCPfz6FGnKA9HirgUl14WO6o7w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-gnu@0.44.0': - resolution: {integrity: sha512-gZOpgTlOsLcLfAF9qgpTr7FIIFSKnQN3hDf/0JvQ4CIwMY7h+eilNjxq/CorqvYcEOu+LRt1W4ZS7KccEHLOdA==} + '@oxfmt/binding-linux-x64-gnu@0.45.0': + resolution: {integrity: sha512-U/QQ0+BQNSHxjuXR/utvXnQ50Vu5kUuqEomZvQ1/3mhgbBiMc2WU9q5kZ5WwLp3gnFIx9ibkveoRSe2EZubkqg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-musl@0.44.0': - resolution: {integrity: sha512-1CyS9JTB+pCUFYFI6pkQGGZaT/AY5gnhHVrQQLhFba6idP9AzVYm1xbdWfywoldTYvjxQJV6x4SuduCIfP3W+A==} + '@oxfmt/binding-linux-x64-musl@0.45.0': + resolution: {integrity: sha512-o5TLOUCF0RWQjsIS06yVC+kFgp092/yLe6qBGSUvtnmTVw9gxjpdQSXc3VN5Cnive4K11HNstEZF8ROKHfDFSw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxfmt/binding-openharmony-arm64@0.44.0': - resolution: {integrity: sha512-bmEv70Ak6jLr1xotCbF5TxIKjsmQaiX+jFRtnGtfA03tJPf6VG3cKh96S21boAt3JZc+Vjx8PYcDuLj39vM2Pw==} + '@oxfmt/binding-openharmony-arm64@0.45.0': + resolution: {integrity: sha512-RnGcV3HgPuOjsGx/k9oyRNKmOp+NBLGzZTdPDYbc19r7NGeYPplnUU/BfU35bX2Y/O4ejvHxcfkvW2WoYL/gsg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxfmt/binding-win32-arm64-msvc@0.44.0': - resolution: {integrity: sha512-yWzB+oCpSnP/dmw85eFLAT5o35Ve5pkGS2uF/UCISpIwDqf1xa7OpmtomiqY/Vzg8VyvMbuf6vroF2khF/+1Vg==} + '@oxfmt/binding-win32-arm64-msvc@0.45.0': + resolution: {integrity: sha512-v3Vj7iKKsUFwt9w5hsqIIoErKVoENC6LoqfDlteOQ5QMDCXihlqLoxpmviUhXnNncg4zV6U9BPwlBbwa+qm4wg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxfmt/binding-win32-ia32-msvc@0.44.0': - resolution: {integrity: sha512-TcWpo18xEIE3AmIG2kpr3kz5IEhQgnx0lazl2+8L+3eTopOAUevQcmlr4nhguImNWz0OMeOZrYZOhJNCf16nlQ==} + '@oxfmt/binding-win32-ia32-msvc@0.45.0': + resolution: {integrity: sha512-N8yotPBX6ph0H3toF4AEpdCeVPrdcSetj+8eGiZGsrLsng3bs/Q5HPu4bbSxip5GBPx5hGbGHrZwH4+rcrjhHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxfmt/binding-win32-x64-msvc@0.44.0': - resolution: {integrity: sha512-oj8aLkPJZppIM4CMQNsyir9ybM1Xw/CfGPTSsTnzpVGyljgfbdP0EVUlURiGM0BDrmw5psQ6ArmGCcUY/yABaQ==} + '@oxfmt/binding-win32-x64-msvc@0.45.0': + resolution: {integrity: sha512-w5MMTRCK1dpQeRA+HHqXQXyN33DlG/N2LOYxJmaT4fJjcmZrbNnqw7SmIk7I2/a2493PPLZ+2E/Ar6t2iKVMug==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@oxlint-tsgolint/darwin-arm64@0.20.0': - resolution: {integrity: sha512-KKQcIHZHMxqpHUA1VXIbOG6chNCFkUWbQy6M+AFVtPKkA/3xAeJkJ3njoV66bfzwPHRcWQO+kcj5XqtbkjakoA==} + '@oxlint-tsgolint/darwin-arm64@0.21.1': + resolution: {integrity: sha512-7TLjyWe4wG9saJc992VWmaHq2hwKfOEEVTjheReXJXaDhavMZI4X9a6nKhbEng4IVkYtzjD2jw16vw2WFXLYLw==} cpu: [arm64] os: [darwin] - '@oxlint-tsgolint/darwin-x64@0.20.0': - resolution: {integrity: sha512-7HeVMuclGfG+NLZi2ybY0T4fMI7/XxO/208rJk+zEIloKkVnlh11Wd241JMGwgNFXn+MLJbOqOfojDb2Dt4L1g==} + '@oxlint-tsgolint/darwin-x64@0.21.1': + resolution: {integrity: sha512-7wf9Wf75nTzA7zpL9myhFe2RKvfuqGUOADNvUooCjEWvh7hmPz3lSEqTMh5Z/VQhzsG04mM9ACyghxhRzq7zFw==} cpu: [x64] os: [darwin] - '@oxlint-tsgolint/linux-arm64@0.20.0': - resolution: {integrity: sha512-zxhUwz+WSxE6oWlZLK2z2ps9yC6ebmgoYmjAl0Oa48+GqkZ56NVgo+wb8DURNv6xrggzHStQxqQxe3mK51HZag==} + '@oxlint-tsgolint/linux-arm64@0.21.1': + resolution: {integrity: sha512-IPuQN/Vd0Rjklg/cCGBbQyUuRBp2f6LQXpZYwk5ivOR6V/+CgiYsv8pn/PVY7gjeyoNvPQrXB7xMjHUO2YZbdw==} cpu: [arm64] os: [linux] - '@oxlint-tsgolint/linux-x64@0.20.0': - resolution: {integrity: sha512-/1l6FnahC9im8PK+Ekkx/V3yetO/PzZnJegE2FXcv/iXEhbeVxP/ouiTYcUQu9shT1FWJCSNti1VJHH+21Y1dg==} + '@oxlint-tsgolint/linux-x64@0.21.1': + resolution: {integrity: sha512-d1niGuTbh2qiv7dR7tqkbOcM5cIR63of0lMBFdEQavL1KrJV8zuRdwdi68K7MNGdgoR+J5A9ajpGGvsHwp1bPg==} cpu: [x64] os: [linux] - '@oxlint-tsgolint/win32-arm64@0.20.0': - resolution: {integrity: sha512-oPZ5Yz8sVdo7P/5q+i3IKeix31eFZ55JAPa1+RGPoe9PoaYVsdMvR6Jvib6YtrqoJnFPlg3fjEjlEPL8VBKYJA==} + '@oxlint-tsgolint/win32-arm64@0.21.1': + resolution: {integrity: sha512-ICu9y2JLnFPvFqstnWPPNqBM8LK8BWw2OTeaR0UgEMm4hOSbrZAKv1/hwZYyiLqnCNjBL87AGSQIgTHCYlsipw==} cpu: [arm64] os: [win32] - '@oxlint-tsgolint/win32-x64@0.20.0': - resolution: {integrity: sha512-4stx8RHj3SP9vQyRF/yZbz5igtPvYMEUR8CUoha4BVNZihi39DpCR8qkU7lpjB5Ga1DRMo2pHaA4bdTOMaY4mw==} + '@oxlint-tsgolint/win32-x64@0.21.1': + resolution: {integrity: sha512-cTEFCFjCj6iXfrSHcvajSPNqhEA4TxSzU3gFxbdGSAUTNXGToU99IbdhWAPSbhcucoym0XE4Zl7E41NiSkNTug==} cpu: [x64] os: [win32] - '@oxlint/binding-android-arm-eabi@1.59.0': - resolution: {integrity: sha512-etYDw/UaEv936AQUd/CRMBVd+e+XuuU6wC+VzOv1STvsTyZenLChepLWqLtnyTTp4YMlM22ypzogDDwqYxv5cg==} + '@oxlint/binding-android-arm-eabi@1.60.0': + resolution: {integrity: sha512-YdeJKaZckDQL1qa62a1aKq/goyq48aX3yOxaaWqWb4sau4Ee4IiLbamftNLU3zbePky6QsDj6thnSSzHRBjDfA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxlint/binding-android-arm64@1.59.0': - resolution: {integrity: sha512-TgLc7XVLKH2a4h8j3vn1MDjfK33i9MY60f/bKhRGWyVzbk5LCZ4X01VZG7iHrMmi5vYbAp8//Ponigx03CLsdw==} + '@oxlint/binding-android-arm64@1.60.0': + resolution: {integrity: sha512-7ANS7PpXCfq84xZQ8E5WPs14gwcuPcl+/8TFNXfpSu0CQBXz3cUo2fDpHT8v8HJN+Ut02eacvMAzTnc9s6X4tw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxlint/binding-darwin-arm64@1.59.0': - resolution: {integrity: sha512-DXyFPf5ZKldMLloRHx/B9fsxsiTQomaw7cmEW3YIJko2HgCh+GUhp9gGYwHrqlLJPsEe3dYj9JebjX92D3j3AA==} + '@oxlint/binding-darwin-arm64@1.60.0': + resolution: {integrity: sha512-pJsgd9AfplLGBm1fIr25V6V14vMrayhx4uIQvlfH7jWs2SZwSrvi3TfgfJySB8T+hvyEH8K2zXljQiUnkgUnfQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxlint/binding-darwin-x64@1.59.0': - resolution: {integrity: sha512-LgvrsdgVLX1qWqIEmNsSmMXJhpAWdtUQ0M+oR0CySwi+9IHWyOGuIL8w8+u/kbZNMyZr4WUyYB5i0+D+AKgkLg==} + '@oxlint/binding-darwin-x64@1.60.0': + resolution: {integrity: sha512-Ue1aXHX49ivwflKqGJc7zcd/LeLgbhaTcDCQStgx5x06AXgjEAZmvrlMuIkWd4AL4FHQe6QJ9f33z04Cg448VQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxlint/binding-freebsd-x64@1.59.0': - resolution: {integrity: sha512-bOJhqX/ny4hrFuTPlyk8foSRx/vLRpxJh0jOOKN2NWW6FScXHPAA5rQbrwdQPcgGB5V8Ua51RS03fke8ssBcug==} + '@oxlint/binding-freebsd-x64@1.60.0': + resolution: {integrity: sha512-YCyQzsQtusQw+gNRW9rRTifSO+Dt/+dtCl2NHoDMZqJlRTEZ/Oht9YnuporI9yiTx7+cB+eqzX3MtHHVHGIWhg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxlint/binding-linux-arm-gnueabihf@1.59.0': - resolution: {integrity: sha512-vVUXxYMF9trXCsz4m9H6U0IjehosVHxBzVgJUxly1uz4W1PdDyicaBnpC0KRXsHYretLVe+uS9pJy8iM57Kujw==} + '@oxlint/binding-linux-arm-gnueabihf@1.60.0': + resolution: {integrity: sha512-c7dxM2Zksa45Qw16i2iGY3Fti2NirJ38FrsBsKw+qcJ0OtqTsBgKJLF0xV+yLG56UH01Z8WRPgsw31e0MoRoGQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm-musleabihf@1.59.0': - resolution: {integrity: sha512-TULQW8YBPGRWg5yZpFPL54HLOnJ3/HiX6VenDPi6YfxB/jlItwSMFh3/hCeSNbh+DAMaE1Py0j5MOaivHkI/9Q==} + '@oxlint/binding-linux-arm-musleabihf@1.60.0': + resolution: {integrity: sha512-ZWALoA42UYqBEP1Tbw9OWURgFGS1nWj2AAvLdY6ZcGx/Gj93qVCBKjcvwXMupZibYwFbi9s/rzqkZseb/6gVtQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm64-gnu@1.59.0': - resolution: {integrity: sha512-Gt54Y4eqSgYJ90xipm24xeyaPV854706o/kiT8oZvUt3VDY7qqxdqyGqchMaujd87ib+/MXvnl9WkK8Cc1BExg==} + '@oxlint/binding-linux-arm64-gnu@1.60.0': + resolution: {integrity: sha512-tpy+1w4p9hN5CicMCxqNy6ymfRtV5ayE573vFNjp1k1TN/qhLFgflveZoE/0++RlkHikBz2vY545NWm/hp7big==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-arm64-musl@1.59.0': - resolution: {integrity: sha512-3CtsKp7NFB3OfqQzbuAecrY7GIZeiv7AD+xutU4tefVQzlfmTI7/ygWLrvkzsDEjTlMq41rYHxgsn6Yh8tybmA==} + '@oxlint/binding-linux-arm64-musl@1.60.0': + resolution: {integrity: sha512-eDYDXZGhQAXyn6GwtwiX/qcLS0HlOLPJ/+iiIY8RYr+3P8oKBmgKxADLlniL6FtWfE7pPk7IGN9/xvDEvDvFeg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxlint/binding-linux-ppc64-gnu@1.59.0': - resolution: {integrity: sha512-K0diOpT3ncDmOfl9I1HuvpEsAuTxkts0VYwIv/w6Xiy9CdwyPBVX88Ga9l8VlGgMrwBMnSY4xIvVlVY/fkQk7Q==} + '@oxlint/binding-linux-ppc64-gnu@1.60.0': + resolution: {integrity: sha512-nxehly5XYBHUWI9VJX1bqCf9j/B43DaK/aS/T1fcxCpX3PA4Rm9BB54nPD1CKayT8xg6REN1ao+01hSRNgy8OA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-gnu@1.59.0': - resolution: {integrity: sha512-xAU7+QDU6kTJJ7mJLOGgo7oOjtAtkKyFZ0Yjdb5cEo3DiCCPFLvyr08rWiQh6evZ7RiUTf+o65NY/bqttzJiQQ==} + '@oxlint/binding-linux-riscv64-gnu@1.60.0': + resolution: {integrity: sha512-j1qf/NaUfOWQutjeoooNG1Q0zsK0XGmSu1uDLq3cctquRF3j7t9Hxqf/76ehCc5GEUAanth2W4Fa+XT1RFg/nw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-musl@1.59.0': - resolution: {integrity: sha512-KUmZmKlTTyauOnvUNVxK7G40sSSx0+w5l1UhaGsC6KPpOYHenx2oqJTnabmpLJicok7IC+3Y6fXAUOMyexaeJQ==} + '@oxlint/binding-linux-riscv64-musl@1.60.0': + resolution: {integrity: sha512-YELKPRefQ/q/h3RUmeRfPCUhh2wBvgV1RyZ/F9M9u8cDyXsQW2ojv1DeWQTt466yczDITjZnIOg/s05pk7Ve2A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxlint/binding-linux-s390x-gnu@1.59.0': - resolution: {integrity: sha512-4usRxC8gS0PGdkHnRmwJt/4zrQNZyk6vL0trCxwZSsAKM+OxhB8nKiR+mhjdBbl8lbMh2gc3bZpNN/ik8c4c2A==} + '@oxlint/binding-linux-s390x-gnu@1.60.0': + resolution: {integrity: sha512-JkO3C6Gki7Y6h/MiIkFKvHFOz98/YWvQ4WYbK9DLXACMP2rjULzkeGyAzorJE5S1dzLQGFgeqvN779kSFwoV1g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-gnu@1.59.0': - resolution: {integrity: sha512-s/rNE2gDmbwAOOP493xk2X7M8LZfI1LJFSSW1+yanz3vuQCFPiHkx4GY+O1HuLUDtkzGlhtMrIcxxzyYLv308w==} + '@oxlint/binding-linux-x64-gnu@1.60.0': + resolution: {integrity: sha512-XjKHdFVCpZZZSWBCKyyqCq65s2AKXykMXkjLoKYODrD+f5toLhlwsMESscu8FbgnJQ4Y/dpR/zdazsahmgBJIA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-musl@1.59.0': - resolution: {integrity: sha512-+yYj1udJa2UvvIUmEm0IcKgc0UlPMgz0nsSTvkPL2y6n0uU5LgIHSwVu4AHhrve6j9BpVSoRksnz8c9QcvITJA==} + '@oxlint/binding-linux-x64-musl@1.60.0': + resolution: {integrity: sha512-js29ZWIuPhNWzY8NC7KoffEMEeWG105vbmm+8EOJsC+T/jHBiKIJEUF78+F/IrgEWMMP9N0kRND4Pp75+xAhKg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxlint/binding-openharmony-arm64@1.59.0': - resolution: {integrity: sha512-bUplUb48LYsB3hHlQXP2ZMOenpieWoOyppLAnnAhuPag3MGPnt+7caxE3w/Vl9wpQsTA3gzLntQi9rxWrs7Xqg==} + '@oxlint/binding-openharmony-arm64@1.60.0': + resolution: {integrity: sha512-H+PUITKHk04stFpWj3x3Kg08Afp/bcXSBi0EhasR5a0Vw7StXHTzdl655PUI0fB4qdh2Wsu6Dsi+3ACxPoyQnA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxlint/binding-win32-arm64-msvc@1.59.0': - resolution: {integrity: sha512-/HLsLuz42rWl7h7ePdmMTpHm2HIDmPtcEMYgm5BBEHiEiuNOrzMaUpd2z7UnNni5LGN9obJy2YoAYBLXQwazrA==} + '@oxlint/binding-win32-arm64-msvc@1.60.0': + resolution: {integrity: sha512-WA/yc7f7ZfCefBXVzNHn1Ztulb1EFwNBb4jMZ6pjML0zz6pHujlF3Q3jySluz3XHl/GNeMTntG1seUBWVMlMag==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxlint/binding-win32-ia32-msvc@1.59.0': - resolution: {integrity: sha512-rUPy+JnanpPwV/aJCPnxAD1fW50+XPI0VkWr7f0vEbqcdsS8NpB24Rw6RsS7SdpFv8Dw+8ugCwao5nCFbqOUSg==} + '@oxlint/binding-win32-ia32-msvc@1.60.0': + resolution: {integrity: sha512-33YxL1sqwYNZXtn3MD/4dno6s0xeedXOJlT1WohkVD565WvohClZUr7vwKdAk954n4xiEWJkewiCr+zLeq7AeA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxlint/binding-win32-x64-msvc@1.59.0': - resolution: {integrity: sha512-xkE7puteDS/vUyRngLXW0t8WgdWoS/tfxXjhP/P7SMqPDx+hs44SpssO3h3qmTqECYEuXBUPzcAw5257Ka+ofA==} + '@oxlint/binding-win32-x64-msvc@1.60.0': + resolution: {integrity: sha512-JOro4ZcfBLamJCyfURQmOQByoorgOdx3ZjAkSqnb/CyG/i+lN3KoV5LAgk5ZAW6DPq7/Cx7n23f8DuTWXTWgyQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1164,8 +1177,8 @@ packages: cpu: [x64] os: [win32] - '@rolldown/plugin-babel@0.2.2': - resolution: {integrity: sha512-q9pE8+47bQNHb5eWVcE6oXppA+JTSwvnrhH53m0ZuHuK5MLvwsLoWrWzBTFQqQ06BVxz1gp0HblLsch8o6pvZw==} + '@rolldown/plugin-babel@0.2.3': + resolution: {integrity: sha512-+zEk16yGlz1F9STiRr6uG9hmIXb6nprjLczV/htGptYuLoCuxb+itZ03RKCEeOhBpDDd1NU7qF6x1VLMUp62bw==} engines: {node: '>=22.12.0 || ^24.0.0'} peerDependencies: '@babel/core': ^7.29.0 || ^8.0.0-rc.1 @@ -1195,56 +1208,56 @@ packages: resolution: {integrity: sha512-St+kVicSyayWQca+I1rGitaOEH6uKgE8IUWoYnnEX26SWdWQcL6LvMSD19Lg+vYHKdT9B2Zuu7rd3i6Wnyb/iw==} engines: {node: '>=18.0.0'} - '@smithy/config-resolver@4.4.14': - resolution: {integrity: sha512-N55f8mPEccpzKetUagdvmAy8oohf0J5cuj9jLI1TaSceRlq0pJsIZepY3kmAXAhyxqXPV6hDerDQhqQPKWgAoQ==} + '@smithy/config-resolver@4.4.16': + resolution: {integrity: sha512-GFlGPNLZKrGfqWpqVb31z7hvYCA9ZscfX1buYnvvMGcRYsQQnhH+4uN6mWWflcD5jB4OXP/LBrdpukEdjl41tg==} engines: {node: '>=18.0.0'} - '@smithy/core@3.23.14': - resolution: {integrity: sha512-vJ0IhpZxZAkFYOegMKSrxw7ujhhT2pass/1UEcZ4kfl5srTAqtPU5I7MdYQoreVas3204ykCiNhY1o7Xlz6Yyg==} + '@smithy/core@3.23.15': + resolution: {integrity: sha512-E7GVCgsQttzfujEZb6Qep005wWf4xiL4x06apFEtzQMWYBPggZh/0cnOxPficw5cuK/YjjkehKoIN4YUaSh0UQ==} engines: {node: '>=18.0.0'} - '@smithy/credential-provider-imds@4.2.13': - resolution: {integrity: sha512-wboCPijzf6RJKLOvnjDAiBxGSmSnGXj35o5ZAWKDaHa/cvQ5U3ZJ13D4tMCE8JG4dxVAZFy/P0x/V9CwwdfULQ==} + '@smithy/credential-provider-imds@4.2.14': + resolution: {integrity: sha512-Au28zBN48ZAoXdooGUHemuVBrkE+Ie6RPmGNIAJsFqj33Vhb6xAgRifUydZ2aY+M+KaMAETAlKk5NC5h1G7wpg==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-codec@4.2.13': - resolution: {integrity: sha512-vYahwBAtRaAcFbOmE9aLr12z7RiHYDSLcnogSdxfm7kKfsNa3wH+NU5r7vTeB5rKvLsWyPjVX8iH94brP7umiQ==} + '@smithy/eventstream-codec@4.2.14': + resolution: {integrity: sha512-erZq0nOIpzfeZdCyzZjdJb4nVSKLUmSkaQUVkRGQTXs30gyUGeKnrYEg+Xe1W5gE3aReS7IgsvANwVPxSzY6Pw==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-serde-browser@4.2.13': - resolution: {integrity: sha512-wwybfcOX0tLqCcBP378TIU9IqrDuZq/tDV48LlZNydMpCnqnYr+hWBAYbRE+rFFf/p7IkDJySM3bgiMKP2ihPg==} + '@smithy/eventstream-serde-browser@4.2.14': + resolution: {integrity: sha512-8IelTCtTctWRbb+0Dcy+C0aICh1qa0qWXqgjcXDmMuCvPJRnv26hiDZoAau2ILOniki65mCPKqOQs/BaWvO4CQ==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-serde-config-resolver@4.3.13': - resolution: {integrity: sha512-ied1lO559PtAsMJzg2TKRlctLnEi1PfkNeMMpdwXDImk1zV9uvS/Oxoy/vcy9uv1GKZAjDAB5xT6ziE9fzm5wA==} + '@smithy/eventstream-serde-config-resolver@4.3.14': + resolution: {integrity: sha512-sqHiHpYRYo3FJlaIxD1J8PhbcmJAm7IuM16mVnwSkCToD7g00IBZzKuiLNMGmftULmEUX6/UAz8/NN5uMP8bVA==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-serde-node@4.2.13': - resolution: {integrity: sha512-hFyK+ORJrxAN3RYoaD6+gsGDQjeix8HOEkosoajvXYZ4VeqonM3G4jd9IIRm/sWGXUKmudkY9KdYjzosUqdM8A==} + '@smithy/eventstream-serde-node@4.2.14': + resolution: {integrity: sha512-Ht/8BuGlKfFTy0H3+8eEu0vdpwGztCnaLLXtpXNdQqiR7Hj4vFScU3T436vRAjATglOIPjJXronY+1WxxNLSiw==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-serde-universal@4.2.13': - resolution: {integrity: sha512-kRrq4EKLGeOxhC2CBEhRNcu1KSzNJzYY7RK3S7CxMPgB5dRrv55WqQOtRwQxQLC04xqORFLUgnDlc6xrNUULaA==} + '@smithy/eventstream-serde-universal@4.2.14': + resolution: {integrity: sha512-lWyt4T2XQZUZgK3tQ3Wn0w3XBvZsK/vjTuJl6bXbnGZBHH0ZUSONTYiK9TgjTTzU54xQr3DRFwpjmhp0oLm3gg==} engines: {node: '>=18.0.0'} - '@smithy/fetch-http-handler@5.3.16': - resolution: {integrity: sha512-nYDRUIvNd4mFmuXraRWt6w5UsZTNqtj4hXJA/iiOD4tuseIdLP9Lq38teH/SZTcIFCa2f+27o7hYpIsWktJKEQ==} + '@smithy/fetch-http-handler@5.3.17': + resolution: {integrity: sha512-bXOvQzaSm6MnmLaWA1elgfQcAtN4UP3vXqV97bHuoOrHQOJiLT3ds6o9eo5bqd0TJfRFpzdGnDQdW3FACiAVdw==} engines: {node: '>=18.0.0'} - '@smithy/hash-blob-browser@4.2.14': - resolution: {integrity: sha512-rtQ5es8r/5v4rav7q5QTsfx9CtCyzrz/g7ZZZBH2xtMmd6G/KQrLOWfSHTvFOUPlVy59RQvxeBYJaLRoybMEyA==} + '@smithy/hash-blob-browser@4.2.15': + resolution: {integrity: sha512-0PJ4Al3fg2nM4qKrAIxyNcApgqHAXcBkN8FeizOz69z0rb26uZ6lMESYtxegaTlXB5Hj84JfwMPavMrwDMjucA==} engines: {node: '>=18.0.0'} - '@smithy/hash-node@4.2.13': - resolution: {integrity: sha512-4/oy9h0jjmY80a2gOIo75iLl8TOPhmtx4E2Hz+PfMjvx/vLtGY4TMU/35WRyH2JHPfT5CVB38u4JRow7gnmzJA==} + '@smithy/hash-node@4.2.14': + resolution: {integrity: sha512-8ZBDY2DD4wr+GGjTpPtiglEsqr0lUP+KHqgZcWczFf6qeZ/YRjMIOoQWVQlmwu7EtxKTd8YXD8lblmYcpBIA1g==} engines: {node: '>=18.0.0'} - '@smithy/hash-stream-node@4.2.13': - resolution: {integrity: sha512-WdQ7HwUjINXETeh6dqUeob1UHIYx8kAn9PSp1HhM2WWegiZBYVy2WXIs1lB07SZLan/udys9SBnQGt9MQbDpdg==} + '@smithy/hash-stream-node@4.2.14': + resolution: {integrity: sha512-tw4GANWkZPb6+BdD4Fgucqzey2+r73Z/GRo9zklsCdwrnxxumUV83ZIaBDdudV4Ylazw3EPTiJZhpX42105ruQ==} engines: {node: '>=18.0.0'} - '@smithy/invalid-dependency@4.2.13': - resolution: {integrity: sha512-jvC0RB/8BLj2SMIkY0Npl425IdnxZJxInpZJbu563zIRnVjpDMXevU3VMCRSabaLB0kf/eFIOusdGstrLJ8IDg==} + '@smithy/invalid-dependency@4.2.14': + resolution: {integrity: sha512-c21qJiTSb25xvvOp+H2TNZzPCngrvl5vIPqPB8zQ/DmJF4QWXO19x1dWfMJZ6wZuuWUPPm0gV8C0cU3+ifcWuw==} engines: {node: '>=18.0.0'} '@smithy/is-array-buffer@2.2.0': @@ -1255,76 +1268,76 @@ packages: resolution: {integrity: sha512-n6rQ4N8Jj4YTQO3YFrlgZuwKodf4zUFs7EJIWH86pSCWBaAtAGBFfCM7Wx6D2bBJ2xqFNxGBSrUWswT3M0VJow==} engines: {node: '>=18.0.0'} - '@smithy/md5-js@4.2.13': - resolution: {integrity: sha512-cNm7I9NXolFxtS20ojROddOEpSAeI1Obq6pd1Kj5HtHws3s9Fkk8DdHDfQSs5KuxCewZuVK6UqrJnfJmiMzDuQ==} + '@smithy/md5-js@4.2.14': + resolution: {integrity: sha512-V2v0vx+h0iUSNG1Alt+GNBMSLGCrl9iVsdd+Ap67HPM9PN479x12V8LkuMoKImNZxn3MXeuyUjls+/7ZACZghA==} engines: {node: '>=18.0.0'} - '@smithy/middleware-content-length@4.2.13': - resolution: {integrity: sha512-IPMLm/LE4AZwu6qiE8Rr8vJsWhs9AtOdySRXrOM7xnvclp77Tyh7hMs/FRrMf26kgIe67vFJXXOSmVxS7oKeig==} + '@smithy/middleware-content-length@4.2.14': + resolution: {integrity: sha512-xhHq7fX4/3lv5NHxLUk3OeEvl0xZ+Ek3qIbWaCL4f9JwgDZEclPBElljaZCAItdGPQl/kSM4LPMOpy1MYgprpw==} engines: {node: '>=18.0.0'} - '@smithy/middleware-endpoint@4.4.29': - resolution: {integrity: sha512-R9Q/58U+qBiSARGWbAbFLczECg/RmysRksX6Q8BaQEpt75I7LI6WGDZnjuC9GXSGKljEbA7N118LhGaMbfrTXw==} + '@smithy/middleware-endpoint@4.4.30': + resolution: {integrity: sha512-qS2XqhKeXmdZ4nEQ4cOxIczSP/Y91wPAHYuRwmWDCh975B7/57uxsm5d6sisnUThn2u2FwzMdJNM7AbO1YPsPg==} engines: {node: '>=18.0.0'} - '@smithy/middleware-retry@4.5.1': - resolution: {integrity: sha512-/zY+Gp7Qj2D2hVm3irkCyONER7E9MiX3cUUm/k2ZmhkzZkrPgwVS4aJ5NriZUEN/M0D1hhjrgjUmX04HhRwdWA==} + '@smithy/middleware-retry@4.5.3': + resolution: {integrity: sha512-TE8dJNi6JuxzGSxMCVd3i9IEWDndCl3bmluLsBNDWok8olgj65OfkndMhl9SZ7m14c+C5SQn/PcUmrDl57rSFw==} engines: {node: '>=18.0.0'} - '@smithy/middleware-serde@4.2.17': - resolution: {integrity: sha512-0T2mcaM6v9W1xku86Dk0bEW7aEseG6KenFkPK98XNw0ZhOqOiD1MrMsdnQw9QsL3/Oa85T53iSMlm0SZdSuIEQ==} + '@smithy/middleware-serde@4.2.18': + resolution: {integrity: sha512-M6CSgnp3v4tYz9ynj2JHbA60woBZcGqEwNjTKjBsNHPV26R1ZX52+0wW8WsZU18q45jD0tw2wL22S17Ze9LpEw==} engines: {node: '>=18.0.0'} - '@smithy/middleware-stack@4.2.13': - resolution: {integrity: sha512-g72jN/sGDLyTanrCLH9fhg3oysO3f7tQa6eWWsMyn2BiYNCgjF24n4/I9wff/5XidFvjj9ilipAoQrurTUrLvw==} + '@smithy/middleware-stack@4.2.14': + resolution: {integrity: sha512-2dvkUKLuFdKsCRmOE4Mn63co0Djtsm+JMh0bYZQupN1pJwMeE8FmQmRLLzzEMN0dnNi7CDCYYH8F0EVwWiPBeA==} engines: {node: '>=18.0.0'} - '@smithy/node-config-provider@4.3.13': - resolution: {integrity: sha512-iGxQ04DsKXLckbgnX4ipElrOTk+IHgTyu0q0WssZfYhDm9CQWHmu6cOeI5wmWRxpXbBDhIIfXMWz5tPEtcVqbw==} + '@smithy/node-config-provider@4.3.14': + resolution: {integrity: sha512-S+gFjyo/weSVL0P1b9Ts8C/CwIfNCgUPikk3sl6QVsfE/uUuO+QsF+NsE/JkpvWqqyz1wg7HFdiaZuj5CoBMRg==} engines: {node: '>=18.0.0'} - '@smithy/node-http-handler@4.5.2': - resolution: {integrity: sha512-/oD7u8M0oj2ZTFw7GkuuHWpIxtWdLlnyNkbrWcyVYhd5RJNDuczdkb0wfnQICyNFrVPlr8YHOhamjNy3zidhmA==} + '@smithy/node-http-handler@4.5.3': + resolution: {integrity: sha512-lc5jFL++x17sPhIwMWJ3YOnqmSjw/2Po6VLDlUIXvxVWRuJwRXnJ4jOBBLB0cfI5BB5ehIl02Fxr1PDvk/kxDw==} engines: {node: '>=18.0.0'} - '@smithy/property-provider@4.2.13': - resolution: {integrity: sha512-bGzUCthxRmezuxkbu9wD33wWg9KX3hJpCXpQ93vVkPrHn9ZW6KNNdY5xAUWNuRCwQ+VyboFuWirG1lZhhkcyRQ==} + '@smithy/property-provider@4.2.14': + resolution: {integrity: sha512-WuM31CgfsnQ/10i7NYr0PyxqknD72Y5uMfUMVSniPjbEPceiTErb4eIqJQ+pdxNEAUEWrewrGjIRjVbVHsxZiQ==} engines: {node: '>=18.0.0'} - '@smithy/protocol-http@5.3.13': - resolution: {integrity: sha512-+HsmuJUF4u8POo6s8/a2Yb/AQ5t/YgLovCuHF9oxbocqv+SZ6gd8lC2duBFiCA/vFHoHQhoq7QjqJqZC6xOxxg==} + '@smithy/protocol-http@5.3.14': + resolution: {integrity: sha512-dN5F8kHx8RNU0r+pCwNmFZyz6ChjMkzShy/zup6MtkRmmix4vZzJdW+di7x//b1LiynIev88FM18ie+wwPcQtQ==} engines: {node: '>=18.0.0'} - '@smithy/querystring-builder@4.2.13': - resolution: {integrity: sha512-tG4aOYFCZdPMjbgfhnIQ322H//ojujldp1SrHPHpBSb3NqgUp3dwiUGRJzie87hS1DYwWGqDuPaowoDF+rYCbQ==} + '@smithy/querystring-builder@4.2.14': + resolution: {integrity: sha512-XYA5Z0IqTeF+5XDdh4BBmSA0HvbgVZIyv4cmOoUheDNR57K1HgBp9ukUMx3Cr3XpDHHpLBnexPE3LAtDsZkj2A==} engines: {node: '>=18.0.0'} - '@smithy/querystring-parser@4.2.13': - resolution: {integrity: sha512-hqW3Q4P+CDzUyQ87GrboGMeD7XYNMOF+CuTwu936UQRB/zeYn3jys8C3w+wMkDfY7CyyyVwZQ5cNFoG0x1pYmA==} + '@smithy/querystring-parser@4.2.14': + resolution: {integrity: sha512-hr+YyqBD23GVvRxGGrcc/oOeNlK3PzT5Fu4dzrDXxzS1LpFiuL2PQQqKPs87M79aW7ziMs+nvB3qdw77SqE7Lw==} engines: {node: '>=18.0.0'} - '@smithy/service-error-classification@4.2.13': - resolution: {integrity: sha512-a0s8XZMfOC/qpqq7RCPvJlk93rWFrElH6O++8WJKz0FqnA4Y7fkNi/0mnGgSH1C4x6MFsuBA8VKu4zxFrMe5Vw==} + '@smithy/service-error-classification@4.2.14': + resolution: {integrity: sha512-vVimoUnGxlx4eLLQbZImdOZFOe+Zh+5ACntv8VxZuGP72LdWu5GV3oEmCahSEReBgRJoWjypFkrehSj7BWx1HQ==} engines: {node: '>=18.0.0'} - '@smithy/shared-ini-file-loader@4.4.8': - resolution: {integrity: sha512-VZCZx2bZasxdqxVgEAhREvDSlkatTPnkdWy1+Kiy8w7kYPBosW0V5IeDwzDUMvWBt56zpK658rx1cOBFOYaPaw==} + '@smithy/shared-ini-file-loader@4.4.9': + resolution: {integrity: sha512-495/V2I15SHgedSJoDPD23JuSfKAp726ZI1V0wtjB07Wh7q/0tri/0e0DLefZCHgxZonrGKt/OCTpAtP1wE1kQ==} engines: {node: '>=18.0.0'} - '@smithy/signature-v4@5.3.13': - resolution: {integrity: sha512-YpYSyM0vMDwKbHD/JA7bVOF6kToVRpa+FM5ateEVRpsTNu564g1muBlkTubXhSKKYXInhpADF46FPyrZcTLpXg==} + '@smithy/signature-v4@5.3.14': + resolution: {integrity: sha512-1D9Y/nmlVjCeSivCbhZ7hgEpmHyY1h0GvpSZt3l0xcD9JjmjVC1CHOozS6+Gh+/ldMH8JuJ6cujObQqfayAVFA==} engines: {node: '>=18.0.0'} - '@smithy/smithy-client@4.12.9': - resolution: {integrity: sha512-ovaLEcTU5olSeHcRXcxV6viaKtpkHZumn6Ps0yn7dRf2rRSfy794vpjOtrWDO0d1auDSvAqxO+lyhERSXQ03EQ==} + '@smithy/smithy-client@4.12.11': + resolution: {integrity: sha512-wzz/Wa1CH/Tlhxh0s4DQPEcXSxSVfJ59AZcUh9Gu0c6JTlKuwGf4o/3P2TExv0VbtPFt8odIBG+eQGK2+vTECg==} engines: {node: '>=18.0.0'} - '@smithy/types@4.14.0': - resolution: {integrity: sha512-OWgntFLW88kx2qvf/c/67Vno1yuXm/f9M7QFAtVkkO29IJXGBIg0ycEaBTH0kvCtwmvZxRujrgP5a86RvsXJAQ==} + '@smithy/types@4.14.1': + resolution: {integrity: sha512-59b5HtSVrVR/eYNei3BUj3DCPKD/G7EtDDe7OEJE7i7FtQFugYo6MxbotS8mVJkLNVf8gYaAlEBwwtJ9HzhWSg==} engines: {node: '>=18.0.0'} - '@smithy/url-parser@4.2.13': - resolution: {integrity: sha512-2G03yoboIRZlZze2+PT4GZEjgwQsJjUgn6iTsvxA02bVceHR6vp4Cuk7TUnPFWKF+ffNUk3kj4COwkENS2K3vw==} + '@smithy/url-parser@4.2.14': + resolution: {integrity: sha512-p06BiBigJ8bTA3MgnOfCtDUWnAMY0YfedO/GRpmc7p+wg3KW8vbXy1xwSu5ASy0wV7rRYtlfZOIKH4XqfhjSQQ==} engines: {node: '>=18.0.0'} '@smithy/util-base64@4.3.2': @@ -1351,32 +1364,32 @@ packages: resolution: {integrity: sha512-dWU03V3XUprJwaUIFVv4iOnS1FC9HnMHDfUrlNDSh4315v0cWyaIErP8KiqGVbf5z+JupoVpNM7ZB3jFiTejvQ==} engines: {node: '>=18.0.0'} - '@smithy/util-defaults-mode-browser@4.3.45': - resolution: {integrity: sha512-ag9sWc6/nWZAuK3Wm9KlFJUnRkXLrXn33RFjIAmCTFThqLHY+7wCst10BGq56FxslsDrjhSie46c8OULS+BiIw==} + '@smithy/util-defaults-mode-browser@4.3.47': + resolution: {integrity: sha512-zlIuXai3/SHjQUQ8y3g/woLvrH573SK2wNjcDaHu5e9VOcC0JwM1MI0Sq0GZJyN3BwSUneIhpjZ18nsiz5AtQw==} engines: {node: '>=18.0.0'} - '@smithy/util-defaults-mode-node@4.2.49': - resolution: {integrity: sha512-jlN6vHwE8gY5AfiFBavtD3QtCX2f7lM3BKkz7nFKSNfFR5nXLXLg6sqXTJEEyDwtxbztIDBQCfjsGVXlIru2lQ==} + '@smithy/util-defaults-mode-node@4.2.52': + resolution: {integrity: sha512-cQBz8g68Vnw1W2meXlkb3D/hXJU+Taiyj9P8qLJtjREEV9/Td65xi4A/H1sRQ8EIgX5qbZbvdYPKygKLholZ3w==} engines: {node: '>=18.0.0'} - '@smithy/util-endpoints@3.3.4': - resolution: {integrity: sha512-BKoR/ubPp9KNKFxPpg1J28N1+bgu8NGAtJblBP7yHy8yQPBWhIAv9+l92SlQLpolGm71CVO+btB60gTgzT0wog==} + '@smithy/util-endpoints@3.4.1': + resolution: {integrity: sha512-wMxNDZJrgS5mQV9oxCs4TWl5767VMgOfqfZ3JHyCkMtGC2ykW9iPqMvFur695Otcc5yxLG8OKO/80tsQBxrhXg==} engines: {node: '>=18.0.0'} '@smithy/util-hex-encoding@4.2.2': resolution: {integrity: sha512-Qcz3W5vuHK4sLQdyT93k/rfrUwdJ8/HZ+nMUOyGdpeGA1Wxt65zYwi3oEl9kOM+RswvYq90fzkNDahPS8K0OIg==} engines: {node: '>=18.0.0'} - '@smithy/util-middleware@4.2.13': - resolution: {integrity: sha512-GTooyrlmRTqvUen4eK7/K1p6kryF7bnDfq6XsAbIsf2mo51B/utaH+XThY6dKgNCWzMAaH/+OLmqaBuLhLWRow==} + '@smithy/util-middleware@4.2.14': + resolution: {integrity: sha512-1Su2vj9RYNDEv/V+2E+jXkkwGsgR7dc4sfHn9Z7ruzQHJIEni9zzw5CauvRXlFJfmgcqYP8fWa0dkh2Q2YaQyw==} engines: {node: '>=18.0.0'} - '@smithy/util-retry@4.3.1': - resolution: {integrity: sha512-FwmicpgWOkP5kZUjN3y+3JIom8NLGqSAJBeoIgK0rIToI817TEBHCrd0A2qGeKQlgDeP+Jzn4i0H/NLAXGy9uQ==} + '@smithy/util-retry@4.3.2': + resolution: {integrity: sha512-2+KTsJEwTi63NUv4uR9IQ+IFT1yu6Rf6JuoBK2WKaaJ/TRvOiOVGcXAsEqX/TQN2thR9yII21kPUJq1UV/WI2A==} engines: {node: '>=18.0.0'} - '@smithy/util-stream@4.5.22': - resolution: {integrity: sha512-3H8iq/0BfQjUs2/4fbHZ9aG9yNzcuZs24LPkcX1Q7Z+qpqaGM8+qbGmE8zo9m2nCRgamyvS98cHdcWvR6YUsew==} + '@smithy/util-stream@4.5.23': + resolution: {integrity: sha512-N6on1+ngJ3RznZOnDWNveIwnTSlqxNnXuNAh7ez889ZZaRdXoNRTXKgmYOLe6dB0gCmAVtuRScE1hymQFl4hpg==} engines: {node: '>=18.0.0'} '@smithy/util-uri-escape@4.2.2': @@ -1391,8 +1404,8 @@ packages: resolution: {integrity: sha512-75MeYpjdWRe8M5E3AW0O4Cx3UadweS+cwdXjwYGBW5h/gxxnbeZ877sLPX/ZJA9GVTlL/qG0dXP29JWFCD1Ayw==} engines: {node: '>=18.0.0'} - '@smithy/util-waiter@4.2.15': - resolution: {integrity: sha512-oUt9o7n8hBv3BL56sLSneL0XeigZSuem0Hr78JaoK33D9oKieyCvVP8eTSe3j7g2mm/S1DvzxKieG7JEWNJUNg==} + '@smithy/util-waiter@4.2.16': + resolution: {integrity: sha512-GtclrKoZ3Lt7jPQ7aTIYKfjY92OgceScftVnkTsG8e1KV8rkvZgN+ny6YSRhd9hxB8rZtwVbmln7NTvE5O3GmQ==} engines: {node: '>=18.0.0'} '@smithy/uuid@1.1.2': @@ -1499,8 +1512,8 @@ packages: peerDependencies: vite: ^5.2.0 || ^6 || ^7 || ^8 - '@tanstack/eslint-plugin-query@5.99.0': - resolution: {integrity: sha512-jVp1AEL7S7BeuQvH5SN1F5UdrNW/AbryKDeWUUMeAKNzh9C+Ik/bRSa/HeuJLlmaN+WOUkdDFbtCK0go7BxnUQ==} + '@tanstack/eslint-plugin-query@5.99.1': + resolution: {integrity: sha512-mEneRusnS7rZLvx7MV/JHQ2cOVYhk8IXVf8Es9l1JTD+EdP94nq22dZY1ubSJSdO8p10inO6ygyvp4Ok1XfMig==} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: ^5.4.0 || ^6.0.0 @@ -1517,16 +1530,16 @@ packages: resolution: {integrity: sha512-NaOGLRrddszbQj9upGat6HG/4TKvXLvu+osAIgfxPYA+eIvYKv8GKDJOrY2D3/U9MRnKfMWD7bU4jeD4xmqyIg==} engines: {node: '>=20.19'} - '@tanstack/query-core@5.99.0': - resolution: {integrity: sha512-3Jv3WQG0BCcH7G+7lf/bP8QyBfJOXeY+T08Rin3GZ1bshvwlbPt7NrDHMEzGdKIOmOzvIQmxjk28YEQX60k7pQ==} + '@tanstack/query-core@5.99.1': + resolution: {integrity: sha512-5E8xwxyWvr22yt7zvzP3KOZ5TUElOdVA45NP3/Ao1m9mvc9i18NLTDe9m3M00BH2DR5J20cv7xckMPlhKNs+vQ==} - '@tanstack/react-query@5.99.0': - resolution: {integrity: sha512-OY2bCqPemT1LlqJ8Y2CUau4KELnIhhG9Ol3ZndPbdnB095pRbPo1cHuXTndg8iIwtoHTgwZjyaDnQ0xD0mYwAw==} + '@tanstack/react-query@5.99.1': + resolution: {integrity: sha512-akg5GdwW70lvJvCqVHZ7tizGyc+TATjUzKX9RuF1xknhEe/1leofXk7YLYbrbRsuhNbHJBAayaQUMvvOFZ5L5g==} peerDependencies: react: ^18 || ^19 - '@tanstack/react-router@1.168.18': - resolution: {integrity: sha512-RmBptS3/qtkGhvG/u41JWOgxz1FIWybBz7iBTgLUIoFkqOj6NE4XlhUOsP2fabxACtbZdJnpvCWcJFWpWGIngw==} + '@tanstack/react-router@1.168.23': + resolution: {integrity: sha512-+GblieDnutG6oipJJPNtRJjrWF8QTZEG/l0532+BngFkVK48oHNOcvIkSoAFYftK1egAwM7KBxXsb0Ou+X6/MQ==} engines: {node: '>=20.19'} peerDependencies: react: '>=18.0.0 || >=19.0.0' @@ -1538,24 +1551,24 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - '@tanstack/router-core@1.168.14': - resolution: {integrity: sha512-UhCJtjNrd5wcTmhgB2HyUP0+Rj1M7BD4dS11YsF9x6VC2KH/eqxzs/vK+nN5f+cOhPOLZdmLkWMW+WGmacZ8HA==} + '@tanstack/router-core@1.168.15': + resolution: {integrity: sha512-Wr0424NDtD8fT/uALobMZ9DdcfsTyXtW5IPR++7zvW8/7RaIOeaqXpVDId8ywaGtqPWLWOfaUg2zUtYtukoXYA==} engines: {node: '>=20.19'} hasBin: true - '@tanstack/router-generator@1.166.29': - resolution: {integrity: sha512-X/9/4z4tcPyiQfm1kGm9vzEpJboNbfpg/p+QoI5KyaWtqZgF00nyq5dUQKXwacwZBEgHCzUaWCM9etRFCNnXrg==} + '@tanstack/router-generator@1.166.32': + resolution: {integrity: sha512-VuusKwEXcgKq+myq1JQfZogY8scTXIIeFls50dJ/UXgCXWp5n14iFreYNlg41wURcak2oA3M+t2TVfD0xUUD6g==} engines: {node: '>=20.19'} - '@tanstack/router-plugin@1.167.18': - resolution: {integrity: sha512-LkQYEv9rXWSXJ9BKVmaZz27lZij5UDBJscGY3HHK+IenFlakqqiozKBZKlSMl8/WUGZ2JTAecBzAAOCRE9Vm9Q==} + '@tanstack/router-plugin@1.167.22': + resolution: {integrity: sha512-wYPzIvBK8bcmXVUpZfSgGBXOrfBAdF4odKevz6rejio5rEd947NtKDF5R7eYdwlAOmRqYpLJnJ1QHkc5t8bY4w==} engines: {node: '>=20.19'} hasBin: true peerDependencies: '@rsbuild/core': '>=1.0.2' - '@tanstack/react-router': ^1.168.18 + '@tanstack/react-router': ^1.168.21 vite: '>=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0' - vite-plugin-solid: ^2.11.10 + vite-plugin-solid: ^2.11.10 || ^3.0.0-0 webpack: '>=5.92.0' peerDependenciesMeta: '@rsbuild/core': @@ -1651,8 +1664,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/project-service@8.58.1': - resolution: {integrity: sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g==} + '@typescript-eslint/project-service@8.58.2': + resolution: {integrity: sha512-Cq6UfpZZk15+r87BkIh5rDpi38W4b+Sjnb8wQCPPDDweS/LRCFjCyViEbzHk5Ck3f2QDfgmlxqSa7S7clDtlfg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' @@ -1661,8 +1674,8 @@ packages: resolution: {integrity: sha512-snZKH+W4WbWkrBqj4gUNRIGb/jipDW3qMqVJ4C9rzdFc+wLwruxk+2a5D+uoFcKPAqyqEnSb4l2ULuZf95eSkw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.58.1': - resolution: {integrity: sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w==} + '@typescript-eslint/scope-manager@8.58.2': + resolution: {integrity: sha512-SgmyvDPexWETQek+qzZnrG6844IaO02UVyOLhI4wpo82dpZJY9+6YZCKAMFzXb7qhx37mFK1QcPQ18tud+vo6Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/tsconfig-utils@8.57.2': @@ -1671,8 +1684,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/tsconfig-utils@8.58.1': - resolution: {integrity: sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw==} + '@typescript-eslint/tsconfig-utils@8.58.2': + resolution: {integrity: sha512-3SR+RukipDvkkKp/d0jP0dyzuls3DbGmwDpVEc5wqk5f38KFThakqAAO0XMirWAE+kT00oTauTbzMFGPoAzB0A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' @@ -1681,8 +1694,8 @@ packages: resolution: {integrity: sha512-/iZM6FnM4tnx9csuTxspMW4BOSegshwX5oBDznJ7S4WggL7Vczz5d2W11ecc4vRrQMQHXRSxzrCsyG5EsPPTbA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.58.1': - resolution: {integrity: sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw==} + '@typescript-eslint/types@8.58.2': + resolution: {integrity: sha512-9TukXyATBQf/Jq9AMQXfvurk+G5R2MwfqQGDR2GzGz28HvY/lXNKGhkY+6IOubwcquikWk5cjlgPvD2uAA7htQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@8.57.2': @@ -1691,8 +1704,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/typescript-estree@8.58.1': - resolution: {integrity: sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg==} + '@typescript-eslint/typescript-estree@8.58.2': + resolution: {integrity: sha512-ELGuoofuhhoCvNbQjFFiobFcGgcDCEm0ThWdmO4Z0UzLqPXS3KFvnEZ+SHewwOYHjM09tkzOWXNTv9u6Gqtyuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' @@ -1704,8 +1717,8 @@ packages: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/utils@8.58.1': - resolution: {integrity: sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ==} + '@typescript-eslint/utils@8.58.2': + resolution: {integrity: sha512-QZfjHNEzPY8+l0+fIXMvuQ2sJlplB4zgDZvA+NmvZsZv3EQwOcc1DuIU1VJUTWZ/RKouBMhDyNaBMx4sWvrzRA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 @@ -1715,47 +1728,47 @@ packages: resolution: {integrity: sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.58.1': - resolution: {integrity: sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ==} + '@typescript-eslint/visitor-keys@8.58.2': + resolution: {integrity: sha512-f1WO2Lx8a9t8DARmcWAUPJbu0G20bJlj8L4z72K00TMeJAoyLr/tHhI/pzYBLrR4dXWkcxO1cWYZEOX8DKHTqA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-qdSDz0o4l4cEZhAn92ayzf7cKiMLrzSp9Xdk5mfaXpiahvxT39fNj5jiwDnRO+kHkHMMIYYL1nQbslSadargyg==} + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-wY8SQLt+9QSfh9zsPPVvg43gSgkyOAXvcBTfjsAhogkZS7kr52//BHtgCXFkVqenUnNCynHcwopQdHqUiAd/Vg==} cpu: [arm64] os: [darwin] - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-2Nea85rMeBZe2UV6V8vBVJ3mSFHn4XZ+ceXGFpnfsU2nay0l1ncoYw91JA/yPwM5ui3+pxAYwl8PWLCxlZCB3Q==} + '@typescript/native-preview-darwin-x64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-GhnIbnFyQe9utyQp6hIPLwVzRYJOpDGFzmUnkKi6ezzdJkhhAvvqZwGYUiVWX7FCRYRUTkLwkE1jgt09Usg7+w==} cpu: [x64] os: [darwin] - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-5QRz/eMIb1JtojvB0oeBbIc6ZNqZiiMUSRDsyp1qMJacdrs+1fbQ8MYFft5ceJe94mcolGHnbcozwPg8hf5fDg==} + '@typescript/native-preview-linux-arm64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-O0LFHBgH0WLw1fb/Aohtyn3zSIatOz6j1TnMol1NxzSR90plPKw67GqXISTu+xlbU/W0VMeyVpmzT7oQc76BXA==} cpu: [arm64] os: [linux] - '@typescript/native-preview-linux-arm@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-8/LqqQDp73kvT7aWh3sAFglGaSxtjxHIhEgqZ7XWG7+1aHHJeL1bcmRnk7JyP3BE5SPzs3bQhFC6Cvj6WQwTqQ==} + '@typescript/native-preview-linux-arm@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-s4vvjR5X3yMBz+OJSy0oFs8X3FLUIya8zZGLPep78rcu7uhZYe1lNEbfE3CGUTiYHRG4snDmQdIeQM7x0BYvOg==} cpu: [arm] os: [linux] - '@typescript/native-preview-linux-x64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-H5NWP+ot/L+Tn9ds4W/t4Xx/CuxZF4iHDdRx2hCr/O0l8pBBq8C/MBJ/eUgVZXO4lD+8J6eQ7nOlGtJ0SS8Sbg==} + '@typescript/native-preview-linux-x64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-8OuVB9HS8etF6Xok+gHzGPleHsmQLxIo0aJA8BQ93ZzBabRZgqDI5B/TzIPZ3/Lp66smFdlFREpxjZamoZwUPA==} cpu: [x64] os: [linux] - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-/Zc1rotE/NS72xNc4UjaEKCBanBsQ/0/fS2sYLcN9yd6p6AYFYzmTWfbGy5qvv1ckXOI0dkOolLzK8nYbrJzbA==} + '@typescript/native-preview-win32-arm64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-dMQjoEYUgrASd0oY0cPChO0asJ+/d6NY+Fcahgx74BXLSJyRprx5chTTxnOjSY7WXpYSZKwgUxztSXXkMJcHpw==} cpu: [arm64] os: [win32] - '@typescript/native-preview-win32-x64@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-PhFL0w2Uz9jKdTtm7uy2PPl3nJiacX24jxzDD0R0eBHOY/49L3V5iD7eyBACPSzyWp0/dD7pPdKSnRbS3nVRng==} + '@typescript/native-preview-win32-x64@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-/nQEojAYiluwEhHBPmdgb/vqLJpWztNTFWX9oDb0LNnvVWwBRDYJDF+0b6JIT8G4bJSmOZoxBe86jm9eY5Ggqg==} cpu: [x64] os: [win32] - '@typescript/native-preview@7.0.0-dev.20260411.1': - resolution: {integrity: sha512-cBk+dPa5x5r9wnh5lz3zSnj7YJM1s/tSCf5owex+OkjJLji3iJu7J9kTH1SvvxA5kmkY76qFYw3vFN9h8W3gBA==} + '@typescript/native-preview@7.0.0-dev.20260418.1': + resolution: {integrity: sha512-O0okml4q3D0B7uWFrx8dy7zJHOifPuH0eu8JiHmOQlcc2yJzR3qGZfhoM/qsvqrgEZvw9hqRHlqkAUj0TJ9mWA==} hasBin: true '@vitejs/plugin-basic-ssl@2.3.0': @@ -1866,10 +1879,6 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - ast-types@0.16.1: - resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} - engines: {node: '>=4'} - ast-v8-to-istanbul@1.0.0: resolution: {integrity: sha512-1fSfIwuDICFA4LKkCzRPO7F0hzFf0B7+Xqrl27ynQaa+Rh0e1Es0v6kWHPott3lU10AyAr7oKHa65OppjLn3Rg==} @@ -1889,8 +1898,8 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseline-browser-mapping@2.10.18: - resolution: {integrity: sha512-VSnGQAOLtP5mib/DPyg2/t+Tlv65NTBz83BJBJvmLVHHuKJVaDOBvJJykiT5TR++em5nfAySPccDZDa4oSrn8A==} + baseline-browser-mapping@2.10.20: + resolution: {integrity: sha512-1AaXxEPfXT+GvTBJFuy4yXVHWJBXa4OdbIebGN/wX5DlsIkU0+wzGnd2lOzokSk51d5LUmqjgBLRLlypLUqInQ==} engines: {node: '>=6.0.0'} hasBin: true @@ -1927,8 +1936,8 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - caniuse-lite@1.0.30001787: - resolution: {integrity: sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg==} + caniuse-lite@1.0.30001788: + resolution: {integrity: sha512-6q8HFp+lOQtcf7wBK+uEenxymVWkGKkjFpCvw5W25cmMwEDU45p1xQFBQv8JDlMMry7eNxyBaR+qxgmTUZkIRQ==} chai@6.2.2: resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} @@ -1994,6 +2003,9 @@ packages: resolution: {integrity: sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==} engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + date-fns@4.1.0: + resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==} + debug@4.4.3: resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} engines: {node: '>=6.0'} @@ -2031,8 +2043,8 @@ packages: dom-accessibility-api@0.6.3: resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==} - electron-to-chromium@1.5.335: - resolution: {integrity: sha512-q9n5T4BR4Xwa2cwbrwcsDJtHD/enpQ5S1xF1IAtdqf5AAgqDFmR/aakqH3ChFdqd/QXJhS3rnnXFtexU7rax6Q==} + electron-to-chromium@1.5.340: + resolution: {integrity: sha512-908qahOGocRMinT2nM3ajCEM99H4iPdv84eagPP3FfZy/1ZGeOy2CZYzjhms81ckOPCXPlW7LkY4XpxD8r1DrA==} enhanced-resolve@5.20.1: resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==} @@ -2092,11 +2104,6 @@ packages: resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - esquery@1.7.0: resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} engines: {node: '>=0.10'} @@ -2142,8 +2149,8 @@ packages: fast-wrap-ansi@0.1.6: resolution: {integrity: sha512-HlUwET7a5gqjURj70D5jl7aC3Zmy4weA1SHUfM0JFI0Ptq987NH2TwbBFLoERhfwk+E+eaq4EK3jXoT+R3yp3w==} - fast-xml-builder@1.1.4: - resolution: {integrity: sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==} + fast-xml-builder@1.1.5: + resolution: {integrity: sha512-4TJn/8FKLeslLAH3dnohXqE3QSoxkhvaMzepOIZytwJXZO69Bfz0HBdDHzOTOon6G59Zrk6VQ2bEiv1t61rfkA==} fast-xml-parser@5.5.8: resolution: {integrity: sha512-Z7Fh2nVQSb2d+poDViM063ix2ZGt9jmY1nWhPfHBOK2Hgnb/OW3P4Et3P/81SEej0J7QbWtJqxO05h8QYfK7LQ==} @@ -2186,8 +2193,8 @@ packages: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} - get-tsconfig@4.13.7: - resolution: {integrity: sha512-7tN6rFgBlMgpBML5j8typ92BKFi2sFQvIdpAqLA2beia5avZDrMs0FLZiM5etShWq5irVyGcGMEA1jcDaK7A/Q==} + get-tsconfig@4.14.0: + resolution: {integrity: sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==} glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} @@ -2208,8 +2215,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - happy-dom@20.8.9: - resolution: {integrity: sha512-Tz23LR9T9jOGVZm2x1EPdXqwA37G/owYMxRwU0E4miurAtFsPMQ1d2Jc2okUaSjZqAFz2oEn3FLXC5a0a+siyA==} + happy-dom@20.9.0: + resolution: {integrity: sha512-GZZ9mKe8r646NUAf/zemnGbjYh4Bt8/MqASJY+pSm5ZDtc3YQox+4gsLI7yi1hba6o+eCsGxpHn5+iEVn31/FQ==} engines: {node: '>=20.0.0'} has-flag@4.0.0: @@ -2272,8 +2279,8 @@ packages: is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - isbot@5.1.37: - resolution: {integrity: sha512-5bcicX81xf6NlTEV8rWdg7Pk01LFizDetuYGHx6d/f6y3lR2/oo8IfxjzJqn1UdDEyCcwT9e7NRloj8DwCYujQ==} + isbot@5.1.39: + resolution: {integrity: sha512-obH0yYahGXdzNxo+djmHhBYThUKDkz565cxkIlt2L9hXfv1NlaLKoDBHo6KxXsYrIXx2RK3x5vY36CfZcobxEw==} engines: {node: '>=18'} isexe@2.0.0: @@ -2424,8 +2431,8 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - lru-cache@11.3.3: - resolution: {integrity: sha512-JvNw9Y81y33E+BEYPr0U7omo+U9AySnsMsEiXgwT6yqd31VQWTLNQqmT4ou5eqPFUrTfIDFta2wKhB1hyohtAQ==} + lru-cache@11.3.5: + resolution: {integrity: sha512-NxVFwLAnrd9i7KUBxC4DrUhmgjzOs+1Qm50D3oF1/oL+r1NpZ4gA7xvG0/zJ8evR7zIKn4vLf7qTNduWFtCrRw==} engines: {node: 20 || >=22} lru-cache@5.1.1: @@ -2498,17 +2505,17 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} - oxfmt@0.44.0: - resolution: {integrity: sha512-lnncqvHewyRvaqdrnntVIrZV2tEddz8lbvPsQzG/zlkfvgZkwy0HP1p/2u1aCDToeg1jb9zBpbJdfkV73Itw+w==} + oxfmt@0.45.0: + resolution: {integrity: sha512-0o/COoN9fY50bjVeM7PQsNgbhndKurBIeTIcspW033OumksjJJmIVDKjAk5HMwU/GHTxSOdGDdhJ6BRzGPmsHg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - oxlint-tsgolint@0.20.0: - resolution: {integrity: sha512-/Uc9TQyN1l8w9QNvXtVHYtz+SzDJHKpb5X0UnHodl0BVzijUPk0LPlDOHAvogd1UI+iy9ZSF6gQxEqfzUxCULQ==} + oxlint-tsgolint@0.21.1: + resolution: {integrity: sha512-O2hxiT14C2HJkwzBU6CQBFPoagSd/IcV+Tt3e3UUaXFwbW4BO5DSDPSSboc3UM5MIDY+MLyepvtQwBQafNxWdw==} hasBin: true - oxlint@1.59.0: - resolution: {integrity: sha512-0xBLeGGjP4vD9pygRo8iuOkOzEU1MqOnfiOl7KYezL/QvWL8NUg6n03zXc7ZVqltiOpUxBk2zgHI3PnRIEdAvw==} + oxlint@1.60.0: + resolution: {integrity: sha512-tnRzTWiWJ9pg3ftRWnD0+Oqh78L6ZSwcEudvCZaER0PIqiAnNyXj5N1dPwjmNpDalkKS9m/WMLN1CTPUBPmsgw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -2570,8 +2577,8 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier@3.8.2: - resolution: {integrity: sha512-8c3mgTe0ASwWAJK+78dpviD+A8EqhndQPUBpNUIPt6+xWlIigCwfN01lWr9MAede4uqXGTEKeQWTvzb3vjia0Q==} + prettier@3.8.3: + resolution: {integrity: sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==} engines: {node: '>=14'} hasBin: true @@ -2609,10 +2616,6 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} - recast@0.23.11: - resolution: {integrity: sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==} - engines: {node: '>= 4'} - redent@3.0.0: resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} engines: {node: '>=8'} @@ -2683,14 +2686,6 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} - source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - - source-map@0.7.6: - resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} - engines: {node: '>= 12'} - stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} @@ -2721,9 +2716,6 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - tabbable@6.4.0: - resolution: {integrity: sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg==} - tailwind-merge@3.5.0: resolution: {integrity: sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==} @@ -2734,9 +2726,6 @@ packages: resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} engines: {node: '>=6'} - tiny-invariant@1.3.3: - resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} - tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} @@ -2793,25 +2782,28 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} - typescript@6.0.2: - resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==} + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} hasBin: true - ultracite@7.5.6: - resolution: {integrity: sha512-lWHFAq7NP2tUxANFMcJW5JW14NsQ7EKlYz4+NTSUGD16a52j6yBkIenv0A+qpFBzpCXmZ0SdD0Bjh3yNkY8dGA==} + ultracite@7.6.0: + resolution: {integrity: sha512-i8Pmi7Tgtku00/4od12nLiLjgO92+DmuRWTIFApe4f6n8osYT98QLcEdsf7xpJiZflyc8gsONWbFw0RvhO9QzQ==} hasBin: true peerDependencies: + oxfmt: '>=0.1.0' oxlint: ^1.0.0 peerDependenciesMeta: + oxfmt: + optional: true oxlint: optional: true undici-types@7.16.0: resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} - undici@7.24.7: - resolution: {integrity: sha512-H/nlJ/h0ggGC+uRL3ovD+G0i4bqhvsDOpbDv7At5eFLlj2b41L8QliGbnl2H7SnDiYhENphh1tQFJZf+MyfLsQ==} + undici@7.25.0: + resolution: {integrity: sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==} engines: {node: '>=20.18.1'} unplugin@2.3.11: @@ -2978,6 +2970,11 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml@2.8.3: + resolution: {integrity: sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==} + engines: {node: '>= 14.6'} + hasBin: true + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -2995,10 +2992,11 @@ snapshots: '@adobe/css-tools@4.4.4': {} - '@asamuzakjp/css-color@5.1.10': + '@asamuzakjp/css-color@5.1.11': dependencies: - '@csstools/css-calc': 3.1.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/css-color-parser': 4.0.2(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) + '@asamuzakjp/generational-cache': 1.0.1 + '@csstools/css-calc': 3.2.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) + '@csstools/css-color-parser': 4.1.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) '@csstools/css-tokenizer': 4.0.0 optional: true @@ -3009,7 +3007,10 @@ snapshots: bidi-js: 1.0.3 css-tree: 3.2.1 is-potential-custom-element-name: 1.0.1 - lru-cache: 11.3.3 + lru-cache: 11.3.5 + optional: true + + '@asamuzakjp/generational-cache@1.0.1': optional: true '@asamuzakjp/nwsapi@2.3.9': @@ -3018,20 +3019,20 @@ snapshots: '@aws-crypto/crc32@5.2.0': dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 tslib: 2.8.1 '@aws-crypto/crc32c@5.2.0': dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 tslib: 2.8.1 '@aws-crypto/sha1-browser@5.2.0': dependencies: '@aws-crypto/supports-web-crypto': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 '@aws-sdk/util-locate-window': 3.965.5 '@smithy/util-utf8': 2.3.0 tslib: 2.8.1 @@ -3049,7 +3050,7 @@ snapshots: '@aws-crypto/sha256-js@5.2.0': dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 tslib: 2.8.1 '@aws-crypto/supports-web-crypto@5.2.0': @@ -3062,569 +3063,569 @@ snapshots: '@smithy/util-utf8': 2.3.0 tslib: 2.8.1 - '@aws-sdk/client-ec2@3.1029.0': + '@aws-sdk/client-ec2@3.1032.0': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/credential-provider-node': 3.972.30 - '@aws-sdk/middleware-host-header': 3.972.9 - '@aws-sdk/middleware-logger': 3.972.9 - '@aws-sdk/middleware-recursion-detection': 3.972.10 - '@aws-sdk/middleware-sdk-ec2': 3.972.19 - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/region-config-resolver': 3.972.11 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@aws-sdk/util-user-agent-browser': 3.972.9 - '@aws-sdk/util-user-agent-node': 3.973.15 - '@smithy/config-resolver': 4.4.14 - '@smithy/core': 3.23.14 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/hash-node': 4.2.13 - '@smithy/invalid-dependency': 4.2.13 - '@smithy/middleware-content-length': 4.2.13 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-retry': 4.5.1 - '@smithy/middleware-serde': 4.2.17 - '@smithy/middleware-stack': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/node-http-handler': 4.5.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/credential-provider-node': 3.972.32 + '@aws-sdk/middleware-host-header': 3.972.10 + '@aws-sdk/middleware-logger': 3.972.10 + '@aws-sdk/middleware-recursion-detection': 3.972.11 + '@aws-sdk/middleware-sdk-ec2': 3.972.20 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/region-config-resolver': 3.972.12 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@aws-sdk/util-user-agent-browser': 3.972.10 + '@aws-sdk/util-user-agent-node': 3.973.17 + '@smithy/config-resolver': 4.4.16 + '@smithy/core': 3.23.15 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/hash-node': 4.2.14 + '@smithy/invalid-dependency': 4.2.14 + '@smithy/middleware-content-length': 4.2.14 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-retry': 4.5.3 + '@smithy/middleware-serde': 4.2.18 + '@smithy/middleware-stack': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/node-http-handler': 4.5.3 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 '@smithy/util-body-length-node': 4.2.3 - '@smithy/util-defaults-mode-browser': 4.3.45 - '@smithy/util-defaults-mode-node': 4.2.49 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 + '@smithy/util-defaults-mode-browser': 4.3.47 + '@smithy/util-defaults-mode-node': 4.2.52 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 '@smithy/util-utf8': 4.2.2 - '@smithy/util-waiter': 4.2.15 + '@smithy/util-waiter': 4.2.16 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/client-elastic-load-balancing-v2@3.1029.0': + '@aws-sdk/client-elastic-load-balancing-v2@3.1032.0': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/credential-provider-node': 3.972.30 - '@aws-sdk/middleware-host-header': 3.972.9 - '@aws-sdk/middleware-logger': 3.972.9 - '@aws-sdk/middleware-recursion-detection': 3.972.10 - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/region-config-resolver': 3.972.11 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@aws-sdk/util-user-agent-browser': 3.972.9 - '@aws-sdk/util-user-agent-node': 3.973.15 - '@smithy/config-resolver': 4.4.14 - '@smithy/core': 3.23.14 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/hash-node': 4.2.13 - '@smithy/invalid-dependency': 4.2.13 - '@smithy/middleware-content-length': 4.2.13 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-retry': 4.5.1 - '@smithy/middleware-serde': 4.2.17 - '@smithy/middleware-stack': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/node-http-handler': 4.5.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/credential-provider-node': 3.972.32 + '@aws-sdk/middleware-host-header': 3.972.10 + '@aws-sdk/middleware-logger': 3.972.10 + '@aws-sdk/middleware-recursion-detection': 3.972.11 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/region-config-resolver': 3.972.12 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@aws-sdk/util-user-agent-browser': 3.972.10 + '@aws-sdk/util-user-agent-node': 3.973.17 + '@smithy/config-resolver': 4.4.16 + '@smithy/core': 3.23.15 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/hash-node': 4.2.14 + '@smithy/invalid-dependency': 4.2.14 + '@smithy/middleware-content-length': 4.2.14 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-retry': 4.5.3 + '@smithy/middleware-serde': 4.2.18 + '@smithy/middleware-stack': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/node-http-handler': 4.5.3 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 '@smithy/util-body-length-node': 4.2.3 - '@smithy/util-defaults-mode-browser': 4.3.45 - '@smithy/util-defaults-mode-node': 4.2.49 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 + '@smithy/util-defaults-mode-browser': 4.3.47 + '@smithy/util-defaults-mode-node': 4.2.52 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 '@smithy/util-utf8': 4.2.2 - '@smithy/util-waiter': 4.2.15 + '@smithy/util-waiter': 4.2.16 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/client-iam@3.1029.0': + '@aws-sdk/client-iam@3.1032.0': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/credential-provider-node': 3.972.30 - '@aws-sdk/middleware-host-header': 3.972.9 - '@aws-sdk/middleware-logger': 3.972.9 - '@aws-sdk/middleware-recursion-detection': 3.972.10 - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/region-config-resolver': 3.972.11 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@aws-sdk/util-user-agent-browser': 3.972.9 - '@aws-sdk/util-user-agent-node': 3.973.15 - '@smithy/config-resolver': 4.4.14 - '@smithy/core': 3.23.14 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/hash-node': 4.2.13 - '@smithy/invalid-dependency': 4.2.13 - '@smithy/middleware-content-length': 4.2.13 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-retry': 4.5.1 - '@smithy/middleware-serde': 4.2.17 - '@smithy/middleware-stack': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/node-http-handler': 4.5.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/credential-provider-node': 3.972.32 + '@aws-sdk/middleware-host-header': 3.972.10 + '@aws-sdk/middleware-logger': 3.972.10 + '@aws-sdk/middleware-recursion-detection': 3.972.11 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/region-config-resolver': 3.972.12 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@aws-sdk/util-user-agent-browser': 3.972.10 + '@aws-sdk/util-user-agent-node': 3.973.17 + '@smithy/config-resolver': 4.4.16 + '@smithy/core': 3.23.15 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/hash-node': 4.2.14 + '@smithy/invalid-dependency': 4.2.14 + '@smithy/middleware-content-length': 4.2.14 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-retry': 4.5.3 + '@smithy/middleware-serde': 4.2.18 + '@smithy/middleware-stack': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/node-http-handler': 4.5.3 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 '@smithy/util-body-length-node': 4.2.3 - '@smithy/util-defaults-mode-browser': 4.3.45 - '@smithy/util-defaults-mode-node': 4.2.49 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 + '@smithy/util-defaults-mode-browser': 4.3.47 + '@smithy/util-defaults-mode-node': 4.2.52 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 '@smithy/util-utf8': 4.2.2 - '@smithy/util-waiter': 4.2.15 + '@smithy/util-waiter': 4.2.16 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/client-s3@3.1029.0': + '@aws-sdk/client-s3@3.1032.0': dependencies: '@aws-crypto/sha1-browser': 5.2.0 '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/credential-provider-node': 3.972.30 - '@aws-sdk/middleware-bucket-endpoint': 3.972.9 - '@aws-sdk/middleware-expect-continue': 3.972.9 - '@aws-sdk/middleware-flexible-checksums': 3.974.7 - '@aws-sdk/middleware-host-header': 3.972.9 - '@aws-sdk/middleware-location-constraint': 3.972.9 - '@aws-sdk/middleware-logger': 3.972.9 - '@aws-sdk/middleware-recursion-detection': 3.972.10 - '@aws-sdk/middleware-sdk-s3': 3.972.28 - '@aws-sdk/middleware-ssec': 3.972.9 - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/region-config-resolver': 3.972.11 - '@aws-sdk/signature-v4-multi-region': 3.996.16 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@aws-sdk/util-user-agent-browser': 3.972.9 - '@aws-sdk/util-user-agent-node': 3.973.15 - '@smithy/config-resolver': 4.4.14 - '@smithy/core': 3.23.14 - '@smithy/eventstream-serde-browser': 4.2.13 - '@smithy/eventstream-serde-config-resolver': 4.3.13 - '@smithy/eventstream-serde-node': 4.2.13 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/hash-blob-browser': 4.2.14 - '@smithy/hash-node': 4.2.13 - '@smithy/hash-stream-node': 4.2.13 - '@smithy/invalid-dependency': 4.2.13 - '@smithy/md5-js': 4.2.13 - '@smithy/middleware-content-length': 4.2.13 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-retry': 4.5.1 - '@smithy/middleware-serde': 4.2.17 - '@smithy/middleware-stack': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/node-http-handler': 4.5.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/credential-provider-node': 3.972.32 + '@aws-sdk/middleware-bucket-endpoint': 3.972.10 + '@aws-sdk/middleware-expect-continue': 3.972.10 + '@aws-sdk/middleware-flexible-checksums': 3.974.9 + '@aws-sdk/middleware-host-header': 3.972.10 + '@aws-sdk/middleware-location-constraint': 3.972.10 + '@aws-sdk/middleware-logger': 3.972.10 + '@aws-sdk/middleware-recursion-detection': 3.972.11 + '@aws-sdk/middleware-sdk-s3': 3.972.30 + '@aws-sdk/middleware-ssec': 3.972.10 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/region-config-resolver': 3.972.12 + '@aws-sdk/signature-v4-multi-region': 3.996.18 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@aws-sdk/util-user-agent-browser': 3.972.10 + '@aws-sdk/util-user-agent-node': 3.973.17 + '@smithy/config-resolver': 4.4.16 + '@smithy/core': 3.23.15 + '@smithy/eventstream-serde-browser': 4.2.14 + '@smithy/eventstream-serde-config-resolver': 4.3.14 + '@smithy/eventstream-serde-node': 4.2.14 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/hash-blob-browser': 4.2.15 + '@smithy/hash-node': 4.2.14 + '@smithy/hash-stream-node': 4.2.14 + '@smithy/invalid-dependency': 4.2.14 + '@smithy/md5-js': 4.2.14 + '@smithy/middleware-content-length': 4.2.14 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-retry': 4.5.3 + '@smithy/middleware-serde': 4.2.18 + '@smithy/middleware-stack': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/node-http-handler': 4.5.3 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 '@smithy/util-body-length-node': 4.2.3 - '@smithy/util-defaults-mode-browser': 4.3.45 - '@smithy/util-defaults-mode-node': 4.2.49 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 - '@smithy/util-stream': 4.5.22 + '@smithy/util-defaults-mode-browser': 4.3.47 + '@smithy/util-defaults-mode-node': 4.2.52 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 + '@smithy/util-stream': 4.5.23 '@smithy/util-utf8': 4.2.2 - '@smithy/util-waiter': 4.2.15 + '@smithy/util-waiter': 4.2.16 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/core@3.973.27': + '@aws-sdk/core@3.974.1': dependencies: - '@aws-sdk/types': 3.973.7 - '@aws-sdk/xml-builder': 3.972.17 - '@smithy/core': 3.23.14 - '@smithy/node-config-provider': 4.3.13 - '@smithy/property-provider': 4.2.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/signature-v4': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/xml-builder': 3.972.18 + '@smithy/core': 3.23.15 + '@smithy/node-config-provider': 4.3.14 + '@smithy/property-provider': 4.2.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/signature-v4': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 '@smithy/util-base64': 4.3.2 - '@smithy/util-middleware': 4.2.13 + '@smithy/util-middleware': 4.2.14 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@aws-sdk/crc64-nvme@3.972.6': + '@aws-sdk/crc64-nvme@3.972.7': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/credential-provider-env@3.972.25': + '@aws-sdk/credential-provider-env@3.972.27': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/credential-provider-http@3.972.27': + '@aws-sdk/credential-provider-http@3.972.29': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/types': 3.973.7 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/node-http-handler': 4.5.2 - '@smithy/property-provider': 4.2.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/util-stream': 4.5.22 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/types': 3.973.8 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/node-http-handler': 4.5.3 + '@smithy/property-provider': 4.2.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/util-stream': 4.5.23 tslib: 2.8.1 - '@aws-sdk/credential-provider-ini@3.972.29': + '@aws-sdk/credential-provider-ini@3.972.31': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/credential-provider-env': 3.972.25 - '@aws-sdk/credential-provider-http': 3.972.27 - '@aws-sdk/credential-provider-login': 3.972.29 - '@aws-sdk/credential-provider-process': 3.972.25 - '@aws-sdk/credential-provider-sso': 3.972.29 - '@aws-sdk/credential-provider-web-identity': 3.972.29 - '@aws-sdk/nested-clients': 3.996.19 - '@aws-sdk/types': 3.973.7 - '@smithy/credential-provider-imds': 4.2.13 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/credential-provider-env': 3.972.27 + '@aws-sdk/credential-provider-http': 3.972.29 + '@aws-sdk/credential-provider-login': 3.972.31 + '@aws-sdk/credential-provider-process': 3.972.27 + '@aws-sdk/credential-provider-sso': 3.972.31 + '@aws-sdk/credential-provider-web-identity': 3.972.31 + '@aws-sdk/nested-clients': 3.996.21 + '@aws-sdk/types': 3.973.8 + '@smithy/credential-provider-imds': 4.2.14 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-login@3.972.29': + '@aws-sdk/credential-provider-login@3.972.31': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/nested-clients': 3.996.19 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/nested-clients': 3.996.21 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-node@3.972.30': + '@aws-sdk/credential-provider-node@3.972.32': dependencies: - '@aws-sdk/credential-provider-env': 3.972.25 - '@aws-sdk/credential-provider-http': 3.972.27 - '@aws-sdk/credential-provider-ini': 3.972.29 - '@aws-sdk/credential-provider-process': 3.972.25 - '@aws-sdk/credential-provider-sso': 3.972.29 - '@aws-sdk/credential-provider-web-identity': 3.972.29 - '@aws-sdk/types': 3.973.7 - '@smithy/credential-provider-imds': 4.2.13 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/credential-provider-env': 3.972.27 + '@aws-sdk/credential-provider-http': 3.972.29 + '@aws-sdk/credential-provider-ini': 3.972.31 + '@aws-sdk/credential-provider-process': 3.972.27 + '@aws-sdk/credential-provider-sso': 3.972.31 + '@aws-sdk/credential-provider-web-identity': 3.972.31 + '@aws-sdk/types': 3.973.8 + '@smithy/credential-provider-imds': 4.2.14 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-process@3.972.25': + '@aws-sdk/credential-provider-process@3.972.27': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/credential-provider-sso@3.972.29': + '@aws-sdk/credential-provider-sso@3.972.31': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/nested-clients': 3.996.19 - '@aws-sdk/token-providers': 3.1026.0 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/nested-clients': 3.996.21 + '@aws-sdk/token-providers': 3.1032.0 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-web-identity@3.972.29': + '@aws-sdk/credential-provider-web-identity@3.972.31': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/nested-clients': 3.996.19 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/nested-clients': 3.996.21 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/lib-storage@3.1029.0(@aws-sdk/client-s3@3.1029.0)': + '@aws-sdk/lib-storage@3.1032.0(@aws-sdk/client-s3@3.1032.0)': dependencies: - '@aws-sdk/client-s3': 3.1029.0 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@aws-sdk/client-s3': 3.1032.0 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 buffer: 5.6.0 events: 3.3.0 stream-browserify: 3.0.0 tslib: 2.8.1 - '@aws-sdk/middleware-bucket-endpoint@3.972.9': + '@aws-sdk/middleware-bucket-endpoint@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 '@aws-sdk/util-arn-parser': 3.972.3 - '@smithy/node-config-provider': 4.3.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@smithy/node-config-provider': 4.3.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 '@smithy/util-config-provider': 4.2.2 tslib: 2.8.1 - '@aws-sdk/middleware-expect-continue@3.972.9': + '@aws-sdk/middleware-expect-continue@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-flexible-checksums@3.974.7': + '@aws-sdk/middleware-flexible-checksums@3.974.9': dependencies: '@aws-crypto/crc32': 5.2.0 '@aws-crypto/crc32c': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/crc64-nvme': 3.972.6 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/crc64-nvme': 3.972.7 + '@aws-sdk/types': 3.973.8 '@smithy/is-array-buffer': 4.2.2 - '@smithy/node-config-provider': 4.3.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-stream': 4.5.22 + '@smithy/node-config-provider': 4.3.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-stream': 4.5.23 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@aws-sdk/middleware-host-header@3.972.9': + '@aws-sdk/middleware-host-header@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-location-constraint@3.972.9': + '@aws-sdk/middleware-location-constraint@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-logger@3.972.9': + '@aws-sdk/middleware-logger@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-recursion-detection@3.972.10': + '@aws-sdk/middleware-recursion-detection@3.972.11': dependencies: - '@aws-sdk/types': 3.973.7 + '@aws-sdk/types': 3.973.8 '@aws/lambda-invoke-store': 0.2.4 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-sdk-ec2@3.972.19': + '@aws-sdk/middleware-sdk-ec2@3.972.20': dependencies: - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-format-url': 3.972.9 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/protocol-http': 5.3.13 - '@smithy/signature-v4': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-format-url': 3.972.10 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/protocol-http': 5.3.14 + '@smithy/signature-v4': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-sdk-s3@3.972.28': + '@aws-sdk/middleware-sdk-s3@3.972.30': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/types': 3.973.7 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/types': 3.973.8 '@aws-sdk/util-arn-parser': 3.972.3 - '@smithy/core': 3.23.14 - '@smithy/node-config-provider': 4.3.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/signature-v4': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@smithy/core': 3.23.15 + '@smithy/node-config-provider': 4.3.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/signature-v4': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 '@smithy/util-config-provider': 4.2.2 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-stream': 4.5.22 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-stream': 4.5.23 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@aws-sdk/middleware-ssec@3.972.9': + '@aws-sdk/middleware-ssec@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/middleware-user-agent@3.972.29': + '@aws-sdk/middleware-user-agent@3.972.31': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@smithy/core': 3.23.14 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 - '@smithy/util-retry': 4.3.1 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@smithy/core': 3.23.15 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 + '@smithy/util-retry': 4.3.2 tslib: 2.8.1 - '@aws-sdk/nested-clients@3.996.19': + '@aws-sdk/nested-clients@3.996.21': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.973.27 - '@aws-sdk/middleware-host-header': 3.972.9 - '@aws-sdk/middleware-logger': 3.972.9 - '@aws-sdk/middleware-recursion-detection': 3.972.10 - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/region-config-resolver': 3.972.11 - '@aws-sdk/types': 3.973.7 - '@aws-sdk/util-endpoints': 3.996.6 - '@aws-sdk/util-user-agent-browser': 3.972.9 - '@aws-sdk/util-user-agent-node': 3.973.15 - '@smithy/config-resolver': 4.4.14 - '@smithy/core': 3.23.14 - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/hash-node': 4.2.13 - '@smithy/invalid-dependency': 4.2.13 - '@smithy/middleware-content-length': 4.2.13 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-retry': 4.5.1 - '@smithy/middleware-serde': 4.2.17 - '@smithy/middleware-stack': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/node-http-handler': 4.5.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/middleware-host-header': 3.972.10 + '@aws-sdk/middleware-logger': 3.972.10 + '@aws-sdk/middleware-recursion-detection': 3.972.11 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/region-config-resolver': 3.972.12 + '@aws-sdk/types': 3.973.8 + '@aws-sdk/util-endpoints': 3.996.7 + '@aws-sdk/util-user-agent-browser': 3.972.10 + '@aws-sdk/util-user-agent-node': 3.973.17 + '@smithy/config-resolver': 4.4.16 + '@smithy/core': 3.23.15 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/hash-node': 4.2.14 + '@smithy/invalid-dependency': 4.2.14 + '@smithy/middleware-content-length': 4.2.14 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-retry': 4.5.3 + '@smithy/middleware-serde': 4.2.18 + '@smithy/middleware-stack': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/node-http-handler': 4.5.3 + '@smithy/protocol-http': 5.3.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 '@smithy/util-body-length-node': 4.2.3 - '@smithy/util-defaults-mode-browser': 4.3.45 - '@smithy/util-defaults-mode-node': 4.2.49 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 + '@smithy/util-defaults-mode-browser': 4.3.47 + '@smithy/util-defaults-mode-node': 4.2.52 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/region-config-resolver@3.972.11': + '@aws-sdk/region-config-resolver@3.972.12': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/config-resolver': 4.4.14 - '@smithy/node-config-provider': 4.3.13 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/config-resolver': 4.4.16 + '@smithy/node-config-provider': 4.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/signature-v4-multi-region@3.996.16': + '@aws-sdk/signature-v4-multi-region@3.996.18': dependencies: - '@aws-sdk/middleware-sdk-s3': 3.972.28 - '@aws-sdk/types': 3.973.7 - '@smithy/protocol-http': 5.3.13 - '@smithy/signature-v4': 5.3.13 - '@smithy/types': 4.14.0 + '@aws-sdk/middleware-sdk-s3': 3.972.30 + '@aws-sdk/types': 3.973.8 + '@smithy/protocol-http': 5.3.14 + '@smithy/signature-v4': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/token-providers@3.1026.0': + '@aws-sdk/token-providers@3.1032.0': dependencies: - '@aws-sdk/core': 3.973.27 - '@aws-sdk/nested-clients': 3.996.19 - '@aws-sdk/types': 3.973.7 - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@aws-sdk/core': 3.974.1 + '@aws-sdk/nested-clients': 3.996.21 + '@aws-sdk/types': 3.973.8 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 transitivePeerDependencies: - aws-crt '@aws-sdk/types@3.973.6': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@aws-sdk/types@3.973.7': + '@aws-sdk/types@3.973.8': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@aws-sdk/util-arn-parser@3.972.3': dependencies: tslib: 2.8.1 - '@aws-sdk/util-endpoints@3.996.6': + '@aws-sdk/util-endpoints@3.996.7': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 - '@smithy/util-endpoints': 3.3.4 + '@aws-sdk/types': 3.973.8 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 + '@smithy/util-endpoints': 3.4.1 tslib: 2.8.1 - '@aws-sdk/util-format-url@3.972.9': + '@aws-sdk/util-format-url@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/querystring-builder': 4.2.13 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/querystring-builder': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@aws-sdk/util-locate-window@3.965.5': dependencies: tslib: 2.8.1 - '@aws-sdk/util-user-agent-browser@3.972.9': + '@aws-sdk/util-user-agent-browser@3.972.10': dependencies: - '@aws-sdk/types': 3.973.7 - '@smithy/types': 4.14.0 + '@aws-sdk/types': 3.973.8 + '@smithy/types': 4.14.1 bowser: 2.14.1 tslib: 2.8.1 - '@aws-sdk/util-user-agent-node@3.973.15': + '@aws-sdk/util-user-agent-node@3.973.17': dependencies: - '@aws-sdk/middleware-user-agent': 3.972.29 - '@aws-sdk/types': 3.973.7 - '@smithy/node-config-provider': 4.3.13 - '@smithy/types': 4.14.0 + '@aws-sdk/middleware-user-agent': 3.972.31 + '@aws-sdk/types': 3.973.8 + '@smithy/node-config-provider': 4.3.14 + '@smithy/types': 4.14.1 '@smithy/util-config-provider': 4.2.2 tslib: 2.8.1 - '@aws-sdk/xml-builder@3.972.17': + '@aws-sdk/xml-builder@3.972.18': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 fast-xml-parser: 5.5.8 tslib: 2.8.1 @@ -3744,20 +3745,21 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 - '@base-ui/react@1.3.0(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': + '@base-ui/react@1.4.0(@date-fns/tz@1.4.1)(@types/react@19.2.14)(date-fns@4.1.0)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': dependencies: '@babel/runtime': 7.29.2 - '@base-ui/utils': 0.2.6(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) + '@base-ui/utils': 0.2.7(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) + '@date-fns/tz': 1.4.1 '@floating-ui/react-dom': 2.1.8(react-dom@19.2.5(react@19.2.5))(react@19.2.5) '@floating-ui/utils': 0.2.11 + date-fns: 4.1.0 react: 19.2.5 react-dom: 19.2.5(react@19.2.5) - tabbable: 6.4.0 use-sync-external-store: 1.6.0(react@19.2.5) optionalDependencies: '@types/react': 19.2.14 - '@base-ui/utils@0.2.6(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': + '@base-ui/utils@0.2.7(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': dependencies: '@babel/runtime': 7.29.2 '@floating-ui/utils': 0.2.11 @@ -3790,16 +3792,16 @@ snapshots: '@csstools/color-helpers@6.0.2': optional: true - '@csstools/css-calc@3.1.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': + '@csstools/css-calc@3.2.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': dependencies: '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) '@csstools/css-tokenizer': 4.0.0 optional: true - '@csstools/css-color-parser@4.0.2(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': + '@csstools/css-color-parser@4.1.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': dependencies: '@csstools/color-helpers': 6.0.2 - '@csstools/css-calc': 3.1.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) + '@csstools/css-calc': 3.2.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) '@csstools/css-tokenizer': 4.0.0 optional: true @@ -3809,7 +3811,7 @@ snapshots: '@csstools/css-tokenizer': 4.0.0 optional: true - '@csstools/css-syntax-patches-for-csstree@1.1.2(css-tree@3.2.1)': + '@csstools/css-syntax-patches-for-csstree@1.1.3(css-tree@3.2.1)': optionalDependencies: css-tree: 3.2.1 optional: true @@ -3817,6 +3819,8 @@ snapshots: '@csstools/css-tokenizer@4.0.0': optional: true + '@date-fns/tz@1.4.1': {} + '@emnapi/core@1.9.2': dependencies: '@emnapi/wasi-threads': 1.2.1 @@ -3986,13 +3990,18 @@ snapshots: '@standard-schema/utils': 0.3.0 react-hook-form: 7.72.1(react@19.2.5) - '@humanfs/core@0.19.1': {} - - '@humanfs/node@0.16.7': + '@humanfs/core@0.19.2': dependencies: - '@humanfs/core': 0.19.1 + '@humanfs/types': 0.15.0 + + '@humanfs/node@0.16.8': + dependencies: + '@humanfs/core': 0.19.2 + '@humanfs/types': 0.15.0 '@humanwhocodes/retry': 0.4.3 + '@humanfs/types@0.15.0': {} + '@humanwhocodes/module-importer@1.0.1': {} '@humanwhocodes/retry@0.4.3': {} @@ -4025,136 +4034,136 @@ snapshots: '@oxc-project/types@0.124.0': {} - '@oxfmt/binding-android-arm-eabi@0.44.0': + '@oxfmt/binding-android-arm-eabi@0.45.0': optional: true - '@oxfmt/binding-android-arm64@0.44.0': + '@oxfmt/binding-android-arm64@0.45.0': optional: true - '@oxfmt/binding-darwin-arm64@0.44.0': + '@oxfmt/binding-darwin-arm64@0.45.0': optional: true - '@oxfmt/binding-darwin-x64@0.44.0': + '@oxfmt/binding-darwin-x64@0.45.0': optional: true - '@oxfmt/binding-freebsd-x64@0.44.0': + '@oxfmt/binding-freebsd-x64@0.45.0': optional: true - '@oxfmt/binding-linux-arm-gnueabihf@0.44.0': + '@oxfmt/binding-linux-arm-gnueabihf@0.45.0': optional: true - '@oxfmt/binding-linux-arm-musleabihf@0.44.0': + '@oxfmt/binding-linux-arm-musleabihf@0.45.0': optional: true - '@oxfmt/binding-linux-arm64-gnu@0.44.0': + '@oxfmt/binding-linux-arm64-gnu@0.45.0': optional: true - '@oxfmt/binding-linux-arm64-musl@0.44.0': + '@oxfmt/binding-linux-arm64-musl@0.45.0': optional: true - '@oxfmt/binding-linux-ppc64-gnu@0.44.0': + '@oxfmt/binding-linux-ppc64-gnu@0.45.0': optional: true - '@oxfmt/binding-linux-riscv64-gnu@0.44.0': + '@oxfmt/binding-linux-riscv64-gnu@0.45.0': optional: true - '@oxfmt/binding-linux-riscv64-musl@0.44.0': + '@oxfmt/binding-linux-riscv64-musl@0.45.0': optional: true - '@oxfmt/binding-linux-s390x-gnu@0.44.0': + '@oxfmt/binding-linux-s390x-gnu@0.45.0': optional: true - '@oxfmt/binding-linux-x64-gnu@0.44.0': + '@oxfmt/binding-linux-x64-gnu@0.45.0': optional: true - '@oxfmt/binding-linux-x64-musl@0.44.0': + '@oxfmt/binding-linux-x64-musl@0.45.0': optional: true - '@oxfmt/binding-openharmony-arm64@0.44.0': + '@oxfmt/binding-openharmony-arm64@0.45.0': optional: true - '@oxfmt/binding-win32-arm64-msvc@0.44.0': + '@oxfmt/binding-win32-arm64-msvc@0.45.0': optional: true - '@oxfmt/binding-win32-ia32-msvc@0.44.0': + '@oxfmt/binding-win32-ia32-msvc@0.45.0': optional: true - '@oxfmt/binding-win32-x64-msvc@0.44.0': + '@oxfmt/binding-win32-x64-msvc@0.45.0': optional: true - '@oxlint-tsgolint/darwin-arm64@0.20.0': + '@oxlint-tsgolint/darwin-arm64@0.21.1': optional: true - '@oxlint-tsgolint/darwin-x64@0.20.0': + '@oxlint-tsgolint/darwin-x64@0.21.1': optional: true - '@oxlint-tsgolint/linux-arm64@0.20.0': + '@oxlint-tsgolint/linux-arm64@0.21.1': optional: true - '@oxlint-tsgolint/linux-x64@0.20.0': + '@oxlint-tsgolint/linux-x64@0.21.1': optional: true - '@oxlint-tsgolint/win32-arm64@0.20.0': + '@oxlint-tsgolint/win32-arm64@0.21.1': optional: true - '@oxlint-tsgolint/win32-x64@0.20.0': + '@oxlint-tsgolint/win32-x64@0.21.1': optional: true - '@oxlint/binding-android-arm-eabi@1.59.0': + '@oxlint/binding-android-arm-eabi@1.60.0': optional: true - '@oxlint/binding-android-arm64@1.59.0': + '@oxlint/binding-android-arm64@1.60.0': optional: true - '@oxlint/binding-darwin-arm64@1.59.0': + '@oxlint/binding-darwin-arm64@1.60.0': optional: true - '@oxlint/binding-darwin-x64@1.59.0': + '@oxlint/binding-darwin-x64@1.60.0': optional: true - '@oxlint/binding-freebsd-x64@1.59.0': + '@oxlint/binding-freebsd-x64@1.60.0': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.59.0': + '@oxlint/binding-linux-arm-gnueabihf@1.60.0': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.59.0': + '@oxlint/binding-linux-arm-musleabihf@1.60.0': optional: true - '@oxlint/binding-linux-arm64-gnu@1.59.0': + '@oxlint/binding-linux-arm64-gnu@1.60.0': optional: true - '@oxlint/binding-linux-arm64-musl@1.59.0': + '@oxlint/binding-linux-arm64-musl@1.60.0': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.59.0': + '@oxlint/binding-linux-ppc64-gnu@1.60.0': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.59.0': + '@oxlint/binding-linux-riscv64-gnu@1.60.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.59.0': + '@oxlint/binding-linux-riscv64-musl@1.60.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.59.0': + '@oxlint/binding-linux-s390x-gnu@1.60.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.59.0': + '@oxlint/binding-linux-x64-gnu@1.60.0': optional: true - '@oxlint/binding-linux-x64-musl@1.59.0': + '@oxlint/binding-linux-x64-musl@1.60.0': optional: true - '@oxlint/binding-openharmony-arm64@1.59.0': + '@oxlint/binding-openharmony-arm64@1.60.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.59.0': + '@oxlint/binding-win32-arm64-msvc@1.60.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.59.0': + '@oxlint/binding-win32-ia32-msvc@1.60.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.59.0': + '@oxlint/binding-win32-x64-msvc@1.60.0': optional: true '@rolldown/binding-android-arm64@1.0.0-rc.15': @@ -4206,14 +4215,14 @@ snapshots: '@rolldown/binding-win32-x64-msvc@1.0.0-rc.15': optional: true - '@rolldown/plugin-babel@0.2.2(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@rolldown/plugin-babel@0.2.3(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@babel/core': 7.29.0 picomatch: 4.0.4 rolldown: 1.0.0-rc.15 optionalDependencies: '@babel/runtime': 7.29.2 - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) '@rolldown/pluginutils@1.0.0-rc.15': {} @@ -4228,97 +4237,97 @@ snapshots: dependencies: tslib: 2.8.1 - '@smithy/config-resolver@4.4.14': + '@smithy/config-resolver@4.4.16': dependencies: - '@smithy/node-config-provider': 4.3.13 - '@smithy/types': 4.14.0 + '@smithy/node-config-provider': 4.3.14 + '@smithy/types': 4.14.1 '@smithy/util-config-provider': 4.2.2 - '@smithy/util-endpoints': 3.3.4 - '@smithy/util-middleware': 4.2.13 + '@smithy/util-endpoints': 3.4.1 + '@smithy/util-middleware': 4.2.14 tslib: 2.8.1 - '@smithy/core@3.23.14': + '@smithy/core@3.23.15': dependencies: - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 '@smithy/util-base64': 4.3.2 '@smithy/util-body-length-browser': 4.2.2 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-stream': 4.5.22 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-stream': 4.5.23 '@smithy/util-utf8': 4.2.2 '@smithy/uuid': 1.1.2 tslib: 2.8.1 - '@smithy/credential-provider-imds@4.2.13': + '@smithy/credential-provider-imds@4.2.14': dependencies: - '@smithy/node-config-provider': 4.3.13 - '@smithy/property-provider': 4.2.13 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 + '@smithy/node-config-provider': 4.3.14 + '@smithy/property-provider': 4.2.14 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 tslib: 2.8.1 - '@smithy/eventstream-codec@4.2.13': + '@smithy/eventstream-codec@4.2.14': dependencies: '@aws-crypto/crc32': 5.2.0 - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 '@smithy/util-hex-encoding': 4.2.2 tslib: 2.8.1 - '@smithy/eventstream-serde-browser@4.2.13': + '@smithy/eventstream-serde-browser@4.2.14': dependencies: - '@smithy/eventstream-serde-universal': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/eventstream-serde-universal': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/eventstream-serde-config-resolver@4.3.13': + '@smithy/eventstream-serde-config-resolver@4.3.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/eventstream-serde-node@4.2.13': + '@smithy/eventstream-serde-node@4.2.14': dependencies: - '@smithy/eventstream-serde-universal': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/eventstream-serde-universal': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/eventstream-serde-universal@4.2.13': + '@smithy/eventstream-serde-universal@4.2.14': dependencies: - '@smithy/eventstream-codec': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/eventstream-codec': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/fetch-http-handler@5.3.16': + '@smithy/fetch-http-handler@5.3.17': dependencies: - '@smithy/protocol-http': 5.3.13 - '@smithy/querystring-builder': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/protocol-http': 5.3.14 + '@smithy/querystring-builder': 4.2.14 + '@smithy/types': 4.14.1 '@smithy/util-base64': 4.3.2 tslib: 2.8.1 - '@smithy/hash-blob-browser@4.2.14': + '@smithy/hash-blob-browser@4.2.15': dependencies: '@smithy/chunked-blob-reader': 5.2.2 '@smithy/chunked-blob-reader-native': 4.2.3 - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/hash-node@4.2.13': + '@smithy/hash-node@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 '@smithy/util-buffer-from': 4.2.2 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@smithy/hash-stream-node@4.2.13': + '@smithy/hash-stream-node@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@smithy/invalid-dependency@4.2.13': + '@smithy/invalid-dependency@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@smithy/is-array-buffer@2.2.0': @@ -4329,127 +4338,127 @@ snapshots: dependencies: tslib: 2.8.1 - '@smithy/md5-js@4.2.13': + '@smithy/md5-js@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@smithy/middleware-content-length@4.2.13': + '@smithy/middleware-content-length@4.2.14': dependencies: - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/middleware-endpoint@4.4.29': + '@smithy/middleware-endpoint@4.4.30': dependencies: - '@smithy/core': 3.23.14 - '@smithy/middleware-serde': 4.2.17 - '@smithy/node-config-provider': 4.3.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 - '@smithy/url-parser': 4.2.13 - '@smithy/util-middleware': 4.2.13 + '@smithy/core': 3.23.15 + '@smithy/middleware-serde': 4.2.18 + '@smithy/node-config-provider': 4.3.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 + '@smithy/url-parser': 4.2.14 + '@smithy/util-middleware': 4.2.14 tslib: 2.8.1 - '@smithy/middleware-retry@4.5.1': + '@smithy/middleware-retry@4.5.3': dependencies: - '@smithy/core': 3.23.14 - '@smithy/node-config-provider': 4.3.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/service-error-classification': 4.2.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 - '@smithy/util-middleware': 4.2.13 - '@smithy/util-retry': 4.3.1 + '@smithy/core': 3.23.15 + '@smithy/node-config-provider': 4.3.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/service-error-classification': 4.2.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 + '@smithy/util-middleware': 4.2.14 + '@smithy/util-retry': 4.3.2 '@smithy/uuid': 1.1.2 tslib: 2.8.1 - '@smithy/middleware-serde@4.2.17': + '@smithy/middleware-serde@4.2.18': dependencies: - '@smithy/core': 3.23.14 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@smithy/core': 3.23.15 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/middleware-stack@4.2.13': + '@smithy/middleware-stack@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/node-config-provider@4.3.13': + '@smithy/node-config-provider@4.3.14': dependencies: - '@smithy/property-provider': 4.2.13 - '@smithy/shared-ini-file-loader': 4.4.8 - '@smithy/types': 4.14.0 + '@smithy/property-provider': 4.2.14 + '@smithy/shared-ini-file-loader': 4.4.9 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/node-http-handler@4.5.2': + '@smithy/node-http-handler@4.5.3': dependencies: - '@smithy/protocol-http': 5.3.13 - '@smithy/querystring-builder': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/protocol-http': 5.3.14 + '@smithy/querystring-builder': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/property-provider@4.2.13': + '@smithy/property-provider@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/protocol-http@5.3.13': + '@smithy/protocol-http@5.3.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/querystring-builder@4.2.13': + '@smithy/querystring-builder@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 '@smithy/util-uri-escape': 4.2.2 tslib: 2.8.1 - '@smithy/querystring-parser@4.2.13': + '@smithy/querystring-parser@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/service-error-classification@4.2.13': + '@smithy/service-error-classification@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 - '@smithy/shared-ini-file-loader@4.4.8': + '@smithy/shared-ini-file-loader@4.4.9': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/signature-v4@5.3.13': + '@smithy/signature-v4@5.3.14': dependencies: '@smithy/is-array-buffer': 4.2.2 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 '@smithy/util-hex-encoding': 4.2.2 - '@smithy/util-middleware': 4.2.13 + '@smithy/util-middleware': 4.2.14 '@smithy/util-uri-escape': 4.2.2 '@smithy/util-utf8': 4.2.2 tslib: 2.8.1 - '@smithy/smithy-client@4.12.9': + '@smithy/smithy-client@4.12.11': dependencies: - '@smithy/core': 3.23.14 - '@smithy/middleware-endpoint': 4.4.29 - '@smithy/middleware-stack': 4.2.13 - '@smithy/protocol-http': 5.3.13 - '@smithy/types': 4.14.0 - '@smithy/util-stream': 4.5.22 + '@smithy/core': 3.23.15 + '@smithy/middleware-endpoint': 4.4.30 + '@smithy/middleware-stack': 4.2.14 + '@smithy/protocol-http': 5.3.14 + '@smithy/types': 4.14.1 + '@smithy/util-stream': 4.5.23 tslib: 2.8.1 - '@smithy/types@4.14.0': + '@smithy/types@4.14.1': dependencies: tslib: 2.8.1 - '@smithy/url-parser@4.2.13': + '@smithy/url-parser@4.2.14': dependencies: - '@smithy/querystring-parser': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/querystring-parser': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@smithy/util-base64@4.3.2': @@ -4480,49 +4489,49 @@ snapshots: dependencies: tslib: 2.8.1 - '@smithy/util-defaults-mode-browser@4.3.45': + '@smithy/util-defaults-mode-browser@4.3.47': dependencies: - '@smithy/property-provider': 4.2.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@smithy/property-provider': 4.2.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/util-defaults-mode-node@4.2.49': + '@smithy/util-defaults-mode-node@4.2.52': dependencies: - '@smithy/config-resolver': 4.4.14 - '@smithy/credential-provider-imds': 4.2.13 - '@smithy/node-config-provider': 4.3.13 - '@smithy/property-provider': 4.2.13 - '@smithy/smithy-client': 4.12.9 - '@smithy/types': 4.14.0 + '@smithy/config-resolver': 4.4.16 + '@smithy/credential-provider-imds': 4.2.14 + '@smithy/node-config-provider': 4.3.14 + '@smithy/property-provider': 4.2.14 + '@smithy/smithy-client': 4.12.11 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/util-endpoints@3.3.4': + '@smithy/util-endpoints@3.4.1': dependencies: - '@smithy/node-config-provider': 4.3.13 - '@smithy/types': 4.14.0 + '@smithy/node-config-provider': 4.3.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@smithy/util-hex-encoding@4.2.2': dependencies: tslib: 2.8.1 - '@smithy/util-middleware@4.2.13': + '@smithy/util-middleware@4.2.14': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/util-retry@4.3.1': + '@smithy/util-retry@4.3.2': dependencies: - '@smithy/service-error-classification': 4.2.13 - '@smithy/types': 4.14.0 + '@smithy/service-error-classification': 4.2.14 + '@smithy/types': 4.14.1 tslib: 2.8.1 - '@smithy/util-stream@4.5.22': + '@smithy/util-stream@4.5.23': dependencies: - '@smithy/fetch-http-handler': 5.3.16 - '@smithy/node-http-handler': 4.5.2 - '@smithy/types': 4.14.0 + '@smithy/fetch-http-handler': 5.3.17 + '@smithy/node-http-handler': 4.5.3 + '@smithy/types': 4.14.1 '@smithy/util-base64': 4.3.2 '@smithy/util-buffer-from': 4.2.2 '@smithy/util-hex-encoding': 4.2.2 @@ -4543,9 +4552,9 @@ snapshots: '@smithy/util-buffer-from': 4.2.2 tslib: 2.8.1 - '@smithy/util-waiter@4.2.15': + '@smithy/util-waiter@4.2.16': dependencies: - '@smithy/types': 4.14.0 + '@smithy/types': 4.14.1 tslib: 2.8.1 '@smithy/uuid@1.1.2': @@ -4617,25 +4626,25 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.2.2 '@tailwindcss/oxide-win32-x64-msvc': 4.2.2 - '@tailwindcss/vite@4.2.2(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@tailwindcss/vite@4.2.2(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@tailwindcss/node': 4.2.2 '@tailwindcss/oxide': 4.2.2 tailwindcss: 4.2.2 - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) - '@tanstack/eslint-plugin-query@5.99.0(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': + '@tanstack/eslint-plugin-query@5.99.1(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3)': dependencies: - '@typescript-eslint/utils': 8.58.1(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + '@typescript-eslint/utils': 8.58.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3) eslint: 9.39.4(jiti@2.6.1) optionalDependencies: - typescript: 6.0.2 + typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@tanstack/eslint-plugin-router@1.161.6(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': + '@tanstack/eslint-plugin-router@1.161.6(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3)': dependencies: - '@typescript-eslint/utils': 8.57.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2) + '@typescript-eslint/utils': 8.57.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3) eslint: 9.39.4(jiti@2.6.1) transitivePeerDependencies: - supports-color @@ -4643,19 +4652,19 @@ snapshots: '@tanstack/history@1.161.6': {} - '@tanstack/query-core@5.99.0': {} + '@tanstack/query-core@5.99.1': {} - '@tanstack/react-query@5.99.0(react@19.2.5)': + '@tanstack/react-query@5.99.1(react@19.2.5)': dependencies: - '@tanstack/query-core': 5.99.0 + '@tanstack/query-core': 5.99.1 react: 19.2.5 - '@tanstack/react-router@1.168.18(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': + '@tanstack/react-router@1.168.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': dependencies: '@tanstack/history': 1.161.6 '@tanstack/react-store': 0.9.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@tanstack/router-core': 1.168.14 - isbot: 5.1.37 + '@tanstack/router-core': 1.168.15 + isbot: 5.1.39 react: 19.2.5 react-dom: 19.2.5(react@19.2.5) @@ -4666,27 +4675,27 @@ snapshots: react-dom: 19.2.5(react@19.2.5) use-sync-external-store: 1.6.0(react@19.2.5) - '@tanstack/router-core@1.168.14': + '@tanstack/router-core@1.168.15': dependencies: '@tanstack/history': 1.161.6 cookie-es: 3.1.1 seroval: 1.5.2 seroval-plugins: 1.5.2(seroval@1.5.2) - '@tanstack/router-generator@1.166.29': + '@tanstack/router-generator@1.166.32': dependencies: - '@tanstack/router-core': 1.168.14 + '@babel/types': 7.29.0 + '@tanstack/router-core': 1.168.15 '@tanstack/router-utils': 1.161.6 '@tanstack/virtual-file-routes': 1.161.7 - prettier: 3.8.2 - recast: 0.23.11 - source-map: 0.7.6 + magic-string: 0.30.21 + prettier: 3.8.3 tsx: 4.21.0 zod: 3.25.76 transitivePeerDependencies: - supports-color - '@tanstack/router-plugin@1.167.18(@tanstack/react-router@1.168.18(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@tanstack/router-plugin@1.167.22(@tanstack/react-router@1.168.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@babel/core': 7.29.0 '@babel/plugin-syntax-jsx': 7.28.6(@babel/core@7.29.0) @@ -4694,16 +4703,16 @@ snapshots: '@babel/template': 7.28.6 '@babel/traverse': 7.29.0 '@babel/types': 7.29.0 - '@tanstack/router-core': 1.168.14 - '@tanstack/router-generator': 1.166.29 + '@tanstack/router-core': 1.168.15 + '@tanstack/router-generator': 1.166.32 '@tanstack/router-utils': 1.161.6 '@tanstack/virtual-file-routes': 1.161.7 chokidar: 3.6.0 unplugin: 2.3.11 zod: 3.25.76 optionalDependencies: - '@tanstack/react-router': 1.168.18(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + '@tanstack/react-router': 1.168.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) transitivePeerDependencies: - supports-color @@ -4795,21 +4804,21 @@ snapshots: dependencies: '@types/node': 24.12.2 - '@typescript-eslint/project-service@8.57.2(typescript@6.0.2)': + '@typescript-eslint/project-service@8.57.2(typescript@6.0.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@6.0.2) + '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@6.0.3) '@typescript-eslint/types': 8.57.2 debug: 4.4.3 - typescript: 6.0.2 + typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.58.1(typescript@6.0.2)': + '@typescript-eslint/project-service@8.58.2(typescript@6.0.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.58.1(typescript@6.0.2) - '@typescript-eslint/types': 8.58.1 + '@typescript-eslint/tsconfig-utils': 8.58.2(typescript@6.0.3) + '@typescript-eslint/types': 8.58.2 debug: 4.4.3 - typescript: 6.0.2 + typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -4818,72 +4827,72 @@ snapshots: '@typescript-eslint/types': 8.57.2 '@typescript-eslint/visitor-keys': 8.57.2 - '@typescript-eslint/scope-manager@8.58.1': + '@typescript-eslint/scope-manager@8.58.2': dependencies: - '@typescript-eslint/types': 8.58.1 - '@typescript-eslint/visitor-keys': 8.58.1 + '@typescript-eslint/types': 8.58.2 + '@typescript-eslint/visitor-keys': 8.58.2 - '@typescript-eslint/tsconfig-utils@8.57.2(typescript@6.0.2)': + '@typescript-eslint/tsconfig-utils@8.57.2(typescript@6.0.3)': dependencies: - typescript: 6.0.2 + typescript: 6.0.3 - '@typescript-eslint/tsconfig-utils@8.58.1(typescript@6.0.2)': + '@typescript-eslint/tsconfig-utils@8.58.2(typescript@6.0.3)': dependencies: - typescript: 6.0.2 + typescript: 6.0.3 '@typescript-eslint/types@8.57.2': {} - '@typescript-eslint/types@8.58.1': {} + '@typescript-eslint/types@8.58.2': {} - '@typescript-eslint/typescript-estree@8.57.2(typescript@6.0.2)': + '@typescript-eslint/typescript-estree@8.57.2(typescript@6.0.3)': dependencies: - '@typescript-eslint/project-service': 8.57.2(typescript@6.0.2) - '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@6.0.2) + '@typescript-eslint/project-service': 8.57.2(typescript@6.0.3) + '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@6.0.3) '@typescript-eslint/types': 8.57.2 '@typescript-eslint/visitor-keys': 8.57.2 debug: 4.4.3 minimatch: 10.2.5 semver: 7.7.4 tinyglobby: 0.2.16 - ts-api-utils: 2.5.0(typescript@6.0.2) - typescript: 6.0.2 + ts-api-utils: 2.5.0(typescript@6.0.3) + typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.58.1(typescript@6.0.2)': + '@typescript-eslint/typescript-estree@8.58.2(typescript@6.0.3)': dependencies: - '@typescript-eslint/project-service': 8.58.1(typescript@6.0.2) - '@typescript-eslint/tsconfig-utils': 8.58.1(typescript@6.0.2) - '@typescript-eslint/types': 8.58.1 - '@typescript-eslint/visitor-keys': 8.58.1 + '@typescript-eslint/project-service': 8.58.2(typescript@6.0.3) + '@typescript-eslint/tsconfig-utils': 8.58.2(typescript@6.0.3) + '@typescript-eslint/types': 8.58.2 + '@typescript-eslint/visitor-keys': 8.58.2 debug: 4.4.3 minimatch: 10.2.5 semver: 7.7.4 tinyglobby: 0.2.16 - ts-api-utils: 2.5.0(typescript@6.0.2) - typescript: 6.0.2 + ts-api-utils: 2.5.0(typescript@6.0.3) + typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.57.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': + '@typescript-eslint/utils@8.57.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3)': dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) '@typescript-eslint/scope-manager': 8.57.2 '@typescript-eslint/types': 8.57.2 - '@typescript-eslint/typescript-estree': 8.57.2(typescript@6.0.2) + '@typescript-eslint/typescript-estree': 8.57.2(typescript@6.0.3) eslint: 9.39.4(jiti@2.6.1) - typescript: 6.0.2 + typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.58.1(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.2)': + '@typescript-eslint/utils@8.58.2(eslint@9.39.4(jiti@2.6.1))(typescript@6.0.3)': dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) - '@typescript-eslint/scope-manager': 8.58.1 - '@typescript-eslint/types': 8.58.1 - '@typescript-eslint/typescript-estree': 8.58.1(typescript@6.0.2) + '@typescript-eslint/scope-manager': 8.58.2 + '@typescript-eslint/types': 8.58.2 + '@typescript-eslint/typescript-estree': 8.58.2(typescript@6.0.3) eslint: 9.39.4(jiti@2.6.1) - typescript: 6.0.2 + typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -4892,52 +4901,52 @@ snapshots: '@typescript-eslint/types': 8.57.2 eslint-visitor-keys: 5.0.1 - '@typescript-eslint/visitor-keys@8.58.1': + '@typescript-eslint/visitor-keys@8.58.2': dependencies: - '@typescript-eslint/types': 8.58.1 + '@typescript-eslint/types': 8.58.2 eslint-visitor-keys: 5.0.1 - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260411.1': + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260411.1': + '@typescript/native-preview-darwin-x64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260411.1': + '@typescript/native-preview-linux-arm64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-linux-arm@7.0.0-dev.20260411.1': + '@typescript/native-preview-linux-arm@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-linux-x64@7.0.0-dev.20260411.1': + '@typescript/native-preview-linux-x64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260411.1': + '@typescript/native-preview-win32-arm64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview-win32-x64@7.0.0-dev.20260411.1': + '@typescript/native-preview-win32-x64@7.0.0-dev.20260418.1': optional: true - '@typescript/native-preview@7.0.0-dev.20260411.1': + '@typescript/native-preview@7.0.0-dev.20260418.1': optionalDependencies: - '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260411.1 - '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260411.1 - '@typescript/native-preview-linux-arm': 7.0.0-dev.20260411.1 - '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260411.1 - '@typescript/native-preview-linux-x64': 7.0.0-dev.20260411.1 - '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260411.1 - '@typescript/native-preview-win32-x64': 7.0.0-dev.20260411.1 + '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260418.1 + '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260418.1 + '@typescript/native-preview-linux-arm': 7.0.0-dev.20260418.1 + '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260418.1 + '@typescript/native-preview-linux-x64': 7.0.0-dev.20260418.1 + '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260418.1 + '@typescript/native-preview-win32-x64': 7.0.0-dev.20260418.1 - '@vitejs/plugin-basic-ssl@2.3.0(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@vitejs/plugin-basic-ssl@2.3.0(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) - '@vitejs/plugin-react@6.0.1(@rolldown/plugin-babel@0.2.2(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)))(babel-plugin-react-compiler@1.0.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@vitejs/plugin-react@6.0.1(@rolldown/plugin-babel@0.2.3(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)))(babel-plugin-react-compiler@1.0.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@rolldown/pluginutils': 1.0.0-rc.7 - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) optionalDependencies: - '@rolldown/plugin-babel': 0.2.2(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + '@rolldown/plugin-babel': 0.2.3(@babel/core@7.29.0)(@babel/runtime@7.29.2)(rolldown@1.0.0-rc.15)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) babel-plugin-react-compiler: 1.0.0 '@vitest/coverage-v8@4.1.4(vitest@4.1.4)': @@ -4952,7 +4961,7 @@ snapshots: obug: 2.1.1 std-env: 4.0.0 tinyrainbow: 3.1.0 - vitest: 4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.8.9)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + vitest: 4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.9.0)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@vitest/expect@4.1.4': dependencies: @@ -4963,13 +4972,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.4(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0))': + '@vitest/mocker@4.1.4(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@vitest/spy': 4.1.4 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) '@vitest/pretty-format@4.1.4': dependencies: @@ -5036,10 +5045,6 @@ snapshots: assertion-error@2.0.1: {} - ast-types@0.16.1: - dependencies: - tslib: 2.8.1 - ast-v8-to-istanbul@1.0.0: dependencies: '@jridgewell/trace-mapping': 0.3.31 @@ -5065,7 +5070,7 @@ snapshots: base64-js@1.5.1: {} - baseline-browser-mapping@2.10.18: {} + baseline-browser-mapping@2.10.20: {} bidi-js@1.0.3: dependencies: @@ -5091,9 +5096,9 @@ snapshots: browserslist@4.28.2: dependencies: - baseline-browser-mapping: 2.10.18 - caniuse-lite: 1.0.30001787 - electron-to-chromium: 1.5.335 + baseline-browser-mapping: 2.10.20 + caniuse-lite: 1.0.30001788 + electron-to-chromium: 1.5.340 node-releases: 2.0.37 update-browserslist-db: 1.2.3(browserslist@4.28.2) @@ -5104,7 +5109,7 @@ snapshots: callsites@3.1.0: {} - caniuse-lite@1.0.30001787: {} + caniuse-lite@1.0.30001788: {} chai@6.2.2: {} @@ -5163,10 +5168,10 @@ snapshots: cssstyle@6.2.0: dependencies: - '@asamuzakjp/css-color': 5.1.10 - '@csstools/css-syntax-patches-for-csstree': 1.1.2(css-tree@3.2.1) + '@asamuzakjp/css-color': 5.1.11 + '@csstools/css-syntax-patches-for-csstree': 1.1.3(css-tree@3.2.1) css-tree: 3.2.1 - lru-cache: 11.3.3 + lru-cache: 11.3.5 optional: true csstype@3.2.3: {} @@ -5179,6 +5184,8 @@ snapshots: - '@noble/hashes' optional: true + date-fns@4.1.0: {} + debug@4.4.3: dependencies: ms: 2.1.3 @@ -5200,7 +5207,7 @@ snapshots: dom-accessibility-api@0.6.3: {} - electron-to-chromium@1.5.335: {} + electron-to-chromium@1.5.340: {} enhanced-resolve@5.20.1: dependencies: @@ -5268,7 +5275,7 @@ snapshots: '@eslint/eslintrc': 3.3.5 '@eslint/js': 9.39.4 '@eslint/plugin-kit': 0.4.1 - '@humanfs/node': 0.16.7 + '@humanfs/node': 0.16.8 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.4.3 '@types/estree': 1.0.8 @@ -5305,8 +5312,6 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.16.0) eslint-visitor-keys: 4.2.1 - esprima@4.0.1: {} - esquery@1.7.0: dependencies: estraverse: 5.3.0 @@ -5343,13 +5348,13 @@ snapshots: dependencies: fast-string-width: 1.1.0 - fast-xml-builder@1.1.4: + fast-xml-builder@1.1.5: dependencies: path-expression-matcher: 1.5.0 fast-xml-parser@5.5.8: dependencies: - fast-xml-builder: 1.1.4 + fast-xml-builder: 1.1.5 path-expression-matcher: 1.5.0 strnum: 2.2.3 @@ -5382,7 +5387,7 @@ snapshots: gensync@1.0.0-beta.2: {} - get-tsconfig@4.13.7: + get-tsconfig@4.14.0: dependencies: resolve-pkg-maps: 1.0.0 @@ -5404,7 +5409,7 @@ snapshots: graceful-fs@4.2.11: {} - happy-dom@20.8.9: + happy-dom@20.9.0: dependencies: '@types/node': 24.12.2 '@types/whatwg-mimetype': 3.0.2 @@ -5473,7 +5478,7 @@ snapshots: is-potential-custom-element-name@1.0.1: optional: true - isbot@5.1.37: {} + isbot@5.1.39: {} isexe@2.0.0: {} @@ -5517,7 +5522,7 @@ snapshots: saxes: 6.0.0 symbol-tree: 3.2.4 tough-cookie: 6.0.1 - undici: 7.24.7 + undici: 7.25.0 w3c-xmlserializer: 5.0.0 webidl-conversions: 8.0.1 whatwg-mimetype: 5.0.0 @@ -5604,7 +5609,7 @@ snapshots: lodash.merge@4.6.2: {} - lru-cache@11.3.3: {} + lru-cache@11.3.5: {} lru-cache@5.1.1: dependencies: @@ -5672,61 +5677,61 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - oxfmt@0.44.0: + oxfmt@0.45.0: dependencies: tinypool: 2.1.0 optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.44.0 - '@oxfmt/binding-android-arm64': 0.44.0 - '@oxfmt/binding-darwin-arm64': 0.44.0 - '@oxfmt/binding-darwin-x64': 0.44.0 - '@oxfmt/binding-freebsd-x64': 0.44.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.44.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.44.0 - '@oxfmt/binding-linux-arm64-gnu': 0.44.0 - '@oxfmt/binding-linux-arm64-musl': 0.44.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.44.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.44.0 - '@oxfmt/binding-linux-riscv64-musl': 0.44.0 - '@oxfmt/binding-linux-s390x-gnu': 0.44.0 - '@oxfmt/binding-linux-x64-gnu': 0.44.0 - '@oxfmt/binding-linux-x64-musl': 0.44.0 - '@oxfmt/binding-openharmony-arm64': 0.44.0 - '@oxfmt/binding-win32-arm64-msvc': 0.44.0 - '@oxfmt/binding-win32-ia32-msvc': 0.44.0 - '@oxfmt/binding-win32-x64-msvc': 0.44.0 + '@oxfmt/binding-android-arm-eabi': 0.45.0 + '@oxfmt/binding-android-arm64': 0.45.0 + '@oxfmt/binding-darwin-arm64': 0.45.0 + '@oxfmt/binding-darwin-x64': 0.45.0 + '@oxfmt/binding-freebsd-x64': 0.45.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.45.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.45.0 + '@oxfmt/binding-linux-arm64-gnu': 0.45.0 + '@oxfmt/binding-linux-arm64-musl': 0.45.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.45.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.45.0 + '@oxfmt/binding-linux-riscv64-musl': 0.45.0 + '@oxfmt/binding-linux-s390x-gnu': 0.45.0 + '@oxfmt/binding-linux-x64-gnu': 0.45.0 + '@oxfmt/binding-linux-x64-musl': 0.45.0 + '@oxfmt/binding-openharmony-arm64': 0.45.0 + '@oxfmt/binding-win32-arm64-msvc': 0.45.0 + '@oxfmt/binding-win32-ia32-msvc': 0.45.0 + '@oxfmt/binding-win32-x64-msvc': 0.45.0 - oxlint-tsgolint@0.20.0: + oxlint-tsgolint@0.21.1: optionalDependencies: - '@oxlint-tsgolint/darwin-arm64': 0.20.0 - '@oxlint-tsgolint/darwin-x64': 0.20.0 - '@oxlint-tsgolint/linux-arm64': 0.20.0 - '@oxlint-tsgolint/linux-x64': 0.20.0 - '@oxlint-tsgolint/win32-arm64': 0.20.0 - '@oxlint-tsgolint/win32-x64': 0.20.0 + '@oxlint-tsgolint/darwin-arm64': 0.21.1 + '@oxlint-tsgolint/darwin-x64': 0.21.1 + '@oxlint-tsgolint/linux-arm64': 0.21.1 + '@oxlint-tsgolint/linux-x64': 0.21.1 + '@oxlint-tsgolint/win32-arm64': 0.21.1 + '@oxlint-tsgolint/win32-x64': 0.21.1 - oxlint@1.59.0(oxlint-tsgolint@0.20.0): + oxlint@1.60.0(oxlint-tsgolint@0.21.1): optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.59.0 - '@oxlint/binding-android-arm64': 1.59.0 - '@oxlint/binding-darwin-arm64': 1.59.0 - '@oxlint/binding-darwin-x64': 1.59.0 - '@oxlint/binding-freebsd-x64': 1.59.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.59.0 - '@oxlint/binding-linux-arm-musleabihf': 1.59.0 - '@oxlint/binding-linux-arm64-gnu': 1.59.0 - '@oxlint/binding-linux-arm64-musl': 1.59.0 - '@oxlint/binding-linux-ppc64-gnu': 1.59.0 - '@oxlint/binding-linux-riscv64-gnu': 1.59.0 - '@oxlint/binding-linux-riscv64-musl': 1.59.0 - '@oxlint/binding-linux-s390x-gnu': 1.59.0 - '@oxlint/binding-linux-x64-gnu': 1.59.0 - '@oxlint/binding-linux-x64-musl': 1.59.0 - '@oxlint/binding-openharmony-arm64': 1.59.0 - '@oxlint/binding-win32-arm64-msvc': 1.59.0 - '@oxlint/binding-win32-ia32-msvc': 1.59.0 - '@oxlint/binding-win32-x64-msvc': 1.59.0 - oxlint-tsgolint: 0.20.0 + '@oxlint/binding-android-arm-eabi': 1.60.0 + '@oxlint/binding-android-arm64': 1.60.0 + '@oxlint/binding-darwin-arm64': 1.60.0 + '@oxlint/binding-darwin-x64': 1.60.0 + '@oxlint/binding-freebsd-x64': 1.60.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.60.0 + '@oxlint/binding-linux-arm-musleabihf': 1.60.0 + '@oxlint/binding-linux-arm64-gnu': 1.60.0 + '@oxlint/binding-linux-arm64-musl': 1.60.0 + '@oxlint/binding-linux-ppc64-gnu': 1.60.0 + '@oxlint/binding-linux-riscv64-gnu': 1.60.0 + '@oxlint/binding-linux-riscv64-musl': 1.60.0 + '@oxlint/binding-linux-s390x-gnu': 1.60.0 + '@oxlint/binding-linux-x64-gnu': 1.60.0 + '@oxlint/binding-linux-x64-musl': 1.60.0 + '@oxlint/binding-openharmony-arm64': 1.60.0 + '@oxlint/binding-win32-arm64-msvc': 1.60.0 + '@oxlint/binding-win32-ia32-msvc': 1.60.0 + '@oxlint/binding-win32-x64-msvc': 1.60.0 + oxlint-tsgolint: 0.21.1 p-limit@3.1.0: dependencies: @@ -5753,7 +5758,7 @@ snapshots: path-scurry@2.0.2: dependencies: - lru-cache: 11.3.3 + lru-cache: 11.3.5 minipass: 7.1.3 pathe@2.0.3: {} @@ -5772,7 +5777,7 @@ snapshots: prelude-ls@1.2.1: {} - prettier@3.8.2: {} + prettier@3.8.3: {} pretty-format@27.5.1: dependencies: @@ -5805,14 +5810,6 @@ snapshots: dependencies: picomatch: 2.3.2 - recast@0.23.11: - dependencies: - ast-types: 0.16.1 - esprima: 4.0.1 - source-map: 0.6.1 - tiny-invariant: 1.3.3 - tslib: 2.8.1 - redent@3.0.0: dependencies: indent-string: 4.0.0 @@ -5879,10 +5876,6 @@ snapshots: source-map-js@1.2.1: {} - source-map@0.6.1: {} - - source-map@0.7.6: {} - stackback@0.0.2: {} std-env@4.0.0: {} @@ -5911,16 +5904,12 @@ snapshots: symbol-tree@3.2.4: optional: true - tabbable@6.4.0: {} - tailwind-merge@3.5.0: {} tailwindcss@4.2.2: {} tapable@2.3.2: {} - tiny-invariant@1.3.3: {} - tinybench@2.9.0: {} tinyexec@1.1.1: {} @@ -5956,16 +5945,16 @@ snapshots: punycode: 2.3.1 optional: true - ts-api-utils@2.5.0(typescript@6.0.2): + ts-api-utils@2.5.0(typescript@6.0.3): dependencies: - typescript: 6.0.2 + typescript: 6.0.3 tslib@2.8.1: {} tsx@4.21.0: dependencies: esbuild: 0.27.7 - get-tsconfig: 4.13.7 + get-tsconfig: 4.14.0 optionalDependencies: fsevents: 2.3.3 @@ -5973,9 +5962,9 @@ snapshots: dependencies: prelude-ls: 1.2.1 - typescript@6.0.2: {} + typescript@6.0.3: {} - ultracite@7.5.6(oxlint@1.59.0(oxlint-tsgolint@0.20.0)): + ultracite@7.6.0(oxfmt@0.45.0)(oxlint@1.60.0(oxlint-tsgolint@0.21.1)): dependencies: '@clack/prompts': 1.2.0 commander: 14.0.3 @@ -5984,12 +5973,15 @@ snapshots: glob: 13.0.6 jsonc-parser: 3.3.1 nypm: 0.6.5 + yaml: 2.8.3 + zod: 4.3.6 optionalDependencies: - oxlint: 1.59.0(oxlint-tsgolint@0.20.0) + oxfmt: 0.45.0 + oxlint: 1.60.0(oxlint-tsgolint@0.21.1) undici-types@7.16.0: {} - undici@7.24.7: + undici@7.25.0: optional: true unplugin@2.3.11: @@ -6015,7 +6007,7 @@ snapshots: util-deprecate@1.0.2: {} - vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0): + vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3): dependencies: lightningcss: 1.32.0 picomatch: 4.0.4 @@ -6028,11 +6020,12 @@ snapshots: fsevents: 2.3.3 jiti: 2.6.1 tsx: 4.21.0 + yaml: 2.8.3 - vitest@4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.8.9)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)): + vitest@4.1.4(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(happy-dom@20.9.0)(jsdom@28.1.0)(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)): dependencies: '@vitest/expect': 4.1.4 - '@vitest/mocker': 4.1.4(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)) + '@vitest/mocker': 4.1.4(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3)) '@vitest/pretty-format': 4.1.4 '@vitest/runner': 4.1.4 '@vitest/snapshot': 4.1.4 @@ -6049,12 +6042,12 @@ snapshots: tinyexec: 1.1.1 tinyglobby: 0.2.16 tinyrainbow: 3.1.0 - vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0) + vite: 8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.3) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 24.12.2 '@vitest/coverage-v8': 4.1.4(vitest@4.1.4) - happy-dom: 20.8.9 + happy-dom: 20.9.0 jsdom: 28.1.0 transitivePeerDependencies: - msw @@ -6104,6 +6097,8 @@ snapshots: yallist@3.1.1: {} + yaml@2.8.3: {} + yocto-queue@0.1.0: {} zod@3.25.76: {} From 869184efb515dc0fef49afd47ab45c9093823090 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:01:49 +1000 Subject: [PATCH 06/10] chore: bump the go-dependencies group with 2 updates (#153) --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 9653991dc..6922bf45c 100644 --- a/go.mod +++ b/go.mod @@ -10,8 +10,8 @@ require ( github.com/klauspost/cpuid/v2 v2.3.0 github.com/mulgadc/predastore v1.1.6 github.com/mulgadc/viperblock v1.1.6 - github.com/nats-io/nats-server/v2 v2.12.6 - github.com/nats-io/nats.go v1.50.0 + github.com/nats-io/nats-server/v2 v2.12.7 + github.com/nats-io/nats.go v1.51.0 github.com/ovn-kubernetes/libovsdb v0.8.1 github.com/pelletier/go-toml/v2 v2.3.0 github.com/pterm/pterm v0.12.83 diff --git a/go.sum b/go.sum index 56c0aa494..6902ec381 100644 --- a/go.sum +++ b/go.sum @@ -265,10 +265,10 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/nats-io/jwt/v2 v2.8.1 h1:V0xpGuD/N8Mi+fQNDynXohVvp7ZztevW5io8CUWlPmU= github.com/nats-io/jwt/v2 v2.8.1/go.mod h1:nWnOEEiVMiKHQpnAy4eXlizVEtSfzacZ1Q43LIRavZg= -github.com/nats-io/nats-server/v2 v2.12.6 h1:Egbx9Vl7Ch8wTtpXPGqbehkZ+IncKqShUxvrt1+Enc8= -github.com/nats-io/nats-server/v2 v2.12.6/go.mod h1:4HPlrvtmSO3yd7KcElDNMx9kv5EBJBnJJzQPptXlheo= -github.com/nats-io/nats.go v1.50.0 h1:5zAeQrTvyrKrWLJ0fu02W3br8ym57qf7csDzgLOpcds= -github.com/nats-io/nats.go v1.50.0/go.mod h1:26HypzazeOkyO3/mqd1zZd53STJN0EjCYF9Uy2ZOBno= +github.com/nats-io/nats-server/v2 v2.12.7 h1:prQ9cPiWHcnwfT81Wi5lU9LL8TLY+7pxDru6fQYLCQQ= +github.com/nats-io/nats-server/v2 v2.12.7/go.mod h1:dOnmkprKMluTmTF7/QHZioxlau3sKHUM/LBPy9AiBPw= +github.com/nats-io/nats.go v1.51.0 h1:ByW84XTz6W03GSSsygsZcA+xgKK8vPGaa/FCAAEHnAI= +github.com/nats-io/nats.go v1.51.0/go.mod h1:26HypzazeOkyO3/mqd1zZd53STJN0EjCYF9Uy2ZOBno= github.com/nats-io/nkeys v0.4.15 h1:JACV5jRVO9V856KOapQ7x+EY8Jo3qw1vJt/9Jpwzkk4= github.com/nats-io/nkeys v0.4.15/go.mod h1:CpMchTXC9fxA5zrMo4KpySxNjiDVvr8ANOSZdiNfUrs= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= From 1bad55ce5486396bdd6793cf44ad95d05e7714fe Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:20:51 +1000 Subject: [PATCH 07/10] chore: update frontend build --- .../spinifexui/frontend/dist/assets/DialogTitle.js | 2 +- .../spinifexui/frontend/dist/assets/Match.js | 2 +- .../spinifexui/frontend/dist/assets/SignatureV4.js | 4 ++-- .../services/spinifexui/frontend/dist/assets/_.js | 2 +- .../spinifexui/frontend/dist/assets/_bucket.js | 2 +- .../services/spinifexui/frontend/dist/assets/_id.js | 2 +- .../spinifexui/frontend/dist/assets/_id10.js | 2 +- .../spinifexui/frontend/dist/assets/_id11.js | 2 +- .../spinifexui/frontend/dist/assets/_id2.js | 2 +- .../spinifexui/frontend/dist/assets/_id3.js | 2 +- .../spinifexui/frontend/dist/assets/_id5.js | 2 +- .../spinifexui/frontend/dist/assets/_id6.js | 2 +- .../spinifexui/frontend/dist/assets/_id7.js | 2 +- .../spinifexui/frontend/dist/assets/_id8.js | 2 +- .../spinifexui/frontend/dist/assets/_id9.js | 2 +- .../spinifexui/frontend/dist/assets/_policyArn.js | 2 +- .../spinifexui/frontend/dist/assets/_userName.js | 2 +- .../frontend/dist/assets/addEventListener.js | 1 + .../spinifexui/frontend/dist/assets/alert-dialog.js | 2 +- .../spinifexui/frontend/dist/assets/awsClient.js | 6 +++--- .../spinifexui/frontend/dist/assets/button.js | 2 +- .../spinifexui/frontend/dist/assets/collapsible.js | 2 +- .../frontend/dist/assets/create-snapshot.js | 2 +- .../dist/assets/createBaseUIEventDetails.js | 2 +- .../spinifexui/frontend/dist/assets/dist.js | 2 +- .../dist/assets/getDisabledMountTransitionStyles.js | 1 - .../spinifexui/frontend/dist/assets/index.js | 12 ++++++------ .../spinifexui/frontend/dist/assets/input.js | 2 +- .../frontend/dist/assets/lazyRouteComponent.js | 2 +- .../spinifexui/frontend/dist/assets/select.js | 2 +- .../spinifexui/frontend/dist/assets/separator.js | 2 +- .../spinifexui/frontend/dist/assets/tabs.js | 2 +- .../frontend/dist/assets/useOpenInteractionType.js | 13 +------------ .../frontend/dist/assets/usePositioner.js | 1 + .../frontend/dist/assets/useTransitionStatus.js | 1 - .../services/spinifexui/frontend/dist/index.html | 4 ++-- 36 files changed, 43 insertions(+), 54 deletions(-) create mode 100644 spinifex/services/spinifexui/frontend/dist/assets/addEventListener.js delete mode 100644 spinifex/services/spinifexui/frontend/dist/assets/getDisabledMountTransitionStyles.js create mode 100644 spinifex/services/spinifexui/frontend/dist/assets/usePositioner.js delete mode 100644 spinifex/services/spinifexui/frontend/dist/assets/useTransitionStatus.js diff --git a/spinifex/services/spinifexui/frontend/dist/assets/DialogTitle.js b/spinifex/services/spinifexui/frontend/dist/assets/DialogTitle.js index ff0a7d832..883409bc4 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/DialogTitle.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/DialogTitle.js @@ -1 +1 @@ -import{a as e,n as t,r as n}from"./compiler-runtime.js";import{l as r,m as i,n as a,p as o}from"./dist.js";import{c as s,o as c,r as l,y as u}from"./button.js";import{H as d,V as f,_ as p,r as m,s as h,t as g,v as _,y as v}from"./createBaseUIEventDetails.js";import{a as y,n as b,t as x}from"./useTransitionStatus.js";import{A as S,C,M as w,P as T,S as E,U as D,V as O,a as k,f as A,i as j,j as M,k as N,r as P,t as F,w as I,x as L}from"./useOpenInteractionType.js";var R=e(n()),z=R.createContext(void 0);function B(e){let t=R.useContext(z);if(e===!1&&t===void 0)throw Error(i(27));return t}var ee={...D,...y},te=R.forwardRef(function(e,t){let{render:n,className:r,forceRender:i=!1,...o}=e,{store:s}=B(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return a(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:ee,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:i||!l})}),ne=R.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:o=!0,...s}=e,{store:c}=B(),u=c.useState(`open`);function d(e){u&&c.setOpen(!1,g(m,e.nativeEvent))}let{getButtonProps:f,buttonRef:p}=l({disabled:i,native:o});return a(`button`,e,{state:{disabled:i},ref:[t,p],props:[{onClick:d},s,f]})}),V=R.forwardRef(function(e,t){let{render:n,className:r,id:i,...o}=e,{store:s}=B(),c=f(i);return s.useSyncedValueWithCleanup(`descriptionElementId`,c),a(`p`,e,{ref:t,props:[{id:c},o]})});function H(e,t){let n=R.useRef(null),r=R.useRef(null);return R.useCallback(i=>{if(e!==void 0){if(n.current!==null){let e=n.current,i=r.current,a=t.context.triggerElements.getById(e);i&&a===i&&t.context.triggerElements.delete(e),n.current=null,r.current=null}i!==null&&(n.current=e,r.current=i,t.context.triggerElements.add(e,i))}},[t,e])}function U(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=H(e,n),o=s(t=>{if(a(t),!t||!n.select(`open`))return;let i=n.select(`activeTriggerId`);if(i===e){n.update({activeTriggerElement:t,...r});return}i??n.update({activeTriggerId:e,activeTriggerElement:t,...r})});return c(()=>{i&&n.update({activeTriggerElement:t.current,...r})},[i,n,t,...Object.values(r)]),{registerTrigger:o,isMountedByThisTrigger:i}}function W(e){let t=e.useState(`open`);c(()=>{if(t&&!e.select(`activeTriggerId`)&&e.context.triggerElements.size===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[n,r]=t.value;e.update({activeTriggerId:n,activeTriggerElement:r})}}},[t,e])}function G(e,t,n){let{mounted:r,setMounted:i,transitionStatus:a}=x(e);t.useSyncedValues({mounted:r,transitionStatus:a});let o=s(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return b({enabled:!t.useState(`preventUnmountingOnClose`),open:e,ref:t.context.popupRef,onComplete(){e||o()}}),{forceUnmount:o,transitionStatus:a}}function K(){return new C({open:!1,floatingElement:null,referenceElement:null,triggerElements:new E,floatingId:``,nested:!1,noEmit:!1,onOpenChange:void 0})}function q(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:`idle`,floatingRootContext:K(),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:r,inactiveTriggerProps:r,popupProps:r}}var J=N(e=>e.triggerIdProp??e.activeTriggerId),Y={open:N(e=>e.openProp??e.open),mounted:N(e=>e.mounted),transitionStatus:N(e=>e.transitionStatus),floatingRootContext:N(e=>e.floatingRootContext),preventUnmountingOnClose:N(e=>e.preventUnmountingOnClose),payload:N(e=>e.payload),activeTriggerId:J,activeTriggerElement:N(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:N((e,t)=>t!==void 0&&J(e)===t),isOpenedByTrigger:N((e,t)=>t!==void 0&&J(e)===t&&e.open),isMountedByTrigger:N((e,t)=>t!==void 0&&J(e)===t&&e.mounted),triggerProps:N((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:N(e=>e.popupProps),popupElement:N(e=>e.popupElement),positionerElement:N(e=>e.positionerElement)};function X(e){let{popupStore:t,noEmit:n=!1,treatPopupAsFloatingElement:r=!1,onOpenChange:i}=e,a=d(),s=w()!=null,l=t.useState(`open`),f=t.useState(`activeTriggerElement`),p=t.useState(r?`popupElement`:`positionerElement`),m=t.context.triggerElements,h=o(()=>new C({open:l,referenceElement:f,floatingElement:p,triggerElements:m,onOpenChange:i,floatingId:a,nested:s,noEmit:n})).current;return c(()=>{let e={open:l,floatingId:a,referenceElement:f,floatingElement:p};u(f)&&(e.domReferenceElement=f),h.state.positionReference===h.state.referenceElement&&(e.positionReference=f),h.update(e)},[l,a,f,p,h]),h.context.onOpenChange=i,h.context.nested=s,h.context.noEmit=n,h}var re=new Map([[`select`,`listbox`],[`combobox`,`listbox`],[`label`,!1]]);function ie(e,t={}){let n=`rootStore`in e?e.rootStore:e,i=n.useState(`open`),a=n.useState(`floatingId`),o=n.useState(`domReferenceElement`),s=n.useState(`floatingElement`),{role:c=`dialog`}=t,l=d(),u=o?.id||l,f=R.useMemo(()=>_(s)?.id||a,[s,a]),p=re.get(c)??c,m=w()!=null,h=R.useMemo(()=>p===`tooltip`||c===`label`?r:{"aria-haspopup":p===`alertdialog`?`dialog`:p,"aria-expanded":`false`,...p===`listbox`&&{role:`combobox`},...p===`menu`&&m&&{role:`menuitem`},...c===`select`&&{"aria-autocomplete":`none`},...c===`combobox`&&{"aria-autocomplete":`list`}},[p,m,c]),g=R.useMemo(()=>p===`tooltip`||c===`label`?{[`aria-${c===`label`?`labelledby`:`describedby`}`]:i?f:void 0}:{...h,"aria-expanded":i?`true`:`false`,"aria-controls":i?f:void 0,...p===`menu`&&{id:u}},[p,f,i,u,c,h]),v=R.useMemo(()=>{let e={id:f,...p&&{role:p}};return p===`tooltip`||c===`label`?e:{...e,...p===`menu`&&{"aria-labelledby":u}}},[p,f,u,c]),y=R.useCallback(({active:e,selected:t})=>{let n={role:`option`,...e&&{id:`${f}-fui-option`}};switch(c){case`select`:case`combobox`:return{...n,"aria-selected":t};default:}return{}},[f,c]);return R.useMemo(()=>({reference:g,floating:v,item:y,trigger:h}),[g,v,h,y])}var ae=function(e){return e.nestedDialogs=`--nested-dialogs`,e}({}),oe=function(e){return e[e.open=O.open]=`open`,e[e.closed=O.closed]=`closed`,e[e.startingStyle=O.startingStyle]=`startingStyle`,e[e.endingStyle=O.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),Z=R.createContext(void 0);function se(){let e=R.useContext(Z);if(e===void 0)throw Error(i(26));return e}var Q=t(),ce={...D,...y,nestedDialogOpen(e){return e?{[oe.nestedDialogOpen]:``}:null}},le=R.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:i,render:o,...s}=e,{store:c}=B(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),x=c.useState(`transitionStatus`),S=c.useState(`role`);se(),b({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});function C(e){return e===`touch`?c.context.popupRef.current:!0}let w=i===void 0?C:i,T=a(`div`,e,{state:{open:_,nested:h,transitionStatus:x,nestedDialogOpen:g>0},props:[f,{"aria-labelledby":y??void 0,"aria-describedby":l??void 0,role:S,tabIndex:-1,hidden:!m,onKeyDown(e){A.has(e.key)&&e.stopPropagation()},style:{[ae.nestedDialogs]:g}},s],ref:[t,c.context.popupRef,c.useStateSetter(`popupElement`)],stateAttributesMapping:ce});return(0,Q.jsx)(M,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:w,returnFocus:r,modal:p!==!1,restoreFocus:`popup`,children:T})}),$=R.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=B(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,Q.jsx)(Z.Provider,{value:n,children:(0,Q.jsxs)(T,{ref:t,...r,children:[a&&o===!0&&(0,Q.jsx)(j,{ref:i.context.internalBackdropRef,inert:k(!s)}),e.children]})}):null});function ue(e){let{store:t,parentContext:n,actionsRef:r}=e,i=t.useState(`open`),a=t.useState(`disablePointerDismissal`),o=t.useState(`modal`),c=t.useState(`popupElement`),{openMethod:l,triggerProps:u}=F(i);W(t);let{forceUnmount:d}=G(i,t),f=s(e=>{let n=g(e);return n.preventUnmountOnClose=()=>{t.set(`preventUnmountingOnClose`,!0)},n}),m=R.useCallback(()=>{t.setOpen(!1,f(h))},[t,f]);R.useImperativeHandle(r,()=>({unmount:d,close:m}),[d,m]);let _=X({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[y,b]=R.useState(0),x=y===0,C=ie(_),w=S(_,{outsidePressEvent(){return t.context.internalBackdropRef.current||t.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(e){if(!t.context.outsidePressEnabledRef.current||`button`in e&&e.button!==0||`touches`in e&&e.touches.length!==1)return!1;let n=v(e);if(x&&!a){let e=n;return o&&(t.context.internalBackdropRef.current||t.context.backdropRef.current)?t.context.internalBackdropRef.current===e||t.context.backdropRef.current===e||p(e,c)&&!e?.hasAttribute(`data-base-ui-portal`):!0}return!1},escapeKey:x});P(i&&o===!0,c);let{getReferenceProps:T,getFloatingProps:E,getTriggerProps:D}=L([C,w]);t.useContextCallback(`onNestedDialogOpen`,e=>{b(e+1)}),t.useContextCallback(`onNestedDialogClose`,()=>{b(0)}),R.useEffect(()=>(n?.onNestedDialogOpen&&i&&n.onNestedDialogOpen(y),n?.onNestedDialogClose&&!i&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&i&&n.onNestedDialogClose()}),[i,n,y]);let O=R.useMemo(()=>T(u),[T,u]),k=R.useMemo(()=>D(u),[D,u]),A=R.useMemo(()=>E(),[E]);t.useSyncedValues({openMethod:l,activeTriggerProps:O,inactiveTriggerProps:k,popupProps:A,floatingRootContext:_,nestedOpenDialogCount:y})}var de={...Y,modal:N(e=>e.modal),nested:N(e=>e.nested),nestedOpenDialogCount:N(e=>e.nestedOpenDialogCount),disablePointerDismissal:N(e=>e.disablePointerDismissal),openMethod:N(e=>e.openMethod),descriptionElementId:N(e=>e.descriptionElementId),titleElementId:N(e=>e.titleElementId),viewportElement:N(e=>e.viewportElement),role:N(e=>e.role)},fe=class extends I{constructor(e){super(pe(e),{popupRef:R.createRef(),backdropRef:R.createRef(),internalBackdropRef:R.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new E,onOpenChange:void 0,onOpenChangeComplete:void 0},de)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;let n={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit(`openchange`,n);let r={open:e},i=t.trigger?.id??null;(i||e)&&(r.activeTriggerId=i,r.activeTriggerElement=t.trigger??null),this.update(r)}};function pe(e={}){return{...q(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:`dialog`,...e}}var me=R.forwardRef(function(e,t){let{render:n,className:r,id:i,...o}=e,{store:s}=B(),c=f(i);return s.useSyncedValueWithCleanup(`titleElementId`,c),a(`h2`,e,{ref:t,props:[{id:c},o]})});export{le as a,Y as c,U as d,V as f,B as g,z as h,$ as i,W as l,te as m,fe as n,X as o,ne as p,ue as r,q as s,me as t,G as u}; \ No newline at end of file +import{a as e,n as t,r as n}from"./compiler-runtime.js";import{l as r,m as i,n as a,p as o}from"./dist.js";import{c as s,o as c,r as l,y as u}from"./button.js";import{_ as d,b as f,r as p,s as m,t as h,v as g,x as _}from"./createBaseUIEventDetails.js";import{n as v,o as y,r as b}from"./addEventListener.js";import{A as x,At as S,C,F as w,G as T,M as E,N as D,S as O,T as k,U as A,a as j,i as M,j as N,o as P,p as F,r as I,t as ee,w as L}from"./useOpenInteractionType.js";var R=e(n()),z=R.createContext(void 0);function B(e){let t=R.useContext(z);if(e===!1&&t===void 0)throw Error(i(27));return t}var te={...T,...y},ne=R.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:o=!1,...s}=e,{store:c}=B(),l=c.useState(`open`),u=c.useState(`nested`),d=c.useState(`mounted`);return a(`div`,e,{state:{open:l,transitionStatus:c.useState(`transitionStatus`)},ref:[c.context.backdropRef,t],stateAttributesMapping:te,props:[{role:`presentation`,hidden:!d,style:{userSelect:`none`,WebkitUserSelect:`none`}},s],enabled:o||!u})}),re=R.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:o=!0,style:s,...c}=e,{store:u}=B(),d=u.useState(`open`);function f(e){d&&u.setOpen(!1,h(p,e.nativeEvent))}let{getButtonProps:m,buttonRef:g}=l({disabled:i,native:o});return a(`button`,e,{state:{disabled:i},ref:[t,g],props:[{onClick:f},c,m]})}),ie=R.forwardRef(function(e,t){let{render:n,className:r,style:i,id:o,...s}=e,{store:c}=B(),l=f(o);return c.useSyncedValueWithCleanup(`descriptionElementId`,l),a(`p`,e,{ref:t,props:[{id:l},s]})});function ae(e,t){let n=R.useRef(null),r=R.useRef(null);return R.useCallback(i=>{if(e!==void 0){if(n.current!==null){let e=n.current,i=r.current,a=t.context.triggerElements.getById(e);i&&a===i&&t.context.triggerElements.delete(e),n.current=null,r.current=null}i!==null&&(n.current=e,r.current=i,t.context.triggerElements.add(e,i))}},[t,e])}function oe(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=ae(e,n),o=s(t=>{if(a(t),!t||!n.select(`open`))return;let i=n.select(`activeTriggerId`);if(i===e){n.update({activeTriggerElement:t,...r});return}i??n.update({activeTriggerId:e,activeTriggerElement:t,...r})});return c(()=>{i&&n.update({activeTriggerElement:t.current,...r})},[i,n,t,...Object.values(r)]),{registerTrigger:o,isMountedByThisTrigger:i}}function V(e){let t=e.useState(`open`);c(()=>{if(t&&!e.select(`activeTriggerId`)&&e.context.triggerElements.size===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[n,r]=t.value;e.update({activeTriggerId:n,activeTriggerElement:r})}}},[t,e])}function H(e,t,n){let{mounted:r,setMounted:i,transitionStatus:a}=v(e);t.useSyncedValues({mounted:r,transitionStatus:a});let o=s(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return b({enabled:!t.useState(`preventUnmountingOnClose`),open:e,ref:t.context.popupRef,onComplete(){e||o()}}),{forceUnmount:o,transitionStatus:a}}function U(){return new L({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new C,floatingId:``,syncOnly:!1,nested:!1,onOpenChange:void 0})}function W(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:U(),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:r,inactiveTriggerProps:r,popupProps:r}}var G=x(e=>e.triggerIdProp??e.activeTriggerId),K={open:x(e=>e.openProp??e.open),mounted:x(e=>e.mounted),transitionStatus:x(e=>e.transitionStatus),floatingRootContext:x(e=>e.floatingRootContext),preventUnmountingOnClose:x(e=>e.preventUnmountingOnClose),payload:x(e=>e.payload),activeTriggerId:G,activeTriggerElement:x(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:x((e,t)=>t!==void 0&&G(e)===t),isOpenedByTrigger:x((e,t)=>t!==void 0&&G(e)===t&&e.open),isMountedByTrigger:x((e,t)=>t!==void 0&&G(e)===t&&e.mounted),triggerProps:x((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:x(e=>e.popupProps),popupElement:x(e=>e.popupElement),positionerElement:x(e=>e.positionerElement)};function q(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,onOpenChange:r}=e,i=_(),a=D()!=null,s=t.useState(`open`),l=t.useState(`activeTriggerElement`),d=t.useState(n?`popupElement`:`positionerElement`),f=t.context.triggerElements,p=o(()=>new L({open:s,transitionStatus:void 0,referenceElement:l,floatingElement:d,triggerElements:f,onOpenChange:r,floatingId:i,syncOnly:!0,nested:a})).current;return c(()=>{let e={open:s,floatingId:i,referenceElement:l,floatingElement:d};u(l)&&(e.domReferenceElement=l),p.state.positionReference===p.state.referenceElement&&(e.positionReference=l),p.update(e)},[s,i,l,d,p]),p.context.onOpenChange=r,p.context.nested=a,p}var se=new Map([[`select`,`listbox`],[`combobox`,`listbox`],[`label`,!1]]);function ce(e,t={}){let n=`rootStore`in e?e.rootStore:e,i=n.useState(`open`),a=n.useState(`floatingId`),o=n.useState(`domReferenceElement`),s=n.useState(`floatingElement`),{role:c=`dialog`}=t,l=_(),u=o?.id||l,d=R.useMemo(()=>S(s)?.id||a,[s,a]),f=se.get(c)??c,p=D()!=null,m=R.useMemo(()=>f===`tooltip`||c===`label`?r:{"aria-haspopup":f===`alertdialog`?`dialog`:f,"aria-expanded":`false`,...f===`listbox`&&{role:`combobox`},...f===`menu`&&p&&{role:`menuitem`},...c===`select`&&{"aria-autocomplete":`none`},...c===`combobox`&&{"aria-autocomplete":`list`}},[f,p,c]),h=R.useMemo(()=>f===`tooltip`||c===`label`?{[`aria-${c===`label`?`labelledby`:`describedby`}`]:i?d:void 0}:{...m,"aria-expanded":i?`true`:`false`,"aria-controls":i?d:void 0,...f===`menu`&&{id:u}},[f,d,i,u,c,m]),g=R.useMemo(()=>{let e={id:d,...f&&{role:f}};return f===`tooltip`||c===`label`?e:{...e,...f===`menu`&&{"aria-labelledby":u}}},[f,d,u,c]),v=R.useCallback(({active:e,selected:t})=>{let n={role:`option`,...e&&{id:`${d}-fui-option`}};switch(c){case`select`:case`combobox`:return{...n,"aria-selected":t};default:}return{}},[d,c]);return R.useMemo(()=>({reference:h,floating:g,item:v,trigger:m}),[h,g,m,v])}var le=function(e){return e.nestedDialogs=`--nested-dialogs`,e}({}),ue=function(e){return e[e.open=A.open]=`open`,e[e.closed=A.closed]=`closed`,e[e.startingStyle=A.startingStyle]=`startingStyle`,e[e.endingStyle=A.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),J=R.createContext(void 0);function de(){let e=R.useContext(J);if(e===void 0)throw Error(i(26));return e}var Y=t(),fe={...T,...y,nestedDialogOpen(e){return e?{[ue.nestedDialogOpen]:``}:null}},pe=R.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:i,render:o,style:s,...c}=e,{store:l}=B(),u=l.useState(`descriptionElementId`),d=l.useState(`disablePointerDismissal`),f=l.useState(`floatingRootContext`),p=l.useState(`popupProps`),m=l.useState(`modal`),h=l.useState(`mounted`),g=l.useState(`nested`),_=l.useState(`nestedOpenDialogCount`),v=l.useState(`open`),y=l.useState(`openMethod`),x=l.useState(`titleElementId`),S=l.useState(`transitionStatus`),C=l.useState(`role`);de(),b({open:v,ref:l.context.popupRef,onComplete(){v&&l.context.onOpenChangeComplete?.(!0)}});function w(e){return e===`touch`?l.context.popupRef.current:!0}let T=i===void 0?w:i,D=a(`div`,e,{state:{open:v,nested:g,transitionStatus:S,nestedDialogOpen:_>0},props:[p,{"aria-labelledby":x??void 0,"aria-describedby":u??void 0,role:C,tabIndex:-1,hidden:!h,onKeyDown(e){F.has(e.key)&&e.stopPropagation()},style:{[le.nestedDialogs]:_}},c],ref:[t,l.context.popupRef,l.useStateSetter(`popupElement`)],stateAttributesMapping:fe});return(0,Y.jsx)(E,{context:f,openInteractionType:y,disabled:!h,closeOnFocusOut:!d,initialFocus:T,returnFocus:r,modal:m!==!1,restoreFocus:`popup`,children:D})}),me=R.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=B(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,Y.jsx)(J.Provider,{value:n,children:(0,Y.jsxs)(w,{ref:t,...r,children:[a&&o===!0&&(0,Y.jsx)(j,{ref:i.context.internalBackdropRef,inert:P(!s)}),e.children]})}):null});function X(e){let{store:t,parentContext:n,actionsRef:r,isDrawer:i}=e,a=t.useState(`open`),o=t.useState(`disablePointerDismissal`),c=t.useState(`modal`),l=t.useState(`popupElement`),{openMethod:u,triggerProps:f}=ee(a);V(t);let{forceUnmount:p}=H(a,t),_=s(e=>{let n=h(e);return n.preventUnmountOnClose=()=>{t.set(`preventUnmountingOnClose`,!0)},n}),v=R.useCallback(()=>{t.setOpen(!1,_(m))},[t,_]);R.useImperativeHandle(r,()=>({unmount:p,close:v}),[p,v]);let y=q({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0}),[b,x]=R.useState(0),[S,C]=R.useState(0),w=b===0,T=ce(y),E=N(y,{outsidePressEvent(){return t.context.internalBackdropRef.current||t.context.backdropRef.current?`intentional`:{mouse:c===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(e){if(!t.context.outsidePressEnabledRef.current||`button`in e&&e.button!==0||`touches`in e&&e.touches.length!==1)return!1;let n=g(e);if(w&&!o){let e=n;return c&&(t.context.internalBackdropRef.current||t.context.backdropRef.current)?t.context.internalBackdropRef.current===e||t.context.backdropRef.current===e||d(e,l)&&!e?.hasAttribute(`data-base-ui-portal`):!0}return!1},escapeKey:w});I(a&&c===!0,l);let{getReferenceProps:D,getFloatingProps:k,getTriggerProps:A}=O([T,E]);t.useContextCallback(`onNestedDialogOpen`,(e,t)=>{x(e),C(t)}),t.useContextCallback(`onNestedDialogClose`,()=>{x(0),C(0)}),R.useEffect(()=>(n?.onNestedDialogOpen&&a&&n.onNestedDialogOpen(b+1,S+ +!!i),n?.onNestedDialogClose&&!a&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&a&&n.onNestedDialogClose()}),[i,a,b,S,n]);let j=R.useMemo(()=>D(f),[D,f]),M=R.useMemo(()=>A(f),[A,f]),P=R.useMemo(()=>k(),[k]);t.useSyncedValues({openMethod:u,activeTriggerProps:j,inactiveTriggerProps:M,popupProps:P,floatingRootContext:y,nestedOpenDialogCount:b,nestedOpenDrawerCount:S})}var he={...K,modal:x(e=>e.modal),nested:x(e=>e.nested),nestedOpenDialogCount:x(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:x(e=>e.nestedOpenDrawerCount),disablePointerDismissal:x(e=>e.disablePointerDismissal),openMethod:x(e=>e.openMethod),descriptionElementId:x(e=>e.descriptionElementId),titleElementId:x(e=>e.titleElementId),viewportElement:x(e=>e.viewportElement),role:x(e=>e.role)},Z=class e extends k{constructor(e){super(ge(e),{popupRef:R.createRef(),backdropRef:R.createRef(),internalBackdropRef:R.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new C,onOpenChange:void 0,onOpenChangeComplete:void 0},he)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let n={open:e},r=t.trigger?.id??null;(r||e)&&(n.activeTriggerId=r,n.activeTriggerElement=t.trigger??null),this.update(n)};static useStore(t,n){let r=o(()=>new e(n)).current;return t??r}};function ge(e={}){return{...W(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}var Q=R.createContext(!1);function $(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,disablePointerDismissal:o=!1,modal:s=!0,actionsRef:c,handle:l,triggerId:u,defaultTriggerId:d=null}=e,f=B(!0),p=R.useContext(Q),m=!!f,h=Z.useStore(l?.store,{open:r,openProp:n,activeTriggerId:d,triggerIdProp:u,modal:s,disablePointerDismissal:o,nested:m});M(()=>{n===void 0&&h.state.open===!1&&r===!0&&h.update({open:!0,activeTriggerId:d})}),h.useControlledProp(`openProp`,n),h.useControlledProp(`triggerIdProp`,u),h.useSyncedValues({disablePointerDismissal:o,nested:m,modal:s}),h.useContextCallback(`onOpenChange`,i),h.useContextCallback(`onOpenChangeComplete`,a);let g=h.useState(`payload`);X({store:h,actionsRef:c,parentContext:f?.store.context,isDrawer:p,onOpenChange:i,triggerIdProp:u});let _=R.useMemo(()=>({store:h}),[h]);return(0,Y.jsx)(Q.Provider,{value:!1,children:(0,Y.jsx)(z.Provider,{value:_,children:typeof t==`function`?t({payload:g}):t})})}var _e=R.forwardRef(function(e,t){let{render:n,className:r,style:i,id:o,...s}=e,{store:c}=B(),l=f(o);return c.useSyncedValueWithCleanup(`titleElementId`,l),a(`h2`,e,{ref:t,props:[{id:l},s]})});export{z as _,X as a,q as c,V as d,H as f,ne as g,re as h,Z as i,W as l,ie as m,$ as n,me as o,oe as p,Q as r,pe as s,_e as t,K as u,B as v}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/Match.js b/spinifex/services/spinifexui/frontend/dist/assets/Match.js index a53ed95ae..1f15bcad9 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/Match.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/Match.js @@ -1 +1 @@ -import{a as e,n as t,r as n}from"./compiler-runtime.js";import{A as r,C as i,D as a,E as o,F as s,I as c,L as l,M as u,N as d,O as f,R as p,S as m,T as h,U as g,_,b as v,c as y,d as b,f as x,h as S,i as C,k as w,l as T,m as E,o as D,t as O,v as ee,w as k,x as te,y as ne,z as A}from"./useStore.js";import{i as j,n as re,r as ie}from"./matchContext.js";import{t as M}from"./redirect.js";function ae(){try{return typeof window<`u`&&typeof window.sessionStorage==`object`?window.sessionStorage:void 0}catch{return}}var oe=`tsr-scroll-restoration-v1_3`;function se(){let e=ae();if(!e)return null;let t={};try{let n=JSON.parse(e.getItem(`tsr-scroll-restoration-v1_3`)||`{}`);s(n)&&(t=n)}catch{}return{get state(){return t},set:e=>{t=u(e,t)||t},persist:()=>{try{e.setItem(oe,JSON.stringify(t))}catch{}}}}var ce=se(),le=e=>e.state.__TSR_key||e.href;function ue(e){let t=[],n;for(;n=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`),e=n;return`${t.reverse().join(` > `)}`.toLowerCase()}var N=!1,P=`window`,de=`data-scroll-restoration-id`;function fe(e,t){if(!ce)return;let n=ce;if((t??e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!n)return;e.isScrollRestorationSetup=!0,N=!1;let r=e.options.getScrollRestorationKey||le,i=new Map;window.history.scrollRestoration=`manual`;let a=t=>{if(!(N||!e.isScrollRestoring))if(t.target===document||t.target===window)i.set(P,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{let e=t.target;i.set(e,{scrollX:e.scrollLeft||0,scrollY:e.scrollTop||0})}},o=t=>{if(!e.isScrollRestoring||!t||i.size===0||!n)return;let r=n.state[t]||={};for(let[e,t]of i){let n;if(e===P)n=P;else if(e.isConnected){let t=e.getAttribute(de);n=t?`[${de}="${t}"]`:ue(e)}n&&(r[n]=t)}};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{o(e.fromLocation?r(e.fromLocation):void 0),i.clear()}),window.addEventListener(`pagehide`,()=>{o(r(e.stores.resolvedLocation.get()??e.stores.location.get())),n.persist()}),e.subscribe(`onRendered`,t=>{let a=r(t.toLocation),o=e.options.scrollRestorationBehavior,c=e.options.scrollToTopSelectors;if(i.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))){N=!0;try{let t=e.isScrollRestoring?n.state[a]:void 0,r=!1;if(t)for(let e in t){let n=t[e];if(!s(n))continue;let{scrollX:i,scrollY:a}=n;if(!(!Number.isFinite(i)||!Number.isFinite(a))){if(e===P)window.scrollTo({top:a,left:i,behavior:o}),r=!0;else if(e){let t;try{t=document.querySelector(e)}catch{continue}t&&(t.scrollLeft=i,t.scrollTop=a,r=!0)}}}if(!r){let t=e.history.location.hash.slice(1);if(t){let e=window.history.state?.__hashScrollIntoViewOptions??!0;if(e){let n=document.getElementById(t);n&&n.scrollIntoView(e)}}else{let e={top:0,left:0,behavior:o};if(window.scrollTo(e),c)for(let t of c){if(t===P)continue;let n=typeof t==`function`?t():document.querySelector(t);n&&n.scrollTo(e)}}}}finally{N=!1}e.isScrollRestoring&&n.set(e=>(e[a]||={},e))}})}function pe(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function me(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function he(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=me(r):Array.isArray(t)?t.push(me(r)):n[e]=[t,me(r)]}return n}var ge=ve(JSON.parse),_e=ye(JSON.stringify,JSON.parse);function ve(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=he(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function ye(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=pe(e,r);return t?`?${t}`:``}}function be(e){return{input:({url:t})=>{for(let n of e)t=F(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Se(e[n],t);return t}}}function xe(e){let t=S(e.basepath),n=`/${t}`,r=`${n}/`,i=e.caseSensitive?n:n.toLowerCase(),a=e.caseSensitive?r:r.toLowerCase();return{input:({url:t})=>{let r=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return r===i?t.pathname=`/`:r.startsWith(a)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=x([`/`,t,e.pathname]),e)}}function F(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Se(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ce(e){let t=e;return{get(){return t},set(e){t=u(e,t)}}}function we(e){return{get(){return e()}}}function Te(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:a,init:o}=t,s=new Map,c=new Map,l=new Map,u=n(e.status),d=n(e.loadedAt),f=n(e.isLoading),p=n(e.isTransitioning),m=n(e.location),h=n(e.resolvedLocation),g=n(e.statusCode),_=n(e.redirect),v=n([]),y=n([]),b=n([]),x=r(()=>I(s,v.get())),S=r(()=>I(c,y.get())),C=r(()=>I(l,b.get())),w=r(()=>v.get()[0]),T=r(()=>v.get().some(e=>s.get(e)?.get().status===`pending`)),E=r(()=>({locationHref:m.get().href,resolvedLocationHref:h.get()?.href,status:u.get()})),D=r(()=>({status:u.get(),loadedAt:d.get(),isLoading:f.get(),isTransitioning:p.get(),matches:x.get(),location:m.get(),resolvedLocation:h.get(),statusCode:g.get(),redirect:_.get()})),O=i(64);function ee(e){let t=O.get(e);return t||(t=r(()=>{let t=v.get();for(let n of t){let t=s.get(n);if(t&&t.routeId===e)return t.get()}}),O.set(e,t)),t}let k={status:u,loadedAt:d,isLoading:f,isTransitioning:p,location:m,resolvedLocation:h,statusCode:g,redirect:_,matchesId:v,pendingIds:y,cachedIds:b,matches:x,pendingMatches:S,cachedMatches:C,firstId:w,hasPending:T,matchRouteDeps:E,matchStores:s,pendingMatchStores:c,cachedMatchStores:l,__store:D,getRouteMatchStore:ee,setMatches:te,setPending:ne,setCached:A};te(e.matches),o?.(k);function te(e){L(e,s,v,n,a)}function ne(e){L(e,c,y,n,a)}function A(e){L(e,l,b,n,a)}return k}function I(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function L(e,t,n,r,i){let a=e.map(e=>e.id),s=new Set(a);i(()=>{for(let e of t.keys())s.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}o(n.get(),a)||n.set(a)})}var R=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Ee=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),z=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),B=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},De=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},V=(e,t,n)=>{if(!(!M(n)&&!j(n)))throw M(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:M(n)?`redirected`:r.status===`pending`?`success`:r.status,context:B(e,t.index),isFetching:!1,error:n})),j(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),M(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},Oe=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},ke=(e,t,n)=>{let r=B(e,n);e.updateMatch(t,e=>({...e,context:r}))},H=(e,t,n,r)=>{let{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;n.routerCode=r,e.firstBadMatchIndex??=t,V(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(t){n=t,V(e,e.router.getMatch(i),n)}e.updateMatch(i,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!M(n)&&!j(n)&&(e.serialError??=n)},Ae=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!z(e,t)&&(n.options.loader||n.options.beforeLoad||Be(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{R(e)},i);r._nonReactive.pendingTimeout=t}},je=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Ae(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&V(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},Me=(e,t,n,r)=>{let i=e.router.getMatch(t),o=i._nonReactive.loadPromise;i._nonReactive.loadPromise=a(()=>{o?.resolve(),o=void 0});let{paramsError:s,searchError:l}=i;s&&H(e,n,s,`PARSE_PARAMS`),l&&H(e,n,l,`VALIDATE_SEARCH`),Ae(e,t,r,i);let u=new AbortController,d=!1,f=()=>{d||(d=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:u})))},p=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{f(),p()});return}i._nonReactive.beforeLoadPromise=a();let m={...B(e,n,!1),...i.__routeContext},{search:h,params:g,cause:_}=i,v=z(e,t),y={search:h,abortController:u,params:g,preload:v,context:m,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:v?`preload`:_,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},b=r=>{if(r===void 0){e.router.batch(()=>{f(),p()});return}(M(r)||j(r))&&(f(),H(e,n,r,`BEFORE_LOAD`)),e.router.batch(()=>{f(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),p()})},x;try{if(x=r.options.beforeLoad(y),c(x))return f(),x.catch(t=>{H(e,n,t,`BEFORE_LOAD`)}).then(b)}catch(t){f(),H(e,n,t,`BEFORE_LOAD`)}b(x)},Ne=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>Me(e,n,t,i),s=()=>{if(Oe(e,n))return;let t=je(e,n,i);return c(t)?t.then(o):o()};return a()},Pe=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Fe=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=B(e,r),d=z(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Ie=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{U(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,l=s?.(Fe(e,t,n,r,i)),u=!!s&&c(l);if((u||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=u?await l:l;V(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let d=a._nonReactive.minPendingPromise;d&&await d,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:B(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:B(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,j(t)&&await i.options.notFoundComponent?.preload?.(),V(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,V(e,e.router.getMatch(n),t)}!M(o)&&!j(o)&&await U(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:B(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),V(e,r,t)}},Le=async(e,t,n)=>{async function r(r,a,o,l,u){let f=Date.now()-a.updatedAt,p=r?u.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:u.options.staleTime??e.router.options.defaultStaleTime??0,m=u.options.shouldReload,h=typeof m==`function`?m(Fe(e,t,i,n,u)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||o!==void 0&&o!==l.id);s=g===`success`&&(_||(h??v)),r&&u.options.preload===!1||(s&&!e.sync&&d?(c=!0,(async()=>{try{await Ie(e,t,i,n,u);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){M(t)&&await e.router.navigate(t.options)}})()):g!==`success`||s?await Ie(e,t,i,n,u):ke(e,i,n))}let{id:i,routeId:o}=e.matches[n],s=!1,c=!1,l=e.router.looseRoutesById[o],u=l.options.loader,d=((typeof u==`function`?void 0:u?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(Oe(e,i)){if(!e.router.getMatch(i))return e.matches[n];ke(e,i,n)}else{let t=e.router.getMatch(i),s=e.router.stores.matchesId.get()[n],c=(s&&e.router.stores.matchStores.get(s)||null)?.routeId===o?s:e.router.stores.matches.get().find(e=>e.routeId===o)?.id,u=z(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&d)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&V(e,n,a),n.status===`pending`&&await r(u,t,c,n,l)}else{let n=u&&!e.router.stores.matchStores.has(i),o=e.router.getMatch(i);o._nonReactive.loaderPromise=a(),n!==o.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(u,t,c,o,l)}}let f=e.router.getMatch(i);c||(f._nonReactive.loaderPromise?.resolve(),f._nonReactive.loadPromise?.resolve(),f._nonReactive.loadPromise=void 0),clearTimeout(f._nonReactive.pendingTimeout),f._nonReactive.pendingTimeout=void 0,c||(f._nonReactive.loaderPromise=void 0),f._nonReactive.dehydrated=void 0;let p=c?f.isFetching:!1;return p!==f.isFetching||f.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:p,invalid:!1})),e.router.getMatch(i)):f};async function Re(e){let t=e,n=[];Ee(t.router)&&R(t);let r;for(let e=0;e({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:u},isFetching:!1})),d=e,await U(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await U(e,[`errorComponent`])}for(let e=0;e<=d;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=Pe(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let f=R(t);if(c(f)&&await f,u)throw u;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function ze(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function U(e,t=W){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===W?(()=>{if(e._componentsPromise===void 0){let t=ze(e,W);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():ze(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Be(e){for(let t of W)if(e.options[t]?.preload)return!0;return!1}var W=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],G=`__TSR_index`,Ve=`popstate`,He=`beforeunload`;function Ue(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=K(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[G];i=We(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[G];i=We(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[G]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function We(e,t){t||={};let n=q();return{...t,key:n,__TSR_key:n,[G]:e}}function Ge(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>K(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=q();t.history.replaceState({[G]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=K(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[G]-l.state[G],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=Ue({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(He,S,{capture:!0}),t.removeEventListener(Ve,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(He,S,{capture:!0}),t.addEventListener(Ve,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function Ke(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function K(e,t){let n=Ke(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=q();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[G]:0,key:a,__TSR_key:a}}}function q(){return(Math.random()+1).toString(36).substring(7)}function J(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var qe=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,a=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=T(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Ge()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=i(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Te(Ye(this.latestLocation),e),fe(this)}let o=!1,s=this.options.basepath??`/`,c=this.options.rewrite;if(r||n!==s||a!==c){this.basepath=s;let e=[],t=S(s);t&&t!==`/`&&e.push(xe({basepath:s})),c&&e.push(c),this.rewrite=e.length===0?void 0:e.length===1?e[0]:be(e),this.history&&this.updateLatestLocation(),o=!0}o&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a)`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=m(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&te(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:f(e).path,external:!1,searchStr:o,search:p(t?.search,i),hash:f(r.slice(1)).path,state:A(t?.state,a)}}let o=new URL(i,this.origin),s=F(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:f(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:p(t?.search,c),hash:f(s.hash.slice(1)).path,state:A(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>E({base:e,to:y(t),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Xe({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,i=this.matchRoutesLightweight(n);t.from;let a=t.unsafeRelative===`path`?n.pathname:t.from??i.fullPath,o=this.resolvePathWithBase(a,`.`),s=i.search,c=Object.assign(Object.create(null),i.params),l=t.to?this.resolvePathWithBase(o,`${t.to}`):this.resolvePathWithBase(o,`.`),d=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?c:Object.assign(c,u(t.params,c)),m=this.getMatchedRoutes(l),h=m.matchedRoutes;if((!m.foundRoute||m.foundRoute.path!==`/`&&m.routeParams[`**`])&&this.options.notFoundRoute&&(h=[...h,this.options.notFoundRoute]),Object.keys(d).length>0)for(let e of h){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(d,t(d))}catch{}}let g=e.leaveParams?l:f(b({path:l,params:d,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,_=s;if(e._includeValidateSearch&&this.options.search?.strict){let e={};h.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,X(t.options.validateSearch,{...e,..._}))}catch{}}),_=e}_=Ze({search:_,dest:t,destRoutes:h,_includeValidateSearch:e._includeValidateSearch}),_=p(s,_);let v=this.options.stringifySearch(_),y=t.hash===!0?n.hash:t.hash?u(t.hash,n.hash):void 0,x=y?`#${y}`:``,S=t.state===!0?n.state:t.state?u(t.state,n.state):{};S=A(n.state,S);let C=`${g}${v}${x}`,w,T,E=!1;if(this.rewrite){let e=new URL(C,this.origin),t=Se(this.rewrite,e);w=e.href.replace(e.origin,``),t.origin===this.origin?T=t.pathname+t.search+t.hash:(T=t.href,E=!0)}else w=r(C),T=w;return{publicHref:T,href:w,pathname:g,search:_,searchStr:v,state:S,hash:y??``,external:E,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=ee(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,u(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=w(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},i=_(this.latestLocation.href)===_(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=a(()=>{o?.resolve(),o=void 0}),i&&r())this.load();else{let{maskedLocation:r,hashScrollIntoView:i,...a}=n;r&&(a={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload??!1)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=i??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,this.history[n.replace?`replace`:`push`](a.publicHref,a.state,{ignoreBlocker:t})}return this.resetNextScroll=n.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=K(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=F(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(d(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t,n,r,i=this.stores.resolvedLocation.get()??this.stores.location.get();for(r=new Promise(a=>{this.startTransition(async()=>{try{this.beforeLoad();let t=this.latestLocation,n=J(t,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...n}),this.emit({type:`onBeforeLoad`,...n}),await Re({router:this,sync:e?.sync,forceStaleReload:i.href===t.href,matches:this.stores.pendingMatches.get(),location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){M(e)?(t=e,this.navigate({...t.options,replace:!0,ignoreBlocker:!0})):j(e)&&(n=e);let r=t?t.status:n?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(r),this.stores.redirect.set(t)})}this.latestLoadPromise===r&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),a()})}),this.latestLoadPromise=r,await r;this.latestLoadPromise&&r!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.stores.matches.get().some(e=>e.status===`error`)&&(a=500),a!==void 0&&this.stores.statusCode.set(a)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(J(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&d(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=U,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await Re({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(M(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});j(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=v(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!w(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?w(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??_e,parseSearch:e.parseSearch??ge,protocolAllowlist:e.protocolAllowlist??h}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i,parsedParams:o}=n,{matchedRoutes:s}=n,c=!1;(r?r.path!==`/`&&i[`**`]:_(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:c=!0);let l=c?$e(this.options.notFoundMode,s):void 0,u=Array(s.length),d=new Map;for(let e of this.stores.matchStores.values())e.routeId&&d.set(e.routeId,e.get());for(let n=0;nthis.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:u,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return u}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n,parsedParams:r}=this.getMatchedRoutes(e.pathname),i=l(t),a={...e.search};for(let e of t)try{Object.assign(a,X(e.options.validateSearch,a))}catch{}let o=l(this.stores.matchesId.get()),s=o&&this.stores.matchStores.get(o)?.get(),c=s&&s.routeId===i.id&&s.pathname===e.pathname,u;if(c)u=s.params;else{let e=Object.assign(Object.create(null),n);for(let i of t)try{et(i,n,r??{},e)}catch{}u=e}return{matchedRoutes:t,fullPath:i.fullPath,search:a,params:u}}},Y=class extends Error{},Je=class extends Error{};function Ye(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function X(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Y(`Async validation not supported`);if(n.issues)throw new Y(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Xe({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=_(e),a,o,s=ne(i,n,!0);return s&&(a=s.route,Object.assign(r,s.rawParams),o=Object.assign(Object.create(null),s.parsedParams)),{matchedRoutes:s?.branch||[t.__root__],routeParams:r,foundRoute:a,parsedParams:o}}function Ze({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return Qe(n)(e,t,r??!1)}function Qe(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...X(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:u(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function $e(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return ie}function et(e,t,n,r){let i=e.options.params?.parse??e.options.parseParams;if(i)if(e.options.skipRouteOnParseError)for(let e in t)e in n&&(r[e]=n[e]);else{let e=i(r);Object.assign(r,e)}}var Z=e(n(),1),Q=t();function tt(e){let t=e.errorComponent??rt;return(0,Q.jsx)(nt,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?Z.createElement(t,{error:n,reset:r}):e.children})}var nt=class extends Z.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function rt({error:e}){let[t,n]=Z.useState(!1);return(0,Q.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,Q.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,Q.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,Q.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,Q.jsx)(`div`,{children:(0,Q.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,Q.jsx)(`code`,{children:e.message}):null})}):null]})}function it(e){let t=C(),n=`not-found-${O(t.stores.location,e=>e.pathname)}-${O(t.stores.status,e=>e)}`;return(0,Q.jsx)(tt,{getResetKey:()=>n,onCatch:(t,n)=>{if(j(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(j(t))return e.fallback?.(t);throw t},children:e.children})}function at(){return(0,Q.jsx)(`p`,{children:`Not Found`})}function $(e){return(0,Q.jsx)(Q.Fragment,{children:e.children})}function ot(e,t,n){return t.options.notFoundComponent?(0,Q.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,Q.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,Q.jsx)(at,{})}var st=Z.memo(function({matchId:e}){let t=C(),n=t.stores.matchStores.get(e);n||k();let r=O(t.stores.loadedAt,e=>e),i=O(n,e=>e);return(0,Q.jsx)(ct,{router:t,matchId:e,resetKey:r,matchState:Z.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function ct({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,Q.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?Z.Suspense:$,f=s?tt:$,p=l?it:$;return(0,Q.jsxs)(i.isRoot?i.options.shellComponent??$:$,{children:[(0,Q.jsx)(re.Provider,{value:t,children:(0,Q.jsx)(d,{fallback:o,children:(0,Q.jsx)(f,{getResetKey:()=>n,errorComponent:s||rt,onCatch:(e,t)=>{if(j(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,Q.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return Z.createElement(l,e)},children:u||r._displayPending?(0,Q.jsx)(D,{fallback:o,children:(0,Q.jsx)(ut,{matchId:t})}):(0,Q.jsx)(ut,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(lt,{resetKey:n}),(e.options.scrollRestoration,null)]}):null]})}function lt({resetKey:e}){let t=C(),n=Z.useRef(void 0);return g(()=>{let e=t.latestLocation.href;(n.current===void 0||n.current!==e)&&(t.emit({type:`onRendered`,...J(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=e)},[t.latestLocation.state.__TSR_key,e,t]),null}var ut=Z.memo(function({matchId:e}){let t=C(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||k();let i=O(r,e=>e),o=i.routeId,s=t.routesById[o],c=Z.useMemo(()=>{let e=(t.routesById[o].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:o,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[o,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),l=Z.useMemo(()=>{let e=s.options.component??t.options.defaultComponent;return e?(0,Q.jsx)(e,{},c):(0,Q.jsx)(dt,{})},[c,s.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);if(i.status===`pending`){let e=s.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=a();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return j(i.error)||k(),ot(t,s,i.error);if(i.status===`redirected`)throw M(i.error)||k(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return l}),dt=Z.memo(function(){let e=C(),t=Z.useContext(re),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=O(a,e=>[e?.routeId,e?.globalNotFound??!1]),i=O(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,Q.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||k(),ot(e,a,void 0);if(!i)return null;let s=(0,Q.jsx)(st,{matchId:i});return n===`__root__`?(0,Q.jsx)(Z.Suspense,{fallback:o,children:s}):s});export{rt as a,Ce as c,tt as i,we as l,dt as n,qe as o,$ as r,J as s,st as t}; \ No newline at end of file +import{a as e,n as t,r as n}from"./compiler-runtime.js";import{A as r,C as i,D as a,E as o,F as s,I as c,L as l,M as u,N as d,O as f,R as p,S as m,T as h,U as g,_,b as v,c as y,d as b,f as x,h as S,i as C,k as w,l as T,m as E,o as D,t as O,v as ee,w as k,x as te,y as ne,z as A}from"./useStore.js";import{i as j,n as re,r as ie}from"./matchContext.js";import{t as M}from"./redirect.js";function ae(){try{return typeof window<`u`&&typeof window.sessionStorage==`object`?window.sessionStorage:void 0}catch{return}}var oe=`tsr-scroll-restoration-v1_3`;function se(){let e=ae();if(!e)return null;let t={};try{let n=JSON.parse(e.getItem(`tsr-scroll-restoration-v1_3`)||`{}`);s(n)&&(t=n)}catch{}return{get state(){return t},set:e=>{t=u(e,t)||t},persist:()=>{try{e.setItem(oe,JSON.stringify(t))}catch{}}}}var ce=se(),le=e=>e.state.__TSR_key||e.href;function ue(e){let t=[],n;for(;n=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`),e=n;return`${t.reverse().join(` > `)}`.toLowerCase()}var N=!1,P=`window`,de=`data-scroll-restoration-id`;function fe(e,t){if(!ce)return;let n=ce;if((t??e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!n)return;e.isScrollRestorationSetup=!0,N=!1;let r=e.options.getScrollRestorationKey||le,i=new Map;window.history.scrollRestoration=`manual`;let a=t=>{if(!(N||!e.isScrollRestoring))if(t.target===document||t.target===window)i.set(P,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{let e=t.target;i.set(e,{scrollX:e.scrollLeft||0,scrollY:e.scrollTop||0})}},o=t=>{if(!e.isScrollRestoring||!t||i.size===0||!n)return;let r=n.state[t]||={};for(let[e,t]of i){let n;if(e===P)n=P;else if(e.isConnected){let t=e.getAttribute(de);n=t?`[${de}="${t}"]`:ue(e)}n&&(r[n]=t)}};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{o(e.fromLocation?r(e.fromLocation):void 0),i.clear()}),window.addEventListener(`pagehide`,()=>{o(r(e.stores.resolvedLocation.get()??e.stores.location.get())),n.persist()}),e.subscribe(`onRendered`,t=>{let a=r(t.toLocation),o=e.options.scrollRestorationBehavior,c=e.options.scrollToTopSelectors;if(i.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))){N=!0;try{let t=e.isScrollRestoring?n.state[a]:void 0,r=!1;if(t)for(let e in t){let n=t[e];if(!s(n))continue;let{scrollX:i,scrollY:a}=n;if(!(!Number.isFinite(i)||!Number.isFinite(a))){if(e===P)window.scrollTo({top:a,left:i,behavior:o}),r=!0;else if(e){let t;try{t=document.querySelector(e)}catch{continue}t&&(t.scrollLeft=i,t.scrollTop=a,r=!0)}}}if(!r){let t=e.history.location.hash.slice(1);if(t){let e=window.history.state?.__hashScrollIntoViewOptions??!0;if(e){let n=document.getElementById(t);n&&n.scrollIntoView(e)}}else{let e={top:0,left:0,behavior:o};if(window.scrollTo(e),c)for(let t of c){if(t===P)continue;let n=typeof t==`function`?t():document.querySelector(t);n&&n.scrollTo(e)}}}}finally{N=!1}e.isScrollRestoring&&n.set(e=>(e[a]||={},e))}})}function pe(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function me(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function he(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=me(r):Array.isArray(t)?t.push(me(r)):n[e]=[t,me(r)]}return n}var ge=ve(JSON.parse),_e=ye(JSON.stringify,JSON.parse);function ve(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=he(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function ye(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=pe(e,r);return t?`?${t}`:``}}function be(e){return{input:({url:t})=>{for(let n of e)t=F(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Se(e[n],t);return t}}}function xe(e){let t=S(e.basepath),n=`/${t}`,r=`${n}/`,i=e.caseSensitive?n:n.toLowerCase(),a=e.caseSensitive?r:r.toLowerCase();return{input:({url:t})=>{let r=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return r===i?t.pathname=`/`:r.startsWith(a)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=x([`/`,t,e.pathname]),e)}}function F(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Se(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ce(e){let t=e;return{get(){return t},set(e){t=u(e,t)}}}function we(e){return{get(){return e()}}}function Te(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:a,init:o}=t,s=new Map,c=new Map,l=new Map,u=n(e.status),d=n(e.loadedAt),f=n(e.isLoading),p=n(e.isTransitioning),m=n(e.location),h=n(e.resolvedLocation),g=n(e.statusCode),_=n(e.redirect),v=n([]),y=n([]),b=n([]),x=r(()=>I(s,v.get())),S=r(()=>I(c,y.get())),C=r(()=>I(l,b.get())),w=r(()=>v.get()[0]),T=r(()=>v.get().some(e=>s.get(e)?.get().status===`pending`)),E=r(()=>({locationHref:m.get().href,resolvedLocationHref:h.get()?.href,status:u.get()})),D=r(()=>({status:u.get(),loadedAt:d.get(),isLoading:f.get(),isTransitioning:p.get(),matches:x.get(),location:m.get(),resolvedLocation:h.get(),statusCode:g.get(),redirect:_.get()})),O=i(64);function ee(e){let t=O.get(e);return t||(t=r(()=>{let t=v.get();for(let n of t){let t=s.get(n);if(t&&t.routeId===e)return t.get()}}),O.set(e,t)),t}let k={status:u,loadedAt:d,isLoading:f,isTransitioning:p,location:m,resolvedLocation:h,statusCode:g,redirect:_,matchesId:v,pendingIds:y,cachedIds:b,matches:x,pendingMatches:S,cachedMatches:C,firstId:w,hasPending:T,matchRouteDeps:E,matchStores:s,pendingMatchStores:c,cachedMatchStores:l,__store:D,getRouteMatchStore:ee,setMatches:te,setPending:ne,setCached:A};te(e.matches),o?.(k);function te(e){L(e,s,v,n,a)}function ne(e){L(e,c,y,n,a)}function A(e){L(e,l,b,n,a)}return k}function I(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function L(e,t,n,r,i){let a=e.map(e=>e.id),s=new Set(a);i(()=>{for(let e of t.keys())s.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}o(n.get(),a)||n.set(a)})}var R=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Ee=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),z=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),B=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},De=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},V=(e,t,n)=>{if(!(!M(n)&&!j(n)))throw M(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:M(n)?`redirected`:j(n)?`notFound`:r.status===`pending`?`success`:r.status,context:B(e,t.index),isFetching:!1,error:n})),j(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),M(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},Oe=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},ke=(e,t,n)=>{let r=B(e,n);e.updateMatch(t,e=>({...e,context:r}))},H=(e,t,n,r)=>{let{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;n.routerCode=r,e.firstBadMatchIndex??=t,V(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(t){n=t,V(e,e.router.getMatch(i),n)}e.updateMatch(i,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!M(n)&&!j(n)&&(e.serialError??=n)},Ae=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!z(e,t)&&(n.options.loader||n.options.beforeLoad||Be(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{R(e)},i);r._nonReactive.pendingTimeout=t}},je=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Ae(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&V(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},Me=(e,t,n,r)=>{let i=e.router.getMatch(t),o=i._nonReactive.loadPromise;i._nonReactive.loadPromise=a(()=>{o?.resolve(),o=void 0});let{paramsError:s,searchError:l}=i;s&&H(e,n,s,`PARSE_PARAMS`),l&&H(e,n,l,`VALIDATE_SEARCH`),Ae(e,t,r,i);let u=new AbortController,d=!1,f=()=>{d||(d=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:u})))},p=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{f(),p()});return}i._nonReactive.beforeLoadPromise=a();let m={...B(e,n,!1),...i.__routeContext},{search:h,params:g,cause:_}=i,v=z(e,t),y={search:h,abortController:u,params:g,preload:v,context:m,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:v?`preload`:_,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},b=r=>{if(r===void 0){e.router.batch(()=>{f(),p()});return}(M(r)||j(r))&&(f(),H(e,n,r,`BEFORE_LOAD`)),e.router.batch(()=>{f(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),p()})},x;try{if(x=r.options.beforeLoad(y),c(x))return f(),x.catch(t=>{H(e,n,t,`BEFORE_LOAD`)}).then(b)}catch(t){f(),H(e,n,t,`BEFORE_LOAD`)}b(x)},Ne=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>Me(e,n,t,i),s=()=>{if(Oe(e,n))return;let t=je(e,n,i);return c(t)?t.then(o):o()};return a()},Pe=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Fe=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=B(e,r),d=z(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Ie=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{U(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,l=s?.(Fe(e,t,n,r,i)),u=!!s&&c(l);if((u||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=u?await l:l;V(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let d=a._nonReactive.minPendingPromise;d&&await d,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:B(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:B(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,j(t)&&await i.options.notFoundComponent?.preload?.(),V(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,V(e,e.router.getMatch(n),t)}!M(o)&&!j(o)&&await U(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:B(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),V(e,r,t)}},Le=async(e,t,n)=>{async function r(r,a,o,l,u){let f=Date.now()-a.updatedAt,p=r?u.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:u.options.staleTime??e.router.options.defaultStaleTime??0,m=u.options.shouldReload,h=typeof m==`function`?m(Fe(e,t,i,n,u)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||o!==void 0&&o!==l.id);s=g===`success`&&(_||(h??v)),r&&u.options.preload===!1||(s&&!e.sync&&d?(c=!0,(async()=>{try{await Ie(e,t,i,n,u);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){M(t)&&await e.router.navigate(t.options)}})()):g!==`success`||s?await Ie(e,t,i,n,u):ke(e,i,n))}let{id:i,routeId:o}=e.matches[n],s=!1,c=!1,l=e.router.looseRoutesById[o],u=l.options.loader,d=((typeof u==`function`?void 0:u?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(Oe(e,i)){if(!e.router.getMatch(i))return e.matches[n];ke(e,i,n)}else{let t=e.router.getMatch(i),s=e.router.stores.matchesId.get()[n],c=(s&&e.router.stores.matchStores.get(s)||null)?.routeId===o?s:e.router.stores.matches.get().find(e=>e.routeId===o)?.id,u=z(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&d)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&V(e,n,a),n.status===`pending`&&await r(u,t,c,n,l)}else{let n=u&&!e.router.stores.matchStores.has(i),o=e.router.getMatch(i);o._nonReactive.loaderPromise=a(),n!==o.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(u,t,c,o,l)}}let f=e.router.getMatch(i);c||(f._nonReactive.loaderPromise?.resolve(),f._nonReactive.loadPromise?.resolve(),f._nonReactive.loadPromise=void 0),clearTimeout(f._nonReactive.pendingTimeout),f._nonReactive.pendingTimeout=void 0,c||(f._nonReactive.loaderPromise=void 0),f._nonReactive.dehydrated=void 0;let p=c?f.isFetching:!1;return p!==f.isFetching||f.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:p,invalid:!1})),e.router.getMatch(i)):f};async function Re(e){let t=e,n=[];Ee(t.router)&&R(t);let r;for(let e=0;e({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:u},isFetching:!1})),d=e,await U(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await U(e,[`errorComponent`])}for(let e=0;e<=d;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=Pe(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let f=R(t);if(c(f)&&await f,u)throw u;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function ze(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function U(e,t=W){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===W?(()=>{if(e._componentsPromise===void 0){let t=ze(e,W);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():ze(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Be(e){for(let t of W)if(e.options[t]?.preload)return!0;return!1}var W=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],G=`__TSR_index`,Ve=`popstate`,He=`beforeunload`;function Ue(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=K(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[G];i=We(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[G];i=We(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[G]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function We(e,t){t||={};let n=q();return{...t,key:n,__TSR_key:n,[G]:e}}function Ge(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>K(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=q();t.history.replaceState({[G]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=K(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[G]-l.state[G],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=Ue({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(He,S,{capture:!0}),t.removeEventListener(Ve,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(He,S,{capture:!0}),t.addEventListener(Ve,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function Ke(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function K(e,t){let n=Ke(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=q();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[G]:0,key:a,__TSR_key:a}}}function q(){return(Math.random()+1).toString(36).substring(7)}function J(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var qe=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,a=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=T(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Ge()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=i(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Te(Ye(this.latestLocation),e),fe(this)}let o=!1,s=this.options.basepath??`/`,c=this.options.rewrite;if(r||n!==s||a!==c){this.basepath=s;let e=[],t=S(s);t&&t!==`/`&&e.push(xe({basepath:s})),c&&e.push(c),this.rewrite=e.length===0?void 0:e.length===1?e[0]:be(e),this.history&&this.updateLatestLocation(),o=!0}o&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a)`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=m(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&te(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:f(e).path,external:!1,searchStr:o,search:p(t?.search,i),hash:f(r.slice(1)).path,state:A(t?.state,a)}}let o=new URL(i,this.origin),s=F(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:f(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:p(t?.search,c),hash:f(s.hash.slice(1)).path,state:A(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>E({base:e,to:y(t),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Xe({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,i=this.matchRoutesLightweight(n);t.from;let a=t.unsafeRelative===`path`?n.pathname:t.from??i.fullPath,o=this.resolvePathWithBase(a,`.`),s=i.search,c=Object.assign(Object.create(null),i.params),l=t.to?this.resolvePathWithBase(o,`${t.to}`):this.resolvePathWithBase(o,`.`),d=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?c:Object.assign(c,u(t.params,c)),m=this.getMatchedRoutes(l),h=m.matchedRoutes;if((!m.foundRoute||m.foundRoute.path!==`/`&&m.routeParams[`**`])&&this.options.notFoundRoute&&(h=[...h,this.options.notFoundRoute]),Object.keys(d).length>0)for(let e of h){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(d,t(d))}catch{}}let g=e.leaveParams?l:f(b({path:l,params:d,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,_=s;if(e._includeValidateSearch&&this.options.search?.strict){let e={};h.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,X(t.options.validateSearch,{...e,..._}))}catch{}}),_=e}_=Ze({search:_,dest:t,destRoutes:h,_includeValidateSearch:e._includeValidateSearch}),_=p(s,_);let v=this.options.stringifySearch(_),y=t.hash===!0?n.hash:t.hash?u(t.hash,n.hash):void 0,x=y?`#${y}`:``,S=t.state===!0?n.state:t.state?u(t.state,n.state):{};S=A(n.state,S);let C=`${g}${v}${x}`,w,T,E=!1;if(this.rewrite){let e=new URL(C,this.origin),t=Se(this.rewrite,e);w=e.href.replace(e.origin,``),t.origin===this.origin?T=t.pathname+t.search+t.hash:(T=t.href,E=!0)}else w=r(C),T=w;return{publicHref:T,href:w,pathname:g,search:_,searchStr:v,state:S,hash:y??``,external:E,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=ee(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,u(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=w(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},i=_(this.latestLocation.href)===_(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=a(()=>{o?.resolve(),o=void 0}),i&&r())this.load();else{let{maskedLocation:r,hashScrollIntoView:i,...a}=n;r&&(a={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload??!1)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=i??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,this.history[n.replace?`replace`:`push`](a.publicHref,a.state,{ignoreBlocker:t})}return this.resetNextScroll=n.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=K(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=F(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(d(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t,n,r,i=this.stores.resolvedLocation.get()??this.stores.location.get();for(r=new Promise(a=>{this.startTransition(async()=>{try{this.beforeLoad();let t=this.latestLocation,n=J(t,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...n}),this.emit({type:`onBeforeLoad`,...n}),await Re({router:this,sync:e?.sync,forceStaleReload:i.href===t.href,matches:this.stores.pendingMatches.get(),location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){M(e)?(t=e,this.navigate({...t.options,replace:!0,ignoreBlocker:!0})):j(e)&&(n=e);let r=t?t.status:n?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(r),this.stores.redirect.set(t)})}this.latestLoadPromise===r&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),a()})}),this.latestLoadPromise=r,await r;this.latestLoadPromise&&r!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.stores.matches.get().some(e=>e.status===`error`)&&(a=500),a!==void 0&&this.stores.statusCode.set(a)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(J(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&d(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=U,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await Re({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(M(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});j(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=v(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!w(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?w(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??_e,parseSearch:e.parseSearch??ge,protocolAllowlist:e.protocolAllowlist??h}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i,parsedParams:o}=n,{matchedRoutes:s}=n,c=!1;(r?r.path!==`/`&&i[`**`]:_(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:c=!0);let l=c?$e(this.options.notFoundMode,s):void 0,u=Array(s.length),d=new Map;for(let e of this.stores.matchStores.values())e.routeId&&d.set(e.routeId,e.get());for(let n=0;nthis.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:u,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return u}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n,parsedParams:r}=this.getMatchedRoutes(e.pathname),i=l(t),a={...e.search};for(let e of t)try{Object.assign(a,X(e.options.validateSearch,a))}catch{}let o=l(this.stores.matchesId.get()),s=o&&this.stores.matchStores.get(o)?.get(),c=s&&s.routeId===i.id&&s.pathname===e.pathname,u;if(c)u=s.params;else{let e=Object.assign(Object.create(null),n);for(let i of t)try{et(i,n,r??{},e)}catch{}u=e}return{matchedRoutes:t,fullPath:i.fullPath,search:a,params:u}}},Y=class extends Error{},Je=class extends Error{};function Ye(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function X(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Y(`Async validation not supported`);if(n.issues)throw new Y(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Xe({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=_(e),a,o,s=ne(i,n,!0);return s&&(a=s.route,Object.assign(r,s.rawParams),o=Object.assign(Object.create(null),s.parsedParams)),{matchedRoutes:s?.branch||[t.__root__],routeParams:r,foundRoute:a,parsedParams:o}}function Ze({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return Qe(n)(e,t,r??!1)}function Qe(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...X(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:u(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function $e(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return ie}function et(e,t,n,r){let i=e.options.params?.parse??e.options.parseParams;if(i)if(e.options.skipRouteOnParseError)for(let e in t)e in n&&(r[e]=n[e]);else{let e=i(r);Object.assign(r,e)}}var Z=e(n(),1),Q=t();function tt(e){let t=e.errorComponent??rt;return(0,Q.jsx)(nt,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?Z.createElement(t,{error:n,reset:r}):e.children})}var nt=class extends Z.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function rt({error:e}){let[t,n]=Z.useState(!1);return(0,Q.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,Q.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,Q.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,Q.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,Q.jsx)(`div`,{children:(0,Q.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,Q.jsx)(`code`,{children:e.message}):null})}):null]})}function it(e){let t=C(),n=`not-found-${O(t.stores.location,e=>e.pathname)}-${O(t.stores.status,e=>e)}`;return(0,Q.jsx)(tt,{getResetKey:()=>n,onCatch:(t,n)=>{if(j(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(j(t))return e.fallback?.(t);throw t},children:e.children})}function at(){return(0,Q.jsx)(`p`,{children:`Not Found`})}function $(e){return(0,Q.jsx)(Q.Fragment,{children:e.children})}function ot(e,t,n){return t.options.notFoundComponent?(0,Q.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,Q.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,Q.jsx)(at,{})}var st=Z.memo(function({matchId:e}){let t=C(),n=t.stores.matchStores.get(e);n||k();let r=O(t.stores.loadedAt,e=>e),i=O(n,e=>e);return(0,Q.jsx)(ct,{router:t,matchId:e,resetKey:r,matchState:Z.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function ct({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,Q.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?Z.Suspense:$,f=s?tt:$,p=l?it:$;return(0,Q.jsxs)(i.isRoot?i.options.shellComponent??$:$,{children:[(0,Q.jsx)(re.Provider,{value:t,children:(0,Q.jsx)(d,{fallback:o,children:(0,Q.jsx)(f,{getResetKey:()=>n,errorComponent:s||rt,onCatch:(e,t)=>{if(j(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,Q.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return Z.createElement(l,e)},children:u||r._displayPending?(0,Q.jsx)(D,{fallback:o,children:(0,Q.jsx)(ut,{matchId:t})}):(0,Q.jsx)(ut,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(lt,{resetKey:n}),(e.options.scrollRestoration,null)]}):null]})}function lt({resetKey:e}){let t=C(),n=Z.useRef(void 0);return g(()=>{let e=t.latestLocation.href;(n.current===void 0||n.current!==e)&&(t.emit({type:`onRendered`,...J(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=e)},[t.latestLocation.state.__TSR_key,e,t]),null}var ut=Z.memo(function({matchId:e}){let t=C(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||k();let i=O(r,e=>e),o=i.routeId,s=t.routesById[o],c=Z.useMemo(()=>{let e=(t.routesById[o].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:o,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[o,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),l=Z.useMemo(()=>{let e=s.options.component??t.options.defaultComponent;return e?(0,Q.jsx)(e,{},c):(0,Q.jsx)(dt,{})},[c,s.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);if(i.status===`pending`){let e=s.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=a();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return j(i.error)||k(),ot(t,s,i.error);if(i.status===`redirected`)throw M(i.error)||k(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return l}),dt=Z.memo(function(){let e=C(),t=Z.useContext(re),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=O(a,e=>[e?.routeId,e?.globalNotFound??!1]),i=O(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,Q.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||k(),ot(e,a,void 0);if(!i)return null;let s=(0,Q.jsx)(st,{matchId:i});return n===`__root__`?(0,Q.jsx)(Z.Suspense,{fallback:o,children:s}):s});export{rt as a,Ce as c,tt as i,we as l,dt as n,qe as o,$ as r,J as s,st as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/SignatureV4.js b/spinifex/services/spinifexui/frontend/dist/assets/SignatureV4.js index 379369857..3763317ee 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/SignatureV4.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/SignatureV4.js @@ -46,5 +46,5 @@ ${r.join(`;`)} ${n}`}async createStringToSign(e,t,n,r){let i=new this.sha256;return i.update(rc(n)),`${r} ${e} ${t} -${$(await i.digest())}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(`/`))n?.length!==0&&n!==`.`&&(n===`..`?t.pop():t.push(n));return Bc(`${e?.startsWith(`/`)?`/`:``}${t.join(`/`)}${t.length>0&&e?.endsWith(`/`)?`/`:``}`).replace(/%2F/g,`/`)}return e}validateResolvedCredentials(e){if(typeof e!=`object`||typeof e.accessKeyId!=`string`||typeof e.secretAccessKey!=`string`)throw Error(`Resolved credential object is not valid`)}formatDate(e){let t=Uc(e).replace(/[\-:]/g,``);return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(`;`)}},Kc=class extends Gc{headerFormatter=new jc;constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:a=!0}){super({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:a})}async presign(e,t={}){let{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:o,hoistableHeaders:s,signingRegion:c,signingService:l}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);let d=c??await this.regionProvider(),{longDate:f,shortDate:p}=this.formatDate(n);if(r>604800)return Promise.reject(`Signature version 4 presigned URLs must have an expiration date less than one week in the future`);let m=Tc(p,d,l??this.service),h=Lc(Rc(e),{unhoistableHeaders:a,hoistableHeaders:s});u.sessionToken&&(h.query[uc]=u.sessionToken),h.query[ic]=yc,h.query[ac]=`${u.accessKeyId}/${m}`,h.query[oc]=f,h.query[cc]=r.toString(10);let g=Oc(h,i,o);return h.query[sc]=this.getCanonicalHeaderList(g),h.query[lc]=await this.getSignature(f,m,this.getSigningKey(u,d,p,l),this.createCanonicalRequest(h,g,await Ac(e,this.sha256))),h}async sign(e,t){return typeof e==`string`?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:a}){let o=i??await this.regionProvider(),{shortDate:s,longDate:c}=this.formatDate(n),l=Tc(s,o,a??this.service),u=await Ac({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);let f=[bc,c,l,r,$(await d.digest()),u].join(` -`);return this.signString(f,{signingDate:n,signingRegion:o,signingService:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:r,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:r}={}){let i=await this.credentialProvider();this.validateResolvedCredentials(i);let a=n??await this.regionProvider(),{shortDate:o}=this.formatDate(t),s=new this.sha256(await this.getSigningKey(i,a,o,r));return s.update(rc(e)),$(await s.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:i,signingService:a}={}){let o=await this.credentialProvider();this.validateResolvedCredentials(o);let s=i??await this.regionProvider(),c=Rc(e),{longDate:l,shortDate:u}=this.formatDate(t),d=Tc(u,s,a??this.service);c.headers[fc]=l,o.sessionToken&&(c.headers[hc]=o.sessionToken);let f=await Ac(c,this.sha256);!Ic(`x-amz-content-sha256`,c.headers)&&this.applyChecksum&&(c.headers[mc]=f);let p=Oc(c,r,n),m=await this.getSignature(l,d,this.getSigningKey(o,s,u,a),this.createCanonicalRequest(c,p,f));return c.headers[dc]=`${yc} Credential=${o.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${m}`,c}async getSignature(e,t,n,r){let i=await this.createStringToSign(e,t,r,yc),a=new this.sha256(await n);return a.update(rc(i)),$(await a.digest())}getSigningKey(e,t,n,r){return Ec(this.sha256,e,n,t,r||this.service)}};export{Yo as A,Ze as B,ws as C,No as D,Fo as E,nt as F,et as H,qe as I,tt as L,Ut as M,Gt as N,jo as O,Rt as P,rt as R,Cs as S,Vo as T,n as U,Qe as V,ks as _,rc as a,Ss as b,Qs as c,Rs as d,zs as f,As as g,js as h,kc as i,lo as j,Uo as k,Zs as l,Is as m,Bc as n,nc as o,Bs as p,zc as r,$ as s,Kc as t,Js as u,Os as v,Zo as w,Ts as x,Es as y,Ye as z}; \ No newline at end of file +${$(await i.digest())}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(`/`))n?.length!==0&&n!==`.`&&(n===`..`?t.pop():t.push(n));return Bc(`${e?.startsWith(`/`)?`/`:``}${t.join(`/`)}${t.length>0&&e?.endsWith(`/`)?`/`:``}`).replace(/%2F/g,`/`)}return e}validateResolvedCredentials(e){if(typeof e!=`object`||typeof e.accessKeyId!=`string`||typeof e.secretAccessKey!=`string`)throw Error(`Resolved credential object is not valid`)}formatDate(e){let t=Uc(e).replace(/[\-:]/g,``);return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(`;`)}},Kc=class extends Gc{headerFormatter=new jc;constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:a=!0}){super({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:a})}async presign(e,t={}){let{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:o,hoistableHeaders:s,signingRegion:c,signingService:l}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);let d=c??await this.regionProvider(),{longDate:f,shortDate:p}=this.formatDate(n);if(r>604800)return Promise.reject(`Signature version 4 presigned URLs must have an expiration date less than one week in the future`);let m=Tc(p,d,l??this.service),h=Lc(Rc(e),{unhoistableHeaders:a,hoistableHeaders:s});u.sessionToken&&(h.query[uc]=u.sessionToken),h.query[ic]=yc,h.query[ac]=`${u.accessKeyId}/${m}`,h.query[oc]=f,h.query[cc]=r.toString(10);let g=Oc(h,i,o);return h.query[sc]=this.getCanonicalHeaderList(g),h.query[lc]=await this.getSignature(f,m,this.getSigningKey(u,d,p,l),this.createCanonicalRequest(h,g,await Ac(e,this.sha256))),h}async sign(e,t){return typeof e==`string`?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:a,eventStreamCredentials:o}){let s=i??await this.regionProvider(),{shortDate:c,longDate:l}=this.formatDate(n),u=Tc(c,s,a??this.service),d=await Ac({headers:{},body:t},this.sha256),f=new this.sha256;f.update(e);let p=[bc,l,u,r,$(await f.digest()),d].join(` +`);return this.signString(p,{signingDate:n,signingRegion:s,signingService:a,eventStreamCredentials:o})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r,eventStreamCredentials:i}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:r,priorSignature:e.priorSignature,eventStreamCredentials:i}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:r,eventStreamCredentials:i}={}){let a=i??await this.credentialProvider();this.validateResolvedCredentials(a);let o=n??await this.regionProvider(),{shortDate:s}=this.formatDate(t),c=new this.sha256(await this.getSigningKey(a,o,s,r));return c.update(rc(e)),$(await c.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:i,signingService:a}={}){let o=await this.credentialProvider();this.validateResolvedCredentials(o);let s=i??await this.regionProvider(),c=Rc(e),{longDate:l,shortDate:u}=this.formatDate(t),d=Tc(u,s,a??this.service);c.headers[fc]=l,o.sessionToken&&(c.headers[hc]=o.sessionToken);let f=await Ac(c,this.sha256);!Ic(`x-amz-content-sha256`,c.headers)&&this.applyChecksum&&(c.headers[mc]=f);let p=Oc(c,r,n),m=await this.getSignature(l,d,this.getSigningKey(o,s,u,a),this.createCanonicalRequest(c,p,f));return c.headers[dc]=`${yc} Credential=${o.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${m}`,c}async getSignature(e,t,n,r){let i=await this.createStringToSign(e,t,r,yc),a=new this.sha256(await n);return a.update(rc(i)),$(await a.digest())}getSigningKey(e,t,n,r){return Ec(this.sha256,e,n,t,r||this.service)}};export{Yo as A,Ze as B,ws as C,No as D,Fo as E,nt as F,et as H,qe as I,tt as L,Ut as M,Gt as N,jo as O,Rt as P,rt as R,Cs as S,Vo as T,n as U,Qe as V,ks as _,rc as a,Ss as b,Qs as c,Rs as d,zs as f,As as g,js as h,kc as i,lo as j,Uo as k,Zs as l,Is as m,Bc as n,nc as o,Bs as p,zc as r,$ as s,Kc as t,Js as u,Os as v,Zo as w,Ts as x,Es as y,Ye as z}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_.js b/spinifex/services/spinifexui/frontend/dist/assets/_.js index ffea4379b..2f1e24ad7 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_2.js","assets/compiler-runtime.js","assets/s3.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/upload-button.js","assets/button.js","assets/dist.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/download.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/s32.js","assets/queryOptions.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/back-link.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_2.js","assets/compiler-runtime.js","assets/s3.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/upload-button.js","assets/button.js","assets/dist.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/download.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/s32.js","assets/queryOptions.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/back-link.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{F as r,L as i}from"./SignatureV4.js";import{t as a}from"./s32.js";var o=e(`/_auth/s3/ls/$bucket/$`)({loader:async({context:e,params:t})=>{let n=i(t._splat??``);await e.queryClient.ensureQueryData(a(t.bucket,n))},head:({params:e})=>({meta:[{title:`${r(e._splat??``,`${e.bucket}/`)} | S3 | Mulga`}]}),component:t(()=>n(()=>import(`./_2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29])),`component`)});export{o as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_bucket.js b/spinifex/services/spinifexui/frontend/dist/assets/_bucket.js index 6ca1440e9..0d22fcdaa 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_bucket.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_bucket.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_bucket2.js","assets/compiler-runtime.js","assets/s3.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/upload-button.js","assets/button.js","assets/dist.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/download.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/s32.js","assets/queryOptions.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/back-link.js","assets/page-heading.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_bucket2.js","assets/compiler-runtime.js","assets/s3.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/upload-button.js","assets/button.js","assets/dist.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/download.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/s32.js","assets/queryOptions.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/back-link.js","assets/page-heading.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{t as r}from"./s32.js";var i=e(`/_auth/s3/ls/$bucket/`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.bucket))},head:({params:e})=>({meta:[{title:`${e.bucket} | S3 | Mulga`}]}),component:t(()=>n(()=>import(`./_bucket2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30])),`component`)});export{i as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id.js b/spinifex/services/spinifexui/frontend/dist/assets/_id.js index 484678c4b..205dca38b 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id22.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/select.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id22.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/select.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{t as r}from"./createLucideIcon.js";import{o as i,v as a}from"./ec22.js";var o=r(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),s=e(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a(t.id)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id22.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{o as n,s as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id10.js b/spinifex/services/spinifexui/frontend/dist/assets/_id10.js index 92476937e..f0e65ca94 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id10.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id10.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id15.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id15.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{s as r}from"./ec22.js";var i=e(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(r(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id15.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),`component`)});export{i as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id11.js b/spinifex/services/spinifexui/frontend/dist/assets/_id11.js index 69a6375bb..9252ed161 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id11.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id11.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id14.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/select.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/back-link.js","assets/trash-2.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js","assets/textarea.js","assets/ami-details.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id14.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/select.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/back-link.js","assets/trash-2.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js","assets/textarea.js","assets/ami-details.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{a as r,i,n as a}from"./ec22.js";var o=e(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)]),o=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.ensureQueryData(a(o)),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id14.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{o as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id2.js b/spinifex/services/spinifexui/frontend/dist/assets/_id2.js index 3bb886395..94910254e 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id2.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id2.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id18.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/select.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/plus.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/field.js","assets/ec23.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id18.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/select.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/plus.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/field.js","assets/ec23.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{t as r}from"./createLucideIcon.js";import{f as i}from"./ec22.js";var a=r(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),o=e(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(i(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id18.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41])),`component`)});export{a as n,o as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id3.js b/spinifex/services/spinifexui/frontend/dist/assets/_id3.js index 4d77628b2..0fcea8e4a 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id3.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id3.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id24.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id24.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{_ as r,b as i}from"./ec22.js";var a=e(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:t(()=>n(()=>import(`./_id24.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id5.js b/spinifex/services/spinifexui/frontend/dist/assets/_id5.js index 1be32d0a7..750482d91 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id5.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id5.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id21.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec22.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/elbv2.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/elbv22.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/tabs.js","assets/select.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/field.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id21.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec22.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/elbv2.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/elbv22.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/tabs.js","assets/select.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/field.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{o as r}from"./ec22.js";import{a as i,o as a,s as o}from"./elbv22.js";var s=e(`/_auth/ec2/(target-groups)/describe-target-groups/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(i([n])),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Target Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id21.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41])),`component`)});export{s as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id6.js b/spinifex/services/spinifexui/frontend/dist/assets/_id6.js index 48ddc5da7..854607a1d 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id6.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id6.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id20.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id20.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{g as r}from"./ec22.js";var i=e(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:t(()=>n(()=>import(`./_id20.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{i as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id7.js b/spinifex/services/spinifexui/frontend/dist/assets/_id7.js index de4caf899..98dcf9692 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id7.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id7.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id19.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/input.js","assets/separator.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/copy.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id19.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec2.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/input.js","assets/separator.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/copy.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/field.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{d as r,m as i}from"./ec22.js";var a=e(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id19.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])),`component`)});export{a as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id8.js b/spinifex/services/spinifexui/frontend/dist/assets/_id8.js index 40428cddd..691fdc64f 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id8.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id8.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id17.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id17.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{l as r,o as i}from"./ec22.js";var a=e(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.id)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id17.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id9.js b/spinifex/services/spinifexui/frontend/dist/assets/_id9.js index d096a672c..1d1146e7a 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id9.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id9.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id16.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec22.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/elbv2.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/elbv22.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/tabs.js","assets/select.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/field.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/elbv23.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id16.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/ec22.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/elbv2.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/elbv22.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/tabs.js","assets/select.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/input.js","assets/field.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/elbv23.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{_ as r}from"./ec22.js";import{a as i,c as a,n as o,r as s,t as c}from"./elbv22.js";var l=e(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(s(n)),e.queryClient.ensureQueryData(c(n)),e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(i([n])),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Load Balancer | Mulga`}]}),component:t(()=>n(()=>import(`./_id16.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43])),`component`)});export{l as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js index e723fb91b..8655c6e2b 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn2.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/iam.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/iam2.js","assets/queryOptions.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn2.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/iam.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/iam2.js","assets/queryOptions.js","assets/button.js","assets/dist.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/detail-row.js","assets/page-heading.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{a as r,i}from"./iam2.js";var a=e(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.policyArn),a=await e.queryClient.ensureQueryData(i(n)),o=a.Policy?.DefaultVersionId;return o&&await e.queryClient.ensureQueryData(r(n,o)),a},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_policyArn2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30])),`component`)});export{a as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_userName.js b/spinifex/services/spinifexui/frontend/dist/assets/_userName.js index 45018c6a8..037ec7d10 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_userName.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_userName.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName2.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/iam.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/iam2.js","assets/queryOptions.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/check.js","assets/trash-2.js","assets/triangle-alert.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/use-copy-to-clipboard.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName2.js","assets/compiler-runtime.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/iam.js","assets/awsClient.js","assets/toUtf8.browser.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/iam2.js","assets/queryOptions.js","assets/alert-dialog.js","assets/button.js","assets/dist.js","assets/DialogTitle.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/check.js","assets/trash-2.js","assets/triangle-alert.js","assets/delete-confirmation-dialog.js","assets/detail-row.js","assets/page-heading.js","assets/state-badge.js","assets/use-copy-to-clipboard.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{n as r,o as i,r as a,t as o}from"./iam2.js";var s=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.userName)),e.queryClient.ensureQueryData(o(t.userName)),e.queryClient.ensureQueryData(r(t.userName)),e.queryClient.ensureQueryData(a)])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34])),`component`)});export{s as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/addEventListener.js b/spinifex/services/spinifexui/frontend/dist/assets/addEventListener.js new file mode 100644 index 000000000..829d55255 --- /dev/null +++ b/spinifex/services/spinifexui/frontend/dist/assets/addEventListener.js @@ -0,0 +1 @@ +import{a as e,r as t}from"./compiler-runtime.js";import{hn as n}from"./awsClient.js";import{p as r}from"./dist.js";import{c as i,o as a}from"./button.js";var o=e(n()),s=e(t()),c=[];function l(e){s.useEffect(e,c)}var u=null;globalThis.requestAnimationFrame;var d=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n=this.callbacks.length||(this.callbacks[t]=null,--this.callbacksCount)}},f=class e{static create(){return new e}static request(e){return d.request(e)}static cancel(e){return d.cancel(e)}currentId=u;request(e){this.cancel(),this.currentId=d.request(()=>{this.currentId=u,e()})}cancel=()=>{this.currentId!==u&&(d.cancel(this.currentId),this.currentId=u)};disposeEffect=()=>this.cancel};function p(){let e=r(f.create).current;return l(e.disposeEffect),e}function m(e){return e==null?e:`current`in e?e.current:e}var h=function(e){return e.startingStyle=`data-starting-style`,e.endingStyle=`data-ending-style`,e}({}),g={[h.startingStyle]:``},_={[h.endingStyle]:``},v={transitionStatus(e){return e===`starting`?g:e===`ending`?_:null}};function y(e,t=!1,n=!0){let r=p();return i((i,a=null)=>{r.cancel();let s=m(e);if(s==null)return;let c=s,l=()=>{o.flushSync(i)};if(typeof c.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function u(){Promise.all(c.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||l()}).catch(()=>{if(n){a?.aborted||l();return}let e=c.getAnimations();!a?.aborted&&e.length>0&&e.some(e=>e.pending||e.playState!==`finished`)&&u()})}if(t){let e=h.startingStyle;if(!c.hasAttribute(e)){r.request(u);return}let t=new MutationObserver(()=>{c.hasAttribute(e)||(t.disconnect(),u())});t.observe(c,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0});return}r.request(u)})}function b(e){let{enabled:t=!0,open:n,ref:r,onComplete:a}=e,o=i(a),c=y(r,n,!1);s.useEffect(()=>{if(!t)return;let e=new AbortController;return c(o,e.signal),()=>{e.abort()}},[t,n,o,c])}function x(e,t=!1,n=!1){let[r,i]=s.useState(e&&t?`idle`:void 0),[o,c]=s.useState(e);return e&&!o&&(c(!0),i(`starting`)),!e&&o&&r!==`ending`&&!n&&i(`ending`),!e&&!o&&r===`ending`&&i(void 0),a(()=>{if(!e&&o&&r!==`ending`&&n){let e=f.request(()=>{i(`ending`)});return()=>{f.cancel(e)}}},[e,o,r,n]),a(()=>{if(!e||t)return;let n=f.request(()=>{i(void 0)});return()=>{f.cancel(n)}},[t,e]),a(()=>{if(!e||!t)return;e&&o&&r!==`idle`&&i(`starting`);let n=f.request(()=>{i(`idle`)});return()=>{f.cancel(n)}},[t,e,o,r]),{mounted:o,setMounted:c,transitionStatus:r}}function S(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}export{h as a,f as c,y as i,p as l,x as n,v as o,b as r,m as s,S as t,l as u}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/alert-dialog.js b/spinifex/services/spinifexui/frontend/dist/assets/alert-dialog.js index 29ef9d86d..0673a1bb5 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/alert-dialog.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/alert-dialog.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{p as i}from"./dist.js";import{I as a}from"./SignatureV4.js";import{t as o}from"./button.js";import{a as s,f as c,g as l,h as u,i as d,m as f,n as p,p as m,r as h,t as g}from"./DialogTitle.js";var _=e(n()),v=t();function y(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:a,onOpenChangeComplete:o,actionsRef:s,handle:c,triggerId:d,defaultTriggerId:f=null}=e,m=l(),g=!!m,y=i(()=>c?.store??new p({open:r,openProp:n,activeTriggerId:f,triggerIdProp:d,modal:!0,disablePointerDismissal:!0,nested:g,role:`alertdialog`})).current;y.useControlledProp(`openProp`,n),y.useControlledProp(`triggerIdProp`,d),y.useSyncedValue(`nested`,g),y.useContextCallback(`onOpenChange`,a),y.useContextCallback(`onOpenChangeComplete`,o);let b=y.useState(`payload`);h({store:y,actionsRef:s,parentContext:m?.store.context,onOpenChange:a,triggerIdProp:d});let x=_.useMemo(()=>({store:y}),[y]);return(0,v.jsx)(u.Provider,{value:x,children:typeof t==`function`?t({payload:b}):t})}var b=r();function x(e){let t=(0,b.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,v.jsx)(y,{"data-slot":`alert-dialog`,...n}),t[2]=n,t[3]=r),r}function S(e){let t=(0,b.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,v.jsx)(d,{"data-slot":`alert-dialog-portal`,...n}),t[2]=n,t[3]=r),r}function C(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(f,{className:i,"data-slot":`alert-dialog-overlay`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function w(e){let t=(0,b.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let o=i===void 0?`default`:i,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,v.jsx)(C,{}),t[4]=c):c=t[4];let l;t[5]===n?l=t[6]:(l=a(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 group/alert-dialog-content data-closed:animate-out data-open:animate-in fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-background p-4 ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm`,n),t[5]=n,t[6]=l);let u;return t[7]!==r||t[8]!==o||t[9]!==l?(u=(0,v.jsxs)(S,{children:[c,(0,v.jsx)(s,{className:l,"data-size":o,"data-slot":`alert-dialog-content`,...r})]}),t[7]=r,t[8]=o,t[9]=l,t[10]=u):u=t[10],u}function T(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(`div`,{className:i,"data-slot":`alert-dialog-header`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function E(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(`div`,{className:i,"data-slot":`alert-dialog-footer`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function D(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`mb-2 inline-flex size-8 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(`div`,{className:i,"data-slot":`alert-dialog-media`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function O(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(g,{className:i,"data-slot":`alert-dialog-title`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function k(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`text-xs/relaxed text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,v.jsx)(c,{className:i,"data-slot":`alert-dialog-description`,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function A(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(n),t[3]=n,t[4]=i);let s;return t[5]!==r||t[6]!==i?(s=(0,v.jsx)(o,{className:i,"data-slot":`alert-dialog-action`,...r}),t[5]=r,t[6]=i,t[7]=s):s=t[7],s}function j(e){let t=(0,b.c)(14),n,r,i,s;t[0]===e?(n=t[1],r=t[2],i=t[3],s=t[4]):({className:n,variant:i,size:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=s);let c=i===void 0?`outline`:i,l=s===void 0?`default`:s,u;t[5]===n?u=t[6]:(u=a(n),t[5]=n,t[6]=u);let d;t[7]!==l||t[8]!==c?(d=(0,v.jsx)(o,{size:l,variant:c}),t[7]=l,t[8]=c,t[9]=d):d=t[9];let f;return t[10]!==r||t[11]!==u||t[12]!==d?(f=(0,v.jsx)(m,{className:u,"data-slot":`alert-dialog-cancel`,render:d,...r}),t[10]=r,t[11]=u,t[12]=d,t[13]=f):f=t[13],f}export{k as a,D as c,w as i,O as l,A as n,E as o,j as r,T as s,x as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{I as i}from"./SignatureV4.js";import{t as a}from"./button.js";import{_ as o,a as s,g as c,h as l,i as u,m as d,o as f,r as p,s as m,t as h,v as g}from"./DialogTitle.js";var _=e(n()),v=t();function y(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,actionsRef:c,handle:l,triggerId:d,defaultTriggerId:f=null}=e,m=g(!0),h=!!m,y=u.useStore(l?.store,{open:r,openProp:n,activeTriggerId:f,triggerIdProp:d,modal:!0,disablePointerDismissal:!0,nested:h,role:`alertdialog`});y.useControlledProp(`openProp`,n),y.useControlledProp(`triggerIdProp`,d),y.useSyncedValue(`nested`,h),y.useContextCallback(`onOpenChange`,i),y.useContextCallback(`onOpenChangeComplete`,a);let b=y.useState(`payload`);s({store:y,actionsRef:c,parentContext:m?.store.context,isDrawer:!1,onOpenChange:i,triggerIdProp:d});let x=_.useMemo(()=>({store:y}),[y]);return(0,v.jsx)(p.Provider,{value:!1,children:(0,v.jsx)(o.Provider,{value:x,children:typeof t==`function`?t({payload:b}):t})})}var b=r();function x(e){let t=(0,b.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,v.jsx)(y,{"data-slot":`alert-dialog`,...n}),t[2]=n,t[3]=r),r}function S(e){let t=(0,b.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,v.jsx)(f,{"data-slot":`alert-dialog-portal`,...n}),t[2]=n,t[3]=r),r}function C(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(c,{className:a,"data-slot":`alert-dialog-overlay`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function w(e){let t=(0,b.c)(11),n,r,a;t[0]===e?(n=t[1],r=t[2],a=t[3]):({className:n,size:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=a);let o=a===void 0?`default`:a,s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,v.jsx)(C,{}),t[4]=s):s=t[4];let c;t[5]===n?c=t[6]:(c=i(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 group/alert-dialog-content data-closed:animate-out data-open:animate-in fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-background p-4 ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm`,n),t[5]=n,t[6]=c);let l;return t[7]!==r||t[8]!==o||t[9]!==c?(l=(0,v.jsxs)(S,{children:[s,(0,v.jsx)(m,{className:c,"data-size":o,"data-slot":`alert-dialog-content`,...r})]}),t[7]=r,t[8]=o,t[9]=c,t[10]=l):l=t[10],l}function T(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(`div`,{className:a,"data-slot":`alert-dialog-header`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function E(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(`div`,{className:a,"data-slot":`alert-dialog-footer`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function D(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`mb-2 inline-flex size-8 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(`div`,{className:a,"data-slot":`alert-dialog-media`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function O(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(h,{className:a,"data-slot":`alert-dialog-title`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function k(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-xs/relaxed text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,v.jsx)(d,{className:a,"data-slot":`alert-dialog-description`,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function A(e){let t=(0,b.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let o;t[3]===n?o=t[4]:(o=i(n),t[3]=n,t[4]=o);let s;return t[5]!==r||t[6]!==o?(s=(0,v.jsx)(a,{className:o,"data-slot":`alert-dialog-action`,...r}),t[5]=r,t[6]=o,t[7]=s):s=t[7],s}function j(e){let t=(0,b.c)(14),n,r,o,s;t[0]===e?(n=t[1],r=t[2],o=t[3],s=t[4]):({className:n,variant:o,size:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s);let c=o===void 0?`outline`:o,u=s===void 0?`default`:s,d;t[5]===n?d=t[6]:(d=i(n),t[5]=n,t[6]=d);let f;t[7]!==u||t[8]!==c?(f=(0,v.jsx)(a,{size:u,variant:c}),t[7]=u,t[8]=c,t[9]=f):f=t[9];let p;return t[10]!==r||t[11]!==d||t[12]!==f?(p=(0,v.jsx)(l,{className:d,"data-slot":`alert-dialog-cancel`,render:f,...r}),t[10]=r,t[11]=d,t[12]=f,t[13]=p):p=t[13],p}export{k as a,D as c,w as i,O as l,A as n,E as o,j as r,T as s,x as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/awsClient.js b/spinifex/services/spinifexui/frontend/dist/assets/awsClient.js index c28bcc794..b451cfede 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/awsClient.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/awsClient.js @@ -1,10 +1,10 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/event-streams.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js"])))=>i.map(i=>d[i]); import{i as e,r as t}from"./compiler-runtime.js";import{S as n,_ as r,c as i,d as a,f as o,g as s,h as c,l,m as u,n as d,o as ee,p as te,r as f,s as ne,t as re,u as ie,v as ae,y as oe}from"./SignatureV4.js";import{t as se}from"./fromUtf8.browser.js";import{t as ce}from"./toUtf8.browser.js";var le=e((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=le()})),de=e=>({setHttpHandler(t){e.httpHandler=t},httpHandler(){return e.httpHandler},updateHttpClientConfig(t,n){e.httpHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.httpHandler.httpHandlerConfigs()}}),fe=e=>({httpHandler:e.httpHandler()}),pe;(function(e){e.HTTP=`http`,e.HTTPS=`https`})(pe||={});var me;(function(e){e.MD5=`md5`,e.CRC32=`crc32`,e.CRC32C=`crc32c`,e.SHA1=`sha1`,e.SHA256=`sha256`})(me||={});var he=`__smithy_context`,ge=class{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==`number`&&typeof t.headers==`object`}},_e=e=>e.__smithy_context||={},ve={SignatureV4a:null};function ye(e){return e}var be=e=>t=>async n=>{if(!i.isInstance(n.request))return t(n);let{request:r}=n,{handlerProtocol:a=``}=e.requestHandler.metadata||{};if(a.indexOf(`h2`)>=0&&!r.headers[`:authority`])delete r.headers.host,r.headers[`:authority`]=r.hostname+(r.port?`:`+r.port:``);else if(!r.headers.host){let e=r.hostname;r.port!=null&&(e+=`:${r.port}`),r.headers.host=e}return t(n)},xe={name:`hostHeaderMiddleware`,step:`build`,priority:`low`,tags:[`HOST`],override:!0},Se=e=>({applyToStack:t=>{t.add(be(e),xe)}}),Ce=()=>(e,t)=>async n=>{try{let r=await e(n),{clientName:i,commandName:a,logger:o,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=s,u=c??t.inputFilterSensitiveLog,d=l??t.outputFilterSensitiveLog,{$metadata:ee,...te}=r.output;return o?.info?.({clientName:i,commandName:a,input:u(n.input),output:d(te),metadata:ee}),r}catch(e){let{clientName:r,commandName:i,logger:a,dynamoDbDocumentClientOptions:o={}}=t,{overrideInputFilterSensitiveLog:s}=o,c=s??t.inputFilterSensitiveLog;throw a?.error?.({clientName:r,commandName:i,input:c(n.input),error:e,metadata:e.$metadata}),e}},we={name:`loggerMiddleware`,tags:[`LOGGER`],step:`initialize`,override:!0},Te=e=>({applyToStack:e=>{e.add(Ce(),we)}}),Ee={step:`build`,tags:[`RECURSION_DETECTION`],name:`recursionDetectionMiddleware`,override:!0,priority:`low`},De=()=>e=>async t=>e(t),Oe=e=>({applyToStack:e=>{e.add(De(),Ee)}}),ke=(e,t)=>{if(!t||t.length===0)return e;let n=[];for(let r of t)for(let t of e)t.schemeId.split(`#`)[1]===r&&n.push(t);for(let t of e)n.find(({schemeId:e})=>e===t.schemeId)||n.push(t);return n};function Ae(e){let t=new Map;for(let n of e)t.set(n.schemeId,n);return t}var je=(e,t)=>(n,r)=>async i=>{let a=ke(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,r,i.input)),e.authSchemePreference?await e.authSchemePreference():[]),o=Ae(e.httpAuthSchemes),s=_e(r),c=[];for(let n of a){let i=o.get(n.schemeId);if(!i){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}let a=i.identityProvider(await t.identityProviderConfigProvider(e));if(!a){c.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:l={},signingProperties:u={}}=n.propertiesExtractor?.(e,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},l),n.signingProperties=Object.assign(n.signingProperties||{},u),s.selectedHttpAuthScheme={httpAuthOption:n,identity:await a(n.identityProperties),signer:i.signer};break}if(!s.selectedHttpAuthScheme)throw Error(c.join(` -`));return n(i)},Me={step:`serialize`,tags:[`HTTP_AUTH_SCHEME`],name:`httpAuthSchemeMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`},Ne=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(je(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),Me)}}),Pe=e=>e=>{throw e},eee=(e,t)=>{},Fe=e=>(e,t)=>async n=>{if(!i.isInstance(n.request))return e(n);let r=_e(t).selectedHttpAuthScheme;if(!r)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:a={}},identity:o,signer:s}=r,c=await e({...n,request:await s.sign(n.request,o,a)}).catch((s.errorHandler||Pe)(a));return(s.successHandler||eee)(c.response,a),c},Ie={step:`finalizeRequest`,tags:[`HTTP_SIGNING`],name:`httpSigningMiddleware`,aliases:[`apiKeyMiddleware`,`tokenMiddleware`,`awsAuthMiddleware`],override:!0,relation:`after`,toMiddleware:`retryMiddleware`},Le=e=>({applyToStack:t=>{t.addRelativeTo(Fe(e),Ie)}}),Re=e=>{if(typeof e==`function`)return e;let t=Promise.resolve(e);return()=>t},ze=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Be=Object.entries(ze).reduce((e,[t,n])=>(e[n]=Number(t),e),{}),Ve=ze.split(``),He=e=>{let t=e.length/4*3;e.slice(-2)===`==`?t-=2:e.slice(-1)===`=`&&t--;let n=new ArrayBuffer(t),r=new DataView(n);for(let t=0;t>=6;let a=t/4*3;n>>=i%8;let o=Math.floor(i/8);for(let e=0;e>t)}}return new Uint8Array(n)};function Ue(e){let t;t=typeof e==`string`?se(e):e;let n=typeof t==`object`&&typeof t.length==`number`,r=typeof t==`object`&&typeof t.byteOffset==`number`&&typeof t.byteLength==`number`;if(!n&&!r)throw Error(`@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.`);let i=``;for(let e=0;e>t]}i+=`==`.slice(0,4-a)}return i}var We=class e extends Uint8Array{static fromString(t,n=`utf-8`){if(typeof t==`string`)return n===`base64`?e.mutate(He(t)):e.mutate(se(t));throw Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}static mutate(t){return Object.setPrototypeOf(t,e.prototype),t}transformToString(e=`utf-8`){return e===`base64`?Ue(this):ce(this)}},Ge=e=>typeof ReadableStream==`function`&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),Ke=(e,t)=>{let{base64Encoder:n,bodyLengthChecker:r,checksumAlgorithmFn:i,checksumLocationName:a,streamHasher:o}=t,s=n!==void 0&&r!==void 0&&i!==void 0&&a!==void 0&&o!==void 0,c=s?o(i,e):void 0,l=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:i}=await l.read();if(i){if(e.enqueue(`0\r +`));return n(i)},Me={step:`serialize`,tags:[`HTTP_AUTH_SCHEME`],name:`httpAuthSchemeMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`},Ne=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(je(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),Me)}}),eee=e=>e=>{throw e},Pe=(e,t)=>{},Fe=e=>(e,t)=>async n=>{if(!i.isInstance(n.request))return e(n);let r=_e(t).selectedHttpAuthScheme;if(!r)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:a={}},identity:o,signer:s}=r,c=await e({...n,request:await s.sign(n.request,o,a)}).catch((s.errorHandler||eee)(a));return(s.successHandler||Pe)(c.response,a),c},Ie={step:`finalizeRequest`,tags:[`HTTP_SIGNING`],name:`httpSigningMiddleware`,aliases:[`apiKeyMiddleware`,`tokenMiddleware`,`awsAuthMiddleware`],override:!0,relation:`after`,toMiddleware:`retryMiddleware`},Le=e=>({applyToStack:t=>{t.addRelativeTo(Fe(e),Ie)}}),Re=e=>{if(typeof e==`function`)return e;let t=Promise.resolve(e);return()=>t},ze=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Be=Object.entries(ze).reduce((e,[t,n])=>(e[n]=Number(t),e),{}),Ve=ze.split(``),He=e=>{let t=e.length/4*3;e.slice(-2)===`==`?t-=2:e.slice(-1)===`=`&&t--;let n=new ArrayBuffer(t),r=new DataView(n);for(let t=0;t>=6;let a=t/4*3;n>>=i%8;let o=Math.floor(i/8);for(let e=0;e>t)}}return new Uint8Array(n)};function Ue(e){let t;t=typeof e==`string`?se(e):e;let n=typeof t==`object`&&typeof t.length==`number`,r=typeof t==`object`&&typeof t.byteOffset==`number`&&typeof t.byteLength==`number`;if(!n&&!r)throw Error(`@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.`);let i=``;for(let e=0;e>t]}i+=`==`.slice(0,4-a)}return i}var We=class e extends Uint8Array{static fromString(t,n=`utf-8`){if(typeof t==`string`)return n===`base64`?e.mutate(He(t)):e.mutate(se(t));throw Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}static mutate(t){return Object.setPrototypeOf(t,e.prototype),t}transformToString(e=`utf-8`){return e===`base64`?Ue(this):ce(this)}},Ge=e=>typeof ReadableStream==`function`&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),Ke=(e,t)=>{let{base64Encoder:n,bodyLengthChecker:r,checksumAlgorithmFn:i,checksumLocationName:a,streamHasher:o}=t,s=n!==void 0&&r!==void 0&&i!==void 0&&a!==void 0&&o!==void 0,c=s?o(i,e):void 0,l=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:i}=await l.read();if(i){if(e.enqueue(`0\r `),s){let t=n(await c);e.enqueue(`${a}:${t}\r\n`),e.enqueue(`\r `)}e.close()}else e.enqueue(`${(r(t)||0).toString(16)}\r\n${t}\r\n`)}})};async function qe(e,t){let n=0,r=[],i=e.getReader(),a=!1;for(;!a;){let{done:e,value:o}=await i.read();if(o&&(r.push(o),n+=o?.byteLength??0),n>=t)break;a=e}i.releaseLock();let o=new Uint8Array(Math.min(t,n)),s=0;for(let e of r){if(e.byteLength>o.byteLength-s){o.set(e.subarray(0,o.byteLength-s),s);break}else o.set(e,s);s+=e.length}return o}function Je(e){let t=[];for(let n of Object.keys(e).sort()){let r=e[n];if(n=d(n),Array.isArray(r))for(let e=0,i=r.length;e{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name=`TimeoutError`,n(t)},e)})}var Ze={supported:void 0},Qe=class e{config;configProvider;static create(t){return typeof t?.handle==`function`?t:new e(t)}constructor(e){typeof e==`function`?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),Ze.supported===void 0&&(Ze.supported=typeof Request<`u`&&`keepalive`in Ye(`https://[::1]`))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:n}={}){this.config||=await this.configProvider;let r=n??this.config.requestTimeout,i=this.config.keepAlive===!0,a=this.config.credentials;if(t?.aborted){let e=$e(t);return Promise.reject(e)}let o=e.path,s=Je(e.query||{});s&&(o+=`?${s}`),e.fragment&&(o+=`#${e.fragment}`);let c=``;(e.username!=null||e.password!=null)&&(c=`${e.username??``}:${e.password??``}@`);let{port:l,method:u}=e,d=`${e.protocol}//${c}${e.hostname}${l?`:${l}`:``}${o}`,ee=u===`GET`||u===`HEAD`?void 0:e.body,te={body:ee,headers:new Headers(e.headers),method:u,credentials:a};this.config?.cache&&(te.cache=this.config.cache),ee&&(te.duplex=`half`),typeof AbortController<`u`&&(te.signal=t),Ze.supported&&(te.keepalive=i),typeof this.config.requestInit==`function`&&Object.assign(te,this.config.requestInit(e));let f=()=>{},ne=Ye(d,te),re=[fetch(ne).then(e=>{let t=e.headers,n={};for(let e of t.entries())n[e[0]]=e[1];return e.body==null?e.blob().then(t=>({response:new ge({headers:n,reason:e.statusText,statusCode:e.status,body:t})})):{response:new ge({headers:n,reason:e.statusText,statusCode:e.status,body:e.body})}}),Xe(r)];return t&&re.push(new Promise((e,n)=>{let r=()=>{n($e(t))};if(typeof t.addEventListener==`function`){let e=t;e.addEventListener(`abort`,r,{once:!0}),f=()=>e.removeEventListener(`abort`,r)}else t.onabort=r})),Promise.race(re).finally(f)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[e]=t,n))}httpHandlerConfigs(){return this.config??{}}};function $e(e){let t=e&&typeof e==`object`&&`reason`in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error(`Request aborted`);return e.name=`AbortError`,e.cause=t,e}let e=Error(String(t));return e.name=`AbortError`,e}let n=Error(`Request aborted`);return n.name=`AbortError`,n}var et=async e=>typeof Blob==`function`&&e instanceof Blob||e.constructor?.name===`Blob`?Blob.prototype.arrayBuffer===void 0?tt(e):new Uint8Array(await e.arrayBuffer()):nt(e);async function tt(e){let t=He(await rt(e));return new Uint8Array(t)}async function nt(e){let t=[],n=e.getReader(),r=!1,i=0;for(;!r;){let{done:e,value:a}=await n.read();a&&(t.push(a),i+=a.length),r=e}let a=new Uint8Array(i),o=0;for(let e of t)a.set(e,o),o+=e.length;return a}function rt(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>{if(r.readyState!==2)return n(Error(`Reader aborted too early`));let e=r.result??``,i=e.indexOf(`,`),a=i>-1?i+1:e.length;t(e.substring(a))},r.onabort=()=>n(Error(`Read aborted`)),r.onerror=()=>n(r.error),r.readAsDataURL(e)})}var it=`The stream has already been transformed.`,at=e=>{if(!ot(e)&&!Ge(e)){let t=e?.__proto__?.constructor?.name||e;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=!1,n=async()=>{if(t)throw Error(it);return t=!0,await et(e)},r=e=>{if(typeof e.stream!=`function`)throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled. If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return e.stream()};return Object.assign(e,{transformToByteArray:n,transformToString:async e=>{let t=await n();if(e===`base64`)return Ue(t);if(e===`hex`)return ne(t);if(e===void 0||e===`utf8`||e===`utf-8`)return ce(t);if(typeof TextDecoder==`function`)return new TextDecoder(e).decode(t);throw Error(`TextDecoder is not available, please make sure polyfill is provided.`)},transformToWebStream:()=>{if(t)throw Error(it);if(t=!0,ot(e))return r(e);if(Ge(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},ot=e=>typeof Blob==`function`&&e instanceof Blob;async function st(e){return typeof e.stream==`function`&&(e=e.stream()),e.tee()}var ct=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return We.mutate(e);if(!e)return We.mutate(new Uint8Array);let n=t.streamCollector(e);return We.mutate(await n)};function lt(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}var ut=e=>typeof e==`function`?e():e,dt=(e,t,n,r,i)=>({name:t,namespace:e,traits:n,input:r,output:i}),ft=e=>(t,n)=>async r=>{let{response:i}=await t(r),{operationSchema:a}=_e(n),[,o,s,c,l,u]=a??[];try{return{response:i,output:await e.protocol.deserializeResponse(dt(o,s,c,l,u),{...e,...n},i)}}catch(e){if(Object.defineProperty(e,`$response`,{value:i,enumerable:!1,writable:!1,configurable:!1}),!(`$metadata`in e)){let t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{e.message+=` `+t}catch{!n.logger||n.logger?.constructor?.name===`NoOpLogger`?console.warn(t):n.logger?.warn?.(t)}e.$responseBodyText!==void 0&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(ge.isInstance(i)){let{headers:t={}}=i,n=Object.entries(t);e.$metadata={httpStatusCode:i.statusCode,requestId:pt(/^x-[\w-]+-request-?id$/,n),extendedRequestId:pt(/^x-[\w-]+-id-2$/,n),cfId:pt(/^x-[\w-]+-cf-id$/,n)}}}catch{}}throw e}},pt=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1];function mt(e){let t={};if(e=e.replace(/^\?/,``),e)for(let n of e.split(`&`)){let[e,r=null]=n.split(`=`);e=decodeURIComponent(e),r&&=decodeURIComponent(r),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}var ht=e=>{if(typeof e==`string`)return ht(new URL(e));let{hostname:t,pathname:n,port:r,protocol:i,search:a}=e,o;return a&&(o=mt(a)),{hostname:t,port:r?parseInt(r):void 0,protocol:i,path:n,query:o}},gt=e=>{if(typeof e==`object`){if(`url`in e){let t=ht(e.url);if(e.headers){t.headers={};for(let[n,r]of Object.entries(e.headers))t.headers[n.toLowerCase()]=r.join(`, `)}return t}return e}return ht(e)},_t=e=>(t,n)=>async r=>{let{operationSchema:i}=_e(n),[,a,o,s,c,l]=i??[],u=n.endpointV2?async()=>gt(n.endpointV2):e.endpoint,d=await e.protocol.serializeRequest(dt(a,o,s,c,l),r.input,{...e,...n,endpoint:u});return t({...r,request:d})},vt={name:`deserializerMiddleware`,step:`deserialize`,tags:[`DESERIALIZER`],override:!0},yt={name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0};function bt(e){return{applyToStack:t=>{t.add(_t(e),yt),t.add(ft(e),vt),e.protocol.setSerdeContext(e)}}}var xt=[];function St(e){if(typeof e==`object`)return e;if(e|=0,xt[e])return xt[e];let t={},n=0;for(let r of[`httpLabel`,`idempotent`,`idempotencyToken`,`sensitive`,`httpPayload`,`httpResponseCode`,`httpQueryParams`])(e>>n++&1)==1&&(t[r]=1);return xt[e]=t}var Ct={it:Symbol.for(`@smithy/nor-struct-it`),ns:Symbol.for(`@smithy/ns`)},wt=[],Tt={},Et=class e{ref;memberName;static symbol=Symbol.for(`@smithy/nor`);symbol=e.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(t,n){this.ref=t,this.memberName=n;let r=[],i=t,a=t;for(this._isMemberSchema=!1;Ot(i);)r.push(i[1]),i=i[0],a=ut(i),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){let t=r[e];Object.assign(this.memberTraits,St(t))}}else this.memberTraits=0;if(a instanceof e){let e=this.memberTraits;Object.assign(this,a),this.memberTraits=Object.assign({},e,a.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=n??a.memberName;return}if(this.schema=ut(a),kt(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(a),this.traits=0),this._isMemberSchema&&!n)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){let t=this.prototype.isPrototypeOf(e);return!t&&typeof e==`object`&&e?e.symbol===this.symbol:t}static of(t){let n=typeof t==`function`||typeof t==`object`&&!!t;if(typeof t==`number`){if(wt[t])return wt[t]}else if(typeof t==`string`){if(Tt[t])return Tt[t]}else if(n&&t[Ct.ns])return t[Ct.ns];let r=ut(t);if(r instanceof e)return r;if(Ot(r)){let[n,i]=r;if(n instanceof e)return Object.assign(n.getMergedTraits(),St(i)),n;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}let i=new e(r);return n?t[Ct.ns]=i:typeof r==`string`?Tt[r]=i:typeof r==`number`?wt[r]=i:i}getSchema(){let e=this.schema;return Array.isArray(e)&&e[0]===0?e[4]:e}getName(e=!1){let{name:t}=this;return!e&&t&&t.includes(`#`)?t.split(`#`)[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let e=this.getSchema();return typeof e==`number`?e>=64&&e<128:e[0]===1}isMapSchema(){let e=this.getSchema();return typeof e==`number`?e>=128&&e<=255:e[0]===2}isStructSchema(){let e=this.getSchema();if(typeof e!=`object`)return!1;let t=e[0];return t===3||t===-3||t===4}isUnionSchema(){let e=this.getSchema();return typeof e==`object`?e[0]===4:!1}isBlobSchema(){let e=this.getSchema();return e===21||e===42}isTimestampSchema(){let e=this.getSchema();return typeof e==`number`&&e>=4&&e<=7}isUnitSchema(){return this.getSchema()===`unit`}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:e}=this.getMergedTraits();return!!e||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??={...this.getOwnTraits(),...this.getMemberTraits()}}getMemberTraits(){return St(this.memberTraits)}getOwnTraits(){return St(this.traits)}getKeySchema(){let[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let n=this.getSchema();return Dt([e?15:n[4]??0,0],`key`)}getValueSchema(){let e=this.getSchema(),[t,n,r]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i=typeof e==`number`?63&e:e&&typeof e==`object`&&(n||r)?e[3+e[0]]:t?15:void 0;if(i!=null)return Dt([i,0],n?`value`:`member`);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){let t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){let n=t[4].indexOf(e),r=t[5][n];return Dt(Ot(r)?r:[r,0],e)}if(this.isDocumentSchema())return Dt([15,0],e);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){let e={};try{for(let[t,n]of this.structIterator())e[t]=n}catch{}return e}getEventStreamMember(){if(this.isStructSchema()){for(let[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e}return``}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error(`@smithy/core/schema - cannot iterate non-struct schema.`);let e=this.getSchema(),t=e[4].length,n=e[Ct.it];if(n&&t===n.length){yield*n;return}n=Array(t);for(let r=0;rArray.isArray(e)&&e.length===2,kt=e=>Array.isArray(e)&&e.length>=5,At=class e{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,n=new Map){this.namespace=e,this.schemas=t,this.exceptions=n}static for(t){return e.registries.has(t)||e.registries.set(t,new e(t)),e.registries.get(t)}copyFrom(e){let{schemas:t,exceptions:n}=this;for(let[n,r]of e.schemas)t.has(n)||t.set(n,r);for(let[t,r]of e.exceptions)n.has(t)||n.set(t,r)}register(t,n){let r=this.normalizeShapeId(t);for(let t of[this,e.for(r.split(`#`)[0])])t.schemas.set(r,n)}getSchema(e){let t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(t,n){let r=t,i=r[1];for(let t of[this,e.for(i)])t.schemas.set(i+`#`+r[2],r),t.exceptions.set(r,n)}getErrorCtor(t){let n=t;return this.exceptions.has(n)?this.exceptions.get(n):e.for(n[1]).exceptions.get(n)}getBaseException(){for(let e of this.exceptions.keys())if(Array.isArray(e)){let[,t,n]=e,r=t+`#`+n;if(r.startsWith(`smithy.ts.sdk.synthetic.`)&&r.endsWith(`ServiceException`))return e}}find(e){return[...this.schemas.values()].find(e)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes(`#`)?e:this.namespace+`#`+e}},jt=e=>{if(e!=null){if(typeof e==`string`){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Gt.warn(Wt(`Expected number but observed string: ${e}`)),t}if(typeof e==`number`)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},Mt=Math.ceil(2**127*(2-2**-23)),Nt=e=>{let t=jt(e);if(t!==void 0&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>Mt)throw TypeError(`Expected 32-bit float, got ${e}`);return t},Pt=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},Ft=e=>Lt(e,16),It=e=>Lt(e,8),Lt=(e,t)=>{let n=Pt(e);if(n!==void 0&&Rt(n,t)!==n)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return n},Rt=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},zt=e=>Nt(typeof e==`string`?Vt(e):e),Bt=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Vt=e=>{let t=e.match(Bt);if(t===null||t[0].length!==e.length)throw TypeError(`Expected real number, got implicit NaN`);return parseFloat(e)},Ht=e=>Ft(typeof e==`string`?Vt(e):e),Ut=e=>It(typeof e==`string`?Vt(e):e),Wt=e=>String(TypeError(e).stack||e).split(` `).slice(0,5).filter(e=>!e.includes(`stackTraceWarning`)).join(` -`),Gt={warn:console.warn},Kt=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],qt=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function Jt(e){let t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),o=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,l=a<10?`0${a}`:`${a}`,u=o<10?`0${o}`:`${o}`,d=s<10?`0${s}`:`${s}`;return`${Kt[r]}, ${c} ${qt[n]} ${t} ${l}:${u}:${d} GMT`}var Yt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Xt=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Zt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Qt=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC-7231 date-times must be expressed as strings`);let t=Yt.exec(e);if(t){let[e,n,r,i,a,o,s,c]=t;return $t(Ht(sn(i)),en(r),an(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c})}if(t=Xt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return ree($t(tee(i),en(r),an(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c}))}if(t=Zt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return $t(Ht(sn(c)),en(n),an(r.trimLeft(),`day`,1,31),{hours:i,minutes:a,seconds:o,fractionalMilliseconds:s})}throw TypeError(`Invalid RFC-7231 date-time value`)},$t=(e,t,n,r)=>{let i=t-1;return nn(e,i,n),new Date(Date.UTC(e,i,n,an(r.hours,`hour`,0,23),an(r.minutes,`minute`,0,59),an(r.seconds,`seconds`,0,60),on(r.fractionalMilliseconds)))},tee=e=>{let t=new Date().getUTCFullYear(),n=Math.floor(t/100)*100+Ht(sn(e));return ne.getTime()-new Date().getTime()>nee?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,en=e=>{let t=qt.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},tn=[31,28,31,30,31,30,31,31,30,31,30,31],nn=(e,t,n)=>{let r=tn[t];if(t===1&&rn(e)&&(r=29),n>r)throw TypeError(`Invalid day for ${qt[t]} in ${e}: ${n}`)},rn=e=>e%4==0&&(e%100!=0||e%400==0),an=(e,t,n,r)=>{let i=Ut(sn(e));if(ir)throw TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},on=e=>e==null?0:zt(`0.`+e)*1e3,sn=e=>{let t=0;for(;tt.toString(16).padStart(2,`0`)),un=()=>{if(cn)return cn();let e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128,ln[e[0]]+ln[e[1]]+ln[e[2]]+ln[e[3]]+`-`+ln[e[4]]+ln[e[5]]+`-`+ln[e[6]]+ln[e[7]]+`-`+ln[e[8]]+ln[e[9]]+`-`+ln[e[10]]+ln[e[11]]+ln[e[12]]+ln[e[13]]+ln[e[14]]+ln[e[15]]},dn=function(e){return Object.assign(new String(e),{deserializeJSON(){return JSON.parse(String(e))},toString(){return String(e)},toJSON(){return String(e)}})};dn.from=e=>e&&typeof e==`object`&&(e instanceof dn||`deserializeJSON`in e)?e:typeof e==`string`||Object.getPrototypeOf(e)===String.prototype?dn(String(e)):dn(JSON.stringify(e)),dn.fromObject=dn.from;function fn(e){return(e.includes(`,`)||e.includes(`"`))&&(e=`"${e.replace(/"/g,`\\"`)}"`),e}var pn=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`,mn=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`,hn=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`,gn=`(\\d?\\d)`,_n=`(\\d{4})`,vn=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),yn=RegExp(`^${pn}, ${gn} ${mn} ${_n} ${hn} GMT$`),bn=RegExp(`^${pn}, ${gn}-${mn}-(\\d\\d) ${hn} GMT$`),xn=RegExp(`^${pn} ${mn} ( [1-9]|\\d\\d) ${hn} ${_n}$`),Sn=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Cn=e=>{if(e==null)return;let t=NaN;if(typeof e==`number`)t=e;else if(typeof e==`string`){if(!/^-?\d*\.?\d+$/.test(e))throw TypeError(`parseEpochTimestamp - numeric string invalid.`);t=Number.parseFloat(e)}else typeof e==`object`&&e.tag===1&&(t=e.value);if(isNaN(t)||Math.abs(t)===1/0)throw TypeError(`Epoch timestamps must be valid finite numbers.`);return new Date(Math.round(t*1e3))},wn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC3339 timestamps must be strings`);let t=vn.exec(e);if(!t)throw TypeError(`Invalid RFC3339 timestamp format ${e}`);let[,n,r,i,a,o,s,,c,l]=t;En(r,1,12),En(i,1,31),En(a,0,23),En(o,0,59),En(s,0,60);let u=new Date(Date.UTC(Number(n),Number(r)-1,Number(i),Number(a),Number(o),Number(s),Number(c)?Math.round(parseFloat(`0.${c}`)*1e3):0));if(u.setUTCFullYear(Number(n)),l.toUpperCase()!=`Z`){let[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,`+`,0,0],r=e===`-`?1:-1;u.setTime(u.getTime()+r*(Number(t)*60*60*1e3+Number(n)*60*1e3))}return u},Tn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC7231 timestamps must be strings.`);let t,n,r,i,a,o,s,c;if((c=yn.exec(e))?[,t,n,r,i,a,o,s]=c:(c=bn.exec(e))?([,t,n,r,i,a,o,s]=c,r=(Number(r)+1900).toString()):(c=xn.exec(e))&&([,n,t,i,a,o,s,r]=c),r&&o){let e=Date.UTC(Number(r),Sn.indexOf(n),Number(t),Number(i),Number(a),Number(o),s?Math.round(parseFloat(`0.${s}`)*1e3):0);En(t,1,31),En(i,0,23),En(a,0,59),En(o,0,60);let c=new Date(e);return c.setUTCFullYear(Number(r)),c}throw TypeError(`Invalid RFC7231 date-time value ${e}.`)};function En(e,t,n){let r=Number(e);if(rn)throw Error(`Value ${r} out of range [${t}, ${n}]`)}function Dn(e,t,n){if(n<=0||!Number.isInteger(n))throw Error(`Invalid number of delimiters (`+n+`) for splitEvery.`);let r=e.split(t);if(n===1)return r;let i=[],a=``;for(let e=0;e{let t=e.length,n=[],r=!1,i,a=0;for(let o=0;o{e=e.trim();let t=e.length;return t<2?e:(e[0]===`"`&&e[t-1]===`"`&&(e=e.slice(1,t-1)),e.replace(/\\"/g,`"`))})},kn=/^-?\d*(\.\d+)?$/,An=class e{string;type;constructor(e,t){if(this.string=e,this.type=t,!kn.test(e))throw Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||typeof t!=`object`)return!1;let n=t;return e.prototype.isPrototypeOf(t)||n.type===`bigDecimal`&&kn.test(n.string)}},jn=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Mn=`modulepreload`,Nn=function(e){return`/`+e},Pn={},Fn=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Nn(t,n),t in Pn)return;Pn[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Mn,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},In=class extends jn{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=At.for(e.defaultNamespace);for(let t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return i}getResponseType(){return ge}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if(`url`in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||={};for(let[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(let[n,r]of Object.entries(t.headers))e.headers[n]=r.join(`, `);return e}else{if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let[n,r]of Object.entries(t.headers))e.headers[n]=r;return e}}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;let r=Et.of(t.input),i=St(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if(typeof t==`string`){let i=[...r.structIterator()].filter(([,e])=>e.getMergedTraits().hostLabel);for(let[e]of i){let r=n[e];if(typeof r!=`string`)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers[`x-amzn-requestid`]??e.headers[`x-amzn-request-id`]??e.headers[`x-amz-request-id`],extendedRequestId:e.headers[`x-amz-id-2`],cfId:e.headers[`x-amz-cf-id`]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){let{EventStreamSerde:e}=await Fn(async()=>{let{EventStreamSerde:e}=await import(`./event-streams.js`);return{EventStreamSerde:e}},__vite__mapDeps([0,1,2]));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error(`@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.`);return e.eventStreamMarshaller}},Ln=class extends In{async serializeRequest(e,t,n){let r=t&&typeof t==`object`?t:{},a=this.serializer,o={},s={},c=await n.endpoint(),l=Et.of(e?.input),u=[],d=[],ee=!1,te,f=new i({protocol:``,hostname:``,port:void 0,path:``,fragment:void 0,query:o,headers:s,body:void 0});if(c){this.updateServiceEndpoint(f,c),this.setHostPrefix(f,e,r);let t=St(e.traits);if(t.http){f.method=t.http[0];let[e,n]=t.http[1].split(`?`);f.path==`/`?f.path=e:f.path+=e;let r=new URLSearchParams(n??``);Object.assign(o,Object.fromEntries(r))}}for(let[e,t]of l.structIterator()){let n=t.getMergedTraits()??{},i=r[e];if(i==null&&!t.isIdempotencyToken()){if(n.httpLabel&&(f.path.includes(`{${e}+}`)||f.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`);continue}if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(te=await this.serializeEventStream({eventStream:r[e],requestSchema:l})):te=i:(a.write(t,i),te=a.flush());else if(n.httpLabel){a.write(t,i);let n=a.flush();f.path.includes(`{${e}+}`)?f.path=f.path.replace(`{${e}+}`,n.split(`/`).map(lt).join(`/`)):f.path.includes(`{${e}}`)&&(f.path=f.path.replace(`{${e}}`,lt(n)))}else if(n.httpHeader)a.write(t,i),s[n.httpHeader.toLowerCase()]=String(a.flush());else if(typeof n.httpPrefixHeaders==`string`)for(let[e,r]of Object.entries(i)){let i=n.httpPrefixHeaders+e;a.write([t.getValueSchema(),{httpHeader:i}],r),s[i.toLowerCase()]=a.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,i,o):(ee=!0,u.push(e),d.push(t))}if(ee&&r){let[e,t]=(l.getName(!0)??`#Unknown`).split(`#`),n=l.getSchema()[6],i=[3,e,t,l.getMergedTraits(),u,d,void 0];n?i[6]=n:i.pop(),a.write(i,r),te=a.flush()}return f.headers=s,f.query=o,f.body=te,f}serializeQuery(e,t,n){let r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let[r,a]of Object.entries(t))if(!(r in n)){let t=e.getValueSchema();Object.assign(t.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(t,a,n)}return}if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,o=[];for(let n of t){r.write([e.getValueSchema(),i],n);let t=r.flush();(a||t!==void 0)&&o.push(t)}n[i.httpQuery]=o}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - HTTP Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=await this.deserializeHttpMessage(i,t,n,a);if(o.length){let e=await ct(n.body,t);if(e.byteLength>0){let t=await r.read(i,e);for(let e of o)t[e]!=null&&(a[e]=t[e])}}else o.discardResponseBody&&await ct(n.body,t);return a.$metadata=this.deserializeMetadata(n),a}async deserializeHttpMessage(e,t,n,r,i){let a;a=r instanceof Set?i:r;let o=!0,s=this.deserializer,c=Et.of(e),l=[];for(let[e,r]of c.structIterator()){let i=r.getMemberTraits();if(i.httpPayload){if(o=!1,r.isStreaming())r.isStructSchema()?a[e]=await this.deserializeEventStream({response:n,responseSchema:c}):a[e]=at(n.body);else if(n.body){let i=await ct(n.body,t);i.byteLength>0&&(a[e]=await s.read(r,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),o=n.headers[t];if(o!=null)if(r.isListSchema()){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t;let i;i=n.isTimestampSchema()&&n.getSchema()===4?Dn(o,`,`,2):On(o);let c=[];for(let e of i)c.push(await s.read(n,e.trim()));a[e]=c}else a[e]=await s.read(r,o)}else if(i.httpPrefixHeaders!==void 0){a[e]={};for(let[t,o]of Object.entries(n.headers))if(t.startsWith(i.httpPrefixHeaders)){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(n,o)}}else i.httpResponseCode?a[e]=n.statusCode:l.push(e)}return l.discardResponseBody=o,l}},Rn=class extends In{async serializeRequest(e,t,n){let r=this.serializer,a={},o={},s=await n.endpoint(),c=Et.of(e?.input),l=c.getSchema(),u,d=t&&typeof t==`object`?t:{},ee=new i({protocol:``,hostname:``,port:void 0,path:`/`,fragment:void 0,query:a,headers:o,body:void 0});if(s&&(this.updateServiceEndpoint(ee,s),this.setHostPrefix(ee,e,d)),d){let e=c.getEventStreamMember();if(e){if(d[e]){let t={};for(let[n,i]of c.structIterator())n!==e&&d[n]&&(r.write(i,d[n]),t[n]=r.flush());u=await this.serializeEventStream({eventStream:d[e],requestSchema:c,initialRequest:t})}}else r.write(l,d),u=r.flush()}return ee.headers=Object.assign(ee.headers,o),ee.query=a,ee.body=u,ee.method=`POST`,ee}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - RPC Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=i.getEventStreamMember();if(o)a[o]=await this.deserializeEventStream({response:n,responseSchema:i,initialResponseContainer:a});else{let e=await ct(n.body,t);e.byteLength>0&&Object.assign(a,await r.read(i,e))}return a.$metadata=this.deserializeMetadata(n),a}};function zn(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7))return e.getSchema();let{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?typeof r==`string`||i?6:a||n?5:void 0:void 0)??t.timestampFormat.default}var Bn=class extends jn{settings;constructor(e){super(),this.settings=e}read(e,t){let n=Et.of(e);if(n.isListSchema())return On(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??He)(t);if(n.isTimestampSchema())switch(zn(n,this.settings)){case 5:return wn(t);case 6:return Tn(t);case 7:return Cn(t);default:return console.warn(`Missing timestamp format, parsing value with Date constructor:`,t),new Date(t)}if(n.isStringSchema()){let e=n.getMergedTraits().mediaType,r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),(e===`application/json`||e.endsWith(`+json`))&&(r=dn.from(r)),r}return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new An(t,`bigDecimal`):n.isBooleanSchema()?String(t).toLowerCase()===`true`:t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??ce)((this.serdeContext?.base64Decoder??He)(e))}},Vn=class extends jn{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new Bn(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let n=Et.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??ce;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??se;return typeof t==`string`?e(t):t}else if(n.isStringSchema())return`byteLength`in t?i(t):t}return this.codecDeserializer.read(n,t)}},Hn=class extends jn{settings;stringBuffer=``;constructor(e){super(),this.settings=e}write(e,t){let n=Et.of(e);switch(typeof t){case`object`:if(t===null){this.stringBuffer=`null`;return}if(n.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(zn(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(`.000Z`,`Z`);break;case 6:this.stringBuffer=Jt(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using epoch seconds`,t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&`byteLength`in t){this.stringBuffer=(this.serdeContext?.base64Encoder??Ue)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e=``;for(let r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);let t=this.flush(),i=n.getValueSchema().isTimestampSchema()?t:fn(t);e!==``&&(e+=`, `),e+=i}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case`string`:let e=n.getMergedTraits().mediaType,r=t;if(e&&((e===`application/json`||e.endsWith(`+json`))&&(r=dn.from(r)),n.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??Ue)(r.toString());return}this.stringBuffer=t;break;default:n.isIdempotencyToken()?this.stringBuffer=un():this.stringBuffer=String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer=``,e}},Un=class{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new Hn(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let n=Et.of(e),r=n.getMergedTraits();if(r.httpHeader||r.httpLabel||r.httpQuery){this.stringSerializer.write(n,t),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==void 0){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}};function Wn(e,t,n){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features[t]=n}var Gn=class{authSchemes=new Map;constructor(e){for(let[t,n]of Object.entries(e))n!==void 0&&this.authSchemes.set(t,n)}getIdentityProvider(e){return this.authSchemes.get(e)}},Kn=(e=>function(t){return qn(t)&&t.expiration.getTime()-Date.now()e.expiration!==void 0,Jn=(e,t,n)=>{if(e===void 0)return;let r=typeof e==`function`?e:async()=>Promise.resolve(e),i,a,o,s=!1,c=async e=>{a||=r(e);try{i=await a,o=!0,s=!1}finally{a=void 0}return i};return t===void 0?async e=>((!o||e?.forceRefresh)&&(i=await c(e)),i):async e=>((!o||e?.forceRefresh)&&(i=await c(e)),s?i:n(i)?(t(i)&&await c(e),i):(s=!0,i))};function Yn(e){return e===void 0?!0:typeof e==`string`&&e.length<=50}function Xn(e){let t=Re(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:typeof n==`string`?[[n]]:n,userAgentAppId:async()=>{let n=await t();if(!Yn(n)){let t=e.logger?.constructor?.name===`NoOpLogger`||!e.logger?console:e.logger;typeof n==`string`?n.length>50&&t?.warn(`The provided userAgentAppId exceeds the maximum length of 50 characters.`):t?.warn(`userAgentAppId must be a string or undefined.`)}return n}})}var Zn=class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let n=this.hash(e);if(n===!1)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t=``,{parameters:n}=this;if(n.length===0)return!1;for(let r of n){let n=String(e[r]??``);if(n.includes(`|;`))return!1;t+=n+`|;`}return t}},Qn=RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`),$n=e=>Qn.test(e)||e.startsWith(`[`)&&e.endsWith(`]`),er=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),tr=(e,t=!1)=>{if(!t)return er.test(e);let n=e.split(`.`);for(let e of n)if(!tr(e))return!1;return!0},nr={},rr=`endpoints`;function ir(e){return typeof e!=`object`||!e?e:`ref`in e?`$${ir(e.ref)}`:`fn`in e?`${e.fn}(${(e.argv||[]).map(ir).join(`, `)})`:JSON.stringify(e,null,2)}var ar=class extends Error{constructor(e){super(e),this.name=`EndpointError`}},or=(e,t)=>e===t,sr=e=>{let t=e.split(`.`),n=[];for(let r of t){let t=r.indexOf(`[`);if(t!==-1){if(r.indexOf(`]`)!==r.length-1)throw new ar(`Path: '${e}' does not end with ']'`);let i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new ar(`Invalid array index: '${i}' in path: '${e}'`);t!==0&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n},cr=(e,t)=>sr(t).reduce((n,r)=>{if(typeof n!=`object`)throw new ar(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(n)?n[parseInt(r)]:n[r]},e),lr=e=>e!=null,ur=e=>!e,dr={[pe.HTTP]:80,[pe.HTTPS]:443},fr={booleanEquals:or,getAttr:cr,isSet:lr,isValidHostLabel:tr,not:ur,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if(typeof e==`object`&&`hostname`in e){let{hostname:t,port:n,protocol:r=``,path:i=``,query:a={}}=e,o=new URL(`${r}//${t}${n?`:${n}`:``}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`&`),o}return new URL(e)}catch{return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:r,hostname:i,pathname:a,protocol:o,search:s}=t;if(s)return null;let c=o.slice(0,-1);if(!Object.values(pe).includes(c))return null;let l=$n(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${dr[c]}`)||typeof e==`string`&&e.includes(`${r}:${dr[c]}`)?`:${dr[c]}`:``}`,path:a,normalizedPath:a.endsWith(`/`)?a:`${a}/`,isIp:l}},stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>t>=n||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},pr=(e,t)=>{let n=[],r={...t.endpointParams,...t.referenceRecord},i=0;for(;i({...t.endpointParams,...t.referenceRecord})[e],hr=(e,t,n)=>{if(typeof e==`string`)return pr(e,n);if(e.fn)return _r.callFunction(e,n);if(e.ref)return mr(e,n);throw new ar(`'${t}': ${String(e)} is not a string, function or reference.`)},gr=({fn:e,argv:t},n)=>{let r=t.map(e=>[`boolean`,`number`].includes(typeof e)?e:_r.evaluateExpression(e,`arg`,n)),i=e.split(`.`);return i[0]in nr&&i[1]!=null?nr[i[0]][i[1]](...r):fr[e](...r)},_r={evaluateExpression:hr,callFunction:gr},vr=({assign:e,...t},n)=>{if(e&&e in n.referenceRecord)throw new ar(`'${e}' is already defined in Reference Record.`);let r=gr(t,n);return n.logger?.debug?.(`${rr} evaluateCondition: ${ir(t)} = ${ir(r)}`),{result:r===``?!0:!!r,...e!=null&&{toAssign:{name:e,value:r}}}},yr=(e=[],t)=>{let n={};for(let r of e){let{result:e,toAssign:i}=vr(r,{...t,referenceRecord:{...t.referenceRecord,...n}});if(!e)return{result:e};i&&(n[i.name]=i.value,t.logger?.debug?.(`${rr} assign: ${i.name} := ${ir(i.value)}`))}return{result:!0,referenceRecord:n}},br=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r.map(e=>{let r=hr(e,`Header value entry`,t);if(typeof r!=`string`)throw new ar(`Header '${n}' value '${r}' is not a string`);return r})}),{}),xr=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:Cr.getEndpointProperty(r,t)}),{}),Sr=(e,t)=>{if(Array.isArray(e))return e.map(e=>Sr(e,t));switch(typeof e){case`string`:return pr(e,t);case`object`:if(e===null)throw new ar(`Unexpected endpoint property: ${e}`);return Cr.getEndpointProperties(e,t);case`boolean`:return e;default:throw new ar(`Unexpected endpoint property type: ${typeof e}`)}},Cr={getEndpointProperty:Sr,getEndpointProperties:xr},wr=(e,t)=>{let n=hr(e,`Endpoint URL`,t);if(typeof n==`string`)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new ar(`Endpoint URL must be a string, got ${typeof n}`)},Tr=(e,t)=>{let{conditions:n,endpoint:r}=e,{result:i,referenceRecord:a}=yr(n,t);if(!i)return;let o={...t,referenceRecord:{...t.referenceRecord,...a}},{url:s,properties:c,headers:l}=r;return t.logger?.debug?.(`${rr} Resolving endpoint from template: ${ir(r)}`),{...l!=null&&{headers:br(l,o)},...c!=null&&{properties:xr(c,o)},url:wr(s,o)}},Er=(e,t)=>{let{conditions:n,error:r}=e,{result:i,referenceRecord:a}=yr(n,t);if(i)throw new ar(hr(r,`Error`,{...t,referenceRecord:{...t.referenceRecord,...a}}))},Dr=(e,t)=>{for(let n of e)if(n.type===`endpoint`){let e=Tr(n,t);if(e)return e}else if(n.type===`error`)Er(n,t);else if(n.type===`tree`){let e=Or.evaluateTreeRule(n,t);if(e)return e}else throw new ar(`Unknown endpoint rule: ${n}`);throw new ar(`Rules evaluation failed`)},Or={evaluateRules:Dr,evaluateTreeRule:(e,t)=>{let{conditions:n,rules:r}=e,{result:i,referenceRecord:a}=yr(n,t);if(i)return Or.evaluateRules(r,{...t,referenceRecord:{...t.referenceRecord,...a}})}},kr=(e,t)=>{let{endpointParams:n,logger:r}=t,{parameters:i,rules:a}=e;t.logger?.debug?.(`${rr} Initial EndpointParams: ${ir(n)}`);let o=Object.entries(i).filter(([,e])=>e.default!=null).map(([e,t])=>[e,t.default]);if(o.length>0)for(let[e,t]of o)n[e]=n[e]??t;let s=Object.entries(i).filter(([,e])=>e.required).map(([e])=>e);for(let e of s)if(n[e]==null)throw new ar(`Missing required parameter: '${e}'`);let c=Dr(a,{endpointParams:n,logger:r,referenceRecord:{}});return t.logger?.debug?.(`${rr} Resolved endpoint: ${ir(c)}`),c},Ar=(e,t=!1)=>{if(t){for(let t of e.split(`.`))if(!Ar(t))return!1;return!0}return!(!tr(e)||e.length<3||e.length>63||e!==e.toLowerCase()||$n(e))},jr=`:`,Mr=`/`,Nr=e=>{let t=e.split(jr);if(t.length<6)return null;let[n,r,i,a,o,...s]=t;return n!==`arn`||r===``||i===``||s.join(jr)===``?null:{partition:r,service:i,region:a,accountId:o,resourceId:s.map(e=>e.split(Mr)).flat()}},Pr={partitions:[{id:`aws`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-east-1`,name:`aws`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$`,regions:{"af-south-1":{description:`Africa (Cape Town)`},"ap-east-1":{description:`Asia Pacific (Hong Kong)`},"ap-east-2":{description:`Asia Pacific (Taipei)`},"ap-northeast-1":{description:`Asia Pacific (Tokyo)`},"ap-northeast-2":{description:`Asia Pacific (Seoul)`},"ap-northeast-3":{description:`Asia Pacific (Osaka)`},"ap-south-1":{description:`Asia Pacific (Mumbai)`},"ap-south-2":{description:`Asia Pacific (Hyderabad)`},"ap-southeast-1":{description:`Asia Pacific (Singapore)`},"ap-southeast-2":{description:`Asia Pacific (Sydney)`},"ap-southeast-3":{description:`Asia Pacific (Jakarta)`},"ap-southeast-4":{description:`Asia Pacific (Melbourne)`},"ap-southeast-5":{description:`Asia Pacific (Malaysia)`},"ap-southeast-6":{description:`Asia Pacific (New Zealand)`},"ap-southeast-7":{description:`Asia Pacific (Thailand)`},"aws-global":{description:`aws global region`},"ca-central-1":{description:`Canada (Central)`},"ca-west-1":{description:`Canada West (Calgary)`},"eu-central-1":{description:`Europe (Frankfurt)`},"eu-central-2":{description:`Europe (Zurich)`},"eu-north-1":{description:`Europe (Stockholm)`},"eu-south-1":{description:`Europe (Milan)`},"eu-south-2":{description:`Europe (Spain)`},"eu-west-1":{description:`Europe (Ireland)`},"eu-west-2":{description:`Europe (London)`},"eu-west-3":{description:`Europe (Paris)`},"il-central-1":{description:`Israel (Tel Aviv)`},"me-central-1":{description:`Middle East (UAE)`},"me-south-1":{description:`Middle East (Bahrain)`},"mx-central-1":{description:`Mexico (Central)`},"sa-east-1":{description:`South America (Sao Paulo)`},"us-east-1":{description:`US East (N. Virginia)`},"us-east-2":{description:`US East (Ohio)`},"us-west-1":{description:`US West (N. California)`},"us-west-2":{description:`US West (Oregon)`}}},{id:`aws-cn`,outputs:{dnsSuffix:`amazonaws.com.cn`,dualStackDnsSuffix:`api.amazonwebservices.com.cn`,implicitGlobalRegion:`cn-northwest-1`,name:`aws-cn`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^cn\\-\\w+\\-\\d+$`,regions:{"aws-cn-global":{description:`aws-cn global region`},"cn-north-1":{description:`China (Beijing)`},"cn-northwest-1":{description:`China (Ningxia)`}}},{id:`aws-eusc`,outputs:{dnsSuffix:`amazonaws.eu`,dualStackDnsSuffix:`api.amazonwebservices.eu`,implicitGlobalRegion:`eusc-de-east-1`,name:`aws-eusc`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eusc\\-(de)\\-\\w+\\-\\d+$`,regions:{"eusc-de-east-1":{description:`AWS European Sovereign Cloud (Germany)`}}},{id:`aws-iso`,outputs:{dnsSuffix:`c2s.ic.gov`,dualStackDnsSuffix:`api.aws.ic.gov`,implicitGlobalRegion:`us-iso-east-1`,name:`aws-iso`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-iso\\-\\w+\\-\\d+$`,regions:{"aws-iso-global":{description:`aws-iso global region`},"us-iso-east-1":{description:`US ISO East`},"us-iso-west-1":{description:`US ISO WEST`}}},{id:`aws-iso-b`,outputs:{dnsSuffix:`sc2s.sgov.gov`,dualStackDnsSuffix:`api.aws.scloud`,implicitGlobalRegion:`us-isob-east-1`,name:`aws-iso-b`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isob\\-\\w+\\-\\d+$`,regions:{"aws-iso-b-global":{description:`aws-iso-b global region`},"us-isob-east-1":{description:`US ISOB East (Ohio)`},"us-isob-west-1":{description:`US ISOB West`}}},{id:`aws-iso-e`,outputs:{dnsSuffix:`cloud.adc-e.uk`,dualStackDnsSuffix:`api.cloud-aws.adc-e.uk`,implicitGlobalRegion:`eu-isoe-west-1`,name:`aws-iso-e`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eu\\-isoe\\-\\w+\\-\\d+$`,regions:{"aws-iso-e-global":{description:`aws-iso-e global region`},"eu-isoe-west-1":{description:`EU ISOE West`}}},{id:`aws-iso-f`,outputs:{dnsSuffix:`csp.hci.ic.gov`,dualStackDnsSuffix:`api.aws.hci.ic.gov`,implicitGlobalRegion:`us-isof-south-1`,name:`aws-iso-f`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isof\\-\\w+\\-\\d+$`,regions:{"aws-iso-f-global":{description:`aws-iso-f global region`},"us-isof-east-1":{description:`US ISOF EAST`},"us-isof-south-1":{description:`US ISOF SOUTH`}}},{id:`aws-us-gov`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-gov-west-1`,name:`aws-us-gov`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-gov\\-\\w+\\-\\d+$`,regions:{"aws-us-gov-global":{description:`aws-us-gov global region`},"us-gov-east-1":{description:`AWS GovCloud (US-East)`},"us-gov-west-1":{description:`AWS GovCloud (US-West)`}}}],version:`1.1`},Fr=``,Ir=e=>{let{partitions:t}=Pr;for(let n of t){let{regions:t,outputs:r}=n;for(let[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(let n of t){let{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}let n=t.find(e=>e.id===`aws`);if(!n)throw Error(`Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.`);return{...n.outputs}},Lr=()=>Fr,Rr={isVirtualHostableS3Bucket:Ar,parseArn:Nr,partition:Ir};nr.aws=Rr;function zr(e,t,n){return e.$source||={},e.$source[t]=n,e}function Br(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}var Vr;(function(e){e.STANDARD=`standard`,e.ADAPTIVE=`adaptive`})(Vr||={});var Hr=Vr.STANDARD,iee=[`BandwidthLimitExceeded`,`EC2ThrottledException`,`LimitExceededException`,`PriorRequestNotComplete`,`ProvisionedThroughputExceededException`,`RequestLimitExceeded`,`RequestThrottled`,`RequestThrottledException`,`SlowDown`,`ThrottledException`,`Throttling`,`ThrottlingException`,`TooManyRequestsException`,`TransactionInProgressException`],aee=[`TimeoutError`,`RequestTimeout`,`RequestTimeoutException`],oee=[500,502,503,504],see=[`ECONNRESET`,`ECONNREFUSED`,`EPIPE`,`ETIMEDOUT`],cee=[`EHOSTUNREACH`,`ENETUNREACH`,`ENOTFOUND`],lee=e=>e?.$retryable!==void 0,uee=e=>e.$metadata?.clockSkewCorrected,dee=e=>{let t=new Set([`Failed to fetch`,`NetworkError when attempting to fetch resource`,`The Internet connection appears to be offline`,`Load failed`,`Network request failed`]);return e&&e instanceof TypeError?t.has(e.message):!1},Ur=e=>e.$metadata?.httpStatusCode===429||iee.includes(e.name)||e.$retryable?.throttling==1,Wr=(e,t=0)=>lee(e)||uee(e)||aee.includes(e.name)||see.includes(e?.code||``)||cee.includes(e?.code||``)||oee.includes(e.$metadata?.httpStatusCode||0)||dee(e)||e.cause!==void 0&&t<=10&&Wr(e.cause,t+1),fee=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!Wr(e)}return!1},pee=class e{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();let n=e;if(n?.errorType===`THROTTLING`||Ur(n?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(t){if(this.enabled){if(this.refillTokenBucket(),t>this.availableTokens){let n=(t-this.availableTokens)/this.fillRate*1e3;await new Promise(t=>e.setTimeoutFn(t,n))}this.availableTokens-=t}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise((this.lastMaxRate*(1-this.beta)/this.scaleConstant)**(1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*(e-this.lastThrottleTime-this.timeWindow)**3+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(e*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}},Gr=20*1e3,Kr=`amz-sdk-invocation-id`,qr=`amz-sdk-request`,Jr=class e{static v2026=typeof process<`u`&&{}?.SMITHY_NEW_RETRIES_2026===`true`;static delay(){return e.v2026?50:100}static throttlingDelay(){return e.v2026?1e3:500}static cost(){return e.v2026?14:5}static throttlingCost(){return e.v2026?5:10}static modifiedCostType(){return e.v2026?`THROTTLING`:`TRANSIENT`}},Yr=class{x=Jr.delay();computeNextBackoffDelay(e){let t=Math.random()*Math.min(this.x*2**e,Gr);return Math.floor(t)}setDelayBase(e){this.x=e}},Xr=class{delay;count;cost;longPoll;constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Gr,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}},Zr=class{mode=Vr.STANDARD;capacity=500;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(e){typeof e==`number`?this.maxAttemptsProvider=async()=>e:typeof e==`function`?this.maxAttemptsProvider=e:e&&typeof e==`object`&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=Jr.delay(),this.retryBackoffStrategy??=new Yr}async acquireInitialRetryToken(e){return new Xr(Jr.delay(),0,void 0,Jr.v2026&&e.includes(`:longpoll`))}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts(),r=this.shouldRetry(e,t,n);if(r||e.isLongPoll?.()){let n=t.errorType;this.retryBackoffStrategy.setDelayBase(n===`THROTTLING`?Jr.throttlingDelay():this.baseDelay);let i=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),a=i;if(t.retryAfterHint instanceof Date&&(a=Math.max(i,Math.min(t.retryAfterHint.getTime()-Date.now(),i+5e3))),r){let t=this.getCapacityCost(n);return this.capacity-=t,new Xr(a,e.getRetryCount()+1,t,e.isLongPoll?.()??!1)}else throw Object.assign(Error(`No retry token available`),{$backoff:Jr.v2026?a:0})}throw Error(`No retry token available`)}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of 3`),3}}shouldRetry(e,t,n){return e.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return e===Jr.modifiedCostType()?Jr.throttlingCost():Jr.cost()}isRetryableError(e){return e===`THROTTLING`||e===`TRANSIENT`}async maxAttempts(){return this.maxAttemptsProvider()}},Qr=class{mode=Vr.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:n}=t??{};this.rateLimiter=n??new pee,this.standardRetryStrategy=t?new Zr({maxAttempts:typeof e==`number`?e:3,...t}):new Zr(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}},$r=/\d{12}\.ddb/;async function ei(e,t,n){if(n.request?.headers?.[`smithy-protocol`]===`rpc-v2-cbor`&&Br(e,`PROTOCOL_RPC_V2_CBOR`,`M`),typeof t.retryStrategy==`function`){let n=await t.retryStrategy();if(typeof n.mode==`string`)switch(n.mode){case Vr.ADAPTIVE:Br(e,`RETRY_MODE_ADAPTIVE`,`F`);break;case Vr.STANDARD:Br(e,`RETRY_MODE_STANDARD`,`E`);break}}if(typeof t.accountIdEndpointMode==`function`){let n=e.endpointV2;switch(String(n?.url?.hostname).match($r)&&Br(e,`ACCOUNT_ID_ENDPOINT`,`O`),await t.accountIdEndpointMode?.()){case`disabled`:Br(e,`ACCOUNT_ID_MODE_DISABLED`,`Q`);break;case`preferred`:Br(e,`ACCOUNT_ID_MODE_PREFERRED`,`P`);break;case`required`:Br(e,`ACCOUNT_ID_MODE_REQUIRED`,`R`);break}}let r=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){let t=r;t.accountId&&Br(e,`RESOLVED_ACCOUNT_ID`,`T`);for(let[n,r]of Object.entries(t.$source??{}))Br(e,n,r)}}var ti=`user-agent`,ni=`x-amz-user-agent`,ri=/[^!$%&'*+\-.^_`|~\w]/g,ii=/[^!$%&'*+\-.^_`|~\w#]/g,ai=1024;function oi(e){let t=``;for(let n in e){let r=e[n];if(t.length+r.length+1<=ai){t.length?t+=`,`+r:t+=r;continue}break}return t}var si=e=>(t,n)=>async r=>{let{request:a}=r;if(!i.isInstance(a))return t(r);let{headers:o}=a,s=n?.userAgent?.map(ci)||[],c=(await e.defaultUserAgentProvider()).map(ci);await ei(n,e,r);let l=n;c.push(`m/${oi(Object.assign({},n.__smithy_context?.features,l.__aws_sdk_context?.features))}`);let u=e?.customUserAgent?.map(ci)||[],d=await e.userAgentAppId();d&&c.push(ci([`app`,`${d}`]));let ee=Lr(),te=(ee?[ee]:[]).concat([...c,...s,...u]).join(` `),f=[...c.filter(e=>e.startsWith(`aws-sdk-`)),...u].join(` `);return e.runtime===`browser`?o[ni]=te:(f&&(o[ni]=o[`x-amz-user-agent`]?`${o[ti]} ${f}`:f),o[ti]=te),t({...r,request:a})},ci=e=>{let t=e[0].split(`/`).map(e=>e.replace(ri,`-`)).join(`/`),n=e[1]?.replace(ii,`-`),r=t.indexOf(`/`),i=t.substring(0,r),a=t.substring(r+1);return i===`api`&&(a=a.toLowerCase()),[i,a,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},``)},li={name:`getUserAgentMiddleware`,step:`build`,priority:`low`,tags:[`SET_USER_AGENT`,`USER_AGENT`],override:!0},ui=e=>({applyToStack:t=>{t.add(si(e),li)}}),di=new Set,fi=(e,t=tr)=>{if(!di.has(e)&&!t(e))if(e===`*`)console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`);else di.add(e)},pi=e=>typeof e==`string`&&(e.startsWith(`fips-`)||e.endsWith(`-fips`)),mi=e=>pi(e)?[`fips-aws-global`,`aws-fips`].includes(e)?`us-east-1`:e.replace(/fips-(dkr-|prod-)?|-fips/,``):e,hi=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error(`Region is missing`);return Object.assign(e,{region:async()=>{let e=mi(typeof t==`function`?await t():t);return fi(e),e},useFipsEndpoint:async()=>pi(typeof t==`string`?t:await t())?!0:typeof n==`function`?n():Promise.resolve(!!n)})},gi=`content-length`;function _i(e){return t=>async n=>{let r=n.request;if(i.isInstance(r)){let{body:t,headers:n}=r;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(gi)===-1)try{let n=e(t);r.headers={...r.headers,[gi]:String(n)}}catch{}}return t({...n,request:r})}}var vi={step:`build`,tags:[`SET_CONTENT_LENGTH`,`CONTENT_LENGTH`],name:`contentLengthMiddleware`,override:!0},yi=e=>({applyToStack:t=>{t.add(_i(e.bodyLengthChecker),vi)}}),bi=async e=>{let t=e?.Bucket||``;if(typeof e.Bucket==`string`&&(e.Bucket=t.replace(/#/g,`%23`).replace(/\?/g,`%3F`)),Ti(t)){if(e.ForcePathStyle===!0)throw Error(`Path-style addressing cannot be used with ARN buckets`)}else (!wi(t)||t.indexOf(`.`)!==-1&&!String(e.Endpoint).startsWith(`http:`)||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},xi=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Si=/(\d+\.){3}\d+/,Ci=/\.\./,wi=e=>xi.test(e)&&!Si.test(e)&&!Ci.test(e),Ti=e=>{let[t,n,r,,,i]=e.split(`:`),a=t===`arn`&&e.split(`:`).length>=6,o=!!(a&&n&&r&&i);if(a&&!o)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return o},Ei=(e,t,n,r=!1)=>{let i=async()=>{let i;return i=r?n.clientContextParams?.[e]??n[e]??n[t]:n[e]??n[t],typeof i==`function`?i():i};return e===`credentialScope`||t===`CredentialScope`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:e===`accountId`||t===`AccountId`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.accountId??e?.AccountId}:e===`endpoint`||t===`endpoint`?async()=>{if(n.isCustomEndpoint===!1)return;let e=await i();if(e&&typeof e==`object`){if(`url`in e)return e.url.href;if(`hostname`in e){let{protocol:t,hostname:n,port:r,path:i}=e;return`${t}//${n}${r?`:`+r:``}${i}`}}return e}:i},Di=async e=>void 0,Oi=e=>{if(typeof e==`object`){if(`url`in e){let t=ht(e.url);if(e.headers){t.headers={};for(let[n,r]of Object.entries(e.headers))t.headers[n.toLowerCase()]=r.join(`, `)}return t}return e}return ht(e)},ki=async(e,t,n,r)=>{if(!n.isCustomEndpoint){let e;e=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await Di(n.serviceId),e&&(n.endpoint=()=>Promise.resolve(Oi(e)),n.isCustomEndpoint=!0)}let i=await Ai(e,t,n);if(typeof n.endpointProvider!=`function`)throw Error(`config.endpointProvider is not set.`);let a=n.endpointProvider(i,r);if(n.isCustomEndpoint&&n.endpoint){let e=await n.endpoint();if(e?.headers){a.headers??={};for(let[t,n]of Object.entries(e.headers))a.headers[t]=Array.isArray(n)?n:[n]}}return a},Ai=async(e,t,n)=>{let r={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,a]of Object.entries(i))switch(a.type){case`staticContextParams`:r[t]=a.value;break;case`contextParams`:r[t]=e[a.name];break;case`clientContextParams`:case`builtInParams`:r[t]=await Ei(a.name,t,n,a.type!==`builtInParams`)();break;case`operationContextParams`:r[t]=a.get(e);break;default:throw Error(`Unrecognized endpoint parameter instruction: `+JSON.stringify(a))}return Object.keys(i).length===0&&Object.assign(r,n),String(n.serviceId).toLowerCase()===`s3`&&await bi(r),r},ji=({config:e,instructions:t})=>(n,r)=>async i=>{e.isCustomEndpoint&&Wn(r,`ENDPOINT_OVERRIDE`,`N`);let a=await ki(i.input,{getEndpointParameterInstructions(){return t}},{...e},r);r.endpointV2=a,r.authSchemes=a.properties?.authSchemes;let o=r.authSchemes?.[0];if(o){r.signing_region=o.signingRegion,r.signing_service=o.signingName;let e=_e(r)?.selectedHttpAuthScheme?.httpAuthOption;e&&(e.signingProperties=Object.assign(e.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return n({...i})},Mi={step:`serialize`,tags:[`ENDPOINT_PARAMETERS`,`ENDPOINT_V2`,`ENDPOINT`],name:`endpointV2Middleware`,override:!0,relation:`before`,toMiddleware:{name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0}.name},Ni=(e,t)=>({applyToStack:n=>{n.addRelativeTo(ji({config:e,instructions:t}),Mi)}}),Pi=e=>{let t=e.tls??!0,{endpoint:n,useDualstackEndpoint:r,useFipsEndpoint:i}=e,a=Object.assign(e,{endpoint:n==null?void 0:async()=>Oi(await f(n)()),tls:t,isCustomEndpoint:!!n,useDualstackEndpoint:f(r??!1),useFipsEndpoint:f(i??!1)}),o;return a.serviceConfiguredEndpoint=async()=>(e.serviceId&&!o&&(o=Di(e.serviceId)),o),a},Fi=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):Error(typeof e==`string`?e:`AWS SDK error wrapper for ${e}`),Ii=e=>{let{retryStrategy:t,retryMode:n}=e,r=f(e.maxAttempts??3),i=t?Promise.resolve(t):void 0,a=async()=>await f(n)()===Vr.ADAPTIVE?new Qr(r):new Zr(r);return Object.assign(e,{maxAttempts:r,retryStrategy:()=>i??=a()})},Li=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},Ri=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,zi=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>Bi[t.step]-Bi[e.step]||Vi[t.priority||`normal`]-Vi[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=Li(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of Li(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(u.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of Li(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of Li(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${Ri(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},u={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=Li(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${Ri(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${Ri(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${Ri(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=Li(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${Ri(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${Ri(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${Ri(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(zi()),use:e=>{e.applyToStack(u)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=Li(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(zi());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return Ri(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(u.identify()),e}};return u},Bi={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Vi={high:3,normal:2,low:1},Hi=class{config;middlewareStack=zi();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:n}=e;n&&typeof t==`function`&&(e.protocol=new t(n))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||=new WeakMap;let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}},Ui=`***SensitiveInformation***`;function Wi(e,t){if(t==null)return t;let n=Et.of(e);if(n.getMergedTraits().sensitive)return Ui;if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return Ui}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return Ui}else if(n.isStructSchema()&&typeof t==`object`){let e=t,r={};for(let[t,i]of n.structIterator())e[t]!=null&&(r[t]=Wi(i,e[t]));return r}return t}var Gi=class{middlewareStack=zi();schema;static classBuilder(){return new Ki}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:l,CommandCtor:u}){for(let i of r.bind(this)(u,e,t,n))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:ee}=t,te={logger:ee,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,[he]:{commandInstance:this,...c},...l},{requestHandler:f}=t;return d.resolve(e=>f.handle(e.request,n||{}),te)}},Ki=class{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName=``;_clientName=``;_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e=this,t;return t=class extends Gi{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){let a=e._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?Wi.bind(null,o):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?Wi.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}},qi=class e extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(t){if(!t)return!1;let n=t;return e.prototype.isPrototypeOf(n)||!!n.$fault&&!!n.$metadata&&(n.$fault===`client`||n.$fault===`server`)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t;return this===e?e.isInstance(t):e.isInstance(t)?n.name&&this.name?this.prototype.isPrototypeOf(t)||n.name===this.name:this.prototype.isPrototypeOf(t):!1}},Ji=(e,t={})=>(Object.entries(t).filter(([,e])=>e!==void 0).forEach(([t,n])=>{(e[t]==null||e[t]===``)&&(e[t]=n)}),e.message=e.message||e.Message||`UnknownError`,delete e.Message,e),Yi=e=>{switch(e){case`standard`:return{retryMode:`standard`,connectionTimeout:3100};case`in-region`:return{retryMode:`standard`,connectionTimeout:1100};case`cross-region`:return{retryMode:`standard`,connectionTimeout:3100};case`mobile`:return{retryMode:`standard`,connectionTimeout:3e4};default:return{}}},Xi=Object.values(me),Zi=e=>{let t=[];for(let n in me){let r=me[n];e[r]!==void 0&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}for(let[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};let r=n.algorithmId(),i=n.checksumConstructor();Xi.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms(){return t}}},Qi=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let n=e.algorithmId();Xi.includes(n)&&(t[n]=e.checksumConstructor())}),t},$i=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}}),ea=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},ta=e=>Object.assign(Zi(e),$i(e)),na=e=>Object.assign(Qi(e),ea(e)),ra=e=>{let t=`#text`;for(let n in e)e.hasOwnProperty(n)&&e[n][t]!==void 0?e[n]=e[n][t]:typeof e[n]==`object`&&e[n]!==null&&(e[n]=ra(e[n]));return e},ia=class{trace(){}debug(){}info(){}warn(){}error(){}},aa=e=>e?.body instanceof ReadableStream;function oa(e,t){if(ge.isInstance(e))for(let n of Object.keys(e.headers)){let r=n.toLowerCase();if(r===`retry-after`){let r=e.headers[n],i=NaN;if(r.endsWith(`GMT`))try{i=(Qt(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.(`Failed to parse retry-after header`),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);return isNaN(i)?void 0:new Date(Date.now()+i*1e3)}else if(r===`x-amz-retry-after`){let r=e.headers[n],i=Number(r);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${r}`);return}return new Date(Date.now()+i)}}}var sa=e=>(t,n)=>async r=>{let a=await e.retryStrategy(),o=await e.maxAttempts();if(la(a)){a=a;let s=await a.acquireInitialRetryToken((n.partition_id??``)+(n.__retryLongPoll?`:longpoll`:``)),c=Error(),l=0,u=0,{request:d}=r,ee=i.isInstance(d);for(ee&&(d.headers[Kr]=un());;)try{ee&&(d.headers[qr]=`attempt=${l+1}; max=${o}`);let{response:e,output:n}=await t(r);return a.recordSuccess(s),n.$metadata.attempts=l+1,n.$metadata.totalRetryDelay=u,{response:e,output:n}}catch(t){let r=ua(t,e.logger);if(c=Fi(t),ee&&aa(d))throw(n.logger instanceof ia?console:n.logger)?.warn(`An error was encountered in a non-retryable streaming request.`),c;try{s=await a.refreshRetryTokenForRetry(s,r)}catch(e){throw typeof e.$backoff==`number`&&await ca(e.$backoff),c.$metadata||={},c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=u,c}l=s.getRetryCount();let i=s.getRetryDelay();u+=i,await ca(i)}}else return a=a,a?.mode&&(n.userAgent=[...n.userAgent||[],[`cfg/retry-mode`,a.mode]]),a.retry(t,r)},ca=e=>new Promise(t=>setTimeout(t,e)),la=e=>e.acquireInitialRetryToken!==void 0&&e.refreshRetryTokenForRetry!==void 0&&e.recordSuccess!==void 0,ua=(e,t)=>{let n={error:e,errorType:da(e)},r=oa(e.$response,t);return r&&(n.retryAfterHint=r),n},da=e=>Ur(e)?`THROTTLING`:Wr(e)?`TRANSIENT`:fee(e)?`SERVER_ERROR`:`CLIENT_ERROR`,fa={name:`retryMiddleware`,tags:[`RETRY`],step:`finalizeRequest`,priority:`high`,override:!0},pa=e=>({applyToStack:t=>{t.add(sa(e),fa)}}),ma=e=>ge.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,ha=e=>new Date(Date.now()+e),ga=(e,t)=>Math.abs(ha(t).getTime()-e)>=3e5,_a=(e,t)=>{let n=Date.parse(e);return ga(n,t)?n-Date.now():t},va=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},ya=async e=>{let t=va(`context`,e.context),n=va(`config`,e.config),r=t.endpointV2?.properties?.authSchemes?.[0];return{config:n,signer:await va(`signer`,n.signer)(r),signingRegion:e?.signingRegion,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}},ba=class{async sign(e,t,n){if(!i.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let r=await ya(n),{config:a,signer:o}=r,{signingRegion:s,signingName:c}=r,l=n.context;if(l?.authSchemes?.length??!1){let[e,t]=l.authSchemes;e?.name===`sigv4a`&&t?.name===`sigv4`&&(s=t?.signingRegion??s,c=t?.signingName??c)}return await o.sign(e,{signingDate:ha(a.systemClockOffset),signingRegion:s,signingService:c})}errorHandler(e){return t=>{let n=t.ServerTime??ma(t.$response);if(n){let r=va(`config`,e.config),i=r.systemClockOffset;r.systemClockOffset=_a(n,r.systemClockOffset),r.systemClockOffset!==i&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let n=ma(e);if(n){let e=va(`config`,t.config);e.systemClockOffset=_a(n,e.systemClockOffset)}}},xa=class extends ba{async sign(e,t,n){if(!i.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:r,signer:a,signingRegion:o,signingRegionSet:s,signingName:c}=await ya(n),l=(await r.sigv4aSigningRegionSet?.()??s??[o]).join(`,`);return await a.sign(e,{signingDate:ha(r.systemClockOffset),signingRegion:l,signingService:c})}},Sa=(e,t,n)=>{let r,i,a,o=!1,s=async()=>{i||=e();try{r=await i,a=!0,o=!1}finally{i=void 0}return r};return t===void 0?async e=>((!a||e?.forceRefresh)&&(r=await s()),r):async e=>((!a||e?.forceRefresh)&&(r=await s()),o?r:n&&!n(r)?(o=!0,r):(t(r)&&await s(),r))},Ca=e=>(e.sigv4aSigningRegionSet=Re(e.sigv4aSigningRegionSet),e),wa=e=>{let t=e.credentials,n=!!e.credentials,r;Object.defineProperty(e,`credentials`,{set(i){i&&i!==t&&i!==r&&(n=!0),t=i;let a=Ea(e,Ta(e,{credentials:t,credentialDefaultProvider:e.credentialDefaultProvider}));if(n&&!a.attributed){let e=typeof t==`object`&&!!t;r=async t=>{let n=await a(t);return e&&(!n.$source||Object.keys(n.$source).length===0)?zr(n,`CREDENTIALS_CODE`,`e`):n},r.memoized=a.memoized,r.configBound=a.configBound,r.attributed=!0}else r=a},get(){return r},enumerable:!0,configurable:!0}),e.credentials=t;let{signingEscapePath:i=!0,systemClockOffset:a=e.systemClockOffset||0,sha256:o}=e,s;return s=e.signer?Re(e.signer):e.regionInfoProvider?()=>Re(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{let{signingRegion:r,signingService:a}=t;e.signingRegion=e.signingRegion||r||n,e.signingName=e.signingName||a||e.serviceId;let s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||re)(s)}):async t=>{t=Object.assign({},{name:`sigv4`,signingName:e.signingName||e.defaultSigningName,signingRegion:await Re(e.region)(),properties:{}},t);let n=t.signingRegion,r=t.signingName;e.signingRegion=e.signingRegion||n,e.signingName=e.signingName||r||e.serviceId;let a={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||re)(a)},Object.assign(e,{systemClockOffset:a,signingEscapePath:i,signer:s})};function Ta(e,{credentials:t,credentialDefaultProvider:n}){let r;return r=t?t?.memoized?t:Jn(t,Kn,qn):n?Re(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},r.memoized=!0,r}function Ea(e,t){if(t.configBound)return t;let n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}var Da=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Oa(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`ec2`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var ka=e=>{let t=[];switch(e.operation){default:t.push(Oa(e))}return t},Aa=e=>{let t=wa(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},ja=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`ec2`}),Ma={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},Na={name:`@aws-sdk/client-ec2`,description:`AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native`,version:`3.1029.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-ec2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo ec2`,test:`yarn g:vitest run --passWithNoTests`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.973.27`,"@aws-sdk/credential-provider-node":`^3.972.30`,"@aws-sdk/middleware-host-header":`^3.972.9`,"@aws-sdk/middleware-logger":`^3.972.9`,"@aws-sdk/middleware-recursion-detection":`^3.972.10`,"@aws-sdk/middleware-sdk-ec2":`^3.972.19`,"@aws-sdk/middleware-user-agent":`^3.972.29`,"@aws-sdk/region-config-resolver":`^3.972.11`,"@aws-sdk/types":`^3.973.7`,"@aws-sdk/util-endpoints":`^3.996.6`,"@aws-sdk/util-user-agent-browser":`^3.972.9`,"@aws-sdk/util-user-agent-node":`^3.973.15`,"@smithy/config-resolver":`^4.4.14`,"@smithy/core":`^3.23.14`,"@smithy/fetch-http-handler":`^5.3.16`,"@smithy/hash-node":`^4.2.13`,"@smithy/invalid-dependency":`^4.2.13`,"@smithy/middleware-content-length":`^4.2.13`,"@smithy/middleware-endpoint":`^4.4.29`,"@smithy/middleware-retry":`^4.5.0`,"@smithy/middleware-serde":`^4.2.17`,"@smithy/middleware-stack":`^4.2.13`,"@smithy/node-config-provider":`^4.3.13`,"@smithy/node-http-handler":`^4.5.2`,"@smithy/protocol-http":`^5.3.13`,"@smithy/smithy-client":`^4.12.9`,"@smithy/types":`^4.14.0`,"@smithy/url-parser":`^4.2.13`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.45`,"@smithy/util-defaults-mode-node":`^4.2.49`,"@smithy/util-endpoints":`^3.3.4`,"@smithy/util-middleware":`^4.2.13`,"@smithy/util-retry":`^4.3.0`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.15`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.5`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-ec2`}},Pa=({serviceId:e,clientVersion:t})=>async n=>{let r=typeof window<`u`?window.navigator:void 0,i=r?.userAgent??``,a=r?.userAgentData?.platform??Fa.os(i)??`other`,o=r?.userAgentData?.brands??[],s=o[o.length-1],c=s?.brand??Fa.browser(i)??`unknown`,l=s?.version??`unknown`,u=[[`aws-sdk-js`,t],[`ua`,`2.1`],[`os/${a}`,void 0],[`lang/js`],[`md/browser`,`${c}_${l}`]];e&&u.push([`api/${e}`,t]);let d=await n?.userAgentAppId?.();return d&&u.push([`app/${d}`]),u},Fa={os(e){if(/iPhone|iPad|iPod/.test(e))return`iOS`;if(/Macintosh|Mac OS X/.test(e))return`macOS`;if(/Windows NT/.test(e))return`Windows`;if(/Android/.test(e))return`Android`;if(/Linux/.test(e))return`Linux`},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return`Microsoft Edge`;if(/Firefox\//.test(e))return`Firefox`;if(/Chrome\//.test(e))return`Chrome`;if(/Safari\//.test(e))return`Safari`}},Ia=e=>()=>Promise.reject(e),La=typeof TextEncoder==`function`?new TextEncoder:null,Ra=e=>{if(typeof e==`string`){if(La)return La.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){let r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}else if(typeof e.byteLength==`number`)return e.byteLength;else if(typeof e.size==`number`)return e.size;throw Error(`Body Length computation failed for ${e}`)},za=[`in-region`,`cross-region`,`mobile`,`standard`,`legacy`],Ba=({defaultsMode:e}={})=>Sa(async()=>{let t=typeof e==`function`?await e():e;switch(t?.toLowerCase()){case`auto`:return Promise.resolve(Va()?`mobile`:`standard`);case`mobile`:case`in-region`:case`cross-region`:case`standard`:case`legacy`:return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve(`legacy`);default:throw Error(`Invalid parameter for "defaultsMode", expect ${za.join(`, `)}, got ${t}`)}}),Va=()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:n,downlink:r}=e?.connection;if(typeof t==`string`&&t!==`4g`||Number(n)>100||Number(r)<10)return!0}return e?.userAgentData?.mobile||typeof e?.maxTouchPoints==`number`&&e?.maxTouchPoints>1},Ha=class{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let n=t.getMemberSchemas(),r=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(r)return r.getMergedTraits().mediaType||(r.isStringSchema()?`text/plain`:r.isBlobSchema()?`application/octet-stream`:e);if(!t.isUnitSchema()&&Object.values(n).find(e=>{let{httpQuery:t,httpQueryParams:n,httpHeader:r,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!n&&!r&&!i&&a===void 0}))return e}async getErrorSchemaOrThrowBaseException(e,t,n,r,i,a){let o=e;e.includes(`#`)&&([,o]=e.split(`#`));let s={$metadata:i,$fault:n.statusCode<500?`client`:`server`};if(!this.errorRegistry)throw Error(`@aws-sdk/core/protocols - error handler not initialized.`);try{return{errorSchema:a?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e),errorMetadata:s}}catch{r.message=r.message??r.Message??`UnknownError`;let e=this.errorRegistry,t=e.getBaseException();if(t){let n=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new n({name:o}),s),r)}let n=r,i=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(i),{name:o},s),r)}}compose(e,t,n){let r=n;t.includes(`#`)&&([r]=t.split(`#`));let i=At.for(r),a=At.for(`smithy.ts.sdk.synthetic.`+n);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let n=e.Message??t.Message,r=Ji(e,t);n&&(r.message=n),r.Error={...r.Error,Type:r.Error?.Type,Code:r.Error?.Code,Message:r.Error?.message??r.Error?.Message??n};let i=r.$metadata.requestId;return i&&(r.RequestId=i),r}return Ji(e,t)}setQueryCompatError(e,t){let n=t.headers?.[`x-amzn-query-error`];if(e!==void 0&&n!=null){let[t,r]=n.split(`;`),i=Object.entries(e),a={Code:t,Type:r};Object.assign(e,a);for(let[e,t]of i)a[e===`message`?`Message`:e]=t;delete a.__type,e.Error=a}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch{return e.find(e=>Et.of(e).getMergedTraits().awsQueryError?.[0]===t)}}},Ua=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Wa=class{from;to;keys;constructor(e,t){this.from=e,this.to=t,this.keys=new Set(Object.keys(this.from).filter(e=>e!==`__type`))}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}},Ga=/[&<>"]/g,Ka={"&":`&`,"<":`<`,">":`>`,'"':`"`};function qa(e){return e.replace(Ga,e=>Ka[e])}var Ja=/[&"'<>\r\n\u0085\u2028]/g,Ya={"&":`&`,'"':`"`,"'":`'`,"<":`<`,">":`>`,"\r":` `,"\n":` `,"…":`…`,"\u2028":`
`};function Xa(e){return e.replace(Ja,e=>Ya[e])}var Za=class{value;constructor(e){this.value=e}toString(){return Xa(``+this.value)}},Qa=class e{name;children;attributes={};static of(t,n,r){let i=new e(t);return n!==void 0&&i.addChildNode(new Za(n)),r!==void 0&&i.withName(r),i}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return t!=null&&(this.attributes[e]=t),this}cc(t,n,r=n){if(t[n]!=null){let i=e.of(n,t[n]).withName(r);this.c(i)}}l(e,t,n,r){e[t]!=null&&r().map(e=>{e.withName(n),this.c(e)})}lc(t,n,r,i){if(t[n]!=null){let t=i(),n=new e(r);t.map(e=>{n.c(e)}),this.c(n)}}toString(){let e=!!this.children.length,t=`<${this.name}`,n=this.attributes;for(let e of Object.keys(n)){let r=n[e];r!=null&&(t+=` ${e}="${qa(``+r)}"`)}return t+=e?`>${this.children.map(e=>e.toString()).join(``)}`:`/>`}},$a;function eo(e){$a||=new DOMParser;let t=$a.parseFromString(e,`application/xml`);if(t.getElementsByTagName(`parsererror`).length>0)throw Error(`DOMParser XML parsing error.`);let n=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(t.attributes.length===0&&t.childNodes.length===0)return``;let r={},i=Array.from(t.attributes);for(let e of i)r[`${e.name}`]=e.value;let a=Array.from(t.childNodes);for(let e of a){let o=n(e);if(o!=null){let t=e.nodeName;if(a.length===1&&i.length===0&&t===`#text`)return o;r[t]?Array.isArray(r[t])?r[t].push(o):r[t]=[r[t],o]:r[t]=o}else if(a.length===1&&i.length===0)return t.textContent}return r}return null};return{[t.documentElement.nodeName]:n(t.documentElement)}}var to=class extends Ua{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new Bn(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,n){let r=Et.of(e),i=r.getMemberSchemas();if(r.isStructSchema()&&r.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){let e={},n=Object.keys(i)[0];return i[n].isBlobSchema()?e[n]=t:e[n]=this.read(i[n],t),e}let a=(this.serdeContext?.utf8Encoder??ce)(t),o=this.parseXml(a);return this.readSchema(e,n?o[n]:o)}readSchema(e,t){let n=Et.of(e);if(n.isUnitSchema())return;let r=n.getMergedTraits();if(n.isListSchema()&&!Array.isArray(t))return this.readSchema(n,[t]);if(t==null)return t;if(typeof t==`object`){let e=!!r.xmlFlattened;if(n.isListSchema()){let r=n.getValueSchema(),i=[],a=r.getMergedTraits().xmlName??`member`,o=e?t:(t[0]??t)[a];if(o==null)return i;let s=Array.isArray(o)?o:[o];for(let e of s)i.push(this.readSchema(r,e));return i}let i={};if(n.isMapSchema()){let r=n.getKeySchema(),a=n.getValueSchema(),o;o=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];let s=r.getMergedTraits().xmlName??`key`,c=a.getMergedTraits().xmlName??`value`;for(let e of o){let t=e[s],n=e[c];i[t]=this.readSchema(a,n)}return i}if(n.isStructSchema()){let e=n.isUnionSchema(),r;e&&(r=new Wa(t,i));for(let[a,o]of n.structIterator()){let n=o.getMergedTraits(),s=n.httpPayload?n.xmlName??o.getName():o.getMemberTraits().xmlName??a;e&&r.mark(s),t[s]!=null&&(i[a]=this.readSchema(o,t[s]))}return e&&r.writeUnknown(),i}if(n.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(!0)}`)}return n.isListSchema()?[]:n.isMapSchema()||n.isStructSchema()?{}:this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=eo(e)}catch(t){throw t&&typeof t==`object`&&Object.defineProperty(t,`$responseBodyText`,{value:e}),t}let n=`#text`,r=Object.keys(t)[0],i=t[r];return i[n]&&(i[r]=i[n],delete i[n]),ra(i)}return{}}},no=class extends Ua{settings;buffer;constructor(e){super(),this.settings=e}write(e,t,n=``){this.buffer===void 0&&(this.buffer=``);let r=Et.of(e);if(n&&!n.endsWith(`.`)&&(n+=`.`),r.isBlobSchema())(typeof t==`string`||t instanceof Uint8Array)&&(this.writeKey(n),this.writeValue((this.serdeContext?.base64Encoder??Ue)(t)));else if(r.isBooleanSchema()||r.isNumericSchema()||r.isStringSchema())t==null?r.isIdempotencyToken()&&(this.writeKey(n),this.writeValue(un())):(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigIntegerSchema())t!=null&&(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigDecimalSchema())t!=null&&(this.writeKey(n),this.writeValue(t instanceof An?t.string:String(t)));else if(r.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(n),zn(r,this.settings)){case 5:this.writeValue(t.toISOString().replace(`.000Z`,`Z`));break;case 6:this.writeValue(Jt(t));break;case 7:this.writeValue(String(t.getTime()/1e3));break}}else if(r.isDocumentSchema())Array.isArray(t)?this.write(79,t,n):t instanceof Date?this.write(4,t,n):t instanceof Uint8Array?this.write(21,t,n):t&&typeof t==`object`?this.write(143,t,n):(this.writeKey(n),this.writeValue(String(t)));else if(r.isListSchema()){if(Array.isArray(t))if(t.length===0)this.settings.serializeEmptyLists&&(this.writeKey(n),this.writeValue(``));else{let e=r.getValueSchema(),i=this.settings.flattenLists||r.getMergedTraits().xmlFlattened,a=1;for(let r of t){if(r==null)continue;let t=e.getMergedTraits(),o=this.getKey(`member`,t.xmlName,t.ec2QueryName),s=i?`${n}${a}`:`${n}${o}.${a}`;this.write(e,r,s),++a}}}else if(r.isMapSchema()){if(t&&typeof t==`object`){let e=r.getKeySchema(),i=r.getValueSchema(),a=r.getMergedTraits().xmlFlattened,o=1;for(let[r,s]of Object.entries(t)){if(s==null)continue;let t=e.getMergedTraits(),c=this.getKey(`key`,t.xmlName,t.ec2QueryName),l=a?`${n}${o}.${c}`:`${n}entry.${o}.${c}`,u=i.getMergedTraits(),d=this.getKey(`value`,u.xmlName,u.ec2QueryName),ee=a?`${n}${o}.${d}`:`${n}entry.${o}.${d}`;this.write(e,r,l),this.write(i,s,ee),++o}}}else if(r.isStructSchema()){if(t&&typeof t==`object`){let e=!1;for(let[i,a]of r.structIterator()){if(t[i]==null&&!a.isIdempotencyToken())continue;let r=a.getMergedTraits(),o=this.getKey(i,r.xmlName,r.ec2QueryName,`struct`),s=`${n}${o}`;this.write(a,t[i],s),e=!0}if(!e&&r.isUnionSchema()){let{$unknown:e}=t;if(Array.isArray(e)){let[t,r]=e,i=`${n}${t}`;this.write(15,r,i)}}}}else if(!r.isUnitSchema())throw Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${r.getName(!0)}`)}flush(){if(this.buffer===void 0)throw Error(`@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.`);let e=this.buffer;return delete this.buffer,e}getKey(e,t,n,r){let{ec2:i,capitalizeKeys:a}=this.settings;if(i&&n)return n;let o=t??e;return a&&r===`struct`?o[0].toUpperCase()+o.slice(1):o}writeKey(e){e.endsWith(`.`)&&(e=e.slice(0,e.length-1)),this.buffer+=`&${lt(e)}=`}writeValue(e){this.buffer+=lt(e)}},ro=class extends Rn{options;serializer;deserializer;mixin=new Ha;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries}),this.options=e;let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new no(t),this.deserializer=new to(t)}getShapeId(){return`aws.protocols#awsQuery`}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw Error(`AWSQuery protocol has no payload codec.`)}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n);return r.path.endsWith(`/`)||(r.path+=`/`),Object.assign(r.headers,{"content-type":`application/x-www-form-urlencoded`}),(ut(e.input)===`unit`||!r.body)&&(r.body=``),r.body=`Action=${e.name.split(`#`)[1]??e.name}&Version=${this.options.version}`+r.body,r.body.endsWith(`&`)&&(r.body=r.body.slice(-1)),r}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n))}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=e.name.split(`#`)[1]??e.name,s=i.isStructSchema()&&this.useNestedResult()?o+`Result`:void 0,c=await ct(n.body,t);return c.byteLength>0&&Object.assign(a,await r.read(i,c,s)),{$metadata:this.deserializeMetadata(n),...a}}useNestedResult(){return!0}async handleError(e,t,n,r,i){let a=this.loadQueryErrorCode(n,r)??`Unknown`;this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace);let o=this.loadQueryError(r)??{},s=this.loadQueryErrorMessage(r);o.message=s,o.Error={Type:o.Type,Code:o.Code,Message:s};let{errorSchema:c,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,o,i,this.mixin.findQueryCompatibleError),u=Et.of(c),d=new((this.compositeErrorRegistry.getErrorCtor(c))??Error)(s),ee={Type:o.Error.Type,Code:o.Error.Code,Error:o.Error};for(let[e,t]of u.structIterator()){let n=t.getMergedTraits().xmlName??e,i=o[n]??r[n];ee[e]=this.deserializer.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(d,l,{$fault:u.getMergedTraits().error,message:s},ee),r)}loadQueryErrorCode(e,t){let n=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(n!==void 0)return n;if(e.statusCode==404)return`NotFound`}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){let t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??`Unknown`}getDefaultContentType(){return`application/x-www-form-urlencoded`}},io=class extends ro{options;constructor(e){super(e),this.options=e,Object.assign(this.serializer.settings,{capitalizeKeys:!0,flattenLists:!0,serializeEmptyLists:!1,ec2:!0})}getShapeId(){return`aws.protocols#ec2Query`}useNestedResult(){return!1}},ao=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return`NotFound`},oo=class extends Ua{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){let n=Et.of(e);if(n.isStringSchema()&&typeof t==`string`)this.stringBuffer=t;else if(n.isBlobSchema())this.byteBuffer=`byteLength`in t?t:(this.serdeContext?.base64Decoder??He)(t);else{this.buffer=this.writeStruct(n,t,void 0);let e=n.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(n.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let e=this.buffer;return this.settings.xmlNamespace&&(e?.attributes?.xmlns||e.addAttribute(`xmlns`,this.settings.xmlNamespace)),delete this.buffer,e.toString()}writeStruct(e,t,n){let r=e.getMergedTraits(),i=e.isMemberSchema()&&!r.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():r.xmlName??e.getName();if(!i||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let a=Qa.of(i),[o,s]=this.getXmlnsAttribute(e,n);for(let[n,r]of e.structIterator()){let e=t[n];if(e!=null||r.isIdempotencyToken()){if(r.getMergedTraits().xmlAttribute){a.addAttribute(r.getMergedTraits().xmlName??n,this.writeSimple(r,e));continue}if(r.isListSchema())this.writeList(r,e,a,s);else if(r.isMapSchema())this.writeMap(r,e,a,s);else if(r.isStructSchema())a.addChildNode(this.writeStruct(r,e,s));else{let t=Qa.of(r.getMergedTraits().xmlName??r.getMemberName());this.writeSimpleInto(r,e,t,s),a.addChildNode(t)}}}let{$unknown:c}=t;if(c&&e.isUnionSchema()&&Array.isArray(c)&&Object.keys(t).length===1){let[e,n]=c,r=Qa.of(e);if(typeof n!=`string`)if(t instanceof Qa||t instanceof Za)a.addChildNode(t);else throw Error(`@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);this.writeSimpleInto(0,n,r,s),a.addChildNode(r)}return s&&a.addAttribute(o,s),a}writeList(e,t,n,r){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let i=e.getMergedTraits(),a=e.getValueSchema(),o=a.getMergedTraits(),s=!!o.sparse,c=!!i.xmlFlattened,[l,u]=this.getXmlnsAttribute(e,r),d=(t,n)=>{if(a.isListSchema())this.writeList(a,Array.isArray(n)?n:[n],t,u);else if(a.isMapSchema())this.writeMap(a,n,t,u);else if(a.isStructSchema()){let r=this.writeStruct(a,n,u);t.addChildNode(r.withName(c?i.xmlName??e.getMemberName():o.xmlName??`member`))}else{let r=Qa.of(c?i.xmlName??e.getMemberName():o.xmlName??`member`);this.writeSimpleInto(a,n,r,u),t.addChildNode(r)}};if(c)for(let e of t)(s||e!=null)&&d(n,e);else{let r=Qa.of(i.xmlName??e.getMemberName());u&&r.addAttribute(l,u);for(let e of t)(s||e!=null)&&d(r,e);n.addChildNode(r)}}writeMap(e,t,n,r,i=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let a=e.getMergedTraits(),o=e.getKeySchema(),s=o.getMergedTraits().xmlName??`key`,c=e.getValueSchema(),l=c.getMergedTraits(),u=l.xmlName??`value`,d=!!l.sparse,ee=!!a.xmlFlattened,[te,f]=this.getXmlnsAttribute(e,r),ne=(e,t,n)=>{let r=Qa.of(s,t),[i,a]=this.getXmlnsAttribute(o,f);a&&r.addAttribute(i,a),e.addChildNode(r);let l=Qa.of(u);c.isListSchema()?this.writeList(c,n,l,f):c.isMapSchema()?this.writeMap(c,n,l,f,!0):c.isStructSchema()?l=this.writeStruct(c,n,f):this.writeSimpleInto(c,n,l,f),e.addChildNode(l)};if(ee){for(let[r,i]of Object.entries(t))if(d||i!=null){let t=Qa.of(a.xmlName??e.getMemberName());ne(t,r,i),n.addChildNode(t)}}else{let r;i||(r=Qa.of(a.xmlName??e.getMemberName()),f&&r.addAttribute(te,f),n.addChildNode(r));for(let[e,a]of Object.entries(t))if(d||a!=null){let t=Qa.of(`entry`);ne(t,e,a),(i?n:r).addChildNode(t)}}}writeSimple(e,t){if(t===null)throw Error(`@aws-sdk/core/protocols - (XML serializer) cannot write null value.`);let n=Et.of(e),r=null;if(t&&typeof t==`object`)if(n.isBlobSchema())r=(this.serdeContext?.base64Encoder??Ue)(t);else if(n.isTimestampSchema()&&t instanceof Date)switch(zn(n,this.settings)){case 5:r=t.toISOString().replace(`.000Z`,`Z`);break;case 6:r=Jt(t);break;case 7:r=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using http date`,t),r=Jt(t);break}else if(n.isBigDecimalSchema()&&t)return t instanceof An?t.string:String(t);else if(n.isMapSchema()||n.isListSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.`);else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(!0)}`);if((n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema())&&(r=String(t)),n.isStringSchema()&&(r=t===void 0&&n.isIdempotencyToken()?un():String(t)),r===null)throw Error(`Unhandled schema-value pair ${n.getName(!0)}=${t}`);return r}writeSimpleInto(e,t,n,r){let i=this.writeSimple(e,t),a=Et.of(e),o=new Za(i),[s,c]=this.getXmlnsAttribute(a,r);c&&n.addAttribute(s,c),n.addChildNode(o)}getXmlnsAttribute(e,t){let[n,r]=e.getMergedTraits().xmlNamespace??[];return r&&r!==t?[n?`xmlns:${n}`:`xmlns`,r]:[void 0,void 0]}},so=class extends Ua{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new oo(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new to(this.settings);return e.setSerdeContext(this.serdeContext),e}},co=class extends Ln{codec;serializer;deserializer;mixin=new Ha;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new so(t),this.serializer=new Un(this.codec.createSerializer(),t),this.deserializer=new Vn(this.codec.createDeserializer(),t),this.compositeErrorRegistry}getPayloadCodec(){return this.codec}getShapeId(){return`aws.protocols#restXml`}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Et.of(e.input);if(!r.headers[`content-type`]){let e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(r.headers[`content-type`]=e)}return typeof r.body==`string`&&r.headers[`content-type`]===this.getDefaultContentType()&&!r.body.startsWith(``+r.body),r}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,r,i){let a=ao(n,r)??`Unknown`;if(this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace),r.Error&&typeof r.Error==`object`)for(let e of Object.keys(r.Error))r[e]=r.Error[e],e.toLowerCase()===`message`&&(r.message=r.Error[e]);r.RequestId&&!i.requestId&&(i.requestId=r.RequestId);let{errorSchema:o,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,r,i),c=Et.of(o),l=r.Error?.message??r.Error?.Message??r.message??r.Message??`UnknownError`,u=new((this.compositeErrorRegistry.getErrorCtor(o))??Error)(l);await this.deserializeHttpMessage(o,t,n,r);let d={};for(let[e,t]of c.structIterator()){let n=t.getMergedTraits().xmlName??e,i=r.Error?.[n]??r[n];d[e]=this.codec.createDeserializer().readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,s,{$fault:c.getMergedTraits().error,message:l},d),r)}getDefaultContentType(){return`application/xml`}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}},lo=`required`,uo=`fn`,fo=`argv`,po=`ref`,mo=!0,ho=`isSet`,go=`booleanEquals`,_o=`error`,vo=`endpoint`,yo=`tree`,bo=`PartitionResult`,xo=`getAttr`,So={[lo]:!1,type:`string`},Co={[lo]:!0,default:!1,type:`boolean`},wo={[po]:`Endpoint`},To={[uo]:go,[fo]:[{[po]:`UseFIPS`},!0]},Eo={[uo]:go,[fo]:[{[po]:`UseDualStack`},!0]},Do={},Oo={[uo]:xo,[fo]:[{[po]:bo},`supportsFIPS`]},ko={[po]:bo},Ao={[uo]:go,[fo]:[!0,{[uo]:xo,[fo]:[ko,`supportsDualStack`]}]},jo=[To],Mo=[Eo],No=[{[po]:`Region`}],Po={version:`1.0`,parameters:{Region:So,UseDualStack:Co,UseFIPS:Co,Endpoint:So},rules:[{conditions:[{[uo]:ho,[fo]:[wo]}],rules:[{conditions:jo,error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:_o},{conditions:Mo,error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:_o},{endpoint:{url:wo,properties:Do,headers:Do},type:vo}],type:yo},{conditions:[{[uo]:ho,[fo]:No}],rules:[{conditions:[{[uo]:`aws.partition`,[fo]:No,assign:bo}],rules:[{conditions:[To,Eo],rules:[{conditions:[{[uo]:go,[fo]:[mo,Oo]},Ao],rules:[{endpoint:{url:`https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:Do,headers:Do},type:vo}],type:yo},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:_o}],type:yo},{conditions:jo,rules:[{conditions:[{[uo]:go,[fo]:[Oo,mo]}],rules:[{conditions:[{[uo]:`stringEquals`,[fo]:[{[uo]:xo,[fo]:[ko,`name`]},`aws-us-gov`]}],endpoint:{url:`https://ec2.{Region}.amazonaws.com`,properties:Do,headers:Do},type:vo},{endpoint:{url:`https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}`,properties:Do,headers:Do},type:vo}],type:yo},{error:`FIPS is enabled but this partition does not support FIPS`,type:_o}],type:yo},{conditions:Mo,rules:[{conditions:[Ao],rules:[{endpoint:{url:`https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:Do,headers:Do},type:vo}],type:yo},{error:`DualStack is enabled but this partition does not support DualStack`,type:_o}],type:yo},{endpoint:{url:`https://ec2.{Region}.{PartitionResult#dnsSuffix}`,properties:Do,headers:Do},type:vo}],type:yo}],type:yo},{error:`Invalid Configuration: Missing Region`,type:_o}]},Fo=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),Io=(e,t={})=>Fo.get(e,()=>kr(Po,{endpointParams:e,logger:t.logger}));nr.aws=Rr;var Lo=class e extends qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},Ro=`AllAvailabilityZones`,zo=`AttributeBooleanValue`,Bo=`AssociateCarrierIpAddress`,Vo=`AdditionalFlexibleNetworkInterfaces`,Ho=`AvailableIpAddressCount`,Uo=`AssignIpv6AddressOnCreation`,Wo=`AttachInternetGateway`,Go=`AttachInternetGatewayRequest`,Ko=`AdditionalInfo`,qo=`AssociationId`,Jo=`AttachmentId`,Yo=`AmiLaunchIndex`,Xo=`AttachmentLimitType`,Zo=`AssociatePublicIpAddress`,Qo=`AmazonProvidedIpv6CidrBlock`,$o=`AutoRecoverySupported`,es=`AssociateRouteTableRequest`,ts=`AssociateRouteTableResult`,ns=`AssociateRouteTable`,rs=`AllRegions`,is=`AssociatedResource`,as=`AutoRecovery`,os=`AssociationState`,ss=`AuthorizeSecurityGroupEgress`,cs=`AuthorizeSecurityGroupEgressRequest`,ls=`AuthorizeSecurityGroupEgressResult`,us=`AuthorizeSecurityGroupIngressRequest`,ds=`AuthorizeSecurityGroupIngressResult`,fs=`AuthorizeSecurityGroupIngress`,ps=`AmdSevSnp`,ms=`ArchitectureTypeList`,hs=`AttachTime`,gs=`AttachVolumeRequest`,_s=`AttributeValue`,vs=`AttachVolume`,ys=`AvailabilityZone`,bs=`AvailabilityZoneGeography`,xs=`AvailabilityZoneGeographyList`,Ss=`AvailabilityZoneId`,mee=`AvailabilityZoneList`,hee=`AvailabilityZoneMessage`,gee=`AvailabilityZoneMessageList`,_ee=`AvailabilityZoneSubGeography`,vee=`AvailabilityZoneSubGeographyList`,yee=`AvailabilityZones`,Cs=`Accelerators`,bee=`Affinity`,ws=`Arn`,Ts=`Architecture`,xee=`Associations`,Es=`Association`,See=`Attribute`,Ds=`Attachment`,Os=`Attachments`,Cee=`BlobAttributeValue`,wee=`BaselineBandwidthInGbps`,ks=`BaselineBandwidthInMbps`,As=`BlockDeviceMapping`,Tee=`BlockDeviceMappingList`,Eee=`BlockDeviceMappingRequestList`,js=`BlockDeviceMappings`,Dee=`BlockDurationMinutes`,Ms=`BaselineIops`,Ns=`BootMode`,Oee=`BootModeTypeList`,kee=`BareMetal`,Ps=`BlockPublicAccessStates`,Aee=`BurstablePerformanceSupported`,Fs=`BaselineThroughputInMBps`,Is=`BandwidthWeighting`,jee=`BandwidthWeightingTypeList`,Ls=`BandwidthWeightings`,Rs=`CidrBlock`,zs=`CidrBlockAssociationSet`,Bs=`CapacityBlockId`,Vs=`CidrBlockState`,Hs=`CoreCountList`,Us=`CoreCount`,Ws=`CpuCredits`,Gs=`CompletionDurationMinutes`,Ks=`CreationDate`,qs=`CarrierGatewayId`,Js=`CurrentGeneration`,Ys=`CarrierIp`,Xs=`CurrentInstanceBootMode`,Zs=`CreateInternetGateway`,Qs=`CreateInternetGatewayRequest`,$s=`CreateInternetGatewayResult`,ec=`CreateImageRequest`,tc=`CreateImageResult`,nc=`CidrIp`,rc=`CidrIpv6`,ic=`CidrIpv4`,ac=`CoreInfo`,oc=`CreateImage`,sc=`CreateKeyPair`,cc=`CreateKeyPairRequest`,lc=`CoreNetworkArn`,uc=`CpuOptions`,dc=`CustomerOwnedIp`,fc=`CustomerOwnedIpv4Pool`,pc=`CpuOptionsRequest`,mc=`CreatePlacementGroup`,hc=`CreatePlacementGroupRequest`,gc=`CreatePlacementGroupResult`,_c=`CapacityReservationId`,vc=`CapacityReservationPreference`,yc=`CreateRouteRequest`,bc=`CapacityReservationResourceGroupArn`,xc=`CreateRouteResult`,Sc=`CapacityReservationSpecificationResponse`,Cc=`CapacityReservationSpecification`,wc=`CapacityReservationTarget`,Tc=`CapacityReservationTargetResponse`,Ec=`CreateRouteTableRequest`,Dc=`CreateRouteTableResult`,Oc=`CreateRouteTable`,kc=`CreateRoute`,Ac=`CreateSecurityGroup`,jc=`CreateSecurityGroupRequest`,Mc=`CreateSecurityGroupResult`,Nc=`CopySnapshotRequest`,Pc=`CopySnapshotRequestPSU`,Fc=`CopySnapshotResult`,Ic=`CreateSnapshotRequest`,Lc=`CreateSubnetRequest`,Rc=`CreateSubnetResult`,zc=`CreditSpecificationRequest`,Bc=`CopySnapshot`,Vc=`CreditSpecification`,Hc=`CreateSnapshot`,Uc=`CreateSubnet`,Wc=`CurrentState`,Gc=`ClientToken`,Kc=`ConnectionTrackingConfiguration`,qc=`ConnectionTrackingSpecification`,Jc=`ConnectionTrackingSpecificationRequest`,Yc=`ConnectionTrackingSpecificationResponse`,Xc=`CompletionTime`,Zc=`CreateTime`,Qc=`CreateVolumeRequest`,$c=`CreateVpcRequest`,el=`CreateVpcResult`,tl=`CreateVolume`,nl=`CreateVpc`,rl=`Code`,il=`Configured`,al=`Count`,ol=`DisableApiStop`,sl=`DisableApiTermination`,cl=`DestinationAvailabilityZone`,ll=`DescribeAvailabilityZonesRequest`,ul=`DescribeAvailabilityZonesResult`,dl=`DescribeAvailabilityZones`,fl=`DestinationCidrBlock`,pl=`DefaultConnectionTrackingConfiguration`,ml=`DefaultCores`,hl=`DataEncryptionKeyId`,gl=`DefaultEnaQueueCountPerInterface`,_l=`DefaultForAz`,vl=`DedicatedHostsSupported`,yl=`DeviceIndex`,bl=`DestinationIpv6CidrBlock`,xl=`DescribeInternetGatewaysRequest`,Sl=`DescribeInternetGatewaysResult`,Cl=`DescribeInternetGateways`,wl=`DiskInfoList`,Tl=`DescribeImagesRequest`,El=`DescribeImagesResult`,Dl=`DescribeInstancesRequest`,Ol=`DescribeInstancesResult`,kl=`DescribeInstanceTypesRequest`,Al=`DescribeInstanceTypesResult`,jl=`DescribeInstanceTypes`,Ml=`DescribeImages`,Nl=`DescribeInstances`,Pl=`DiskInfo`,Fl=`DeleteKeyPair`,Il=`DeleteKeyPairRequest`,Ll=`DeleteKeyPairResult`,Rl=`DescribeKeyPairsRequest`,zl=`DescribeKeyPairsResult`,Bl=`DescribeKeyPairs`,Vl=`DeviceName`,Hl=`DefaultNetworkCardIndex`,Ul=`DestinationOutpostArn`,Wl=`DhcpOptionsId`,Gl=`DeleteOnTermination`,Kl=`DeletePlacementGroup`,ql=`DeletePlacementGroupRequest`,Jl=`DescribePlacementGroupsRequest`,Yl=`DescribePlacementGroupsResult`,Xl=`DescribePlacementGroups`,Zl=`DestinationPrefixListId`,Ql=`DeregistrationProtection`,p=`DryRun`,$l=`DescribeRegionsRequest`,eu=`DescribeRegionsResult`,tu=`DescribeRouteTablesRequest`,nu=`DescribeRouteTablesResult`,ru=`DescribeRouteTables`,iu=`DestinationRegion`,au=`DescribeRegions`,ou=`DeleteSecurityGroup`,su=`DeleteSecurityGroupRequest`,cu=`DeleteSecurityGroupResult`,lu=`DescribeSecurityGroupsRequest`,uu=`DescribeSecurityGroupsResult`,du=`DescribeSecurityGroups`,fu=`DeleteSnapshotRequest`,pu=`DeleteSubnetRequest`,mu=`DescribeSnapshotsRequest`,hu=`DescribeSnapshotsResult`,gu=`DescribeSubnetsRequest`,_u=`DescribeSubnetsResult`,vu=`DeleteSnapshot`,yu=`DeleteSubnet`,bu=`DescribeSnapshots`,xu=`DescribeSubnets`,Su=`DefaultTcpEstablishedTimeout`,Cu=`DefaultThreadsPerCore`,wu=`DeprecationTime`,Tu=`DefaultUdpStreamTimeout`,Eu=`DefaultUdpTimeout`,Du=`DefaultVCpus`,Ou=`DeleteVolumeRequest`,ku=`DeleteVpcRequest`,Au=`DescribeVolumesRequest`,ju=`DescribeVolumesResult`,Mu=`DescribeVpcsRequest`,Nu=`DescribeVpcsResult`,Pu=`DetachVolumeRequest`,Fu=`DeleteVolume`,Iu=`DeleteVpc`,Lu=`DescribeVolumes`,Ru=`DescribeVpcs`,zu=`DetachVolume`,Bu=`Description`,Vu=`Device`,Hu=`Disks`,Uu=`EbsBlockDevice`,Wu=`ExecutableByStringList`,Gu=`ExecutableBy`,Ku=`EbsCardIndex`,qu=`EbsCardInfoList`,Ju=`EbsCardInfo`,Yu=`EbsCards`,Xu=`EncryptionControl`,Zu=`EnableDns64`,Qu=`ElasticFileSystem`,$u=`ElasticFileSystemExclusion`,ed=`ElasticGpuAssociation`,td=`ElasticGpuAssociationId`,nd=`ElasticGpuAssociationList`,rd=`ElasticGpuAssociationState`,id=`ElasticGpuAssociationTime`,ad=`ElasticGpuAssociations`,od=`ElasticGpuId`,sd=`ElasticGpuSpecification`,cd=`ElasticGpuSpecifications`,ld=`ElasticInferenceAccelerator`,ud=`ElasticInferenceAcceleratorAssociation`,dd=`ElasticInferenceAcceleratorAssociationId`,fd=`ElasticInferenceAcceleratorAssociationList`,pd=`ElasticInferenceAcceleratorAssociationState`,md=`ElasticInferenceAcceleratorAssociationTime`,hd=`ElasticInferenceAcceleratorArn`,gd=`ElasticInferenceAcceleratorAssociations`,_d=`ElasticInferenceAccelerators`,vd=`EbsInstanceBlockDevice`,yd=`EbsInstanceBlockDeviceSpecification`,bd=`EncryptionInTransitSupported`,xd=`EbsInfo`,Sd=`EfaInfo`,Cd=`EnableLniAtDeviceIndex`,wd=`EbsOptimized`,Td=`EbsOptimizedInfo`,Ed=`EgressOnlyInternetGateway`,Dd=`EgressOnlyInternetGatewayExclusion`,Od=`EgressOnlyInternetGatewayId`,kd=`EnclaveOptionsRequest`,Ad=`EbsOptimizedSupport`,jd=`EnclaveOptions`,Md=`EnablePrimaryIpv6`,Nd=`EnaQueueCount`,Pd=`EnableResourceNameDnsAAAARecord`,Fd=`EnableResourceNameDnsARecord`,Id=`EnaSrdEnabled`,Ld=`EnaSrdSpecification`,Rd=`EnaSrdSpecificationRequest`,zd=`EnaSrdSupported`,Bd=`EnaSrdUdpEnabled`,Vd=`EnaSrdUdpSpecification`,Hd=`EnaSrdUdpSpecificationRequest`,Ud=`EfaSupported`,Wd=`EncryptionSupport`,Gd=`EnaSupport`,Kd=`EndTime`,qd=`ExecutableUsers`,Jd=`Ebs`,Yd=`Enabled`,Xd=`Encrypted`,Zd=`Endpoint`,Qd=`Force`,$d=`FpgaDeviceInfo`,ef=`FpgaDeviceInfoList`,tf=`FpgaDeviceMemoryInfo`,nf=`FlexibleEnaQueuesSupport`,rf=`FpgaInfo`,af=`FilterList`,of=`FromPort`,sf=`FastRestored`,cf=`FullSnapshotSizeInBytes`,lf=`FreeTierEligible`,uf=`Filters`,df=`Filter`,ff=`Fpgas`,pf=`Groups`,mf=`GroupArn`,hf=`GetConsoleOutput`,gf=`GetConsoleOutputRequest`,_f=`GetConsoleOutputResult`,vf=`GroupDescription`,yf=`GpuDeviceInfo`,bf=`GpuDeviceInfoList`,xf=`GpuDeviceMemoryInfo`,Sf=`GatewayId`,Cf=`GroupIdentifierList`,wf=`GroupIdStringList`,Tf=`GpuInfo`,Ef=`GroupId`,Df=`GroupIds`,Of=`GroupIdentifier`,kf=`GroupLongName`,Af=`GroupName`,jf=`GroupNameStringList`,Mf=`GroupNames`,Nf=`GroupOwnerId`,Pf=`GpuPartitionSize`,Ff=`Geography`,If=`Gpus`,Lf=`HttpEndpoint`,Rf=`HostId`,zf=`HibernationOptions`,Bf=`HibernationOptionsRequest`,Vf=`HttpProtocolIpv6`,Hf=`HttpPutResponseHopLimit`,Uf=`HostResourceGroupArn`,Wf=`HibernationSupported`,Gf=`HttpTokens`,Kf=`HostnameType`,qf=`Hibernate`,Jf=`Hypervisor`,Yf=`Id`,Xf=`Ipv6Addresses`,Zf=`Ipv6AddressAttribute`,Qf=`Ipv6AddressCount`,$f=`InstanceAttachmentEnaSrdSpecification`,ep=`InstanceAttachmentEnaSrdUdpSpecification`,tp=`InferenceAcceleratorInfo`,np=`Ipv4AddressesPerInterface`,rp=`Ipv6AddressesPerInterface`,ip=`Ipv4AddressesPerSecondaryInterface`,ap=`ImageAllowed`,op=`IpAddress`,sp=`Ipv6Address`,cp=`InstanceBlockDeviceMapping`,lp=`InstanceBlockDeviceMappingList`,up=`InstanceBlockDeviceMappingSpecification`,dp=`InstanceBlockDeviceMappingSpecificationList`,fp=`Ipv6CidrBlock`,pp=`Ipv6CidrBlockAssociationSet`,mp=`Ipv6CidrBlockNetworkBorderGroup`,hp=`Ipv6CidrBlockState`,gp=`IncludeDeprecated`,_p=`InferenceDeviceInfo`,vp=`InferenceDeviceInfoList`,yp=`InferenceDeviceMemoryInfo`,bp=`IncludeDisabled`,xp=`IsDefault`,Sp=`IsEgress`,Cp=`InternetGateway`,wp=`InternetGatewayAttachment`,Tp=`InternetGatewayAttachmentList`,Ep=`InternetGatewayBlockMode`,Dp=`InternetGatewayExclusion`,Op=`InternetGatewayId`,kp=`InternetGatewayIdList`,Ap=`InternetGatewayIds`,jp=`InternetGatewayList`,Mp=`InternetGateways`,Np=`InstanceId`,Pp=`InstanceIpv6Address`,Fp=`InstanceIpv6AddressList`,Ip=`InstanceInterruptionBehavior`,Lp=`IamInstanceProfile`,Rp=`Ipv6IpamPoolId`,zp=`Ipv4IpamPoolId`,Bp=`InstanceIpv4PrefixList`,Vp=`InstanceIpv6PrefixList`,Hp=`IamInstanceProfileSpecification`,Up=`InstanceIpv4Prefix`,Wp=`InstanceIpv6Prefix`,Gp=`InstanceInitiatedShutdownBehavior`,Kp=`ImageIdStringList`,qp=`InstanceIdStringList`,Jp=`ImageId`,Yp=`ImageIds`,Xp=`InstanceIds`,Zp=`ImportKeyPair`,Qp=`ImportKeyPairRequest`,$p=`ImportKeyPairResult`,em=`ImageLocation`,tm=`ImageList`,nm=`InstanceLifecycle`,rm=`InstanceList`,im=`InstanceMaintenanceOptions`,am=`InstanceMaintenanceOptionsRequest`,om=`InstanceMarketOptionsRequest`,sm=`InstanceMetadataOptionsRequest`,cm=`InstanceMetadataOptionsResponse`,lm=`InstanceMarketOptions`,um=`InstanceMetadataTags`,dm=`Ipv6Native`,fm=`InstanceNetworkInterface`,pm=`InstanceNetworkInterfaceAssociation`,mm=`InstanceNetworkInterfaceAttachment`,hm=`InstanceNetworkInterfaceList`,gm=`InstanceNetworkInterfaceSpecification`,_m=`InstanceNetworkInterfaceSpecificationList`,vm=`Ipv6NetmaskLength`,ym=`Ipv4NetmaskLength`,bm=`InstanceNetworkPerformanceOptions`,xm=`InstanceNetworkPerformanceOptionsRequest`,Sm=`ImageOwnerAlias`,Cm=`IpOwnerId`,wm=`InstanceOwnerId`,Tm=`InstanceOwningService`,Em=`Ipv6PrefixCount`,Dm=`Ipv4PrefixCount`,Om=`IpPermissionsEgress`,km=`InstancePrivateIpAddress`,Am=`InstancePrivateIpAddressList`,jm=`IsPrimaryIpv6`,Mm=`IncludePublicKey`,Nm=`IpPermissionList`,Pm=`Ipv4PrefixList`,Fm=`Ipv6PrefixList`,Im=`Ipv4PrefixSpecificationRequest`,Lm=`Ipv6PrefixSpecificationRequest`,Rm=`Ipv6Prefixes`,zm=`IpPermissions`,Bm=`IpPermission`,Vm=`IpProtocol`,Hm=`Ipv6Prefix`,Um=`Ipv6Pool`,Wm=`Ipv4Prefixes`,Gm=`Ipv4Prefix`,Km=`IpRangeList`,qm=`Ipv6RangeList`,Jm=`IpRanges`,Ym=`IpRange`,Xm=`Ipv6Ranges`,Zm=`Ipv6Range`,Qm=`InstanceStateChange`,$m=`InstanceStateChangeList`,eh=`InstanceSecondaryInterfaceAttachment`,th=`InstanceSecondaryInterfaceList`,nh=`InstanceSecondaryInterfacePrivateIpAddress`,rh=`InstanceSecondaryInterfacePrivateIpAddressList`,ih=`InstanceSecondaryInterfacePrivateIpAddressListRequest`,ah=`InstanceSecondaryInterfacePrivateIpAddressRequest`,oh=`InstanceSecondaryInterfaceSpecificationListRequest`,sh=`InstanceSecondaryInterfaceSpecificationRequest`,ch=`InstanceSecondaryInterface`,lh=`InstanceStorageInfo`,uh=`InstanceStorageSupported`,dh=`ImdsSupport`,fh=`InstanceState`,ph=`IpSource`,mh=`Ipv6Supported`,hh=`InstanceType`,gh=`InstanceTypeInfoList`,_h=`InstanceTypeInfo`,vh=`ImageType`,yh=`InstanceTenancy`,bh=`InstanceTypes`,xh=`InterfaceType`,Sh=`Images`,Ch=`Image`,wh=`Instance`,Th=`Instances`,Eh=`Iops`,Dh=`Key`,Oh=`KeyFormat`,kh=`KeyFingerprint`,Ah=`KernelId`,jh=`KmsKeyId`,Mh=`KeyMaterial`,Nh=`KeyName`,Ph=`KeyNameStringList`,Fh=`KeyNames`,Ih=`KeyPairs`,Lh=`KeyPairId`,Rh=`KeyPairIdStringList`,zh=`KeyPairIds`,Bh=`KeyPairInfo`,Vh=`KeyPairList`,Hh=`KeyPair`,Uh=`KeyType`,Wh=`Kernel`,Gh=`LicenseConfigurationArn`,Kh=`LicenseConfigurationRequest`,qh=`LicenseConfiguration`,Jh=`LambdaExclusion`,Yh=`LogicalGpuCount`,Xh=`LocalGatewayId`,Zh=`LinkedGroupId`,Qh=`LicenseList`,$h=`LastLaunchedTime`,eg=`LicenseSpecifications`,tg=`LicenseSpecificationListRequest`,ng=`LicenseSpecification`,rg=`LaunchTemplate`,ig=`LaunchTemplateId`,ag=`LaunchTemplateName`,og=`LaunchTemplateSpecification`,sg=`LaunchTime`,cg=`Latest`,lg=`Lambda`,ug=`Licenses`,dg=`Location`,fg=`MultiAttachEnabled`,pg=`MediaAcceleratorInfo`,mg=`MacAddress`,hg=`MaximumBandwidthInMbps`,gg=`MapCustomerOwnedIpOnLaunch`,_g=`MaxCount`,vg=`MinCount`,yg=`MediaDeviceInfo`,bg=`MediaDeviceInfoList`,xg=`MediaDeviceMemoryInfo`,Sg=`MaximumEbsAttachments`,Cg=`MaximumEbsCards`,wg=`MaximumEfaInterfaces`,Tg=`MaximumEnaQueueCount`,Eg=`MaximumEnaQueueCountPerInterface`,Dg=`MaximumIops`,Og=`ModifyInstanceAttributeRequest`,kg=`ModifyInstanceAttribute`,Ag=`MemoryInfo`,jg=`MaximumNetworkCards`,Mg=`MaximumNetworkInterfaces`,Ng=`MetadataOptions`,Pg=`MaintenanceOptions`,Fg=`MapPublicIpOnLaunch`,Ig=`MaxPrice`,Lg=`MaxResults`,Rg=`MaximumSecondaryNetworkInterfaces`,zg=`ModificationState`,Bg=`MarketType`,Vg=`MaximumThroughputInMBps`,Hg=`ModifyVolumeRequest`,Ug=`ModifyVolumeResult`,Wg=`ModifyVolume`,Gg=`Main`,Kg=`Manufacturer`,qg=`Managed`,Jg=`Message`,Yg=`Messages`,Xg=`Mode`,Zg=`Monitoring`,Qg=`Name`,$g=`NetworkBorderGroup`,e_=`NetworkCards`,t_=`NetworkCardIndex`,n_=`NetworkCardInfoList`,r_=`NetworkCardInfo`,i_=`NoDevice`,a_=`NeuronDeviceCoreInfo`,o_=`NeuronDeviceInfo`,s_=`NeuronDeviceInfoList`,c_=`NeuronDeviceMemoryInfo`,l_=`NeuronDevices`,u_=`NitroEnclavesSupport`,d_=`NatGateway`,f_=`NatGatewayExclusion`,p_=`NatGatewayId`,m_=`NetworkInterfaceId`,h_=`NetworkInterfaces`,g_=`NetworkInfo`,__=`NeuronInfo`,v_=`NetworkPerformanceOptions`,y_=`NetworkPerformance`,b_=`NoReboot`,x_=`NvmeSupport`,S_=`NitroTpmInfo`,C_=`NitroTpmSupport`,w_=`NitroTpmSupportedVersionsList`,T_=`NextToken`,E_=`NestedVirtualization`,D_=`Origin`,O_=`OutpostArn`,k_=`OwnerAlias`,A_=`OwnerId`,j_=`OptInStatus`,M_=`OriginalIops`,N_=`OwnerIds`,P_=`OriginalMultiAttachEnabled`,F_=`OdbNetworkArn`,I_=`OperatorRequest`,L_=`OperatorResponse`,R_=`OwnerStringList`,z_=`OriginalSize`,B_=`OriginalThroughput`,V_=`OriginalVolumeType`,H_=`Operator`,U_=`Output`,W_=`Owners`,G_=`Owner`,K_=`Principal`,q_=`PeakBandwidthInGbps`,J_=`ProductCodeId`,Y_=`ProductCodeList`,X_=`ProductCodeType`,Z_=`PartitionCount`,Q_=`ProductCode`,$_=`ProductCodes`,ev=`PrivateDnsName`,tv=`PrivateDnsNameOptions`,nv=`PrivateDnsNameOptionsOnLaunch`,rv=`PrivateDnsNameOptionsRequest`,iv=`PrivateDnsNameOptionsResponse`,av=`PublicDnsName`,ov=`PlatformDetails`,sv=`PlacementGroup`,cv=`PlacementGroupInfo`,lv=`PlacementGroupIdStringList`,uv=`PlacementGroupList`,dv=`PlacementGroupStrategyList`,fv=`PlacementGroups`,pv=`PublicIp`,mv=`PrivateIpAddressCount`,hv=`PrivateIpAddressSpecification`,gv=`PrivateIpAddressSpecificationList`,_v=`PrivateIpAddress`,vv=`PrivateIpAddresses`,yv=`PublicIpAddress`,bv=`PublicIpv4Pool`,xv=`PrimaryIpv6`,Sv=`ProcessorInfo`,Cv=`PublicKey`,wv=`PublicKeyMaterial`,Tv=`PrefixListId`,Ev=`PrefixListIdList`,Dv=`PrefixListIds`,Ov=`PartitionNumber`,kv=`PeeringStatus`,Av=`PhcSupport`,jv=`PreviousState`,Mv=`PresignedUrl`,Nv=`PropagatingVgw`,Pv=`PropagatingVgwList`,Fv=`PropagatingVgws`,Iv=`ParentZoneId`,Lv=`ParentZoneName`,Rv=`Platform`,zv=`Placement`,Bv=`Primary`,Vv=`Progress`,Hv=`Public`,Uv=`Return`,Wv=`RestorableByUserIds`,Gv=`RestorableBy`,Kv=`RootDeviceName`,qv=`RootDeviceType`,Jv=`RootDeviceTypeList`,Yv=`RestoreExpiryTime`,Xv=`ResourceExclusions`,Zv=`RegionGeography`,Qv=`ReferencedGroupId`,$v=`ReferencedGroupInfo`,ey=`RegionGeographyList`,ty=`RunInstancesMonitoringEnabled`,ny=`RebootInstancesRequest`,ry=`RunInstancesRequest`,iy=`RunInstancesUserData`,ay=`RamdiskId`,oy=`ReservationId`,sy=`RebootInstances`,cy=`RequesterId`,ly=`RunInstances`,uy=`RegionList`,dy=`ReservationList`,fy=`RouteList`,py=`RebootMigrationSupport`,my=`RebootMigration`,hy=`RegionName`,gy=`RegionNameStringList`,_y=`RegionNames`,vy=`ReferencedSecurityGroup`,yy=`RevokeSecurityGroupEgress`,by=`RevokeSecurityGroupEgressRequest`,xy=`RevokeSecurityGroupEgressResult`,Sy=`RevokeSecurityGroupIngressRequest`,Cy=`RevokeSecurityGroupIngressResult`,wy=`RevokeSecurityGroupIngress`,Ty=`RevokedSecurityGroupRule`,Ey=`RevokedSecurityGroupRuleList`,Dy=`RevokedSecurityGroupRules`,Oy=`RouteTableAssociation`,ky=`RouteTableAssociationId`,Ay=`RouteTableAssociationList`,jy=`RouteTableAssociationState`,My=`RouteTableId`,Ny=`RouteTableIdStringList`,Py=`RouteTableIds`,Fy=`RouteTableList`,Iy=`ResourceType`,Ly=`RouteTable`,Ry=`RouteTables`,zy=`Ramdisk`,By=`Regions`,Vy=`Region`,Hy=`Reservations`,Uy=`Reservation`,Wy=`Route`,Gy=`Routes`,Ky=`SupportedAdditionalProcessorFeatureList`,qy=`SubnetArn`,Jy=`SupportedArchitectures`,Yy=`SupportedBootModes`,Xy=`SubnetCidrBlockState`,Zy=`SustainedClockSpeedInGhz`,Qy=`SourceDestCheck`,$y=`SpreadDomain`,eb=`SupportedFeatures`,tb=`SubGeography`,nb=`SecurityGroupArn`,rb=`SecurityGroupId`,ib=`SecurityGroupIdStringList`,ab=`SecurityGroupIds`,ob=`SecurityGroupList`,sb=`SecurityGroupRules`,cb=`SecurityGroupRuleArn`,lb=`SecurityGroupRuleIds`,ub=`SecurityGroupRuleIdList`,db=`SecurityGroupRuleId`,fb=`SecurityGroupRuleList`,pb=`SecurityGroupRule`,mb=`SecurityGroupStringList`,hb=`SecurityGroups`,gb=`SecurityGroup`,_b=`SubnetIds`,vb=`SubnetIpv6CidrBlockAssociation`,yb=`SubnetIpv6CidrBlockAssociationSet`,bb=`SizeInGB`,xb=`SourceImageId`,Sb=`SecondaryInterfaceId`,Cb=`SourceInstanceId`,wb=`SizeInMiB`,Tb=`SpotInstanceRequestId`,Eb=`SourceImageRegion`,Mee=`StartInstancesRequest`,Nee=`StartInstancesResult`,Pee=`StopInstancesRequest`,Fee=`StopInstancesResult`,Iee=`SnapshotIdStringList`,Lee=`SubnetIdStringList`,Ree=`SpotInstanceType`,Db=`SecondaryInterfaces`,zee=`SecondaryInterface`,Ob=`SnapshotId`,Bee=`SnapshotIds`,Vee=`StartingInstances`,Hee=`StartInstances`,Uee=`StoppingInstances`,Wee=`StopInstances`,kb=`SubnetId`,Gee=`SnapshotLocation`,Kee=`SnapshotList`,Ab=`SpreadLevel`,qee=`SubnetList`,Jee=`SpotMarketOptions`,jb=`StatusMessage`,Mb=`StateMessage`,Yee=`SecondaryNetworkId`,Nb=`SriovNetSupport`,Xee=`SecondaryNetworkSupported`,Zee=`SpotOptions`,Pb=`SkipOsShutdown`,Qee=`SecondaryPrivateIpAddressCount`,$ee=`SupportedRootDeviceTypes`,ete=`SourceRegion`,Fb=`StateReason`,Ib=`SourceSecurityGroupName`,Lb=`SourceSecurityGroupOwnerId`,tte=`SourceSnapshotId`,Rb=`SecondarySubnetId`,nte=`SupportedStrategies`,zb=`StartTime`,rte=`StateTransitionReason`,Bb=`SseType`,ite=`StorageTier`,ate=`SupportedUsageClasses`,ote=`SensitiveUserData`,ste=`SourceVolumeId`,cte=`SupportedVirtualizationTypes`,lte=`SupportedVersions`,Vb=`Size`,ute=`Snapshots`,dte=`Snapshot`,Hb=`State`,Ub=`Status`,Wb=`Strategy`,Gb=`Subnet`,fte=`Subnets`,Kb=`Tags`,qb=`TcpEstablishedTimeout`,pte=`TotalFpgaMemoryInMiB`,Jb=`TransitGatewayId`,mte=`TotalGpuMemoryInMiB`,hte=`TerminateInstances`,gte=`TotalInferenceMemoryInMiB`,_te=`TerminateInstancesRequest`,vte=`TerminateInstancesResult`,yte=`TargetIops`,bte=`TerminatingInstances`,xte=`TagList`,Ste=`TargetMultiAttachEnabled`,Cte=`TotalMediaMemoryInMiB`,wte=`TotalNeuronDeviceMemoryInMiB`,Yb=`ToPort`,Xb=`ThreadsPerCore`,Tte=`ThreadsPerCoreList`,Zb=`TagSpecifications`,Ete=`TotalSizeInGB`,Dte=`TagSpecificationList`,Qb=`TagSpecification`,Ote=`TargetSize`,$b=`TpmSupport`,kte=`TargetThroughput`,Ate=`TransferType`,jte=`TargetVolumeType`,ex=`Tag`,Mte=`Tenancy`,tx=`Throughput`,Nte=`Timestamp`,nx=`Type`,Pte=`UsageClassTypeList`,rx=`UserData`,ix=`UserId`,ax=`UserIdGroupPairs`,ox=`UserIdGroupPairList`,sx=`UserIdGroupPair`,cx=`UnknownIpPermissions`,lx=`UsageOperation`,ux=`UsageOperationUpdateTime`,dx=`UdpStreamTimeout`,fx=`UdpTimeout`,px=`Value`,mx=`VolumeAttachmentList`,hx=`VolumeAttachment`,gx=`VpcCidrBlockAssociation`,_x=`VpcCidrBlockAssociationSet`,vx=`VpcCidrBlockState`,yx=`VCpuInfo`,bx=`ValidCores`,xx=`VpcEncryptionControl`,Sx=`VpcEncryptionControlConfiguration`,Cx=`VpcEncryptionControlExclusion`,wx=`VpcEncryptionControlExclusions`,Tx=`VpcEncryptionControlId`,Ex=`VpcEndpointId`,Dx=`VpcId`,Ox=`VpcIpv6CidrBlockAssociation`,kx=`VpcIpv6CidrBlockAssociationSet`,Ax=`VolumeInitializationRate`,jx=`VolumeIdStringList`,Mx=`VpcIdStringList`,Nx=`VolumeId`,Px=`VolumeIds`,Fx=`VpcIds`,Ix=`VpcLattice`,Lx=`VpcLatticeExclusion`,Rx=`VolumeList`,zx=`VpcList`,Bx=`VolumeModification`,Vx=`VirtualName`,Hx=`VolumeOwnerId`,Ux=`VpcPeeringConnectionId`,Wx=`VpcPeeringExclusion`,Gx=`VirtualPrivateGateway`,Kx=`VirtualPrivateGatewayExclusion`,qx=`VpcPeering`,Jx=`ValueStringList`,Yx=`VolumeSize`,Xx=`VolumeType`,Zx=`VirtualizationTypeList`,Qx=`ValidThreadsPerCore`,$x=`VirtualizationType`,eS=`ValidUntil`,tS=`Values`,nS=`Version`,rS=`Volumes`,iS=`Volume`,aS=`Vpc`,oS=`Vpcs`,sS=`WorkloadsList`,cS=`Workloads`,lS=`ZoneId`,uS=`ZoneIdStringList`,dS=`ZoneIds`,fS=`ZoneName`,pS=`ZoneNameStringList`,mS=`ZoneNames`,hS=`ZoneType`,gS=`additionalFlexibleNetworkInterfaces`,_S=`availableIpAddressCount`,vS=`assignIpv6AddressOnCreation`,yS=`additionalInfo`,bS=`associationId`,xS=`attachmentId`,SS=`amiLaunchIndex`,CS=`attachmentLimitType`,wS=`associatePublicIpAddress`,TS=`amazonProvidedIpv6CidrBlock`,ES=`autoRecoverySupported`,DS=`associatedResource`,OS=`autoRecovery`,kS=`associationState`,AS=`amdSevSnp`,jS=`associationSet`,MS=`attachmentSet`,NS=`attachTime`,PS=`availabilityZone`,FS=`availabilityZoneId`,IS=`availabilityZoneInfo`,LS=`accelerators`,RS=`affinity`,zS=`arn`,BS=`architecture`,VS=`association`,HS=`attachment`,US=`attribute`,WS=`baselineBandwidthInGbps`,GS=`baselineBandwidthInMbps`,KS=`blockDeviceMapping`,qS=`baselineIops`,JS=`bootMode`,YS=`bareMetal`,XS=`blockPublicAccessStates`,ZS=`burstablePerformanceSupported`,QS=`baselineThroughputInMBps`,$S=`bandwidthWeighting`,eC=`bandwidthWeightings`,tC=`cidrBlock`,nC=`cidrBlockAssociationSet`,rC=`capacityBlockId`,iC=`cidrBlockState`,aC=`coreCount`,oC=`completionDurationMinutes`,sC=`creationDate`,cC=`carrierGatewayId`,lC=`currentGeneration`,uC=`carrierIp`,dC=`currentInstanceBootMode`,fC=`cidrIp`,pC=`cidrIpv6`,mC=`cidrIpv4`,hC=`coreInfo`,gC=`coreNetworkArn`,_C=`cpuOptions`,vC=`customerOwnedIp`,yC=`customerOwnedIpv4Pool`,bC=`capacityReservationId`,xC=`capacityReservationPreference`,SC=`capacityReservationResourceGroupArn`,CC=`capacityReservationSpecification`,wC=`capacityReservationTarget`,TC=`currentState`,EC=`clientToken`,DC=`connectionTrackingConfiguration`,OC=`completionTime`,kC=`createTime`,AC=`code`,jC=`configured`,MC=`count`,NC=`disableApiTermination`,PC=`destinationCidrBlock`,FC=`defaultCores`,IC=`dataEncryptionKeyId`,LC=`defaultEnaQueueCountPerInterface`,RC=`defaultForAz`,zC=`dedicatedHostsSupported`,BC=`deviceIndex`,VC=`destinationIpv6CidrBlock`,HC=`deviceName`,UC=`defaultNetworkCardIndex`,WC=`dnsName`,GC=`dhcpOptionsId`,KC=`deleteOnTermination`,qC=`destinationPrefixListId`,JC=`deregistrationProtection`,m=`dryRun`,YC=`destinationRegion`,XC=`defaultTcpEstablishedTimeout`,ZC=`defaultThreadsPerCore`,QC=`deprecationTime`,$C=`defaultUdpStreamTimeout`,ew=`defaultUdpTimeout`,tw=`defaultVCpus`,nw=`description`,rw=`device`,iw=`disks`,aw=`ebsCardIndex`,ow=`ebsCardSet`,sw=`encryptionControl`,cw=`enableDns64`,lw=`elasticFileSystem`,uw=`elasticGpuAssociationId`,dw=`elasticGpuAssociationState`,fw=`elasticGpuAssociationSet`,pw=`elasticGpuAssociationTime`,mw=`elasticGpuId`,hw=`elasticInferenceAcceleratorArn`,gw=`elasticInferenceAcceleratorAssociationId`,_w=`elasticInferenceAcceleratorAssociationState`,vw=`elasticInferenceAcceleratorAssociationSet`,yw=`elasticInferenceAcceleratorAssociationTime`,bw=`encryptionInTransitSupported`,xw=`ebsInfo`,Sw=`efaInfo`,Cw=`enableLniAtDeviceIndex`,ww=`ebsOptimized`,Tw=`ebsOptimizedInfo`,Ew=`egressOnlyInternetGateway`,Dw=`egressOnlyInternetGatewayId`,Ow=`ebsOptimizedSupport`,kw=`enclaveOptions`,Aw=`enaQueueCount`,h=`ec2QueryName`,jw=`enableResourceNameDnsAAAARecord`,Mw=`enableResourceNameDnsARecord`,Nw=`enaSrdEnabled`,Pw=`enaSrdSpecification`,Fw=`enaSrdSupported`,Iw=`enaSrdUdpEnabled`,Lw=`enaSrdUdpSpecification`,Rw=`efaSupported`,zw=`encryptionSupport`,Bw=`enaSupport`,Vw=`endTime`,Hw=`ebs`,Uw=`enabled`,Ww=`encrypted`,Gw=`flexibleEnaQueuesSupport`,Kw=`fpgaInfo`,qw=`fromPort`,Jw=`fastRestored`,Yw=`fullSnapshotSizeInBytes`,Xw=`freeTierEligible`,Zw=`force`,Qw=`fpgas`,$w=`groupArn`,eT=`groupDescription`,tT=`gatewayId`,nT=`gpuInfo`,rT=`groupId`,iT=`groupLongName`,aT=`groupName`,oT=`groupOwnerId`,sT=`gpuPartitionSize`,cT=`geographySet`,lT=`groupSet`,uT=`gpus`,dT=`groups`,fT=`hypervisor`,pT=`httpEndpoint`,mT=`hostId`,hT=`hibernationOptions`,gT=`httpProtocolIpv6`,_T=`httpPutResponseHopLimit`,vT=`hostResourceGroupArn`,yT=`hibernationSupported`,bT=`httpTokens`,xT=`hostnameType`,ST=`id`,CT=`ipv6AddressAttribute`,wT=`ipv6AddressCount`,TT=`inferenceAcceleratorInfo`,ET=`ipv4AddressesPerInterface`,DT=`ipv6AddressesPerInterface`,OT=`ipv4AddressesPerSecondaryInterface`,kT=`ipv6AddressesSet`,AT=`imageAllowed`,jT=`ipAddress`,MT=`ipv6Address`,NT=`ipv6CidrBlock`,PT=`ipv6CidrBlockAssociationSet`,FT=`ipv6CidrBlockState`,IT=`isDefault`,LT=`isEgress`,RT=`internetGateway`,zT=`internetGatewayBlockMode`,BT=`internetGatewayId`,VT=`internetGatewaySet`,HT=`instanceId`,UT=`iamInstanceProfile`,WT=`instanceInitiatedShutdownBehavior`,GT=`imageId`,KT=`imageLocation`,qT=`instanceLifecycle`,JT=`instanceMetadataTags`,YT=`ipv6Native`,XT=`imageOwnerAlias`,ZT=`imageOwnerId`,QT=`instanceOwnerId`,$T=`ipOwnerId`,eE=`instanceOwningService`,tE=`ipPermissionsEgress`,nE=`isPrimaryIpv6`,rE=`ipv4PrefixSet`,iE=`ipv6PrefixSet`,aE=`ipProtocol`,oE=`ipPermissions`,sE=`ipv4Prefix`,cE=`ipv6Pool`,lE=`ipv6Prefix`,uE=`isPublic`,dE=`ipRanges`,fE=`ipv6Ranges`,pE=`instanceStorageInfo`,mE=`instanceStorageSupported`,hE=`imagesSet`,gE=`imageState`,_E=`imdsSupport`,vE=`instancesSet`,yE=`instanceState`,bE=`ipSource`,xE=`ipv6Supported`,SE=`instanceType`,CE=`instanceTypeSet`,wE=`idempotencyToken`,TE=`imageType`,EE=`instanceTenancy`,DE=`interfaceType`,OE=`iops`,g=`item`,kE=`key`,AE=`keyFingerprint`,jE=`kernelId`,ME=`kmsKeyId`,NE=`keyMaterial`,PE=`keyName`,FE=`keyPairId`,IE=`keySet`,LE=`keyType`,RE=`kernel`,zE=`licenseConfigurationArn`,BE=`logicalGpuCount`,VE=`localGatewayId`,HE=`linkedGroupId`,UE=`lastLaunchedTime`,WE=`licenseSet`,GE=`launchTime`,KE=`lambda`,qE=`multiAttachEnabled`,JE=`mediaAcceleratorInfo`,YE=`macAddress`,XE=`maximumBandwidthInMbps`,ZE=`mapCustomerOwnedIpOnLaunch`,QE=`maximumEbsAttachments`,$E=`maximumEbsCards`,eD=`maximumEfaInterfaces`,tD=`maximumEnaQueueCount`,nD=`maximumEnaQueueCountPerInterface`,rD=`maximumIops`,iD=`memoryInfo`,aD=`maximumNetworkCards`,oD=`maximumNetworkInterfaces`,sD=`metadataOptions`,cD=`maintenanceOptions`,lD=`mapPublicIpOnLaunch`,uD=`maxResults`,dD=`messageSet`,fD=`maximumSecondaryNetworkInterfaces`,pD=`modificationState`,mD=`maximumThroughputInMBps`,hD=`main`,gD=`manufacturer`,_D=`managed`,vD=`message`,yD=`monitoring`,bD=`mode`,xD=`name`,SD=`networkBorderGroup`,CD=`networkCards`,wD=`networkCardIndex`,TD=`noDevice`,ED=`neuronDevices`,DD=`nitroEnclavesSupport`,OD=`natGateway`,kD=`natGatewayId`,AD=`networkInterfaceId`,jD=`networkInterfaceSet`,MD=`networkInterface`,ND=`networkInfo`,PD=`neuronInfo`,FD=`networkPerformanceOptions`,ID=`networkPerformance`,LD=`noReboot`,RD=`nvmeSupport`,zD=`nitroTpmInfo`,BD=`nitroTpmSupport`,VD=`nextToken`,HD=`nestedVirtualization`,UD=`origin`,WD=`outpostArn`,GD=`ownerAlias`,KD=`ownerId`,qD=`optInStatus`,JD=`originalIops`,YD=`originalMultiAttachEnabled`,XD=`odbNetworkArn`,ZD=`originalSize`,QD=`originalThroughput`,$D=`originalVolumeType`,eO=`operator`,tO=`output`,nO=`principal`,rO=`peakBandwidthInGbps`,iO=`productCodes`,aO=`partitionCount`,oO=`productCode`,sO=`privateDnsNameOptions`,cO=`privateDnsNameOptionsOnLaunch`,lO=`privateDnsName`,uO=`publicDnsName`,dO=`platformDetails`,fO=`placementGroup`,pO=`placementGroupInfo`,mO=`placementGroupSet`,hO=`publicIp`,gO=`privateIpAddressesSet`,_O=`privateIpAddressSet`,vO=`privateIpAddress`,yO=`publicIpv4Pool`,bO=`processorInfo`,xO=`publicKey`,SO=`publicKeyMaterial`,CO=`prefixListId`,wO=`prefixListIds`,TO=`partitionNumber`,EO=`peeringStatus`,DO=`phcSupport`,OO=`previousState`,kO=`presignedUrl`,AO=`propagatingVgwSet`,jO=`parentZoneId`,MO=`parentZoneName`,NO=`platform`,PO=`placement`,FO=`primary`,IO=`progress`,LO=`return`,RO=`rootDeviceName`,zO=`rootDeviceType`,BO=`restoreExpiryTime`,VO=`regionEndpoint`,HO=`resourceExclusions`,UO=`referencedGroupId`,WO=`referencedGroupInfo`,GO=`reservationId`,KO=`ramdiskId`,qO=`regionInfo`,JO=`requesterId`,YO=`rebootMigrationSupport`,XO=`rebootMigration`,ZO=`regionName`,QO=`revokedSecurityGroupRuleSet`,$O=`reservationSet`,ek=`routeSet`,tk=`routeTableAssociationId`,nk=`routeTableId`,rk=`routeTableSet`,ik=`resourceType`,ak=`routeTable`,ok=`ramdisk`,sk=`reason`,ck=`smithy.ts.sdk.synthetic.com.amazonaws.ec2`,lk=`supportedArchitectures`,uk=`subnetArn`,dk=`supportedBootModes`,fk=`sustainedClockSpeedInGhz`,pk=`sourceDestCheck`,mk=`spreadDomain`,hk=`supportedFeatures`,gk=`securityGroupArn`,_k=`securityGroupInfo`,vk=`securityGroupRuleArn`,yk=`securityGroupRuleId`,bk=`securityGroupRuleSet`,xk=`subGeographySet`,Sk=`sizeInGB`,Ck=`sourceInstanceId`,wk=`secondaryInterfaceId`,Tk=`sourceImageId`,Ek=`sizeInMiB`,Dk=`sourceImageRegion`,Ok=`spotInstanceRequestId`,kk=`secondaryInterfaceSet`,Ak=`snapshotId`,jk=`subnetId`,Mk=`spreadLevel`,Nk=`statusMessage`,Pk=`stateMessage`,Fk=`secondaryNetworkId`,Ik=`secondaryNetworkSupported`,Lk=`sriovNetSupport`,Rk=`secondaryPrivateIpAddressCount`,zk=`supportedRootDeviceTypes`,Bk=`stateReason`,Vk=`sourceSecurityGroupName`,Hk=`sourceSecurityGroupOwnerId`,Uk=`secondarySubnetId`,Wk=`snapshotSet`,Gk=`subnetSet`,Kk=`supportedStrategies`,qk=`startTime`,Jk=`sseType`,Yk=`storageTier`,Xk=`supportedUsageClasses`,Zk=`sourceVolumeId`,Qk=`supportedVirtualizationTypes`,$k=`supportedVersions`,eA=`size`,tA=`state`,nA=`status`,rA=`strategy`,iA=`subnet`,aA=`tenancy`,oA=`tcpEstablishedTimeout`,sA=`totalFpgaMemoryInMiB`,cA=`transitGatewayId`,lA=`totalGpuMemoryInMiB`,uA=`totalInferenceMemoryInMiB`,dA=`targetIops`,fA=`targetMultiAttachEnabled`,pA=`totalMediaMemoryInMiB`,mA=`totalNeuronDeviceMemoryInMiB`,hA=`toPort`,gA=`threadsPerCore`,_A=`tagSet`,vA=`totalSizeInGB`,yA=`targetSize`,bA=`tpmSupport`,xA=`targetThroughput`,SA=`transferType`,CA=`targetVolumeType`,wA=`throughput`,TA=`timestamp`,EA=`type`,DA=`userData`,OA=`userId`,kA=`unknownIpPermissionSet`,AA=`usageOperation`,jA=`usageOperationUpdateTime`,MA=`udpStreamTimeout`,NA=`udpTimeout`,PA=`value`,FA=`vCpuInfo`,IA=`validCores`,LA=`vpcEncryptionControlId`,RA=`vpcId`,zA=`volumeInitializationRate`,BA=`volumeId`,VA=`vpcLattice`,HA=`volumeModification`,UA=`virtualName`,WA=`volumeOwnerId`,GA=`vpcPeeringConnectionId`,KA=`virtualPrivateGateway`,qA=`vpcPeering`,JA=`volumeSet`,YA=`volumeSize`,XA=`vpcSet`,ZA=`volumeType`,QA=`validThreadsPerCore`,$A=`virtualizationType`,ej=`version`,tj=`vpc`,nj=`workloadSet`,_=`xmlName`,rj=`zoneId`,ij=`zoneName`,aj=`zoneState`,oj=`zoneType`,v=`com.amazonaws.ec2`,sj=At.for(ck),cj=[-3,ck,`EC2ServiceException`,0,[],[]];sj.registerError(cj,Lo);var lj=[sj],uj=[0,v,Pc,8,0],dj=[0,v,iy,8,0],fj=[0,v,ote,8,0],pj=[3,v,es,0,[My,Sf,bv,p,kb],[[0,{[h]:`RouteTableId`,[_]:nk}],0,0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SubnetId`,[_]:jk}]],1],mj=[3,v,ts,0,[qo,os],[[0,{[h]:`AssociationId`,[_]:bS}],[()=>tF,{[h]:`AssociationState`,[_]:kS}]]],hj=[3,v,Go,0,[Op,Dx,p],[[0,{[h]:`InternetGatewayId`,[_]:BT}],[0,{[h]:`VpcId`,[_]:RA}],[2,{[h]:`DryRun`,[_]:m}]],2],gj=[3,v,gs,0,[Vu,Np,Nx,Ku,p],[0,0,0,1,[2,{[h]:`DryRun`,[_]:m}]],3],_j=[3,v,zo,0,[px],[[2,{[h]:`Value`,[_]:PA}]]],vj=[3,v,_s,0,[px],[[0,{[h]:`Value`,[_]:PA}]]],yj=[3,v,cs,0,[Ef,Zb,p,Ib,Lb,Vm,of,Yb,nc,zm],[[0,{[h]:`GroupId`,[_]:rT}],[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SourceSecurityGroupName`,[_]:Vk}],[0,{[h]:`SourceSecurityGroupOwnerId`,[_]:Hk}],[0,{[h]:`IpProtocol`,[_]:aE}],[1,{[h]:`FromPort`,[_]:qw}],[1,{[h]:`ToPort`,[_]:hA}],[0,{[h]:`CidrIp`,[_]:fC}],[()=>TI,{[h]:`IpPermissions`,[_]:oE}]],1],bj=[3,v,ls,0,[Uv,sb],[[2,{[h]:`Return`,[_]:LO}],[()=>oL,{[h]:`SecurityGroupRuleSet`,[_]:bk}]]],xj=[3,v,us,0,[nc,of,Ef,Af,zm,Vm,Ib,Lb,Yb,Zb,p],[0,1,0,0,[()=>TI,0],0,0,0,1,[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}]]],Sj=[3,v,ds,0,[Uv,sb],[[2,{[h]:`Return`,[_]:LO}],[()=>oL,{[h]:`SecurityGroupRuleSet`,[_]:bk}]]],Cj=[3,v,ys,0,[j_,Yg,hy,fS,lS,Af,$g,hS,Lv,Iv,kf,Ff,tb,Hb],[[0,{[h]:`OptInStatus`,[_]:qD}],[()=>LF,{[h]:`MessageSet`,[_]:dD}],[0,{[h]:`RegionName`,[_]:ZO}],[0,{[h]:`ZoneName`,[_]:ij}],[0,{[h]:`ZoneId`,[_]:rj}],[0,{[h]:`GroupName`,[_]:aT}],[0,{[h]:`NetworkBorderGroup`,[_]:SD}],[0,{[h]:`ZoneType`,[_]:oj}],[0,{[h]:`ParentZoneName`,[_]:MO}],[0,{[h]:`ParentZoneId`,[_]:jO}],[0,{[h]:`GroupLongName`,[_]:iT}],[()=>FF,{[h]:`GeographySet`,[_]:cT}],[()=>RF,{[h]:`SubGeographySet`,[_]:xk}],[0,{[h]:`ZoneState`,[_]:aj}]]],wj=[3,v,bs,0,[Qg],[[0,{[h]:`Name`,[_]:xD}]]],Tj=[3,v,hee,0,[Jg],[[0,{[h]:`Message`,[_]:vD}]]],Ej=[3,v,_ee,0,[Qg],[[0,{[h]:`Name`,[_]:xD}]]],Dj=[3,v,Cee,0,[px],[[21,{[h]:`Value`,[_]:PA}]]],Oj=[3,v,As,0,[Jd,i_,Vl,Vx],[[()=>KM,{[h]:`Ebs`,[_]:Hw}],[0,{[h]:`NoDevice`,[_]:TD}],[0,{[h]:`DeviceName`,[_]:HC}],[0,{[h]:`VirtualName`,[_]:UA}]]],kj=[3,v,Ps,0,[Ep],[[0,{[h]:`InternetGatewayBlockMode`,[_]:zT}]]],Aj=[3,v,Cc,0,[vc,wc],[0,()=>Mj]],jj=[3,v,Sc,0,[vc,wc],[[0,{[h]:`CapacityReservationPreference`,[_]:xC}],[()=>Nj,{[h]:`CapacityReservationTarget`,[_]:wC}]]],Mj=[3,v,wc,0,[_c,bc],[0,0]],Nj=[3,v,Tc,0,[_c,bc],[[0,{[h]:`CapacityReservationId`,[_]:bC}],[0,{[h]:`CapacityReservationResourceGroupArn`,[_]:SC}]]],Pj=[3,v,Jc,0,[qb,dx,fx],[1,1,1]],Fj=[3,v,Yc,0,[qb,dx,fx],[[1,{[h]:`TcpEstablishedTimeout`,[_]:oA}],[1,{[h]:`UdpStreamTimeout`,[_]:MA}],[1,{[h]:`UdpTimeout`,[_]:NA}]]],Ij=[3,v,Nc,0,[ete,tte,Bu,Ul,iu,Xd,jh,Mv,Zb,Gs,cl,p],[0,0,0,0,[0,{[h]:`DestinationRegion`,[_]:YC}],[2,{[h]:`Encrypted`,[_]:Ww}],[0,{[h]:`KmsKeyId`,[_]:ME}],[()=>uj,{[h]:`PresignedUrl`,[_]:kO}],[()=>hL,{[_]:Qb}],1,0,[2,{[h]:`DryRun`,[_]:m}]],2],Lj=[3,v,Fc,0,[Kb,Ob],[[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`SnapshotId`,[_]:Ak}]]],Rj=[3,v,uc,0,[Us,Xb,ps,E_],[[1,{[h]:`CoreCount`,[_]:aC}],[1,{[h]:`ThreadsPerCore`,[_]:gA}],[0,{[h]:`AmdSevSnp`,[_]:AS}],[0,{[h]:`NestedVirtualization`,[_]:HD}]]],zj=[3,v,pc,0,[Us,Xb,ps,E_],[1,1,0,0]],Bj=[3,v,ec,0,[Np,Qg,Zb,Gee,p,Bu,b_,js],[[0,{[h]:`InstanceId`,[_]:HT}],[0,{[h]:`Name`,[_]:xD}],[()=>hL,{[_]:Qb}],0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`Description`,[_]:nw}],[2,{[h]:`NoReboot`,[_]:LD}],[()=>VF,{[h]:`BlockDeviceMapping`,[_]:KS}]],2],Vj=[3,v,tc,0,[Jp],[[0,{[h]:`ImageId`,[_]:GT}]]],Hj=[3,v,Qs,0,[Zb,p],[[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}]]],Uj=[3,v,$s,0,[Cp],[[()=>nP,{[h]:`InternetGateway`,[_]:RT}]]],Wj=[3,v,cc,0,[Nh,Uh,Zb,Oh,p],[0,0,[()=>hL,{[_]:Qb}],0,[2,{[h]:`DryRun`,[_]:m}]],1],Gj=[3,v,hc,0,[Z_,Zb,Ab,Zh,H_,p,Af,Wb],[1,[()=>hL,{[_]:Qb}],0,0,()=>kP,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`GroupName`,[_]:aT}],[0,{[h]:`Strategy`,[_]:rA}]]],Kj=[3,v,gc,0,[sv],[[()=>MP,{[h]:`PlacementGroup`,[_]:fO}]]],qj=[3,v,yc,0,[My,Zl,Ex,Jb,Xh,qs,lc,F_,p,fl,Sf,bl,Od,Np,m_,Ux,p_],[[0,{[h]:`RouteTableId`,[_]:nk}],0,0,0,0,0,0,0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`DestinationCidrBlock`,[_]:PC}],[0,{[h]:`GatewayId`,[_]:tT}],[0,{[h]:`DestinationIpv6CidrBlock`,[_]:VC}],[0,{[h]:`EgressOnlyInternetGatewayId`,[_]:Dw}],[0,{[h]:`InstanceId`,[_]:HT}],[0,{[h]:`NetworkInterfaceId`,[_]:AD}],[0,{[h]:`VpcPeeringConnectionId`,[_]:GA}],[0,{[h]:`NatGatewayId`,[_]:kD}]],1],Jj=[3,v,xc,0,[Uv],[[2,{[h]:`Return`,[_]:LO}]]],Yj=[3,v,Ec,0,[Dx,Zb,Gc,p],[[0,{[h]:`VpcId`,[_]:RA}],[()=>hL,{[_]:Qb}],[0,4],[2,{[h]:`DryRun`,[_]:m}]],1],Xj=[3,v,Dc,0,[Ly,Gc],[[()=>$P,{[h]:`RouteTable`,[_]:ak}],[0,{[h]:`ClientToken`,[_]:EC}]]],Zj=[3,v,jc,0,[Bu,Af,Dx,Zb,p],[[0,{[_]:vf}],0,0,[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}]],2],Qj=[3,v,Mc,0,[Ef,Kb,nb],[[0,{[h]:`GroupId`,[_]:rT}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`SecurityGroupArn`,[_]:gk}]]],$j=[3,v,Ic,0,[Nx,Bu,O_,Zb,dg,p],[0,0,0,[()=>hL,{[_]:Qb}],0,[2,{[h]:`DryRun`,[_]:m}]],1],eM=[3,v,Lc,0,[Dx,Zb,ys,Ss,Rs,fp,O_,dm,zp,ym,Rp,vm,p],[0,[()=>hL,{[_]:Qb}],0,0,0,0,0,2,0,1,0,1,[2,{[h]:`DryRun`,[_]:m}]],1],tM=[3,v,Rc,0,[Gb],[[()=>pF,{[h]:`Subnet`,[_]:iA}]]],nM=[3,v,Qc,0,[ys,Ss,Xd,Eh,jh,O_,Vb,Ob,Xx,Zb,fg,tx,Gc,Ax,H_,p],[0,0,[2,{[h]:`Encrypted`,[_]:Ww}],1,0,0,1,0,0,[()=>hL,{[_]:Qb}],2,1,[0,4],1,()=>kP,[2,{[h]:`DryRun`,[_]:m}]]],rM=[3,v,$c,0,[Rs,Um,fp,zp,ym,Rp,vm,mp,xx,Zb,p,yh,Qo],[0,0,0,0,1,0,1,0,()=>kF,[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`InstanceTenancy`,[_]:EE}],[2,{[h]:`AmazonProvidedIpv6CidrBlock`,[_]:TS}]]],iM=[3,v,el,0,[aS],[[()=>TF,{[h]:`Vpc`,[_]:tj}]]],aM=[3,v,zc,0,[Ws],[0],1],oM=[3,v,pl,0,[Su,Eu,Tu],[[1,{[h]:`DefaultTcpEstablishedTimeout`,[_]:XC}],[1,{[h]:`DefaultUdpTimeout`,[_]:ew}],[1,{[h]:`DefaultUdpStreamTimeout`,[_]:$C}]]],sM=[3,v,Il,0,[Nh,Lh,p],[0,0,[2,{[h]:`DryRun`,[_]:m}]]],cM=[3,v,Ll,0,[Uv,Lh],[[2,{[h]:`Return`,[_]:LO}],[0,{[h]:`KeyPairId`,[_]:FE}]]],lM=[3,v,ql,0,[Af,p],[[0,{[h]:`GroupName`,[_]:aT}],[2,{[h]:`DryRun`,[_]:m}]],1],uM=[3,v,su,0,[Ef,Af,p],[0,0,[2,{[h]:`DryRun`,[_]:m}]]],dM=[3,v,cu,0,[Uv,Ef],[[2,{[h]:`Return`,[_]:LO}],[0,{[h]:`GroupId`,[_]:rT}]]],fM=[3,v,fu,0,[Ob,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],pM=[3,v,pu,0,[kb,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],mM=[3,v,Ou,0,[Nx,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],hM=[3,v,ku,0,[Dx,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],gM=[3,v,ll,0,[mS,dS,Ro,p,uf],[[()=>AL,{[_]:fS}],[()=>kL,{[_]:lS}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],_M=[3,v,ul,0,[yee],[[()=>IF,{[h]:`AvailabilityZoneInfo`,[_]:IS}]]],vM=[3,v,Tl,0,[qd,Yp,W_,gp,bp,Lg,T_,p,uf],[[()=>XF,{[_]:Gu}],[()=>rI,{[_]:Jp}],[()=>zI,{[_]:G_}],2,2,1,0,[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],yM=[3,v,El,0,[T_,Sh],[[0,{[h]:`NextToken`,[_]:VD}],[()=>iI,{[h]:`ImagesSet`,[_]:hE}]]],bM=[3,v,Dl,0,[Xp,p,uf,T_,Lg],[[()=>cI,{[_]:Np}],[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}],[0,{[h]:`NextToken`,[_]:VD}],[1,{[h]:`MaxResults`,[_]:uD}]]],xM=[3,v,Ol,0,[T_,Hy],[[0,{[h]:`NextToken`,[_]:VD}],[()=>XI,{[h]:`ReservationSet`,[_]:$O}]]],SM=[3,v,kl,0,[p,bh,uf,Lg,T_],[2,[64,{[_]:hh}],[()=>ZF,{[_]:df}],1,0]],CM=[3,v,Al,0,[bh,T_],[[()=>xI,{[h]:`InstanceTypeSet`,[_]:CE}],[0,{[h]:`NextToken`,[_]:VD}]]],wM=[3,v,xl,0,[T_,Lg,p,Ap,uf],[0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>CI,{[h]:`InternetGatewayId`,[_]:BT}],[()=>ZF,{[_]:df}]]],TM=[3,v,Sl,0,[Mp,T_],[[()=>wI,{[h]:`InternetGatewaySet`,[_]:VT}],[0,{[h]:`NextToken`,[_]:VD}]]],EM=[3,v,Rl,0,[Fh,zh,Mm,p,uf],[[()=>AI,{[_]:Nh}],[()=>jI,{[_]:Lh}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],DM=[3,v,zl,0,[Ih],[[()=>MI,{[h]:`KeySet`,[_]:IE}]]],OM=[3,v,Jl,0,[Df,p,Mf,uf],[[()=>BI,{[_]:Ef}],[2,{[h]:`DryRun`,[_]:m}],[64,{[h]:`GroupName`,[_]:aT}],[()=>ZF,{[_]:df}]]],kM=[3,v,Yl,0,[fv],[[()=>VI,{[h]:`PlacementGroupSet`,[_]:mO}]]],AM=[3,v,$l,0,[_y,rs,p,uf],[[()=>YI,{[_]:hy}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],jM=[3,v,eu,0,[By],[[()=>JI,{[h]:`RegionInfo`,[_]:qO}]]],MM=[3,v,tu,0,[T_,Lg,p,Py,uf],[0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>tL,{[_]:My}],[()=>ZF,{[_]:df}]]],NM=[3,v,nu,0,[Ry,T_],[[()=>nL,{[h]:`RouteTableSet`,[_]:rk}],[0,{[h]:`NextToken`,[_]:VD}]]],PM=[3,v,lu,0,[Df,Mf,T_,Lg,p,uf],[[()=>tI,{[_]:Ef}],[()=>nI,{[_]:Af}],0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],FM=[3,v,uu,0,[T_,hb],[[0,{[h]:`NextToken`,[_]:VD}],[()=>iL,{[h]:`SecurityGroupInfo`,[_]:_k}]]],IM=[3,v,mu,0,[Lg,T_,N_,Wv,Bee,p,uf],[1,0,[()=>zI,{[_]:G_}],[64,{[_]:Gv}],[()=>cL,{[_]:Ob}],[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}]]],LM=[3,v,hu,0,[T_,ute],[[0,{[h]:`NextToken`,[_]:VD}],[()=>lL,{[h]:`SnapshotSet`,[_]:Wk}]]],RM=[3,v,gu,0,[uf,_b,T_,Lg,p],[[()=>ZF,{[_]:df}],[()=>uL,{[_]:kb}],0,1,[2,{[h]:`DryRun`,[_]:m}]]],zM=[3,v,_u,0,[T_,fte],[[0,{[h]:`NextToken`,[_]:VD}],[()=>fL,{[h]:`SubnetSet`,[_]:Gk}]]],BM=[3,v,Au,0,[Px,p,uf,T_,Lg],[[()=>SL,{[_]:Nx}],[2,{[h]:`DryRun`,[_]:m}],[()=>ZF,{[_]:df}],[0,{[h]:`NextToken`,[_]:VD}],[1,{[h]:`MaxResults`,[_]:uD}]]],VM=[3,v,ju,0,[T_,rS],[[0,{[h]:`NextToken`,[_]:VD}],[()=>CL,{[h]:`VolumeSet`,[_]:JA}]]],HM=[3,v,Mu,0,[uf,Fx,T_,Lg,p],[[()=>ZF,{[_]:df}],[()=>TL,{[_]:Dx}],0,1,[2,{[h]:`DryRun`,[_]:m}]]],UM=[3,v,Nu,0,[T_,oS],[[0,{[h]:`NextToken`,[_]:VD}],[()=>DL,{[h]:`VpcSet`,[_]:XA}]]],WM=[3,v,Pu,0,[Nx,Vu,Qd,Np,p],[0,0,2,0,[2,{[h]:`DryRun`,[_]:m}]],1],GM=[3,v,Pl,0,[bb,al,nx],[[1,{[h]:`SizeInGB`,[_]:Sk}],[1,{[h]:`Count`,[_]:MC}],[0,{[h]:`Type`,[_]:EA}]]],KM=[3,v,Uu,0,[Gl,Eh,Ob,Yx,Xx,jh,tx,O_,ys,Xd,Ax,Ss,Ku],[[2,{[h]:`DeleteOnTermination`,[_]:KC}],[1,{[h]:`Iops`,[_]:OE}],[0,{[h]:`SnapshotId`,[_]:Ak}],[1,{[h]:`VolumeSize`,[_]:YA}],[0,{[h]:`VolumeType`,[_]:ZA}],[0,{[h]:`KmsKeyId`,[_]:ME}],[1,{[h]:`Throughput`,[_]:wA}],[0,{[h]:`OutpostArn`,[_]:WD}],[0,{[h]:`AvailabilityZone`,[_]:PS}],[2,{[h]:`Encrypted`,[_]:Ww}],1,0,1]],qM=[3,v,Ju,0,[Ku,ks,Fs,Ms,hg,Vg,Dg],[[1,{[h]:`EbsCardIndex`,[_]:aw}],[1,{[h]:`BaselineBandwidthInMbps`,[_]:GS}],[1,{[h]:`BaselineThroughputInMBps`,[_]:QS}],[1,{[h]:`BaselineIops`,[_]:qS}],[1,{[h]:`MaximumBandwidthInMbps`,[_]:XE}],[1,{[h]:`MaximumThroughputInMBps`,[_]:mD}],[1,{[h]:`MaximumIops`,[_]:rD}]]],JM=[3,v,xd,0,[Ad,Wd,Td,x_,Sg,Xo,Cg,Yu],[[0,{[h]:`EbsOptimizedSupport`,[_]:Ow}],[0,{[h]:`EncryptionSupport`,[_]:zw}],[()=>ZM,{[h]:`EbsOptimizedInfo`,[_]:Tw}],[0,{[h]:`NvmeSupport`,[_]:RD}],[1,{[h]:`MaximumEbsAttachments`,[_]:QE}],[0,{[h]:`AttachmentLimitType`,[_]:CS}],[1,{[h]:`MaximumEbsCards`,[_]:$E}],[()=>GF,{[h]:`EbsCardSet`,[_]:ow}]]],YM=[3,v,vd,0,[hs,Gl,Ub,Nx,is,Hx,H_,Ku],[[4,{[h]:`AttachTime`,[_]:NS}],[2,{[h]:`DeleteOnTermination`,[_]:KC}],[0,{[h]:`Status`,[_]:nA}],[0,{[h]:`VolumeId`,[_]:BA}],[0,{[h]:`AssociatedResource`,[_]:DS}],[0,{[h]:`VolumeOwnerId`,[_]:WA}],[()=>AP,{[h]:`Operator`,[_]:eO}],[1,{[h]:`EbsCardIndex`,[_]:aw}]]],XM=[3,v,yd,0,[Nx,Gl],[[0,{[h]:`VolumeId`,[_]:BA}],[2,{[h]:`DeleteOnTermination`,[_]:KC}]]],ZM=[3,v,Td,0,[ks,Fs,Ms,hg,Vg,Dg],[[1,{[h]:`BaselineBandwidthInMbps`,[_]:GS}],[1,{[h]:`BaselineThroughputInMBps`,[_]:QS}],[1,{[h]:`BaselineIops`,[_]:qS}],[1,{[h]:`MaximumBandwidthInMbps`,[_]:XE}],[1,{[h]:`MaximumThroughputInMBps`,[_]:mD}],[1,{[h]:`MaximumIops`,[_]:rD}]]],QM=[3,v,Sd,0,[wg],[[1,{[h]:`MaximumEfaInterfaces`,[_]:eD}]]],$M=[3,v,ed,0,[od,td,rd,id],[[0,{[h]:`ElasticGpuId`,[_]:mw}],[0,{[h]:`ElasticGpuAssociationId`,[_]:uw}],[0,{[h]:`ElasticGpuAssociationState`,[_]:dw}],[0,{[h]:`ElasticGpuAssociationTime`,[_]:pw}]]],eN=[3,v,sd,0,[nx],[0],1],tN=[3,v,ld,0,[nx,al],[0,1],1],nN=[3,v,ud,0,[hd,dd,pd,md],[[0,{[h]:`ElasticInferenceAcceleratorArn`,[_]:hw}],[0,{[h]:`ElasticInferenceAcceleratorAssociationId`,[_]:gw}],[0,{[h]:`ElasticInferenceAcceleratorAssociationState`,[_]:_w}],[4,{[h]:`ElasticInferenceAcceleratorAssociationTime`,[_]:yw}]]],rN=[3,v,Rd,0,[Id,Vd],[2,()=>iN]],iN=[3,v,Hd,0,[Bd],[2]],aN=[3,v,jd,0,[Yd],[[2,{[h]:`Enabled`,[_]:Uw}]]],oN=[3,v,kd,0,[Yd],[2]],sN=[3,v,df,0,[Qg,tS],[0,[()=>yL,{[_]:px}]]],cN=[3,v,$d,0,[Qg,Kg,al,Ag],[[0,{[h]:`Name`,[_]:xD}],[0,{[h]:`Manufacturer`,[_]:gD}],[1,{[h]:`Count`,[_]:MC}],[()=>lN,{[h]:`MemoryInfo`,[_]:iD}]]],lN=[3,v,tf,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],uN=[3,v,rf,0,[ff,pte],[[()=>QF,{[h]:`Fpgas`,[_]:Qw}],[1,{[h]:`TotalFpgaMemoryInMiB`,[_]:sA}]]],dN=[3,v,gf,0,[Np,cg,p],[0,2,[2,{[h]:`DryRun`,[_]:m}]],1],fN=[3,v,_f,0,[Np,Nte,U_],[[0,{[h]:`InstanceId`,[_]:HT}],[4,{[h]:`Timestamp`,[_]:TA}],[0,{[h]:`Output`,[_]:tO}]]],pN=[3,v,yf,0,[Qg,Kg,al,Yh,Pf,cS,Ag],[[0,{[h]:`Name`,[_]:xD}],[0,{[h]:`Manufacturer`,[_]:gD}],[1,{[h]:`Count`,[_]:MC}],[1,{[h]:`LogicalGpuCount`,[_]:BE}],[1,{[h]:`GpuPartitionSize`,[_]:sT}],[()=>OL,{[h]:`WorkloadSet`,[_]:nj}],[()=>mN,{[h]:`MemoryInfo`,[_]:iD}]]],mN=[3,v,xf,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],hN=[3,v,Tf,0,[If,mte],[[()=>$F,{[h]:`Gpus`,[_]:uT}],[1,{[h]:`TotalGpuMemoryInMiB`,[_]:lA}]]],gN=[3,v,Of,0,[Ef,Af],[[0,{[h]:`GroupId`,[_]:rT}],[0,{[h]:`GroupName`,[_]:aT}]]],_N=[3,v,zf,0,[il],[[2,{[h]:`Configured`,[_]:jC}]]],vN=[3,v,Bf,0,[il],[2]],yN=[3,v,Lp,0,[ws,Yf],[[0,{[h]:`Arn`,[_]:zS}],[0,{[h]:`Id`,[_]:ST}]]],bN=[3,v,Hp,0,[ws,Qg],[[0,{[h]:`Arn`,[_]:zS}],[0,{[h]:`Name`,[_]:xD}]]],xN=[3,v,Ch,0,[ov,lx,js,Bu,Gd,Jf,Sm,Qg,Kv,qv,Nb,Fb,Kb,$x,Ns,$b,wu,dh,Cb,Ql,$h,ap,xb,Eb,lf,Jp,em,Hb,A_,Ks,Hv,$_,Ts,vh,Ah,ay,Rv],[[0,{[h]:`PlatformDetails`,[_]:dO}],[0,{[h]:`UsageOperation`,[_]:AA}],[()=>BF,{[h]:`BlockDeviceMapping`,[_]:KS}],[0,{[h]:`Description`,[_]:nw}],[2,{[h]:`EnaSupport`,[_]:Bw}],[0,{[h]:`Hypervisor`,[_]:fT}],[0,{[h]:`ImageOwnerAlias`,[_]:XT}],[0,{[h]:`Name`,[_]:xD}],[0,{[h]:`RootDeviceName`,[_]:RO}],[0,{[h]:`RootDeviceType`,[_]:zO}],[0,{[h]:`SriovNetSupport`,[_]:Lk}],[()=>uF,{[h]:`StateReason`,[_]:Bk}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`VirtualizationType`,[_]:$A}],[0,{[h]:`BootMode`,[_]:JS}],[0,{[h]:`TpmSupport`,[_]:bA}],[0,{[h]:`DeprecationTime`,[_]:QC}],[0,{[h]:`ImdsSupport`,[_]:_E}],[0,{[h]:`SourceInstanceId`,[_]:Ck}],[0,{[h]:`DeregistrationProtection`,[_]:JC}],[0,{[h]:`LastLaunchedTime`,[_]:UE}],[2,{[h]:`ImageAllowed`,[_]:AT}],[0,{[h]:`SourceImageId`,[_]:Tk}],[0,{[h]:`SourceImageRegion`,[_]:Dk}],[2,{[h]:`FreeTierEligible`,[_]:Xw}],[0,{[h]:`ImageId`,[_]:GT}],[0,{[h]:`ImageLocation`,[_]:KT}],[0,{[h]:`ImageState`,[_]:gE}],[0,{[h]:`ImageOwnerId`,[_]:ZT}],[0,{[h]:`CreationDate`,[_]:sC}],[2,{[h]:`IsPublic`,[_]:uE}],[()=>GI,{[h]:`ProductCodes`,[_]:iO}],[0,{[h]:`Architecture`,[_]:BS}],[0,{[h]:`ImageType`,[_]:TE}],[0,{[h]:`KernelId`,[_]:jE}],[0,{[h]:`RamdiskId`,[_]:KO}],[0,{[h]:`Platform`,[_]:NO}]]],SN=[3,v,Qp,0,[Nh,wv,Zb,p],[[0,{[h]:`KeyName`,[_]:PE}],[21,{[h]:`PublicKeyMaterial`,[_]:SO}],[()=>hL,{[_]:Qb}],[2,{[h]:`DryRun`,[_]:m}]],2],CN=[3,v,$p,0,[kh,Nh,Lh,Kb],[[0,{[h]:`KeyFingerprint`,[_]:AE}],[0,{[h]:`KeyName`,[_]:PE}],[0,{[h]:`KeyPairId`,[_]:FE}],[()=>mL,{[h]:`TagSet`,[_]:_A}]]],wN=[3,v,tp,0,[Cs,gte],[[()=>aI,{[h]:`Accelerators`,[_]:LS}],[1,{[h]:`TotalInferenceMemoryInMiB`,[_]:uA}]]],TN=[3,v,_p,0,[al,Qg,Kg,Ag],[[1,{[h]:`Count`,[_]:MC}],[0,{[h]:`Name`,[_]:xD}],[0,{[h]:`Manufacturer`,[_]:gD}],[()=>EN,{[h]:`MemoryInfo`,[_]:iD}]]],EN=[3,v,yp,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],DN=[3,v,wh,0,[Ts,js,Gc,wd,Gd,Jf,Lp,nm,ad,gd,h_,O_,Kv,qv,hb,Qy,Tb,Nb,Fb,Kb,$x,uc,Bs,_c,Cc,zf,ug,Ng,jd,Ns,ov,lx,ux,tv,sp,$b,Pg,Xs,v_,H_,Db,Np,Jp,Hb,ev,av,rte,Nh,Yo,$_,hh,sg,zv,Ah,ay,Rv,Zg,kb,Dx,_v,yv],[[0,{[h]:`Architecture`,[_]:BS}],[()=>oI,{[h]:`BlockDeviceMapping`,[_]:KS}],[0,{[h]:`ClientToken`,[_]:EC}],[2,{[h]:`EbsOptimized`,[_]:ww}],[2,{[h]:`EnaSupport`,[_]:Bw}],[0,{[h]:`Hypervisor`,[_]:fT}],[()=>yN,{[h]:`IamInstanceProfile`,[_]:UT}],[0,{[h]:`InstanceLifecycle`,[_]:qT}],[()=>KF,{[h]:`ElasticGpuAssociationSet`,[_]:fw}],[()=>JF,{[h]:`ElasticInferenceAcceleratorAssociationSet`,[_]:vw}],[()=>pI,{[h]:`NetworkInterfaceSet`,[_]:jD}],[0,{[h]:`OutpostArn`,[_]:WD}],[0,{[h]:`RootDeviceName`,[_]:RO}],[0,{[h]:`RootDeviceType`,[_]:zO}],[()=>eI,{[h]:`GroupSet`,[_]:lT}],[2,{[h]:`SourceDestCheck`,[_]:pk}],[0,{[h]:`SpotInstanceRequestId`,[_]:Ok}],[0,{[h]:`SriovNetSupport`,[_]:Lk}],[()=>uF,{[h]:`StateReason`,[_]:Bk}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`VirtualizationType`,[_]:$A}],[()=>Rj,{[h]:`CpuOptions`,[_]:_C}],[0,{[h]:`CapacityBlockId`,[_]:rC}],[0,{[h]:`CapacityReservationId`,[_]:bC}],[()=>jj,{[h]:`CapacityReservationSpecification`,[_]:CC}],[()=>_N,{[h]:`HibernationOptions`,[_]:hT}],[()=>NI,{[h]:`LicenseSet`,[_]:WE}],[()=>zN,{[h]:`MetadataOptions`,[_]:sD}],[()=>aN,{[h]:`EnclaveOptions`,[_]:kw}],[0,{[h]:`BootMode`,[_]:JS}],[0,{[h]:`PlatformDetails`,[_]:dO}],[0,{[h]:`UsageOperation`,[_]:AA}],[4,{[h]:`UsageOperationUpdateTime`,[_]:jA}],[()=>LP,{[h]:`PrivateDnsNameOptions`,[_]:sO}],[0,{[h]:`Ipv6Address`,[_]:MT}],[0,{[h]:`TpmSupport`,[_]:bA}],[()=>FN,{[h]:`MaintenanceOptions`,[_]:cD}],[0,{[h]:`CurrentInstanceBootMode`,[_]:dC}],[()=>WN,{[h]:`NetworkPerformanceOptions`,[_]:FD}],[()=>AP,{[h]:`Operator`,[_]:eO}],[()=>gI,{[h]:`SecondaryInterfaceSet`,[_]:kk}],[0,{[h]:`InstanceId`,[_]:HT}],[0,{[h]:`ImageId`,[_]:GT}],[()=>QN,{[h]:`InstanceState`,[_]:yE}],[0,{[h]:`PrivateDnsName`,[_]:lO}],[0,{[h]:`DnsName`,[_]:WC}],[0,{[h]:`Reason`,[_]:sk}],[0,{[h]:`KeyName`,[_]:PE}],[1,{[h]:`AmiLaunchIndex`,[_]:SS}],[()=>GI,{[h]:`ProductCodes`,[_]:iO}],[0,{[h]:`InstanceType`,[_]:SE}],[4,{[h]:`LaunchTime`,[_]:GE}],[()=>jP,{[h]:`Placement`,[_]:PO}],[0,{[h]:`KernelId`,[_]:jE}],[0,{[h]:`RamdiskId`,[_]:KO}],[0,{[h]:`Platform`,[_]:NO}],[()=>xP,{[h]:`Monitoring`,[_]:yD}],[0,{[h]:`SubnetId`,[_]:jk}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`PrivateIpAddress`,[_]:vO}],[0,{[h]:`IpAddress`,[_]:jT}]]],ON=[3,v,$f,0,[Id,Vd],[[2,{[h]:`EnaSrdEnabled`,[_]:Nw}],[()=>kN,{[h]:`EnaSrdUdpSpecification`,[_]:Lw}]]],kN=[3,v,ep,0,[Bd],[[2,{[h]:`EnaSrdUdpEnabled`,[_]:Iw}]]],AN=[3,v,cp,0,[Vl,Jd],[[0,{[h]:`DeviceName`,[_]:HC}],[()=>YM,{[h]:`Ebs`,[_]:Hw}]]],jN=[3,v,up,0,[Vl,Jd,Vx,i_],[[0,{[h]:`DeviceName`,[_]:HC}],[()=>XM,{[h]:`Ebs`,[_]:Hw}],[0,{[h]:`VirtualName`,[_]:UA}],[0,{[h]:`NoDevice`,[_]:TD}]]],MN=[3,v,Up,0,[Gm],[[0,{[h]:`Ipv4Prefix`,[_]:sE}]]],NN=[3,v,Pp,0,[sp,jm],[[0,{[h]:`Ipv6Address`,[_]:MT}],[2,{[h]:`IsPrimaryIpv6`,[_]:nE}]]],PN=[3,v,Wp,0,[Hm],[[0,{[h]:`Ipv6Prefix`,[_]:lE}]]],FN=[3,v,im,0,[as,my],[[0,{[h]:`AutoRecovery`,[_]:OS}],[0,{[h]:`RebootMigration`,[_]:XO}]]],IN=[3,v,am,0,[as],[0]],LN=[3,v,om,0,[Bg,Zee],[0,()=>sF]],RN=[3,v,sm,0,[Gf,Hf,Lf,Vf,um],[0,1,0,0,0]],zN=[3,v,cm,0,[Hb,Gf,Hf,Lf,Vf,um],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`HttpTokens`,[_]:bT}],[1,{[h]:`HttpPutResponseHopLimit`,[_]:_T}],[0,{[h]:`HttpEndpoint`,[_]:pT}],[0,{[h]:`HttpProtocolIpv6`,[_]:gT}],[0,{[h]:`InstanceMetadataTags`,[_]:JT}]]],BN=[3,v,fm,0,[Es,Ds,Bu,pf,Xf,mg,m_,A_,ev,_v,vv,Qy,Ub,kb,Dx,xh,Wm,Rm,Kc,H_],[[()=>VN,{[h]:`Association`,[_]:VS}],[()=>HN,{[h]:`Attachment`,[_]:HS}],[0,{[h]:`Description`,[_]:nw}],[()=>eI,{[h]:`GroupSet`,[_]:lT}],[()=>uI,{[h]:`Ipv6AddressesSet`,[_]:kT}],[0,{[h]:`MacAddress`,[_]:YE}],[0,{[h]:`NetworkInterfaceId`,[_]:AD}],[0,{[h]:`OwnerId`,[_]:KD}],[0,{[h]:`PrivateDnsName`,[_]:lO}],[0,{[h]:`PrivateIpAddress`,[_]:vO}],[()=>hI,{[h]:`PrivateIpAddressesSet`,[_]:gO}],[2,{[h]:`SourceDestCheck`,[_]:pk}],[0,{[h]:`Status`,[_]:nA}],[0,{[h]:`SubnetId`,[_]:jk}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`InterfaceType`,[_]:DE}],[()=>lI,{[h]:`Ipv4PrefixSet`,[_]:rE}],[()=>dI,{[h]:`Ipv6PrefixSet`,[_]:iE}],[()=>Fj,{[h]:`ConnectionTrackingConfiguration`,[_]:DC}],[()=>AP,{[h]:`Operator`,[_]:eO}]]],VN=[3,v,pm,0,[Ys,dc,Cm,av,pv],[[0,{[h]:`CarrierIp`,[_]:uC}],[0,{[h]:`CustomerOwnedIp`,[_]:vC}],[0,{[h]:`IpOwnerId`,[_]:$T}],[0,{[h]:`PublicDnsName`,[_]:uO}],[0,{[h]:`PublicIp`,[_]:hO}]]],HN=[3,v,mm,0,[hs,Jo,Gl,yl,Ub,t_,Ld,Nd],[[4,{[h]:`AttachTime`,[_]:NS}],[0,{[h]:`AttachmentId`,[_]:xS}],[2,{[h]:`DeleteOnTermination`,[_]:KC}],[1,{[h]:`DeviceIndex`,[_]:BC}],[0,{[h]:`Status`,[_]:nA}],[1,{[h]:`NetworkCardIndex`,[_]:wD}],[()=>ON,{[h]:`EnaSrdSpecification`,[_]:Pw}],[1,{[h]:`EnaQueueCount`,[_]:Aw}]]],UN=[3,v,gm,0,[Zo,Gl,Bu,yl,pf,Qf,Xf,m_,_v,vv,Qee,kb,Bo,xh,t_,Wm,Dm,Rm,Em,xv,Ld,qc,Nd],[[2,{[h]:`AssociatePublicIpAddress`,[_]:wS}],[2,{[h]:`DeleteOnTermination`,[_]:KC}],[0,{[h]:`Description`,[_]:nw}],[1,{[h]:`DeviceIndex`,[_]:BC}],[()=>rL,{[_]:rb}],[1,{[h]:`Ipv6AddressCount`,[_]:wT}],[()=>uI,{[h]:`Ipv6Addresses`,[_]:kT}],[0,{[h]:`NetworkInterfaceId`,[_]:AD}],[0,{[h]:`PrivateIpAddress`,[_]:vO}],[()=>WI,{[h]:`PrivateIpAddresses`,[_]:gO}],[1,{[h]:`SecondaryPrivateIpAddressCount`,[_]:Rk}],[0,{[h]:`SubnetId`,[_]:jk}],2,0,1,[()=>DI,{[_]:Gm}],1,[()=>OI,{[_]:Hm}],1,2,()=>rN,()=>Pj,1]],WN=[3,v,bm,0,[Is],[[0,{[h]:`BandwidthWeighting`,[_]:$S}]]],GN=[3,v,xm,0,[Is],[0]],KN=[3,v,km,0,[Es,Bv,ev,_v],[[()=>VN,{[h]:`Association`,[_]:VS}],[2,{[h]:`Primary`,[_]:FO}],[0,{[h]:`PrivateDnsName`,[_]:lO}],[0,{[h]:`PrivateIpAddress`,[_]:vO}]]],qN=[3,v,ch,0,[Ds,mg,Sb,A_,vv,Qy,Ub,Rb,Yee,xh],[[()=>JN,{[h]:`Attachment`,[_]:HS}],[0,{[h]:`MacAddress`,[_]:YE}],[0,{[h]:`SecondaryInterfaceId`,[_]:wk}],[0,{[h]:`OwnerId`,[_]:KD}],[()=>_I,{[h]:`PrivateIpAddressSet`,[_]:_O}],[2,{[h]:`SourceDestCheck`,[_]:pk}],[0,{[h]:`Status`,[_]:nA}],[0,{[h]:`SecondarySubnetId`,[_]:Uk}],[0,{[h]:`SecondaryNetworkId`,[_]:Fk}],[0,{[h]:`InterfaceType`,[_]:DE}]]],JN=[3,v,eh,0,[hs,Jo,Gl,yl,Ub,t_],[[4,{[h]:`AttachTime`,[_]:NS}],[0,{[h]:`AttachmentId`,[_]:xS}],[2,{[h]:`DeleteOnTermination`,[_]:KC}],[1,{[h]:`DeviceIndex`,[_]:BC}],[0,{[h]:`Status`,[_]:nA}],[1,{[h]:`NetworkCardIndex`,[_]:wD}]]],YN=[3,v,nh,0,[_v],[[0,{[h]:`PrivateIpAddress`,[_]:vO}]]],XN=[3,v,ah,0,[_v],[0],1],ZN=[3,v,sh,0,[Gl,yl,vv,mv,Rb,xh,t_],[2,1,[()=>vI,{[_]:_v}],1,0,0,1]],QN=[3,v,fh,0,[rl,Qg],[[1,{[h]:`Code`,[_]:AC}],[0,{[h]:`Name`,[_]:xD}]]],$N=[3,v,Qm,0,[Np,Wc,jv],[[0,{[h]:`InstanceId`,[_]:HT}],[()=>QN,{[h]:`CurrentState`,[_]:TC}],[()=>QN,{[h]:`PreviousState`,[_]:OO}]]],eP=[3,v,lh,0,[Ete,Hu,x_,Wd],[[1,{[h]:`TotalSizeInGB`,[_]:vA}],[()=>WF,{[h]:`Disks`,[_]:iw}],[0,{[h]:`NvmeSupport`,[_]:RD}],[0,{[h]:`EncryptionSupport`,[_]:zw}]]],tP=[3,v,_h,0,[hh,Js,lf,ate,$ee,cte,kee,Jf,Sv,yx,Ag,uh,lh,xd,g_,Tf,rf,cv,tp,Wf,Aee,vl,$o,Yy,u_,C_,S_,pg,__,Av,py],[[0,{[h]:`InstanceType`,[_]:SE}],[2,{[h]:`CurrentGeneration`,[_]:lC}],[2,{[h]:`FreeTierEligible`,[_]:Xw}],[()=>_L,{[h]:`SupportedUsageClasses`,[_]:Xk}],[()=>QI,{[h]:`SupportedRootDeviceTypes`,[_]:zk}],[()=>bL,{[h]:`SupportedVirtualizationTypes`,[_]:Qk}],[2,{[h]:`BareMetal`,[_]:YS}],[0,{[h]:`Hypervisor`,[_]:fT}],[()=>zP,{[h]:`ProcessorInfo`,[_]:bO}],[()=>xF,{[h]:`VCpuInfo`,[_]:FA}],[()=>_P,{[h]:`MemoryInfo`,[_]:iD}],[2,{[h]:`InstanceStorageSupported`,[_]:mE}],[()=>eP,{[h]:`InstanceStorageInfo`,[_]:pE}],[()=>JM,{[h]:`EbsInfo`,[_]:xw}],[()=>CP,{[h]:`NetworkInfo`,[_]:ND}],[()=>hN,{[h]:`GpuInfo`,[_]:nT}],[()=>uN,{[h]:`FpgaInfo`,[_]:Kw}],[()=>NP,{[h]:`PlacementGroupInfo`,[_]:pO}],[()=>wN,{[h]:`InferenceAcceleratorInfo`,[_]:TT}],[2,{[h]:`HibernationSupported`,[_]:yT}],[2,{[h]:`BurstablePerformanceSupported`,[_]:ZS}],[2,{[h]:`DedicatedHostsSupported`,[_]:zC}],[2,{[h]:`AutoRecoverySupported`,[_]:ES}],[()=>HF,{[h]:`SupportedBootModes`,[_]:dk}],[0,{[h]:`NitroEnclavesSupport`,[_]:DD}],[0,{[h]:`NitroTpmSupport`,[_]:BD}],[()=>OP,{[h]:`NitroTpmInfo`,[_]:zD}],[()=>mP,{[h]:`MediaAcceleratorInfo`,[_]:JE}],[()=>DP,{[h]:`NeuronInfo`,[_]:PD}],[0,{[h]:`PhcSupport`,[_]:DO}],[0,{[h]:`RebootMigrationSupport`,[_]:YO}]]],nP=[3,v,Cp,0,[Os,Op,A_,Kb],[[()=>SI,{[h]:`AttachmentSet`,[_]:MS}],[0,{[h]:`InternetGatewayId`,[_]:BT}],[0,{[h]:`OwnerId`,[_]:KD}],[()=>mL,{[h]:`TagSet`,[_]:_A}]]],rP=[3,v,wp,0,[Hb,Dx],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`VpcId`,[_]:RA}]]],iP=[3,v,Bm,0,[Vm,of,Yb,ax,Jm,Xm,Dv],[[0,{[h]:`IpProtocol`,[_]:aE}],[1,{[h]:`FromPort`,[_]:qw}],[1,{[h]:`ToPort`,[_]:hA}],[()=>vL,{[h]:`Groups`,[_]:dT}],[()=>EI,{[h]:`IpRanges`,[_]:dE}],[()=>kI,{[h]:`Ipv6Ranges`,[_]:fE}],[()=>UI,{[h]:`PrefixListIds`,[_]:wO}]]],aP=[3,v,Ym,0,[Bu,nc],[[0,{[h]:`Description`,[_]:nw}],[0,{[h]:`CidrIp`,[_]:fC}]]],oP=[3,v,Im,0,[Gm],[0]],sP=[3,v,Lm,0,[Hm],[0]],cP=[3,v,Zm,0,[Bu,rc],[[0,{[h]:`Description`,[_]:nw}],[0,{[h]:`CidrIpv6`,[_]:pC}]]],lP=[3,v,Hh,0,[Lh,Kb,Nh,kh,Mh],[[0,{[h]:`KeyPairId`,[_]:FE}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`KeyName`,[_]:PE}],[0,{[h]:`KeyFingerprint`,[_]:AE}],[()=>fj,{[h]:`KeyMaterial`,[_]:NE}]]],uP=[3,v,Bh,0,[Lh,Uh,Kb,Cv,Zc,Nh,kh],[[0,{[h]:`KeyPairId`,[_]:FE}],[0,{[h]:`KeyType`,[_]:LE}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`PublicKey`,[_]:xO}],[4,{[h]:`CreateTime`,[_]:kC}],[0,{[h]:`KeyName`,[_]:PE}],[0,{[h]:`KeyFingerprint`,[_]:AE}]]],dP=[3,v,og,0,[ig,ag,nS],[0,0,0]],fP=[3,v,qh,0,[Gh],[[0,{[h]:`LicenseConfigurationArn`,[_]:zE}]]],pP=[3,v,Kh,0,[Gh],[0]],mP=[3,v,pg,0,[Cs,Cte],[[()=>FI,{[h]:`Accelerators`,[_]:LS}],[1,{[h]:`TotalMediaMemoryInMiB`,[_]:pA}]]],hP=[3,v,yg,0,[al,Qg,Kg,Ag],[[1,{[h]:`Count`,[_]:MC}],[0,{[h]:`Name`,[_]:xD}],[0,{[h]:`Manufacturer`,[_]:gD}],[()=>gP,{[h]:`MemoryInfo`,[_]:iD}]]],gP=[3,v,xg,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],_P=[3,v,Ag,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],vP=[3,v,Og,0,[Np,Qy,ol,p,See,px,js,sl,hh,Wh,zy,rx,Gp,pf,wd,Nb,Gd],[[0,{[h]:`InstanceId`,[_]:HT}],[()=>_j,0],[()=>_j,0],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`Attribute`,[_]:US}],[0,{[h]:`Value`,[_]:PA}],[()=>sI,{[h]:`BlockDeviceMapping`,[_]:KS}],[()=>_j,{[h]:`DisableApiTermination`,[_]:NC}],[()=>vj,{[h]:`InstanceType`,[_]:SE}],[()=>vj,{[h]:`Kernel`,[_]:RE}],[()=>vj,{[h]:`Ramdisk`,[_]:ok}],[()=>Dj,{[h]:`UserData`,[_]:DA}],[()=>vj,{[h]:`InstanceInitiatedShutdownBehavior`,[_]:WT}],[()=>tI,{[_]:Ef}],[()=>_j,{[h]:`EbsOptimized`,[_]:ww}],[()=>vj,{[h]:`SriovNetSupport`,[_]:Lk}],[()=>_j,{[h]:`EnaSupport`,[_]:Bw}]],1],yP=[3,v,Hg,0,[Nx,p,Vb,Xx,Eh,tx,fg],[0,2,1,0,1,1,2],1],bP=[3,v,Ug,0,[Bx],[[()=>wF,{[h]:`VolumeModification`,[_]:HA}]]],xP=[3,v,Zg,0,[Hb],[[0,{[h]:`State`,[_]:tA}]]],SP=[3,v,r_,0,[t_,y_,Mg,Vo,wee,q_,gl,Tg,Eg],[[1,{[h]:`NetworkCardIndex`,[_]:wD}],[0,{[h]:`NetworkPerformance`,[_]:ID}],[1,{[h]:`MaximumNetworkInterfaces`,[_]:oD}],[1,{[h]:`AdditionalFlexibleNetworkInterfaces`,[_]:gS}],[1,{[h]:`BaselineBandwidthInGbps`,[_]:WS}],[1,{[h]:`PeakBandwidthInGbps`,[_]:rO}],[1,{[h]:`DefaultEnaQueueCountPerInterface`,[_]:LC}],[1,{[h]:`MaximumEnaQueueCount`,[_]:tD}],[1,{[h]:`MaximumEnaQueueCountPerInterface`,[_]:nD}]]],CP=[3,v,g_,0,[y_,Mg,jg,Hl,e_,np,rp,mh,Gd,Ud,Sd,bd,zd,Ls,nf,Kc,Xee,Rg,ip],[[0,{[h]:`NetworkPerformance`,[_]:ID}],[1,{[h]:`MaximumNetworkInterfaces`,[_]:oD}],[1,{[h]:`MaximumNetworkCards`,[_]:aD}],[1,{[h]:`DefaultNetworkCardIndex`,[_]:UC}],[()=>II,{[h]:`NetworkCards`,[_]:CD}],[1,{[h]:`Ipv4AddressesPerInterface`,[_]:ET}],[1,{[h]:`Ipv6AddressesPerInterface`,[_]:DT}],[2,{[h]:`Ipv6Supported`,[_]:xE}],[0,{[h]:`EnaSupport`,[_]:Bw}],[2,{[h]:`EfaSupported`,[_]:Rw}],[()=>QM,{[h]:`EfaInfo`,[_]:Sw}],[2,{[h]:`EncryptionInTransitSupported`,[_]:bw}],[2,{[h]:`EnaSrdSupported`,[_]:Fw}],[()=>zF,{[h]:`BandwidthWeightings`,[_]:eC}],[0,{[h]:`FlexibleEnaQueuesSupport`,[_]:Gw}],[()=>oM,{[h]:`ConnectionTrackingConfiguration`,[_]:DC}],[2,{[h]:`SecondaryNetworkSupported`,[_]:Ik}],[1,{[h]:`MaximumSecondaryNetworkInterfaces`,[_]:fD}],[1,{[h]:`Ipv4AddressesPerSecondaryInterface`,[_]:OT}]]],wP=[3,v,a_,0,[al,nS],[[1,{[h]:`Count`,[_]:MC}],[1,{[h]:`Version`,[_]:ej}]]],TP=[3,v,o_,0,[al,Qg,ac,Ag],[[1,{[h]:`Count`,[_]:MC}],[0,{[h]:`Name`,[_]:xD}],[()=>wP,{[h]:`CoreInfo`,[_]:hC}],[()=>EP,{[h]:`MemoryInfo`,[_]:iD}]]],EP=[3,v,c_,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Ek}]]],DP=[3,v,__,0,[l_,wte],[[()=>LI,{[h]:`NeuronDevices`,[_]:ED}],[1,{[h]:`TotalNeuronDeviceMemoryInMiB`,[_]:mA}]]],OP=[3,v,S_,0,[lte],[[()=>RI,{[h]:`SupportedVersions`,[_]:$k}]]],kP=[3,v,I_,0,[K_],[0]],AP=[3,v,L_,0,[qg,K_],[[2,{[h]:`Managed`,[_]:_D}],[0,{[h]:`Principal`,[_]:nO}]]],jP=[3,v,zv,0,[Ss,bee,Af,Ov,Rf,Mte,$y,Uf,Ef,ys],[[0,{[h]:`AvailabilityZoneId`,[_]:FS}],[0,{[h]:`Affinity`,[_]:RS}],[0,{[h]:`GroupName`,[_]:aT}],[1,{[h]:`PartitionNumber`,[_]:TO}],[0,{[h]:`HostId`,[_]:mT}],[0,{[h]:`Tenancy`,[_]:aA}],[0,{[h]:`SpreadDomain`,[_]:mk}],[0,{[h]:`HostResourceGroupArn`,[_]:vT}],[0,{[h]:`GroupId`,[_]:rT}],[0,{[h]:`AvailabilityZone`,[_]:PS}]]],MP=[3,v,sv,0,[Af,Hb,Wb,Z_,Ef,Kb,mf,Ab,Zh,H_],[[0,{[h]:`GroupName`,[_]:aT}],[0,{[h]:`State`,[_]:tA}],[0,{[h]:`Strategy`,[_]:rA}],[1,{[h]:`PartitionCount`,[_]:aO}],[0,{[h]:`GroupId`,[_]:rT}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`GroupArn`,[_]:$w}],[0,{[h]:`SpreadLevel`,[_]:Mk}],[0,{[h]:`LinkedGroupId`,[_]:HE}],[()=>AP,{[h]:`Operator`,[_]:eO}]]],NP=[3,v,cv,0,[nte],[[()=>HI,{[h]:`SupportedStrategies`,[_]:Kk}]]],PP=[3,v,Tv,0,[Bu,Tv],[[0,{[h]:`Description`,[_]:nw}],[0,{[h]:`PrefixListId`,[_]:CO}]]],FP=[3,v,nv,0,[Kf,Fd,Pd],[[0,{[h]:`HostnameType`,[_]:xT}],[2,{[h]:`EnableResourceNameDnsARecord`,[_]:Mw}],[2,{[h]:`EnableResourceNameDnsAAAARecord`,[_]:jw}]]],IP=[3,v,rv,0,[Kf,Fd,Pd],[0,2,2]],LP=[3,v,iv,0,[Kf,Fd,Pd],[[0,{[h]:`HostnameType`,[_]:xT}],[2,{[h]:`EnableResourceNameDnsARecord`,[_]:Mw}],[2,{[h]:`EnableResourceNameDnsAAAARecord`,[_]:jw}]]],RP=[3,v,hv,0,[Bv,_v],[[2,{[h]:`Primary`,[_]:FO}],[0,{[h]:`PrivateIpAddress`,[_]:vO}]]],zP=[3,v,Sv,0,[Jy,Zy,eb,Kg],[[()=>PF,{[h]:`SupportedArchitectures`,[_]:lk}],[1,{[h]:`SustainedClockSpeedInGhz`,[_]:fk}],[()=>pL,{[h]:`SupportedFeatures`,[_]:hk}],[0,{[h]:`Manufacturer`,[_]:gD}]]],BP=[3,v,Q_,0,[J_,X_],[[0,{[h]:`ProductCode`,[_]:oO}],[0,{[h]:`Type`,[_]:EA}]]],VP=[3,v,Nv,0,[Sf],[[0,{[h]:`GatewayId`,[_]:tT}]]],HP=[3,v,ny,0,[Xp,p],[[()=>cI,{[_]:Np}],[2,{[h]:`DryRun`,[_]:m}]],1],UP=[3,v,vy,0,[Ef,kv,ix,Dx,Ux],[[0,{[h]:`GroupId`,[_]:rT}],[0,{[h]:`PeeringStatus`,[_]:EO}],[0,{[h]:`UserId`,[_]:OA}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:GA}]]],WP=[3,v,Vy,0,[j_,Ff,hy,Zd],[[0,{[h]:`OptInStatus`,[_]:qD}],[()=>qI,{[h]:`GeographySet`,[_]:cT}],[0,{[h]:`RegionName`,[_]:ZO}],[0,{[h]:`RegionEndpoint`,[_]:VO}]]],GP=[3,v,Zv,0,[Qg],[[0,{[h]:`Name`,[_]:xD}]]],KP=[3,v,Uy,0,[oy,A_,cy,pf,Th],[[0,{[h]:`ReservationId`,[_]:GO}],[0,{[h]:`OwnerId`,[_]:KD}],[0,{[h]:`RequesterId`,[_]:JO}],[()=>eI,{[h]:`GroupSet`,[_]:lT}],[()=>fI,{[h]:`InstancesSet`,[_]:vE}]]],qP=[3,v,Ty,0,[db,Ef,Sp,Vm,of,Yb,ic,rc,Tv,Qv,Bu],[[0,{[h]:`SecurityGroupRuleId`,[_]:yk}],[0,{[h]:`GroupId`,[_]:rT}],[2,{[h]:`IsEgress`,[_]:LT}],[0,{[h]:`IpProtocol`,[_]:aE}],[1,{[h]:`FromPort`,[_]:qw}],[1,{[h]:`ToPort`,[_]:hA}],[0,{[h]:`CidrIpv4`,[_]:mC}],[0,{[h]:`CidrIpv6`,[_]:pC}],[0,{[h]:`PrefixListId`,[_]:CO}],[0,{[h]:`ReferencedGroupId`,[_]:UO}],[0,{[h]:`Description`,[_]:nw}]]],JP=[3,v,by,0,[Ef,lb,p,Ib,Lb,Vm,of,Yb,nc,zm],[[0,{[h]:`GroupId`,[_]:rT}],[()=>aL,{[_]:db}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SourceSecurityGroupName`,[_]:Vk}],[0,{[h]:`SourceSecurityGroupOwnerId`,[_]:Hk}],[0,{[h]:`IpProtocol`,[_]:aE}],[1,{[h]:`FromPort`,[_]:qw}],[1,{[h]:`ToPort`,[_]:hA}],[0,{[h]:`CidrIp`,[_]:fC}],[()=>TI,{[h]:`IpPermissions`,[_]:oE}]],1],YP=[3,v,xy,0,[Uv,cx,Dy],[[2,{[h]:`Return`,[_]:LO}],[()=>TI,{[h]:`UnknownIpPermissionSet`,[_]:kA}],[()=>ZI,{[h]:`RevokedSecurityGroupRuleSet`,[_]:QO}]]],XP=[3,v,Sy,0,[nc,of,Ef,Af,zm,Vm,Ib,Lb,Yb,lb,p],[0,1,0,0,[()=>TI,0],0,0,0,1,[()=>aL,{[_]:db}],[2,{[h]:`DryRun`,[_]:m}]]],ZP=[3,v,Cy,0,[Uv,cx,Dy],[[2,{[h]:`Return`,[_]:LO}],[()=>TI,{[h]:`UnknownIpPermissionSet`,[_]:kA}],[()=>ZI,{[h]:`RevokedSecurityGroupRuleSet`,[_]:QO}]]],QP=[3,v,Wy,0,[fl,bl,Zl,Od,Sf,Np,wm,p_,Jb,Xh,qs,m_,D_,Hb,Ux,lc,F_,op],[[0,{[h]:`DestinationCidrBlock`,[_]:PC}],[0,{[h]:`DestinationIpv6CidrBlock`,[_]:VC}],[0,{[h]:`DestinationPrefixListId`,[_]:qC}],[0,{[h]:`EgressOnlyInternetGatewayId`,[_]:Dw}],[0,{[h]:`GatewayId`,[_]:tT}],[0,{[h]:`InstanceId`,[_]:HT}],[0,{[h]:`InstanceOwnerId`,[_]:QT}],[0,{[h]:`NatGatewayId`,[_]:kD}],[0,{[h]:`TransitGatewayId`,[_]:cA}],[0,{[h]:`LocalGatewayId`,[_]:VE}],[0,{[h]:`CarrierGatewayId`,[_]:cC}],[0,{[h]:`NetworkInterfaceId`,[_]:AD}],[0,{[h]:`Origin`,[_]:UD}],[0,{[h]:`State`,[_]:tA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:GA}],[0,{[h]:`CoreNetworkArn`,[_]:gC}],[0,{[h]:`OdbNetworkArn`,[_]:XD}],[0,{[h]:`IpAddress`,[_]:jT}]]],$P=[3,v,Ly,0,[xee,Fv,My,Gy,Kb,Dx,A_],[[()=>eL,{[h]:`AssociationSet`,[_]:jS}],[()=>KI,{[h]:`PropagatingVgwSet`,[_]:AO}],[0,{[h]:`RouteTableId`,[_]:nk}],[()=>$I,{[h]:`RouteSet`,[_]:ek}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`OwnerId`,[_]:KD}]]],eF=[3,v,Oy,0,[Gg,ky,My,kb,Sf,bv,os],[[2,{[h]:`Main`,[_]:hD}],[0,{[h]:`RouteTableAssociationId`,[_]:tk}],[0,{[h]:`RouteTableId`,[_]:nk}],[0,{[h]:`SubnetId`,[_]:jk}],[0,{[h]:`GatewayId`,[_]:tT}],[0,{[h]:`PublicIpv4Pool`,[_]:yO}],[()=>tF,{[h]:`AssociationState`,[_]:kS}]]],tF=[3,v,jy,0,[Hb,jb],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`StatusMessage`,[_]:Nk}]]],nF=[3,v,ty,0,[Yd],[[2,{[h]:`Enabled`,[_]:Uw}]],1],rF=[3,v,ry,0,[_g,vg,js,Jp,hh,Qf,Xf,Ah,Nh,Zg,zv,ay,ab,hb,kb,rx,sd,_d,Zb,rg,lm,Vc,uc,Cc,zf,eg,Ng,jd,tv,Pg,ol,Md,v_,H_,Db,p,sl,Gp,_v,Gc,Ko,h_,Lp,wd],[1,1,[()=>VF,{[_]:As}],0,0,1,[()=>uI,{[_]:sp}],0,0,[()=>nF,0],[()=>jP,0],0,[()=>rL,{[_]:rb}],[()=>sL,{[_]:gb}],0,[()=>dj,0],[()=>qF,0],[()=>YF,{[_]:ld}],[()=>hL,{[_]:Qb}],()=>dP,()=>LN,()=>aM,()=>zj,()=>Aj,()=>vN,[()=>PI,{[_]:ng}],()=>RN,()=>oN,()=>IP,()=>IN,2,2,()=>GN,()=>kP,[()=>yI,{[_]:zee}],[2,{[h]:`DryRun`,[_]:m}],[2,{[h]:`DisableApiTermination`,[_]:NC}],[0,{[h]:`InstanceInitiatedShutdownBehavior`,[_]:WT}],[0,{[h]:`PrivateIpAddress`,[_]:vO}],[0,{[h]:`ClientToken`,[wE]:1,[_]:EC}],[0,{[h]:`AdditionalInfo`,[_]:yS}],[()=>mI,{[h]:`NetworkInterface`,[_]:MD}],[()=>bN,{[h]:`IamInstanceProfile`,[_]:UT}],[2,{[h]:`EbsOptimized`,[_]:ww}]],2],iF=[3,v,gb,0,[Ef,Om,Kb,Dx,nb,A_,Af,Bu,zm],[[0,{[h]:`GroupId`,[_]:rT}],[()=>TI,{[h]:`IpPermissionsEgress`,[_]:tE}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`SecurityGroupArn`,[_]:gk}],[0,{[h]:`OwnerId`,[_]:KD}],[0,{[h]:`GroupName`,[_]:aT}],[0,{[h]:`GroupDescription`,[_]:eT}],[()=>TI,{[h]:`IpPermissions`,[_]:oE}]]],aF=[3,v,pb,0,[db,Ef,Nf,Sp,Vm,of,Yb,ic,rc,Tv,$v,Bu,Kb,cb],[[0,{[h]:`SecurityGroupRuleId`,[_]:yk}],[0,{[h]:`GroupId`,[_]:rT}],[0,{[h]:`GroupOwnerId`,[_]:oT}],[2,{[h]:`IsEgress`,[_]:LT}],[0,{[h]:`IpProtocol`,[_]:aE}],[1,{[h]:`FromPort`,[_]:qw}],[1,{[h]:`ToPort`,[_]:hA}],[0,{[h]:`CidrIpv4`,[_]:mC}],[0,{[h]:`CidrIpv6`,[_]:pC}],[0,{[h]:`PrefixListId`,[_]:CO}],[()=>UP,{[h]:`ReferencedGroupInfo`,[_]:WO}],[0,{[h]:`Description`,[_]:nw}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`SecurityGroupRuleArn`,[_]:vk}]]],oF=[3,v,dte,0,[k_,O_,Kb,ite,Yv,Bb,ys,Ate,Gs,Xc,cf,Ob,Nx,Hb,Mb,zb,Vv,A_,Bu,Yx,Xd,jh,hl],[[0,{[h]:`OwnerAlias`,[_]:GD}],[0,{[h]:`OutpostArn`,[_]:WD}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`StorageTier`,[_]:Yk}],[4,{[h]:`RestoreExpiryTime`,[_]:BO}],[0,{[h]:`SseType`,[_]:Jk}],[0,{[h]:`AvailabilityZone`,[_]:PS}],[0,{[h]:`TransferType`,[_]:SA}],[1,{[h]:`CompletionDurationMinutes`,[_]:oC}],[4,{[h]:`CompletionTime`,[_]:OC}],[1,{[h]:`FullSnapshotSizeInBytes`,[_]:Yw}],[0,{[h]:`SnapshotId`,[_]:Ak}],[0,{[h]:`VolumeId`,[_]:BA}],[0,{[h]:`Status`,[_]:nA}],[0,{[h]:`StatusMessage`,[_]:Nk}],[4,{[h]:`StartTime`,[_]:qk}],[0,{[h]:`Progress`,[_]:IO}],[0,{[h]:`OwnerId`,[_]:KD}],[0,{[h]:`Description`,[_]:nw}],[1,{[h]:`VolumeSize`,[_]:YA}],[2,{[h]:`Encrypted`,[_]:Ww}],[0,{[h]:`KmsKeyId`,[_]:ME}],[0,{[h]:`DataEncryptionKeyId`,[_]:IC}]]],sF=[3,v,Jee,0,[Ig,Ree,Dee,eS,Ip],[0,0,1,4,0]],cF=[3,v,Mee,0,[Xp,Ko,p],[[()=>cI,{[_]:Np}],[0,{[h]:`AdditionalInfo`,[_]:yS}],[2,{[h]:`DryRun`,[_]:m}]],1],lF=[3,v,Nee,0,[Vee],[[()=>bI,{[h]:`InstancesSet`,[_]:vE}]]],uF=[3,v,Fb,0,[rl,Jg],[[0,{[h]:`Code`,[_]:AC}],[0,{[h]:`Message`,[_]:vD}]]],dF=[3,v,Pee,0,[Xp,qf,Pb,p,Qd],[[()=>cI,{[_]:Np}],2,2,[2,{[h]:`DryRun`,[_]:m}],[2,{[h]:`Force`,[_]:Zw}]],1],fF=[3,v,Fee,0,[Uee],[[()=>bI,{[h]:`InstancesSet`,[_]:vE}]]],pF=[3,v,Gb,0,[Ss,Cd,gg,fc,A_,Uo,pp,Kb,qy,O_,Zu,dm,nv,Ps,nx,kb,Hb,Dx,Rs,Ho,ys,_l,Fg],[[0,{[h]:`AvailabilityZoneId`,[_]:FS}],[1,{[h]:`EnableLniAtDeviceIndex`,[_]:Cw}],[2,{[h]:`MapCustomerOwnedIpOnLaunch`,[_]:ZE}],[0,{[h]:`CustomerOwnedIpv4Pool`,[_]:yC}],[0,{[h]:`OwnerId`,[_]:KD}],[2,{[h]:`AssignIpv6AddressOnCreation`,[_]:vS}],[()=>dL,{[h]:`Ipv6CidrBlockAssociationSet`,[_]:PT}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`SubnetArn`,[_]:uk}],[0,{[h]:`OutpostArn`,[_]:WD}],[2,{[h]:`EnableDns64`,[_]:cw}],[2,{[h]:`Ipv6Native`,[_]:YT}],[()=>FP,{[h]:`PrivateDnsNameOptionsOnLaunch`,[_]:cO}],[()=>kj,{[h]:`BlockPublicAccessStates`,[_]:XS}],[0,{[h]:`Type`,[_]:EA}],[0,{[h]:`SubnetId`,[_]:jk}],[0,{[h]:`State`,[_]:tA}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`CidrBlock`,[_]:tC}],[1,{[h]:`AvailableIpAddressCount`,[_]:_S}],[0,{[h]:`AvailabilityZone`,[_]:PS}],[2,{[h]:`DefaultForAz`,[_]:RC}],[2,{[h]:`MapPublicIpOnLaunch`,[_]:lD}]]],mF=[3,v,Xy,0,[Hb,jb],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`StatusMessage`,[_]:Nk}]]],hF=[3,v,vb,0,[qo,fp,hp,Zf,ph],[[0,{[h]:`AssociationId`,[_]:bS}],[0,{[h]:`Ipv6CidrBlock`,[_]:NT}],[()=>mF,{[h]:`Ipv6CidrBlockState`,[_]:FT}],[0,{[h]:`Ipv6AddressAttribute`,[_]:CT}],[0,{[h]:`IpSource`,[_]:bE}]]],gF=[3,v,ex,0,[Dh,px],[[0,{[h]:`Key`,[_]:kE}],[0,{[h]:`Value`,[_]:PA}]]],_F=[3,v,Qb,0,[Iy,Kb],[[0,{[h]:`ResourceType`,[_]:ik}],[()=>mL,{[_]:ex}]]],vF=[3,v,_te,0,[Xp,Qd,Pb,p],[[()=>cI,{[_]:Np}],2,2,[2,{[h]:`DryRun`,[_]:m}]],1],yF=[3,v,vte,0,[bte],[[()=>bI,{[h]:`InstancesSet`,[_]:vE}]]],bF=[3,v,sx,0,[Bu,ix,Af,Ef,Dx,Ux,kv],[[0,{[h]:`Description`,[_]:nw}],[0,{[h]:`UserId`,[_]:OA}],[0,{[h]:`GroupName`,[_]:aT}],[0,{[h]:`GroupId`,[_]:rT}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:GA}],[0,{[h]:`PeeringStatus`,[_]:EO}]]],xF=[3,v,yx,0,[Du,ml,Cu,bx,Qx],[[1,{[h]:`DefaultVCpus`,[_]:tw}],[1,{[h]:`DefaultCores`,[_]:FC}],[1,{[h]:`DefaultThreadsPerCore`,[_]:ZC}],[()=>UF,{[h]:`ValidCores`,[_]:IA}],[()=>gL,{[h]:`ValidThreadsPerCore`,[_]:QA}]]],SF=[3,v,iS,0,[Ss,O_,ste,Eh,Kb,Xx,sf,fg,tx,Bb,H_,Ax,Nx,Vb,Ob,ys,Hb,Zc,Os,Xd,jh],[[0,{[h]:`AvailabilityZoneId`,[_]:FS}],[0,{[h]:`OutpostArn`,[_]:WD}],[0,{[h]:`SourceVolumeId`,[_]:Zk}],[1,{[h]:`Iops`,[_]:OE}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[0,{[h]:`VolumeType`,[_]:ZA}],[2,{[h]:`FastRestored`,[_]:Jw}],[2,{[h]:`MultiAttachEnabled`,[_]:qE}],[1,{[h]:`Throughput`,[_]:wA}],[0,{[h]:`SseType`,[_]:Jk}],[()=>AP,{[h]:`Operator`,[_]:eO}],[1,{[h]:`VolumeInitializationRate`,[_]:zA}],[0,{[h]:`VolumeId`,[_]:BA}],[1,{[h]:`Size`,[_]:eA}],[0,{[h]:`SnapshotId`,[_]:Ak}],[0,{[h]:`AvailabilityZone`,[_]:PS}],[0,{[h]:`Status`,[_]:nA}],[4,{[h]:`CreateTime`,[_]:kC}],[()=>xL,{[h]:`AttachmentSet`,[_]:MS}],[2,{[h]:`Encrypted`,[_]:Ww}],[0,{[h]:`KmsKeyId`,[_]:ME}]]],CF=[3,v,hx,0,[Gl,is,Tm,Ku,Nx,Np,Vu,Hb,hs],[[2,{[h]:`DeleteOnTermination`,[_]:KC}],[0,{[h]:`AssociatedResource`,[_]:DS}],[0,{[h]:`InstanceOwningService`,[_]:eE}],[1,{[h]:`EbsCardIndex`,[_]:aw}],[0,{[h]:`VolumeId`,[_]:BA}],[0,{[h]:`InstanceId`,[_]:HT}],[0,{[h]:`Device`,[_]:rw}],[0,{[h]:`Status`,[_]:nA}],[4,{[h]:`AttachTime`,[_]:NS}]]],wF=[3,v,Bx,0,[Nx,zg,jb,Ote,yte,jte,kte,Ste,z_,M_,V_,B_,P_,Vv,zb,Kd],[[0,{[h]:`VolumeId`,[_]:BA}],[0,{[h]:`ModificationState`,[_]:pD}],[0,{[h]:`StatusMessage`,[_]:Nk}],[1,{[h]:`TargetSize`,[_]:yA}],[1,{[h]:`TargetIops`,[_]:dA}],[0,{[h]:`TargetVolumeType`,[_]:CA}],[1,{[h]:`TargetThroughput`,[_]:xA}],[2,{[h]:`TargetMultiAttachEnabled`,[_]:fA}],[1,{[h]:`OriginalSize`,[_]:ZD}],[1,{[h]:`OriginalIops`,[_]:JD}],[0,{[h]:`OriginalVolumeType`,[_]:$D}],[1,{[h]:`OriginalThroughput`,[_]:QD}],[2,{[h]:`OriginalMultiAttachEnabled`,[_]:YD}],[1,{[h]:`Progress`,[_]:IO}],[4,{[h]:`StartTime`,[_]:qk}],[4,{[h]:`EndTime`,[_]:Vw}]]],TF=[3,v,aS,0,[A_,yh,pp,zs,xp,Xu,Kb,Ps,Dx,Hb,Rs,Wl],[[0,{[h]:`OwnerId`,[_]:KD}],[0,{[h]:`InstanceTenancy`,[_]:EE}],[()=>EL,{[h]:`Ipv6CidrBlockAssociationSet`,[_]:PT}],[()=>wL,{[h]:`CidrBlockAssociationSet`,[_]:nC}],[2,{[h]:`IsDefault`,[_]:IT}],[()=>OF,{[h]:`EncryptionControl`,[_]:sw}],[()=>mL,{[h]:`TagSet`,[_]:_A}],[()=>kj,{[h]:`BlockPublicAccessStates`,[_]:XS}],[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`State`,[_]:tA}],[0,{[h]:`CidrBlock`,[_]:tC}],[0,{[h]:`DhcpOptionsId`,[_]:GC}]]],EF=[3,v,gx,0,[qo,Rs,Vs],[[0,{[h]:`AssociationId`,[_]:bS}],[0,{[h]:`CidrBlock`,[_]:tC}],[()=>DF,{[h]:`CidrBlockState`,[_]:iC}]]],DF=[3,v,vx,0,[Hb,jb],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`StatusMessage`,[_]:Nk}]]],OF=[3,v,xx,0,[Dx,Tx,Xg,Hb,Mb,Xv,Kb],[[0,{[h]:`VpcId`,[_]:RA}],[0,{[h]:`VpcEncryptionControlId`,[_]:LA}],[0,{[h]:`Mode`,[_]:bD}],[0,{[h]:`State`,[_]:tA}],[0,{[h]:`StateMessage`,[_]:Pk}],[()=>jF,{[h]:`ResourceExclusions`,[_]:HO}],[()=>mL,{[h]:`TagSet`,[_]:_A}]]],kF=[3,v,Sx,0,[Xg,Dp,Dd,f_,Kx,Wx,Jh,Lx,$u],[0,0,0,0,0,0,0,0,0],1],AF=[3,v,Cx,0,[Hb,Mb],[[0,{[h]:`State`,[_]:tA}],[0,{[h]:`StateMessage`,[_]:Pk}]]],jF=[3,v,wx,0,[Cp,Ed,d_,Gx,qx,lg,Ix,Qu],[[()=>AF,{[h]:`InternetGateway`,[_]:RT}],[()=>AF,{[h]:`EgressOnlyInternetGateway`,[_]:Ew}],[()=>AF,{[h]:`NatGateway`,[_]:OD}],[()=>AF,{[h]:`VirtualPrivateGateway`,[_]:KA}],[()=>AF,{[h]:`VpcPeering`,[_]:qA}],[()=>AF,{[h]:`Lambda`,[_]:KE}],[()=>AF,{[h]:`VpcLattice`,[_]:VA}],[()=>AF,{[h]:`ElasticFileSystem`,[_]:lw}]]],MF=[3,v,Ox,0,[qo,fp,hp,$g,Um,Zf,ph],[[0,{[h]:`AssociationId`,[_]:bS}],[0,{[h]:`Ipv6CidrBlock`,[_]:NT}],[()=>DF,{[h]:`Ipv6CidrBlockState`,[_]:FT}],[0,{[h]:`NetworkBorderGroup`,[_]:SD}],[0,{[h]:`Ipv6Pool`,[_]:cE}],[0,{[h]:`Ipv6AddressAttribute`,[_]:CT}],[0,{[h]:`IpSource`,[_]:bE}]]],NF=`unit`,PF=[1,v,ms,0,[0,{[_]:g}]],FF=[1,v,xs,0,[()=>wj,{[_]:g}]],IF=[1,v,mee,0,[()=>Cj,{[_]:g}]],LF=[1,v,gee,0,[()=>Tj,{[_]:g}]],RF=[1,v,vee,0,[()=>Ej,{[_]:g}]],zF=[1,v,jee,0,[0,{[_]:g}]],BF=[1,v,Tee,0,[()=>Oj,{[_]:g}]],VF=[1,v,Eee,0,[()=>Oj,{[_]:As}]],HF=[1,v,Oee,0,[0,{[_]:g}]],UF=[1,v,Hs,0,[1,{[_]:g}]],WF=[1,v,wl,0,[()=>GM,{[_]:g}]],GF=[1,v,qu,0,[()=>qM,{[_]:g}]],KF=[1,v,nd,0,[()=>$M,{[_]:g}]],qF=[1,v,cd,0,[()=>eN,{[_]:g}]],JF=[1,v,fd,0,[()=>nN,{[_]:g}]],YF=[1,v,_d,0,[()=>tN,{[_]:g}]],XF=[1,v,Wu,0,[0,{[_]:Gu}]],ZF=[1,v,af,0,[()=>sN,{[_]:df}]],QF=[1,v,ef,0,[()=>cN,{[_]:g}]],$F=[1,v,bf,0,[()=>pN,{[_]:g}]],eI=[1,v,Cf,0,[()=>gN,{[_]:g}]],tI=[1,v,wf,0,[0,{[_]:rT}]],nI=[1,v,jf,0,[0,{[_]:Af}]],rI=[1,v,Kp,0,[0,{[_]:Jp}]],iI=[1,v,tm,0,[()=>xN,{[_]:g}]],aI=[1,v,vp,0,[()=>TN,0]],oI=[1,v,lp,0,[()=>AN,{[_]:g}]],sI=[1,v,dp,0,[()=>jN,{[_]:g}]],cI=[1,v,qp,0,[0,{[_]:Np}]],lI=[1,v,Bp,0,[()=>MN,{[_]:g}]],uI=[1,v,Fp,0,[()=>NN,{[_]:g}]],dI=[1,v,Vp,0,[()=>PN,{[_]:g}]],fI=[1,v,rm,0,[()=>DN,{[_]:g}]],pI=[1,v,hm,0,[()=>BN,{[_]:g}]],mI=[1,v,_m,0,[()=>UN,{[_]:g}]],hI=[1,v,Am,0,[()=>KN,{[_]:g}]],gI=[1,v,th,0,[()=>qN,{[_]:g}]],_I=[1,v,rh,0,[()=>YN,{[_]:g}]],vI=[1,v,ih,0,[()=>XN,{[_]:g}]],yI=[1,v,oh,0,[()=>ZN,{[_]:g}]],bI=[1,v,$m,0,[()=>$N,{[_]:g}]],xI=[1,v,gh,0,[()=>tP,{[_]:g}]],SI=[1,v,Tp,0,[()=>rP,{[_]:g}]],CI=[1,v,kp,0,[0,{[_]:g}]],wI=[1,v,jp,0,[()=>nP,{[_]:g}]],TI=[1,v,Nm,0,[()=>iP,{[_]:g}]],EI=[1,v,Km,0,[()=>aP,{[_]:g}]],DI=[1,v,Pm,0,[()=>oP,{[_]:g}]],OI=[1,v,Fm,0,[()=>sP,{[_]:g}]],kI=[1,v,qm,0,[()=>cP,{[_]:g}]],AI=[1,v,Ph,0,[0,{[_]:Nh}]],jI=[1,v,Rh,0,[0,{[_]:Lh}]],MI=[1,v,Vh,0,[()=>uP,{[_]:g}]],NI=[1,v,Qh,0,[()=>fP,{[_]:g}]],PI=[1,v,tg,0,[()=>pP,{[_]:g}]],FI=[1,v,bg,0,[()=>hP,{[_]:g}]],II=[1,v,n_,0,[()=>SP,{[_]:g}]],LI=[1,v,s_,0,[()=>TP,{[_]:g}]],RI=[1,v,w_,0,[0,{[_]:g}]],zI=[1,v,R_,0,[0,{[_]:G_}]],BI=[1,v,lv,0,[0,{[_]:Ef}]],VI=[1,v,uv,0,[()=>MP,{[_]:g}]],HI=[1,v,dv,0,[0,{[_]:g}]],UI=[1,v,Ev,0,[()=>PP,{[_]:g}]],WI=[1,v,gv,0,[()=>RP,{[_]:g}]],GI=[1,v,Y_,0,[()=>BP,{[_]:g}]],KI=[1,v,Pv,0,[()=>VP,{[_]:g}]],qI=[1,v,ey,0,[()=>GP,{[_]:g}]],JI=[1,v,uy,0,[()=>WP,{[_]:g}]],YI=[1,v,gy,0,[0,{[_]:hy}]],XI=[1,v,dy,0,[()=>KP,{[_]:g}]],ZI=[1,v,Ey,0,[()=>qP,{[_]:g}]],QI=[1,v,Jv,0,[0,{[_]:g}]],$I=[1,v,fy,0,[()=>QP,{[_]:g}]],eL=[1,v,Ay,0,[()=>eF,{[_]:g}]],tL=[1,v,Ny,0,[0,{[_]:g}]],nL=[1,v,Fy,0,[()=>$P,{[_]:g}]],rL=[1,v,ib,0,[0,{[_]:rb}]],iL=[1,v,ob,0,[()=>iF,{[_]:g}]],aL=[1,v,ub,0,[0,{[_]:g}]],oL=[1,v,fb,0,[()=>aF,{[_]:g}]],sL=[1,v,mb,0,[0,{[_]:gb}]],cL=[1,v,Iee,0,[0,{[_]:Ob}]],lL=[1,v,Kee,0,[()=>oF,{[_]:g}]],uL=[1,v,Lee,0,[0,{[_]:kb}]],dL=[1,v,yb,0,[()=>hF,{[_]:g}]],fL=[1,v,qee,0,[()=>pF,{[_]:g}]],pL=[1,v,Ky,0,[0,{[_]:g}]],mL=[1,v,xte,0,[()=>gF,{[_]:g}]],hL=[1,v,Dte,0,[()=>_F,{[_]:g}]],gL=[1,v,Tte,0,[1,{[_]:g}]],_L=[1,v,Pte,0,[0,{[_]:g}]],vL=[1,v,ox,0,[()=>bF,{[_]:g}]],yL=[1,v,Jx,0,[0,{[_]:g}]],bL=[1,v,Zx,0,[0,{[_]:g}]],xL=[1,v,mx,0,[()=>CF,{[_]:g}]],SL=[1,v,jx,0,[0,{[_]:Nx}]],CL=[1,v,Rx,0,[()=>SF,{[_]:g}]],wL=[1,v,_x,0,[()=>EF,{[_]:g}]],TL=[1,v,Mx,0,[0,{[_]:Dx}]],EL=[1,v,kx,0,[()=>MF,{[_]:g}]],DL=[1,v,zx,0,[()=>TF,{[_]:g}]],OL=[1,v,sS,0,[0,{[_]:g}]],kL=[1,v,uS,0,[0,{[_]:lS}]],AL=[1,v,pS,0,[0,{[_]:fS}]],jL=[9,v,ns,0,()=>pj,()=>mj],ML=[9,v,Wo,0,()=>hj,()=>NF],NL=[9,v,vs,0,()=>gj,()=>CF],PL=[9,v,ss,0,()=>yj,()=>bj],FL=[9,v,fs,0,()=>xj,()=>Sj],IL=[9,v,Bc,0,()=>Ij,()=>Lj],LL=[9,v,oc,0,()=>Bj,()=>Vj],RL=[9,v,Zs,0,()=>Hj,()=>Uj],zL=[9,v,sc,0,()=>Wj,()=>lP],BL=[9,v,mc,0,()=>Gj,()=>Kj],VL=[9,v,kc,0,()=>qj,()=>Jj],HL=[9,v,Oc,0,()=>Yj,()=>Xj],UL=[9,v,Ac,0,()=>Zj,()=>Qj],WL=[9,v,Hc,0,()=>$j,()=>oF],GL=[9,v,Uc,0,()=>eM,()=>tM],KL=[9,v,tl,0,()=>nM,()=>SF],qL=[9,v,nl,0,()=>rM,()=>iM],JL=[9,v,Fl,0,()=>sM,()=>cM],YL=[9,v,Kl,0,()=>lM,()=>NF],XL=[9,v,ou,0,()=>uM,()=>dM],ZL=[9,v,vu,0,()=>fM,()=>NF],QL=[9,v,yu,0,()=>pM,()=>NF],$L=[9,v,Fu,0,()=>mM,()=>NF],eR=[9,v,Iu,0,()=>hM,()=>NF],tR=[9,v,dl,0,()=>gM,()=>_M],nR=[9,v,Ml,0,()=>vM,()=>yM],rR=[9,v,Nl,0,()=>bM,()=>xM],iR=[9,v,jl,0,()=>SM,()=>CM],aR=[9,v,Cl,0,()=>wM,()=>TM],oR=[9,v,Bl,0,()=>EM,()=>DM],sR=[9,v,Xl,0,()=>OM,()=>kM],cR=[9,v,au,0,()=>AM,()=>jM],lR=[9,v,ru,0,()=>MM,()=>NM],uR=[9,v,du,0,()=>PM,()=>FM],dR=[9,v,bu,0,()=>IM,()=>LM],fR=[9,v,xu,0,()=>RM,()=>zM],pR=[9,v,Lu,0,()=>BM,()=>VM],mR=[9,v,Ru,0,()=>HM,()=>UM],hR=[9,v,zu,0,()=>WM,()=>CF],gR=[9,v,hf,0,()=>dN,()=>fN],_R=[9,v,Zp,0,()=>SN,()=>CN],vR=[9,v,kg,0,()=>vP,()=>NF],yR=[9,v,Wg,0,()=>yP,()=>bP],bR=[9,v,sy,0,()=>HP,()=>NF],xR=[9,v,yy,0,()=>JP,()=>YP],SR=[9,v,wy,0,()=>XP,()=>ZP],CR=[9,v,ly,0,()=>rF,()=>KP],wR=[9,v,Hee,0,()=>cF,()=>lF],TR=[9,v,Wee,0,()=>dF,()=>fF],ER=[9,v,hte,0,()=>vF,()=>yF],DR=e=>({apiVersion:`2016-11-15`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Io,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ka,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new ba}],logger:e?.logger??new ia,protocol:e?.protocol??io,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.ec2`,errorTypeRegistries:lj,xmlNamespace:`http://ec2.amazonaws.com/doc/2016-11-15`,version:`2016-11-15`,serviceTarget:`AmazonEC2`},serviceId:e?.serviceId??`EC2`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),OR=e=>{let t=Ba(e),n=()=>t().then(Yi),r=DR(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ra,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Pa({serviceId:r.serviceId,clientVersion:Na.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Ia(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Hr),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},kR=e=>({setRegion(t){e.region=t},region(){return e.region}}),AR=e=>({region:e.region()}),jR=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},MR=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),NR=(e,t)=>{let n=Object.assign(kR(e),ta(e),de(e),jR(e));return t.forEach(e=>e.configure(n)),Object.assign(e,AR(n),na(n),fe(n),MR(n))},PR=class extends Hi{config;constructor(...[e]){let t=OR(e||{});super(t),this.initConfig=t,this.config=NR(Aa(Pi(ye(hi(Ii(Xn(ja(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(ui(this.config)),this.middlewareStack.use(pa(this.config)),this.middlewareStack.use(yi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:Da,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}},FR=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function IR(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`elasticloadbalancing`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var LR=e=>{let t=[];switch(e.operation){default:t.push(IR(e))}return t},RR=e=>{let t=wa(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},zR=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`elasticloadbalancing`}),BR={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},VR={name:`@aws-sdk/client-elastic-load-balancing-v2`,description:`AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native`,version:`3.1029.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-elastic-load-balancing-v2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo elastic-load-balancing-v2`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.973.27`,"@aws-sdk/credential-provider-node":`^3.972.30`,"@aws-sdk/middleware-host-header":`^3.972.9`,"@aws-sdk/middleware-logger":`^3.972.9`,"@aws-sdk/middleware-recursion-detection":`^3.972.10`,"@aws-sdk/middleware-user-agent":`^3.972.29`,"@aws-sdk/region-config-resolver":`^3.972.11`,"@aws-sdk/types":`^3.973.7`,"@aws-sdk/util-endpoints":`^3.996.6`,"@aws-sdk/util-user-agent-browser":`^3.972.9`,"@aws-sdk/util-user-agent-node":`^3.973.15`,"@smithy/config-resolver":`^4.4.14`,"@smithy/core":`^3.23.14`,"@smithy/fetch-http-handler":`^5.3.16`,"@smithy/hash-node":`^4.2.13`,"@smithy/invalid-dependency":`^4.2.13`,"@smithy/middleware-content-length":`^4.2.13`,"@smithy/middleware-endpoint":`^4.4.29`,"@smithy/middleware-retry":`^4.5.0`,"@smithy/middleware-serde":`^4.2.17`,"@smithy/middleware-stack":`^4.2.13`,"@smithy/node-config-provider":`^4.3.13`,"@smithy/node-http-handler":`^4.5.2`,"@smithy/protocol-http":`^5.3.13`,"@smithy/smithy-client":`^4.12.9`,"@smithy/types":`^4.14.0`,"@smithy/url-parser":`^4.2.13`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.45`,"@smithy/util-defaults-mode-node":`^4.2.49`,"@smithy/util-endpoints":`^3.3.4`,"@smithy/util-middleware":`^4.2.13`,"@smithy/util-retry":`^4.3.0`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.15`,tslib:`^2.6.2`},devDependencies:{"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elastic-load-balancing-v2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-elastic-load-balancing-v2`}},HR=`required`,UR=`fn`,WR=`argv`,GR=`ref`,KR=!0,qR=`isSet`,JR=`booleanEquals`,YR=`error`,XR=`endpoint`,ZR=`tree`,QR=`PartitionResult`,$R=`getAttr`,ez={[HR]:!1,type:`string`},tz={[HR]:!0,default:!1,type:`boolean`},nz={[GR]:`Endpoint`},rz={[UR]:JR,[WR]:[{[GR]:`UseFIPS`},!0]},iz={[UR]:JR,[WR]:[{[GR]:`UseDualStack`},!0]},az={},oz={[UR]:$R,[WR]:[{[GR]:QR},`supportsFIPS`]},sz={[GR]:QR},cz={[UR]:JR,[WR]:[!0,{[UR]:$R,[WR]:[sz,`supportsDualStack`]}]},lz=[rz],uz=[iz],dz=[{[GR]:`Region`}],fz={version:`1.0`,parameters:{Region:ez,UseDualStack:tz,UseFIPS:tz,Endpoint:ez},rules:[{conditions:[{[UR]:qR,[WR]:[nz]}],rules:[{conditions:lz,error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:YR},{conditions:uz,error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:YR},{endpoint:{url:nz,properties:az,headers:az},type:XR}],type:ZR},{conditions:[{[UR]:qR,[WR]:dz}],rules:[{conditions:[{[UR]:`aws.partition`,[WR]:dz,assign:QR}],rules:[{conditions:[rz,iz],rules:[{conditions:[{[UR]:JR,[WR]:[KR,oz]},cz],rules:[{endpoint:{url:`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:az,headers:az},type:XR}],type:ZR},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:YR}],type:ZR},{conditions:lz,rules:[{conditions:[{[UR]:JR,[WR]:[oz,KR]}],rules:[{conditions:[{[UR]:`stringEquals`,[WR]:[{[UR]:$R,[WR]:[sz,`name`]},`aws-us-gov`]}],endpoint:{url:`https://elasticloadbalancing.{Region}.amazonaws.com`,properties:az,headers:az},type:XR},{endpoint:{url:`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}`,properties:az,headers:az},type:XR}],type:ZR},{error:`FIPS is enabled but this partition does not support FIPS`,type:YR}],type:ZR},{conditions:uz,rules:[{conditions:[cz],rules:[{endpoint:{url:`https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:az,headers:az},type:XR}],type:ZR},{error:`DualStack is enabled but this partition does not support DualStack`,type:YR}],type:ZR},{endpoint:{url:`https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}`,properties:az,headers:az},type:XR}],type:ZR}],type:ZR},{error:`Invalid Configuration: Missing Region`,type:YR}]},pz=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),mz=(e,t={})=>pz.get(e,()=>kr(fz,{endpointParams:e,logger:t.logger}));nr.aws=Rr;var y=class e extends qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},hz=class e extends y{name=`CertificateNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CertificateNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},gz=class e extends y{name=`ListenerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ListenerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_z=class e extends y{name=`TooManyCertificatesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyCertificatesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},vz=class e extends y{name=`DuplicateTagKeysException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTagKeysException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},yz=class e extends y{name=`LoadBalancerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`LoadBalancerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},bz=class e extends y{name=`RuleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RuleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},xz=class e extends y{name=`TargetGroupNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Sz=class e extends y{name=`TooManyTagsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTagsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Cz=class e extends y{name=`TrustStoreNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},wz=class e extends y{name=`InvalidRevocationContentException`;$fault=`client`;Message;constructor(t){super({name:`InvalidRevocationContentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Tz=class e extends y{name=`RevocationContentNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationContentNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ez=class e extends y{name=`TooManyTrustStoreRevocationEntriesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoreRevocationEntriesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Dz=class e extends y{name=`AllocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`AllocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Oz=class e extends y{name=`ALPNPolicyNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`ALPNPolicyNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},kz=class e extends y{name=`AvailabilityZoneNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`AvailabilityZoneNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Az=class e extends y{name=`CaCertificatesBundleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CaCertificatesBundleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},jz=class e extends y{name=`CapacityDecreaseRequestsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityDecreaseRequestsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Mz=class e extends y{name=`CapacityReservationPendingException`;$fault=`client`;Message;constructor(t){super({name:`CapacityReservationPendingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Nz=class e extends y{name=`CapacityUnitsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityUnitsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Pz=class e extends y{name=`DuplicateListenerException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateListenerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Fz=class e extends y{name=`IncompatibleProtocolsException`;$fault=`client`;Message;constructor(t){super({name:`IncompatibleProtocolsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Iz=class e extends y{name=`InvalidConfigurationRequestException`;$fault=`client`;Message;constructor(t){super({name:`InvalidConfigurationRequestException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Lz=class e extends y{name=`InvalidLoadBalancerActionException`;$fault=`client`;Message;constructor(t){super({name:`InvalidLoadBalancerActionException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Rz=class e extends y{name=`SSLPolicyNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SSLPolicyNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},zz=class e extends y{name=`TargetGroupAssociationLimitException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupAssociationLimitException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Bz=class e extends y{name=`TooManyActionsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyActionsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Vz=class e extends y{name=`TooManyListenersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyListenersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Hz=class e extends y{name=`TooManyRegistrationsForTargetIdException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRegistrationsForTargetIdException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Uz=class e extends y{name=`TooManyTargetsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Wz=class e extends y{name=`TooManyUniqueTargetGroupsPerLoadBalancerException`;$fault=`client`;Message;constructor(t){super({name:`TooManyUniqueTargetGroupsPerLoadBalancerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Gz=class e extends y{name=`TrustStoreNotReadyException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Kz=class e extends y{name=`UnsupportedProtocolException`;$fault=`client`;Message;constructor(t){super({name:`UnsupportedProtocolException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},qz=class e extends y{name=`DuplicateLoadBalancerNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateLoadBalancerNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Jz=class e extends y{name=`InvalidSchemeException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSchemeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Yz=class e extends y{name=`InvalidSecurityGroupException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSecurityGroupException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Xz=class e extends y{name=`InvalidSubnetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSubnetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Zz=class e extends y{name=`OperationNotPermittedException`;$fault=`client`;Message;constructor(t){super({name:`OperationNotPermittedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Qz=class e extends y{name=`ResourceInUseException`;$fault=`client`;Message;constructor(t){super({name:`ResourceInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},$z=class e extends y{name=`SubnetNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SubnetNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},eB=class e extends y{name=`TooManyLoadBalancersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyLoadBalancersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},tB=class e extends y{name=`PriorityInUseException`;$fault=`client`;Message;constructor(t){super({name:`PriorityInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},nB=class e extends y{name=`TooManyRulesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRulesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},rB=class e extends y{name=`TooManyTargetGroupsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetGroupsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},iB=class e extends y{name=`DuplicateTargetGroupNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTargetGroupNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},aB=class e extends y{name=`DuplicateTrustStoreNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTrustStoreNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},oB=class e extends y{name=`InvalidCaCertificatesBundleException`;$fault=`client`;Message;constructor(t){super({name:`InvalidCaCertificatesBundleException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},sB=class e extends y{name=`TooManyTrustStoresException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoresException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},cB=class e extends y{name=`DeleteAssociationSameAccountException`;$fault=`client`;Message;constructor(t){super({name:`DeleteAssociationSameAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},lB=class e extends y{name=`TrustStoreAssociationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreAssociationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},uB=class e extends y{name=`TrustStoreInUseException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},dB=class e extends y{name=`InvalidTargetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidTargetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},fB=class e extends y{name=`HealthUnavailableException`;$fault=`server`;Message;constructor(t){super({name:`HealthUnavailableException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},pB=class e extends y{name=`RevocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},mB=class e extends y{name=`ResourceNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ResourceNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},hB=class e extends y{name=`InsufficientCapacityException`;$fault=`server`;Message;constructor(t){super({name:`InsufficientCapacityException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},gB=class e extends y{name=`PriorRequestNotCompleteException`;$fault=`client`;Message;constructor(t){super({name:`PriorRequestNotCompleteException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_B=`Action`,vB=`AdditionalClaims`,yB=`AuthenticateCognitoActionConfig`,bB=`AuthenticateCognitoConfig`,xB=`AnomalyDetection`,SB=`AuthorizationEndpoint`,CB=`AllocationId`,wB=`AllocationIdNotFoundException`,TB=`ALPNPolicyNotSupportedException`,EB=`AdministrativeOverride`,DB=`AuthenticateOidcActionConfig`,OB=`AuthenticateOidcConfig`,kB=`AlpnPolicy`,AB=`AuthenticationRequestExtraParams`,jB=`AdvertiseTrustStoreCaNames`,MB=`AvailabilityZone`,NB=`AvailabilityZoneNotSupportedException`,PB=`AvailabilityZones`,FB=`Actions`,IB=`Attributes`,LB=`Certificates`,RB=`CertificateArn`,zB=`CaCertificatesBundleNotFoundException`,BB=`CapacityDecreaseRequestsLimitExceededException`,VB=`CanonicalHostedZoneId`,HB=`ClientId`,UB=`CertificateList`,WB=`CreateLoadBalancer`,GB=`CreateLoadBalancerInput`,KB=`CreateLoadBalancerOutput`,qB=`CreateListenerInput`,JB=`CreateListenerOutput`,YB=`CreateListener`,XB=`CertificateNotFoundException`,ZB=`CustomerOwnedIpv4Pool`,QB=`CapacityReservationPendingException`,$B=`ClientSecret`,eV=`ContentType`,tV=`CreateTargetGroup`,nV=`CreateTargetGroupInput`,rV=`CreateTargetGroupOutput`,iV=`CreatedTime`,aV=`CapacityUnitsLimitExceededException`,oV=`Certificate`,sV=`Code`,cV=`Description`,lV=`DefaultActions`,uV=`DeleteAssociationSameAccountException`,dV=`DeleteListener`,fV=`DeleteLoadBalancer`,pV=`DescribeLoadBalancerAttributes`,mV=`DescribeLoadBalancerAttributesInput`,hV=`DescribeLoadBalancerAttributesOutput`,gV=`DeleteLoadBalancerInput`,_V=`DescribeLoadBalancersInput`,vV=`DuplicateLoadBalancerNameException`,yV=`DeleteLoadBalancerOutput`,bV=`DescribeLoadBalancersOutput`,xV=`DescribeLoadBalancers`,SV=`DuplicateListenerException`,CV=`DeleteListenerInput`,wV=`DescribeListenersInput`,TV=`DeleteListenerOutput`,EV=`DescribeListenersOutput`,DV=`DescribeListeners`,OV=`DNSName`,kV=`DurationSeconds`,AV=`DeregisterTargets`,jV=`DeleteTargetGroup`,MV=`DescribeTargetGroupAttributes`,NV=`DescribeTargetGroupAttributesInput`,PV=`DescribeTargetGroupAttributesOutput`,FV=`DeleteTargetGroupInput`,IV=`DescribeTargetGroupsInput`,LV=`DuplicateTargetGroupNameException`,RV=`DeleteTargetGroupOutput`,zV=`DescribeTargetGroupsOutput`,BV=`DescribeTargetGroups`,VV=`DescribeTargetHealth`,HV=`DescribeTargetHealthInput`,UV=`DescribeTargetHealthOutput`,WV=`DeregisterTargetsInput`,GV=`DescribeTagsInput`,KV=`DuplicateTagKeysException`,qV=`DeregisterTargetsOutput`,JV=`DescribeTagsOutput`,YV=`DuplicateTrustStoreNameException`,XV=`DescribeTags`,ZV=`Enabled`,QV=`EnablePrefixForIpv6SourceNat`,$V=`EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic`,eH=`Format`,tH=`ForwardActionConfig`,nH=`ForwardConfig`,rH=`FixedResponseActionConfig`,iH=`FixedResponseConfig`,aH=`GrpcCode`,oH=`Host`,sH=`HttpCode`,cH=`HealthCheckEnabled`,lH=`HealthCheckIntervalSeconds`,uH=`HealthCheckProtocol`,dH=`HealthCheckPort`,fH=`HealthCheckPath`,pH=`HealthCheckTimeoutSeconds`,mH=`HealthyThresholdCount`,hH=`HealthUnavailableException`,gH=`Issuer`,_H=`IpAddress`,vH=`IpAddressType`,yH=`InvalidCaCertificatesBundleException`,bH=`IgnoreClientCertificateExpiry`,xH=`InsufficientCapacityException`,SH=`InvalidConfigurationRequestException`,CH=`IsDefault`,wH=`Ipv4IpamPoolId`,TH=`InvalidLoadBalancerActionException`,EH=`IpamPools`,DH=`IPv6Address`,OH=`IncompatibleProtocolsException`,kH=`InvalidRevocationContentException`,AH=`InvalidSchemeException`,jH=`InvalidSubnetException`,MH=`InvalidSecurityGroupException`,NH=`InvalidTargetException`,PH=`Id`,FH=`Include`,IH=`JwksEndpoint`,LH=`JwtValidationActionAdditionalClaim`,RH=`JwtValidationActionAdditionalClaims`,zH=`JwtValidationActionConfig`,BH=`JwtValidationConfig`,VH=`Key`,HH=`Listeners`,UH=`ListenerArn`,WH=`ListenerArns`,GH=`LoadBalancers`,KH=`LoadBalancerAddresses`,qH=`LoadBalancerArn`,JH=`LoadBalancerArns`,YH=`LoadBalancerAddress`,XH=`LoadBalancerAttribute`,ZH=`LoadBalancerAttributes`,QH=`LoadBalancerName`,$H=`LoadBalancerNotFoundException`,eU=`LoadBalancerState`,tU=`LoadBalancer`,nU=`ListenerNotFoundException`,rU=`Listener`,b=`Message`,iU=`MutualAuthentication`,aU=`MutualAuthenticationAttributes`,oU=`MessageBody`,sU=`MitigationInEffect`,cU=`ModifyLoadBalancerAttributes`,lU=`ModifyLoadBalancerAttributesInput`,uU=`ModifyLoadBalancerAttributesOutput`,dU=`ModifyTargetGroupAttributes`,fU=`ModifyTargetGroupAttributesInput`,pU=`ModifyTargetGroupAttributesOutput`,mU=`Matcher`,hU=`Marker`,gU=`Mode`,_U=`Name`,vU=`NextMarker`,yU=`Names`,bU=`Order`,xU=`OutpostId`,SU=`OperationNotPermittedException`,CU=`OnUnauthenticatedRequest`,wU=`PrivateIPv4Address`,TU=`PriorityInUseException`,EU=`PriorRequestNotCompleteException`,DU=`PageSize`,OU=`ProtocolVersion`,kU=`Path`,AU=`Port`,jU=`Protocol`,MU=`Query`,NU=`QuicServerId`,PU=`Reason`,FU=`ResourceArns`,IU=`RedirectActionConfig`,LU=`ResourceArn`,RU=`RedirectConfig`,zU=`RevocationContentNotFoundException`,BU=`RevocationIdNotFoundException`,VU=`ResourceInUseException`,HU=`ResourceNotFoundException`,UU=`RuleNotFoundException`,WU=`RegisterTargetsInput`,GU=`RegisterTargetsOutput`,KU=`RegisterTargets`,qU=`Result`,JU=`State`,YU=`StatusCode`,XU=`SessionCookieName`,ZU=`SecurityGroups`,QU=`SubnetId`,$U=`SubnetMappings`,eW=`SubnetMapping`,tW=`SubnetNotFoundException`,nW=`SourceNatIpv6Prefixes`,rW=`SourceNatIpv6Prefix`,iW=`SslPolicy`,aW=`SSLPolicyNotFoundException`,oW=`SessionTimeout`,sW=`Scope`,cW=`Scheme`,lW=`Subnets`,uW=`Type`,dW=`TargetControlPort`,fW=`TagDescriptions`,pW=`TagDescription`,mW=`TargetDescription`,hW=`TargetDescriptions`,gW=`TokenEndpoint`,_W=`TargetGroups`,vW=`TargetGroupArn`,yW=`TargetGroupAssociationLimitException`,bW=`TargetGroupArns`,xW=`TargetGroupAttribute`,SW=`TargetGroupAttributes`,CW=`TargetGroupList`,wW=`TargetGroupName`,TW=`TargetGroupNotFoundException`,EW=`TargetGroupStickinessConfig`,DW=`TargetGroupTuple`,OW=`TargetGroup`,kW=`TargetHealth`,AW=`TargetHealthDescriptions`,jW=`TargetHealthDescription`,MW=`TagList`,NW=`TooManyActionsException`,PW=`TooManyCertificatesException`,FW=`TooManyLoadBalancersException`,IW=`TooManyListenersException`,LW=`TooManyRulesException`,RW=`TooManyRegistrationsForTargetIdException`,zW=`TooManyTagsException`,BW=`TooManyTargetsException`,VW=`TooManyTargetGroupsException`,HW=`TooManyTrustStoresException`,UW=`TooManyTrustStoreRevocationEntriesException`,WW=`TooManyUniqueTargetGroupsPerLoadBalancerException`,GW=`TrustStoreArn`,KW=`TrustStoreAssociationNotFoundException`,qW=`TrustStoreAssociationStatus`,JW=`TrustStoreInUseException`,YW=`TrustStoreNotFoundException`,XW=`TrustStoreNotReadyException`,ZW=`TargetType`,QW=`Tags`,$W=`Tag`,eG=`Targets`,tG=`Target`,nG=`UseExistingClientSecret`,rG=`UserInfoEndpoint`,iG=`UserPoolArn`,aG=`UserPoolClientId`,oG=`UserPoolDomain`,sG=`UnsupportedProtocolException`,cG=`UnhealthyThresholdCount`,lG=`Values`,uG=`VpcId`,dG=`Value`,fG=`Weight`,pG=`ZoneName`,x=`awsQueryError`,S=`client`,C=`error`,w=`httpError`,mG=`smithy.ts.sdk.synthetic.com.amazonaws.elasticloadbalancingv2`,hG=`server`,T=`com.amazonaws.elasticloadbalancingv2`,gG=At.for(mG),_G=[-3,mG,`ElasticLoadBalancingV2ServiceException`,0,[],[]];gG.registerError(_G,y);var E=At.for(T),vG=[-3,T,wB,{[x]:[`AllocationIdNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(vG,Dz);var yG=[-3,T,TB,{[x]:[`ALPNPolicyNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(yG,Oz);var bG=[-3,T,NB,{[x]:[`AvailabilityZoneNotSupported`,400],[C]:S,[w]:400},[b],[0]];E.registerError(bG,kz);var xG=[-3,T,zB,{[x]:[`CaCertificatesBundleNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(xG,Az);var SG=[-3,T,BB,{[x]:[`CapacityDecreaseRequestLimitExceeded`,400],[C]:S,[w]:400},[b],[0]];E.registerError(SG,jz);var CG=[-3,T,QB,{[x]:[`CapacityReservationPending`,400],[C]:S,[w]:400},[b],[0]];E.registerError(CG,Mz);var wG=[-3,T,aV,{[x]:[`CapacityUnitsLimitExceeded`,400],[C]:S,[w]:400},[b],[0]];E.registerError(wG,Nz);var TG=[-3,T,XB,{[x]:[`CertificateNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(TG,hz);var EG=[-3,T,uV,{[x]:[`DeleteAssociationSameAccount`,400],[C]:S,[w]:400},[b],[0]];E.registerError(EG,cB);var DG=[-3,T,SV,{[x]:[`DuplicateListener`,400],[C]:S,[w]:400},[b],[0]];E.registerError(DG,Pz);var OG=[-3,T,vV,{[x]:[`DuplicateLoadBalancerName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(OG,qz);var kG=[-3,T,KV,{[x]:[`DuplicateTagKeys`,400],[C]:S,[w]:400},[b],[0]];E.registerError(kG,vz);var AG=[-3,T,LV,{[x]:[`DuplicateTargetGroupName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(AG,iB);var jG=[-3,T,YV,{[x]:[`DuplicateTrustStoreName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(jG,aB);var MG=[-3,T,hH,{[x]:[`HealthUnavailable`,500],[C]:hG,[w]:500},[b],[0]];E.registerError(MG,fB);var NG=[-3,T,OH,{[x]:[`IncompatibleProtocols`,400],[C]:S,[w]:400},[b],[0]];E.registerError(NG,Fz);var PG=[-3,T,xH,{[x]:[`InsufficientCapacity`,500],[C]:hG,[w]:500},[b],[0]];E.registerError(PG,hB);var FG=[-3,T,yH,{[x]:[`InvalidCaCertificatesBundle`,400],[C]:S,[w]:400},[b],[0]];E.registerError(FG,oB);var IG=[-3,T,SH,{[x]:[`InvalidConfigurationRequest`,400],[C]:S,[w]:400},[b],[0]];E.registerError(IG,Iz);var LG=[-3,T,TH,{[x]:[`InvalidLoadBalancerAction`,400],[C]:S,[w]:400},[b],[0]];E.registerError(LG,Lz);var RG=[-3,T,kH,{[x]:[`InvalidRevocationContent`,400],[C]:S,[w]:400},[b],[0]];E.registerError(RG,wz);var zG=[-3,T,AH,{[x]:[`InvalidScheme`,400],[C]:S,[w]:400},[b],[0]];E.registerError(zG,Jz);var BG=[-3,T,MH,{[x]:[`InvalidSecurityGroup`,400],[C]:S,[w]:400},[b],[0]];E.registerError(BG,Yz);var VG=[-3,T,jH,{[x]:[`InvalidSubnet`,400],[C]:S,[w]:400},[b],[0]];E.registerError(VG,Xz);var HG=[-3,T,NH,{[x]:[`InvalidTarget`,400],[C]:S,[w]:400},[b],[0]];E.registerError(HG,dB);var UG=[-3,T,nU,{[x]:[`ListenerNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(UG,gz);var WG=[-3,T,$H,{[x]:[`LoadBalancerNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(WG,yz);var GG=[-3,T,SU,{[x]:[`OperationNotPermitted`,400],[C]:S,[w]:400},[b],[0]];E.registerError(GG,Zz);var KG=[-3,T,TU,{[x]:[`PriorityInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(KG,tB);var qG=[-3,T,EU,{[x]:[`PriorRequestNotComplete`,429],[C]:S,[w]:429},[b],[0]];E.registerError(qG,gB);var JG=[-3,T,VU,{[x]:[`ResourceInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(JG,Qz);var YG=[-3,T,HU,{[x]:[`ResourceNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(YG,mB);var XG=[-3,T,zU,{[x]:[`RevocationContentNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(XG,Tz);var ZG=[-3,T,BU,{[x]:[`RevocationIdNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(ZG,pB);var QG=[-3,T,UU,{[x]:[`RuleNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(QG,bz);var $G=[-3,T,aW,{[x]:[`SSLPolicyNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError($G,Rz);var eK=[-3,T,tW,{[x]:[`SubnetNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(eK,$z);var tK=[-3,T,yW,{[x]:[`TargetGroupAssociationLimit`,400],[C]:S,[w]:400},[b],[0]];E.registerError(tK,zz);var nK=[-3,T,TW,{[x]:[`TargetGroupNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(nK,xz);var rK=[-3,T,NW,{[x]:[`TooManyActions`,400],[C]:S,[w]:400},[b],[0]];E.registerError(rK,Bz);var iK=[-3,T,PW,{[x]:[`TooManyCertificates`,400],[C]:S,[w]:400},[b],[0]];E.registerError(iK,_z);var aK=[-3,T,IW,{[x]:[`TooManyListeners`,400],[C]:S,[w]:400},[b],[0]];E.registerError(aK,Vz);var oK=[-3,T,FW,{[x]:[`TooManyLoadBalancers`,400],[C]:S,[w]:400},[b],[0]];E.registerError(oK,eB);var sK=[-3,T,RW,{[x]:[`TooManyRegistrationsForTargetId`,400],[C]:S,[w]:400},[b],[0]];E.registerError(sK,Hz);var cK=[-3,T,LW,{[x]:[`TooManyRules`,400],[C]:S,[w]:400},[b],[0]];E.registerError(cK,nB);var lK=[-3,T,zW,{[x]:[`TooManyTags`,400],[C]:S,[w]:400},[b],[0]];E.registerError(lK,Sz);var uK=[-3,T,VW,{[x]:[`TooManyTargetGroups`,400],[C]:S,[w]:400},[b],[0]];E.registerError(uK,rB);var dK=[-3,T,BW,{[x]:[`TooManyTargets`,400],[C]:S,[w]:400},[b],[0]];E.registerError(dK,Uz);var fK=[-3,T,UW,{[x]:[`TooManyTrustStoreRevocationEntries`,400],[C]:S,[w]:400},[b],[0]];E.registerError(fK,Ez);var pK=[-3,T,HW,{[x]:[`TooManyTrustStores`,400],[C]:S,[w]:400},[b],[0]];E.registerError(pK,sB);var mK=[-3,T,WW,{[x]:[`TooManyUniqueTargetGroupsPerLoadBalancer`,400],[C]:S,[w]:400},[b],[0]];E.registerError(mK,Wz);var hK=[-3,T,KW,{[x]:[`AssociationNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(hK,lB);var gK=[-3,T,JW,{[x]:[`TrustStoreInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(gK,uB);var _K=[-3,T,YW,{[x]:[`TrustStoreNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(_K,Cz);var vK=[-3,T,XW,{[x]:[`TrustStoreNotReady`,400],[C]:S,[w]:400},[b],[0]];E.registerError(vK,Gz);var yK=[-3,T,sG,{[x]:[`UnsupportedProtocol`,400],[C]:S,[w]:400},[b],[0]];E.registerError(yK,Kz);var bK=[gG,E],xK=[3,T,_B,0,[uW,vW,OB,bB,bU,RU,iH,nH,BH],[0,0,()=>TK,()=>wK,1,()=>vq,()=>nq,()=>rq,()=>oq],1],SK=[3,T,EB,0,[JU,PU,cV],[0,0,0]],CK=[3,T,xB,0,[qU,sU],[0,0]],wK=[3,T,yB,0,[iG,aG,oG,XU,sW,oW,AB,CU],[0,0,0,0,0,1,128,0],3],TK=[3,T,DB,0,[gH,SB,gW,rG,HB,$B,XU,sW,oW,AB,CU,nG],[0,0,0,0,0,0,0,0,1,128,0,2],5],EK=[3,T,MB,0,[pG,QU,xU,KH,nW],[0,0,0,()=>Fq,64]],DK=[3,T,oV,0,[RB,CH],[0,2]],OK=[3,T,qB,0,[qH,lV,jU,AU,iW,LB,kB,QW,iU],[0,()=>Aq,0,1,0,()=>Mq,64,()=>Bq,()=>_q],2],kK=[3,T,JB,0,[HH],[()=>Pq]],AK=[3,T,GB,0,[_U,lW,$U,ZU,cW,QW,uW,vH,ZB,QV,EH],[0,64,()=>Rq,64,0,()=>Bq,0,0,0,0,()=>iq],1],jK=[3,T,KB,0,[GH],[()=>Lq]],MK=[3,T,nV,0,[_U,jU,OU,AU,uG,uH,dH,cH,fH,lH,pH,mH,cG,mU,ZW,QW,vH,dW],[0,0,0,1,0,0,0,2,0,1,1,1,1,()=>fq,0,()=>Bq,0,1],1],NK=[3,T,rV,0,[_W],[()=>Wq]],PK=[3,T,CV,0,[UH],[0],1],FK=[3,T,TV,0,[],[]],IK=[3,T,gV,0,[qH],[0],1],LK=[3,T,yV,0,[],[]],RK=[3,T,FV,0,[vW],[0],1],zK=[3,T,RV,0,[],[]],BK=[3,T,WV,0,[vW,eG],[0,()=>Vq],2],VK=[3,T,qV,0,[],[]],HK=[3,T,wV,0,[qH,WH,hU,DU],[0,64,0,1]],UK=[3,T,EV,0,[HH,vU],[()=>Pq,0]],WK=[3,T,mV,0,[qH],[0],1],GK=[3,T,hV,0,[IB],[()=>Iq]],KK=[3,T,_V,0,[JH,yU,hU,DU],[64,64,0,1]],qK=[3,T,bV,0,[GH,vU],[()=>Lq,0]],JK=[3,T,GV,0,[FU],[64],1],YK=[3,T,JV,0,[fW],[()=>zq]],XK=[3,T,NV,0,[vW],[0],1],ZK=[3,T,PV,0,[IB],[()=>Hq]],QK=[3,T,IV,0,[qH,bW,yU,hU,DU],[0,64,64,0,1]],$K=[3,T,zV,0,[_W,vU],[()=>Wq,0]],eq=[3,T,HV,0,[vW,eG,FH],[0,()=>Vq,64],1],tq=[3,T,UV,0,[AW],[()=>Gq]],nq=[3,T,rH,0,[YU,oU,eV],[0,0,0],1],rq=[3,T,tH,0,[_W,EW],[()=>Uq,()=>Eq]],iq=[3,T,EH,0,[wH],[0]],aq=[3,T,LH,0,[eH,_U,lG],[0,0,64],3],oq=[3,T,zH,0,[IH,gH,vB],[0,0,()=>Nq],2],sq=[3,T,rU,0,[UH,qH,AU,jU,LB,iW,lV,kB,iU],[0,0,1,0,()=>Mq,0,()=>Aq,64,()=>_q]],cq=[3,T,tU,0,[qH,OV,VB,iV,QH,cW,uG,JU,uW,PB,ZU,vH,ZB,$V,QV,EH],[0,0,0,4,0,0,0,()=>dq,0,()=>jq,64,0,0,0,0,()=>iq]],lq=[3,T,YH,0,[_H,CB,wU,DH],[0,0,0,0]],uq=[3,T,XH,0,[VH,dG],[0,0]],dq=[3,T,eU,0,[sV,PU],[0,0]],fq=[3,T,mU,0,[sH,aH],[0,0]],pq=[3,T,lU,0,[qH,IB],[0,()=>Iq],2],mq=[3,T,uU,0,[IB],[()=>Iq]],hq=[3,T,fU,0,[vW,IB],[0,()=>Hq],2],gq=[3,T,pU,0,[IB],[()=>Hq]],_q=[3,T,aU,0,[gU,GW,bH,qW,jB],[0,0,2,0,0]],vq=[3,T,IU,0,[YU,jU,AU,oH,kU,MU],[0,0,0,0,0,0],1],yq=[3,T,WU,0,[vW,eG],[0,()=>Vq],2],Fte=[3,T,GU,0,[],[]],bq=[3,T,eW,0,[QU,CB,wU,DH,rW],[0,0,0,0,0]],xq=[3,T,$W,0,[VH,dG],[0,0],1],Sq=[3,T,pW,0,[LU,QW],[0,()=>Bq]],Cq=[3,T,mW,0,[PH,AU,MB,NU],[0,1,0,0],1],wq=[3,T,OW,0,[vW,wW,jU,AU,uG,uH,dH,cH,lH,pH,mH,cG,fH,mU,JH,ZW,OU,vH,dW],[0,0,0,1,0,0,0,2,1,1,1,1,0,()=>fq,64,0,0,0,1]],Tq=[3,T,xW,0,[VH,dG],[0,0]],Eq=[3,T,EW,0,[ZV,kV],[2,1]],Dq=[3,T,DW,0,[vW,fG],[0,1]],Oq=[3,T,kW,0,[JU,PU,cV],[0,0,0]],kq=[3,T,jW,0,[tG,dH,kW,xB,EB],[()=>Cq,0,()=>Oq,()=>CK,()=>SK]],Aq=[1,T,FB,0,()=>xK],jq=[1,T,PB,0,()=>EK],Mq=[1,T,UB,0,()=>DK],Nq=[1,T,RH,0,()=>aq],Pq=[1,T,HH,0,()=>sq],Fq=[1,T,KH,0,()=>lq],Iq=[1,T,ZH,0,()=>uq],Lq=[1,T,GH,0,()=>cq],Rq=[1,T,$U,0,()=>bq],zq=[1,T,fW,0,()=>Sq],Bq=[1,T,MW,0,()=>xq],Vq=[1,T,hW,0,()=>Cq],Hq=[1,T,SW,0,()=>Tq],Uq=[1,T,CW,0,()=>Dq],Wq=[1,T,_W,0,()=>wq],Gq=[1,T,AW,0,()=>kq],Kq=[9,T,YB,0,()=>OK,()=>kK],qq=[9,T,WB,0,()=>AK,()=>jK],Jq=[9,T,tV,0,()=>MK,()=>NK],Yq=[9,T,dV,0,()=>PK,()=>FK],Xq=[9,T,fV,0,()=>IK,()=>LK],Zq=[9,T,jV,0,()=>RK,()=>zK],Qq=[9,T,AV,0,()=>BK,()=>VK],$q=[9,T,DV,0,()=>HK,()=>UK],eJ=[9,T,pV,0,()=>WK,()=>GK],tJ=[9,T,xV,0,()=>KK,()=>qK],nJ=[9,T,XV,0,()=>JK,()=>YK],rJ=[9,T,MV,0,()=>XK,()=>ZK],iJ=[9,T,BV,0,()=>QK,()=>$K],aJ=[9,T,VV,0,()=>eq,()=>tq],oJ=[9,T,cU,0,()=>pq,()=>mq],sJ=[9,T,dU,0,()=>hq,()=>gq],cJ=[9,T,KU,0,()=>yq,()=>Fte],lJ=e=>({apiVersion:`2015-12-01`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??mz,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??LR,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new ba}],logger:e?.logger??new ia,protocol:e?.protocol??ro,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.elasticloadbalancingv2`,errorTypeRegistries:bK,xmlNamespace:`http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/`,version:`2015-12-01`,serviceTarget:`ElasticLoadBalancing_v10`},serviceId:e?.serviceId??`Elastic Load Balancing v2`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),uJ=e=>{let t=Ba(e),n=()=>t().then(Yi),r=lJ(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ra,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Pa({serviceId:r.serviceId,clientVersion:VR.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Ia(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Hr),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},dJ=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},fJ=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),pJ=(e,t)=>{let n=Object.assign(kR(e),ta(e),de(e),dJ(e));return t.forEach(e=>e.configure(n)),Object.assign(e,AR(n),na(n),fe(n),fJ(n))},mJ=class extends Hi{config;constructor(...[e]){let t=uJ(e||{});super(t),this.initConfig=t,this.config=pJ(RR(Pi(ye(hi(Ii(Xn(zR(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(ui(this.config)),this.middlewareStack.use(pa(this.config)),this.middlewareStack.use(yi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:FR,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}},hJ=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function gJ(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`iam`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var _J=e=>{let t=[];switch(e.operation){default:t.push(gJ(e))}return t},vJ=e=>{let t=wa(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},yJ=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`iam`}),bJ={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},xJ={name:`@aws-sdk/client-iam`,description:`AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native`,version:`3.1029.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-iam`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo iam`,test:`yarn g:vitest run --passWithNoTests`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.973.27`,"@aws-sdk/credential-provider-node":`^3.972.30`,"@aws-sdk/middleware-host-header":`^3.972.9`,"@aws-sdk/middleware-logger":`^3.972.9`,"@aws-sdk/middleware-recursion-detection":`^3.972.10`,"@aws-sdk/middleware-user-agent":`^3.972.29`,"@aws-sdk/region-config-resolver":`^3.972.11`,"@aws-sdk/types":`^3.973.7`,"@aws-sdk/util-endpoints":`^3.996.6`,"@aws-sdk/util-user-agent-browser":`^3.972.9`,"@aws-sdk/util-user-agent-node":`^3.973.15`,"@smithy/config-resolver":`^4.4.14`,"@smithy/core":`^3.23.14`,"@smithy/fetch-http-handler":`^5.3.16`,"@smithy/hash-node":`^4.2.13`,"@smithy/invalid-dependency":`^4.2.13`,"@smithy/middleware-content-length":`^4.2.13`,"@smithy/middleware-endpoint":`^4.4.29`,"@smithy/middleware-retry":`^4.5.0`,"@smithy/middleware-serde":`^4.2.17`,"@smithy/middleware-stack":`^4.2.13`,"@smithy/node-config-provider":`^4.3.13`,"@smithy/node-http-handler":`^4.5.2`,"@smithy/protocol-http":`^5.3.13`,"@smithy/smithy-client":`^4.12.9`,"@smithy/types":`^4.14.0`,"@smithy/url-parser":`^4.2.13`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.45`,"@smithy/util-defaults-mode-node":`^4.2.49`,"@smithy/util-endpoints":`^3.3.4`,"@smithy/util-middleware":`^4.2.13`,"@smithy/util-retry":`^4.3.0`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.15`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.5`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-iam`}},SJ=`required`,CJ=`fn`,wJ=`argv`,TJ=`ref`,EJ=`properties`,DJ=`headers`,OJ=`authSchemes`,kJ=`name`,AJ=`signingRegion`,jJ=!0,MJ=`isSet`,NJ=`booleanEquals`,PJ=`error`,FJ=`endpoint`,IJ=`tree`,LJ=`PartitionResult`,RJ=`stringEquals`,zJ=`sigv4`,BJ={[SJ]:!0,default:!1,type:`boolean`},VJ={[SJ]:!1,type:`string`},HJ={[TJ]:`Endpoint`},UJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseFIPS`},!0]},WJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseDualStack`},!0]},GJ={},KJ={[CJ]:RJ,[wJ]:[{[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`name`]},`aws`]},qJ={[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`name`]},JJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseFIPS`},!1]},YJ={[OJ]:[{[kJ]:zJ,[AJ]:`us-east-1`}]},XJ={[CJ]:RJ,[wJ]:[qJ,`aws-cn`]},ZJ={[OJ]:[{[kJ]:zJ,[AJ]:`cn-north-1`}]},QJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseDualStack`},!1]},$J={[CJ]:RJ,[wJ]:[qJ,`aws-us-gov`]},eY={url:`https://iam.us-gov.api.aws`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-gov-west-1`}]},[DJ]:{}},tY={url:`https://iam.us-gov.amazonaws.com`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-gov-west-1`}]},[DJ]:{}},nY={[CJ]:RJ,[wJ]:[qJ,`aws-iso`]},rY={[OJ]:[{[kJ]:zJ,[AJ]:`us-iso-east-1`}]},iY={[CJ]:RJ,[wJ]:[qJ,`aws-iso-b`]},aY={[OJ]:[{[kJ]:zJ,[AJ]:`us-isob-east-1`}]},oY={[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`supportsFIPS`]},sY={[CJ]:NJ,[wJ]:[!0,{[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`supportsDualStack`]}]},cY={[OJ]:[{[kJ]:zJ,[AJ]:`{PartitionResult#implicitGlobalRegion}`}]},lY=[{[TJ]:`Region`}],uY={version:`1.0`,parameters:{UseDualStack:BJ,UseFIPS:BJ,Endpoint:VJ,Region:VJ},rules:[{conditions:[{[CJ]:MJ,[wJ]:[HJ]}],rules:[{conditions:[UJ],error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:PJ},{rules:[{conditions:[WJ],error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:PJ},{endpoint:{url:HJ,[EJ]:GJ,[DJ]:GJ},type:FJ}],type:IJ}],type:IJ},{rules:[{conditions:[{[CJ]:MJ,[wJ]:lY}],rules:[{conditions:[{[CJ]:`aws.partition`,[wJ]:lY,assign:LJ}],rules:[{conditions:[KJ,JJ,WJ],endpoint:{url:`https://iam.global.api.aws`,[EJ]:YJ,[DJ]:GJ},type:FJ},{conditions:[KJ,UJ,WJ],endpoint:{url:`https://iam-fips.global.api.aws`,[EJ]:YJ,[DJ]:GJ},type:FJ},{conditions:[XJ,JJ,WJ],endpoint:{url:`https://iam.global.api.amazonwebservices.com.cn`,[EJ]:ZJ,[DJ]:GJ},type:FJ},{conditions:[XJ,JJ,QJ],endpoint:{url:`https://iam.cn-north-1.amazonaws.com.cn`,[EJ]:ZJ,[DJ]:GJ},type:FJ},{conditions:[$J,JJ,WJ],endpoint:eY,type:FJ},{conditions:[$J,UJ,WJ],endpoint:eY,type:FJ},{conditions:[$J,JJ,QJ],endpoint:tY,type:FJ},{conditions:[$J,UJ,QJ],endpoint:tY,type:FJ},{conditions:[nY,JJ,QJ],endpoint:{url:`https://iam.us-iso-east-1.c2s.ic.gov`,[EJ]:rY,[DJ]:GJ},type:FJ},{conditions:[nY,UJ,QJ],endpoint:{url:`https://iam-fips.us-iso-east-1.c2s.ic.gov`,[EJ]:rY,[DJ]:GJ},type:FJ},{conditions:[iY,JJ,QJ],endpoint:{url:`https://iam.us-isob-east-1.sc2s.sgov.gov`,[EJ]:aY,[DJ]:GJ},type:FJ},{conditions:[iY,UJ,QJ],endpoint:{url:`https://iam-fips.us-isob-east-1.sc2s.sgov.gov`,[EJ]:aY,[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-iso-e`]},JJ,QJ],endpoint:{url:`https://iam.eu-isoe-west-1.cloud.adc-e.uk`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`eu-isoe-west-1`}]},[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-iso-f`]},JJ,QJ],endpoint:{url:`https://iam.us-isof-south-1.csp.hci.ic.gov`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-isof-south-1`}]},[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-eusc`]},JJ,QJ],endpoint:{url:`https://iam.eusc-de-east-1.amazonaws.eu`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`eusc-de-east-1`}]},[DJ]:GJ},type:FJ},{conditions:[UJ,WJ],rules:[{conditions:[{[CJ]:NJ,[wJ]:[jJ,oY]},sY],rules:[{endpoint:{url:`https://iam-fips.{PartitionResult#dualStackDnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:PJ}],type:IJ},{conditions:[UJ,QJ],rules:[{conditions:[{[CJ]:NJ,[wJ]:[oY,jJ]}],rules:[{endpoint:{url:`https://iam-fips.{PartitionResult#dnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`FIPS is enabled but this partition does not support FIPS`,type:PJ}],type:IJ},{conditions:[JJ,WJ],rules:[{conditions:[sY],rules:[{endpoint:{url:`https://iam.{PartitionResult#dualStackDnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`DualStack is enabled but this partition does not support DualStack`,type:PJ}],type:IJ},{endpoint:{url:`https://iam.{PartitionResult#dnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ}],type:IJ},{error:`Invalid Configuration: Missing Region`,type:PJ}],type:IJ}]},dY=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),fY=(e,t={})=>dY.get(e,()=>kr(uY,{endpointParams:e,logger:t.logger}));nr.aws=Rr;var D=class e extends qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},pY=class e extends D{name=`ConcurrentModificationException`;$fault=`client`;constructor(t){super({name:`ConcurrentModificationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},mY=class e extends D{name=`NoSuchEntityException`;$fault=`client`;constructor(t){super({name:`NoSuchEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},hY=class e extends D{name=`ServiceFailureException`;$fault=`server`;constructor(t){super({name:`ServiceFailureException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},gY=class e extends D{name=`AccountNotManagementOrDelegatedAdministratorException`;$fault=`client`;Message;constructor(t){super({name:`AccountNotManagementOrDelegatedAdministratorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_Y=class e extends D{name=`InvalidInputException`;$fault=`client`;constructor(t){super({name:`InvalidInputException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},vY=class e extends D{name=`LimitExceededException`;$fault=`client`;constructor(t){super({name:`LimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},yY=class e extends D{name=`EntityAlreadyExistsException`;$fault=`client`;constructor(t){super({name:`EntityAlreadyExistsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},bY=class e extends D{name=`UnmodifiableEntityException`;$fault=`client`;constructor(t){super({name:`UnmodifiableEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},xY=class e extends D{name=`PolicyNotAttachableException`;$fault=`client`;constructor(t){super({name:`PolicyNotAttachableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},SY=class e extends D{name=`EntityTemporarilyUnmodifiableException`;$fault=`client`;constructor(t){super({name:`EntityTemporarilyUnmodifiableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},CY=class e extends D{name=`InvalidUserTypeException`;$fault=`client`;constructor(t){super({name:`InvalidUserTypeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},wY=class e extends D{name=`PasswordPolicyViolationException`;$fault=`client`;constructor(t){super({name:`PasswordPolicyViolationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},TY=class e extends D{name=`OpenIdIdpCommunicationErrorException`;$fault=`client`;constructor(t){super({name:`OpenIdIdpCommunicationErrorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},EY=class e extends D{name=`MalformedPolicyDocumentException`;$fault=`client`;constructor(t){super({name:`MalformedPolicyDocumentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},DY=class e extends D{name=`ServiceNotSupportedException`;$fault=`client`;constructor(t){super({name:`ServiceNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},OY=class e extends D{name=`DeleteConflictException`;$fault=`client`;constructor(t){super({name:`DeleteConflictException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},kY=class e extends D{name=`OrganizationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},AY=class e extends D{name=`OrganizationNotInAllFeaturesModeException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotInAllFeaturesModeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},jY=class e extends D{name=`ServiceAccessNotEnabledException`;$fault=`client`;Message;constructor(t){super({name:`ServiceAccessNotEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},MY=class e extends D{name=`FeatureDisabledException`;$fault=`client`;constructor(t){super({name:`FeatureDisabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},NY=class e extends D{name=`InvalidAuthenticationCodeException`;$fault=`client`;constructor(t){super({name:`InvalidAuthenticationCodeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},PY=class e extends D{name=`CallerIsNotManagementAccountException`;$fault=`client`;Message;constructor(t){super({name:`CallerIsNotManagementAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},FY=class e extends D{name=`FeatureEnabledException`;$fault=`client`;constructor(t){super({name:`FeatureEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},IY=class e extends D{name=`ReportGenerationLimitExceededException`;$fault=`client`;constructor(t){super({name:`ReportGenerationLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},LY=class e extends D{name=`CredentialReportExpiredException`;$fault=`client`;constructor(t){super({name:`CredentialReportExpiredException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},RY=class e extends D{name=`CredentialReportNotPresentException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotPresentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},zY=class e extends D{name=`CredentialReportNotReadyException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},BY=class e extends D{name=`UnrecognizedPublicKeyEncodingException`;$fault=`client`;constructor(t){super({name:`UnrecognizedPublicKeyEncodingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},VY=class e extends D{name=`PolicyEvaluationException`;$fault=`server`;constructor(t){super({name:`PolicyEvaluationException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},HY=class e extends D{name=`KeyPairMismatchException`;$fault=`client`;constructor(t){super({name:`KeyPairMismatchException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},UY=class e extends D{name=`MalformedCertificateException`;$fault=`client`;constructor(t){super({name:`MalformedCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},WY=class e extends D{name=`DuplicateCertificateException`;$fault=`client`;constructor(t){super({name:`DuplicateCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},GY=class e extends D{name=`InvalidCertificateException`;$fault=`client`;constructor(t){super({name:`InvalidCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},KY=class e extends D{name=`DuplicateSSHPublicKeyException`;$fault=`client`;constructor(t){super({name:`DuplicateSSHPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},qY=class e extends D{name=`InvalidPublicKeyException`;$fault=`client`;constructor(t){super({name:`InvalidPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},JY=`Arn`,YY=`AttachmentCount`,XY=`AccessKey`,ZY=`AccessKeyId`,QY=`AccessKeyMetadata`,$Y=`AccountNotManagementOrDelegatedAdministratorException`,eX=`AttachedPolicy`,tX=`AttachedPermissionsBoundary`,nX=`AttachedPolicies`,rX=`AttachUserPolicy`,iX=`AttachUserPolicyRequest`,aX=`CreateAccessKey`,oX=`CreateAccessKeyRequest`,sX=`CreateAccessKeyResponse`,cX=`CreateDate`,lX=`CallerIsNotManagementAccountException`,uX=`ConcurrentModificationException`,dX=`CreatePolicyRequest`,fX=`CreatePolicyResponse`,pX=`CreatePolicy`,mX=`CredentialReportExpiredException`,hX=`CredentialReportNotPresentException`,gX=`CredentialReportNotReadyException`,_X=`CreateUser`,vX=`CreateUserRequest`,yX=`CreateUserResponse`,bX=`Description`,xX=`DeleteAccessKey`,SX=`DeleteAccessKeyRequest`,CX=`DeleteConflictException`,wX=`DuplicateCertificateException`,TX=`DeletePolicyRequest`,EX=`DeletePolicy`,DX=`DuplicateSSHPublicKeyException`,OX=`DeleteUser`,kX=`DetachUserPolicyRequest`,AX=`DetachUserPolicy`,jX=`DeleteUserRequest`,MX=`DefaultVersionId`,NX=`Document`,PX=`EntityAlreadyExistsException`,FX=`EntityTemporarilyUnmodifiableException`,IX=`FeatureDisabledException`,LX=`FeatureEnabledException`,RX=`GetPolicy`,zX=`GetPolicyRequest`,BX=`GetPolicyResponse`,VX=`GetPolicyVersion`,HX=`GetPolicyVersionRequest`,UX=`GetPolicyVersionResponse`,WX=`GetUser`,GX=`GetUserRequest`,KX=`GetUserResponse`,qX=`IsAttachable`,JX=`InvalidAuthenticationCodeException`,YX=`InvalidCertificateException`,XX=`IsDefaultVersion`,ZX=`InvalidInputException`,QX=`InvalidPublicKeyException`,$X=`IsTruncated`,eZ=`InvalidUserTypeException`,tZ=`Key`,nZ=`KeyPairMismatchException`,rZ=`ListAccessKeys`,iZ=`ListAccessKeysRequest`,aZ=`ListAccessKeysResponse`,oZ=`ListAttachedUserPolicies`,sZ=`ListAttachedUserPoliciesRequest`,cZ=`ListAttachedUserPoliciesResponse`,lZ=`LimitExceededException`,uZ=`ListPoliciesRequest`,dZ=`ListPoliciesResponse`,fZ=`ListPolicies`,pZ=`ListUsers`,mZ=`ListUsersRequest`,hZ=`ListUsersResponse`,gZ=`Message`,_Z=`MalformedCertificateException`,vZ=`MaxItems`,yZ=`MalformedPolicyDocumentException`,bZ=`Marker`,xZ=`NoSuchEntityException`,SZ=`OnlyAttached`,CZ=`OpenIdIdpCommunicationErrorException`,wZ=`OrganizationNotFoundException`,TZ=`OrganizationNotInAllFeaturesModeException`,EZ=`PolicyArn`,DZ=`PermissionsBoundary`,OZ=`PermissionsBoundaryArn`,kZ=`PermissionsBoundaryType`,AZ=`PermissionsBoundaryUsageCount`,jZ=`PolicyDocument`,MZ=`PolicyEvaluationException`,NZ=`PolicyId`,PZ=`PasswordLastUsed`,FZ=`PolicyName`,IZ=`PolicyNotAttachableException`,LZ=`PasswordPolicyViolationException`,RZ=`PathPrefix`,zZ=`PolicyUsageFilter`,BZ=`PolicyVersion`,VZ=`Path`,HZ=`Policy`,UZ=`Policies`,WZ=`ReportGenerationLimitExceededException`,GZ=`Status`,KZ=`SecretAccessKey`,qZ=`ServiceAccessNotEnabledException`,JZ=`ServiceFailureException`,YZ=`ServiceNotSupportedException`,XZ=`Scope`,ZZ=`Tags`,QZ=`Tag`,$Z=`UpdateAccessKey`,eQ=`UpdateAccessKeyRequest`,tQ=`UpdateDate`,nQ=`UnmodifiableEntityException`,rQ=`UserId`,iQ=`UserName`,aQ=`UnrecognizedPublicKeyEncodingException`,oQ=`User`,sQ=`Users`,cQ=`VersionId`,lQ=`Value`,uQ=`accessKeyMetadataListType`,dQ=`accessKeySecretType`,fQ=`attachedPoliciesListType`,pQ=`awsQueryError`,mQ=`client`,O=`error`,k=`httpError`,hQ=`message`,gQ=`policyListType`,_Q=`smithy.ts.sdk.synthetic.com.amazonaws.iam`,vQ=`server`,yQ=`tagListType`,bQ=`userListType`,A=`com.amazonaws.iam`,xQ=At.for(_Q),SQ=[-3,_Q,`IAMServiceException`,0,[],[]];xQ.registerError(SQ,D);var j=At.for(A),CQ=[-3,A,$Y,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(CQ,gY);var wQ=[-3,A,lX,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(wQ,PY);var TQ=[-3,A,uX,{[pQ]:[`ConcurrentModification`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(TQ,pY);var EQ=[-3,A,mX,{[pQ]:[`ReportExpired`,410],[O]:mQ,[k]:410},[hQ],[0]];j.registerError(EQ,LY);var DQ=[-3,A,hX,{[pQ]:[`ReportNotPresent`,410],[O]:mQ,[k]:410},[hQ],[0]];j.registerError(DQ,RY);var OQ=[-3,A,gX,{[pQ]:[`ReportInProgress`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(OQ,zY);var kQ=[-3,A,CX,{[pQ]:[`DeleteConflict`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(kQ,OY);var AQ=[-3,A,wX,{[pQ]:[`DuplicateCertificate`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(AQ,WY);var jQ=[-3,A,DX,{[pQ]:[`DuplicateSSHPublicKey`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(jQ,KY);var MQ=[-3,A,PX,{[pQ]:[`EntityAlreadyExists`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(MQ,yY);var NQ=[-3,A,FX,{[pQ]:[`EntityTemporarilyUnmodifiable`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(NQ,SY);var PQ=[-3,A,IX,{[pQ]:[`FeatureDisabled`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(PQ,MY);var FQ=[-3,A,LX,{[pQ]:[`FeatureEnabled`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(FQ,FY);var IQ=[-3,A,JX,{[pQ]:[`InvalidAuthenticationCode`,403],[O]:mQ,[k]:403},[hQ],[0]];j.registerError(IQ,NY);var LQ=[-3,A,YX,{[pQ]:[`InvalidCertificate`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(LQ,GY);var RQ=[-3,A,ZX,{[pQ]:[`InvalidInput`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(RQ,_Y);var zQ=[-3,A,QX,{[pQ]:[`InvalidPublicKey`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(zQ,qY);var BQ=[-3,A,eZ,{[pQ]:[`InvalidUserType`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(BQ,CY);var VQ=[-3,A,nZ,{[pQ]:[`KeyPairMismatch`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(VQ,HY);var HQ=[-3,A,lZ,{[pQ]:[`LimitExceeded`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(HQ,vY);var UQ=[-3,A,_Z,{[pQ]:[`MalformedCertificate`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(UQ,UY);var WQ=[-3,A,yZ,{[pQ]:[`MalformedPolicyDocument`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(WQ,EY);var GQ=[-3,A,xZ,{[pQ]:[`NoSuchEntity`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(GQ,mY);var KQ=[-3,A,CZ,{[pQ]:[`OpenIdIdpCommunicationError`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(KQ,TY);var qQ=[-3,A,wZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(qQ,kY);var JQ=[-3,A,TZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(JQ,AY);var YQ=[-3,A,LZ,{[pQ]:[`PasswordPolicyViolation`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(YQ,wY);var XQ=[-3,A,MZ,{[pQ]:[`PolicyEvaluation`,500],[O]:vQ,[k]:500},[hQ],[0]];j.registerError(XQ,VY);var ZQ=[-3,A,IZ,{[pQ]:[`PolicyNotAttachable`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(ZQ,xY);var QQ=[-3,A,WZ,{[pQ]:[`ReportGenerationLimitExceeded`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(QQ,IY);var $Q=[-3,A,qZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError($Q,jY);var e$=[-3,A,JZ,{[pQ]:[`ServiceFailure`,500],[O]:vQ,[k]:500},[hQ],[0]];j.registerError(e$,hY);var t$=[-3,A,YZ,{[pQ]:[`NotSupportedService`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(t$,DY);var n$=[-3,A,nQ,{[pQ]:[`UnmodifiableEntity`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(n$,bY);var r$=[-3,A,aQ,{[pQ]:[`UnrecognizedPublicKeyEncoding`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(r$,BY);var i$=[xQ,j],a$=[0,A,dQ,8,0],o$=[3,A,XY,0,[iQ,ZY,GZ,KZ,cX],[0,0,0,[()=>a$,0],4],4],s$=[3,A,QY,0,[iQ,ZY,GZ,cX],[0,0,0,4]],c$=[3,A,tX,0,[kZ,OZ],[0,0]],l$=[3,A,eX,0,[FZ,EZ],[0,0]],u$=[3,A,iX,0,[iQ,EZ],[0,0],2],d$=[3,A,oX,0,[iQ],[0]],f$=[3,A,sX,0,[XY],[[()=>o$,0]],1],p$=[3,A,dX,0,[FZ,jZ,VZ,bX,ZZ],[0,0,0,0,()=>W$],2],m$=[3,A,fX,0,[HZ],[()=>F$]],h$=[3,A,vX,0,[iQ,VZ,DZ,ZZ],[0,0,0,()=>W$],1],g$=[3,A,yX,0,[oQ],[()=>z$]],_$=[3,A,SX,0,[ZY,iQ],[0,0],1],v$=[3,A,TX,0,[EZ],[0],1],y$=[3,A,jX,0,[iQ],[0],1],b$=[3,A,kX,0,[iQ,EZ],[0,0],2],x$=[3,A,zX,0,[EZ],[0],1],S$=[3,A,BX,0,[HZ],[()=>F$]],C$=[3,A,HX,0,[EZ,cQ],[0,0],2],w$=[3,A,UX,0,[BZ],[()=>I$]],T$=[3,A,GX,0,[iQ],[0]],E$=[3,A,KX,0,[oQ],[()=>z$],1],D$=[3,A,iZ,0,[iQ,bZ,vZ],[0,0,1]],O$=[3,A,aZ,0,[QY,$X,bZ],[()=>V$,2,0],1],k$=[3,A,sZ,0,[iQ,RZ,bZ,vZ],[0,0,0,1],1],A$=[3,A,cZ,0,[nX,$X,bZ],[()=>H$,2,0]],j$=[3,A,uZ,0,[XZ,SZ,RZ,zZ,bZ,vZ],[0,2,0,0,0,1]],M$=[3,A,dZ,0,[UZ,$X,bZ],[()=>U$,2,0]],N$=[3,A,mZ,0,[RZ,bZ,vZ],[0,0,1]],P$=[3,A,hZ,0,[sQ,$X,bZ],[()=>G$,2,0],1],F$=[3,A,HZ,0,[FZ,NZ,JY,VZ,MX,YY,AZ,qX,bX,cX,tQ,ZZ],[0,0,0,0,0,1,1,2,0,4,4,()=>W$]],I$=[3,A,BZ,0,[NX,cQ,XX,cX],[0,0,2,4]],L$=[3,A,QZ,0,[tZ,lQ],[0,0],2],R$=[3,A,eQ,0,[ZY,GZ,iQ],[0,0,0],2],z$=[3,A,oQ,0,[VZ,iQ,rQ,JY,cX,PZ,DZ,ZZ],[0,0,0,0,4,4,()=>c$,()=>W$],5],B$=`unit`,V$=[1,A,uQ,0,()=>s$],H$=[1,A,fQ,0,()=>l$],U$=[1,A,gQ,0,()=>F$],W$=[1,A,yQ,0,()=>L$],G$=[1,A,bQ,0,()=>z$],K$=[9,A,rX,0,()=>u$,()=>B$],q$=[9,A,aX,0,()=>d$,()=>f$],J$=[9,A,pX,0,()=>p$,()=>m$],Y$=[9,A,_X,0,()=>h$,()=>g$],X$=[9,A,xX,0,()=>_$,()=>B$],Z$=[9,A,EX,0,()=>v$,()=>B$],Q$=[9,A,OX,0,()=>y$,()=>B$],$$=[9,A,AX,0,()=>b$,()=>B$],e1=[9,A,RX,0,()=>x$,()=>S$],t1=[9,A,VX,0,()=>C$,()=>w$],n1=[9,A,WX,0,()=>T$,()=>E$],r1=[9,A,rZ,0,()=>D$,()=>O$],i1=[9,A,oZ,0,()=>k$,()=>A$],a1=[9,A,fZ,0,()=>j$,()=>M$],o1=[9,A,pZ,0,()=>N$,()=>P$],s1=[9,A,$Z,0,()=>R$,()=>B$],c1=e=>({apiVersion:`2010-05-08`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??fY,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??_J,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new ba}],logger:e?.logger??new ia,protocol:e?.protocol??ro,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.iam`,errorTypeRegistries:i$,xmlNamespace:`https://iam.amazonaws.com/doc/2010-05-08/`,version:`2010-05-08`,serviceTarget:`AWSIdentityManagementV20100508`},serviceId:e?.serviceId??`IAM`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),l1=e=>{let t=Ba(e),n=()=>t().then(Yi),r=c1(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ra,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Pa({serviceId:r.serviceId,clientVersion:xJ.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Ia(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Hr),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},u1=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},d1=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),f1=(e,t)=>{let n=Object.assign(kR(e),ta(e),de(e),u1(e));return t.forEach(e=>e.configure(n)),Object.assign(e,AR(n),na(n),fe(n),d1(n))},p1=class extends Hi{config;constructor(...[e]){let t=l1(e||{});super(t),this.initConfig=t,this.config=f1(vJ(Pi(ye(hi(Ii(Xn(yJ(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(ui(this.config)),this.middlewareStack.use(pa(this.config)),this.middlewareStack.use(yi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:hJ,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}};function m1(e){return t=>async n=>{let{request:r}=n;if(e.expectContinueHeader!==!1&&i.isInstance(r)&&r.body&&e.runtime===`node`&&e.requestHandler?.constructor?.name!==`FetchHttpHandler`){let t=!0;if(typeof e.expectContinueHeader==`number`)try{t=(Number(r.headers?.[`content-length`])??e.bodyLengthChecker?.(r.body)??1/0)>=e.expectContinueHeader}catch{}else t=!!e.expectContinueHeader;t&&(r.headers.Expect=`100-continue`)}return t({...n,request:r})}}var h1={step:`build`,tags:[`SET_EXPECT_HEADER`,`EXPECT_HEADER`],name:`addExpectContinueMiddleware`,override:!0},g1=e=>({applyToStack:t=>{t.add(m1(e),h1)}}),_1={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},v1=_1.WHEN_SUPPORTED,y1={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},b1=_1.WHEN_SUPPORTED,x1;(function(e){e.MD5=`MD5`,e.CRC32=`CRC32`,e.CRC32C=`CRC32C`,e.CRC64NVME=`CRC64NVME`,e.SHA1=`SHA1`,e.SHA256=`SHA256`})(x1||={});var S1;(function(e){e.HEADER=`header`,e.TRAILER=`trailer`})(S1||={});var C1=x1.CRC32,w1=function(){function e(){this.crc32=new T1}return e.prototype.update=function(e){r(e)||this.crc32.update(ae(e))},e.prototype.digest=function(){return a(this,void 0,void 0,function(){return o(this,function(e){return[2,s(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new T1},e}(),T1=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=te(e),i=r.next();!i.done;i=r.next()){var a=i.value;this.checksum=this.checksum>>>8^E1[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}(),E1=c([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),D1=e=>{let{requestChecksumCalculation:t,responseChecksumValidation:n,requestStreamBufferSize:r}=e;return Object.assign(e,{requestChecksumCalculation:f(t??v1),responseChecksumValidation:f(n??b1),requestStreamBufferSize:Number(r??0),checksumAlgorithms:e.checksumAlgorithms??{}})},O1=e=>(t,n)=>async r=>{let i=await e.region(),a=e.region,o=()=>{};n.__s3RegionRedirect&&(Object.defineProperty(e,`region`,{writable:!1,value:async()=>n.__s3RegionRedirect}),o=()=>Object.defineProperty(e,`region`,{writable:!0,value:a}));try{let a=await t(r);if(n.__s3RegionRedirect&&(o(),i!==await e.region()))throw Error(`Region was not restored following S3 region redirect.`);return a}catch(e){throw o(),e}},k1={tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectEndpointMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`};function A1(e){return(t,n)=>async r=>{try{return await t(r)}catch(i){if(e.followRegionRedirects){let a=i?.$metadata?.httpStatusCode,o=n.commandName===`HeadBucketCommand`,s=i?.$response?.headers?.[`x-amz-bucket-region`];if(s&&(a===301||a===400&&(i?.name===`IllegalLocationConstraintException`||o))){try{let t=s;n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t}catch(e){throw Error(`Region redirect failed: `+e)}return t(r)}}throw i}}}var j1={step:`initialize`,tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectMiddleware`,override:!0},M1=e=>({applyToStack:t=>{t.add(A1(e),j1),t.addRelativeTo(O1(e),k1)}}),N1=class e{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let t=Date.now();if(!(this.lastPurgeTime+e.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>t))for(let e in this.data){let n=this.data[e];if(!n.isRefreshing){let r=await n.identity;r.expiration&&r.expiration.getTime()(t.expiration?.getTime()??0){i.set(r,new P1(Promise.resolve(e)))})),t)):i.set(r,new P1(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache: -`+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error(`s3#createSession response credential missing AccessKeyId or SecretAccessKey.`);return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}},I1=`sigv4-s3express`,L1=`X-Amz-S3session-Token`,R1=L1.toLowerCase(),z1=class extends re{async signWithCredentials(e,t,n){let r=B1(t);e.headers[R1]=t.sessionToken;let i=this;return V1(i,r),i.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=B1(t);return delete e.headers[R1],e.headers[L1]=t.sessionToken,e.query=e.query??{},e.query[L1]=t.sessionToken,V1(this,r),this.presign(e,n)}};function B1(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function V1(e,t){let n=setTimeout(()=>{throw Error(`SignatureV4S3Express credential override was created but not called.`)},10),r=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t))}var H1=e=>(t,n)=>async r=>{if(n.endpointV2){let t=n.endpointV2,a=t.properties?.authSchemes?.[0]?.name===I1;if((t.properties?.backend===`S3Express`||t.properties?.bucketType===`Directory`)&&(Br(n,`S3_EXPRESS_BUCKET`,`J`),n.isS3ExpressBucket=!0),a){let t=r.input.Bucket;if(t){let a=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=a,i.isInstance(r.request)&&a.sessionToken&&(r.request.headers[R1]=a.sessionToken)}}}return t(r)},U1={name:`s3ExpressMiddleware`,step:`build`,tags:[`S3`,`S3_EXPRESS`],override:!0},W1=e=>({applyToStack:t=>{t.add(H1(e),U1)}}),G1=async(e,t,n,r)=>{let i=await r.signWithCredentials(n,e,{});if(i.headers[`X-Amz-Security-Token`]||i.headers[`x-amz-security-token`])throw Error(`X-Amz-Security-Token must not be set for s3-express requests.`);return i},K1=e=>e=>{throw e},q1=(e,t)=>{},J1=e=>(t,n)=>async r=>{if(!i.isInstance(r.request))return t(r);let a=_e(n).selectedHttpAuthScheme;if(!a)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:o={}},identity:s,signer:c}=a,l;l=n.s3ExpressIdentity?await G1(n.s3ExpressIdentity,o,r.request,await e.signer()):await c.sign(r.request,s,o);let u=await t({...r,request:l}).catch((c.errorHandler||K1)(o));return(c.successHandler||q1)(u.response,o),u},Y1=e=>({applyToStack:t=>{t.addRelativeTo(J1(e),Ie)}}),X1=(e,{session:t})=>{let[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:o,followRegionRedirects:s,s3ExpressIdentityProvider:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new F1(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})},Z1={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Q1=3e3,$1=e=>(t,n)=>async r=>{let i=await t(r),{response:a}=i;if(!ge.isInstance(a))return i;let{statusCode:o,body:s}=a;if(o<200||o>=300||!(typeof s?.stream==`function`||typeof s?.pipe==`function`||typeof s?.tee==`function`))return i;let c=s,l=s;s&&typeof s==`object`&&!(s instanceof Uint8Array)&&([c,l]=await st(s)),a.body=l;let u=await e0(c,{streamCollector:async e=>qe(e,Q1)});typeof c?.destroy==`function`&&c.destroy();let d=e.utf8Encoder(u.subarray(u.length-16));if(u.length===0&&Z1[n.commandName]){let e=Error(`S3 aborted request`);throw e.name=`InternalError`,e}return d&&d.endsWith(``)&&(a.statusCode=400),i},e0=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),t0={relation:`after`,toMiddleware:`deserializerMiddleware`,tags:[`THROW_200_EXCEPTIONS`,`S3`],name:`throw200ExceptionsMiddleware`,override:!0},n0=e=>({applyToStack:t=>{t.addRelativeTo($1(e),t0)}}),r0=e=>typeof e==`string`&&e.indexOf(`arn:`)===0&&e.split(`:`).length>=6;function i0(e){return(t,n)=>async r=>{if(e.bucketEndpoint){let e=n.endpointV2;if(e){let t=r.input.Bucket;if(typeof t==`string`)try{let r=new URL(t);n.endpointV2={...e,url:r}}catch(e){let r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw n.logger?.constructor?.name===`NoOpLogger`?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}var a0={name:`bucketEndpointMiddleware`,override:!0,relation:`after`,toMiddleware:`endpointV2Middleware`};function o0({bucketEndpoint:e}){return t=>async n=>{let{input:{Bucket:r}}=n;if(!e&&typeof r==`string`&&!r0(r)&&r.indexOf(`/`)>=0){let e=Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name=`InvalidBucketName`,e}return t({...n})}}var s0={step:`initialize`,tags:[`VALIDATE_BUCKET_NAME`],name:`validateBucketNameMiddleware`,override:!0},c0=e=>({applyToStack:t=>{t.add(o0(e),s0),t.addRelativeTo(i0(e),a0)}}),l0=class extends co{async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Et.of(e.input),a=i.getSchema(),o=0,s=a[6]??0;if(t&&typeof t==`object`)for(let[e,n]of i.structIterator()){if(++o>s)break;if(e===`Bucket`){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw Error(`No value provided for input HTTP label: Bucket.`);break}}return r}},u0=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),d0={CrtSignerV4:null},f0=class{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return typeof d0.CrtSignerV4==`function`?`crt`:typeof ve.SignatureV4a==`function`?`js`:`none`}constructor(e){this.sigv4Signer=new z1(e),this.signerOptions=e}async sign(e,t={}){return t.signingRegion===`*`?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if(n.signingRegion===`*`){let r=this.getSigv4aSigner(),i=d0.CrtSignerV4;if(i&&r instanceof i)return r.signWithCredentials(e,t,n);throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if(t.signingRegion===`*`){let n=this.getSigv4aSigner(),r=d0.CrtSignerV4;if(r&&n instanceof r)return n.presign(e,t);throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if(n.signingRegion===`*`)throw Error(`Method presignWithCredentials is not supported for [signingRegion=*].`);return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=d0.CrtSignerV4,t=ve.SignatureV4a;if(this.signerOptions.runtime===`node`){if(!e&&!t)throw Error(`Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);if(e&&typeof e==`function`)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==`function`)this.sigv4aSigner=new t({...this.signerOptions});else throw Error(`Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}else{if(!t||typeof t!=`function`)throw Error(`JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a`);this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}},p0=`required`,M=`type`,N=`rules`,P=`conditions`,F=`fn`,I=`argv`,L=`ref`,R=`assign`,z=`url`,B=`properties`,m0=`backend`,h0=`authSchemes`,g0=`disableDoubleEncoding`,_0=`signingName`,v0=`signingRegion`,V=`headers`,y0=`signingRegionSet`,b0=6,x0=!1,S0=!0,C0=`isSet`,w0=`booleanEquals`,H=`error`,T0=`aws.partition`,U=`stringEquals`,E0=`getAttr`,D0=`name`,O0=`substring`,k0=`bucketSuffix`,A0=`parseURL`,W=`endpoint`,G=`tree`,j0=`aws.isVirtualHostableS3Bucket`,M0=`{url#scheme}://{Bucket}.{url#authority}{url#path}`,N0=`not`,P0=`accessPointSuffix`,F0=`{url#scheme}://{url#authority}{url#path}`,I0=`hardwareType`,L0=`regionPrefix`,R0=`bucketAliasSuffix`,z0=`outpostId`,B0=`isValidHostLabel`,V0=`sigv4a`,H0=`s3-outposts`,U0=`s3`,W0=`{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}`,G0=`https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}`,K0=`https://{Bucket}.s3.{partitionResult#dnsSuffix}`,q0=`aws.parseArn`,J0=`bucketArn`,Y0=`arnType`,X0=``,Z0=`s3-object-lambda`,Q0=`accesspoint`,$0=`accessPointName`,e2=`{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}`,t2=`mrapPartition`,n2=`outpostType`,r2=`arnPrefix`,i2=`{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}`,a2=`https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,o2=`https://s3.{partitionResult#dnsSuffix}`,s2={[p0]:!1,[M]:`string`},c2={[p0]:!0,default:!1,[M]:`boolean`},l2={[p0]:!1,[M]:`boolean`},u2={[F]:w0,[I]:[{[L]:`Accelerate`},!0]},d2={[F]:w0,[I]:[{[L]:`UseFIPS`},!0]},f2={[F]:w0,[I]:[{[L]:`UseDualStack`},!0]},p2={[F]:C0,[I]:[{[L]:`Endpoint`}]},m2={[F]:T0,[I]:[{[L]:`Region`}],[R]:`partitionResult`},h2={[F]:U,[I]:[{[F]:E0,[I]:[{[L]:`partitionResult`},D0]},`aws-cn`]},g2={[F]:C0,[I]:[{[L]:`Bucket`}]},K={[L]:`Bucket`},_2={[P]:[u2],[H]:`S3Express does not support S3 Accelerate.`,[M]:H},v2={[P]:[p2,{[F]:A0,[I]:[{[L]:`Endpoint`}],[R]:`url`}],[N]:[{[P]:[{[F]:C0,[I]:[{[L]:`DisableS3ExpressSessionAuth`}]},{[F]:w0,[I]:[{[L]:`DisableS3ExpressSessionAuth`},!0]}],[N]:[{[P]:[{[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]}],[N]:[{[P]:[{[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`}],[N]:[{[W]:{[z]:`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G}],[M]:G},{[P]:[{[F]:j0,[I]:[K,!1]}],[N]:[{[W]:{[z]:M0,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G},{[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H}],[M]:G},{[P]:[{[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]}],[N]:[{[P]:[{[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`}],[N]:[{[W]:{[z]:`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G}],[M]:G},{[P]:[{[F]:j0,[I]:[K,!1]}],[N]:[{[W]:{[z]:M0,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G},{[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H}],[M]:G},y2={[F]:A0,[I]:[{[L]:`Endpoint`}],[R]:`url`},b2={[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]},x2={[L]:`url`},S2={[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`},C2={[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},q={},w2={[F]:j0,[I]:[K,!1]},T2={[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H},E2={[F]:C0,[I]:[{[L]:`UseS3ExpressControlEndpoint`}]},D2={[F]:w0,[I]:[{[L]:`UseS3ExpressControlEndpoint`},!0]},J={[F]:N0,[I]:[p2]},Y={[F]:w0,[I]:[{[L]:`UseDualStack`},!1]},X={[F]:w0,[I]:[{[L]:`UseFIPS`},!1]},O2={[H]:`Unrecognized S3Express bucket name format.`,[M]:H},k2={[F]:N0,[I]:[g2]},A2={[L]:I0},j2={[P]:[J],[H]:`Expected a endpoint to be specified but no endpoint was found`,[M]:H},M2={[h0]:[{[g0]:!0,[D0]:V0,[_0]:H0,[y0]:[`*`]},{[g0]:!0,[D0]:`sigv4`,[_0]:H0,[v0]:`{Region}`}]},N2={[F]:w0,[I]:[{[L]:`ForcePathStyle`},!1]},P2={[L]:`ForcePathStyle`},F2={[F]:w0,[I]:[{[L]:`Accelerate`},!1]},I2={[F]:U,[I]:[{[L]:`Region`},`aws-global`]},L2={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`us-east-1`}]},Z={[F]:N0,[I]:[I2]},R2={[F]:w0,[I]:[{[L]:`UseGlobalEndpoint`},!0]},z2={[z]:`https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{Region}`}]},[V]:{}},B2={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{Region}`}]},V2={[F]:w0,[I]:[{[L]:`UseGlobalEndpoint`},!1]},H2={[z]:`https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},U2={[z]:`https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},W2={[z]:`https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},G2={[F]:w0,[I]:[{[F]:E0,[I]:[x2,`isIp`]},!1]},K2={[z]:W0,[B]:B2,[V]:{}},q2={[z]:M0,[B]:B2,[V]:{}},J2={[W]:q2,[M]:W},Y2={[z]:G0,[B]:B2,[V]:{}},X2={[z]:`https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},Z2={[H]:`Invalid region: region was not a valid DNS name.`,[M]:H},Q2={[L]:J0},$2={[L]:Y0},e4={[F]:E0,[I]:[Q2,`service`]},t4={[L]:$0},n4={[P]:[f2],[H]:`S3 Object Lambda does not support Dual-stack`,[M]:H},r4={[P]:[u2],[H]:`S3 Object Lambda does not support S3 Accelerate`,[M]:H},i4={[P]:[{[F]:C0,[I]:[{[L]:`DisableAccessPoints`}]},{[F]:w0,[I]:[{[L]:`DisableAccessPoints`},!0]}],[H]:`Access points are not supported for this operation`,[M]:H},a4={[P]:[{[F]:C0,[I]:[{[L]:`UseArnRegion`}]},{[F]:w0,[I]:[{[L]:`UseArnRegion`},!1]},{[F]:N0,[I]:[{[F]:U,[I]:[{[F]:E0,[I]:[Q2,`region`]},`{Region}`]}]}],[H]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[M]:H},o4={[F]:E0,[I]:[{[L]:`bucketPartition`},D0]},s4={[F]:E0,[I]:[Q2,`accountId`]},c4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:Z0,[v0]:`{bucketArn#region}`}]},l4={[H]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[M]:H},u4={[H]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[M]:H},d4={[H]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[M]:H},f4={[H]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[M]:H},p4={[H]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[M]:H},m4={[H]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[M]:H},h4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{bucketArn#region}`}]},g4={[h0]:[{[g0]:!0,[D0]:V0,[_0]:H0,[y0]:[`*`]},{[g0]:!0,[D0]:`sigv4`,[_0]:H0,[v0]:`{bucketArn#region}`}]},_4={[F]:q0,[I]:[K]},v4={[z]:`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},y4={[z]:`https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},b4={[z]:`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},x4={[z]:i2,[B]:B2,[V]:{}},S4={[z]:`https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},C4={[L]:`UseObjectLambdaEndpoint`},w4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:Z0,[v0]:`{Region}`}]},T4={[z]:`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},E4={[z]:`https://s3-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},D4={[z]:`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},O4={[z]:F0,[B]:B2,[V]:{}},k4={[z]:`https://s3.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},A4=[{[L]:`Region`}],j4=[{[L]:`Endpoint`}],M4=[K],N4=[u2],P4=[p2,y2],F4=[{[F]:C0,[I]:[{[L]:`DisableS3ExpressSessionAuth`}]},{[F]:w0,[I]:[{[L]:`DisableS3ExpressSessionAuth`},!0]}],I4=[S2],L4=[w2],R4=[m2],z4=[d2,f2],B4=[d2,Y],V4=[X,f2],H4=[X,Y],U4=[{[F]:O0,[I]:[K,6,14,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,14,16,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],W4=[{[P]:[d2,f2],[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:B4,[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:V4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:H4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W}],G4=[{[F]:O0,[I]:[K,6,15,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,15,17,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],K4=[{[F]:O0,[I]:[K,6,19,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,19,21,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],q4=[{[F]:O0,[I]:[K,6,20,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,20,22,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],J4=[{[F]:O0,[I]:[K,6,26,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,26,28,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],Y4=[{[P]:[d2,f2],[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:B4,[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:V4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:H4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],X4=[K,0,7,!0],Z4=[{[F]:O0,[I]:[K,7,15,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,15,17,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],Q4=[{[F]:O0,[I]:[K,7,16,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,16,18,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],$4=[{[F]:O0,[I]:[K,7,20,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,20,22,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],e3=[{[F]:O0,[I]:[K,7,21,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,21,23,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],t3=[{[F]:O0,[I]:[K,7,27,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,27,29,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],n3=[g2],r3=[{[F]:B0,[I]:[{[L]:z0},!1]}],i3=[{[F]:U,[I]:[{[L]:L0},`beta`]}],a3=[`*`],o3=[{[F]:B0,[I]:[{[L]:`Region`},!1]}],s3=[{[F]:U,[I]:[{[L]:`Region`},`us-east-1`]}],c3=[{[F]:U,[I]:[$2,Q0]}],l3=[{[F]:E0,[I]:[Q2,`resourceId[1]`],[R]:$0},{[F]:N0,[I]:[{[F]:U,[I]:[t4,X0]}]}],u3=[Q2,`resourceId[1]`],d3=[f2],f3=[{[F]:N0,[I]:[{[F]:U,[I]:[{[F]:E0,[I]:[Q2,`region`]},X0]}]}],p3=[{[F]:N0,[I]:[{[F]:C0,[I]:[{[F]:E0,[I]:[Q2,`resourceId[2]`]}]}]}],m3=[Q2,`resourceId[2]`],h3=[{[F]:T0,[I]:[{[F]:E0,[I]:[Q2,`region`]}],[R]:`bucketPartition`}],g3=[{[F]:U,[I]:[o4,{[F]:E0,[I]:[{[L]:`partitionResult`},D0]}]}],_3=[{[F]:B0,[I]:[{[F]:E0,[I]:[Q2,`region`]},!0]}],v3=[{[F]:B0,[I]:[s4,!1]}],y3=[{[F]:B0,[I]:[t4,!1]}],b3=[d2],x3=[{[F]:B0,[I]:[{[L]:`Region`},!0]}],S3={version:`1.0`,parameters:{Bucket:s2,Region:s2,UseFIPS:c2,UseDualStack:c2,Endpoint:s2,ForcePathStyle:c2,Accelerate:c2,UseGlobalEndpoint:c2,UseObjectLambdaEndpoint:l2,Key:s2,Prefix:s2,CopySource:s2,DisableAccessPoints:l2,DisableMultiRegionAccessPoints:c2,UseArnRegion:l2,UseS3ExpressControlEndpoint:l2,DisableS3ExpressSessionAuth:l2},[N]:[{[P]:[{[F]:C0,[I]:A4}],[N]:[{[P]:[u2,d2],error:`Accelerate cannot be used with FIPS`,[M]:H},{[P]:[f2,p2],error:`Cannot set dual-stack in combination with a custom endpoint.`,[M]:H},{[P]:[p2,d2],error:`A custom endpoint cannot be combined with FIPS`,[M]:H},{[P]:[p2,u2],error:`A custom endpoint cannot be combined with S3 Accelerate`,[M]:H},{[P]:[d2,m2,h2],error:`Partition does not support FIPS`,[M]:H},{[P]:[g2,{[F]:O0,[I]:[K,0,b0,S0],[R]:k0},{[F]:U,[I]:[{[L]:k0},`--x-s3`]}],[N]:[_2,v2,{[P]:[E2,D2],[N]:[{[P]:R4,[N]:[{[P]:[S2,J],[N]:[{[P]:z4,endpoint:{[z]:`https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://s3express-control.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W}],[M]:G}],[M]:G}],[M]:G},{[P]:L4,[N]:[{[P]:R4,[N]:[{[P]:F4,[N]:[{[P]:U4,[N]:W4,[M]:G},{[P]:G4,[N]:W4,[M]:G},{[P]:K4,[N]:W4,[M]:G},{[P]:q4,[N]:W4,[M]:G},{[P]:J4,[N]:W4,[M]:G},O2],[M]:G},{[P]:U4,[N]:Y4,[M]:G},{[P]:G4,[N]:Y4,[M]:G},{[P]:K4,[N]:Y4,[M]:G},{[P]:q4,[N]:Y4,[M]:G},{[P]:J4,[N]:Y4,[M]:G},O2],[M]:G}],[M]:G},T2],[M]:G},{[P]:[g2,{[F]:O0,[I]:X4,[R]:P0},{[F]:U,[I]:[{[L]:P0},`--xa-s3`]}],[N]:[_2,v2,{[P]:L4,[N]:[{[P]:R4,[N]:[{[P]:F4,[N]:[{[P]:Z4,[N]:W4,[M]:G},{[P]:Q4,[N]:W4,[M]:G},{[P]:$4,[N]:W4,[M]:G},{[P]:e3,[N]:W4,[M]:G},{[P]:t3,[N]:W4,[M]:G},O2],[M]:G},{[P]:Z4,[N]:Y4,[M]:G},{[P]:Q4,[N]:Y4,[M]:G},{[P]:$4,[N]:Y4,[M]:G},{[P]:e3,[N]:Y4,[M]:G},{[P]:t3,[N]:Y4,[M]:G},O2],[M]:G}],[M]:G},T2],[M]:G},{[P]:[k2,E2,D2],[N]:[{[P]:R4,[N]:[{[P]:P4,endpoint:{[z]:F0,[B]:C2,[V]:q},[M]:W},{[P]:z4,endpoint:{[z]:`https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://s3express-control.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W}],[M]:G}],[M]:G},{[P]:[g2,{[F]:O0,[I]:[K,49,50,S0],[R]:I0},{[F]:O0,[I]:[K,8,12,S0],[R]:L0},{[F]:O0,[I]:X4,[R]:R0},{[F]:O0,[I]:[K,32,49,S0],[R]:z0},{[F]:T0,[I]:A4,[R]:`regionPartition`},{[F]:U,[I]:[{[L]:R0},`--op-s3`]}],[N]:[{[P]:r3,[N]:[{[P]:L4,[N]:[{[P]:[{[F]:U,[I]:[A2,`e`]}],[N]:[{[P]:i3,[N]:[j2,{[P]:P4,endpoint:{[z]:`https://{Bucket}.ec2.{url#authority}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{endpoint:{[z]:`https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{[P]:[{[F]:U,[I]:[A2,`o`]}],[N]:[{[P]:i3,[N]:[j2,{[P]:P4,endpoint:{[z]:`https://{Bucket}.op-{outpostId}.{url#authority}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{endpoint:{[z]:`https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{error:`Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"`,[M]:H}],[M]:G},{error:`Invalid Outposts Bucket alias - it must be a valid bucket name.`,[M]:H}],[M]:G},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[M]:H}],[M]:G},{[P]:n3,[N]:[{[P]:[p2,{[F]:N0,[I]:[{[F]:C0,[I]:[{[F]:A0,[I]:j4}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[M]:H},{[P]:[N2,w2],[N]:[{[P]:R4,[N]:[{[P]:o3,[N]:[{[P]:[u2,h2],error:`S3 Accelerate cannot be used in this region`,[M]:H},{[P]:[f2,d2,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,d2,F2,J,Z,R2],[N]:[{endpoint:z2,[M]:W}],[M]:G},{[P]:[f2,d2,F2,J,Z,V2],endpoint:z2,[M]:W},{[P]:[Y,d2,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[Y,d2,F2,J,Z,R2],[N]:[{endpoint:H2,[M]:W}],[M]:G},{[P]:[Y,d2,F2,J,Z,V2],endpoint:H2,[M]:W},{[P]:[f2,X,u2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,X,u2,J,Z,R2],[N]:[{endpoint:U2,[M]:W}],[M]:G},{[P]:[f2,X,u2,J,Z,V2],endpoint:U2,[M]:W},{[P]:[f2,X,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,X,F2,J,Z,R2],[N]:[{endpoint:W2,[M]:W}],[M]:G},{[P]:[f2,X,F2,J,Z,V2],endpoint:W2,[M]:W},{[P]:[Y,X,F2,p2,y2,b2,I2],endpoint:{[z]:W0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,p2,y2,G2,I2],endpoint:{[z]:M0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,p2,y2,b2,Z,R2],[N]:[{[P]:s3,endpoint:K2,[M]:W},{endpoint:K2,[M]:W}],[M]:G},{[P]:[Y,X,F2,p2,y2,G2,Z,R2],[N]:[{[P]:s3,endpoint:q2,[M]:W},J2],[M]:G},{[P]:[Y,X,F2,p2,y2,b2,Z,V2],endpoint:K2,[M]:W},{[P]:[Y,X,F2,p2,y2,G2,Z,V2],endpoint:q2,[M]:W},{[P]:[Y,X,u2,J,I2],endpoint:{[z]:G0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,u2,J,Z,R2],[N]:[{[P]:s3,endpoint:Y2,[M]:W},{endpoint:Y2,[M]:W}],[M]:G},{[P]:[Y,X,u2,J,Z,V2],endpoint:Y2,[M]:W},{[P]:[Y,X,F2,J,I2],endpoint:{[z]:K0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,J,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:K0,[B]:B2,[V]:q},[M]:W},{endpoint:X2,[M]:W}],[M]:G},{[P]:[Y,X,F2,J,Z,V2],endpoint:X2,[M]:W}],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[p2,y2,{[F]:U,[I]:[{[F]:E0,[I]:[x2,`scheme`]},`http`]},{[F]:j0,[I]:[K,S0]},N2,X,Y,F2],[N]:[{[P]:R4,[N]:[{[P]:o3,[N]:[J2],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[N2,{[F]:q0,[I]:M4,[R]:J0}],[N]:[{[P]:[{[F]:E0,[I]:[Q2,`resourceId[0]`],[R]:Y0},{[F]:N0,[I]:[{[F]:U,[I]:[$2,X0]}]}],[N]:[{[P]:[{[F]:U,[I]:[e4,Z0]}],[N]:[{[P]:c3,[N]:[{[P]:l3,[N]:[n4,r4,{[P]:f3,[N]:[i4,{[P]:p3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:g3,[N]:[{[P]:_3,[N]:[{[P]:[{[F]:U,[I]:[s4,X0]}],error:`Invalid ARN: Missing account id`,[M]:H},{[P]:v3,[N]:[{[P]:y3,[N]:[{[P]:P4,endpoint:{[z]:e2,[B]:c4,[V]:q},[M]:W},{[P]:b3,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:c4,[V]:q},[M]:W},{endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:c4,[V]:q},[M]:W}],[M]:G},l4],[M]:G},u4],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},p4],[M]:G},{error:`Invalid ARN: bucket ARN is missing a region`,[M]:H}],[M]:G},m4],[M]:G},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[M]:H}],[M]:G},{[P]:c3,[N]:[{[P]:l3,[N]:[{[P]:f3,[N]:[{[P]:c3,[N]:[{[P]:f3,[N]:[i4,{[P]:p3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:[{[F]:U,[I]:[o4,`{partitionResult#name}`]}],[N]:[{[P]:_3,[N]:[{[P]:[{[F]:U,[I]:[e4,U0]}],[N]:[{[P]:v3,[N]:[{[P]:y3,[N]:[{[P]:N4,error:`Access Points do not support S3 Accelerate`,[M]:H},{[P]:z4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:[X,Y,p2,y2],endpoint:{[z]:e2,[B]:h4,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W}],[M]:G},l4],[M]:G},u4],[M]:G},{error:`Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}`,[M]:H}],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},p4],[M]:G}],[M]:G}],[M]:G},{[P]:[{[F]:B0,[I]:[t4,S0]}],[N]:[{[P]:d3,error:`S3 MRAP does not support dual-stack`,[M]:H},{[P]:b3,error:`S3 MRAP does not support FIPS`,[M]:H},{[P]:N4,error:`S3 MRAP does not support S3 Accelerate`,[M]:H},{[P]:[{[F]:w0,[I]:[{[L]:`DisableMultiRegionAccessPoints`},S0]}],error:`Invalid configuration: Multi-Region Access Point ARNs are disabled.`,[M]:H},{[P]:[{[F]:T0,[I]:A4,[R]:t2}],[N]:[{[P]:[{[F]:U,[I]:[{[F]:E0,[I]:[{[L]:t2},D0]},{[F]:E0,[I]:[Q2,`partition`]}]}],[N]:[{endpoint:{[z]:`https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}`,[B]:{[h0]:[{[g0]:S0,name:V0,[_0]:U0,[y0]:a3}]},[V]:q},[M]:W}],[M]:G},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[M]:H}],[M]:G}],[M]:G},{error:`Invalid Access Point Name`,[M]:H}],[M]:G},m4],[M]:G},{[P]:[{[F]:U,[I]:[e4,H0]}],[N]:[{[P]:d3,error:`S3 Outposts does not support Dual-stack`,[M]:H},{[P]:b3,error:`S3 Outposts does not support FIPS`,[M]:H},{[P]:N4,error:`S3 Outposts does not support S3 Accelerate`,[M]:H},{[P]:[{[F]:C0,[I]:[{[F]:E0,[I]:[Q2,`resourceId[4]`]}]}],error:`Invalid Arn: Outpost Access Point ARN contains sub resources`,[M]:H},{[P]:[{[F]:E0,[I]:u3,[R]:z0}],[N]:[{[P]:r3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:g3,[N]:[{[P]:_3,[N]:[{[P]:v3,[N]:[{[P]:[{[F]:E0,[I]:m3,[R]:n2}],[N]:[{[P]:[{[F]:E0,[I]:[Q2,`resourceId[3]`],[R]:$0}],[N]:[{[P]:[{[F]:U,[I]:[{[L]:n2},Q0]}],[N]:[{[P]:P4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}`,[B]:g4,[V]:q},[M]:W},{endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:g4,[V]:q},[M]:W}],[M]:G},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[M]:H}],[M]:G},{error:`Invalid ARN: expected an access point name`,[M]:H}],[M]:G},{error:`Invalid ARN: Expected a 4-component resource`,[M]:H}],[M]:G},u4],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[M]:H}],[M]:G},{error:`Invalid ARN: The Outpost Id was not set`,[M]:H}],[M]:G},{error:`Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})`,[M]:H}],[M]:G},{error:`Invalid ARN: No ARN type specified`,[M]:H}],[M]:G},{[P]:[{[F]:O0,[I]:[K,0,4,x0],[R]:r2},{[F]:U,[I]:[{[L]:r2},`arn:`]},{[F]:N0,[I]:[{[F]:C0,[I]:[_4]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[M]:H},{[P]:[{[F]:w0,[I]:[P2,S0]},_4],error:`Path-style addressing cannot be used with ARN buckets`,[M]:H},{[P]:I4,[N]:[{[P]:R4,[N]:[{[P]:[F2],[N]:[{[P]:[f2,J,d2,I2],endpoint:{[z]:`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,J,d2,Z,R2],[N]:[{endpoint:v4,[M]:W}],[M]:G},{[P]:[f2,J,d2,Z,V2],endpoint:v4,[M]:W},{[P]:[Y,J,d2,I2],endpoint:{[z]:`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[Y,J,d2,Z,R2],[N]:[{endpoint:y4,[M]:W}],[M]:G},{[P]:[Y,J,d2,Z,V2],endpoint:y4,[M]:W},{[P]:[f2,J,X,I2],endpoint:{[z]:`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,J,X,Z,R2],[N]:[{endpoint:b4,[M]:W}],[M]:G},{[P]:[f2,J,X,Z,V2],endpoint:b4,[M]:W},{[P]:[Y,p2,y2,X,I2],endpoint:{[z]:i2,[B]:L2,[V]:q},[M]:W},{[P]:[Y,p2,y2,X,Z,R2],[N]:[{[P]:s3,endpoint:x4,[M]:W},{endpoint:x4,[M]:W}],[M]:G},{[P]:[Y,p2,y2,X,Z,V2],endpoint:x4,[M]:W},{[P]:[Y,J,X,I2],endpoint:{[z]:a2,[B]:L2,[V]:q},[M]:W},{[P]:[Y,J,X,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:a2,[B]:B2,[V]:q},[M]:W},{endpoint:S4,[M]:W}],[M]:G},{[P]:[Y,J,X,Z,V2],endpoint:S4,[M]:W}],[M]:G},{error:`Path-style addressing cannot be used with S3 Accelerate`,[M]:H}],[M]:G}],[M]:G}],[M]:G},{[P]:[{[F]:C0,[I]:[C4]},{[F]:w0,[I]:[C4,S0]}],[N]:[{[P]:R4,[N]:[{[P]:x3,[N]:[n4,r4,{[P]:P4,endpoint:{[z]:F0,[B]:w4,[V]:q},[M]:W},{[P]:b3,endpoint:{[z]:`https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:w4,[V]:q},[M]:W},{endpoint:{[z]:`https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}`,[B]:w4,[V]:q},[M]:W}],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[k2],[N]:[{[P]:R4,[N]:[{[P]:x3,[N]:[{[P]:[d2,f2,J,I2],endpoint:{[z]:`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[d2,f2,J,Z,R2],[N]:[{endpoint:T4,[M]:W}],[M]:G},{[P]:[d2,f2,J,Z,V2],endpoint:T4,[M]:W},{[P]:[d2,Y,J,I2],endpoint:{[z]:`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[d2,Y,J,Z,R2],[N]:[{endpoint:E4,[M]:W}],[M]:G},{[P]:[d2,Y,J,Z,V2],endpoint:E4,[M]:W},{[P]:[X,f2,J,I2],endpoint:{[z]:`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[X,f2,J,Z,R2],[N]:[{endpoint:D4,[M]:W}],[M]:G},{[P]:[X,f2,J,Z,V2],endpoint:D4,[M]:W},{[P]:[X,Y,p2,y2,I2],endpoint:{[z]:F0,[B]:L2,[V]:q},[M]:W},{[P]:[X,Y,p2,y2,Z,R2],[N]:[{[P]:s3,endpoint:O4,[M]:W},{endpoint:O4,[M]:W}],[M]:G},{[P]:[X,Y,p2,y2,Z,V2],endpoint:O4,[M]:W},{[P]:[X,Y,J,I2],endpoint:{[z]:o2,[B]:L2,[V]:q},[M]:W},{[P]:[X,Y,J,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:o2,[B]:B2,[V]:q},[M]:W},{endpoint:k4,[M]:W}],[M]:G},{[P]:[X,Y,J,Z,V2],endpoint:k4,[M]:W}],[M]:G},Z2],[M]:G}],[M]:G}],[M]:G},{error:`A region must be set when sending requests to S3.`,[M]:H}]},C3=new Zn({size:50,params:[`Accelerate`,`Bucket`,`DisableAccessPoints`,`DisableMultiRegionAccessPoints`,`DisableS3ExpressSessionAuth`,`Endpoint`,`ForcePathStyle`,`Region`,`UseArnRegion`,`UseDualStack`,`UseFIPS`,`UseGlobalEndpoint`,`UseObjectLambdaEndpoint`,`UseS3ExpressControlEndpoint`]}),w3=(e,t={})=>C3.get(e,()=>kr(S3,{endpointParams:e,logger:t.logger}));nr.aws=Rr;var T3=(e=>async(t,n,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let i=await e(t,n,r),a=_e(n)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw Error(`getEndpointParameterInstructions() is not defined on '${n.commandName}'`);let o=await Ai(r,{getEndpointParameterInstructions:a},t);return Object.assign(i,o)})(async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}));function E3(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function D3(e){return{schemeId:`aws.auth#sigv4a`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var O3=((e,t,n)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let a=[];for(let e of i){let{name:t,properties:o={},...s}=e,c=t.toLowerCase();t!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${t}' to '${c}'`);let l;if(c===`sigv4a`){l=`aws.auth#sigv4a`;let e=i.find(e=>{let t=e.name.toLowerCase();return t!==`sigv4a`&&t.startsWith(`sigv4`)});if(f0.sigv4aDependency()===`none`&&e)continue}else if(c.startsWith(`sigv4`))l=`aws.auth#sigv4`;else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);let u=n[l];if(!u)throw Error(`Could not find HttpAuthOption create function for '${l}'`);let d=u(r);d.schemeId=l,d.signingProperties={...d.signingProperties||{},...s,...o},a.push(d)}return a})(w3,e=>{let t=[];switch(e.operation){default:t.push(E3(e)),t.push(D3(e))}return t},{"aws.auth#sigv4":E3,"aws.auth#sigv4a":D3}),k3=e=>{let t=Ca(wa(e));return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},A3=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:`s3`,clientContextParams:e.clientContextParams??{}}),j3={ForcePathStyle:{type:`clientContextParams`,name:`forcePathStyle`},UseArnRegion:{type:`clientContextParams`,name:`useArnRegion`},DisableMultiRegionAccessPoints:{type:`clientContextParams`,name:`disableMultiregionAccessPoints`},Accelerate:{type:`clientContextParams`,name:`useAccelerateEndpoint`},DisableS3ExpressSessionAuth:{type:`clientContextParams`,name:`disableS3ExpressSessionAuth`},UseGlobalEndpoint:{type:`builtInParams`,name:`useGlobalEndpoint`},UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},M3=class e extends qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},N3=class e extends M3{name=`NoSuchUpload`;$fault=`client`;constructor(t){super({name:`NoSuchUpload`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},P3=class e extends M3{name=`AccessDenied`;$fault=`client`;constructor(t){super({name:`AccessDenied`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},F3=class e extends M3{name=`ObjectNotInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectNotInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},I3=class e extends M3{name=`BucketAlreadyExists`;$fault=`client`;constructor(t){super({name:`BucketAlreadyExists`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},L3=class e extends M3{name=`BucketAlreadyOwnedByYou`;$fault=`client`;constructor(t){super({name:`BucketAlreadyOwnedByYou`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},R3=class e extends M3{name=`NoSuchBucket`;$fault=`client`;constructor(t){super({name:`NoSuchBucket`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},z3=class e extends M3{name=`InvalidObjectState`;$fault=`client`;StorageClass;AccessTier;constructor(t){super({name:`InvalidObjectState`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.StorageClass=t.StorageClass,this.AccessTier=t.AccessTier}},B3=class e extends M3{name=`NoSuchKey`;$fault=`client`;constructor(t){super({name:`NoSuchKey`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},V3=class e extends M3{name=`NotFound`;$fault=`client`;constructor(t){super({name:`NotFound`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},H3=class e extends M3{name=`EncryptionTypeMismatch`;$fault=`client`;constructor(t){super({name:`EncryptionTypeMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},U3=class e extends M3{name=`InvalidRequest`;$fault=`client`;constructor(t){super({name:`InvalidRequest`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},W3=class e extends M3{name=`InvalidWriteOffset`;$fault=`client`;constructor(t){super({name:`InvalidWriteOffset`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},G3=class e extends M3{name=`TooManyParts`;$fault=`client`;constructor(t){super({name:`TooManyParts`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},K3=class e extends M3{name=`IdempotencyParameterMismatch`;$fault=`client`;constructor(t){super({name:`IdempotencyParameterMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},q3=class e extends M3{name=`ObjectAlreadyInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectAlreadyInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},J3=`ACL`,Y3=`AccessDenied`,X3=`AbortDate`,Z3=`AccessKeyId`,Q3=`AbortMultipartUpload`,$3=`AbortMultipartUploadOutput`,e6=`AbortMultipartUploadRequest`,t6=`AcceptRanges`,n6=`AbortRuleId`,r6=`AccessTier`,i6=`Bucket`,a6=`BucketArn`,o6=`BucketAlreadyExists`,s6=`BucketAlreadyOwnedByYou`,c6=`BypassGovernanceRetention`,l6=`BucketInfo`,u6=`BucketKeyEnabled`,d6=`BucketNamespace`,f6=`BucketRegion`,p6=`Body`,m6=`Buckets`,h6=`ChecksumAlgorithm`,g6=`CreateBucket`,_6=`CreateBucketConfiguration`,v6=`CreateBucketOutput`,y6=`CreateBucketRequest`,b6=`CacheControl`,x6=`ChecksumCRC32`,S6=`ChecksumCRC32C`,C6=`ChecksumCRC64NVME`,w6=`Cache-Control`,T6=`CreationDate`,E6=`Content-Disposition`,D6=`ContentDisposition`,O6=`Content-Encoding`,k6=`ContentEncoding`,A6=`ContentLanguage`,j6=`Content-Language`,M6=`Content-Length`,N6=`ContentLength`,P6=`Content-MD5`,F6=`ContentMD5`,I6=`CompletedMultipartUpload`,L6=`CompleteMultipartUploadOutput`,R6=`CreateMultipartUploadOutput`,z6=`CompleteMultipartUploadResult`,B6=`CompleteMultipartUploadRequest`,V6=`CreateMultipartUploadRequest`,H6=`CompleteMultipartUpload`,U6=`CreateMultipartUpload`,W6=`ChecksumMode`,G6=`CommonPrefix`,K6=`CommonPrefixList`,q6=`CompletedPartList`,J6=`CompletedPart`,Y6=`CommonPrefixes`,X6=`ContentRange`,Z6=`Content-Range`,Q6=`ChecksumSHA1`,$6=`ChecksumSHA256`,e8=`CreateSessionOutput`,t8=`CreateSessionResult`,n8=`CreateSessionRequest`,r8=`CreateSession`,i8=`ChecksumType`,a8=`Content-Type`,o8=`ContentType`,s8=`ContinuationToken`,c8=`Contents`,l8=`Credentials`,u8=`DeleteMarker`,d8=`DisplayName`,f8=`DeleteObjectOutput`,p8=`DeleteObjectRequest`,m8=`DeleteObject`,h8=`DataRedundancy`,g8=`Delimiter`,_8=`Expiration`,v8=`ExpectedBucketOwner`,y8=`ExpiresString`,b8=`EncryptionTypeMismatch`,x8=`ETag`,S8=`EncodingType`,C8=`Expires`,w8=`FetchOwner`,T8=`GrantFullControl`,E8=`GetObject`,D8=`GetObjectOutput`,O8=`GetObjectRequest`,k8=`GrantRead`,A8=`GrantReadACP`,j8=`GrantWrite`,M8=`GrantWriteACP`,N8=`ID`,P8=`IfMatch`,F8=`IfMatchInitiatedTime`,I8=`IfMatchLastModifiedTime`,L8=`IfMatchSize`,R8=`If-Modified-Since`,z8=`IfModifiedSince`,B8=`InitiateMultipartUploadResult`,V8=`If-Match`,H8=`IfNoneMatch`,U8=`If-None-Match`,W8=`InvalidObjectState`,G8=`IdempotencyParameterMismatch`,K8=`InvalidRequest`,q8=`IsRestoreInProgress`,J8=`IsTruncated`,Y8=`IfUnmodifiedSince`,X8=`If-Unmodified-Since`,Z8=`InvalidWriteOffset`,Q8=`Key`,$8=`KeyCount`,e5=`Location`,t5=`ListAllMyBucketsResult`,n5=`ListBuckets`,r5=`ListBucketsOutput`,i5=`ListBucketsRequest`,a5=`ListBucketResult`,o5=`LocationConstraint`,s5=`LocationInfo`,c5=`LastModified`,l5=`Last-Modified`,u5=`ListObjectsV2`,d5=`ListObjectsV2Output`,f5=`ListObjectsV2Request`,p5=`Metadata`,m5=`MaxBuckets`,h5=`MFA`,g5=`MaxKeys`,_5=`MissingMeta`,v5=`MpuObjectSize`,y5=`MultipartUpload`,b5=`Name`,x5=`NextContinuationToken`,S5=`NotFound`,C5=`NoSuchBucket`,w5=`NoSuchKey`,T5=`NoSuchUpload`,E5=`Owner`,D5=`ObjectAlreadyInActiveTierError`,O5=`ObjectLockEnabledForBucket`,k5=`ObjectLockLegalHoldStatus`,A5=`ObjectLockMode`,j5=`ObjectLockRetainUntilDate`,M5=`ObjectList`,N5=`ObjectNotInActiveTierError`,P5=`ObjectOwnership`,F5=`OptionalObjectAttributes`,I5=`Object`,L5=`Prefix`,R5=`PartsCount`,z5=`PartNumber`,B5=`PutObject`,V5=`PutObjectOutput`,H5=`PutObjectRequest`,U5=`PutObjectTagging`,W5=`PutObjectTaggingOutput`,G5=`PutObjectTaggingRequest`,K5=`Parts`,q5=`Part`,J5=`RequestCharged`,Y5=`ResponseCacheControl`,X5=`ResponseContentDisposition`,Z5=`ResponseContentEncoding`,Q5=`ResponseContentLanguage`,$5=`ResponseContentType`,e7=`ResponseExpires`,t7=`RestoreExpiryDate`,n7=`RequestPayer`,r7=`ReplicationStatus`,i7=`RestoreStatus`,a7=`Range`,o7=`Restore`,s7=`StartAfter`,c7=`SecretAccessKey`,l7=`StreamingBlob`,u7=`StorageClass`,d7=`SessionCredentialValue`,f7=`SessionCredentials`,p7=`SessionMode`,m7=`ServerSideEncryption`,h7=`SSECustomerAlgorithm`,g7=`SSECustomerKey`,_7=`SSECustomerKeyMD5`,v7=`SSEKMSEncryptionContext`,y7=`SSEKMSKeyId`,b7=`SessionToken`,x7=`Size`,Ite=`Tags`,Lte=`TagCount`,Rte=`TooManyParts`,S7=`TagSet`,C7=`Tag`,w7=`Tagging`,T7=`Type`,E7=`UploadId`,zte=`UploadPart`,Bte=`UploadPartOutput`,Vte=`UploadPartRequest`,Hte=`Value`,D7=`VersionId`,Ute=`WriteOffsetBytes`,O7=`WebsiteRedirectLocation`,Wte=`accept-ranges`,Gte=`bucket-region`,k7=`client`,A7=`continuation-token`,Kte=`delimiter`,j7=`error`,qte=`encoding-type`,Jte=`fetch-owner`,M7=`http`,N7=`httpChecksum`,P7=`httpError`,Q=`httpHeader`,F7=`httpPayload`,I7=`httpPrefixHeaders`,L7=`httpQuery`,Yte=`max-buckets`,Xte=`max-keys`,R7=`prefix`,z7=`partNumber`,Zte=`response-cache-control`,Qte=`response-content-disposition`,$te=`response-content-encoding`,ene=`response-content-language`,tne=`response-content-type`,nne=`response-expires`,B7=`smithy.ts.sdk.synthetic.com.amazonaws.s3`,rne=`start-after`,ine=`streaming`,V7=`uploadId`,H7=`versionId`,U7=`xmlFlattened`,W7=`xmlName`,G7=`x-amz-acl`,ane=`x-amz-abort-date`,one=`x-amz-abort-rule-id`,sne=`x-amz-bucket-arn`,cne=`x-amz-bypass-governance-retention`,lne=`x-amz-bucket-namespace`,une=`x-amz-bucket-object-lock-enabled`,K7=`x-amz-checksum-algorithm`,q7=`x-amz-checksum-crc32`,J7=`x-amz-checksum-crc32c`,Y7=`x-amz-checksum-crc64nvme`,dne=`x-amz-checksum-mode`,X7=`x-amz-checksum-sha1`,Z7=`x-amz-checksum-sha256`,fne=`x-amz-create-session-mode`,Q7=`x-amz-checksum-type`,$7=`x-amz-delete-marker`,e9=`x-amz-expiration`,t9=`x-amz-expected-bucket-owner`,n9=`x-amz-grant-full-control`,r9=`x-amz-grant-read`,i9=`x-amz-grant-read-acp`,pne=`x-amz-grant-write`,a9=`x-amz-grant-write-acp`,mne=`x-amz-if-match-initiated-time`,hne=`x-amz-if-match-last-modified-time`,gne=`x-amz-if-match-size`,o9=`x-amz-meta-`,_ne=`x-amz-mfa`,vne=`x-amz-missing-meta`,yne=`x-amz-mp-object-size`,bne=`x-amz-mp-parts-count`,s9=`x-amz-object-lock-legal-hold`,c9=`x-amz-object-lock-mode`,l9=`x-amz-object-lock-retain-until-date`,xne=`x-amz-object-ownership`,Sne=`x-amz-optional-object-attributes`,Cne=`x-amz-object-size`,wne=`x-amz-restore`,u9=`x-amz-request-charged`,d9=`x-amz-request-payer`,Tne=`x-amz-replication-status`,f9=`x-amz-storage-class`,p9=`x-amz-sdk-checksum-algorithm`,m9=`x-amz-server-side-encryption`,h9=`x-amz-server-side-encryption-aws-kms-key-id`,g9=`x-amz-server-side-encryption-bucket-key-enabled`,_9=`x-amz-server-side-encryption-context`,v9=`x-amz-server-side-encryption-customer-algorithm`,y9=`x-amz-server-side-encryption-customer-key`,b9=`x-amz-server-side-encryption-customer-key-MD5`,x9=`x-amz-tagging`,Ene=`x-amz-tagging-count`,S9=`x-amz-version-id`,Dne=`x-amz-write-offset-bytes`,C9=`x-amz-website-redirect-location`,$=`com.amazonaws.s3`,w9=At.for(B7),One=[-3,B7,`S3ServiceException`,0,[],[]];w9.registerError(One,M3);var T9=At.for($),kne=[-3,$,Y3,{[j7]:k7,[P7]:403},[],[]];T9.registerError(kne,P3);var Ane=[-3,$,o6,{[j7]:k7,[P7]:409},[],[]];T9.registerError(Ane,I3);var jne=[-3,$,s6,{[j7]:k7,[P7]:409},[],[]];T9.registerError(jne,L3);var Mne=[-3,$,b8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Mne,H3);var Nne=[-3,$,G8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Nne,K3);var Pne=[-3,$,W8,{[j7]:k7,[P7]:403},[u7,r6],[0,0]];T9.registerError(Pne,z3);var Fne=[-3,$,K8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Fne,U3);var Ine=[-3,$,Z8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Ine,W3);var Lne=[-3,$,C5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(Lne,R3);var Rne=[-3,$,w5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(Rne,B3);var zne=[-3,$,T5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(zne,N3);var Bne=[-3,$,S5,{[j7]:k7},[],[]];T9.registerError(Bne,V3);var Vne=[-3,$,D5,{[j7]:k7,[P7]:403},[],[]];T9.registerError(Vne,q3);var Hne=[-3,$,N5,{[j7]:k7,[P7]:403},[],[]];T9.registerError(Hne,F3);var Une=[-3,$,Rte,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Une,G3);var Wne=[w9,T9],E9=[0,$,d7,8,0],D9=[0,$,g7,8,0],O9=[0,$,v7,8,0],k9=[0,$,y7,8,0],A9=[0,$,l7,{[ine]:1},42],Gne=[3,$,$3,0,[J5],[[0,{[Q]:u9}]]],Kne=[3,$,e6,0,[i6,Q8,E7,n7,v8,F8],[[0,1],[0,1],[0,{[L7]:V7}],[0,{[Q]:d9}],[0,{[Q]:t9}],[6,{[Q]:mne}]],3],qne=[3,$,i6,0,[b5,T6,f6,a6],[0,4,0,0]],Jne=[3,$,l6,0,[h8,T7],[0,0]],Yne=[3,$,G6,0,[L5],[0]],Xne=[3,$,I6,0,[K5],[[()=>kre,{[U7]:1,[W7]:q5}]]],Zne=[3,$,J6,0,[x8,x6,S6,C6,Q6,$6,z5],[0,0,0,0,0,0,1]],Qne=[3,$,L6,{[W7]:z6},[e5,i6,Q8,_8,x8,x6,S6,C6,Q6,$6,i8,m7,D7,y7,u6,J5],[0,0,0,[0,{[Q]:e9}],0,0,0,0,0,0,0,[0,{[Q]:m9}],[0,{[Q]:S9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:u9}]]],$ne=[3,$,B6,0,[i6,Q8,E7,y5,x6,S6,C6,Q6,$6,i8,v5,n7,v8,P8,H8,h7,g7,_7],[[0,1],[0,1],[0,{[L7]:V7}],[()=>Xne,{[F7]:1,[W7]:H6}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[1,{[Q]:yne}],[0,{[Q]:d9}],[0,{[Q]:t9}],[0,{[Q]:V8}],[0,{[Q]:U8}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}]],3],ere=[3,$,_6,0,[o5,e5,i6,Ite],[0,()=>hre,()=>Jne,[()=>M9,0]]],tre=[3,$,v6,0,[e5,a6],[[0,{[Q]:e5}],[0,{[Q]:sne}]]],nre=[3,$,y6,0,[i6,J3,_6,T8,k8,A8,j8,M8,O5,P5,d6],[[0,1],[0,{[Q]:G7}],[()=>ere,{[F7]:1,[W7]:_6}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:pne}],[0,{[Q]:a9}],[2,{[Q]:une}],[0,{[Q]:xne}],[0,{[Q]:lne}]],1],rre=[3,$,R6,{[W7]:B8},[X3,n6,i6,Q8,E7,m7,h7,_7,y7,v7,u6,J5,h6,i8],[[4,{[Q]:ane}],[0,{[Q]:one}],[0,{[W7]:i6}],0,0,[0,{[Q]:m9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:u9}],[0,{[Q]:K7}],[0,{[Q]:Q7}]]],ire=[3,$,V6,0,[i6,Q8,J3,b6,D6,k6,A6,o8,C8,T8,k8,A8,M8,p5,m7,u7,O7,h7,g7,_7,y7,v7,u6,n7,w7,A5,j5,k5,v8,h6,i8],[[0,1],[0,1],[0,{[Q]:G7}],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[0,{[Q]:a8}],[4,{[Q]:C8}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:a9}],[128,{[I7]:o9}],[0,{[Q]:m9}],[0,{[Q]:f9}],[0,{[Q]:C9}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:d9}],[0,{[Q]:x9}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}],[0,{[Q]:t9}],[0,{[Q]:K7}],[0,{[Q]:Q7}]],2],are=[3,$,e8,{[W7]:t8},[l8,m7,y7,v7,u6],[[()=>Sre,{[W7]:l8}],[0,{[Q]:m9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}]],1],ore=[3,$,n8,0,[i6,p7,m7,y7,v7,u6],[[0,1],[0,{[Q]:fne}],[0,{[Q]:m9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}]],1],sre=[3,$,f8,0,[u8,D7,J5],[[2,{[Q]:$7}],[0,{[Q]:S9}],[0,{[Q]:u9}]]],cre=[3,$,p8,0,[i6,Q8,h5,D7,n7,c6,v8,P8,I8,L8],[[0,1],[0,1],[0,{[Q]:_ne}],[0,{[L7]:H7}],[0,{[Q]:d9}],[2,{[Q]:cne}],[0,{[Q]:t9}],[0,{[Q]:V8}],[6,{[Q]:hne}],[1,{[Q]:gne}]],2],lre=[3,$,D8,0,[p6,u8,t6,_8,o7,c5,N6,x8,x6,S6,C6,Q6,$6,i8,_5,D7,b6,D6,k6,A6,X6,o8,C8,y8,O7,m7,p5,h7,_7,y7,u6,u7,J5,r7,R5,Lte,A5,j5,k5],[[()=>A9,16],[2,{[Q]:$7}],[0,{[Q]:Wte}],[0,{[Q]:e9}],[0,{[Q]:wne}],[4,{[Q]:l5}],[1,{[Q]:M6}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[1,{[Q]:vne}],[0,{[Q]:S9}],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[0,{[Q]:Z6}],[0,{[Q]:a8}],[4,{[Q]:C8}],[0,{[Q]:y8}],[0,{[Q]:C9}],[0,{[Q]:m9}],[128,{[I7]:o9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:f9}],[0,{[Q]:u9}],[0,{[Q]:Tne}],[1,{[Q]:bne}],[1,{[Q]:Ene}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}]]],ure=[3,$,O8,0,[i6,Q8,P8,z8,H8,Y8,a7,Y5,X5,Z5,Q5,$5,e7,D7,h7,g7,_7,n7,z5,v8,W6],[[0,1],[0,1],[0,{[Q]:V8}],[4,{[Q]:R8}],[0,{[Q]:U8}],[4,{[Q]:X8}],[0,{[Q]:a7}],[0,{[L7]:Zte}],[0,{[L7]:Qte}],[0,{[L7]:$te}],[0,{[L7]:ene}],[0,{[L7]:tne}],[6,{[L7]:nne}],[0,{[L7]:H7}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[0,{[Q]:d9}],[1,{[L7]:z7}],[0,{[Q]:t9}],[0,{[Q]:dne}]],2],dre=[3,$,r5,{[W7]:t5},[m6,E5,s8,L5],[[()=>Dre,0],()=>j9,0,0]],fre=[3,$,i5,0,[m5,s8,L5,f6],[[1,{[L7]:Yte}],[0,{[L7]:A7}],[0,{[L7]:R7}],[0,{[L7]:Gte}]]],pre=[3,$,d5,{[W7]:a5},[J8,c8,b5,L5,g8,g5,Y6,S8,$8,s8,x5,s7,J5],[2,[()=>Are,{[U7]:1}],0,0,0,1,[()=>Ore,{[U7]:1}],0,1,0,0,0,[0,{[Q]:u9}]]],mre=[3,$,f5,0,[i6,g8,S8,g5,L5,s8,w8,s7,n7,v8,F5],[[0,1],[0,{[L7]:Kte}],[0,{[L7]:qte}],[1,{[L7]:Xte}],[0,{[L7]:R7}],[0,{[L7]:A7}],[2,{[L7]:Jte}],[0,{[L7]:rne}],[0,{[Q]:d9}],[0,{[Q]:t9}],[64,{[Q]:Sne}]],1],hre=[3,$,s5,0,[T7,b5],[0,0]],gre=[3,$,I5,0,[Q8,c5,x8,h6,i8,x7,u7,E5,i7],[0,4,0,[64,{[U7]:1}],0,1,0,()=>j9,()=>xre]],j9=[3,$,E5,0,[d8,N8],[0,0]],_re=[3,$,V5,0,[_8,x8,x6,S6,C6,Q6,$6,i8,m7,D7,h7,_7,y7,v7,u6,x7,J5],[[0,{[Q]:e9}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[0,{[Q]:m9}],[0,{[Q]:S9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[1,{[Q]:Cne}],[0,{[Q]:u9}]]],vre=[3,$,H5,0,[i6,Q8,J3,p6,b6,D6,k6,A6,N6,F6,o8,h6,x6,S6,C6,Q6,$6,C8,P8,H8,T8,k8,A8,M8,Ute,p5,m7,u7,O7,h7,g7,_7,y7,v7,u6,n7,w7,A5,j5,k5,v8],[[0,1],[0,1],[0,{[Q]:G7}],[()=>A9,16],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[1,{[Q]:M6}],[0,{[Q]:P6}],[0,{[Q]:a8}],[0,{[Q]:p9}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[4,{[Q]:C8}],[0,{[Q]:V8}],[0,{[Q]:U8}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:a9}],[1,{[Q]:Dne}],[128,{[I7]:o9}],[0,{[Q]:m9}],[0,{[Q]:f9}],[0,{[Q]:C9}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:d9}],[0,{[Q]:x9}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}],[0,{[Q]:t9}]],2],yre=[3,$,W5,0,[D7],[[0,{[Q]:S9}]]],bre=[3,$,G5,0,[i6,Q8,w7,D7,F6,h6,v8,n7],[[0,1],[0,1],[()=>wre,{[F7]:1,[W7]:w7}],[0,{[L7]:H7}],[0,{[Q]:P6}],[0,{[Q]:p9}],[0,{[Q]:t9}],[0,{[Q]:d9}]],3],xre=[3,$,i7,0,[q8,t7],[2,4]],Sre=[3,$,f7,0,[Z3,c7,b7,_8],[[0,{[W7]:Z3}],[()=>E9,{[W7]:c7}],[()=>E9,{[W7]:b7}],[4,{[W7]:_8}]],4],Cre=[3,$,C7,0,[Q8,Hte],[0,0],2],wre=[3,$,w7,0,[S7],[[()=>M9,0]],1],Tre=[3,$,Bte,0,[m7,x8,x6,S6,C6,Q6,$6,h7,_7,y7,u6,J5],[[0,{[Q]:m9}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:u9}]]],Ere=[3,$,Vte,0,[i6,Q8,z5,E7,p6,N6,F6,h6,x6,S6,C6,Q6,$6,h7,g7,_7,n7,v8],[[0,1],[0,1],[1,{[L7]:z7}],[0,{[L7]:V7}],[()=>A9,16],[1,{[Q]:M6}],[0,{[Q]:P6}],[0,{[Q]:p9}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[0,{[Q]:d9}],[0,{[Q]:t9}]],4],Dre=[1,$,m6,0,[()=>qne,{[W7]:i6}]],Ore=[1,$,K6,0,()=>Yne],kre=[1,$,q6,0,()=>Zne],Are=[1,$,M5,0,[()=>gre,0]],M9=[1,$,S7,0,[()=>Cre,{[W7]:C7}]],jre=[9,$,Q3,{[M7]:[`DELETE`,`/{Key+}?x-id=AbortMultipartUpload`,204]},()=>Kne,()=>Gne],Mre=[9,$,H6,{[M7]:[`POST`,`/{Key+}`,200]},()=>$ne,()=>Qne],Nre=[9,$,g6,{[M7]:[`PUT`,`/`,200]},()=>nre,()=>tre],Pre=[9,$,U6,{[M7]:[`POST`,`/{Key+}?uploads`,200]},()=>ire,()=>rre],Fre=[9,$,r8,{[M7]:[`GET`,`/?session`,200]},()=>ore,()=>are],Ire=[9,$,m8,{[M7]:[`DELETE`,`/{Key+}?x-id=DeleteObject`,204]},()=>cre,()=>sre],Lre=[9,$,E8,{[N7]:`-`,[M7]:[`GET`,`/{Key+}?x-id=GetObject`,200]},()=>ure,()=>lre],Rre=[9,$,n5,{[M7]:[`GET`,`/?x-id=ListBuckets`,200]},()=>fre,()=>dre],zre=[9,$,u5,{[M7]:[`GET`,`/?list-type=2`,200]},()=>mre,()=>pre],Bre=[9,$,B5,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?x-id=PutObject`,200]},()=>vre,()=>_re],Vre=[9,$,U5,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?tagging`,200]},()=>bre,()=>yre],Hre=[9,$,zte,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?x-id=UploadPart`,200]},()=>Ere,()=>Tre],Ure=class extends Gi.classBuilder().ep({...j3,DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}}).m(function(e,t,n,r){return[Ni(n,e.getEndpointParameterInstructions()),n0(n)]}).s(`AmazonS3`,`CreateSession`,{}).n(`S3Client`,`CreateSessionCommand`).sc(Fre).build(){},Wre={name:`@aws-sdk/client-s3`,description:`AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native`,version:`3.1029.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-s3`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo s3`,test:`yarn g:vitest run`,"test:browser":`node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.mts`,"test:browser:watch":`node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.mts`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts && yarn test:browser`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest watch -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":`5.2.0`,"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.973.27`,"@aws-sdk/credential-provider-node":`^3.972.30`,"@aws-sdk/middleware-bucket-endpoint":`^3.972.9`,"@aws-sdk/middleware-expect-continue":`^3.972.9`,"@aws-sdk/middleware-flexible-checksums":`^3.974.7`,"@aws-sdk/middleware-host-header":`^3.972.9`,"@aws-sdk/middleware-location-constraint":`^3.972.9`,"@aws-sdk/middleware-logger":`^3.972.9`,"@aws-sdk/middleware-recursion-detection":`^3.972.10`,"@aws-sdk/middleware-sdk-s3":`^3.972.28`,"@aws-sdk/middleware-ssec":`^3.972.9`,"@aws-sdk/middleware-user-agent":`^3.972.29`,"@aws-sdk/region-config-resolver":`^3.972.11`,"@aws-sdk/signature-v4-multi-region":`^3.996.16`,"@aws-sdk/types":`^3.973.7`,"@aws-sdk/util-endpoints":`^3.996.6`,"@aws-sdk/util-user-agent-browser":`^3.972.9`,"@aws-sdk/util-user-agent-node":`^3.973.15`,"@smithy/config-resolver":`^4.4.14`,"@smithy/core":`^3.23.14`,"@smithy/eventstream-serde-browser":`^4.2.13`,"@smithy/eventstream-serde-config-resolver":`^4.3.13`,"@smithy/eventstream-serde-node":`^4.2.13`,"@smithy/fetch-http-handler":`^5.3.16`,"@smithy/hash-blob-browser":`^4.2.14`,"@smithy/hash-node":`^4.2.13`,"@smithy/hash-stream-node":`^4.2.13`,"@smithy/invalid-dependency":`^4.2.13`,"@smithy/md5-js":`^4.2.13`,"@smithy/middleware-content-length":`^4.2.13`,"@smithy/middleware-endpoint":`^4.4.29`,"@smithy/middleware-retry":`^4.5.0`,"@smithy/middleware-serde":`^4.2.17`,"@smithy/middleware-stack":`^4.2.13`,"@smithy/node-config-provider":`^4.3.13`,"@smithy/node-http-handler":`^4.5.2`,"@smithy/protocol-http":`^5.3.13`,"@smithy/smithy-client":`^4.12.9`,"@smithy/types":`^4.14.0`,"@smithy/url-parser":`^4.2.13`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.45`,"@smithy/util-defaults-mode-node":`^4.2.49`,"@smithy/util-endpoints":`^3.3.4`,"@smithy/util-middleware":`^4.2.13`,"@smithy/util-retry":`^4.3.0`,"@smithy/util-stream":`^4.5.22`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.15`,tslib:`^2.6.2`},devDependencies:{"@aws-sdk/signature-v4-crt":`3.1029.0`,"@smithy/snapshot-testing":`^2.0.5`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-s3`}};function N9(e){return typeof e==`string`?e.length===0:e.byteLength===0}var P9={name:`SHA-1`},F9={name:`HMAC`,hash:P9},Gre=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]),Kre=function(){function e(e){this.toHash=new Uint8Array,e!==void 0&&(this.key=new Promise(function(t,n){u().crypto.subtle.importKey(`raw`,I9(e),F9,!1,[`sign`]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!N9(e)){var t=I9(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return u().crypto.subtle.sign(F9,t,e.toHash).then(function(e){return new Uint8Array(e)})}):N9(this.toHash)?Promise.resolve(Gre):Promise.resolve().then(function(){return u().crypto.subtle.digest(P9,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array},e}();function I9(e){return typeof e==`string`?oe(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var qre=function(){function e(e){if(ie(u()))this.hash=new Kre(e);else throw Error(`SHA1 not supported`)}return e.prototype.update=function(e,t){this.hash.update(ae(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),L9=class e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&R9(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&R9(e),parseInt(ne(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};function R9(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var Jre=class{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(L9.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!iie.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(ee(e.value.replace(/\-/g,``)),1),u}}parse(e){let t={},n=0;for(;n{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),gie=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})},_ie=class{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new mie({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=vie(e)?hie(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return typeof ReadableStream==`function`?gie(n):n}},vie=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream,yie=e=>new _ie(e);async function bie(e,t,n=1024*1024){let r=e.size,i=0;for(;i{n.update(e)}),n.digest()},Sie=[1732584193,4023233417,2562383102,271733878],Cie=class{state;buffer;bufferLength;bytesHashed;finished;constructor(){this.reset()}update(e){if(wie(e))return;if(this.finished)throw Error(`Attempted to update an already finished hash.`);let t=Tie(e),n=0,{byteLength:r}=t;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===64&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:n}=this,r=n*8;if(e.setUint8(this.bufferLength++,128),t%64>=56){for(let t=this.bufferLength;t<64;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<56;t++)e.setUint8(t,0);e.setUint32(56,r>>>0,!0),e.setUint32(60,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(16));for(let t=0;t<4;t++)e.setUint32(t*4,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,n=t[0],r=t[1],i=t[2],a=t[3];n=W9(n,r,i,a,e.getUint32(0,!0),7,3614090360),a=W9(a,n,r,i,e.getUint32(4,!0),12,3905402710),i=W9(i,a,n,r,e.getUint32(8,!0),17,606105819),r=W9(r,i,a,n,e.getUint32(12,!0),22,3250441966),n=W9(n,r,i,a,e.getUint32(16,!0),7,4118548399),a=W9(a,n,r,i,e.getUint32(20,!0),12,1200080426),i=W9(i,a,n,r,e.getUint32(24,!0),17,2821735955),r=W9(r,i,a,n,e.getUint32(28,!0),22,4249261313),n=W9(n,r,i,a,e.getUint32(32,!0),7,1770035416),a=W9(a,n,r,i,e.getUint32(36,!0),12,2336552879),i=W9(i,a,n,r,e.getUint32(40,!0),17,4294925233),r=W9(r,i,a,n,e.getUint32(44,!0),22,2304563134),n=W9(n,r,i,a,e.getUint32(48,!0),7,1804603682),a=W9(a,n,r,i,e.getUint32(52,!0),12,4254626195),i=W9(i,a,n,r,e.getUint32(56,!0),17,2792965006),r=W9(r,i,a,n,e.getUint32(60,!0),22,1236535329),n=G9(n,r,i,a,e.getUint32(4,!0),5,4129170786),a=G9(a,n,r,i,e.getUint32(24,!0),9,3225465664),i=G9(i,a,n,r,e.getUint32(44,!0),14,643717713),r=G9(r,i,a,n,e.getUint32(0,!0),20,3921069994),n=G9(n,r,i,a,e.getUint32(20,!0),5,3593408605),a=G9(a,n,r,i,e.getUint32(40,!0),9,38016083),i=G9(i,a,n,r,e.getUint32(60,!0),14,3634488961),r=G9(r,i,a,n,e.getUint32(16,!0),20,3889429448),n=G9(n,r,i,a,e.getUint32(36,!0),5,568446438),a=G9(a,n,r,i,e.getUint32(56,!0),9,3275163606),i=G9(i,a,n,r,e.getUint32(12,!0),14,4107603335),r=G9(r,i,a,n,e.getUint32(32,!0),20,1163531501),n=G9(n,r,i,a,e.getUint32(52,!0),5,2850285829),a=G9(a,n,r,i,e.getUint32(8,!0),9,4243563512),i=G9(i,a,n,r,e.getUint32(28,!0),14,1735328473),r=G9(r,i,a,n,e.getUint32(48,!0),20,2368359562),n=K9(n,r,i,a,e.getUint32(20,!0),4,4294588738),a=K9(a,n,r,i,e.getUint32(32,!0),11,2272392833),i=K9(i,a,n,r,e.getUint32(44,!0),16,1839030562),r=K9(r,i,a,n,e.getUint32(56,!0),23,4259657740),n=K9(n,r,i,a,e.getUint32(4,!0),4,2763975236),a=K9(a,n,r,i,e.getUint32(16,!0),11,1272893353),i=K9(i,a,n,r,e.getUint32(28,!0),16,4139469664),r=K9(r,i,a,n,e.getUint32(40,!0),23,3200236656),n=K9(n,r,i,a,e.getUint32(52,!0),4,681279174),a=K9(a,n,r,i,e.getUint32(0,!0),11,3936430074),i=K9(i,a,n,r,e.getUint32(12,!0),16,3572445317),r=K9(r,i,a,n,e.getUint32(24,!0),23,76029189),n=K9(n,r,i,a,e.getUint32(36,!0),4,3654602809),a=K9(a,n,r,i,e.getUint32(48,!0),11,3873151461),i=K9(i,a,n,r,e.getUint32(60,!0),16,530742520),r=K9(r,i,a,n,e.getUint32(8,!0),23,3299628645),n=q9(n,r,i,a,e.getUint32(0,!0),6,4096336452),a=q9(a,n,r,i,e.getUint32(28,!0),10,1126891415),i=q9(i,a,n,r,e.getUint32(56,!0),15,2878612391),r=q9(r,i,a,n,e.getUint32(20,!0),21,4237533241),n=q9(n,r,i,a,e.getUint32(48,!0),6,1700485571),a=q9(a,n,r,i,e.getUint32(12,!0),10,2399980690),i=q9(i,a,n,r,e.getUint32(40,!0),15,4293915773),r=q9(r,i,a,n,e.getUint32(4,!0),21,2240044497),n=q9(n,r,i,a,e.getUint32(32,!0),6,1873313359),a=q9(a,n,r,i,e.getUint32(60,!0),10,4264355552),i=q9(i,a,n,r,e.getUint32(24,!0),15,2734768916),r=q9(r,i,a,n,e.getUint32(52,!0),21,1309151649),n=q9(n,r,i,a,e.getUint32(16,!0),6,4149444226),a=q9(a,n,r,i,e.getUint32(44,!0),10,3174756917),i=q9(i,a,n,r,e.getUint32(8,!0),15,718787259),r=q9(r,i,a,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=a+t[3]&4294967295}reset(){this.state=Uint32Array.from(Sie),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}};function U9(e,t,n,r,i,a){return t=(t+e&4294967295)+(r+a&4294967295)&4294967295,(t<>>32-i)+n&4294967295}function W9(e,t,n,r,i,a,o){return U9(t&n|~t&r,e,t,i,a,o)}function G9(e,t,n,r,i,a,o){return U9(t&r|n&~r,e,t,i,a,o)}function K9(e,t,n,r,i,a,o){return U9(t^n^r,e,t,i,a,o)}function q9(e,t,n,r,i,a,o){return U9(n^(t|~r),e,t,i,a,o)}function wie(e){return typeof e==`string`?e.length===0:e.byteLength===0}function Tie(e){return typeof e==`string`?se(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var Eie=e=>({apiVersion:`2006-03-01`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??w3,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??Ke,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??O3,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new ba},{schemeId:`aws.auth#sigv4a`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4a`),signer:new xa}],logger:e?.logger??new ia,protocol:e?.protocol??l0,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.s3`,errorTypeRegistries:Wne,xmlNamespace:`http://s3.amazonaws.com/doc/2006-03-01/`,version:`2006-03-01`,serviceTarget:`AmazonS3`},sdkStreamMixin:e?.sdkStreamMixin??at,serviceId:e?.serviceId??`S3`,signerConstructor:e?.signerConstructor??f0,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??ht,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),Die=e=>{let t=Ba(e),n=()=>t().then(Yi),r=Eie(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ra,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Pa({serviceId:r.serviceId,clientVersion:Wre.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??yie,maxAttempts:e?.maxAttempts??3,md5:e?.md5??Cie,region:e?.region??Ia(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Hr),sha1:e?.sha1??qre,sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,streamHasher:e?.streamHasher??xie,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},Oie=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},kie=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Aie=(e,t)=>{let n=Object.assign(kR(e),ta(e),de(e),Oie(e));return t.forEach(e=>e.configure(n)),Object.assign(e,AR(n),na(n),fe(n),kie(n))},jie=class extends Hi{config;constructor(...[e]){let t=Die(e||{});super(t),this.initConfig=t,this.config=Aie(X1(k3(u0(Pi(ye(hi(Ii(D1(Xn(A3(t))))))))),{session:[()=>this,Ure]}),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(ui(this.config)),this.middlewareStack.use(pa(this.config)),this.middlewareStack.use(yi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:T3,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use(Le(this.config)),this.middlewareStack.use(c0(this.config)),this.middlewareStack.use(g1(this.config)),this.middlewareStack.use(M1(this.config)),this.middlewareStack.use(W1(this.config)),this.middlewareStack.use(Y1(this.config))}destroy(){super.destroy()}},J9=`ap-southeast-2`,Y9=`${window.location.protocol}//localhost:9999`,Mie=`${window.location.protocol}//localhost:8443`,X9=null,Z9=null,Q9=null,$9=null;function Nie(){if(!X9){let e=n();if(!e)throw Error(`AWS credentials not configured`);X9=new PR({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),X9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return X9}function Pie(){if(!Z9){let e=n();if(!e)throw Error(`AWS credentials not configured`);Z9=new mJ({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),Z9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return Z9}function Fie(){if(!Q9){let e=n();if(!e)throw Error(`AWS credentials not configured`);Q9=new p1({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),Q9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return Q9}function Iie(){if(!$9){let e=n();if(!e)throw Error(`AWS credentials not configured`);$9=new jie({endpoint:Mie,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey},forcePathStyle:!0}),$9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&t.request.path.endsWith(`/`)&&t.request.path!==`/`&&(t.request.path=t.request.path.slice(0,-1)),e(t)),{step:`build`,name:`removeTrailingSlash`}),$9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/s3${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return $9}function Lie(){X9=null,Z9=null,Q9=null,$9=null}export{iJ as $,TR as $t,Q$ as A,nR as At,bJ as B,fR as Bt,y1 as C,YL as Ct,Y$ as D,$L as Dt,J$ as E,QL as Et,r1 as F,sR as Ft,Xq as G,_R as Gt,qq as H,mR as Ht,i1 as I,cR as It,$q as J,bR as Jt,Zq as K,vR as Kt,a1 as L,lR as Lt,e1 as M,rR as Mt,t1 as N,aR as Nt,X$ as O,eR as Ot,n1 as P,oR as Pt,rJ as Q,wR as Qt,o1 as R,uR as Rt,_1 as S,JL as St,q$ as T,ZL as Tt,Jq as U,hR as Ut,Kq as V,pR as Vt,Yq as W,gR as Wt,tJ as X,SR as Xt,eJ as Y,xR as Yt,nJ as Z,CR as Zt,j3 as _,UL as _t,Iie as a,ki as an,jL as at,x1 as b,KL as bt,Nre as c,Fn as cn,PL as ct,Lre as d,Je as dn,LL as dt,ER as en,aJ as et,Rre as f,Ge as fn,RL as ft,Hre as g,HL as gt,Vre as h,ue as hn,VL as ht,Fie as i,Ni as in,BR as it,$$ as j,iR as jt,Z$ as k,tR as kt,Pre as l,Qt as ln,FL as lt,Bre as m,ge as mn,BL as mt,Nie as n,ia as nn,sJ as nt,jre as o,Oi as on,ML as ot,zre as p,Ue as pn,zL as pt,Qq as q,yR as qt,Pie as r,Gi as rn,cJ as rt,Mre as s,Br as sn,NL as st,Lie as t,Ma as tn,oJ as tt,Ire as u,lt as un,IL as ut,n0 as v,WL as vt,K$ as w,XL as wt,C1 as x,qL as xt,w1 as y,GL as yt,s1 as z,dR as zt}; \ No newline at end of file +`),Gt={warn:console.warn},Kt=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],qt=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function Jt(e){let t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),o=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,l=a<10?`0${a}`:`${a}`,u=o<10?`0${o}`:`${o}`,d=s<10?`0${s}`:`${s}`;return`${Kt[r]}, ${c} ${qt[n]} ${t} ${l}:${u}:${d} GMT`}var Yt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Xt=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Zt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Qt=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC-7231 date-times must be expressed as strings`);let t=Yt.exec(e);if(t){let[e,n,r,i,a,o,s,c]=t;return $t(Ht(sn(i)),en(r),an(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c})}if(t=Xt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return ree($t(tee(i),en(r),an(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c}))}if(t=Zt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return $t(Ht(sn(c)),en(n),an(r.trimLeft(),`day`,1,31),{hours:i,minutes:a,seconds:o,fractionalMilliseconds:s})}throw TypeError(`Invalid RFC-7231 date-time value`)},$t=(e,t,n,r)=>{let i=t-1;return nn(e,i,n),new Date(Date.UTC(e,i,n,an(r.hours,`hour`,0,23),an(r.minutes,`minute`,0,59),an(r.seconds,`seconds`,0,60),on(r.fractionalMilliseconds)))},tee=e=>{let t=new Date().getUTCFullYear(),n=Math.floor(t/100)*100+Ht(sn(e));return ne.getTime()-new Date().getTime()>nee?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,en=e=>{let t=qt.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},tn=[31,28,31,30,31,30,31,31,30,31,30,31],nn=(e,t,n)=>{let r=tn[t];if(t===1&&rn(e)&&(r=29),n>r)throw TypeError(`Invalid day for ${qt[t]} in ${e}: ${n}`)},rn=e=>e%4==0&&(e%100!=0||e%400==0),an=(e,t,n,r)=>{let i=Ut(sn(e));if(ir)throw TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},on=e=>e==null?0:zt(`0.`+e)*1e3,sn=e=>{let t=0;for(;tt.toString(16).padStart(2,`0`)),un=()=>{if(cn)return cn();let e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128,ln[e[0]]+ln[e[1]]+ln[e[2]]+ln[e[3]]+`-`+ln[e[4]]+ln[e[5]]+`-`+ln[e[6]]+ln[e[7]]+`-`+ln[e[8]]+ln[e[9]]+`-`+ln[e[10]]+ln[e[11]]+ln[e[12]]+ln[e[13]]+ln[e[14]]+ln[e[15]]},dn=function(e){return Object.assign(new String(e),{deserializeJSON(){return JSON.parse(String(e))},toString(){return String(e)},toJSON(){return String(e)}})};dn.from=e=>e&&typeof e==`object`&&(e instanceof dn||`deserializeJSON`in e)?e:typeof e==`string`||Object.getPrototypeOf(e)===String.prototype?dn(String(e)):dn(JSON.stringify(e)),dn.fromObject=dn.from;function fn(e){return(e.includes(`,`)||e.includes(`"`))&&(e=`"${e.replace(/"/g,`\\"`)}"`),e}var pn=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`,mn=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`,hn=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`,gn=`(\\d?\\d)`,_n=`(\\d{4})`,vn=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),yn=RegExp(`^${pn}, ${gn} ${mn} ${_n} ${hn} GMT$`),bn=RegExp(`^${pn}, ${gn}-${mn}-(\\d\\d) ${hn} GMT$`),xn=RegExp(`^${pn} ${mn} ( [1-9]|\\d\\d) ${hn} ${_n}$`),Sn=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Cn=e=>{if(e==null)return;let t=NaN;if(typeof e==`number`)t=e;else if(typeof e==`string`){if(!/^-?\d*\.?\d+$/.test(e))throw TypeError(`parseEpochTimestamp - numeric string invalid.`);t=Number.parseFloat(e)}else typeof e==`object`&&e.tag===1&&(t=e.value);if(isNaN(t)||Math.abs(t)===1/0)throw TypeError(`Epoch timestamps must be valid finite numbers.`);return new Date(Math.round(t*1e3))},wn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC3339 timestamps must be strings`);let t=vn.exec(e);if(!t)throw TypeError(`Invalid RFC3339 timestamp format ${e}`);let[,n,r,i,a,o,s,,c,l]=t;En(r,1,12),En(i,1,31),En(a,0,23),En(o,0,59),En(s,0,60);let u=new Date(Date.UTC(Number(n),Number(r)-1,Number(i),Number(a),Number(o),Number(s),Number(c)?Math.round(parseFloat(`0.${c}`)*1e3):0));if(u.setUTCFullYear(Number(n)),l.toUpperCase()!=`Z`){let[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,`+`,0,0],r=e===`-`?1:-1;u.setTime(u.getTime()+r*(Number(t)*60*60*1e3+Number(n)*60*1e3))}return u},Tn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC7231 timestamps must be strings.`);let t,n,r,i,a,o,s,c;if((c=yn.exec(e))?[,t,n,r,i,a,o,s]=c:(c=bn.exec(e))?([,t,n,r,i,a,o,s]=c,r=(Number(r)+1900).toString()):(c=xn.exec(e))&&([,n,t,i,a,o,s,r]=c),r&&o){let e=Date.UTC(Number(r),Sn.indexOf(n),Number(t),Number(i),Number(a),Number(o),s?Math.round(parseFloat(`0.${s}`)*1e3):0);En(t,1,31),En(i,0,23),En(a,0,59),En(o,0,60);let c=new Date(e);return c.setUTCFullYear(Number(r)),c}throw TypeError(`Invalid RFC7231 date-time value ${e}.`)};function En(e,t,n){let r=Number(e);if(rn)throw Error(`Value ${r} out of range [${t}, ${n}]`)}function Dn(e,t,n){if(n<=0||!Number.isInteger(n))throw Error(`Invalid number of delimiters (`+n+`) for splitEvery.`);let r=e.split(t);if(n===1)return r;let i=[],a=``;for(let e=0;e{let t=e.length,n=[],r=!1,i,a=0;for(let o=0;o{e=e.trim();let t=e.length;return t<2?e:(e[0]===`"`&&e[t-1]===`"`&&(e=e.slice(1,t-1)),e.replace(/\\"/g,`"`))})},kn=/^-?\d*(\.\d+)?$/,An=class e{string;type;constructor(e,t){if(this.string=e,this.type=t,!kn.test(e))throw Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||typeof t!=`object`)return!1;let n=t;return e.prototype.isPrototypeOf(t)||n.type===`bigDecimal`&&kn.test(n.string)}},jn=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Mn=`modulepreload`,Nn=function(e){return`/`+e},Pn={},Fn=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Nn(t,n),t in Pn)return;Pn[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Mn,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},In=class extends jn{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=At.for(e.defaultNamespace);for(let t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return i}getResponseType(){return ge}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if(`url`in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||={};for(let[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(let[n,r]of Object.entries(t.headers))e.headers[n]=r.join(`, `);return e}else{if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let[n,r]of Object.entries(t.headers))e.headers[n]=r;return e}}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;let r=Et.of(t.input),i=St(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if(typeof t==`string`){let i=[...r.structIterator()].filter(([,e])=>e.getMergedTraits().hostLabel);for(let[e]of i){let r=n[e];if(typeof r!=`string`)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers[`x-amzn-requestid`]??e.headers[`x-amzn-request-id`]??e.headers[`x-amz-request-id`],extendedRequestId:e.headers[`x-amz-id-2`],cfId:e.headers[`x-amz-cf-id`]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){let{EventStreamSerde:e}=await Fn(async()=>{let{EventStreamSerde:e}=await import(`./event-streams.js`);return{EventStreamSerde:e}},__vite__mapDeps([0,1,2]));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error(`@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.`);return e.eventStreamMarshaller}},Ln=class extends In{async serializeRequest(e,t,n){let r=t&&typeof t==`object`?t:{},a=this.serializer,o={},s={},c=await n.endpoint(),l=Et.of(e?.input),u=[],d=[],ee=!1,te,f=new i({protocol:``,hostname:``,port:void 0,path:``,fragment:void 0,query:o,headers:s,body:void 0});if(c){this.updateServiceEndpoint(f,c),this.setHostPrefix(f,e,r);let t=St(e.traits);if(t.http){f.method=t.http[0];let[e,n]=t.http[1].split(`?`);f.path==`/`?f.path=e:f.path+=e;let r=new URLSearchParams(n??``);Object.assign(o,Object.fromEntries(r))}}for(let[e,t]of l.structIterator()){let n=t.getMergedTraits()??{},i=r[e];if(i==null&&!t.isIdempotencyToken()){if(n.httpLabel&&(f.path.includes(`{${e}+}`)||f.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`);continue}if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(te=await this.serializeEventStream({eventStream:r[e],requestSchema:l})):te=i:(a.write(t,i),te=a.flush());else if(n.httpLabel){a.write(t,i);let n=a.flush();f.path.includes(`{${e}+}`)?f.path=f.path.replace(`{${e}+}`,n.split(`/`).map(lt).join(`/`)):f.path.includes(`{${e}}`)&&(f.path=f.path.replace(`{${e}}`,lt(n)))}else if(n.httpHeader)a.write(t,i),s[n.httpHeader.toLowerCase()]=String(a.flush());else if(typeof n.httpPrefixHeaders==`string`)for(let[e,r]of Object.entries(i)){let i=n.httpPrefixHeaders+e;a.write([t.getValueSchema(),{httpHeader:i}],r),s[i.toLowerCase()]=a.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,i,o):(ee=!0,u.push(e),d.push(t))}if(ee&&r){let[e,t]=(l.getName(!0)??`#Unknown`).split(`#`),n=l.getSchema()[6],i=[3,e,t,l.getMergedTraits(),u,d,void 0];n?i[6]=n:i.pop(),a.write(i,r),te=a.flush()}return f.headers=s,f.query=o,f.body=te,f}serializeQuery(e,t,n){let r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let[r,a]of Object.entries(t))if(!(r in n)){let t=e.getValueSchema();Object.assign(t.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(t,a,n)}return}if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,o=[];for(let n of t){r.write([e.getValueSchema(),i],n);let t=r.flush();(a||t!==void 0)&&o.push(t)}n[i.httpQuery]=o}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - HTTP Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=await this.deserializeHttpMessage(i,t,n,a);if(o.length){let e=await ct(n.body,t);if(e.byteLength>0){let t=await r.read(i,e);for(let e of o)t[e]!=null&&(a[e]=t[e])}}else o.discardResponseBody&&await ct(n.body,t);return a.$metadata=this.deserializeMetadata(n),a}async deserializeHttpMessage(e,t,n,r,i){let a;a=r instanceof Set?i:r;let o=!0,s=this.deserializer,c=Et.of(e),l=[];for(let[e,r]of c.structIterator()){let i=r.getMemberTraits();if(i.httpPayload){if(o=!1,r.isStreaming())r.isStructSchema()?a[e]=await this.deserializeEventStream({response:n,responseSchema:c}):a[e]=at(n.body);else if(n.body){let i=await ct(n.body,t);i.byteLength>0&&(a[e]=await s.read(r,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),o=n.headers[t];if(o!=null)if(r.isListSchema()){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t;let i;i=n.isTimestampSchema()&&n.getSchema()===4?Dn(o,`,`,2):On(o);let c=[];for(let e of i)c.push(await s.read(n,e.trim()));a[e]=c}else a[e]=await s.read(r,o)}else if(i.httpPrefixHeaders!==void 0){a[e]={};for(let[t,o]of Object.entries(n.headers))if(t.startsWith(i.httpPrefixHeaders)){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(n,o)}}else i.httpResponseCode?a[e]=n.statusCode:l.push(e)}return l.discardResponseBody=o,l}},Rn=class extends In{async serializeRequest(e,t,n){let r=this.serializer,a={},o={},s=await n.endpoint(),c=Et.of(e?.input),l=c.getSchema(),u,d=t&&typeof t==`object`?t:{},ee=new i({protocol:``,hostname:``,port:void 0,path:`/`,fragment:void 0,query:a,headers:o,body:void 0});if(s&&(this.updateServiceEndpoint(ee,s),this.setHostPrefix(ee,e,d)),d){let e=c.getEventStreamMember();if(e){if(d[e]){let t={};for(let[n,i]of c.structIterator())n!==e&&d[n]&&(r.write(i,d[n]),t[n]=r.flush());u=await this.serializeEventStream({eventStream:d[e],requestSchema:c,initialRequest:t})}}else r.write(l,d),u=r.flush()}return ee.headers=Object.assign(ee.headers,o),ee.query=a,ee.body=u,ee.method=`POST`,ee}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - RPC Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=i.getEventStreamMember();if(o)a[o]=await this.deserializeEventStream({response:n,responseSchema:i,initialResponseContainer:a});else{let e=await ct(n.body,t);e.byteLength>0&&Object.assign(a,await r.read(i,e))}return a.$metadata=this.deserializeMetadata(n),a}};function zn(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7))return e.getSchema();let{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?typeof r==`string`||i?6:a||n?5:void 0:void 0)??t.timestampFormat.default}var Bn=class extends jn{settings;constructor(e){super(),this.settings=e}read(e,t){let n=Et.of(e);if(n.isListSchema())return On(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??He)(t);if(n.isTimestampSchema())switch(zn(n,this.settings)){case 5:return wn(t);case 6:return Tn(t);case 7:return Cn(t);default:return console.warn(`Missing timestamp format, parsing value with Date constructor:`,t),new Date(t)}if(n.isStringSchema()){let e=n.getMergedTraits().mediaType,r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),(e===`application/json`||e.endsWith(`+json`))&&(r=dn.from(r)),r}return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new An(t,`bigDecimal`):n.isBooleanSchema()?String(t).toLowerCase()===`true`:t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??ce)((this.serdeContext?.base64Decoder??He)(e))}},Vn=class extends jn{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new Bn(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let n=Et.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??ce;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??se;return typeof t==`string`?e(t):t}else if(n.isStringSchema())return`byteLength`in t?i(t):t}return this.codecDeserializer.read(n,t)}},Hn=class extends jn{settings;stringBuffer=``;constructor(e){super(),this.settings=e}write(e,t){let n=Et.of(e);switch(typeof t){case`object`:if(t===null){this.stringBuffer=`null`;return}if(n.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(zn(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(`.000Z`,`Z`);break;case 6:this.stringBuffer=Jt(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using epoch seconds`,t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&`byteLength`in t){this.stringBuffer=(this.serdeContext?.base64Encoder??Ue)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e=``;for(let r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);let t=this.flush(),i=n.getValueSchema().isTimestampSchema()?t:fn(t);e!==``&&(e+=`, `),e+=i}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case`string`:let e=n.getMergedTraits().mediaType,r=t;if(e&&((e===`application/json`||e.endsWith(`+json`))&&(r=dn.from(r)),n.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??Ue)(r.toString());return}this.stringBuffer=t;break;default:n.isIdempotencyToken()?this.stringBuffer=un():this.stringBuffer=String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer=``,e}},Un=class{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new Hn(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let n=Et.of(e),r=n.getMergedTraits();if(r.httpHeader||r.httpLabel||r.httpQuery){this.stringSerializer.write(n,t),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==void 0){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}};function Wn(e,t,n){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features[t]=n}var Gn=class{authSchemes=new Map;constructor(e){for(let[t,n]of Object.entries(e))n!==void 0&&this.authSchemes.set(t,n)}getIdentityProvider(e){return this.authSchemes.get(e)}},Kn=(e=>function(t){return qn(t)&&t.expiration.getTime()-Date.now()e.expiration!==void 0,Jn=(e,t,n)=>{if(e===void 0)return;let r=typeof e==`function`?e:async()=>Promise.resolve(e),i,a,o,s=!1,c=async e=>{a||=r(e);try{i=await a,o=!0,s=!1}finally{a=void 0}return i};return t===void 0?async e=>((!o||e?.forceRefresh)&&(i=await c(e)),i):async e=>((!o||e?.forceRefresh)&&(i=await c(e)),s?i:n(i)?(t(i)&&await c(e),i):(s=!0,i))};function Yn(e){return e===void 0?!0:typeof e==`string`&&e.length<=50}function Xn(e){let t=Re(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:typeof n==`string`?[[n]]:n,userAgentAppId:async()=>{let n=await t();if(!Yn(n)){let t=e.logger?.constructor?.name===`NoOpLogger`||!e.logger?console:e.logger;typeof n==`string`?n.length>50&&t?.warn(`The provided userAgentAppId exceeds the maximum length of 50 characters.`):t?.warn(`userAgentAppId must be a string or undefined.`)}return n}})}var Zn=class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let n=this.hash(e);if(n===!1)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t=``,{parameters:n}=this;if(n.length===0)return!1;for(let r of n){let n=String(e[r]??``);if(n.includes(`|;`))return!1;t+=n+`|;`}return t}},Qn=class extends Error{constructor(e){super(e),this.name=`EndpointError`}},$n=`endpoints`;function er(e){return typeof e!=`object`||!e?e:`ref`in e?`$${er(e.ref)}`:`fn`in e?`${e.fn}(${(e.argv||[]).map(er).join(`, `)})`:JSON.stringify(e,null,2)}var tr={},nr=(e,t)=>e===t;function rr(...e){for(let t of e)if(t!=null)return t}var ir=e=>{let t=e.split(`.`),n=[];for(let r of t){let t=r.indexOf(`[`);if(t!==-1){if(r.indexOf(`]`)!==r.length-1)throw new Qn(`Path: '${e}' does not end with ']'`);let i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new Qn(`Invalid array index: '${i}' in path: '${e}'`);t!==0&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n},ar=(e,t)=>ir(t).reduce((n,r)=>{if(typeof n!=`object`)throw new Qn(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(n)){let e=parseInt(r);return n[e<0?n.length+e:e]}return n[r]},e),or=e=>e!=null,sr=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),cr=(e,t=!1)=>{if(!t)return sr.test(e);let n=e.split(`.`);for(let e of n)if(!cr(e))return!1;return!0};function lr(e,t,n){return e?t:n}var ur=e=>!e,dr=RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`),fr=e=>dr.test(e)||e.startsWith(`[`)&&e.endsWith(`]`),pr={[pe.HTTP]:80,[pe.HTTPS]:443},mr=e=>{let t=(()=>{try{if(e instanceof URL)return e;if(typeof e==`object`&&`hostname`in e){let{hostname:t,port:n,protocol:r=``,path:i=``,query:a={}}=e,o=new URL(`${r}//${t}${n?`:${n}`:``}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`&`),o}return new URL(e)}catch{return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:r,hostname:i,pathname:a,protocol:o,search:s}=t;if(s)return null;let c=o.slice(0,-1);if(!Object.values(pe).includes(c))return null;let l=fr(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${pr[c]}`)||typeof e==`string`&&e.includes(`${r}:${pr[c]}`)?`:${pr[c]}`:``}`,path:a,normalizedPath:a.endsWith(`/`)?a:`${a}/`,isIp:l}};function hr(e,t,n){if(n===1)return[e];if(e===``)return[``];let r=e.split(t);return n===0?r:r.slice(0,n-1).concat(r.slice(1).join(t))}var gr={booleanEquals:nr,coalesce:rr,getAttr:ar,isSet:or,isValidHostLabel:cr,ite:lr,not:ur,parseURL:mr,split:hr,stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>e==null||t>=n||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},_r=(e,t)=>{let n=[],{referenceRecord:r,endpointParams:i}=t,a=0;for(;at.referenceRecord[e]??t.endpointParams[e],yr=(e,t,n)=>{if(typeof e==`string`)return _r(e,n);if(e.fn)return xr.callFunction(e,n);if(e.ref)return vr(e,n);throw new Qn(`'${t}': ${String(e)} is not a string, function or reference.`)},br=({fn:e,argv:t},n)=>{let r=Array(t.length);for(let e=0;e{if(e&&e in n.referenceRecord)throw new Qn(`'${e}' is already defined in Reference Record.`);let r=br(t,n);return n.logger?.debug?.(`${$n} evaluateCondition: ${er(t)} = ${er(r)}`),{result:r===``?!0:!!r,...e!=null&&{toAssign:{name:e,value:r}}}},Cr=(e,t)=>Object.entries(e??{}).reduce((e,[n,r])=>({...e,[n]:r.map(e=>{let r=yr(e,`Header value entry`,t);if(typeof r!=`string`)throw new Qn(`Header '${n}' value '${r}' is not a string`);return r})}),{}),wr=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:Er.getEndpointProperty(r,t)}),{}),Tr=(e,t)=>{if(Array.isArray(e))return e.map(e=>Tr(e,t));switch(typeof e){case`string`:return _r(e,t);case`object`:if(e===null)throw new Qn(`Unexpected endpoint property: ${e}`);return Er.getEndpointProperties(e,t);case`boolean`:return e;default:throw new Qn(`Unexpected endpoint property type: ${typeof e}`)}},Er={getEndpointProperty:Tr,getEndpointProperties:wr},Dr=(e,t)=>{let n=yr(e,`Endpoint URL`,t);if(typeof n==`string`)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new Qn(`Endpoint URL must be a string, got ${typeof n}`)},Or=(e=[],t)=>{let n={};for(let r of e){let{result:e,toAssign:i}=Sr(r,{...t,referenceRecord:{...t.referenceRecord,...n}});if(!e)return{result:e};i&&(n[i.name]=i.value,t.logger?.debug?.(`${$n} assign: ${i.name} := ${er(i.value)}`))}return{result:!0,referenceRecord:n}},kr=(e,t)=>{let{conditions:n,endpoint:r}=e,{result:i,referenceRecord:a}=Or(n,t);if(!i)return;let o={...t,referenceRecord:{...t.referenceRecord,...a}},{url:s,properties:c,headers:l}=r;return t.logger?.debug?.(`${$n} Resolving endpoint from template: ${er(r)}`),{...l!=null&&{headers:Cr(l,o)},...c!=null&&{properties:wr(c,o)},url:Dr(s,o)}},Ar=(e,t)=>{let{conditions:n,error:r}=e,{result:i,referenceRecord:a}=Or(n,t);if(i)throw new Qn(yr(r,`Error`,{...t,referenceRecord:{...t.referenceRecord,...a}}))},jr=(e,t)=>{for(let n of e)if(n.type===`endpoint`){let e=kr(n,t);if(e)return e}else if(n.type===`error`)Ar(n,t);else if(n.type===`tree`){let e=Mr.evaluateTreeRule(n,t);if(e)return e}else throw new Qn(`Unknown endpoint rule: ${n}`);throw new Qn(`Rules evaluation failed`)},Mr={evaluateRules:jr,evaluateTreeRule:(e,t)=>{let{conditions:n,rules:r}=e,{result:i,referenceRecord:a}=Or(n,t);if(i)return Mr.evaluateRules(r,{...t,referenceRecord:{...t.referenceRecord,...a}})}},Nr=(e,t)=>{let{endpointParams:n,logger:r}=t,{parameters:i,rules:a}=e;t.logger?.debug?.(`${$n} Initial EndpointParams: ${er(n)}`);for(let e in i){let t=i[e],r=n[e];if(r==null&&t.default!=null){n[e]=t.default;continue}if(t.required&&r==null)throw new Qn(`Missing required parameter: '${e}'`)}let o=jr(a,{endpointParams:n,logger:r,referenceRecord:{}});return t.logger?.debug?.(`${$n} Resolved endpoint: ${er(o)}`),o},Pr=(e,t=!1)=>{if(t){for(let t of e.split(`.`))if(!Pr(t))return!1;return!0}return!(!cr(e)||e.length<3||e.length>63||e!==e.toLowerCase()||fr(e))},Fr=`:`,Ir=`/`,Lr=e=>{let t=e.split(Fr);if(t.length<6)return null;let[n,r,i,a,o,...s]=t;return n!==`arn`||r===``||i===``||s.join(Fr)===``?null:{partition:r,service:i,region:a,accountId:o,resourceId:s.map(e=>e.split(Ir)).flat()}},Rr={partitions:[{id:`aws`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-east-1`,name:`aws`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$`,regions:{"af-south-1":{description:`Africa (Cape Town)`},"ap-east-1":{description:`Asia Pacific (Hong Kong)`},"ap-east-2":{description:`Asia Pacific (Taipei)`},"ap-northeast-1":{description:`Asia Pacific (Tokyo)`},"ap-northeast-2":{description:`Asia Pacific (Seoul)`},"ap-northeast-3":{description:`Asia Pacific (Osaka)`},"ap-south-1":{description:`Asia Pacific (Mumbai)`},"ap-south-2":{description:`Asia Pacific (Hyderabad)`},"ap-southeast-1":{description:`Asia Pacific (Singapore)`},"ap-southeast-2":{description:`Asia Pacific (Sydney)`},"ap-southeast-3":{description:`Asia Pacific (Jakarta)`},"ap-southeast-4":{description:`Asia Pacific (Melbourne)`},"ap-southeast-5":{description:`Asia Pacific (Malaysia)`},"ap-southeast-6":{description:`Asia Pacific (New Zealand)`},"ap-southeast-7":{description:`Asia Pacific (Thailand)`},"aws-global":{description:`aws global region`},"ca-central-1":{description:`Canada (Central)`},"ca-west-1":{description:`Canada West (Calgary)`},"eu-central-1":{description:`Europe (Frankfurt)`},"eu-central-2":{description:`Europe (Zurich)`},"eu-north-1":{description:`Europe (Stockholm)`},"eu-south-1":{description:`Europe (Milan)`},"eu-south-2":{description:`Europe (Spain)`},"eu-west-1":{description:`Europe (Ireland)`},"eu-west-2":{description:`Europe (London)`},"eu-west-3":{description:`Europe (Paris)`},"il-central-1":{description:`Israel (Tel Aviv)`},"me-central-1":{description:`Middle East (UAE)`},"me-south-1":{description:`Middle East (Bahrain)`},"mx-central-1":{description:`Mexico (Central)`},"sa-east-1":{description:`South America (Sao Paulo)`},"us-east-1":{description:`US East (N. Virginia)`},"us-east-2":{description:`US East (Ohio)`},"us-west-1":{description:`US West (N. California)`},"us-west-2":{description:`US West (Oregon)`}}},{id:`aws-cn`,outputs:{dnsSuffix:`amazonaws.com.cn`,dualStackDnsSuffix:`api.amazonwebservices.com.cn`,implicitGlobalRegion:`cn-northwest-1`,name:`aws-cn`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^cn\\-\\w+\\-\\d+$`,regions:{"aws-cn-global":{description:`aws-cn global region`},"cn-north-1":{description:`China (Beijing)`},"cn-northwest-1":{description:`China (Ningxia)`}}},{id:`aws-eusc`,outputs:{dnsSuffix:`amazonaws.eu`,dualStackDnsSuffix:`api.amazonwebservices.eu`,implicitGlobalRegion:`eusc-de-east-1`,name:`aws-eusc`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eusc\\-(de)\\-\\w+\\-\\d+$`,regions:{"eusc-de-east-1":{description:`AWS European Sovereign Cloud (Germany)`}}},{id:`aws-iso`,outputs:{dnsSuffix:`c2s.ic.gov`,dualStackDnsSuffix:`api.aws.ic.gov`,implicitGlobalRegion:`us-iso-east-1`,name:`aws-iso`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-iso\\-\\w+\\-\\d+$`,regions:{"aws-iso-global":{description:`aws-iso global region`},"us-iso-east-1":{description:`US ISO East`},"us-iso-west-1":{description:`US ISO WEST`}}},{id:`aws-iso-b`,outputs:{dnsSuffix:`sc2s.sgov.gov`,dualStackDnsSuffix:`api.aws.scloud`,implicitGlobalRegion:`us-isob-east-1`,name:`aws-iso-b`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isob\\-\\w+\\-\\d+$`,regions:{"aws-iso-b-global":{description:`aws-iso-b global region`},"us-isob-east-1":{description:`US ISOB East (Ohio)`},"us-isob-west-1":{description:`US ISOB West`}}},{id:`aws-iso-e`,outputs:{dnsSuffix:`cloud.adc-e.uk`,dualStackDnsSuffix:`api.cloud-aws.adc-e.uk`,implicitGlobalRegion:`eu-isoe-west-1`,name:`aws-iso-e`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eu\\-isoe\\-\\w+\\-\\d+$`,regions:{"aws-iso-e-global":{description:`aws-iso-e global region`},"eu-isoe-west-1":{description:`EU ISOE West`}}},{id:`aws-iso-f`,outputs:{dnsSuffix:`csp.hci.ic.gov`,dualStackDnsSuffix:`api.aws.hci.ic.gov`,implicitGlobalRegion:`us-isof-south-1`,name:`aws-iso-f`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isof\\-\\w+\\-\\d+$`,regions:{"aws-iso-f-global":{description:`aws-iso-f global region`},"us-isof-east-1":{description:`US ISOF EAST`},"us-isof-south-1":{description:`US ISOF SOUTH`}}},{id:`aws-us-gov`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-gov-west-1`,name:`aws-us-gov`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-gov\\-\\w+\\-\\d+$`,regions:{"aws-us-gov-global":{description:`aws-us-gov global region`},"us-gov-east-1":{description:`AWS GovCloud (US-East)`},"us-gov-west-1":{description:`AWS GovCloud (US-West)`}}}],version:`1.1`},zr=``,iee=e=>{let{partitions:t}=Rr;for(let n of t){let{regions:t,outputs:r}=n;for(let[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(let n of t){let{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}let n=t.find(e=>e.id===`aws`);if(!n)throw Error(`Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.`);return{...n.outputs}},aee=()=>zr,Br={isVirtualHostableS3Bucket:Pr,parseArn:Lr,partition:iee};tr.aws=Br;function oee(e,t,n){return e.$source||={},e.$source[t]=n,e}function Vr(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}var Hr;(function(e){e.STANDARD=`standard`,e.ADAPTIVE=`adaptive`})(Hr||={});var Ur=Hr.STANDARD,see=[`BandwidthLimitExceeded`,`EC2ThrottledException`,`LimitExceededException`,`PriorRequestNotComplete`,`ProvisionedThroughputExceededException`,`RequestLimitExceeded`,`RequestThrottled`,`RequestThrottledException`,`SlowDown`,`ThrottledException`,`Throttling`,`ThrottlingException`,`TooManyRequestsException`,`TransactionInProgressException`],cee=[`TimeoutError`,`RequestTimeout`,`RequestTimeoutException`],lee=[500,502,503,504],uee=[`ECONNRESET`,`ECONNREFUSED`,`EPIPE`,`ETIMEDOUT`],dee=[`EHOSTUNREACH`,`ENETUNREACH`,`ENOTFOUND`],fee=e=>e?.$retryable!==void 0,Wr=e=>e.$metadata?.clockSkewCorrected,Gr=e=>{let t=new Set([`Failed to fetch`,`NetworkError when attempting to fetch resource`,`The Internet connection appears to be offline`,`Load failed`,`Network request failed`]);return e&&e instanceof TypeError?t.has(e.message):!1},Kr=e=>e.$metadata?.httpStatusCode===429||see.includes(e.name)||e.$retryable?.throttling==1,qr=(e,t=0)=>fee(e)||Wr(e)||cee.includes(e.name)||uee.includes(e?.code||``)||dee.includes(e?.code||``)||lee.includes(e.$metadata?.httpStatusCode||0)||Gr(e)||e.cause!==void 0&&t<=10&&qr(e.cause,t+1),Jr=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!qr(e)}return!1},Yr=class e{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();let n=e;if(n?.errorType===`THROTTLING`||Kr(n?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(t){if(this.enabled){if(this.refillTokenBucket(),t>this.availableTokens){let n=(t-this.availableTokens)/this.fillRate*1e3;await new Promise(t=>e.setTimeoutFn(t,n))}this.availableTokens-=t}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise((this.lastMaxRate*(1-this.beta)/this.scaleConstant)**(1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*(e-this.lastThrottleTime-this.timeWindow)**3+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(e*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}},Xr=20*1e3,Zr=`amz-sdk-invocation-id`,Qr=`amz-sdk-request`,$r=class e{static v2026=typeof process<`u`&&{}?.SMITHY_NEW_RETRIES_2026===`true`;static delay(){return e.v2026?50:100}static throttlingDelay(){return e.v2026?1e3:500}static cost(){return e.v2026?14:5}static throttlingCost(){return e.v2026?5:10}static modifiedCostType(){return e.v2026?`THROTTLING`:`TRANSIENT`}},ei=class{x=$r.delay();computeNextBackoffDelay(e){let t=Math.random()*Math.min(this.x*2**e,Xr);return Math.floor(t)}setDelayBase(e){this.x=e}},ti=class{delay;count;cost;longPoll;constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Xr,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}},ni=class{mode=Hr.STANDARD;capacity=500;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(e){typeof e==`number`?this.maxAttemptsProvider=async()=>e:typeof e==`function`?this.maxAttemptsProvider=e:e&&typeof e==`object`&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=$r.delay(),this.retryBackoffStrategy??=new ei}async acquireInitialRetryToken(e){return new ti($r.delay(),0,void 0,$r.v2026&&e.includes(`:longpoll`))}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts(),r=this.shouldRetry(e,t,n);if(r||e.isLongPoll?.()){let n=t.errorType;this.retryBackoffStrategy.setDelayBase(n===`THROTTLING`?$r.throttlingDelay():this.baseDelay);let i=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),a=i;if(t.retryAfterHint instanceof Date&&(a=Math.max(i,Math.min(t.retryAfterHint.getTime()-Date.now(),i+5e3))),r){let t=this.getCapacityCost(n);return this.capacity-=t,new ti(a,e.getRetryCount()+1,t,e.isLongPoll?.()??!1)}else throw Object.assign(Error(`No retry token available`),{$backoff:$r.v2026?a:0})}throw Error(`No retry token available`)}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of 3`),3}}shouldRetry(e,t,n){return e.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return e===$r.modifiedCostType()?$r.throttlingCost():$r.cost()}isRetryableError(e){return e===`THROTTLING`||e===`TRANSIENT`}async maxAttempts(){return this.maxAttemptsProvider()}},ri=class{mode=Hr.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:n}=t??{};this.rateLimiter=n??new Yr,this.standardRetryStrategy=t?new ni({maxAttempts:typeof e==`number`?e:3,...t}):new ni(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}},ii=/\d{12}\.ddb/;async function ai(e,t,n){if(n.request?.headers?.[`smithy-protocol`]===`rpc-v2-cbor`&&Vr(e,`PROTOCOL_RPC_V2_CBOR`,`M`),typeof t.retryStrategy==`function`){let n=await t.retryStrategy();if(typeof n.mode==`string`)switch(n.mode){case Hr.ADAPTIVE:Vr(e,`RETRY_MODE_ADAPTIVE`,`F`);break;case Hr.STANDARD:Vr(e,`RETRY_MODE_STANDARD`,`E`);break}}if(typeof t.accountIdEndpointMode==`function`){let n=e.endpointV2;switch(String(n?.url?.hostname).match(ii)&&Vr(e,`ACCOUNT_ID_ENDPOINT`,`O`),await t.accountIdEndpointMode?.()){case`disabled`:Vr(e,`ACCOUNT_ID_MODE_DISABLED`,`Q`);break;case`preferred`:Vr(e,`ACCOUNT_ID_MODE_PREFERRED`,`P`);break;case`required`:Vr(e,`ACCOUNT_ID_MODE_REQUIRED`,`R`);break}}let r=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){let t=r;t.accountId&&Vr(e,`RESOLVED_ACCOUNT_ID`,`T`);for(let[n,r]of Object.entries(t.$source??{}))Vr(e,n,r)}}var oi=`user-agent`,si=`x-amz-user-agent`,ci=/[^!$%&'*+\-.^_`|~\w]/g,li=/[^!$%&'*+\-.^_`|~\w#]/g,ui=1024;function di(e){let t=``;for(let n in e){let r=e[n];if(t.length+r.length+1<=ui){t.length?t+=`,`+r:t+=r;continue}break}return t}var fi=e=>(t,n)=>async r=>{let{request:a}=r;if(!i.isInstance(a))return t(r);let{headers:o}=a,s=n?.userAgent?.map(pi)||[],c=(await e.defaultUserAgentProvider()).map(pi);await ai(n,e,r);let l=n;c.push(`m/${di(Object.assign({},n.__smithy_context?.features,l.__aws_sdk_context?.features))}`);let u=e?.customUserAgent?.map(pi)||[],d=await e.userAgentAppId();d&&c.push(pi([`app`,`${d}`]));let ee=aee(),te=(ee?[ee]:[]).concat([...c,...s,...u]).join(` `),f=[...c.filter(e=>e.startsWith(`aws-sdk-`)),...u].join(` `);return e.runtime===`browser`?o[si]=te:(f&&(o[si]=o[`x-amz-user-agent`]?`${o[oi]} ${f}`:f),o[oi]=te),t({...r,request:a})},pi=e=>{let t=e[0].split(`/`).map(e=>e.replace(ci,`-`)).join(`/`),n=e[1]?.replace(li,`-`),r=t.indexOf(`/`),i=t.substring(0,r),a=t.substring(r+1);return i===`api`&&(a=a.toLowerCase()),[i,a,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},``)},mi={name:`getUserAgentMiddleware`,step:`build`,priority:`low`,tags:[`SET_USER_AGENT`,`USER_AGENT`],override:!0},hi=e=>({applyToStack:t=>{t.add(fi(e),mi)}}),gi=new Set,_i=(e,t=cr)=>{if(!gi.has(e)&&!t(e))if(e===`*`)console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`);else gi.add(e)},vi=e=>typeof e==`string`&&(e.startsWith(`fips-`)||e.endsWith(`-fips`)),yi=e=>vi(e)?[`fips-aws-global`,`aws-fips`].includes(e)?`us-east-1`:e.replace(/fips-(dkr-|prod-)?|-fips/,``):e,bi=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error(`Region is missing`);return Object.assign(e,{region:async()=>{let e=yi(typeof t==`function`?await t():t);return _i(e),e},useFipsEndpoint:async()=>vi(typeof t==`string`?t:await t())?!0:typeof n==`function`?n():Promise.resolve(!!n)})},xi=`content-length`;function Si(e){return t=>async n=>{let r=n.request;if(i.isInstance(r)){let{body:t,headers:n}=r;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(xi)===-1)try{let n=e(t);r.headers={...r.headers,[xi]:String(n)}}catch{}}return t({...n,request:r})}}var Ci={step:`build`,tags:[`SET_CONTENT_LENGTH`,`CONTENT_LENGTH`],name:`contentLengthMiddleware`,override:!0},wi=e=>({applyToStack:t=>{t.add(Si(e.bodyLengthChecker),Ci)}}),Ti=async e=>{let t=e?.Bucket||``;if(typeof e.Bucket==`string`&&(e.Bucket=t.replace(/#/g,`%23`).replace(/\?/g,`%3F`)),Ai(t)){if(e.ForcePathStyle===!0)throw Error(`Path-style addressing cannot be used with ARN buckets`)}else (!ki(t)||t.indexOf(`.`)!==-1&&!String(e.Endpoint).startsWith(`http:`)||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},Ei=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Di=/(\d+\.){3}\d+/,Oi=/\.\./,ki=e=>Ei.test(e)&&!Di.test(e)&&!Oi.test(e),Ai=e=>{let[t,n,r,,,i]=e.split(`:`),a=t===`arn`&&e.split(`:`).length>=6,o=!!(a&&n&&r&&i);if(a&&!o)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return o},ji=(e,t,n,r=!1)=>{let i=async()=>{let i;return i=r?n.clientContextParams?.[e]??n[e]??n[t]:n[e]??n[t],typeof i==`function`?i():i};return e===`credentialScope`||t===`CredentialScope`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:e===`accountId`||t===`AccountId`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.accountId??e?.AccountId}:e===`endpoint`||t===`endpoint`?async()=>{if(n.isCustomEndpoint===!1)return;let e=await i();if(e&&typeof e==`object`){if(`url`in e)return e.url.href;if(`hostname`in e){let{protocol:t,hostname:n,port:r,path:i}=e;return`${t}//${n}${r?`:`+r:``}${i}`}}return e}:i},Mi=async e=>void 0,Ni=e=>{if(typeof e==`object`){if(`url`in e){let t=ht(e.url);if(e.headers){t.headers={};for(let[n,r]of Object.entries(e.headers))t.headers[n.toLowerCase()]=r.join(`, `)}return t}return e}return ht(e)},Pi=async(e,t,n,r)=>{if(!n.isCustomEndpoint){let e;e=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await Mi(n.serviceId),e&&(n.endpoint=()=>Promise.resolve(Ni(e)),n.isCustomEndpoint=!0)}let i=await Fi(e,t,n);if(typeof n.endpointProvider!=`function`)throw Error(`config.endpointProvider is not set.`);let a=n.endpointProvider(i,r);if(n.isCustomEndpoint&&n.endpoint){let e=await n.endpoint();if(e?.headers){a.headers??={};for(let[t,n]of Object.entries(e.headers))a.headers[t]=Array.isArray(n)?n:[n]}}return a},Fi=async(e,t,n)=>{let r={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,a]of Object.entries(i))switch(a.type){case`staticContextParams`:r[t]=a.value;break;case`contextParams`:r[t]=e[a.name];break;case`clientContextParams`:case`builtInParams`:r[t]=await ji(a.name,t,n,a.type!==`builtInParams`)();break;case`operationContextParams`:r[t]=a.get(e);break;default:throw Error(`Unrecognized endpoint parameter instruction: `+JSON.stringify(a))}return Object.keys(i).length===0&&Object.assign(r,n),String(n.serviceId).toLowerCase()===`s3`&&await Ti(r),r},Ii=({config:e,instructions:t})=>(n,r)=>async i=>{e.isCustomEndpoint&&Wn(r,`ENDPOINT_OVERRIDE`,`N`);let a=await Pi(i.input,{getEndpointParameterInstructions(){return t}},{...e},r);r.endpointV2=a,r.authSchemes=a.properties?.authSchemes;let o=r.authSchemes?.[0];if(o){r.signing_region=o.signingRegion,r.signing_service=o.signingName;let e=_e(r)?.selectedHttpAuthScheme?.httpAuthOption;e&&(e.signingProperties=Object.assign(e.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return n({...i})},Li={step:`serialize`,tags:[`ENDPOINT_PARAMETERS`,`ENDPOINT_V2`,`ENDPOINT`],name:`endpointV2Middleware`,override:!0,relation:`before`,toMiddleware:{name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0}.name},Ri=(e,t)=>({applyToStack:n=>{n.addRelativeTo(Ii({config:e,instructions:t}),Li)}}),zi=e=>{let t=e.tls??!0,{endpoint:n,useDualstackEndpoint:r,useFipsEndpoint:i}=e,a=Object.assign(e,{endpoint:n==null?void 0:async()=>Ni(await f(n)()),tls:t,isCustomEndpoint:!!n,useDualstackEndpoint:f(r??!1),useFipsEndpoint:f(i??!1)}),o;return a.serviceConfiguredEndpoint=async()=>(e.serviceId&&!o&&(o=Mi(e.serviceId)),o),a},Bi=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):Error(typeof e==`string`?e:`AWS SDK error wrapper for ${e}`),Vi=e=>{let{retryStrategy:t,retryMode:n}=e,r=f(e.maxAttempts??3),i=t?Promise.resolve(t):void 0,a=async()=>await f(n)()===Hr.ADAPTIVE?new ri(r):new ni(r);return Object.assign(e,{maxAttempts:r,retryStrategy:()=>i??=a()})},Hi=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},Ui=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,Wi=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>Gi[t.step]-Gi[e.step]||Ki[t.priority||`normal`]-Ki[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=Hi(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of Hi(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(u.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of Hi(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of Hi(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${Ui(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},u={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=Hi(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${Ui(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${Ui(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${Ui(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=Hi(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${Ui(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${Ui(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${Ui(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(Wi()),use:e=>{e.applyToStack(u)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=Hi(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(Wi());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return Ui(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(u.identify()),e}};return u},Gi={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Ki={high:3,normal:2,low:1},qi=class{config;middlewareStack=Wi();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:n}=e;n&&typeof t==`function`&&(e.protocol=new t(n))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||=new WeakMap;let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}},Ji=`***SensitiveInformation***`;function Yi(e,t){if(t==null)return t;let n=Et.of(e);if(n.getMergedTraits().sensitive)return Ji;if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return Ji}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return Ji}else if(n.isStructSchema()&&typeof t==`object`){let e=t,r={};for(let[t,i]of n.structIterator())e[t]!=null&&(r[t]=Yi(i,e[t]));return r}return t}var Xi=class{middlewareStack=Wi();schema;static classBuilder(){return new Zi}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:l,CommandCtor:u}){for(let i of r.bind(this)(u,e,t,n))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:ee}=t,te={logger:ee,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,[he]:{commandInstance:this,...c},...l},{requestHandler:f}=t,ne=n??{};return c.eventStream&&(ne={isEventStream:!0,...ne}),d.resolve(e=>f.handle(e.request,ne),te)}},Zi=class{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName=``;_clientName=``;_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e=this,t;return t=class extends Xi{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){let a=e._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?Yi.bind(null,o):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?Yi.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}},Qi=class e extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(t){if(!t)return!1;let n=t;return e.prototype.isPrototypeOf(n)||!!n.$fault&&!!n.$metadata&&(n.$fault===`client`||n.$fault===`server`)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t;return this===e?e.isInstance(t):e.isInstance(t)?n.name&&this.name?this.prototype.isPrototypeOf(t)||n.name===this.name:this.prototype.isPrototypeOf(t):!1}},$i=(e,t={})=>(Object.entries(t).filter(([,e])=>e!==void 0).forEach(([t,n])=>{(e[t]==null||e[t]===``)&&(e[t]=n)}),e.message=e.message||e.Message||`UnknownError`,delete e.Message,e),ea=e=>{switch(e){case`standard`:return{retryMode:`standard`,connectionTimeout:3100};case`in-region`:return{retryMode:`standard`,connectionTimeout:1100};case`cross-region`:return{retryMode:`standard`,connectionTimeout:3100};case`mobile`:return{retryMode:`standard`,connectionTimeout:3e4};default:return{}}},ta=Object.values(me),na=e=>{let t=[];for(let n in me){let r=me[n];e[r]!==void 0&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}for(let[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};let r=n.algorithmId(),i=n.checksumConstructor();ta.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms(){return t}}},ra=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let n=e.algorithmId();ta.includes(n)&&(t[n]=e.checksumConstructor())}),t},ia=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}}),aa=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},oa=e=>Object.assign(na(e),ia(e)),sa=e=>Object.assign(ra(e),aa(e)),ca=e=>{let t=`#text`;for(let n in e)e.hasOwnProperty(n)&&e[n][t]!==void 0?e[n]=e[n][t]:typeof e[n]==`object`&&e[n]!==null&&(e[n]=ca(e[n]));return e},la=class{trace(){}debug(){}info(){}warn(){}error(){}},ua=e=>e?.body instanceof ReadableStream;function da(e,t){if(ge.isInstance(e))for(let n of Object.keys(e.headers)){let r=n.toLowerCase();if(r===`retry-after`){let r=e.headers[n],i=NaN;if(r.endsWith(`GMT`))try{i=(Qt(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.(`Failed to parse retry-after header`),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);return isNaN(i)?void 0:new Date(Date.now()+i*1e3)}else if(r===`x-amz-retry-after`){let r=e.headers[n],i=Number(r);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${r}`);return}return new Date(Date.now()+i)}}}var fa=e=>(t,n)=>async r=>{let a=await e.retryStrategy(),o=await e.maxAttempts();if(ma(a)){a=a;let s=await a.acquireInitialRetryToken((n.partition_id??``)+(n.__retryLongPoll?`:longpoll`:``)),c=Error(),l=0,u=0,{request:d}=r,ee=i.isInstance(d);for(ee&&(d.headers[Zr]=un());;)try{ee&&(d.headers[Qr]=`attempt=${l+1}; max=${o}`);let{response:e,output:n}=await t(r);return a.recordSuccess(s),n.$metadata.attempts=l+1,n.$metadata.totalRetryDelay=u,{response:e,output:n}}catch(t){let r=ha(t,e.logger);if(c=Bi(t),ee&&ua(d))throw(n.logger instanceof la?console:n.logger)?.warn(`An error was encountered in a non-retryable streaming request.`),c;try{s=await a.refreshRetryTokenForRetry(s,r)}catch(e){throw typeof e.$backoff==`number`&&await pa(e.$backoff),c.$metadata||={},c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=u,c}l=s.getRetryCount();let i=s.getRetryDelay();u+=i,await pa(i)}}else return a=a,a?.mode&&(n.userAgent=[...n.userAgent||[],[`cfg/retry-mode`,a.mode]]),a.retry(t,r)},pa=e=>new Promise(t=>setTimeout(t,e)),ma=e=>e.acquireInitialRetryToken!==void 0&&e.refreshRetryTokenForRetry!==void 0&&e.recordSuccess!==void 0,ha=(e,t)=>{let n={error:e,errorType:ga(e)},r=da(e.$response,t);return r&&(n.retryAfterHint=r),n},ga=e=>Kr(e)?`THROTTLING`:qr(e)?`TRANSIENT`:Jr(e)?`SERVER_ERROR`:`CLIENT_ERROR`,_a={name:`retryMiddleware`,tags:[`RETRY`],step:`finalizeRequest`,priority:`high`,override:!0},va=e=>({applyToStack:t=>{t.add(fa(e),_a)}}),ya=e=>ge.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,ba=e=>new Date(Date.now()+e),xa=(e,t)=>Math.abs(ba(t).getTime()-e)>=3e5,Sa=(e,t)=>{let n=Date.parse(e);return xa(n,t)?n-Date.now():t},Ca=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},wa=async e=>{let t=Ca(`context`,e.context),n=Ca(`config`,e.config),r=t.endpointV2?.properties?.authSchemes?.[0];return{config:n,signer:await Ca(`signer`,n.signer)(r),signingRegion:e?.signingRegion,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}},Ta=class{async sign(e,t,n){if(!i.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let r=await wa(n),{config:a,signer:o}=r,{signingRegion:s,signingName:c}=r,l=n.context;if(l?.authSchemes?.length??!1){let[e,t]=l.authSchemes;e?.name===`sigv4a`&&t?.name===`sigv4`&&(s=t?.signingRegion??s,c=t?.signingName??c)}return await o.sign(e,{signingDate:ba(a.systemClockOffset),signingRegion:s,signingService:c})}errorHandler(e){return t=>{let n=t.ServerTime??ya(t.$response);if(n){let r=Ca(`config`,e.config),i=r.systemClockOffset;r.systemClockOffset=Sa(n,r.systemClockOffset),r.systemClockOffset!==i&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let n=ya(e);if(n){let e=Ca(`config`,t.config);e.systemClockOffset=Sa(n,e.systemClockOffset)}}},Ea=class extends Ta{async sign(e,t,n){if(!i.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:r,signer:a,signingRegion:o,signingRegionSet:s,signingName:c}=await wa(n),l=(await r.sigv4aSigningRegionSet?.()??s??[o]).join(`,`);return await a.sign(e,{signingDate:ba(r.systemClockOffset),signingRegion:l,signingService:c})}},Da=(e,t,n)=>{let r,i,a,o=!1,s=async()=>{i||=e();try{r=await i,a=!0,o=!1}finally{i=void 0}return r};return t===void 0?async e=>((!a||e?.forceRefresh)&&(r=await s()),r):async e=>((!a||e?.forceRefresh)&&(r=await s()),o?r:n&&!n(r)?(o=!0,r):(t(r)&&await s(),r))},Oa=e=>(e.sigv4aSigningRegionSet=Re(e.sigv4aSigningRegionSet),e),ka=e=>{let t=e.credentials,n=!!e.credentials,r;Object.defineProperty(e,`credentials`,{set(i){i&&i!==t&&i!==r&&(n=!0),t=i;let a=ja(e,Aa(e,{credentials:t,credentialDefaultProvider:e.credentialDefaultProvider}));if(n&&!a.attributed){let e=typeof t==`object`&&!!t;r=async t=>{let n=await a(t);return e&&(!n.$source||Object.keys(n.$source).length===0)?oee(n,`CREDENTIALS_CODE`,`e`):n},r.memoized=a.memoized,r.configBound=a.configBound,r.attributed=!0}else r=a},get(){return r},enumerable:!0,configurable:!0}),e.credentials=t;let{signingEscapePath:i=!0,systemClockOffset:a=e.systemClockOffset||0,sha256:o}=e,s;return s=e.signer?Re(e.signer):e.regionInfoProvider?()=>Re(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{let{signingRegion:r,signingService:a}=t;e.signingRegion=e.signingRegion||r||n,e.signingName=e.signingName||a||e.serviceId;let s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||re)(s)}):async t=>{t=Object.assign({},{name:`sigv4`,signingName:e.signingName||e.defaultSigningName,signingRegion:await Re(e.region)(),properties:{}},t);let n=t.signingRegion,r=t.signingName;e.signingRegion=e.signingRegion||n,e.signingName=e.signingName||r||e.serviceId;let a={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||re)(a)},Object.assign(e,{systemClockOffset:a,signingEscapePath:i,signer:s})};function Aa(e,{credentials:t,credentialDefaultProvider:n}){let r;return r=t?t?.memoized?t:Jn(t,Kn,qn):n?Re(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},r.memoized=!0,r}function ja(e,t){if(t.configBound)return t;let n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}var Ma=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Na(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`ec2`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var Pa=e=>{let t=[];switch(e.operation){default:t.push(Na(e))}return t},Fa=e=>{let t=ka(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},Ia=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`ec2`}),La={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},Ra={name:`@aws-sdk/client-ec2`,description:`AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native`,version:`3.1032.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-ec2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo ec2`,test:`yarn g:vitest run --passWithNoTests`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.1`,"@aws-sdk/credential-provider-node":`^3.972.32`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-sdk-ec2":`^3.972.20`,"@aws-sdk/middleware-user-agent":`^3.972.31`,"@aws-sdk/region-config-resolver":`^3.972.12`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.7`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.17`,"@smithy/config-resolver":`^4.4.16`,"@smithy/core":`^3.23.15`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.30`,"@smithy/middleware-retry":`^4.5.3`,"@smithy/middleware-serde":`^4.2.18`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.5.3`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.11`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.47`,"@smithy/util-defaults-mode-node":`^4.2.52`,"@smithy/util-endpoints":`^3.4.1`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.2`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.16`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.6`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-ec2`}},za=({serviceId:e,clientVersion:t})=>async n=>{let r=typeof window<`u`?window.navigator:void 0,i=r?.userAgent??``,a=r?.userAgentData?.platform??Ba.os(i)??`other`,o=r?.userAgentData?.brands??[],s=o[o.length-1],c=s?.brand??Ba.browser(i)??`unknown`,l=s?.version??`unknown`,u=[[`aws-sdk-js`,t],[`ua`,`2.1`],[`os/${a}`,void 0],[`lang/js`],[`md/browser`,`${c}_${l}`]];e&&u.push([`api/${e}`,t]);let d=await n?.userAgentAppId?.();return d&&u.push([`app/${d}`]),u},Ba={os(e){if(/iPhone|iPad|iPod/.test(e))return`iOS`;if(/Macintosh|Mac OS X/.test(e))return`macOS`;if(/Windows NT/.test(e))return`Windows`;if(/Android/.test(e))return`Android`;if(/Linux/.test(e))return`Linux`},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return`Microsoft Edge`;if(/Firefox\//.test(e))return`Firefox`;if(/Chrome\//.test(e))return`Chrome`;if(/Safari\//.test(e))return`Safari`}},Va=e=>()=>Promise.reject(e),Ha=typeof TextEncoder==`function`?new TextEncoder:null,Ua=e=>{if(typeof e==`string`){if(Ha)return Ha.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){let r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}else if(typeof e.byteLength==`number`)return e.byteLength;else if(typeof e.size==`number`)return e.size;throw Error(`Body Length computation failed for ${e}`)},Wa=[`in-region`,`cross-region`,`mobile`,`standard`,`legacy`],Ga=({defaultsMode:e}={})=>Da(async()=>{let t=typeof e==`function`?await e():e;switch(t?.toLowerCase()){case`auto`:return Promise.resolve(Ka()?`mobile`:`standard`);case`mobile`:case`in-region`:case`cross-region`:case`standard`:case`legacy`:return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve(`legacy`);default:throw Error(`Invalid parameter for "defaultsMode", expect ${Wa.join(`, `)}, got ${t}`)}}),Ka=()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:n,downlink:r}=e?.connection;if(typeof t==`string`&&t!==`4g`||Number(n)>100||Number(r)<10)return!0}return e?.userAgentData?.mobile||typeof e?.maxTouchPoints==`number`&&e?.maxTouchPoints>1},qa=class{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let n=t.getMemberSchemas(),r=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(r)return r.getMergedTraits().mediaType||(r.isStringSchema()?`text/plain`:r.isBlobSchema()?`application/octet-stream`:e);if(!t.isUnitSchema()&&Object.values(n).find(e=>{let{httpQuery:t,httpQueryParams:n,httpHeader:r,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!n&&!r&&!i&&a===void 0}))return e}async getErrorSchemaOrThrowBaseException(e,t,n,r,i,a){let o=e;e.includes(`#`)&&([,o]=e.split(`#`));let s={$metadata:i,$fault:n.statusCode<500?`client`:`server`};if(!this.errorRegistry)throw Error(`@aws-sdk/core/protocols - error handler not initialized.`);try{return{errorSchema:a?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e),errorMetadata:s}}catch{r.message=r.message??r.Message??`UnknownError`;let e=this.errorRegistry,t=e.getBaseException();if(t){let n=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new n({name:o}),s),r)}let n=r,i=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(i),{name:o},s),r)}}compose(e,t,n){let r=n;t.includes(`#`)&&([r]=t.split(`#`));let i=At.for(r),a=At.for(`smithy.ts.sdk.synthetic.`+n);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let n=e.Message??t.Message,r=$i(e,t);n&&(r.message=n);let i=r.Error??{};i.Type=r.Error?.Type,i.Code=r.Error?.Code,i.Message=r.Error?.message??r.Error?.Message??n,r.Error=i;let a=r.$metadata.requestId;return a&&(r.RequestId=a),r}return $i(e,t)}setQueryCompatError(e,t){let n=t.headers?.[`x-amzn-query-error`];if(e!==void 0&&n!=null){let[t,r]=n.split(`;`),i=Object.keys(e),a={Code:t,Type:r};e.Code=t,e.Type=r;for(let t=0;tEt.of(e).getMergedTraits().awsQueryError?.[0]===t)}}},Ja=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Ya=class{from;to;keys;constructor(e,t){this.from=e,this.to=t;let n=Object.keys(this.from),r=new Set(n);r.delete(`__type`),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}},Xa=/[&<>"]/g,Za={"&":`&`,"<":`<`,">":`>`,'"':`"`};function Qa(e){return e.replace(Xa,e=>Za[e])}var $a=/[&"'<>\r\n\u0085\u2028]/g,eo={"&":`&`,'"':`"`,"'":`'`,"<":`<`,">":`>`,"\r":` `,"\n":` `,"…":`…`,"\u2028":`
`};function to(e){return e.replace($a,e=>eo[e])}var no=class{value;constructor(e){this.value=e}toString(){return to(``+this.value)}},ro=class e{name;children;attributes={};static of(t,n,r){let i=new e(t);return n!==void 0&&i.addChildNode(new no(n)),r!==void 0&&i.withName(r),i}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return t!=null&&(this.attributes[e]=t),this}cc(t,n,r=n){if(t[n]!=null){let i=e.of(n,t[n]).withName(r);this.c(i)}}l(e,t,n,r){e[t]!=null&&r().map(e=>{e.withName(n),this.c(e)})}lc(t,n,r,i){if(t[n]!=null){let t=i(),n=new e(r);t.map(e=>{n.c(e)}),this.c(n)}}toString(){let e=!!this.children.length,t=`<${this.name}`,n=this.attributes;for(let e of Object.keys(n)){let r=n[e];r!=null&&(t+=` ${e}="${Qa(``+r)}"`)}return t+=e?`>${this.children.map(e=>e.toString()).join(``)}`:`/>`}},io;function ao(e){io||=new DOMParser;let t=io.parseFromString(e,`application/xml`);if(t.getElementsByTagName(`parsererror`).length>0)throw Error(`DOMParser XML parsing error.`);let n=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(t.attributes.length===0&&t.childNodes.length===0)return``;let r={},i=Array.from(t.attributes);for(let e of i)r[`${e.name}`]=e.value;let a=Array.from(t.childNodes);for(let e of a){let o=n(e);if(o!=null){let t=e.nodeName;if(a.length===1&&i.length===0&&t===`#text`)return o;r[t]?Array.isArray(r[t])?r[t].push(o):r[t]=[r[t],o]:r[t]=o}else if(a.length===1&&i.length===0)return t.textContent}return r}return null};return{[t.documentElement.nodeName]:n(t.documentElement)}}var oo=class extends Ja{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new Bn(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,n){let r=Et.of(e),i=r.getMemberSchemas();if(r.isStructSchema()&&r.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){let e={},n=Object.keys(i)[0];return i[n].isBlobSchema()?e[n]=t:e[n]=this.read(i[n],t),e}let a=(this.serdeContext?.utf8Encoder??ce)(t),o=this.parseXml(a);return this.readSchema(e,n?o[n]:o)}readSchema(e,t){let n=Et.of(e);if(n.isUnitSchema())return;let r=n.getMergedTraits();if(n.isListSchema()&&!Array.isArray(t))return this.readSchema(n,[t]);if(t==null)return t;if(typeof t==`object`){let e=!!r.xmlFlattened;if(n.isListSchema()){let r=n.getValueSchema(),i=[],a=r.getMergedTraits().xmlName??`member`,o=e?t:(t[0]??t)[a];if(o==null)return i;let s=Array.isArray(o)?o:[o];for(let e of s)i.push(this.readSchema(r,e));return i}let i={};if(n.isMapSchema()){let r=n.getKeySchema(),a=n.getValueSchema(),o;o=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];let s=r.getMergedTraits().xmlName??`key`,c=a.getMergedTraits().xmlName??`value`;for(let e of o){let t=e[s],n=e[c];i[t]=this.readSchema(a,n)}return i}if(n.isStructSchema()){let e=n.isUnionSchema(),r;e&&(r=new Ya(t,i));for(let[a,o]of n.structIterator()){let n=o.getMergedTraits(),s=n.httpPayload?n.xmlName??o.getName():o.getMemberTraits().xmlName??a;e&&r.mark(s),t[s]!=null&&(i[a]=this.readSchema(o,t[s]))}return e&&r.writeUnknown(),i}if(n.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(!0)}`)}return n.isListSchema()?[]:n.isMapSchema()||n.isStructSchema()?{}:this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=ao(e)}catch(t){throw t&&typeof t==`object`&&Object.defineProperty(t,`$responseBodyText`,{value:e}),t}let n=`#text`,r=Object.keys(t)[0],i=t[r];return i[n]&&(i[r]=i[n],delete i[n]),ca(i)}return{}}},so=class extends Ja{settings;buffer;constructor(e){super(),this.settings=e}write(e,t,n=``){this.buffer===void 0&&(this.buffer=``);let r=Et.of(e);if(n&&!n.endsWith(`.`)&&(n+=`.`),r.isBlobSchema())(typeof t==`string`||t instanceof Uint8Array)&&(this.writeKey(n),this.writeValue((this.serdeContext?.base64Encoder??Ue)(t)));else if(r.isBooleanSchema()||r.isNumericSchema()||r.isStringSchema())t==null?r.isIdempotencyToken()&&(this.writeKey(n),this.writeValue(un())):(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigIntegerSchema())t!=null&&(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigDecimalSchema())t!=null&&(this.writeKey(n),this.writeValue(t instanceof An?t.string:String(t)));else if(r.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(n),zn(r,this.settings)){case 5:this.writeValue(t.toISOString().replace(`.000Z`,`Z`));break;case 6:this.writeValue(Jt(t));break;case 7:this.writeValue(String(t.getTime()/1e3));break}}else if(r.isDocumentSchema())Array.isArray(t)?this.write(79,t,n):t instanceof Date?this.write(4,t,n):t instanceof Uint8Array?this.write(21,t,n):t&&typeof t==`object`?this.write(143,t,n):(this.writeKey(n),this.writeValue(String(t)));else if(r.isListSchema()){if(Array.isArray(t))if(t.length===0)this.settings.serializeEmptyLists&&(this.writeKey(n),this.writeValue(``));else{let e=r.getValueSchema(),i=this.settings.flattenLists||r.getMergedTraits().xmlFlattened,a=1;for(let r of t){if(r==null)continue;let t=e.getMergedTraits(),o=this.getKey(`member`,t.xmlName,t.ec2QueryName),s=i?`${n}${a}`:`${n}${o}.${a}`;this.write(e,r,s),++a}}}else if(r.isMapSchema()){if(t&&typeof t==`object`){let e=r.getKeySchema(),i=r.getValueSchema(),a=r.getMergedTraits().xmlFlattened,o=1;for(let[r,s]of Object.entries(t)){if(s==null)continue;let t=e.getMergedTraits(),c=this.getKey(`key`,t.xmlName,t.ec2QueryName),l=a?`${n}${o}.${c}`:`${n}entry.${o}.${c}`,u=i.getMergedTraits(),d=this.getKey(`value`,u.xmlName,u.ec2QueryName),ee=a?`${n}${o}.${d}`:`${n}entry.${o}.${d}`;this.write(e,r,l),this.write(i,s,ee),++o}}}else if(r.isStructSchema()){if(t&&typeof t==`object`){let e=!1;for(let[i,a]of r.structIterator()){if(t[i]==null&&!a.isIdempotencyToken())continue;let r=a.getMergedTraits(),o=this.getKey(i,r.xmlName,r.ec2QueryName,`struct`),s=`${n}${o}`;this.write(a,t[i],s),e=!0}if(!e&&r.isUnionSchema()){let{$unknown:e}=t;if(Array.isArray(e)){let[t,r]=e,i=`${n}${t}`;this.write(15,r,i)}}}}else if(!r.isUnitSchema())throw Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${r.getName(!0)}`)}flush(){if(this.buffer===void 0)throw Error(`@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.`);let e=this.buffer;return delete this.buffer,e}getKey(e,t,n,r){let{ec2:i,capitalizeKeys:a}=this.settings;if(i&&n)return n;let o=t??e;return a&&r===`struct`?o[0].toUpperCase()+o.slice(1):o}writeKey(e){e.endsWith(`.`)&&(e=e.slice(0,e.length-1)),this.buffer+=`&${lt(e)}=`}writeValue(e){this.buffer+=lt(e)}},co=class extends Rn{options;serializer;deserializer;mixin=new qa;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries}),this.options=e;let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new so(t),this.deserializer=new oo(t)}getShapeId(){return`aws.protocols#awsQuery`}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw Error(`AWSQuery protocol has no payload codec.`)}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n);return r.path.endsWith(`/`)||(r.path+=`/`),r.headers[`content-type`]=`application/x-www-form-urlencoded`,(ut(e.input)===`unit`||!r.body)&&(r.body=``),r.body=`Action=${e.name.split(`#`)[1]??e.name}&Version=${this.options.version}`+r.body,r.body.endsWith(`&`)&&(r.body=r.body.slice(-1)),r}async deserializeResponse(e,t,n){let r=this.deserializer,i=Et.of(e.output),a={};if(n.statusCode>=300){let i=await ct(n.body,t);i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n))}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=e.name.split(`#`)[1]??e.name,s=i.isStructSchema()&&this.useNestedResult()?o+`Result`:void 0,c=await ct(n.body,t);return c.byteLength>0&&Object.assign(a,await r.read(i,c,s)),a.$metadata=this.deserializeMetadata(n),a}useNestedResult(){return!0}async handleError(e,t,n,r,i){let a=this.loadQueryErrorCode(n,r)??`Unknown`;this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace);let o=this.loadQueryError(r)??{},s=this.loadQueryErrorMessage(r);o.message=s,o.Error={Type:o.Type,Code:o.Code,Message:s};let{errorSchema:c,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,o,i,this.mixin.findQueryCompatibleError),u=Et.of(c),d=new((this.compositeErrorRegistry.getErrorCtor(c))??Error)(s),ee={Type:o.Error.Type,Code:o.Error.Code,Error:o.Error};for(let[e,t]of u.structIterator()){let n=t.getMergedTraits().xmlName??e,i=o[n]??r[n];ee[e]=this.deserializer.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(d,l,{$fault:u.getMergedTraits().error,message:s},ee),r)}loadQueryErrorCode(e,t){let n=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(n!==void 0)return n;if(e.statusCode==404)return`NotFound`}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){let t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??`Unknown`}getDefaultContentType(){return`application/x-www-form-urlencoded`}},lo=class extends co{options;constructor(e){super(e),this.options=e,Object.assign(this.serializer.settings,{capitalizeKeys:!0,flattenLists:!0,serializeEmptyLists:!1,ec2:!0})}getShapeId(){return`aws.protocols#ec2Query`}useNestedResult(){return!1}},uo=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return`NotFound`},fo=class extends Ja{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){let n=Et.of(e);if(n.isStringSchema()&&typeof t==`string`)this.stringBuffer=t;else if(n.isBlobSchema())this.byteBuffer=`byteLength`in t?t:(this.serdeContext?.base64Decoder??He)(t);else{this.buffer=this.writeStruct(n,t,void 0);let e=n.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(n.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let e=this.buffer;return this.settings.xmlNamespace&&(e?.attributes?.xmlns||e.addAttribute(`xmlns`,this.settings.xmlNamespace)),delete this.buffer,e.toString()}writeStruct(e,t,n){let r=e.getMergedTraits(),i=e.isMemberSchema()&&!r.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():r.xmlName??e.getName();if(!i||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let a=ro.of(i),[o,s]=this.getXmlnsAttribute(e,n);for(let[n,r]of e.structIterator()){let e=t[n];if(e!=null||r.isIdempotencyToken()){if(r.getMergedTraits().xmlAttribute){a.addAttribute(r.getMergedTraits().xmlName??n,this.writeSimple(r,e));continue}if(r.isListSchema())this.writeList(r,e,a,s);else if(r.isMapSchema())this.writeMap(r,e,a,s);else if(r.isStructSchema())a.addChildNode(this.writeStruct(r,e,s));else{let t=ro.of(r.getMergedTraits().xmlName??r.getMemberName());this.writeSimpleInto(r,e,t,s),a.addChildNode(t)}}}let{$unknown:c}=t;if(c&&e.isUnionSchema()&&Array.isArray(c)&&Object.keys(t).length===1){let[e,n]=c,r=ro.of(e);if(typeof n!=`string`)if(t instanceof ro||t instanceof no)a.addChildNode(t);else throw Error(`@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);this.writeSimpleInto(0,n,r,s),a.addChildNode(r)}return s&&a.addAttribute(o,s),a}writeList(e,t,n,r){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let i=e.getMergedTraits(),a=e.getValueSchema(),o=a.getMergedTraits(),s=!!o.sparse,c=!!i.xmlFlattened,[l,u]=this.getXmlnsAttribute(e,r),d=(t,n)=>{if(a.isListSchema())this.writeList(a,Array.isArray(n)?n:[n],t,u);else if(a.isMapSchema())this.writeMap(a,n,t,u);else if(a.isStructSchema()){let r=this.writeStruct(a,n,u);t.addChildNode(r.withName(c?i.xmlName??e.getMemberName():o.xmlName??`member`))}else{let r=ro.of(c?i.xmlName??e.getMemberName():o.xmlName??`member`);this.writeSimpleInto(a,n,r,u),t.addChildNode(r)}};if(c)for(let e of t)(s||e!=null)&&d(n,e);else{let r=ro.of(i.xmlName??e.getMemberName());u&&r.addAttribute(l,u);for(let e of t)(s||e!=null)&&d(r,e);n.addChildNode(r)}}writeMap(e,t,n,r,i=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let a=e.getMergedTraits(),o=e.getKeySchema(),s=o.getMergedTraits().xmlName??`key`,c=e.getValueSchema(),l=c.getMergedTraits(),u=l.xmlName??`value`,d=!!l.sparse,ee=!!a.xmlFlattened,[te,f]=this.getXmlnsAttribute(e,r),ne=(e,t,n)=>{let r=ro.of(s,t),[i,a]=this.getXmlnsAttribute(o,f);a&&r.addAttribute(i,a),e.addChildNode(r);let l=ro.of(u);c.isListSchema()?this.writeList(c,n,l,f):c.isMapSchema()?this.writeMap(c,n,l,f,!0):c.isStructSchema()?l=this.writeStruct(c,n,f):this.writeSimpleInto(c,n,l,f),e.addChildNode(l)};if(ee){for(let[r,i]of Object.entries(t))if(d||i!=null){let t=ro.of(a.xmlName??e.getMemberName());ne(t,r,i),n.addChildNode(t)}}else{let r;i||(r=ro.of(a.xmlName??e.getMemberName()),f&&r.addAttribute(te,f),n.addChildNode(r));for(let[e,a]of Object.entries(t))if(d||a!=null){let t=ro.of(`entry`);ne(t,e,a),(i?n:r).addChildNode(t)}}}writeSimple(e,t){if(t===null)throw Error(`@aws-sdk/core/protocols - (XML serializer) cannot write null value.`);let n=Et.of(e),r=null;if(t&&typeof t==`object`)if(n.isBlobSchema())r=(this.serdeContext?.base64Encoder??Ue)(t);else if(n.isTimestampSchema()&&t instanceof Date)switch(zn(n,this.settings)){case 5:r=t.toISOString().replace(`.000Z`,`Z`);break;case 6:r=Jt(t);break;case 7:r=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using http date`,t),r=Jt(t);break}else if(n.isBigDecimalSchema()&&t)return t instanceof An?t.string:String(t);else if(n.isMapSchema()||n.isListSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.`);else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(!0)}`);if((n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema())&&(r=String(t)),n.isStringSchema()&&(r=t===void 0&&n.isIdempotencyToken()?un():String(t)),r===null)throw Error(`Unhandled schema-value pair ${n.getName(!0)}=${t}`);return r}writeSimpleInto(e,t,n,r){let i=this.writeSimple(e,t),a=Et.of(e),o=new no(i),[s,c]=this.getXmlnsAttribute(a,r);c&&n.addAttribute(s,c),n.addChildNode(o)}getXmlnsAttribute(e,t){let[n,r]=e.getMergedTraits().xmlNamespace??[];return r&&r!==t?[n?`xmlns:${n}`:`xmlns`,r]:[void 0,void 0]}},po=class extends Ja{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new fo(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new oo(this.settings);return e.setSerdeContext(this.serdeContext),e}},mo=class extends Ln{codec;serializer;deserializer;mixin=new qa;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new po(t),this.serializer=new Un(this.codec.createSerializer(),t),this.deserializer=new Vn(this.codec.createDeserializer(),t),this.compositeErrorRegistry}getPayloadCodec(){return this.codec}getShapeId(){return`aws.protocols#restXml`}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Et.of(e.input);if(!r.headers[`content-type`]){let e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(r.headers[`content-type`]=e)}return typeof r.body==`string`&&r.headers[`content-type`]===this.getDefaultContentType()&&!r.body.startsWith(``+r.body),r}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,r,i){let a=uo(n,r)??`Unknown`;if(this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace),r.Error&&typeof r.Error==`object`)for(let e of Object.keys(r.Error))r[e]=r.Error[e],e.toLowerCase()===`message`&&(r.message=r.Error[e]);r.RequestId&&!i.requestId&&(i.requestId=r.RequestId);let{errorSchema:o,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,r,i),c=Et.of(o),l=r.Error?.message??r.Error?.Message??r.message??r.Message??`UnknownError`,u=new((this.compositeErrorRegistry.getErrorCtor(o))??Error)(l);await this.deserializeHttpMessage(o,t,n,r);let d={},ee=this.codec.createDeserializer();for(let[e,t]of c.structIterator()){let n=t.getMergedTraits().xmlName??e,i=r.Error?.[n]??r[n];d[e]=ee.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,s,{$fault:c.getMergedTraits().error,message:l},d),r)}getDefaultContentType(){return`application/xml`}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}},ho=`required`,go=`fn`,_o=`argv`,vo=`ref`,yo=!0,bo=`isSet`,xo=`booleanEquals`,So=`error`,Co=`endpoint`,wo=`tree`,To=`PartitionResult`,Eo=`getAttr`,Do={[ho]:!1,type:`string`},Oo={[ho]:!0,default:!1,type:`boolean`},ko={[vo]:`Endpoint`},Ao={[go]:xo,[_o]:[{[vo]:`UseFIPS`},!0]},jo={[go]:xo,[_o]:[{[vo]:`UseDualStack`},!0]},Mo={},No={[go]:Eo,[_o]:[{[vo]:To},`supportsFIPS`]},Po={[vo]:To},Fo={[go]:xo,[_o]:[!0,{[go]:Eo,[_o]:[Po,`supportsDualStack`]}]},Io=[Ao],Lo=[jo],Ro=[{[vo]:`Region`}],zo={version:`1.0`,parameters:{Region:Do,UseDualStack:Oo,UseFIPS:Oo,Endpoint:Do},rules:[{conditions:[{[go]:bo,[_o]:[ko]}],rules:[{conditions:Io,error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:So},{conditions:Lo,error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:So},{endpoint:{url:ko,properties:Mo,headers:Mo},type:Co}],type:wo},{conditions:[{[go]:bo,[_o]:Ro}],rules:[{conditions:[{[go]:`aws.partition`,[_o]:Ro,assign:To}],rules:[{conditions:[Ao,jo],rules:[{conditions:[{[go]:xo,[_o]:[yo,No]},Fo],rules:[{endpoint:{url:`https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:Mo,headers:Mo},type:Co}],type:wo},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:So}],type:wo},{conditions:Io,rules:[{conditions:[{[go]:xo,[_o]:[No,yo]}],rules:[{conditions:[{[go]:`stringEquals`,[_o]:[{[go]:Eo,[_o]:[Po,`name`]},`aws-us-gov`]}],endpoint:{url:`https://ec2.{Region}.amazonaws.com`,properties:Mo,headers:Mo},type:Co},{endpoint:{url:`https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}`,properties:Mo,headers:Mo},type:Co}],type:wo},{error:`FIPS is enabled but this partition does not support FIPS`,type:So}],type:wo},{conditions:Lo,rules:[{conditions:[Fo],rules:[{endpoint:{url:`https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:Mo,headers:Mo},type:Co}],type:wo},{error:`DualStack is enabled but this partition does not support DualStack`,type:So}],type:wo},{endpoint:{url:`https://ec2.{Region}.{PartitionResult#dnsSuffix}`,properties:Mo,headers:Mo},type:Co}],type:wo}],type:wo},{error:`Invalid Configuration: Missing Region`,type:So}]},Bo=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),Vo=(e,t={})=>Bo.get(e,()=>Nr(zo,{endpointParams:e,logger:t.logger}));tr.aws=Br;var Ho=class e extends Qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},Uo=`AllAvailabilityZones`,Wo=`AttributeBooleanValue`,Go=`AssociateCarrierIpAddress`,Ko=`AdditionalFlexibleNetworkInterfaces`,qo=`AvailableIpAddressCount`,Jo=`AssignIpv6AddressOnCreation`,Yo=`AttachInternetGateway`,Xo=`AttachInternetGatewayRequest`,Zo=`AdditionalInfo`,Qo=`AssociationId`,$o=`AttachmentId`,es=`AmiLaunchIndex`,ts=`AttachmentLimitType`,ns=`AssociatePublicIpAddress`,rs=`AmazonProvidedIpv6CidrBlock`,is=`AutoRecoverySupported`,as=`AssociateRouteTableRequest`,os=`AssociateRouteTableResult`,ss=`AssociateRouteTable`,cs=`AllRegions`,ls=`AssociatedResource`,us=`AutoRecovery`,ds=`AssociationState`,fs=`AuthorizeSecurityGroupEgress`,ps=`AuthorizeSecurityGroupEgressRequest`,ms=`AuthorizeSecurityGroupEgressResult`,hs=`AuthorizeSecurityGroupIngressRequest`,gs=`AuthorizeSecurityGroupIngressResult`,_s=`AuthorizeSecurityGroupIngress`,vs=`AmdSevSnp`,ys=`ArchitectureTypeList`,bs=`AttachTime`,xs=`AttachVolumeRequest`,Ss=`AttributeValue`,Cs=`AttachVolume`,ws=`AvailabilityZone`,pee=`AvailabilityZoneGeography`,mee=`AvailabilityZoneGeographyList`,Ts=`AvailabilityZoneId`,hee=`AvailabilityZoneList`,gee=`AvailabilityZoneMessage`,_ee=`AvailabilityZoneMessageList`,vee=`AvailabilityZoneSubGeography`,yee=`AvailabilityZoneSubGeographyList`,bee=`AvailabilityZones`,Es=`Accelerators`,xee=`Affinity`,Ds=`Arn`,Os=`Architecture`,See=`Associations`,ks=`Association`,Cee=`Attribute`,As=`Attachment`,js=`Attachments`,wee=`BlobAttributeValue`,Tee=`BaselineBandwidthInGbps`,Ms=`BaselineBandwidthInMbps`,Ns=`BlockDeviceMapping`,Eee=`BlockDeviceMappingList`,Dee=`BlockDeviceMappingRequestList`,Ps=`BlockDeviceMappings`,Oee=`BlockDurationMinutes`,Fs=`BaselineIops`,Is=`BootMode`,kee=`BootModeTypeList`,Aee=`BareMetal`,Ls=`BlockPublicAccessStates`,Rs=`BurstablePerformanceSupported`,zs=`BaselineThroughputInMBps`,Bs=`BandwidthWeighting`,Vs=`BandwidthWeightingTypeList`,Hs=`BandwidthWeightings`,Us=`CidrBlock`,Ws=`CidrBlockAssociationSet`,Gs=`CapacityBlockId`,Ks=`CidrBlockState`,qs=`CoreCountList`,Js=`CoreCount`,Ys=`CpuCredits`,Xs=`CompletionDurationMinutes`,Zs=`CreationDate`,Qs=`CarrierGatewayId`,$s=`CurrentGeneration`,ec=`CarrierIp`,tc=`CurrentInstanceBootMode`,nc=`CreateInternetGateway`,rc=`CreateInternetGatewayRequest`,ic=`CreateInternetGatewayResult`,ac=`CreateImageRequest`,oc=`CreateImageResult`,sc=`CidrIp`,cc=`CidrIpv6`,lc=`CidrIpv4`,uc=`CoreInfo`,dc=`CreateImage`,fc=`CreateKeyPair`,pc=`CreateKeyPairRequest`,mc=`CoreNetworkArn`,hc=`CpuOptions`,gc=`CustomerOwnedIp`,_c=`CustomerOwnedIpv4Pool`,vc=`CpuOptionsRequest`,yc=`CreatePlacementGroup`,bc=`CreatePlacementGroupRequest`,xc=`CreatePlacementGroupResult`,Sc=`CapacityReservationId`,Cc=`CapacityReservationPreference`,wc=`CreateRouteRequest`,Tc=`CapacityReservationResourceGroupArn`,Ec=`CreateRouteResult`,Dc=`CapacityReservationSpecificationResponse`,Oc=`CapacityReservationSpecification`,kc=`CapacityReservationTarget`,Ac=`CapacityReservationTargetResponse`,jc=`CreateRouteTableRequest`,Mc=`CreateRouteTableResult`,Nc=`CreateRouteTable`,Pc=`CreateRoute`,Fc=`CreateSecurityGroup`,Ic=`CreateSecurityGroupRequest`,Lc=`CreateSecurityGroupResult`,Rc=`CopySnapshotRequest`,zc=`CopySnapshotRequestPSU`,Bc=`CopySnapshotResult`,Vc=`CreateSnapshotRequest`,Hc=`CreateSubnetRequest`,Uc=`CreateSubnetResult`,Wc=`CreditSpecificationRequest`,Gc=`CopySnapshot`,Kc=`CreditSpecification`,qc=`CreateSnapshot`,Jc=`CreateSubnet`,Yc=`CurrentState`,Xc=`ClientToken`,Zc=`ConnectionTrackingConfiguration`,Qc=`ConnectionTrackingSpecification`,$c=`ConnectionTrackingSpecificationRequest`,el=`ConnectionTrackingSpecificationResponse`,tl=`CompletionTime`,nl=`CreateTime`,rl=`CreateVolumeRequest`,il=`CreateVpcRequest`,al=`CreateVpcResult`,ol=`CreateVolume`,sl=`CreateVpc`,cl=`Code`,ll=`Configured`,ul=`Count`,dl=`DisableApiStop`,fl=`DisableApiTermination`,pl=`DestinationAvailabilityZone`,ml=`DescribeAvailabilityZonesRequest`,hl=`DescribeAvailabilityZonesResult`,gl=`DescribeAvailabilityZones`,_l=`DestinationCidrBlock`,vl=`DefaultConnectionTrackingConfiguration`,yl=`DefaultCores`,bl=`DataEncryptionKeyId`,xl=`DefaultEnaQueueCountPerInterface`,Sl=`DefaultForAz`,Cl=`DedicatedHostsSupported`,wl=`DeviceIndex`,Tl=`DestinationIpv6CidrBlock`,El=`DescribeInternetGatewaysRequest`,Dl=`DescribeInternetGatewaysResult`,Ol=`DescribeInternetGateways`,kl=`DiskInfoList`,Al=`DescribeImagesRequest`,jl=`DescribeImagesResult`,Ml=`DescribeInstancesRequest`,Nl=`DescribeInstancesResult`,Pl=`DescribeInstanceTypesRequest`,Fl=`DescribeInstanceTypesResult`,Il=`DescribeInstanceTypes`,Ll=`DescribeImages`,Rl=`DescribeInstances`,zl=`DiskInfo`,Bl=`DeleteKeyPair`,Vl=`DeleteKeyPairRequest`,Hl=`DeleteKeyPairResult`,Ul=`DescribeKeyPairsRequest`,Wl=`DescribeKeyPairsResult`,Gl=`DescribeKeyPairs`,Kl=`DeviceName`,ql=`DefaultNetworkCardIndex`,Jl=`DestinationOutpostArn`,Yl=`DhcpOptionsId`,Xl=`DeleteOnTermination`,Zl=`DeletePlacementGroup`,Ql=`DeletePlacementGroupRequest`,$l=`DescribePlacementGroupsRequest`,eu=`DescribePlacementGroupsResult`,tu=`DescribePlacementGroups`,nu=`DestinationPrefixListId`,ru=`DeregistrationProtection`,p=`DryRun`,iu=`DescribeRegionsRequest`,au=`DescribeRegionsResult`,ou=`DescribeRouteTablesRequest`,su=`DescribeRouteTablesResult`,cu=`DescribeRouteTables`,lu=`DestinationRegion`,uu=`DescribeRegions`,du=`DeleteSecurityGroup`,fu=`DeleteSecurityGroupRequest`,pu=`DeleteSecurityGroupResult`,mu=`DescribeSecurityGroupsRequest`,hu=`DescribeSecurityGroupsResult`,gu=`DescribeSecurityGroups`,_u=`DeleteSnapshotRequest`,vu=`DeleteSubnetRequest`,yu=`DescribeSnapshotsRequest`,bu=`DescribeSnapshotsResult`,xu=`DescribeSubnetsRequest`,Su=`DescribeSubnetsResult`,Cu=`DeleteSnapshot`,wu=`DeleteSubnet`,Tu=`DescribeSnapshots`,Eu=`DescribeSubnets`,Du=`DefaultTcpEstablishedTimeout`,Ou=`DefaultThreadsPerCore`,ku=`DeprecationTime`,Au=`DefaultUdpStreamTimeout`,ju=`DefaultUdpTimeout`,Mu=`DefaultVCpus`,Nu=`DeleteVolumeRequest`,Pu=`DeleteVpcRequest`,Fu=`DescribeVolumesRequest`,Iu=`DescribeVolumesResult`,Lu=`DescribeVpcsRequest`,Ru=`DescribeVpcsResult`,zu=`DetachVolumeRequest`,Bu=`DeleteVolume`,Vu=`DeleteVpc`,Hu=`DescribeVolumes`,Uu=`DescribeVpcs`,Wu=`DetachVolume`,Gu=`Description`,Ku=`Device`,qu=`Disks`,Ju=`EbsBlockDevice`,Yu=`ExecutableByStringList`,Xu=`ExecutableBy`,Zu=`EbsCardIndex`,Qu=`EbsCardInfoList`,$u=`EbsCardInfo`,ed=`EbsCards`,td=`EncryptionControl`,nd=`EnableDns64`,rd=`ElasticFileSystem`,id=`ElasticFileSystemExclusion`,ad=`ElasticGpuAssociation`,od=`ElasticGpuAssociationId`,sd=`ElasticGpuAssociationList`,cd=`ElasticGpuAssociationState`,ld=`ElasticGpuAssociationTime`,ud=`ElasticGpuAssociations`,dd=`ElasticGpuId`,fd=`ElasticGpuSpecification`,pd=`ElasticGpuSpecifications`,md=`ElasticInferenceAccelerator`,hd=`ElasticInferenceAcceleratorAssociation`,gd=`ElasticInferenceAcceleratorAssociationId`,_d=`ElasticInferenceAcceleratorAssociationList`,vd=`ElasticInferenceAcceleratorAssociationState`,yd=`ElasticInferenceAcceleratorAssociationTime`,bd=`ElasticInferenceAcceleratorArn`,xd=`ElasticInferenceAcceleratorAssociations`,Sd=`ElasticInferenceAccelerators`,Cd=`EbsInstanceBlockDevice`,wd=`EbsInstanceBlockDeviceSpecification`,Td=`EncryptionInTransitSupported`,Ed=`EbsInfo`,Dd=`EfaInfo`,Od=`EnableLniAtDeviceIndex`,kd=`EbsOptimized`,Ad=`EbsOptimizedInfo`,jd=`EgressOnlyInternetGateway`,Md=`EgressOnlyInternetGatewayExclusion`,Nd=`EgressOnlyInternetGatewayId`,Pd=`EnclaveOptionsRequest`,Fd=`EbsOptimizedSupport`,Id=`EnclaveOptions`,Ld=`EnablePrimaryIpv6`,Rd=`EnaQueueCount`,zd=`EnableResourceNameDnsAAAARecord`,Bd=`EnableResourceNameDnsARecord`,Vd=`EnaSrdEnabled`,Hd=`EnaSrdSpecification`,Ud=`EnaSrdSpecificationRequest`,Wd=`EnaSrdSupported`,Gd=`EnaSrdUdpEnabled`,Kd=`EnaSrdUdpSpecification`,qd=`EnaSrdUdpSpecificationRequest`,Jd=`EfaSupported`,Yd=`EncryptionSupport`,Xd=`EnaSupport`,Zd=`EndTime`,Qd=`ExecutableUsers`,$d=`Ebs`,ef=`Enabled`,tf=`Encrypted`,nf=`Endpoint`,rf=`Force`,af=`FpgaDeviceInfo`,of=`FpgaDeviceInfoList`,sf=`FpgaDeviceMemoryInfo`,cf=`FlexibleEnaQueuesSupport`,lf=`FpgaInfo`,uf=`FilterList`,df=`FromPort`,ff=`FastRestored`,pf=`FullSnapshotSizeInBytes`,mf=`FreeTierEligible`,hf=`Filters`,gf=`Filter`,_f=`Fpgas`,vf=`Groups`,yf=`GroupArn`,bf=`GetConsoleOutput`,xf=`GetConsoleOutputRequest`,Sf=`GetConsoleOutputResult`,Cf=`GroupDescription`,wf=`GpuDeviceInfo`,Tf=`GpuDeviceInfoList`,Ef=`GpuDeviceMemoryInfo`,Df=`GatewayId`,Of=`GroupIdentifierList`,kf=`GroupIdStringList`,Af=`GpuInfo`,jf=`GroupId`,Mf=`GroupIds`,Nf=`GroupIdentifier`,Pf=`GroupLongName`,Ff=`GroupName`,If=`GroupNameStringList`,Lf=`GroupNames`,Rf=`GroupOwnerId`,zf=`GpuPartitionSize`,Bf=`Geography`,Vf=`Gpus`,Hf=`HttpEndpoint`,Uf=`HostId`,Wf=`HibernationOptions`,Gf=`HibernationOptionsRequest`,Kf=`HttpProtocolIpv6`,qf=`HttpPutResponseHopLimit`,Jf=`HostResourceGroupArn`,Yf=`HibernationSupported`,Xf=`HttpTokens`,Zf=`HostnameType`,Qf=`Hibernate`,$f=`Hypervisor`,ep=`Id`,tp=`Ipv6Addresses`,np=`Ipv6AddressAttribute`,rp=`Ipv6AddressCount`,ip=`InstanceAttachmentEnaSrdSpecification`,ap=`InstanceAttachmentEnaSrdUdpSpecification`,op=`InferenceAcceleratorInfo`,sp=`Ipv4AddressesPerInterface`,cp=`Ipv6AddressesPerInterface`,lp=`Ipv4AddressesPerSecondaryInterface`,up=`ImageAllowed`,dp=`IpAddress`,fp=`Ipv6Address`,pp=`InstanceBlockDeviceMapping`,mp=`InstanceBlockDeviceMappingList`,hp=`InstanceBlockDeviceMappingSpecification`,gp=`InstanceBlockDeviceMappingSpecificationList`,_p=`Ipv6CidrBlock`,vp=`Ipv6CidrBlockAssociationSet`,yp=`Ipv6CidrBlockNetworkBorderGroup`,bp=`Ipv6CidrBlockState`,xp=`IncludeDeprecated`,Sp=`InferenceDeviceInfo`,Cp=`InferenceDeviceInfoList`,wp=`InferenceDeviceMemoryInfo`,Tp=`IncludeDisabled`,Ep=`IsDefault`,Dp=`IsEgress`,Op=`InternetGateway`,kp=`InternetGatewayAttachment`,Ap=`InternetGatewayAttachmentList`,jp=`InternetGatewayBlockMode`,Mp=`InternetGatewayExclusion`,Np=`InternetGatewayId`,Pp=`InternetGatewayIdList`,Fp=`InternetGatewayIds`,Ip=`InternetGatewayList`,Lp=`InternetGateways`,Rp=`InstanceId`,zp=`InstanceIpv6Address`,Bp=`InstanceIpv6AddressList`,Vp=`InstanceInterruptionBehavior`,Hp=`IamInstanceProfile`,Up=`Ipv6IpamPoolId`,Wp=`Ipv4IpamPoolId`,jee=`InstanceIpv4PrefixList`,Gp=`InstanceIpv6PrefixList`,Kp=`IamInstanceProfileSpecification`,qp=`InstanceIpv4Prefix`,Jp=`InstanceIpv6Prefix`,Yp=`InstanceInitiatedShutdownBehavior`,Xp=`ImageIdStringList`,Zp=`InstanceIdStringList`,Qp=`ImageId`,$p=`ImageIds`,em=`InstanceIds`,tm=`ImportKeyPair`,nm=`ImportKeyPairRequest`,rm=`ImportKeyPairResult`,im=`ImageLocation`,am=`ImageList`,om=`InstanceLifecycle`,sm=`InstanceList`,cm=`InstanceMaintenanceOptions`,lm=`InstanceMaintenanceOptionsRequest`,um=`InstanceMarketOptionsRequest`,dm=`InstanceMetadataOptionsRequest`,fm=`InstanceMetadataOptionsResponse`,pm=`InstanceMarketOptions`,mm=`InstanceMetadataTags`,hm=`Ipv6Native`,gm=`InstanceNetworkInterface`,_m=`InstanceNetworkInterfaceAssociation`,vm=`InstanceNetworkInterfaceAttachment`,ym=`InstanceNetworkInterfaceList`,bm=`InstanceNetworkInterfaceSpecification`,xm=`InstanceNetworkInterfaceSpecificationList`,Sm=`Ipv6NetmaskLength`,Cm=`Ipv4NetmaskLength`,wm=`InstanceNetworkPerformanceOptions`,Tm=`InstanceNetworkPerformanceOptionsRequest`,Em=`ImageOwnerAlias`,Dm=`IpOwnerId`,Om=`InstanceOwnerId`,km=`InstanceOwningService`,Am=`Ipv6PrefixCount`,jm=`Ipv4PrefixCount`,Mm=`IpPermissionsEgress`,Nm=`InstancePrivateIpAddress`,Pm=`InstancePrivateIpAddressList`,Fm=`IsPrimaryIpv6`,Im=`IncludePublicKey`,Lm=`IpPermissionList`,Rm=`Ipv4PrefixList`,zm=`Ipv6PrefixList`,Bm=`Ipv4PrefixSpecificationRequest`,Vm=`Ipv6PrefixSpecificationRequest`,Hm=`Ipv6Prefixes`,Um=`IpPermissions`,Wm=`IpPermission`,Gm=`IpProtocol`,Km=`Ipv6Prefix`,qm=`Ipv6Pool`,Jm=`Ipv4Prefixes`,Ym=`Ipv4Prefix`,Xm=`IpRangeList`,Zm=`Ipv6RangeList`,Qm=`IpRanges`,$m=`IpRange`,eh=`Ipv6Ranges`,th=`Ipv6Range`,nh=`InstanceStateChange`,rh=`InstanceStateChangeList`,ih=`InstanceSecondaryInterfaceAttachment`,ah=`InstanceSecondaryInterfaceList`,oh=`InstanceSecondaryInterfacePrivateIpAddress`,sh=`InstanceSecondaryInterfacePrivateIpAddressList`,ch=`InstanceSecondaryInterfacePrivateIpAddressListRequest`,lh=`InstanceSecondaryInterfacePrivateIpAddressRequest`,uh=`InstanceSecondaryInterfaceSpecificationListRequest`,dh=`InstanceSecondaryInterfaceSpecificationRequest`,fh=`InstanceSecondaryInterface`,ph=`InstanceStorageInfo`,mh=`InstanceStorageSupported`,hh=`ImdsSupport`,gh=`InstanceState`,_h=`IpSource`,vh=`Ipv6Supported`,yh=`InstanceType`,bh=`InstanceTypeInfoList`,xh=`InstanceTypeInfo`,Sh=`ImageType`,Ch=`InstanceTenancy`,wh=`InstanceTypes`,Th=`InterfaceType`,Eh=`Images`,Dh=`Image`,Oh=`Instance`,kh=`Instances`,Ah=`Iops`,jh=`Key`,Mh=`KeyFormat`,Nh=`KeyFingerprint`,Ph=`KernelId`,Fh=`KmsKeyId`,Ih=`KeyMaterial`,Lh=`KeyName`,Rh=`KeyNameStringList`,zh=`KeyNames`,Bh=`KeyPairs`,Vh=`KeyPairId`,Hh=`KeyPairIdStringList`,Uh=`KeyPairIds`,Wh=`KeyPairInfo`,Gh=`KeyPairList`,Kh=`KeyPair`,qh=`KeyType`,Jh=`Kernel`,Yh=`LicenseConfigurationArn`,Xh=`LicenseConfigurationRequest`,Zh=`LicenseConfiguration`,Qh=`LambdaExclusion`,$h=`LogicalGpuCount`,eg=`LocalGatewayId`,tg=`LinkedGroupId`,ng=`LicenseList`,rg=`LastLaunchedTime`,ig=`LicenseSpecifications`,ag=`LicenseSpecificationListRequest`,og=`LicenseSpecification`,sg=`LaunchTemplate`,cg=`LaunchTemplateId`,lg=`LaunchTemplateName`,ug=`LaunchTemplateSpecification`,dg=`LaunchTime`,fg=`Latest`,pg=`Lambda`,mg=`Licenses`,hg=`Location`,gg=`MultiAttachEnabled`,_g=`MediaAcceleratorInfo`,vg=`MacAddress`,yg=`MaximumBandwidthInMbps`,bg=`MapCustomerOwnedIpOnLaunch`,xg=`MaxCount`,Sg=`MinCount`,Cg=`MediaDeviceInfo`,wg=`MediaDeviceInfoList`,Tg=`MediaDeviceMemoryInfo`,Eg=`MaximumEbsAttachments`,Dg=`MaximumEbsCards`,Og=`MaximumEfaInterfaces`,kg=`MaximumEnaQueueCount`,Ag=`MaximumEnaQueueCountPerInterface`,jg=`MaximumIops`,Mg=`ModifyInstanceAttributeRequest`,Ng=`ModifyInstanceAttribute`,Pg=`MemoryInfo`,Fg=`MaximumNetworkCards`,Ig=`MaximumNetworkInterfaces`,Lg=`MetadataOptions`,Rg=`MaintenanceOptions`,zg=`MapPublicIpOnLaunch`,Bg=`MaxPrice`,Vg=`MaxResults`,Hg=`MaximumSecondaryNetworkInterfaces`,Ug=`ModificationState`,Wg=`MarketType`,Gg=`MaximumThroughputInMBps`,Kg=`ModifyVolumeRequest`,qg=`ModifyVolumeResult`,Jg=`ModifyVolume`,Yg=`Main`,Xg=`Manufacturer`,Zg=`Managed`,Qg=`Message`,$g=`Messages`,e_=`Mode`,t_=`Monitoring`,n_=`Name`,r_=`NetworkBorderGroup`,i_=`NetworkCards`,a_=`NetworkCardIndex`,o_=`NetworkCardInfoList`,s_=`NetworkCardInfo`,c_=`NoDevice`,l_=`NeuronDeviceCoreInfo`,u_=`NeuronDeviceInfo`,d_=`NeuronDeviceInfoList`,f_=`NeuronDeviceMemoryInfo`,p_=`NeuronDevices`,m_=`NitroEnclavesSupport`,h_=`NatGateway`,g_=`NatGatewayExclusion`,__=`NatGatewayId`,v_=`NetworkInterfaceId`,y_=`NetworkInterfaces`,b_=`NetworkInfo`,x_=`NeuronInfo`,S_=`NetworkPerformanceOptions`,C_=`NetworkPerformance`,w_=`NoReboot`,T_=`NvmeSupport`,E_=`NitroTpmInfo`,D_=`NitroTpmSupport`,O_=`NitroTpmSupportedVersionsList`,k_=`NextToken`,A_=`NestedVirtualization`,j_=`Origin`,M_=`OutpostArn`,N_=`OwnerAlias`,P_=`OwnerId`,F_=`OptInStatus`,I_=`OriginalIops`,L_=`OwnerIds`,R_=`OriginalMultiAttachEnabled`,z_=`OdbNetworkArn`,B_=`OperatorRequest`,V_=`OperatorResponse`,H_=`OwnerStringList`,U_=`OriginalSize`,W_=`OriginalThroughput`,G_=`OriginalVolumeType`,K_=`Operator`,q_=`Output`,J_=`Owners`,Y_=`Owner`,X_=`Principal`,Z_=`PeakBandwidthInGbps`,Q_=`ProductCodeId`,$_=`ProductCodeList`,ev=`ProductCodeType`,tv=`PartitionCount`,nv=`ProductCode`,rv=`ProductCodes`,iv=`PrivateDnsName`,av=`PrivateDnsNameOptions`,ov=`PrivateDnsNameOptionsOnLaunch`,sv=`PrivateDnsNameOptionsRequest`,cv=`PrivateDnsNameOptionsResponse`,lv=`PublicDnsName`,uv=`PlatformDetails`,dv=`PlacementGroup`,fv=`PlacementGroupInfo`,pv=`PlacementGroupIdStringList`,mv=`PlacementGroupList`,hv=`PlacementGroupStrategyList`,gv=`PlacementGroups`,_v=`PublicIp`,vv=`PrivateIpAddressCount`,yv=`PrivateIpAddressSpecification`,bv=`PrivateIpAddressSpecificationList`,xv=`PrivateIpAddress`,Sv=`PrivateIpAddresses`,Cv=`PublicIpAddress`,wv=`PublicIpv4Pool`,Tv=`PrimaryIpv6`,Ev=`ProcessorInfo`,Dv=`PublicKey`,Ov=`PublicKeyMaterial`,kv=`PrefixListId`,Av=`PrefixListIdList`,jv=`PrefixListIds`,Mv=`PartitionNumber`,Nv=`PeeringStatus`,Pv=`PhcSupport`,Fv=`PreviousState`,Iv=`PresignedUrl`,Lv=`PropagatingVgw`,Rv=`PropagatingVgwList`,zv=`PropagatingVgws`,Bv=`ParentZoneId`,Vv=`ParentZoneName`,Hv=`Platform`,Uv=`Placement`,Wv=`Primary`,Gv=`Progress`,Kv=`Public`,qv=`Return`,Jv=`RestorableByUserIds`,Yv=`RestorableBy`,Xv=`RootDeviceName`,Zv=`RootDeviceType`,Qv=`RootDeviceTypeList`,$v=`RestoreExpiryTime`,ey=`ResourceExclusions`,ty=`RegionGeography`,ny=`ReferencedGroupId`,ry=`ReferencedGroupInfo`,iy=`RegionGeographyList`,ay=`RunInstancesMonitoringEnabled`,oy=`RebootInstancesRequest`,sy=`RunInstancesRequest`,cy=`RunInstancesUserData`,ly=`RamdiskId`,uy=`ReservationId`,dy=`RebootInstances`,fy=`RequesterId`,py=`RunInstances`,my=`RegionList`,hy=`ReservationList`,gy=`RouteList`,_y=`RebootMigrationSupport`,vy=`RebootMigration`,yy=`RegionName`,by=`RegionNameStringList`,xy=`RegionNames`,Sy=`ReferencedSecurityGroup`,Cy=`RevokeSecurityGroupEgress`,wy=`RevokeSecurityGroupEgressRequest`,Ty=`RevokeSecurityGroupEgressResult`,Ey=`RevokeSecurityGroupIngressRequest`,Dy=`RevokeSecurityGroupIngressResult`,Oy=`RevokeSecurityGroupIngress`,ky=`RevokedSecurityGroupRule`,Ay=`RevokedSecurityGroupRuleList`,jy=`RevokedSecurityGroupRules`,My=`RouteTableAssociation`,Ny=`RouteTableAssociationId`,Py=`RouteTableAssociationList`,Fy=`RouteTableAssociationState`,Iy=`RouteTableId`,Ly=`RouteTableIdStringList`,Ry=`RouteTableIds`,zy=`RouteTableList`,By=`ResourceType`,Vy=`RouteTable`,Hy=`RouteTables`,Uy=`Ramdisk`,Wy=`Regions`,Gy=`Region`,Ky=`Reservations`,qy=`Reservation`,Jy=`Route`,Yy=`Routes`,Xy=`SupportedAdditionalProcessorFeatureList`,Zy=`SubnetArn`,Qy=`SupportedArchitectures`,$y=`SupportedBootModes`,eb=`SubnetCidrBlockState`,tb=`SustainedClockSpeedInGhz`,nb=`SourceDestCheck`,rb=`SpreadDomain`,ib=`SupportedFeatures`,ab=`SubGeography`,ob=`SecurityGroupArn`,sb=`SecurityGroupId`,cb=`SecurityGroupIdStringList`,lb=`SecurityGroupIds`,ub=`SecurityGroupList`,db=`SecurityGroupRules`,fb=`SecurityGroupRuleArn`,pb=`SecurityGroupRuleIds`,mb=`SecurityGroupRuleIdList`,hb=`SecurityGroupRuleId`,gb=`SecurityGroupRuleList`,_b=`SecurityGroupRule`,vb=`SecurityGroupStringList`,yb=`SecurityGroups`,bb=`SecurityGroup`,xb=`SubnetIds`,Sb=`SubnetIpv6CidrBlockAssociation`,Cb=`SubnetIpv6CidrBlockAssociationSet`,Mee=`SizeInGB`,Nee=`SourceImageId`,Pee=`SecondaryInterfaceId`,Fee=`SourceInstanceId`,wb=`SizeInMiB`,Iee=`SpotInstanceRequestId`,Lee=`SourceImageRegion`,Ree=`StartInstancesRequest`,zee=`StartInstancesResult`,Bee=`StopInstancesRequest`,Vee=`StopInstancesResult`,Hee=`SnapshotIdStringList`,Uee=`SubnetIdStringList`,Wee=`SpotInstanceType`,Tb=`SecondaryInterfaces`,Gee=`SecondaryInterface`,Eb=`SnapshotId`,Kee=`SnapshotIds`,qee=`StartingInstances`,Jee=`StartInstances`,Yee=`StoppingInstances`,Xee=`StopInstances`,Db=`SubnetId`,Zee=`SnapshotLocation`,Qee=`SnapshotList`,Ob=`SpreadLevel`,$ee=`SubnetList`,ete=`SpotMarketOptions`,kb=`StatusMessage`,Ab=`StateMessage`,tte=`SecondaryNetworkId`,jb=`SriovNetSupport`,nte=`SecondaryNetworkSupported`,rte=`SpotOptions`,Mb=`SkipOsShutdown`,ite=`SecondaryPrivateIpAddressCount`,ate=`SupportedRootDeviceTypes`,ote=`SourceRegion`,Nb=`StateReason`,Pb=`SourceSecurityGroupName`,Fb=`SourceSecurityGroupOwnerId`,ste=`SourceSnapshotId`,Ib=`SecondarySubnetId`,cte=`SupportedStrategies`,Lb=`StartTime`,lte=`StateTransitionReason`,Rb=`SseType`,ute=`StorageTier`,dte=`SupportedUsageClasses`,fte=`SensitiveUserData`,pte=`SourceVolumeId`,mte=`SupportedVirtualizationTypes`,hte=`SupportedVersions`,zb=`Size`,gte=`Snapshots`,_te=`Snapshot`,Bb=`State`,Vb=`Status`,Hb=`Strategy`,Ub=`Subnet`,vte=`Subnets`,Wb=`Tags`,Gb=`TcpEstablishedTimeout`,yte=`TotalFpgaMemoryInMiB`,Kb=`TransitGatewayId`,bte=`TotalGpuMemoryInMiB`,xte=`TerminateInstances`,Ste=`TotalInferenceMemoryInMiB`,Cte=`TerminateInstancesRequest`,wte=`TerminateInstancesResult`,Tte=`TargetIops`,Ete=`TerminatingInstances`,Dte=`TagList`,Ote=`TargetMultiAttachEnabled`,kte=`TotalMediaMemoryInMiB`,Ate=`TotalNeuronDeviceMemoryInMiB`,qb=`ToPort`,Jb=`ThreadsPerCore`,jte=`ThreadsPerCoreList`,Yb=`TagSpecifications`,Mte=`TotalSizeInGB`,Nte=`TagSpecificationList`,Xb=`TagSpecification`,Pte=`TargetSize`,Zb=`TpmSupport`,Fte=`TargetThroughput`,Ite=`TransferType`,Lte=`TargetVolumeType`,Qb=`Tag`,Rte=`Tenancy`,$b=`Throughput`,zte=`Timestamp`,ex=`Type`,tx=`UsageClassTypeList`,nx=`UserData`,rx=`UserId`,ix=`UserIdGroupPairs`,ax=`UserIdGroupPairList`,ox=`UserIdGroupPair`,sx=`UnknownIpPermissions`,cx=`UsageOperation`,lx=`UsageOperationUpdateTime`,ux=`UdpStreamTimeout`,dx=`UdpTimeout`,fx=`Value`,px=`VolumeAttachmentList`,mx=`VolumeAttachment`,hx=`VpcCidrBlockAssociation`,gx=`VpcCidrBlockAssociationSet`,_x=`VpcCidrBlockState`,vx=`VCpuInfo`,yx=`ValidCores`,bx=`VpcEncryptionControl`,xx=`VpcEncryptionControlConfiguration`,Sx=`VpcEncryptionControlExclusion`,Cx=`VpcEncryptionControlExclusions`,wx=`VpcEncryptionControlId`,Tx=`VpcEndpointId`,Ex=`VpcId`,Dx=`VpcIpv6CidrBlockAssociation`,Ox=`VpcIpv6CidrBlockAssociationSet`,kx=`VolumeInitializationRate`,Ax=`VolumeIdStringList`,jx=`VpcIdStringList`,Mx=`VolumeId`,Nx=`VolumeIds`,Px=`VpcIds`,Fx=`VpcLattice`,Ix=`VpcLatticeExclusion`,Lx=`VolumeList`,Rx=`VpcList`,zx=`VolumeModification`,Bx=`VirtualName`,Vx=`VolumeOwnerId`,Hx=`VpcPeeringConnectionId`,Ux=`VpcPeeringExclusion`,Wx=`VirtualPrivateGateway`,Gx=`VirtualPrivateGatewayExclusion`,Kx=`VpcPeering`,qx=`ValueStringList`,Jx=`VolumeSize`,Yx=`VolumeType`,Xx=`VirtualizationTypeList`,Zx=`ValidThreadsPerCore`,Qx=`VirtualizationType`,$x=`ValidUntil`,eS=`Values`,tS=`Version`,nS=`Volumes`,rS=`Volume`,iS=`Vpc`,aS=`Vpcs`,oS=`WorkloadsList`,sS=`Workloads`,cS=`ZoneId`,lS=`ZoneIdStringList`,uS=`ZoneIds`,dS=`ZoneName`,fS=`ZoneNameStringList`,pS=`ZoneNames`,mS=`ZoneType`,hS=`additionalFlexibleNetworkInterfaces`,gS=`availableIpAddressCount`,_S=`assignIpv6AddressOnCreation`,vS=`additionalInfo`,yS=`associationId`,bS=`attachmentId`,xS=`amiLaunchIndex`,SS=`attachmentLimitType`,CS=`associatePublicIpAddress`,wS=`amazonProvidedIpv6CidrBlock`,TS=`autoRecoverySupported`,ES=`associatedResource`,DS=`autoRecovery`,OS=`associationState`,kS=`amdSevSnp`,AS=`associationSet`,jS=`attachmentSet`,MS=`attachTime`,NS=`availabilityZone`,PS=`availabilityZoneId`,FS=`availabilityZoneInfo`,IS=`accelerators`,LS=`affinity`,RS=`arn`,zS=`architecture`,BS=`association`,VS=`attachment`,HS=`attribute`,US=`baselineBandwidthInGbps`,WS=`baselineBandwidthInMbps`,GS=`blockDeviceMapping`,KS=`baselineIops`,qS=`bootMode`,JS=`bareMetal`,YS=`blockPublicAccessStates`,XS=`burstablePerformanceSupported`,ZS=`baselineThroughputInMBps`,QS=`bandwidthWeighting`,$S=`bandwidthWeightings`,eC=`cidrBlock`,tC=`cidrBlockAssociationSet`,nC=`capacityBlockId`,rC=`cidrBlockState`,iC=`coreCount`,aC=`completionDurationMinutes`,oC=`creationDate`,sC=`carrierGatewayId`,cC=`currentGeneration`,lC=`carrierIp`,uC=`currentInstanceBootMode`,dC=`cidrIp`,fC=`cidrIpv6`,pC=`cidrIpv4`,mC=`coreInfo`,hC=`coreNetworkArn`,gC=`cpuOptions`,_C=`customerOwnedIp`,vC=`customerOwnedIpv4Pool`,yC=`capacityReservationId`,bC=`capacityReservationPreference`,xC=`capacityReservationResourceGroupArn`,SC=`capacityReservationSpecification`,CC=`capacityReservationTarget`,wC=`currentState`,TC=`clientToken`,EC=`connectionTrackingConfiguration`,DC=`completionTime`,OC=`createTime`,kC=`code`,AC=`configured`,jC=`count`,MC=`disableApiTermination`,NC=`destinationCidrBlock`,PC=`defaultCores`,FC=`dataEncryptionKeyId`,IC=`defaultEnaQueueCountPerInterface`,LC=`defaultForAz`,RC=`dedicatedHostsSupported`,zC=`deviceIndex`,BC=`destinationIpv6CidrBlock`,VC=`deviceName`,HC=`defaultNetworkCardIndex`,UC=`dnsName`,WC=`dhcpOptionsId`,GC=`deleteOnTermination`,KC=`destinationPrefixListId`,qC=`deregistrationProtection`,m=`dryRun`,JC=`destinationRegion`,YC=`defaultTcpEstablishedTimeout`,XC=`defaultThreadsPerCore`,ZC=`deprecationTime`,QC=`defaultUdpStreamTimeout`,$C=`defaultUdpTimeout`,ew=`defaultVCpus`,tw=`description`,nw=`device`,rw=`disks`,iw=`ebsCardIndex`,aw=`ebsCardSet`,ow=`encryptionControl`,sw=`enableDns64`,cw=`elasticFileSystem`,lw=`elasticGpuAssociationId`,uw=`elasticGpuAssociationState`,dw=`elasticGpuAssociationSet`,fw=`elasticGpuAssociationTime`,pw=`elasticGpuId`,mw=`elasticInferenceAcceleratorArn`,hw=`elasticInferenceAcceleratorAssociationId`,gw=`elasticInferenceAcceleratorAssociationState`,_w=`elasticInferenceAcceleratorAssociationSet`,vw=`elasticInferenceAcceleratorAssociationTime`,yw=`encryptionInTransitSupported`,bw=`ebsInfo`,xw=`efaInfo`,Sw=`enableLniAtDeviceIndex`,Cw=`ebsOptimized`,ww=`ebsOptimizedInfo`,Tw=`egressOnlyInternetGateway`,Ew=`egressOnlyInternetGatewayId`,Dw=`ebsOptimizedSupport`,Ow=`enclaveOptions`,kw=`enaQueueCount`,h=`ec2QueryName`,Aw=`enableResourceNameDnsAAAARecord`,jw=`enableResourceNameDnsARecord`,Mw=`enaSrdEnabled`,Nw=`enaSrdSpecification`,Pw=`enaSrdSupported`,Fw=`enaSrdUdpEnabled`,Iw=`enaSrdUdpSpecification`,Lw=`efaSupported`,Rw=`encryptionSupport`,zw=`enaSupport`,Bw=`endTime`,Vw=`ebs`,Hw=`enabled`,Uw=`encrypted`,Ww=`flexibleEnaQueuesSupport`,Gw=`fpgaInfo`,Kw=`fromPort`,qw=`fastRestored`,Jw=`fullSnapshotSizeInBytes`,Yw=`freeTierEligible`,Xw=`force`,Zw=`fpgas`,Qw=`groupArn`,$w=`groupDescription`,eT=`gatewayId`,tT=`gpuInfo`,nT=`groupId`,rT=`groupLongName`,iT=`groupName`,aT=`groupOwnerId`,oT=`gpuPartitionSize`,sT=`geographySet`,cT=`groupSet`,lT=`gpus`,uT=`groups`,dT=`hypervisor`,fT=`httpEndpoint`,pT=`hostId`,mT=`hibernationOptions`,hT=`httpProtocolIpv6`,gT=`httpPutResponseHopLimit`,_T=`hostResourceGroupArn`,vT=`hibernationSupported`,yT=`httpTokens`,bT=`hostnameType`,xT=`id`,ST=`ipv6AddressAttribute`,CT=`ipv6AddressCount`,wT=`inferenceAcceleratorInfo`,TT=`ipv4AddressesPerInterface`,ET=`ipv6AddressesPerInterface`,DT=`ipv4AddressesPerSecondaryInterface`,OT=`ipv6AddressesSet`,kT=`imageAllowed`,AT=`ipAddress`,jT=`ipv6Address`,MT=`ipv6CidrBlock`,NT=`ipv6CidrBlockAssociationSet`,PT=`ipv6CidrBlockState`,FT=`isDefault`,IT=`isEgress`,LT=`internetGateway`,RT=`internetGatewayBlockMode`,zT=`internetGatewayId`,BT=`internetGatewaySet`,VT=`instanceId`,HT=`iamInstanceProfile`,UT=`instanceInitiatedShutdownBehavior`,WT=`imageId`,GT=`imageLocation`,KT=`instanceLifecycle`,qT=`instanceMetadataTags`,JT=`ipv6Native`,YT=`imageOwnerAlias`,XT=`imageOwnerId`,ZT=`instanceOwnerId`,QT=`ipOwnerId`,$T=`instanceOwningService`,eE=`ipPermissionsEgress`,tE=`isPrimaryIpv6`,nE=`ipv4PrefixSet`,rE=`ipv6PrefixSet`,iE=`ipProtocol`,aE=`ipPermissions`,oE=`ipv4Prefix`,sE=`ipv6Pool`,cE=`ipv6Prefix`,lE=`isPublic`,uE=`ipRanges`,dE=`ipv6Ranges`,fE=`instanceStorageInfo`,pE=`instanceStorageSupported`,mE=`imagesSet`,hE=`imageState`,gE=`imdsSupport`,_E=`instancesSet`,vE=`instanceState`,yE=`ipSource`,bE=`ipv6Supported`,xE=`instanceType`,SE=`instanceTypeSet`,CE=`idempotencyToken`,wE=`imageType`,TE=`instanceTenancy`,EE=`interfaceType`,DE=`iops`,g=`item`,OE=`key`,kE=`keyFingerprint`,AE=`kernelId`,jE=`kmsKeyId`,ME=`keyMaterial`,NE=`keyName`,PE=`keyPairId`,FE=`keySet`,IE=`keyType`,LE=`kernel`,RE=`licenseConfigurationArn`,zE=`logicalGpuCount`,BE=`localGatewayId`,VE=`linkedGroupId`,HE=`lastLaunchedTime`,UE=`licenseSet`,WE=`launchTime`,GE=`lambda`,KE=`multiAttachEnabled`,qE=`mediaAcceleratorInfo`,JE=`macAddress`,YE=`maximumBandwidthInMbps`,XE=`mapCustomerOwnedIpOnLaunch`,ZE=`maximumEbsAttachments`,QE=`maximumEbsCards`,$E=`maximumEfaInterfaces`,eD=`maximumEnaQueueCount`,tD=`maximumEnaQueueCountPerInterface`,nD=`maximumIops`,rD=`memoryInfo`,iD=`maximumNetworkCards`,aD=`maximumNetworkInterfaces`,oD=`metadataOptions`,sD=`maintenanceOptions`,cD=`mapPublicIpOnLaunch`,lD=`maxResults`,uD=`messageSet`,dD=`maximumSecondaryNetworkInterfaces`,fD=`modificationState`,pD=`maximumThroughputInMBps`,mD=`main`,hD=`manufacturer`,gD=`managed`,_D=`message`,vD=`monitoring`,yD=`mode`,bD=`name`,xD=`networkBorderGroup`,SD=`networkCards`,CD=`networkCardIndex`,wD=`noDevice`,TD=`neuronDevices`,ED=`nitroEnclavesSupport`,DD=`natGateway`,OD=`natGatewayId`,kD=`networkInterfaceId`,AD=`networkInterfaceSet`,jD=`networkInterface`,MD=`networkInfo`,ND=`neuronInfo`,PD=`networkPerformanceOptions`,FD=`networkPerformance`,ID=`noReboot`,LD=`nvmeSupport`,RD=`nitroTpmInfo`,zD=`nitroTpmSupport`,BD=`nextToken`,VD=`nestedVirtualization`,HD=`origin`,UD=`outpostArn`,WD=`ownerAlias`,GD=`ownerId`,KD=`optInStatus`,qD=`originalIops`,JD=`originalMultiAttachEnabled`,YD=`odbNetworkArn`,XD=`originalSize`,ZD=`originalThroughput`,QD=`originalVolumeType`,$D=`operator`,eO=`output`,tO=`principal`,nO=`peakBandwidthInGbps`,rO=`productCodes`,iO=`partitionCount`,aO=`productCode`,oO=`privateDnsNameOptions`,sO=`privateDnsNameOptionsOnLaunch`,cO=`privateDnsName`,lO=`publicDnsName`,uO=`platformDetails`,dO=`placementGroup`,fO=`placementGroupInfo`,pO=`placementGroupSet`,mO=`publicIp`,hO=`privateIpAddressesSet`,gO=`privateIpAddressSet`,_O=`privateIpAddress`,vO=`publicIpv4Pool`,yO=`processorInfo`,bO=`publicKey`,xO=`publicKeyMaterial`,SO=`prefixListId`,CO=`prefixListIds`,wO=`partitionNumber`,TO=`peeringStatus`,EO=`phcSupport`,DO=`previousState`,OO=`presignedUrl`,kO=`propagatingVgwSet`,AO=`parentZoneId`,jO=`parentZoneName`,MO=`platform`,NO=`placement`,PO=`primary`,FO=`progress`,IO=`return`,LO=`rootDeviceName`,RO=`rootDeviceType`,zO=`restoreExpiryTime`,BO=`regionEndpoint`,VO=`resourceExclusions`,HO=`referencedGroupId`,UO=`referencedGroupInfo`,WO=`reservationId`,GO=`ramdiskId`,KO=`regionInfo`,qO=`requesterId`,JO=`rebootMigrationSupport`,YO=`rebootMigration`,XO=`regionName`,ZO=`revokedSecurityGroupRuleSet`,QO=`reservationSet`,$O=`routeSet`,ek=`routeTableAssociationId`,tk=`routeTableId`,nk=`routeTableSet`,rk=`resourceType`,ik=`routeTable`,ak=`ramdisk`,ok=`reason`,sk=`smithy.ts.sdk.synthetic.com.amazonaws.ec2`,ck=`supportedArchitectures`,lk=`subnetArn`,uk=`supportedBootModes`,dk=`sustainedClockSpeedInGhz`,fk=`sourceDestCheck`,pk=`spreadDomain`,mk=`supportedFeatures`,hk=`securityGroupArn`,gk=`securityGroupInfo`,_k=`securityGroupRuleArn`,vk=`securityGroupRuleId`,yk=`securityGroupRuleSet`,bk=`subGeographySet`,xk=`sizeInGB`,Sk=`sourceInstanceId`,Ck=`secondaryInterfaceId`,wk=`sourceImageId`,Tk=`sizeInMiB`,Ek=`sourceImageRegion`,Dk=`spotInstanceRequestId`,Ok=`secondaryInterfaceSet`,kk=`snapshotId`,Ak=`subnetId`,jk=`spreadLevel`,Mk=`statusMessage`,Nk=`stateMessage`,Pk=`secondaryNetworkId`,Fk=`secondaryNetworkSupported`,Ik=`sriovNetSupport`,Lk=`secondaryPrivateIpAddressCount`,Rk=`supportedRootDeviceTypes`,zk=`stateReason`,Bk=`sourceSecurityGroupName`,Vk=`sourceSecurityGroupOwnerId`,Hk=`secondarySubnetId`,Uk=`snapshotSet`,Wk=`subnetSet`,Gk=`supportedStrategies`,Kk=`startTime`,qk=`sseType`,Jk=`storageTier`,Yk=`supportedUsageClasses`,Xk=`sourceVolumeId`,Zk=`supportedVirtualizationTypes`,Qk=`supportedVersions`,$k=`size`,eA=`state`,tA=`status`,nA=`strategy`,rA=`subnet`,iA=`tenancy`,aA=`tcpEstablishedTimeout`,oA=`totalFpgaMemoryInMiB`,sA=`transitGatewayId`,cA=`totalGpuMemoryInMiB`,lA=`totalInferenceMemoryInMiB`,uA=`targetIops`,dA=`targetMultiAttachEnabled`,fA=`totalMediaMemoryInMiB`,pA=`totalNeuronDeviceMemoryInMiB`,mA=`toPort`,hA=`threadsPerCore`,gA=`tagSet`,_A=`totalSizeInGB`,vA=`targetSize`,yA=`tpmSupport`,bA=`targetThroughput`,xA=`transferType`,SA=`targetVolumeType`,CA=`throughput`,wA=`timestamp`,TA=`type`,EA=`userData`,DA=`userId`,OA=`unknownIpPermissionSet`,kA=`usageOperation`,AA=`usageOperationUpdateTime`,jA=`udpStreamTimeout`,MA=`udpTimeout`,NA=`value`,PA=`vCpuInfo`,FA=`validCores`,IA=`vpcEncryptionControlId`,LA=`vpcId`,RA=`volumeInitializationRate`,zA=`volumeId`,BA=`vpcLattice`,VA=`volumeModification`,HA=`virtualName`,UA=`volumeOwnerId`,WA=`vpcPeeringConnectionId`,GA=`virtualPrivateGateway`,KA=`vpcPeering`,qA=`volumeSet`,JA=`volumeSize`,YA=`vpcSet`,XA=`volumeType`,ZA=`validThreadsPerCore`,QA=`virtualizationType`,$A=`version`,ej=`vpc`,tj=`workloadSet`,_=`xmlName`,nj=`zoneId`,rj=`zoneName`,ij=`zoneState`,aj=`zoneType`,v=`com.amazonaws.ec2`,oj=At.for(sk),sj=[-3,sk,`EC2ServiceException`,0,[],[]];oj.registerError(sj,Ho);var cj=[oj],lj=[0,v,zc,8,0],uj=[0,v,cy,8,0],dj=[0,v,fte,8,0],fj=[3,v,as,0,[Iy,Df,wv,p,Db],[[0,{[h]:`RouteTableId`,[_]:tk}],0,0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SubnetId`,[_]:Ak}]],1],pj=[3,v,os,0,[Qo,ds],[[0,{[h]:`AssociationId`,[_]:yS}],[()=>eF,{[h]:`AssociationState`,[_]:OS}]]],mj=[3,v,Xo,0,[Np,Ex,p],[[0,{[h]:`InternetGatewayId`,[_]:zT}],[0,{[h]:`VpcId`,[_]:LA}],[2,{[h]:`DryRun`,[_]:m}]],2],hj=[3,v,xs,0,[Ku,Rp,Mx,Zu,p],[0,0,0,1,[2,{[h]:`DryRun`,[_]:m}]],3],gj=[3,v,Wo,0,[fx],[[2,{[h]:`Value`,[_]:NA}]]],_j=[3,v,Ss,0,[fx],[[0,{[h]:`Value`,[_]:NA}]]],vj=[3,v,ps,0,[jf,Yb,p,Pb,Fb,Gm,df,qb,sc,Um],[[0,{[h]:`GroupId`,[_]:nT}],[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SourceSecurityGroupName`,[_]:Bk}],[0,{[h]:`SourceSecurityGroupOwnerId`,[_]:Vk}],[0,{[h]:`IpProtocol`,[_]:iE}],[1,{[h]:`FromPort`,[_]:Kw}],[1,{[h]:`ToPort`,[_]:mA}],[0,{[h]:`CidrIp`,[_]:dC}],[()=>wI,{[h]:`IpPermissions`,[_]:aE}]],1],yj=[3,v,ms,0,[qv,db],[[2,{[h]:`Return`,[_]:IO}],[()=>aL,{[h]:`SecurityGroupRuleSet`,[_]:yk}]]],bj=[3,v,hs,0,[sc,df,jf,Ff,Um,Gm,Pb,Fb,qb,Yb,p],[0,1,0,0,[()=>wI,0],0,0,0,1,[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}]]],xj=[3,v,gs,0,[qv,db],[[2,{[h]:`Return`,[_]:IO}],[()=>aL,{[h]:`SecurityGroupRuleSet`,[_]:yk}]]],Sj=[3,v,ws,0,[F_,$g,yy,dS,cS,Ff,r_,mS,Vv,Bv,Pf,Bf,ab,Bb],[[0,{[h]:`OptInStatus`,[_]:KD}],[()=>IF,{[h]:`MessageSet`,[_]:uD}],[0,{[h]:`RegionName`,[_]:XO}],[0,{[h]:`ZoneName`,[_]:rj}],[0,{[h]:`ZoneId`,[_]:nj}],[0,{[h]:`GroupName`,[_]:iT}],[0,{[h]:`NetworkBorderGroup`,[_]:xD}],[0,{[h]:`ZoneType`,[_]:aj}],[0,{[h]:`ParentZoneName`,[_]:jO}],[0,{[h]:`ParentZoneId`,[_]:AO}],[0,{[h]:`GroupLongName`,[_]:rT}],[()=>PF,{[h]:`GeographySet`,[_]:sT}],[()=>LF,{[h]:`SubGeographySet`,[_]:bk}],[0,{[h]:`ZoneState`,[_]:ij}]]],Cj=[3,v,pee,0,[n_],[[0,{[h]:`Name`,[_]:bD}]]],wj=[3,v,gee,0,[Qg],[[0,{[h]:`Message`,[_]:_D}]]],Tj=[3,v,vee,0,[n_],[[0,{[h]:`Name`,[_]:bD}]]],Ej=[3,v,wee,0,[fx],[[21,{[h]:`Value`,[_]:NA}]]],Dj=[3,v,Ns,0,[$d,c_,Kl,Bx],[[()=>GM,{[h]:`Ebs`,[_]:Vw}],[0,{[h]:`NoDevice`,[_]:wD}],[0,{[h]:`DeviceName`,[_]:VC}],[0,{[h]:`VirtualName`,[_]:HA}]]],Oj=[3,v,Ls,0,[jp],[[0,{[h]:`InternetGatewayBlockMode`,[_]:RT}]]],kj=[3,v,Oc,0,[Cc,kc],[0,()=>jj]],Aj=[3,v,Dc,0,[Cc,kc],[[0,{[h]:`CapacityReservationPreference`,[_]:bC}],[()=>Mj,{[h]:`CapacityReservationTarget`,[_]:CC}]]],jj=[3,v,kc,0,[Sc,Tc],[0,0]],Mj=[3,v,Ac,0,[Sc,Tc],[[0,{[h]:`CapacityReservationId`,[_]:yC}],[0,{[h]:`CapacityReservationResourceGroupArn`,[_]:xC}]]],Nj=[3,v,$c,0,[Gb,ux,dx],[1,1,1]],Pj=[3,v,el,0,[Gb,ux,dx],[[1,{[h]:`TcpEstablishedTimeout`,[_]:aA}],[1,{[h]:`UdpStreamTimeout`,[_]:jA}],[1,{[h]:`UdpTimeout`,[_]:MA}]]],Fj=[3,v,Rc,0,[ote,ste,Gu,Jl,lu,tf,Fh,Iv,Yb,Xs,pl,p],[0,0,0,0,[0,{[h]:`DestinationRegion`,[_]:JC}],[2,{[h]:`Encrypted`,[_]:Uw}],[0,{[h]:`KmsKeyId`,[_]:jE}],[()=>lj,{[h]:`PresignedUrl`,[_]:OO}],[()=>mL,{[_]:Xb}],1,0,[2,{[h]:`DryRun`,[_]:m}]],2],Ij=[3,v,Bc,0,[Wb,Eb],[[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`SnapshotId`,[_]:kk}]]],Lj=[3,v,hc,0,[Js,Jb,vs,A_],[[1,{[h]:`CoreCount`,[_]:iC}],[1,{[h]:`ThreadsPerCore`,[_]:hA}],[0,{[h]:`AmdSevSnp`,[_]:kS}],[0,{[h]:`NestedVirtualization`,[_]:VD}]]],Rj=[3,v,vc,0,[Js,Jb,vs,A_],[1,1,0,0]],zj=[3,v,ac,0,[Rp,n_,Yb,Zee,p,Gu,w_,Ps],[[0,{[h]:`InstanceId`,[_]:VT}],[0,{[h]:`Name`,[_]:bD}],[()=>mL,{[_]:Xb}],0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`Description`,[_]:tw}],[2,{[h]:`NoReboot`,[_]:ID}],[()=>BF,{[h]:`BlockDeviceMapping`,[_]:GS}]],2],Bj=[3,v,oc,0,[Qp],[[0,{[h]:`ImageId`,[_]:WT}]]],Vj=[3,v,rc,0,[Yb,p],[[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}]]],Hj=[3,v,ic,0,[Op],[[()=>tP,{[h]:`InternetGateway`,[_]:LT}]]],Uj=[3,v,pc,0,[Lh,qh,Yb,Mh,p],[0,0,[()=>mL,{[_]:Xb}],0,[2,{[h]:`DryRun`,[_]:m}]],1],Wj=[3,v,bc,0,[tv,Yb,Ob,tg,K_,p,Ff,Hb],[1,[()=>mL,{[_]:Xb}],0,0,()=>OP,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`GroupName`,[_]:iT}],[0,{[h]:`Strategy`,[_]:nA}]]],Gj=[3,v,xc,0,[dv],[[()=>jP,{[h]:`PlacementGroup`,[_]:dO}]]],Kj=[3,v,wc,0,[Iy,nu,Tx,Kb,eg,Qs,mc,z_,p,_l,Df,Tl,Nd,Rp,v_,Hx,__],[[0,{[h]:`RouteTableId`,[_]:tk}],0,0,0,0,0,0,0,[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`DestinationCidrBlock`,[_]:NC}],[0,{[h]:`GatewayId`,[_]:eT}],[0,{[h]:`DestinationIpv6CidrBlock`,[_]:BC}],[0,{[h]:`EgressOnlyInternetGatewayId`,[_]:Ew}],[0,{[h]:`InstanceId`,[_]:VT}],[0,{[h]:`NetworkInterfaceId`,[_]:kD}],[0,{[h]:`VpcPeeringConnectionId`,[_]:WA}],[0,{[h]:`NatGatewayId`,[_]:OD}]],1],qj=[3,v,Ec,0,[qv],[[2,{[h]:`Return`,[_]:IO}]]],Jj=[3,v,jc,0,[Ex,Yb,Xc,p],[[0,{[h]:`VpcId`,[_]:LA}],[()=>mL,{[_]:Xb}],[0,4],[2,{[h]:`DryRun`,[_]:m}]],1],Yj=[3,v,Mc,0,[Vy,Xc],[[()=>QP,{[h]:`RouteTable`,[_]:ik}],[0,{[h]:`ClientToken`,[_]:TC}]]],Xj=[3,v,Ic,0,[Gu,Ff,Ex,Yb,p],[[0,{[_]:Cf}],0,0,[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}]],2],Zj=[3,v,Lc,0,[jf,Wb,ob],[[0,{[h]:`GroupId`,[_]:nT}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`SecurityGroupArn`,[_]:hk}]]],Qj=[3,v,Vc,0,[Mx,Gu,M_,Yb,hg,p],[0,0,0,[()=>mL,{[_]:Xb}],0,[2,{[h]:`DryRun`,[_]:m}]],1],$j=[3,v,Hc,0,[Ex,Yb,ws,Ts,Us,_p,M_,hm,Wp,Cm,Up,Sm,p],[0,[()=>mL,{[_]:Xb}],0,0,0,0,0,2,0,1,0,1,[2,{[h]:`DryRun`,[_]:m}]],1],eM=[3,v,Uc,0,[Ub],[[()=>fF,{[h]:`Subnet`,[_]:rA}]]],tM=[3,v,rl,0,[ws,Ts,tf,Ah,Fh,M_,zb,Eb,Yx,Yb,gg,$b,Xc,kx,K_,p],[0,0,[2,{[h]:`Encrypted`,[_]:Uw}],1,0,0,1,0,0,[()=>mL,{[_]:Xb}],2,1,[0,4],1,()=>OP,[2,{[h]:`DryRun`,[_]:m}]]],nM=[3,v,il,0,[Us,qm,_p,Wp,Cm,Up,Sm,yp,bx,Yb,p,Ch,rs],[0,0,0,0,1,0,1,0,()=>OF,[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`InstanceTenancy`,[_]:TE}],[2,{[h]:`AmazonProvidedIpv6CidrBlock`,[_]:wS}]]],rM=[3,v,al,0,[iS],[[()=>wF,{[h]:`Vpc`,[_]:ej}]]],iM=[3,v,Wc,0,[Ys],[0],1],aM=[3,v,vl,0,[Du,ju,Au],[[1,{[h]:`DefaultTcpEstablishedTimeout`,[_]:YC}],[1,{[h]:`DefaultUdpTimeout`,[_]:$C}],[1,{[h]:`DefaultUdpStreamTimeout`,[_]:QC}]]],oM=[3,v,Vl,0,[Lh,Vh,p],[0,0,[2,{[h]:`DryRun`,[_]:m}]]],sM=[3,v,Hl,0,[qv,Vh],[[2,{[h]:`Return`,[_]:IO}],[0,{[h]:`KeyPairId`,[_]:PE}]]],cM=[3,v,Ql,0,[Ff,p],[[0,{[h]:`GroupName`,[_]:iT}],[2,{[h]:`DryRun`,[_]:m}]],1],lM=[3,v,fu,0,[jf,Ff,p],[0,0,[2,{[h]:`DryRun`,[_]:m}]]],uM=[3,v,pu,0,[qv,jf],[[2,{[h]:`Return`,[_]:IO}],[0,{[h]:`GroupId`,[_]:nT}]]],dM=[3,v,_u,0,[Eb,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],fM=[3,v,vu,0,[Db,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],pM=[3,v,Nu,0,[Mx,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],mM=[3,v,Pu,0,[Ex,p],[0,[2,{[h]:`DryRun`,[_]:m}]],1],hM=[3,v,ml,0,[pS,uS,Uo,p,hf],[[()=>kL,{[_]:dS}],[()=>OL,{[_]:cS}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],gM=[3,v,hl,0,[bee],[[()=>FF,{[h]:`AvailabilityZoneInfo`,[_]:FS}]]],_M=[3,v,Al,0,[Qd,$p,J_,xp,Tp,Vg,k_,p,hf],[[()=>YF,{[_]:Xu}],[()=>nI,{[_]:Qp}],[()=>RI,{[_]:Y_}],2,2,1,0,[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],vM=[3,v,jl,0,[k_,Eh],[[0,{[h]:`NextToken`,[_]:BD}],[()=>rI,{[h]:`ImagesSet`,[_]:mE}]]],yM=[3,v,Ml,0,[em,p,hf,k_,Vg],[[()=>sI,{[_]:Rp}],[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}],[0,{[h]:`NextToken`,[_]:BD}],[1,{[h]:`MaxResults`,[_]:lD}]]],bM=[3,v,Nl,0,[k_,Ky],[[0,{[h]:`NextToken`,[_]:BD}],[()=>YI,{[h]:`ReservationSet`,[_]:QO}]]],xM=[3,v,Pl,0,[p,wh,hf,Vg,k_],[2,[64,{[_]:yh}],[()=>XF,{[_]:gf}],1,0]],SM=[3,v,Fl,0,[wh,k_],[[()=>bI,{[h]:`InstanceTypeSet`,[_]:SE}],[0,{[h]:`NextToken`,[_]:BD}]]],CM=[3,v,El,0,[k_,Vg,p,Fp,hf],[0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>SI,{[h]:`InternetGatewayId`,[_]:zT}],[()=>XF,{[_]:gf}]]],wM=[3,v,Dl,0,[Lp,k_],[[()=>CI,{[h]:`InternetGatewaySet`,[_]:BT}],[0,{[h]:`NextToken`,[_]:BD}]]],TM=[3,v,Ul,0,[zh,Uh,Im,p,hf],[[()=>kI,{[_]:Lh}],[()=>AI,{[_]:Vh}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],EM=[3,v,Wl,0,[Bh],[[()=>jI,{[h]:`KeySet`,[_]:FE}]]],DM=[3,v,$l,0,[Mf,p,Lf,hf],[[()=>zI,{[_]:jf}],[2,{[h]:`DryRun`,[_]:m}],[64,{[h]:`GroupName`,[_]:iT}],[()=>XF,{[_]:gf}]]],OM=[3,v,eu,0,[gv],[[()=>BI,{[h]:`PlacementGroupSet`,[_]:pO}]]],kM=[3,v,iu,0,[xy,cs,p,hf],[[()=>JI,{[_]:yy}],2,[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],AM=[3,v,au,0,[Wy],[[()=>qI,{[h]:`RegionInfo`,[_]:KO}]]],jM=[3,v,ou,0,[k_,Vg,p,Ry,hf],[0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>eL,{[_]:Iy}],[()=>XF,{[_]:gf}]]],MM=[3,v,su,0,[Hy,k_],[[()=>tL,{[h]:`RouteTableSet`,[_]:nk}],[0,{[h]:`NextToken`,[_]:BD}]]],NM=[3,v,mu,0,[Mf,Lf,k_,Vg,p,hf],[[()=>eI,{[_]:jf}],[()=>tI,{[_]:Ff}],0,1,[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],PM=[3,v,hu,0,[k_,yb],[[0,{[h]:`NextToken`,[_]:BD}],[()=>rL,{[h]:`SecurityGroupInfo`,[_]:gk}]]],FM=[3,v,yu,0,[Vg,k_,L_,Jv,Kee,p,hf],[1,0,[()=>RI,{[_]:Y_}],[64,{[_]:Yv}],[()=>sL,{[_]:Eb}],[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}]]],IM=[3,v,bu,0,[k_,gte],[[0,{[h]:`NextToken`,[_]:BD}],[()=>cL,{[h]:`SnapshotSet`,[_]:Uk}]]],LM=[3,v,xu,0,[hf,xb,k_,Vg,p],[[()=>XF,{[_]:gf}],[()=>lL,{[_]:Db}],0,1,[2,{[h]:`DryRun`,[_]:m}]]],RM=[3,v,Su,0,[k_,vte],[[0,{[h]:`NextToken`,[_]:BD}],[()=>dL,{[h]:`SubnetSet`,[_]:Wk}]]],zM=[3,v,Fu,0,[Nx,p,hf,k_,Vg],[[()=>xL,{[_]:Mx}],[2,{[h]:`DryRun`,[_]:m}],[()=>XF,{[_]:gf}],[0,{[h]:`NextToken`,[_]:BD}],[1,{[h]:`MaxResults`,[_]:lD}]]],BM=[3,v,Iu,0,[k_,nS],[[0,{[h]:`NextToken`,[_]:BD}],[()=>SL,{[h]:`VolumeSet`,[_]:qA}]]],VM=[3,v,Lu,0,[hf,Px,k_,Vg,p],[[()=>XF,{[_]:gf}],[()=>wL,{[_]:Ex}],0,1,[2,{[h]:`DryRun`,[_]:m}]]],HM=[3,v,Ru,0,[k_,aS],[[0,{[h]:`NextToken`,[_]:BD}],[()=>EL,{[h]:`VpcSet`,[_]:YA}]]],UM=[3,v,zu,0,[Mx,Ku,rf,Rp,p],[0,0,2,0,[2,{[h]:`DryRun`,[_]:m}]],1],WM=[3,v,zl,0,[Mee,ul,ex],[[1,{[h]:`SizeInGB`,[_]:xk}],[1,{[h]:`Count`,[_]:jC}],[0,{[h]:`Type`,[_]:TA}]]],GM=[3,v,Ju,0,[Xl,Ah,Eb,Jx,Yx,Fh,$b,M_,ws,tf,kx,Ts,Zu],[[2,{[h]:`DeleteOnTermination`,[_]:GC}],[1,{[h]:`Iops`,[_]:DE}],[0,{[h]:`SnapshotId`,[_]:kk}],[1,{[h]:`VolumeSize`,[_]:JA}],[0,{[h]:`VolumeType`,[_]:XA}],[0,{[h]:`KmsKeyId`,[_]:jE}],[1,{[h]:`Throughput`,[_]:CA}],[0,{[h]:`OutpostArn`,[_]:UD}],[0,{[h]:`AvailabilityZone`,[_]:NS}],[2,{[h]:`Encrypted`,[_]:Uw}],1,0,1]],KM=[3,v,$u,0,[Zu,Ms,zs,Fs,yg,Gg,jg],[[1,{[h]:`EbsCardIndex`,[_]:iw}],[1,{[h]:`BaselineBandwidthInMbps`,[_]:WS}],[1,{[h]:`BaselineThroughputInMBps`,[_]:ZS}],[1,{[h]:`BaselineIops`,[_]:KS}],[1,{[h]:`MaximumBandwidthInMbps`,[_]:YE}],[1,{[h]:`MaximumThroughputInMBps`,[_]:pD}],[1,{[h]:`MaximumIops`,[_]:nD}]]],qM=[3,v,Ed,0,[Fd,Yd,Ad,T_,Eg,ts,Dg,ed],[[0,{[h]:`EbsOptimizedSupport`,[_]:Dw}],[0,{[h]:`EncryptionSupport`,[_]:Rw}],[()=>XM,{[h]:`EbsOptimizedInfo`,[_]:ww}],[0,{[h]:`NvmeSupport`,[_]:LD}],[1,{[h]:`MaximumEbsAttachments`,[_]:ZE}],[0,{[h]:`AttachmentLimitType`,[_]:SS}],[1,{[h]:`MaximumEbsCards`,[_]:QE}],[()=>WF,{[h]:`EbsCardSet`,[_]:aw}]]],JM=[3,v,Cd,0,[bs,Xl,Vb,Mx,ls,Vx,K_,Zu],[[4,{[h]:`AttachTime`,[_]:MS}],[2,{[h]:`DeleteOnTermination`,[_]:GC}],[0,{[h]:`Status`,[_]:tA}],[0,{[h]:`VolumeId`,[_]:zA}],[0,{[h]:`AssociatedResource`,[_]:ES}],[0,{[h]:`VolumeOwnerId`,[_]:UA}],[()=>kP,{[h]:`Operator`,[_]:$D}],[1,{[h]:`EbsCardIndex`,[_]:iw}]]],YM=[3,v,wd,0,[Mx,Xl],[[0,{[h]:`VolumeId`,[_]:zA}],[2,{[h]:`DeleteOnTermination`,[_]:GC}]]],XM=[3,v,Ad,0,[Ms,zs,Fs,yg,Gg,jg],[[1,{[h]:`BaselineBandwidthInMbps`,[_]:WS}],[1,{[h]:`BaselineThroughputInMBps`,[_]:ZS}],[1,{[h]:`BaselineIops`,[_]:KS}],[1,{[h]:`MaximumBandwidthInMbps`,[_]:YE}],[1,{[h]:`MaximumThroughputInMBps`,[_]:pD}],[1,{[h]:`MaximumIops`,[_]:nD}]]],ZM=[3,v,Dd,0,[Og],[[1,{[h]:`MaximumEfaInterfaces`,[_]:$E}]]],QM=[3,v,ad,0,[dd,od,cd,ld],[[0,{[h]:`ElasticGpuId`,[_]:pw}],[0,{[h]:`ElasticGpuAssociationId`,[_]:lw}],[0,{[h]:`ElasticGpuAssociationState`,[_]:uw}],[0,{[h]:`ElasticGpuAssociationTime`,[_]:fw}]]],$M=[3,v,fd,0,[ex],[0],1],eN=[3,v,md,0,[ex,ul],[0,1],1],tN=[3,v,hd,0,[bd,gd,vd,yd],[[0,{[h]:`ElasticInferenceAcceleratorArn`,[_]:mw}],[0,{[h]:`ElasticInferenceAcceleratorAssociationId`,[_]:hw}],[0,{[h]:`ElasticInferenceAcceleratorAssociationState`,[_]:gw}],[4,{[h]:`ElasticInferenceAcceleratorAssociationTime`,[_]:vw}]]],nN=[3,v,Ud,0,[Vd,Kd],[2,()=>rN]],rN=[3,v,qd,0,[Gd],[2]],iN=[3,v,Id,0,[ef],[[2,{[h]:`Enabled`,[_]:Hw}]]],aN=[3,v,Pd,0,[ef],[2]],oN=[3,v,gf,0,[n_,eS],[0,[()=>vL,{[_]:fx}]]],sN=[3,v,af,0,[n_,Xg,ul,Pg],[[0,{[h]:`Name`,[_]:bD}],[0,{[h]:`Manufacturer`,[_]:hD}],[1,{[h]:`Count`,[_]:jC}],[()=>cN,{[h]:`MemoryInfo`,[_]:rD}]]],cN=[3,v,sf,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],lN=[3,v,lf,0,[_f,yte],[[()=>ZF,{[h]:`Fpgas`,[_]:Zw}],[1,{[h]:`TotalFpgaMemoryInMiB`,[_]:oA}]]],uN=[3,v,xf,0,[Rp,fg,p],[0,2,[2,{[h]:`DryRun`,[_]:m}]],1],dN=[3,v,Sf,0,[Rp,zte,q_],[[0,{[h]:`InstanceId`,[_]:VT}],[4,{[h]:`Timestamp`,[_]:wA}],[0,{[h]:`Output`,[_]:eO}]]],fN=[3,v,wf,0,[n_,Xg,ul,$h,zf,sS,Pg],[[0,{[h]:`Name`,[_]:bD}],[0,{[h]:`Manufacturer`,[_]:hD}],[1,{[h]:`Count`,[_]:jC}],[1,{[h]:`LogicalGpuCount`,[_]:zE}],[1,{[h]:`GpuPartitionSize`,[_]:oT}],[()=>DL,{[h]:`WorkloadSet`,[_]:tj}],[()=>pN,{[h]:`MemoryInfo`,[_]:rD}]]],pN=[3,v,Ef,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],mN=[3,v,Af,0,[Vf,bte],[[()=>QF,{[h]:`Gpus`,[_]:lT}],[1,{[h]:`TotalGpuMemoryInMiB`,[_]:cA}]]],hN=[3,v,Nf,0,[jf,Ff],[[0,{[h]:`GroupId`,[_]:nT}],[0,{[h]:`GroupName`,[_]:iT}]]],gN=[3,v,Wf,0,[ll],[[2,{[h]:`Configured`,[_]:AC}]]],_N=[3,v,Gf,0,[ll],[2]],vN=[3,v,Hp,0,[Ds,ep],[[0,{[h]:`Arn`,[_]:RS}],[0,{[h]:`Id`,[_]:xT}]]],yN=[3,v,Kp,0,[Ds,n_],[[0,{[h]:`Arn`,[_]:RS}],[0,{[h]:`Name`,[_]:bD}]]],bN=[3,v,Dh,0,[uv,cx,Ps,Gu,Xd,$f,Em,n_,Xv,Zv,jb,Nb,Wb,Qx,Is,Zb,ku,hh,Fee,ru,rg,up,Nee,Lee,mf,Qp,im,Bb,P_,Zs,Kv,rv,Os,Sh,Ph,ly,Hv],[[0,{[h]:`PlatformDetails`,[_]:uO}],[0,{[h]:`UsageOperation`,[_]:kA}],[()=>zF,{[h]:`BlockDeviceMapping`,[_]:GS}],[0,{[h]:`Description`,[_]:tw}],[2,{[h]:`EnaSupport`,[_]:zw}],[0,{[h]:`Hypervisor`,[_]:dT}],[0,{[h]:`ImageOwnerAlias`,[_]:YT}],[0,{[h]:`Name`,[_]:bD}],[0,{[h]:`RootDeviceName`,[_]:LO}],[0,{[h]:`RootDeviceType`,[_]:RO}],[0,{[h]:`SriovNetSupport`,[_]:Ik}],[()=>lF,{[h]:`StateReason`,[_]:zk}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`VirtualizationType`,[_]:QA}],[0,{[h]:`BootMode`,[_]:qS}],[0,{[h]:`TpmSupport`,[_]:yA}],[0,{[h]:`DeprecationTime`,[_]:ZC}],[0,{[h]:`ImdsSupport`,[_]:gE}],[0,{[h]:`SourceInstanceId`,[_]:Sk}],[0,{[h]:`DeregistrationProtection`,[_]:qC}],[0,{[h]:`LastLaunchedTime`,[_]:HE}],[2,{[h]:`ImageAllowed`,[_]:kT}],[0,{[h]:`SourceImageId`,[_]:wk}],[0,{[h]:`SourceImageRegion`,[_]:Ek}],[2,{[h]:`FreeTierEligible`,[_]:Yw}],[0,{[h]:`ImageId`,[_]:WT}],[0,{[h]:`ImageLocation`,[_]:GT}],[0,{[h]:`ImageState`,[_]:hE}],[0,{[h]:`ImageOwnerId`,[_]:XT}],[0,{[h]:`CreationDate`,[_]:oC}],[2,{[h]:`IsPublic`,[_]:lE}],[()=>WI,{[h]:`ProductCodes`,[_]:rO}],[0,{[h]:`Architecture`,[_]:zS}],[0,{[h]:`ImageType`,[_]:wE}],[0,{[h]:`KernelId`,[_]:AE}],[0,{[h]:`RamdiskId`,[_]:GO}],[0,{[h]:`Platform`,[_]:MO}]]],xN=[3,v,nm,0,[Lh,Ov,Yb,p],[[0,{[h]:`KeyName`,[_]:NE}],[21,{[h]:`PublicKeyMaterial`,[_]:xO}],[()=>mL,{[_]:Xb}],[2,{[h]:`DryRun`,[_]:m}]],2],SN=[3,v,rm,0,[Nh,Lh,Vh,Wb],[[0,{[h]:`KeyFingerprint`,[_]:kE}],[0,{[h]:`KeyName`,[_]:NE}],[0,{[h]:`KeyPairId`,[_]:PE}],[()=>pL,{[h]:`TagSet`,[_]:gA}]]],CN=[3,v,op,0,[Es,Ste],[[()=>iI,{[h]:`Accelerators`,[_]:IS}],[1,{[h]:`TotalInferenceMemoryInMiB`,[_]:lA}]]],wN=[3,v,Sp,0,[ul,n_,Xg,Pg],[[1,{[h]:`Count`,[_]:jC}],[0,{[h]:`Name`,[_]:bD}],[0,{[h]:`Manufacturer`,[_]:hD}],[()=>TN,{[h]:`MemoryInfo`,[_]:rD}]]],TN=[3,v,wp,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],EN=[3,v,Oh,0,[Os,Ps,Xc,kd,Xd,$f,Hp,om,ud,xd,y_,M_,Xv,Zv,yb,nb,Iee,jb,Nb,Wb,Qx,hc,Gs,Sc,Oc,Wf,mg,Lg,Id,Is,uv,cx,lx,av,fp,Zb,Rg,tc,S_,K_,Tb,Rp,Qp,Bb,iv,lv,lte,Lh,es,rv,yh,dg,Uv,Ph,ly,Hv,t_,Db,Ex,xv,Cv],[[0,{[h]:`Architecture`,[_]:zS}],[()=>aI,{[h]:`BlockDeviceMapping`,[_]:GS}],[0,{[h]:`ClientToken`,[_]:TC}],[2,{[h]:`EbsOptimized`,[_]:Cw}],[2,{[h]:`EnaSupport`,[_]:zw}],[0,{[h]:`Hypervisor`,[_]:dT}],[()=>vN,{[h]:`IamInstanceProfile`,[_]:HT}],[0,{[h]:`InstanceLifecycle`,[_]:KT}],[()=>GF,{[h]:`ElasticGpuAssociationSet`,[_]:dw}],[()=>qF,{[h]:`ElasticInferenceAcceleratorAssociationSet`,[_]:_w}],[()=>fI,{[h]:`NetworkInterfaceSet`,[_]:AD}],[0,{[h]:`OutpostArn`,[_]:UD}],[0,{[h]:`RootDeviceName`,[_]:LO}],[0,{[h]:`RootDeviceType`,[_]:RO}],[()=>$F,{[h]:`GroupSet`,[_]:cT}],[2,{[h]:`SourceDestCheck`,[_]:fk}],[0,{[h]:`SpotInstanceRequestId`,[_]:Dk}],[0,{[h]:`SriovNetSupport`,[_]:Ik}],[()=>lF,{[h]:`StateReason`,[_]:zk}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`VirtualizationType`,[_]:QA}],[()=>Lj,{[h]:`CpuOptions`,[_]:gC}],[0,{[h]:`CapacityBlockId`,[_]:nC}],[0,{[h]:`CapacityReservationId`,[_]:yC}],[()=>Aj,{[h]:`CapacityReservationSpecification`,[_]:SC}],[()=>gN,{[h]:`HibernationOptions`,[_]:mT}],[()=>MI,{[h]:`LicenseSet`,[_]:UE}],[()=>RN,{[h]:`MetadataOptions`,[_]:oD}],[()=>iN,{[h]:`EnclaveOptions`,[_]:Ow}],[0,{[h]:`BootMode`,[_]:qS}],[0,{[h]:`PlatformDetails`,[_]:uO}],[0,{[h]:`UsageOperation`,[_]:kA}],[4,{[h]:`UsageOperationUpdateTime`,[_]:AA}],[()=>IP,{[h]:`PrivateDnsNameOptions`,[_]:oO}],[0,{[h]:`Ipv6Address`,[_]:jT}],[0,{[h]:`TpmSupport`,[_]:yA}],[()=>PN,{[h]:`MaintenanceOptions`,[_]:sD}],[0,{[h]:`CurrentInstanceBootMode`,[_]:uC}],[()=>UN,{[h]:`NetworkPerformanceOptions`,[_]:PD}],[()=>kP,{[h]:`Operator`,[_]:$D}],[()=>hI,{[h]:`SecondaryInterfaceSet`,[_]:Ok}],[0,{[h]:`InstanceId`,[_]:VT}],[0,{[h]:`ImageId`,[_]:WT}],[()=>ZN,{[h]:`InstanceState`,[_]:vE}],[0,{[h]:`PrivateDnsName`,[_]:cO}],[0,{[h]:`DnsName`,[_]:UC}],[0,{[h]:`Reason`,[_]:ok}],[0,{[h]:`KeyName`,[_]:NE}],[1,{[h]:`AmiLaunchIndex`,[_]:xS}],[()=>WI,{[h]:`ProductCodes`,[_]:rO}],[0,{[h]:`InstanceType`,[_]:xE}],[4,{[h]:`LaunchTime`,[_]:WE}],[()=>AP,{[h]:`Placement`,[_]:NO}],[0,{[h]:`KernelId`,[_]:AE}],[0,{[h]:`RamdiskId`,[_]:GO}],[0,{[h]:`Platform`,[_]:MO}],[()=>bP,{[h]:`Monitoring`,[_]:vD}],[0,{[h]:`SubnetId`,[_]:Ak}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`PrivateIpAddress`,[_]:_O}],[0,{[h]:`IpAddress`,[_]:AT}]]],DN=[3,v,ip,0,[Vd,Kd],[[2,{[h]:`EnaSrdEnabled`,[_]:Mw}],[()=>ON,{[h]:`EnaSrdUdpSpecification`,[_]:Iw}]]],ON=[3,v,ap,0,[Gd],[[2,{[h]:`EnaSrdUdpEnabled`,[_]:Fw}]]],kN=[3,v,pp,0,[Kl,$d],[[0,{[h]:`DeviceName`,[_]:VC}],[()=>JM,{[h]:`Ebs`,[_]:Vw}]]],AN=[3,v,hp,0,[Kl,$d,Bx,c_],[[0,{[h]:`DeviceName`,[_]:VC}],[()=>YM,{[h]:`Ebs`,[_]:Vw}],[0,{[h]:`VirtualName`,[_]:HA}],[0,{[h]:`NoDevice`,[_]:wD}]]],jN=[3,v,qp,0,[Ym],[[0,{[h]:`Ipv4Prefix`,[_]:oE}]]],MN=[3,v,zp,0,[fp,Fm],[[0,{[h]:`Ipv6Address`,[_]:jT}],[2,{[h]:`IsPrimaryIpv6`,[_]:tE}]]],NN=[3,v,Jp,0,[Km],[[0,{[h]:`Ipv6Prefix`,[_]:cE}]]],PN=[3,v,cm,0,[us,vy],[[0,{[h]:`AutoRecovery`,[_]:DS}],[0,{[h]:`RebootMigration`,[_]:YO}]]],FN=[3,v,lm,0,[us],[0]],IN=[3,v,um,0,[Wg,rte],[0,()=>oF]],LN=[3,v,dm,0,[Xf,qf,Hf,Kf,mm],[0,1,0,0,0]],RN=[3,v,fm,0,[Bb,Xf,qf,Hf,Kf,mm],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`HttpTokens`,[_]:yT}],[1,{[h]:`HttpPutResponseHopLimit`,[_]:gT}],[0,{[h]:`HttpEndpoint`,[_]:fT}],[0,{[h]:`HttpProtocolIpv6`,[_]:hT}],[0,{[h]:`InstanceMetadataTags`,[_]:qT}]]],zN=[3,v,gm,0,[ks,As,Gu,vf,tp,vg,v_,P_,iv,xv,Sv,nb,Vb,Db,Ex,Th,Jm,Hm,Zc,K_],[[()=>BN,{[h]:`Association`,[_]:BS}],[()=>VN,{[h]:`Attachment`,[_]:VS}],[0,{[h]:`Description`,[_]:tw}],[()=>$F,{[h]:`GroupSet`,[_]:cT}],[()=>lI,{[h]:`Ipv6AddressesSet`,[_]:OT}],[0,{[h]:`MacAddress`,[_]:JE}],[0,{[h]:`NetworkInterfaceId`,[_]:kD}],[0,{[h]:`OwnerId`,[_]:GD}],[0,{[h]:`PrivateDnsName`,[_]:cO}],[0,{[h]:`PrivateIpAddress`,[_]:_O}],[()=>mI,{[h]:`PrivateIpAddressesSet`,[_]:hO}],[2,{[h]:`SourceDestCheck`,[_]:fk}],[0,{[h]:`Status`,[_]:tA}],[0,{[h]:`SubnetId`,[_]:Ak}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`InterfaceType`,[_]:EE}],[()=>cI,{[h]:`Ipv4PrefixSet`,[_]:nE}],[()=>uI,{[h]:`Ipv6PrefixSet`,[_]:rE}],[()=>Pj,{[h]:`ConnectionTrackingConfiguration`,[_]:EC}],[()=>kP,{[h]:`Operator`,[_]:$D}]]],BN=[3,v,_m,0,[ec,gc,Dm,lv,_v],[[0,{[h]:`CarrierIp`,[_]:lC}],[0,{[h]:`CustomerOwnedIp`,[_]:_C}],[0,{[h]:`IpOwnerId`,[_]:QT}],[0,{[h]:`PublicDnsName`,[_]:lO}],[0,{[h]:`PublicIp`,[_]:mO}]]],VN=[3,v,vm,0,[bs,$o,Xl,wl,Vb,a_,Hd,Rd],[[4,{[h]:`AttachTime`,[_]:MS}],[0,{[h]:`AttachmentId`,[_]:bS}],[2,{[h]:`DeleteOnTermination`,[_]:GC}],[1,{[h]:`DeviceIndex`,[_]:zC}],[0,{[h]:`Status`,[_]:tA}],[1,{[h]:`NetworkCardIndex`,[_]:CD}],[()=>DN,{[h]:`EnaSrdSpecification`,[_]:Nw}],[1,{[h]:`EnaQueueCount`,[_]:kw}]]],HN=[3,v,bm,0,[ns,Xl,Gu,wl,vf,rp,tp,v_,xv,Sv,ite,Db,Go,Th,a_,Jm,jm,Hm,Am,Tv,Hd,Qc,Rd],[[2,{[h]:`AssociatePublicIpAddress`,[_]:CS}],[2,{[h]:`DeleteOnTermination`,[_]:GC}],[0,{[h]:`Description`,[_]:tw}],[1,{[h]:`DeviceIndex`,[_]:zC}],[()=>nL,{[_]:sb}],[1,{[h]:`Ipv6AddressCount`,[_]:CT}],[()=>lI,{[h]:`Ipv6Addresses`,[_]:OT}],[0,{[h]:`NetworkInterfaceId`,[_]:kD}],[0,{[h]:`PrivateIpAddress`,[_]:_O}],[()=>UI,{[h]:`PrivateIpAddresses`,[_]:hO}],[1,{[h]:`SecondaryPrivateIpAddressCount`,[_]:Lk}],[0,{[h]:`SubnetId`,[_]:Ak}],2,0,1,[()=>EI,{[_]:Ym}],1,[()=>DI,{[_]:Km}],1,2,()=>nN,()=>Nj,1]],UN=[3,v,wm,0,[Bs],[[0,{[h]:`BandwidthWeighting`,[_]:QS}]]],WN=[3,v,Tm,0,[Bs],[0]],GN=[3,v,Nm,0,[ks,Wv,iv,xv],[[()=>BN,{[h]:`Association`,[_]:BS}],[2,{[h]:`Primary`,[_]:PO}],[0,{[h]:`PrivateDnsName`,[_]:cO}],[0,{[h]:`PrivateIpAddress`,[_]:_O}]]],KN=[3,v,fh,0,[As,vg,Pee,P_,Sv,nb,Vb,Ib,tte,Th],[[()=>qN,{[h]:`Attachment`,[_]:VS}],[0,{[h]:`MacAddress`,[_]:JE}],[0,{[h]:`SecondaryInterfaceId`,[_]:Ck}],[0,{[h]:`OwnerId`,[_]:GD}],[()=>gI,{[h]:`PrivateIpAddressSet`,[_]:gO}],[2,{[h]:`SourceDestCheck`,[_]:fk}],[0,{[h]:`Status`,[_]:tA}],[0,{[h]:`SecondarySubnetId`,[_]:Hk}],[0,{[h]:`SecondaryNetworkId`,[_]:Pk}],[0,{[h]:`InterfaceType`,[_]:EE}]]],qN=[3,v,ih,0,[bs,$o,Xl,wl,Vb,a_],[[4,{[h]:`AttachTime`,[_]:MS}],[0,{[h]:`AttachmentId`,[_]:bS}],[2,{[h]:`DeleteOnTermination`,[_]:GC}],[1,{[h]:`DeviceIndex`,[_]:zC}],[0,{[h]:`Status`,[_]:tA}],[1,{[h]:`NetworkCardIndex`,[_]:CD}]]],JN=[3,v,oh,0,[xv],[[0,{[h]:`PrivateIpAddress`,[_]:_O}]]],YN=[3,v,lh,0,[xv],[0],1],XN=[3,v,dh,0,[Xl,wl,Sv,vv,Ib,Th,a_],[2,1,[()=>_I,{[_]:xv}],1,0,0,1]],ZN=[3,v,gh,0,[cl,n_],[[1,{[h]:`Code`,[_]:kC}],[0,{[h]:`Name`,[_]:bD}]]],QN=[3,v,nh,0,[Rp,Yc,Fv],[[0,{[h]:`InstanceId`,[_]:VT}],[()=>ZN,{[h]:`CurrentState`,[_]:wC}],[()=>ZN,{[h]:`PreviousState`,[_]:DO}]]],$N=[3,v,ph,0,[Mte,qu,T_,Yd],[[1,{[h]:`TotalSizeInGB`,[_]:_A}],[()=>UF,{[h]:`Disks`,[_]:rw}],[0,{[h]:`NvmeSupport`,[_]:LD}],[0,{[h]:`EncryptionSupport`,[_]:Rw}]]],eP=[3,v,xh,0,[yh,$s,mf,dte,ate,mte,Aee,$f,Ev,vx,Pg,mh,ph,Ed,b_,Af,lf,fv,op,Yf,Rs,Cl,is,$y,m_,D_,E_,_g,x_,Pv,_y],[[0,{[h]:`InstanceType`,[_]:xE}],[2,{[h]:`CurrentGeneration`,[_]:cC}],[2,{[h]:`FreeTierEligible`,[_]:Yw}],[()=>gL,{[h]:`SupportedUsageClasses`,[_]:Yk}],[()=>ZI,{[h]:`SupportedRootDeviceTypes`,[_]:Rk}],[()=>yL,{[h]:`SupportedVirtualizationTypes`,[_]:Zk}],[2,{[h]:`BareMetal`,[_]:JS}],[0,{[h]:`Hypervisor`,[_]:dT}],[()=>RP,{[h]:`ProcessorInfo`,[_]:yO}],[()=>bF,{[h]:`VCpuInfo`,[_]:PA}],[()=>gP,{[h]:`MemoryInfo`,[_]:rD}],[2,{[h]:`InstanceStorageSupported`,[_]:pE}],[()=>$N,{[h]:`InstanceStorageInfo`,[_]:fE}],[()=>qM,{[h]:`EbsInfo`,[_]:bw}],[()=>SP,{[h]:`NetworkInfo`,[_]:MD}],[()=>mN,{[h]:`GpuInfo`,[_]:tT}],[()=>lN,{[h]:`FpgaInfo`,[_]:Gw}],[()=>MP,{[h]:`PlacementGroupInfo`,[_]:fO}],[()=>CN,{[h]:`InferenceAcceleratorInfo`,[_]:wT}],[2,{[h]:`HibernationSupported`,[_]:vT}],[2,{[h]:`BurstablePerformanceSupported`,[_]:XS}],[2,{[h]:`DedicatedHostsSupported`,[_]:RC}],[2,{[h]:`AutoRecoverySupported`,[_]:TS}],[()=>VF,{[h]:`SupportedBootModes`,[_]:uk}],[0,{[h]:`NitroEnclavesSupport`,[_]:ED}],[0,{[h]:`NitroTpmSupport`,[_]:zD}],[()=>DP,{[h]:`NitroTpmInfo`,[_]:RD}],[()=>pP,{[h]:`MediaAcceleratorInfo`,[_]:qE}],[()=>EP,{[h]:`NeuronInfo`,[_]:ND}],[0,{[h]:`PhcSupport`,[_]:EO}],[0,{[h]:`RebootMigrationSupport`,[_]:JO}]]],tP=[3,v,Op,0,[js,Np,P_,Wb],[[()=>xI,{[h]:`AttachmentSet`,[_]:jS}],[0,{[h]:`InternetGatewayId`,[_]:zT}],[0,{[h]:`OwnerId`,[_]:GD}],[()=>pL,{[h]:`TagSet`,[_]:gA}]]],nP=[3,v,kp,0,[Bb,Ex],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`VpcId`,[_]:LA}]]],rP=[3,v,Wm,0,[Gm,df,qb,ix,Qm,eh,jv],[[0,{[h]:`IpProtocol`,[_]:iE}],[1,{[h]:`FromPort`,[_]:Kw}],[1,{[h]:`ToPort`,[_]:mA}],[()=>_L,{[h]:`Groups`,[_]:uT}],[()=>TI,{[h]:`IpRanges`,[_]:uE}],[()=>OI,{[h]:`Ipv6Ranges`,[_]:dE}],[()=>HI,{[h]:`PrefixListIds`,[_]:CO}]]],iP=[3,v,$m,0,[Gu,sc],[[0,{[h]:`Description`,[_]:tw}],[0,{[h]:`CidrIp`,[_]:dC}]]],aP=[3,v,Bm,0,[Ym],[0]],oP=[3,v,Vm,0,[Km],[0]],sP=[3,v,th,0,[Gu,cc],[[0,{[h]:`Description`,[_]:tw}],[0,{[h]:`CidrIpv6`,[_]:fC}]]],cP=[3,v,Kh,0,[Vh,Wb,Lh,Nh,Ih],[[0,{[h]:`KeyPairId`,[_]:PE}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`KeyName`,[_]:NE}],[0,{[h]:`KeyFingerprint`,[_]:kE}],[()=>dj,{[h]:`KeyMaterial`,[_]:ME}]]],lP=[3,v,Wh,0,[Vh,qh,Wb,Dv,nl,Lh,Nh],[[0,{[h]:`KeyPairId`,[_]:PE}],[0,{[h]:`KeyType`,[_]:IE}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`PublicKey`,[_]:bO}],[4,{[h]:`CreateTime`,[_]:OC}],[0,{[h]:`KeyName`,[_]:NE}],[0,{[h]:`KeyFingerprint`,[_]:kE}]]],uP=[3,v,ug,0,[cg,lg,tS],[0,0,0]],dP=[3,v,Zh,0,[Yh],[[0,{[h]:`LicenseConfigurationArn`,[_]:RE}]]],fP=[3,v,Xh,0,[Yh],[0]],pP=[3,v,_g,0,[Es,kte],[[()=>PI,{[h]:`Accelerators`,[_]:IS}],[1,{[h]:`TotalMediaMemoryInMiB`,[_]:fA}]]],mP=[3,v,Cg,0,[ul,n_,Xg,Pg],[[1,{[h]:`Count`,[_]:jC}],[0,{[h]:`Name`,[_]:bD}],[0,{[h]:`Manufacturer`,[_]:hD}],[()=>hP,{[h]:`MemoryInfo`,[_]:rD}]]],hP=[3,v,Tg,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],gP=[3,v,Pg,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],_P=[3,v,Mg,0,[Rp,nb,dl,p,Cee,fx,Ps,fl,yh,Jh,Uy,nx,Yp,vf,kd,jb,Xd],[[0,{[h]:`InstanceId`,[_]:VT}],[()=>gj,0],[()=>gj,0],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`Attribute`,[_]:HS}],[0,{[h]:`Value`,[_]:NA}],[()=>oI,{[h]:`BlockDeviceMapping`,[_]:GS}],[()=>gj,{[h]:`DisableApiTermination`,[_]:MC}],[()=>_j,{[h]:`InstanceType`,[_]:xE}],[()=>_j,{[h]:`Kernel`,[_]:LE}],[()=>_j,{[h]:`Ramdisk`,[_]:ak}],[()=>Ej,{[h]:`UserData`,[_]:EA}],[()=>_j,{[h]:`InstanceInitiatedShutdownBehavior`,[_]:UT}],[()=>eI,{[_]:jf}],[()=>gj,{[h]:`EbsOptimized`,[_]:Cw}],[()=>_j,{[h]:`SriovNetSupport`,[_]:Ik}],[()=>gj,{[h]:`EnaSupport`,[_]:zw}]],1],vP=[3,v,Kg,0,[Mx,p,zb,Yx,Ah,$b,gg],[0,2,1,0,1,1,2],1],yP=[3,v,qg,0,[zx],[[()=>CF,{[h]:`VolumeModification`,[_]:VA}]]],bP=[3,v,t_,0,[Bb],[[0,{[h]:`State`,[_]:eA}]]],xP=[3,v,s_,0,[a_,C_,Ig,Ko,Tee,Z_,xl,kg,Ag],[[1,{[h]:`NetworkCardIndex`,[_]:CD}],[0,{[h]:`NetworkPerformance`,[_]:FD}],[1,{[h]:`MaximumNetworkInterfaces`,[_]:aD}],[1,{[h]:`AdditionalFlexibleNetworkInterfaces`,[_]:hS}],[1,{[h]:`BaselineBandwidthInGbps`,[_]:US}],[1,{[h]:`PeakBandwidthInGbps`,[_]:nO}],[1,{[h]:`DefaultEnaQueueCountPerInterface`,[_]:IC}],[1,{[h]:`MaximumEnaQueueCount`,[_]:eD}],[1,{[h]:`MaximumEnaQueueCountPerInterface`,[_]:tD}]]],SP=[3,v,b_,0,[C_,Ig,Fg,ql,i_,sp,cp,vh,Xd,Jd,Dd,Td,Wd,Hs,cf,Zc,nte,Hg,lp],[[0,{[h]:`NetworkPerformance`,[_]:FD}],[1,{[h]:`MaximumNetworkInterfaces`,[_]:aD}],[1,{[h]:`MaximumNetworkCards`,[_]:iD}],[1,{[h]:`DefaultNetworkCardIndex`,[_]:HC}],[()=>FI,{[h]:`NetworkCards`,[_]:SD}],[1,{[h]:`Ipv4AddressesPerInterface`,[_]:TT}],[1,{[h]:`Ipv6AddressesPerInterface`,[_]:ET}],[2,{[h]:`Ipv6Supported`,[_]:bE}],[0,{[h]:`EnaSupport`,[_]:zw}],[2,{[h]:`EfaSupported`,[_]:Lw}],[()=>ZM,{[h]:`EfaInfo`,[_]:xw}],[2,{[h]:`EncryptionInTransitSupported`,[_]:yw}],[2,{[h]:`EnaSrdSupported`,[_]:Pw}],[()=>RF,{[h]:`BandwidthWeightings`,[_]:$S}],[0,{[h]:`FlexibleEnaQueuesSupport`,[_]:Ww}],[()=>aM,{[h]:`ConnectionTrackingConfiguration`,[_]:EC}],[2,{[h]:`SecondaryNetworkSupported`,[_]:Fk}],[1,{[h]:`MaximumSecondaryNetworkInterfaces`,[_]:dD}],[1,{[h]:`Ipv4AddressesPerSecondaryInterface`,[_]:DT}]]],CP=[3,v,l_,0,[ul,tS],[[1,{[h]:`Count`,[_]:jC}],[1,{[h]:`Version`,[_]:$A}]]],wP=[3,v,u_,0,[ul,n_,uc,Pg],[[1,{[h]:`Count`,[_]:jC}],[0,{[h]:`Name`,[_]:bD}],[()=>CP,{[h]:`CoreInfo`,[_]:mC}],[()=>TP,{[h]:`MemoryInfo`,[_]:rD}]]],TP=[3,v,f_,0,[wb],[[1,{[h]:`SizeInMiB`,[_]:Tk}]]],EP=[3,v,x_,0,[p_,Ate],[[()=>II,{[h]:`NeuronDevices`,[_]:TD}],[1,{[h]:`TotalNeuronDeviceMemoryInMiB`,[_]:pA}]]],DP=[3,v,E_,0,[hte],[[()=>LI,{[h]:`SupportedVersions`,[_]:Qk}]]],OP=[3,v,B_,0,[X_],[0]],kP=[3,v,V_,0,[Zg,X_],[[2,{[h]:`Managed`,[_]:gD}],[0,{[h]:`Principal`,[_]:tO}]]],AP=[3,v,Uv,0,[Ts,xee,Ff,Mv,Uf,Rte,rb,Jf,jf,ws],[[0,{[h]:`AvailabilityZoneId`,[_]:PS}],[0,{[h]:`Affinity`,[_]:LS}],[0,{[h]:`GroupName`,[_]:iT}],[1,{[h]:`PartitionNumber`,[_]:wO}],[0,{[h]:`HostId`,[_]:pT}],[0,{[h]:`Tenancy`,[_]:iA}],[0,{[h]:`SpreadDomain`,[_]:pk}],[0,{[h]:`HostResourceGroupArn`,[_]:_T}],[0,{[h]:`GroupId`,[_]:nT}],[0,{[h]:`AvailabilityZone`,[_]:NS}]]],jP=[3,v,dv,0,[Ff,Bb,Hb,tv,jf,Wb,yf,Ob,tg,K_],[[0,{[h]:`GroupName`,[_]:iT}],[0,{[h]:`State`,[_]:eA}],[0,{[h]:`Strategy`,[_]:nA}],[1,{[h]:`PartitionCount`,[_]:iO}],[0,{[h]:`GroupId`,[_]:nT}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`GroupArn`,[_]:Qw}],[0,{[h]:`SpreadLevel`,[_]:jk}],[0,{[h]:`LinkedGroupId`,[_]:VE}],[()=>kP,{[h]:`Operator`,[_]:$D}]]],MP=[3,v,fv,0,[cte],[[()=>VI,{[h]:`SupportedStrategies`,[_]:Gk}]]],NP=[3,v,kv,0,[Gu,kv],[[0,{[h]:`Description`,[_]:tw}],[0,{[h]:`PrefixListId`,[_]:SO}]]],PP=[3,v,ov,0,[Zf,Bd,zd],[[0,{[h]:`HostnameType`,[_]:bT}],[2,{[h]:`EnableResourceNameDnsARecord`,[_]:jw}],[2,{[h]:`EnableResourceNameDnsAAAARecord`,[_]:Aw}]]],FP=[3,v,sv,0,[Zf,Bd,zd],[0,2,2]],IP=[3,v,cv,0,[Zf,Bd,zd],[[0,{[h]:`HostnameType`,[_]:bT}],[2,{[h]:`EnableResourceNameDnsARecord`,[_]:jw}],[2,{[h]:`EnableResourceNameDnsAAAARecord`,[_]:Aw}]]],LP=[3,v,yv,0,[Wv,xv],[[2,{[h]:`Primary`,[_]:PO}],[0,{[h]:`PrivateIpAddress`,[_]:_O}]]],RP=[3,v,Ev,0,[Qy,tb,ib,Xg],[[()=>NF,{[h]:`SupportedArchitectures`,[_]:ck}],[1,{[h]:`SustainedClockSpeedInGhz`,[_]:dk}],[()=>fL,{[h]:`SupportedFeatures`,[_]:mk}],[0,{[h]:`Manufacturer`,[_]:hD}]]],zP=[3,v,nv,0,[Q_,ev],[[0,{[h]:`ProductCode`,[_]:aO}],[0,{[h]:`Type`,[_]:TA}]]],BP=[3,v,Lv,0,[Df],[[0,{[h]:`GatewayId`,[_]:eT}]]],VP=[3,v,oy,0,[em,p],[[()=>sI,{[_]:Rp}],[2,{[h]:`DryRun`,[_]:m}]],1],HP=[3,v,Sy,0,[jf,Nv,rx,Ex,Hx],[[0,{[h]:`GroupId`,[_]:nT}],[0,{[h]:`PeeringStatus`,[_]:TO}],[0,{[h]:`UserId`,[_]:DA}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:WA}]]],UP=[3,v,Gy,0,[F_,Bf,yy,nf],[[0,{[h]:`OptInStatus`,[_]:KD}],[()=>KI,{[h]:`GeographySet`,[_]:sT}],[0,{[h]:`RegionName`,[_]:XO}],[0,{[h]:`RegionEndpoint`,[_]:BO}]]],WP=[3,v,ty,0,[n_],[[0,{[h]:`Name`,[_]:bD}]]],GP=[3,v,qy,0,[uy,P_,fy,vf,kh],[[0,{[h]:`ReservationId`,[_]:WO}],[0,{[h]:`OwnerId`,[_]:GD}],[0,{[h]:`RequesterId`,[_]:qO}],[()=>$F,{[h]:`GroupSet`,[_]:cT}],[()=>dI,{[h]:`InstancesSet`,[_]:_E}]]],KP=[3,v,ky,0,[hb,jf,Dp,Gm,df,qb,lc,cc,kv,ny,Gu],[[0,{[h]:`SecurityGroupRuleId`,[_]:vk}],[0,{[h]:`GroupId`,[_]:nT}],[2,{[h]:`IsEgress`,[_]:IT}],[0,{[h]:`IpProtocol`,[_]:iE}],[1,{[h]:`FromPort`,[_]:Kw}],[1,{[h]:`ToPort`,[_]:mA}],[0,{[h]:`CidrIpv4`,[_]:pC}],[0,{[h]:`CidrIpv6`,[_]:fC}],[0,{[h]:`PrefixListId`,[_]:SO}],[0,{[h]:`ReferencedGroupId`,[_]:HO}],[0,{[h]:`Description`,[_]:tw}]]],qP=[3,v,wy,0,[jf,pb,p,Pb,Fb,Gm,df,qb,sc,Um],[[0,{[h]:`GroupId`,[_]:nT}],[()=>iL,{[_]:hb}],[2,{[h]:`DryRun`,[_]:m}],[0,{[h]:`SourceSecurityGroupName`,[_]:Bk}],[0,{[h]:`SourceSecurityGroupOwnerId`,[_]:Vk}],[0,{[h]:`IpProtocol`,[_]:iE}],[1,{[h]:`FromPort`,[_]:Kw}],[1,{[h]:`ToPort`,[_]:mA}],[0,{[h]:`CidrIp`,[_]:dC}],[()=>wI,{[h]:`IpPermissions`,[_]:aE}]],1],JP=[3,v,Ty,0,[qv,sx,jy],[[2,{[h]:`Return`,[_]:IO}],[()=>wI,{[h]:`UnknownIpPermissionSet`,[_]:OA}],[()=>XI,{[h]:`RevokedSecurityGroupRuleSet`,[_]:ZO}]]],YP=[3,v,Ey,0,[sc,df,jf,Ff,Um,Gm,Pb,Fb,qb,pb,p],[0,1,0,0,[()=>wI,0],0,0,0,1,[()=>iL,{[_]:hb}],[2,{[h]:`DryRun`,[_]:m}]]],XP=[3,v,Dy,0,[qv,sx,jy],[[2,{[h]:`Return`,[_]:IO}],[()=>wI,{[h]:`UnknownIpPermissionSet`,[_]:OA}],[()=>XI,{[h]:`RevokedSecurityGroupRuleSet`,[_]:ZO}]]],ZP=[3,v,Jy,0,[_l,Tl,nu,Nd,Df,Rp,Om,__,Kb,eg,Qs,v_,j_,Bb,Hx,mc,z_,dp],[[0,{[h]:`DestinationCidrBlock`,[_]:NC}],[0,{[h]:`DestinationIpv6CidrBlock`,[_]:BC}],[0,{[h]:`DestinationPrefixListId`,[_]:KC}],[0,{[h]:`EgressOnlyInternetGatewayId`,[_]:Ew}],[0,{[h]:`GatewayId`,[_]:eT}],[0,{[h]:`InstanceId`,[_]:VT}],[0,{[h]:`InstanceOwnerId`,[_]:ZT}],[0,{[h]:`NatGatewayId`,[_]:OD}],[0,{[h]:`TransitGatewayId`,[_]:sA}],[0,{[h]:`LocalGatewayId`,[_]:BE}],[0,{[h]:`CarrierGatewayId`,[_]:sC}],[0,{[h]:`NetworkInterfaceId`,[_]:kD}],[0,{[h]:`Origin`,[_]:HD}],[0,{[h]:`State`,[_]:eA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:WA}],[0,{[h]:`CoreNetworkArn`,[_]:hC}],[0,{[h]:`OdbNetworkArn`,[_]:YD}],[0,{[h]:`IpAddress`,[_]:AT}]]],QP=[3,v,Vy,0,[See,zv,Iy,Yy,Wb,Ex,P_],[[()=>$I,{[h]:`AssociationSet`,[_]:AS}],[()=>GI,{[h]:`PropagatingVgwSet`,[_]:kO}],[0,{[h]:`RouteTableId`,[_]:tk}],[()=>QI,{[h]:`RouteSet`,[_]:$O}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`OwnerId`,[_]:GD}]]],$P=[3,v,My,0,[Yg,Ny,Iy,Db,Df,wv,ds],[[2,{[h]:`Main`,[_]:mD}],[0,{[h]:`RouteTableAssociationId`,[_]:ek}],[0,{[h]:`RouteTableId`,[_]:tk}],[0,{[h]:`SubnetId`,[_]:Ak}],[0,{[h]:`GatewayId`,[_]:eT}],[0,{[h]:`PublicIpv4Pool`,[_]:vO}],[()=>eF,{[h]:`AssociationState`,[_]:OS}]]],eF=[3,v,Fy,0,[Bb,kb],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`StatusMessage`,[_]:Mk}]]],tF=[3,v,ay,0,[ef],[[2,{[h]:`Enabled`,[_]:Hw}]],1],nF=[3,v,sy,0,[xg,Sg,Ps,Qp,yh,rp,tp,Ph,Lh,t_,Uv,ly,lb,yb,Db,nx,fd,Sd,Yb,sg,pm,Kc,hc,Oc,Wf,ig,Lg,Id,av,Rg,dl,Ld,S_,K_,Tb,p,fl,Yp,xv,Xc,Zo,y_,Hp,kd],[1,1,[()=>BF,{[_]:Ns}],0,0,1,[()=>lI,{[_]:fp}],0,0,[()=>tF,0],[()=>AP,0],0,[()=>nL,{[_]:sb}],[()=>oL,{[_]:bb}],0,[()=>uj,0],[()=>KF,0],[()=>JF,{[_]:md}],[()=>mL,{[_]:Xb}],()=>uP,()=>IN,()=>iM,()=>Rj,()=>kj,()=>_N,[()=>NI,{[_]:og}],()=>LN,()=>aN,()=>FP,()=>FN,2,2,()=>WN,()=>OP,[()=>vI,{[_]:Gee}],[2,{[h]:`DryRun`,[_]:m}],[2,{[h]:`DisableApiTermination`,[_]:MC}],[0,{[h]:`InstanceInitiatedShutdownBehavior`,[_]:UT}],[0,{[h]:`PrivateIpAddress`,[_]:_O}],[0,{[h]:`ClientToken`,[CE]:1,[_]:TC}],[0,{[h]:`AdditionalInfo`,[_]:vS}],[()=>pI,{[h]:`NetworkInterface`,[_]:jD}],[()=>yN,{[h]:`IamInstanceProfile`,[_]:HT}],[2,{[h]:`EbsOptimized`,[_]:Cw}]],2],rF=[3,v,bb,0,[jf,Mm,Wb,Ex,ob,P_,Ff,Gu,Um],[[0,{[h]:`GroupId`,[_]:nT}],[()=>wI,{[h]:`IpPermissionsEgress`,[_]:eE}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`SecurityGroupArn`,[_]:hk}],[0,{[h]:`OwnerId`,[_]:GD}],[0,{[h]:`GroupName`,[_]:iT}],[0,{[h]:`GroupDescription`,[_]:$w}],[()=>wI,{[h]:`IpPermissions`,[_]:aE}]]],iF=[3,v,_b,0,[hb,jf,Rf,Dp,Gm,df,qb,lc,cc,kv,ry,Gu,Wb,fb],[[0,{[h]:`SecurityGroupRuleId`,[_]:vk}],[0,{[h]:`GroupId`,[_]:nT}],[0,{[h]:`GroupOwnerId`,[_]:aT}],[2,{[h]:`IsEgress`,[_]:IT}],[0,{[h]:`IpProtocol`,[_]:iE}],[1,{[h]:`FromPort`,[_]:Kw}],[1,{[h]:`ToPort`,[_]:mA}],[0,{[h]:`CidrIpv4`,[_]:pC}],[0,{[h]:`CidrIpv6`,[_]:fC}],[0,{[h]:`PrefixListId`,[_]:SO}],[()=>HP,{[h]:`ReferencedGroupInfo`,[_]:UO}],[0,{[h]:`Description`,[_]:tw}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`SecurityGroupRuleArn`,[_]:_k}]]],aF=[3,v,_te,0,[N_,M_,Wb,ute,$v,Rb,ws,Ite,Xs,tl,pf,Eb,Mx,Bb,Ab,Lb,Gv,P_,Gu,Jx,tf,Fh,bl],[[0,{[h]:`OwnerAlias`,[_]:WD}],[0,{[h]:`OutpostArn`,[_]:UD}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`StorageTier`,[_]:Jk}],[4,{[h]:`RestoreExpiryTime`,[_]:zO}],[0,{[h]:`SseType`,[_]:qk}],[0,{[h]:`AvailabilityZone`,[_]:NS}],[0,{[h]:`TransferType`,[_]:xA}],[1,{[h]:`CompletionDurationMinutes`,[_]:aC}],[4,{[h]:`CompletionTime`,[_]:DC}],[1,{[h]:`FullSnapshotSizeInBytes`,[_]:Jw}],[0,{[h]:`SnapshotId`,[_]:kk}],[0,{[h]:`VolumeId`,[_]:zA}],[0,{[h]:`Status`,[_]:tA}],[0,{[h]:`StatusMessage`,[_]:Mk}],[4,{[h]:`StartTime`,[_]:Kk}],[0,{[h]:`Progress`,[_]:FO}],[0,{[h]:`OwnerId`,[_]:GD}],[0,{[h]:`Description`,[_]:tw}],[1,{[h]:`VolumeSize`,[_]:JA}],[2,{[h]:`Encrypted`,[_]:Uw}],[0,{[h]:`KmsKeyId`,[_]:jE}],[0,{[h]:`DataEncryptionKeyId`,[_]:FC}]]],oF=[3,v,ete,0,[Bg,Wee,Oee,$x,Vp],[0,0,1,4,0]],sF=[3,v,Ree,0,[em,Zo,p],[[()=>sI,{[_]:Rp}],[0,{[h]:`AdditionalInfo`,[_]:vS}],[2,{[h]:`DryRun`,[_]:m}]],1],cF=[3,v,zee,0,[qee],[[()=>yI,{[h]:`InstancesSet`,[_]:_E}]]],lF=[3,v,Nb,0,[cl,Qg],[[0,{[h]:`Code`,[_]:kC}],[0,{[h]:`Message`,[_]:_D}]]],uF=[3,v,Bee,0,[em,Qf,Mb,p,rf],[[()=>sI,{[_]:Rp}],2,2,[2,{[h]:`DryRun`,[_]:m}],[2,{[h]:`Force`,[_]:Xw}]],1],dF=[3,v,Vee,0,[Yee],[[()=>yI,{[h]:`InstancesSet`,[_]:_E}]]],fF=[3,v,Ub,0,[Ts,Od,bg,_c,P_,Jo,vp,Wb,Zy,M_,nd,hm,ov,Ls,ex,Db,Bb,Ex,Us,qo,ws,Sl,zg],[[0,{[h]:`AvailabilityZoneId`,[_]:PS}],[1,{[h]:`EnableLniAtDeviceIndex`,[_]:Sw}],[2,{[h]:`MapCustomerOwnedIpOnLaunch`,[_]:XE}],[0,{[h]:`CustomerOwnedIpv4Pool`,[_]:vC}],[0,{[h]:`OwnerId`,[_]:GD}],[2,{[h]:`AssignIpv6AddressOnCreation`,[_]:_S}],[()=>uL,{[h]:`Ipv6CidrBlockAssociationSet`,[_]:NT}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`SubnetArn`,[_]:lk}],[0,{[h]:`OutpostArn`,[_]:UD}],[2,{[h]:`EnableDns64`,[_]:sw}],[2,{[h]:`Ipv6Native`,[_]:JT}],[()=>PP,{[h]:`PrivateDnsNameOptionsOnLaunch`,[_]:sO}],[()=>Oj,{[h]:`BlockPublicAccessStates`,[_]:YS}],[0,{[h]:`Type`,[_]:TA}],[0,{[h]:`SubnetId`,[_]:Ak}],[0,{[h]:`State`,[_]:eA}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`CidrBlock`,[_]:eC}],[1,{[h]:`AvailableIpAddressCount`,[_]:gS}],[0,{[h]:`AvailabilityZone`,[_]:NS}],[2,{[h]:`DefaultForAz`,[_]:LC}],[2,{[h]:`MapPublicIpOnLaunch`,[_]:cD}]]],pF=[3,v,eb,0,[Bb,kb],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`StatusMessage`,[_]:Mk}]]],mF=[3,v,Sb,0,[Qo,_p,bp,np,_h],[[0,{[h]:`AssociationId`,[_]:yS}],[0,{[h]:`Ipv6CidrBlock`,[_]:MT}],[()=>pF,{[h]:`Ipv6CidrBlockState`,[_]:PT}],[0,{[h]:`Ipv6AddressAttribute`,[_]:ST}],[0,{[h]:`IpSource`,[_]:yE}]]],hF=[3,v,Qb,0,[jh,fx],[[0,{[h]:`Key`,[_]:OE}],[0,{[h]:`Value`,[_]:NA}]]],gF=[3,v,Xb,0,[By,Wb],[[0,{[h]:`ResourceType`,[_]:rk}],[()=>pL,{[_]:Qb}]]],_F=[3,v,Cte,0,[em,rf,Mb,p],[[()=>sI,{[_]:Rp}],2,2,[2,{[h]:`DryRun`,[_]:m}]],1],vF=[3,v,wte,0,[Ete],[[()=>yI,{[h]:`InstancesSet`,[_]:_E}]]],yF=[3,v,ox,0,[Gu,rx,Ff,jf,Ex,Hx,Nv],[[0,{[h]:`Description`,[_]:tw}],[0,{[h]:`UserId`,[_]:DA}],[0,{[h]:`GroupName`,[_]:iT}],[0,{[h]:`GroupId`,[_]:nT}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`VpcPeeringConnectionId`,[_]:WA}],[0,{[h]:`PeeringStatus`,[_]:TO}]]],bF=[3,v,vx,0,[Mu,yl,Ou,yx,Zx],[[1,{[h]:`DefaultVCpus`,[_]:ew}],[1,{[h]:`DefaultCores`,[_]:PC}],[1,{[h]:`DefaultThreadsPerCore`,[_]:XC}],[()=>HF,{[h]:`ValidCores`,[_]:FA}],[()=>hL,{[h]:`ValidThreadsPerCore`,[_]:ZA}]]],xF=[3,v,rS,0,[Ts,M_,pte,Ah,Wb,Yx,ff,gg,$b,Rb,K_,kx,Mx,zb,Eb,ws,Bb,nl,js,tf,Fh],[[0,{[h]:`AvailabilityZoneId`,[_]:PS}],[0,{[h]:`OutpostArn`,[_]:UD}],[0,{[h]:`SourceVolumeId`,[_]:Xk}],[1,{[h]:`Iops`,[_]:DE}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[0,{[h]:`VolumeType`,[_]:XA}],[2,{[h]:`FastRestored`,[_]:qw}],[2,{[h]:`MultiAttachEnabled`,[_]:KE}],[1,{[h]:`Throughput`,[_]:CA}],[0,{[h]:`SseType`,[_]:qk}],[()=>kP,{[h]:`Operator`,[_]:$D}],[1,{[h]:`VolumeInitializationRate`,[_]:RA}],[0,{[h]:`VolumeId`,[_]:zA}],[1,{[h]:`Size`,[_]:$k}],[0,{[h]:`SnapshotId`,[_]:kk}],[0,{[h]:`AvailabilityZone`,[_]:NS}],[0,{[h]:`Status`,[_]:tA}],[4,{[h]:`CreateTime`,[_]:OC}],[()=>bL,{[h]:`AttachmentSet`,[_]:jS}],[2,{[h]:`Encrypted`,[_]:Uw}],[0,{[h]:`KmsKeyId`,[_]:jE}]]],SF=[3,v,mx,0,[Xl,ls,km,Zu,Mx,Rp,Ku,Bb,bs],[[2,{[h]:`DeleteOnTermination`,[_]:GC}],[0,{[h]:`AssociatedResource`,[_]:ES}],[0,{[h]:`InstanceOwningService`,[_]:$T}],[1,{[h]:`EbsCardIndex`,[_]:iw}],[0,{[h]:`VolumeId`,[_]:zA}],[0,{[h]:`InstanceId`,[_]:VT}],[0,{[h]:`Device`,[_]:nw}],[0,{[h]:`Status`,[_]:tA}],[4,{[h]:`AttachTime`,[_]:MS}]]],CF=[3,v,zx,0,[Mx,Ug,kb,Pte,Tte,Lte,Fte,Ote,U_,I_,G_,W_,R_,Gv,Lb,Zd],[[0,{[h]:`VolumeId`,[_]:zA}],[0,{[h]:`ModificationState`,[_]:fD}],[0,{[h]:`StatusMessage`,[_]:Mk}],[1,{[h]:`TargetSize`,[_]:vA}],[1,{[h]:`TargetIops`,[_]:uA}],[0,{[h]:`TargetVolumeType`,[_]:SA}],[1,{[h]:`TargetThroughput`,[_]:bA}],[2,{[h]:`TargetMultiAttachEnabled`,[_]:dA}],[1,{[h]:`OriginalSize`,[_]:XD}],[1,{[h]:`OriginalIops`,[_]:qD}],[0,{[h]:`OriginalVolumeType`,[_]:QD}],[1,{[h]:`OriginalThroughput`,[_]:ZD}],[2,{[h]:`OriginalMultiAttachEnabled`,[_]:JD}],[1,{[h]:`Progress`,[_]:FO}],[4,{[h]:`StartTime`,[_]:Kk}],[4,{[h]:`EndTime`,[_]:Bw}]]],wF=[3,v,iS,0,[P_,Ch,vp,Ws,Ep,td,Wb,Ls,Ex,Bb,Us,Yl],[[0,{[h]:`OwnerId`,[_]:GD}],[0,{[h]:`InstanceTenancy`,[_]:TE}],[()=>TL,{[h]:`Ipv6CidrBlockAssociationSet`,[_]:NT}],[()=>CL,{[h]:`CidrBlockAssociationSet`,[_]:tC}],[2,{[h]:`IsDefault`,[_]:FT}],[()=>DF,{[h]:`EncryptionControl`,[_]:ow}],[()=>pL,{[h]:`TagSet`,[_]:gA}],[()=>Oj,{[h]:`BlockPublicAccessStates`,[_]:YS}],[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`State`,[_]:eA}],[0,{[h]:`CidrBlock`,[_]:eC}],[0,{[h]:`DhcpOptionsId`,[_]:WC}]]],TF=[3,v,hx,0,[Qo,Us,Ks],[[0,{[h]:`AssociationId`,[_]:yS}],[0,{[h]:`CidrBlock`,[_]:eC}],[()=>EF,{[h]:`CidrBlockState`,[_]:rC}]]],EF=[3,v,_x,0,[Bb,kb],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`StatusMessage`,[_]:Mk}]]],DF=[3,v,bx,0,[Ex,wx,e_,Bb,Ab,ey,Wb],[[0,{[h]:`VpcId`,[_]:LA}],[0,{[h]:`VpcEncryptionControlId`,[_]:IA}],[0,{[h]:`Mode`,[_]:yD}],[0,{[h]:`State`,[_]:eA}],[0,{[h]:`StateMessage`,[_]:Nk}],[()=>AF,{[h]:`ResourceExclusions`,[_]:VO}],[()=>pL,{[h]:`TagSet`,[_]:gA}]]],OF=[3,v,xx,0,[e_,Mp,Md,g_,Gx,Ux,Qh,Ix,id],[0,0,0,0,0,0,0,0,0],1],kF=[3,v,Sx,0,[Bb,Ab],[[0,{[h]:`State`,[_]:eA}],[0,{[h]:`StateMessage`,[_]:Nk}]]],AF=[3,v,Cx,0,[Op,jd,h_,Wx,Kx,pg,Fx,rd],[[()=>kF,{[h]:`InternetGateway`,[_]:LT}],[()=>kF,{[h]:`EgressOnlyInternetGateway`,[_]:Tw}],[()=>kF,{[h]:`NatGateway`,[_]:DD}],[()=>kF,{[h]:`VirtualPrivateGateway`,[_]:GA}],[()=>kF,{[h]:`VpcPeering`,[_]:KA}],[()=>kF,{[h]:`Lambda`,[_]:GE}],[()=>kF,{[h]:`VpcLattice`,[_]:BA}],[()=>kF,{[h]:`ElasticFileSystem`,[_]:cw}]]],jF=[3,v,Dx,0,[Qo,_p,bp,r_,qm,np,_h],[[0,{[h]:`AssociationId`,[_]:yS}],[0,{[h]:`Ipv6CidrBlock`,[_]:MT}],[()=>EF,{[h]:`Ipv6CidrBlockState`,[_]:PT}],[0,{[h]:`NetworkBorderGroup`,[_]:xD}],[0,{[h]:`Ipv6Pool`,[_]:sE}],[0,{[h]:`Ipv6AddressAttribute`,[_]:ST}],[0,{[h]:`IpSource`,[_]:yE}]]],MF=`unit`,NF=[1,v,ys,0,[0,{[_]:g}]],PF=[1,v,mee,0,[()=>Cj,{[_]:g}]],FF=[1,v,hee,0,[()=>Sj,{[_]:g}]],IF=[1,v,_ee,0,[()=>wj,{[_]:g}]],LF=[1,v,yee,0,[()=>Tj,{[_]:g}]],RF=[1,v,Vs,0,[0,{[_]:g}]],zF=[1,v,Eee,0,[()=>Dj,{[_]:g}]],BF=[1,v,Dee,0,[()=>Dj,{[_]:Ns}]],VF=[1,v,kee,0,[0,{[_]:g}]],HF=[1,v,qs,0,[1,{[_]:g}]],UF=[1,v,kl,0,[()=>WM,{[_]:g}]],WF=[1,v,Qu,0,[()=>KM,{[_]:g}]],GF=[1,v,sd,0,[()=>QM,{[_]:g}]],KF=[1,v,pd,0,[()=>$M,{[_]:g}]],qF=[1,v,_d,0,[()=>tN,{[_]:g}]],JF=[1,v,Sd,0,[()=>eN,{[_]:g}]],YF=[1,v,Yu,0,[0,{[_]:Xu}]],XF=[1,v,uf,0,[()=>oN,{[_]:gf}]],ZF=[1,v,of,0,[()=>sN,{[_]:g}]],QF=[1,v,Tf,0,[()=>fN,{[_]:g}]],$F=[1,v,Of,0,[()=>hN,{[_]:g}]],eI=[1,v,kf,0,[0,{[_]:nT}]],tI=[1,v,If,0,[0,{[_]:Ff}]],nI=[1,v,Xp,0,[0,{[_]:Qp}]],rI=[1,v,am,0,[()=>bN,{[_]:g}]],iI=[1,v,Cp,0,[()=>wN,0]],aI=[1,v,mp,0,[()=>kN,{[_]:g}]],oI=[1,v,gp,0,[()=>AN,{[_]:g}]],sI=[1,v,Zp,0,[0,{[_]:Rp}]],cI=[1,v,jee,0,[()=>jN,{[_]:g}]],lI=[1,v,Bp,0,[()=>MN,{[_]:g}]],uI=[1,v,Gp,0,[()=>NN,{[_]:g}]],dI=[1,v,sm,0,[()=>EN,{[_]:g}]],fI=[1,v,ym,0,[()=>zN,{[_]:g}]],pI=[1,v,xm,0,[()=>HN,{[_]:g}]],mI=[1,v,Pm,0,[()=>GN,{[_]:g}]],hI=[1,v,ah,0,[()=>KN,{[_]:g}]],gI=[1,v,sh,0,[()=>JN,{[_]:g}]],_I=[1,v,ch,0,[()=>YN,{[_]:g}]],vI=[1,v,uh,0,[()=>XN,{[_]:g}]],yI=[1,v,rh,0,[()=>QN,{[_]:g}]],bI=[1,v,bh,0,[()=>eP,{[_]:g}]],xI=[1,v,Ap,0,[()=>nP,{[_]:g}]],SI=[1,v,Pp,0,[0,{[_]:g}]],CI=[1,v,Ip,0,[()=>tP,{[_]:g}]],wI=[1,v,Lm,0,[()=>rP,{[_]:g}]],TI=[1,v,Xm,0,[()=>iP,{[_]:g}]],EI=[1,v,Rm,0,[()=>aP,{[_]:g}]],DI=[1,v,zm,0,[()=>oP,{[_]:g}]],OI=[1,v,Zm,0,[()=>sP,{[_]:g}]],kI=[1,v,Rh,0,[0,{[_]:Lh}]],AI=[1,v,Hh,0,[0,{[_]:Vh}]],jI=[1,v,Gh,0,[()=>lP,{[_]:g}]],MI=[1,v,ng,0,[()=>dP,{[_]:g}]],NI=[1,v,ag,0,[()=>fP,{[_]:g}]],PI=[1,v,wg,0,[()=>mP,{[_]:g}]],FI=[1,v,o_,0,[()=>xP,{[_]:g}]],II=[1,v,d_,0,[()=>wP,{[_]:g}]],LI=[1,v,O_,0,[0,{[_]:g}]],RI=[1,v,H_,0,[0,{[_]:Y_}]],zI=[1,v,pv,0,[0,{[_]:jf}]],BI=[1,v,mv,0,[()=>jP,{[_]:g}]],VI=[1,v,hv,0,[0,{[_]:g}]],HI=[1,v,Av,0,[()=>NP,{[_]:g}]],UI=[1,v,bv,0,[()=>LP,{[_]:g}]],WI=[1,v,$_,0,[()=>zP,{[_]:g}]],GI=[1,v,Rv,0,[()=>BP,{[_]:g}]],KI=[1,v,iy,0,[()=>WP,{[_]:g}]],qI=[1,v,my,0,[()=>UP,{[_]:g}]],JI=[1,v,by,0,[0,{[_]:yy}]],YI=[1,v,hy,0,[()=>GP,{[_]:g}]],XI=[1,v,Ay,0,[()=>KP,{[_]:g}]],ZI=[1,v,Qv,0,[0,{[_]:g}]],QI=[1,v,gy,0,[()=>ZP,{[_]:g}]],$I=[1,v,Py,0,[()=>$P,{[_]:g}]],eL=[1,v,Ly,0,[0,{[_]:g}]],tL=[1,v,zy,0,[()=>QP,{[_]:g}]],nL=[1,v,cb,0,[0,{[_]:sb}]],rL=[1,v,ub,0,[()=>rF,{[_]:g}]],iL=[1,v,mb,0,[0,{[_]:g}]],aL=[1,v,gb,0,[()=>iF,{[_]:g}]],oL=[1,v,vb,0,[0,{[_]:bb}]],sL=[1,v,Hee,0,[0,{[_]:Eb}]],cL=[1,v,Qee,0,[()=>aF,{[_]:g}]],lL=[1,v,Uee,0,[0,{[_]:Db}]],uL=[1,v,Cb,0,[()=>mF,{[_]:g}]],dL=[1,v,$ee,0,[()=>fF,{[_]:g}]],fL=[1,v,Xy,0,[0,{[_]:g}]],pL=[1,v,Dte,0,[()=>hF,{[_]:g}]],mL=[1,v,Nte,0,[()=>gF,{[_]:g}]],hL=[1,v,jte,0,[1,{[_]:g}]],gL=[1,v,tx,0,[0,{[_]:g}]],_L=[1,v,ax,0,[()=>yF,{[_]:g}]],vL=[1,v,qx,0,[0,{[_]:g}]],yL=[1,v,Xx,0,[0,{[_]:g}]],bL=[1,v,px,0,[()=>SF,{[_]:g}]],xL=[1,v,Ax,0,[0,{[_]:Mx}]],SL=[1,v,Lx,0,[()=>xF,{[_]:g}]],CL=[1,v,gx,0,[()=>TF,{[_]:g}]],wL=[1,v,jx,0,[0,{[_]:Ex}]],TL=[1,v,Ox,0,[()=>jF,{[_]:g}]],EL=[1,v,Rx,0,[()=>wF,{[_]:g}]],DL=[1,v,oS,0,[0,{[_]:g}]],OL=[1,v,lS,0,[0,{[_]:cS}]],kL=[1,v,fS,0,[0,{[_]:dS}]],AL=[9,v,ss,0,()=>fj,()=>pj],jL=[9,v,Yo,0,()=>mj,()=>MF],ML=[9,v,Cs,0,()=>hj,()=>SF],NL=[9,v,fs,0,()=>vj,()=>yj],PL=[9,v,_s,0,()=>bj,()=>xj],FL=[9,v,Gc,0,()=>Fj,()=>Ij],IL=[9,v,dc,0,()=>zj,()=>Bj],LL=[9,v,nc,0,()=>Vj,()=>Hj],RL=[9,v,fc,0,()=>Uj,()=>cP],zL=[9,v,yc,0,()=>Wj,()=>Gj],BL=[9,v,Pc,0,()=>Kj,()=>qj],VL=[9,v,Nc,0,()=>Jj,()=>Yj],HL=[9,v,Fc,0,()=>Xj,()=>Zj],UL=[9,v,qc,0,()=>Qj,()=>aF],WL=[9,v,Jc,0,()=>$j,()=>eM],GL=[9,v,ol,0,()=>tM,()=>xF],KL=[9,v,sl,0,()=>nM,()=>rM],qL=[9,v,Bl,0,()=>oM,()=>sM],JL=[9,v,Zl,0,()=>cM,()=>MF],YL=[9,v,du,0,()=>lM,()=>uM],XL=[9,v,Cu,0,()=>dM,()=>MF],ZL=[9,v,wu,0,()=>fM,()=>MF],QL=[9,v,Bu,0,()=>pM,()=>MF],$L=[9,v,Vu,0,()=>mM,()=>MF],eR=[9,v,gl,0,()=>hM,()=>gM],tR=[9,v,Ll,0,()=>_M,()=>vM],nR=[9,v,Rl,0,()=>yM,()=>bM],rR=[9,v,Il,0,()=>xM,()=>SM],iR=[9,v,Ol,0,()=>CM,()=>wM],aR=[9,v,Gl,0,()=>TM,()=>EM],oR=[9,v,tu,0,()=>DM,()=>OM],sR=[9,v,uu,0,()=>kM,()=>AM],cR=[9,v,cu,0,()=>jM,()=>MM],lR=[9,v,gu,0,()=>NM,()=>PM],uR=[9,v,Tu,0,()=>FM,()=>IM],dR=[9,v,Eu,0,()=>LM,()=>RM],fR=[9,v,Hu,0,()=>zM,()=>BM],pR=[9,v,Uu,0,()=>VM,()=>HM],mR=[9,v,Wu,0,()=>UM,()=>SF],hR=[9,v,bf,0,()=>uN,()=>dN],gR=[9,v,tm,0,()=>xN,()=>SN],_R=[9,v,Ng,0,()=>_P,()=>MF],vR=[9,v,Jg,0,()=>vP,()=>yP],yR=[9,v,dy,0,()=>VP,()=>MF],bR=[9,v,Cy,0,()=>qP,()=>JP],xR=[9,v,Oy,0,()=>YP,()=>XP],SR=[9,v,py,0,()=>nF,()=>GP],CR=[9,v,Jee,0,()=>sF,()=>cF],wR=[9,v,Xee,0,()=>uF,()=>dF],TR=[9,v,xte,0,()=>_F,()=>vF],ER=e=>({apiVersion:`2016-11-15`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Vo,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Pa,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ta}],logger:e?.logger??new la,protocol:e?.protocol??lo,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.ec2`,errorTypeRegistries:cj,xmlNamespace:`http://ec2.amazonaws.com/doc/2016-11-15`,version:`2016-11-15`,serviceTarget:`AmazonEC2`},serviceId:e?.serviceId??`EC2`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),DR=e=>{let t=Ga(e),n=()=>t().then(ea),r=ER(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ua,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??za({serviceId:r.serviceId,clientVersion:Ra.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Va(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Ur),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},OR=e=>({setRegion(t){e.region=t},region(){return e.region}}),kR=e=>({region:e.region()}),AR=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},jR=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),MR=(e,t)=>{let n=Object.assign(OR(e),oa(e),de(e),AR(e));return t.forEach(e=>e.configure(n)),Object.assign(e,kR(n),sa(n),fe(n),jR(n))},NR=class extends qi{config;constructor(...[e]){let t=DR(e||{});super(t),this.initConfig=t,this.config=MR(Fa(zi(ye(bi(Vi(Xn(Ia(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(hi(this.config)),this.middlewareStack.use(va(this.config)),this.middlewareStack.use(wi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:Ma,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}},PR=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function FR(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`elasticloadbalancing`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var IR=e=>{let t=[];switch(e.operation){default:t.push(FR(e))}return t},LR=e=>{let t=ka(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},RR=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`elasticloadbalancing`}),zR={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},BR={name:`@aws-sdk/client-elastic-load-balancing-v2`,description:`AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native`,version:`3.1032.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-elastic-load-balancing-v2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo elastic-load-balancing-v2`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.1`,"@aws-sdk/credential-provider-node":`^3.972.32`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-user-agent":`^3.972.31`,"@aws-sdk/region-config-resolver":`^3.972.12`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.7`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.17`,"@smithy/config-resolver":`^4.4.16`,"@smithy/core":`^3.23.15`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.30`,"@smithy/middleware-retry":`^4.5.3`,"@smithy/middleware-serde":`^4.2.18`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.5.3`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.11`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.47`,"@smithy/util-defaults-mode-node":`^4.2.52`,"@smithy/util-endpoints":`^3.4.1`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.2`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.16`,tslib:`^2.6.2`},devDependencies:{"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elastic-load-balancing-v2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-elastic-load-balancing-v2`}},VR=`required`,HR=`fn`,UR=`argv`,WR=`ref`,GR=!0,KR=`isSet`,qR=`booleanEquals`,JR=`error`,YR=`endpoint`,XR=`tree`,ZR=`PartitionResult`,QR=`getAttr`,$R={[VR]:!1,type:`string`},ez={[VR]:!0,default:!1,type:`boolean`},tz={[WR]:`Endpoint`},nz={[HR]:qR,[UR]:[{[WR]:`UseFIPS`},!0]},rz={[HR]:qR,[UR]:[{[WR]:`UseDualStack`},!0]},iz={},az={[HR]:QR,[UR]:[{[WR]:ZR},`supportsFIPS`]},oz={[WR]:ZR},sz={[HR]:qR,[UR]:[!0,{[HR]:QR,[UR]:[oz,`supportsDualStack`]}]},cz=[nz],lz=[rz],uz=[{[WR]:`Region`}],dz={version:`1.0`,parameters:{Region:$R,UseDualStack:ez,UseFIPS:ez,Endpoint:$R},rules:[{conditions:[{[HR]:KR,[UR]:[tz]}],rules:[{conditions:cz,error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:JR},{conditions:lz,error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:JR},{endpoint:{url:tz,properties:iz,headers:iz},type:YR}],type:XR},{conditions:[{[HR]:KR,[UR]:uz}],rules:[{conditions:[{[HR]:`aws.partition`,[UR]:uz,assign:ZR}],rules:[{conditions:[nz,rz],rules:[{conditions:[{[HR]:qR,[UR]:[GR,az]},sz],rules:[{endpoint:{url:`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:iz,headers:iz},type:YR}],type:XR},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:JR}],type:XR},{conditions:cz,rules:[{conditions:[{[HR]:qR,[UR]:[az,GR]}],rules:[{conditions:[{[HR]:`stringEquals`,[UR]:[{[HR]:QR,[UR]:[oz,`name`]},`aws-us-gov`]}],endpoint:{url:`https://elasticloadbalancing.{Region}.amazonaws.com`,properties:iz,headers:iz},type:YR},{endpoint:{url:`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}`,properties:iz,headers:iz},type:YR}],type:XR},{error:`FIPS is enabled but this partition does not support FIPS`,type:JR}],type:XR},{conditions:lz,rules:[{conditions:[sz],rules:[{endpoint:{url:`https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}`,properties:iz,headers:iz},type:YR}],type:XR},{error:`DualStack is enabled but this partition does not support DualStack`,type:JR}],type:XR},{endpoint:{url:`https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}`,properties:iz,headers:iz},type:YR}],type:XR}],type:XR},{error:`Invalid Configuration: Missing Region`,type:JR}]},fz=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),pz=(e,t={})=>fz.get(e,()=>Nr(dz,{endpointParams:e,logger:t.logger}));tr.aws=Br;var y=class e extends Qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},mz=class e extends y{name=`CertificateNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CertificateNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},hz=class e extends y{name=`ListenerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ListenerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},gz=class e extends y{name=`TooManyCertificatesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyCertificatesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_z=class e extends y{name=`DuplicateTagKeysException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTagKeysException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},vz=class e extends y{name=`LoadBalancerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`LoadBalancerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},yz=class e extends y{name=`RuleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RuleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},bz=class e extends y{name=`TargetGroupNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},xz=class e extends y{name=`TooManyTagsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTagsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Sz=class e extends y{name=`TrustStoreNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Cz=class e extends y{name=`InvalidRevocationContentException`;$fault=`client`;Message;constructor(t){super({name:`InvalidRevocationContentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},wz=class e extends y{name=`RevocationContentNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationContentNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Tz=class e extends y{name=`TooManyTrustStoreRevocationEntriesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoreRevocationEntriesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ez=class e extends y{name=`AllocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`AllocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Dz=class e extends y{name=`ALPNPolicyNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`ALPNPolicyNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Oz=class e extends y{name=`AvailabilityZoneNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`AvailabilityZoneNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},kz=class e extends y{name=`CaCertificatesBundleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CaCertificatesBundleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Az=class e extends y{name=`CapacityDecreaseRequestsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityDecreaseRequestsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},jz=class e extends y{name=`CapacityReservationPendingException`;$fault=`client`;Message;constructor(t){super({name:`CapacityReservationPendingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Mz=class e extends y{name=`CapacityUnitsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityUnitsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Nz=class e extends y{name=`DuplicateListenerException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateListenerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Pz=class e extends y{name=`IncompatibleProtocolsException`;$fault=`client`;Message;constructor(t){super({name:`IncompatibleProtocolsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Fz=class e extends y{name=`InvalidConfigurationRequestException`;$fault=`client`;Message;constructor(t){super({name:`InvalidConfigurationRequestException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Iz=class e extends y{name=`InvalidLoadBalancerActionException`;$fault=`client`;Message;constructor(t){super({name:`InvalidLoadBalancerActionException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Lz=class e extends y{name=`SSLPolicyNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SSLPolicyNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Rz=class e extends y{name=`TargetGroupAssociationLimitException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupAssociationLimitException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},zz=class e extends y{name=`TooManyActionsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyActionsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Bz=class e extends y{name=`TooManyListenersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyListenersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Vz=class e extends y{name=`TooManyRegistrationsForTargetIdException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRegistrationsForTargetIdException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Hz=class e extends y{name=`TooManyTargetsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Uz=class e extends y{name=`TooManyUniqueTargetGroupsPerLoadBalancerException`;$fault=`client`;Message;constructor(t){super({name:`TooManyUniqueTargetGroupsPerLoadBalancerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Wz=class e extends y{name=`TrustStoreNotReadyException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Gz=class e extends y{name=`UnsupportedProtocolException`;$fault=`client`;Message;constructor(t){super({name:`UnsupportedProtocolException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Kz=class e extends y{name=`DuplicateLoadBalancerNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateLoadBalancerNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},qz=class e extends y{name=`InvalidSchemeException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSchemeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Jz=class e extends y{name=`InvalidSecurityGroupException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSecurityGroupException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Yz=class e extends y{name=`InvalidSubnetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSubnetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Xz=class e extends y{name=`OperationNotPermittedException`;$fault=`client`;Message;constructor(t){super({name:`OperationNotPermittedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Zz=class e extends y{name=`ResourceInUseException`;$fault=`client`;Message;constructor(t){super({name:`ResourceInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Qz=class e extends y{name=`SubnetNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SubnetNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},$z=class e extends y{name=`TooManyLoadBalancersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyLoadBalancersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},eB=class e extends y{name=`PriorityInUseException`;$fault=`client`;Message;constructor(t){super({name:`PriorityInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},tB=class e extends y{name=`TooManyRulesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRulesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},nB=class e extends y{name=`TooManyTargetGroupsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetGroupsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},rB=class e extends y{name=`DuplicateTargetGroupNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTargetGroupNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},iB=class e extends y{name=`DuplicateTrustStoreNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTrustStoreNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},aB=class e extends y{name=`InvalidCaCertificatesBundleException`;$fault=`client`;Message;constructor(t){super({name:`InvalidCaCertificatesBundleException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},oB=class e extends y{name=`TooManyTrustStoresException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoresException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},sB=class e extends y{name=`DeleteAssociationSameAccountException`;$fault=`client`;Message;constructor(t){super({name:`DeleteAssociationSameAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},cB=class e extends y{name=`TrustStoreAssociationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreAssociationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},lB=class e extends y{name=`TrustStoreInUseException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},uB=class e extends y{name=`InvalidTargetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidTargetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},dB=class e extends y{name=`HealthUnavailableException`;$fault=`server`;Message;constructor(t){super({name:`HealthUnavailableException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},fB=class e extends y{name=`RevocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},pB=class e extends y{name=`ResourceNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ResourceNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},mB=class e extends y{name=`InsufficientCapacityException`;$fault=`server`;Message;constructor(t){super({name:`InsufficientCapacityException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},hB=class e extends y{name=`PriorRequestNotCompleteException`;$fault=`client`;Message;constructor(t){super({name:`PriorRequestNotCompleteException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},gB=`Action`,_B=`AdditionalClaims`,vB=`AuthenticateCognitoActionConfig`,yB=`AuthenticateCognitoConfig`,bB=`AnomalyDetection`,xB=`AuthorizationEndpoint`,SB=`AllocationId`,CB=`AllocationIdNotFoundException`,wB=`ALPNPolicyNotSupportedException`,TB=`AdministrativeOverride`,EB=`AuthenticateOidcActionConfig`,DB=`AuthenticateOidcConfig`,OB=`AlpnPolicy`,kB=`AuthenticationRequestExtraParams`,AB=`AdvertiseTrustStoreCaNames`,jB=`AvailabilityZone`,MB=`AvailabilityZoneNotSupportedException`,NB=`AvailabilityZones`,PB=`Actions`,FB=`Attributes`,IB=`Certificates`,LB=`CertificateArn`,RB=`CaCertificatesBundleNotFoundException`,zB=`CapacityDecreaseRequestsLimitExceededException`,BB=`CanonicalHostedZoneId`,VB=`ClientId`,HB=`CertificateList`,UB=`CreateLoadBalancer`,WB=`CreateLoadBalancerInput`,GB=`CreateLoadBalancerOutput`,KB=`CreateListenerInput`,qB=`CreateListenerOutput`,JB=`CreateListener`,YB=`CertificateNotFoundException`,XB=`CustomerOwnedIpv4Pool`,ZB=`CapacityReservationPendingException`,QB=`ClientSecret`,$B=`ContentType`,eV=`CreateTargetGroup`,tV=`CreateTargetGroupInput`,nV=`CreateTargetGroupOutput`,rV=`CreatedTime`,iV=`CapacityUnitsLimitExceededException`,aV=`Certificate`,oV=`Code`,sV=`Description`,cV=`DefaultActions`,lV=`DeleteAssociationSameAccountException`,uV=`DeleteListener`,dV=`DeleteLoadBalancer`,fV=`DescribeLoadBalancerAttributes`,pV=`DescribeLoadBalancerAttributesInput`,mV=`DescribeLoadBalancerAttributesOutput`,hV=`DeleteLoadBalancerInput`,gV=`DescribeLoadBalancersInput`,_V=`DuplicateLoadBalancerNameException`,vV=`DeleteLoadBalancerOutput`,yV=`DescribeLoadBalancersOutput`,bV=`DescribeLoadBalancers`,xV=`DuplicateListenerException`,SV=`DeleteListenerInput`,CV=`DescribeListenersInput`,wV=`DeleteListenerOutput`,TV=`DescribeListenersOutput`,EV=`DescribeListeners`,DV=`DNSName`,OV=`DurationSeconds`,kV=`DeregisterTargets`,AV=`DeleteTargetGroup`,jV=`DescribeTargetGroupAttributes`,MV=`DescribeTargetGroupAttributesInput`,NV=`DescribeTargetGroupAttributesOutput`,PV=`DeleteTargetGroupInput`,FV=`DescribeTargetGroupsInput`,IV=`DuplicateTargetGroupNameException`,LV=`DeleteTargetGroupOutput`,RV=`DescribeTargetGroupsOutput`,zV=`DescribeTargetGroups`,BV=`DescribeTargetHealth`,VV=`DescribeTargetHealthInput`,HV=`DescribeTargetHealthOutput`,UV=`DeregisterTargetsInput`,WV=`DescribeTagsInput`,GV=`DuplicateTagKeysException`,KV=`DeregisterTargetsOutput`,qV=`DescribeTagsOutput`,JV=`DuplicateTrustStoreNameException`,YV=`DescribeTags`,XV=`Enabled`,ZV=`EnablePrefixForIpv6SourceNat`,QV=`EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic`,$V=`Format`,eH=`ForwardActionConfig`,tH=`ForwardConfig`,nH=`FixedResponseActionConfig`,rH=`FixedResponseConfig`,iH=`GrpcCode`,aH=`Host`,oH=`HttpCode`,sH=`HealthCheckEnabled`,cH=`HealthCheckIntervalSeconds`,lH=`HealthCheckProtocol`,uH=`HealthCheckPort`,dH=`HealthCheckPath`,fH=`HealthCheckTimeoutSeconds`,pH=`HealthyThresholdCount`,mH=`HealthUnavailableException`,hH=`Issuer`,gH=`IpAddress`,_H=`IpAddressType`,vH=`InvalidCaCertificatesBundleException`,yH=`IgnoreClientCertificateExpiry`,bH=`InsufficientCapacityException`,xH=`InvalidConfigurationRequestException`,SH=`IsDefault`,CH=`Ipv4IpamPoolId`,wH=`InvalidLoadBalancerActionException`,TH=`IpamPools`,EH=`IPv6Address`,DH=`IncompatibleProtocolsException`,OH=`InvalidRevocationContentException`,kH=`InvalidSchemeException`,AH=`InvalidSubnetException`,jH=`InvalidSecurityGroupException`,MH=`InvalidTargetException`,NH=`Id`,PH=`Include`,FH=`JwksEndpoint`,IH=`JwtValidationActionAdditionalClaim`,LH=`JwtValidationActionAdditionalClaims`,RH=`JwtValidationActionConfig`,zH=`JwtValidationConfig`,BH=`Key`,VH=`Listeners`,HH=`ListenerArn`,UH=`ListenerArns`,WH=`LoadBalancers`,GH=`LoadBalancerAddresses`,KH=`LoadBalancerArn`,qH=`LoadBalancerArns`,JH=`LoadBalancerAddress`,YH=`LoadBalancerAttribute`,XH=`LoadBalancerAttributes`,ZH=`LoadBalancerName`,QH=`LoadBalancerNotFoundException`,$H=`LoadBalancerState`,eU=`LoadBalancer`,tU=`ListenerNotFoundException`,nU=`Listener`,b=`Message`,rU=`MutualAuthentication`,iU=`MutualAuthenticationAttributes`,aU=`MessageBody`,oU=`MitigationInEffect`,sU=`ModifyLoadBalancerAttributes`,cU=`ModifyLoadBalancerAttributesInput`,lU=`ModifyLoadBalancerAttributesOutput`,uU=`ModifyTargetGroupAttributes`,dU=`ModifyTargetGroupAttributesInput`,fU=`ModifyTargetGroupAttributesOutput`,pU=`Matcher`,mU=`Marker`,hU=`Mode`,gU=`Name`,_U=`NextMarker`,vU=`Names`,yU=`Order`,bU=`OutpostId`,xU=`OperationNotPermittedException`,SU=`OnUnauthenticatedRequest`,CU=`PrivateIPv4Address`,wU=`PriorityInUseException`,TU=`PriorRequestNotCompleteException`,EU=`PageSize`,DU=`ProtocolVersion`,OU=`Path`,kU=`Port`,AU=`Protocol`,jU=`Query`,MU=`QuicServerId`,NU=`Reason`,PU=`ResourceArns`,FU=`RedirectActionConfig`,IU=`ResourceArn`,LU=`RedirectConfig`,RU=`RevocationContentNotFoundException`,zU=`RevocationIdNotFoundException`,BU=`ResourceInUseException`,VU=`ResourceNotFoundException`,HU=`RuleNotFoundException`,UU=`RegisterTargetsInput`,WU=`RegisterTargetsOutput`,GU=`RegisterTargets`,KU=`Result`,qU=`State`,JU=`StatusCode`,YU=`SessionCookieName`,XU=`SecurityGroups`,ZU=`SubnetId`,QU=`SubnetMappings`,$U=`SubnetMapping`,eW=`SubnetNotFoundException`,tW=`SourceNatIpv6Prefixes`,nW=`SourceNatIpv6Prefix`,rW=`SslPolicy`,iW=`SSLPolicyNotFoundException`,aW=`SessionTimeout`,oW=`Scope`,sW=`Scheme`,cW=`Subnets`,lW=`Type`,uW=`TargetControlPort`,dW=`TagDescriptions`,fW=`TagDescription`,pW=`TargetDescription`,mW=`TargetDescriptions`,hW=`TokenEndpoint`,gW=`TargetGroups`,_W=`TargetGroupArn`,vW=`TargetGroupAssociationLimitException`,yW=`TargetGroupArns`,bW=`TargetGroupAttribute`,xW=`TargetGroupAttributes`,SW=`TargetGroupList`,CW=`TargetGroupName`,wW=`TargetGroupNotFoundException`,TW=`TargetGroupStickinessConfig`,EW=`TargetGroupTuple`,DW=`TargetGroup`,OW=`TargetHealth`,kW=`TargetHealthDescriptions`,AW=`TargetHealthDescription`,jW=`TagList`,MW=`TooManyActionsException`,NW=`TooManyCertificatesException`,PW=`TooManyLoadBalancersException`,FW=`TooManyListenersException`,IW=`TooManyRulesException`,LW=`TooManyRegistrationsForTargetIdException`,RW=`TooManyTagsException`,zW=`TooManyTargetsException`,BW=`TooManyTargetGroupsException`,VW=`TooManyTrustStoresException`,HW=`TooManyTrustStoreRevocationEntriesException`,UW=`TooManyUniqueTargetGroupsPerLoadBalancerException`,WW=`TrustStoreArn`,GW=`TrustStoreAssociationNotFoundException`,KW=`TrustStoreAssociationStatus`,qW=`TrustStoreInUseException`,JW=`TrustStoreNotFoundException`,YW=`TrustStoreNotReadyException`,XW=`TargetType`,ZW=`Tags`,QW=`Tag`,$W=`Targets`,eG=`Target`,tG=`UseExistingClientSecret`,nG=`UserInfoEndpoint`,rG=`UserPoolArn`,iG=`UserPoolClientId`,aG=`UserPoolDomain`,oG=`UnsupportedProtocolException`,sG=`UnhealthyThresholdCount`,cG=`Values`,lG=`VpcId`,uG=`Value`,dG=`Weight`,fG=`ZoneName`,x=`awsQueryError`,S=`client`,C=`error`,w=`httpError`,pG=`smithy.ts.sdk.synthetic.com.amazonaws.elasticloadbalancingv2`,mG=`server`,T=`com.amazonaws.elasticloadbalancingv2`,hG=At.for(pG),gG=[-3,pG,`ElasticLoadBalancingV2ServiceException`,0,[],[]];hG.registerError(gG,y);var E=At.for(T),_G=[-3,T,CB,{[x]:[`AllocationIdNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(_G,Ez);var vG=[-3,T,wB,{[x]:[`ALPNPolicyNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(vG,Dz);var yG=[-3,T,MB,{[x]:[`AvailabilityZoneNotSupported`,400],[C]:S,[w]:400},[b],[0]];E.registerError(yG,Oz);var bG=[-3,T,RB,{[x]:[`CaCertificatesBundleNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(bG,kz);var xG=[-3,T,zB,{[x]:[`CapacityDecreaseRequestLimitExceeded`,400],[C]:S,[w]:400},[b],[0]];E.registerError(xG,Az);var SG=[-3,T,ZB,{[x]:[`CapacityReservationPending`,400],[C]:S,[w]:400},[b],[0]];E.registerError(SG,jz);var CG=[-3,T,iV,{[x]:[`CapacityUnitsLimitExceeded`,400],[C]:S,[w]:400},[b],[0]];E.registerError(CG,Mz);var wG=[-3,T,YB,{[x]:[`CertificateNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(wG,mz);var TG=[-3,T,lV,{[x]:[`DeleteAssociationSameAccount`,400],[C]:S,[w]:400},[b],[0]];E.registerError(TG,sB);var EG=[-3,T,xV,{[x]:[`DuplicateListener`,400],[C]:S,[w]:400},[b],[0]];E.registerError(EG,Nz);var DG=[-3,T,_V,{[x]:[`DuplicateLoadBalancerName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(DG,Kz);var OG=[-3,T,GV,{[x]:[`DuplicateTagKeys`,400],[C]:S,[w]:400},[b],[0]];E.registerError(OG,_z);var kG=[-3,T,IV,{[x]:[`DuplicateTargetGroupName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(kG,rB);var AG=[-3,T,JV,{[x]:[`DuplicateTrustStoreName`,400],[C]:S,[w]:400},[b],[0]];E.registerError(AG,iB);var jG=[-3,T,mH,{[x]:[`HealthUnavailable`,500],[C]:mG,[w]:500},[b],[0]];E.registerError(jG,dB);var MG=[-3,T,DH,{[x]:[`IncompatibleProtocols`,400],[C]:S,[w]:400},[b],[0]];E.registerError(MG,Pz);var NG=[-3,T,bH,{[x]:[`InsufficientCapacity`,500],[C]:mG,[w]:500},[b],[0]];E.registerError(NG,mB);var PG=[-3,T,vH,{[x]:[`InvalidCaCertificatesBundle`,400],[C]:S,[w]:400},[b],[0]];E.registerError(PG,aB);var FG=[-3,T,xH,{[x]:[`InvalidConfigurationRequest`,400],[C]:S,[w]:400},[b],[0]];E.registerError(FG,Fz);var IG=[-3,T,wH,{[x]:[`InvalidLoadBalancerAction`,400],[C]:S,[w]:400},[b],[0]];E.registerError(IG,Iz);var LG=[-3,T,OH,{[x]:[`InvalidRevocationContent`,400],[C]:S,[w]:400},[b],[0]];E.registerError(LG,Cz);var RG=[-3,T,kH,{[x]:[`InvalidScheme`,400],[C]:S,[w]:400},[b],[0]];E.registerError(RG,qz);var zG=[-3,T,jH,{[x]:[`InvalidSecurityGroup`,400],[C]:S,[w]:400},[b],[0]];E.registerError(zG,Jz);var BG=[-3,T,AH,{[x]:[`InvalidSubnet`,400],[C]:S,[w]:400},[b],[0]];E.registerError(BG,Yz);var VG=[-3,T,MH,{[x]:[`InvalidTarget`,400],[C]:S,[w]:400},[b],[0]];E.registerError(VG,uB);var HG=[-3,T,tU,{[x]:[`ListenerNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(HG,hz);var UG=[-3,T,QH,{[x]:[`LoadBalancerNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(UG,vz);var WG=[-3,T,xU,{[x]:[`OperationNotPermitted`,400],[C]:S,[w]:400},[b],[0]];E.registerError(WG,Xz);var GG=[-3,T,wU,{[x]:[`PriorityInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(GG,eB);var KG=[-3,T,TU,{[x]:[`PriorRequestNotComplete`,429],[C]:S,[w]:429},[b],[0]];E.registerError(KG,hB);var qG=[-3,T,BU,{[x]:[`ResourceInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(qG,Zz);var JG=[-3,T,VU,{[x]:[`ResourceNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(JG,pB);var YG=[-3,T,RU,{[x]:[`RevocationContentNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(YG,wz);var XG=[-3,T,zU,{[x]:[`RevocationIdNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(XG,fB);var ZG=[-3,T,HU,{[x]:[`RuleNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(ZG,yz);var QG=[-3,T,iW,{[x]:[`SSLPolicyNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(QG,Lz);var $G=[-3,T,eW,{[x]:[`SubnetNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError($G,Qz);var eK=[-3,T,vW,{[x]:[`TargetGroupAssociationLimit`,400],[C]:S,[w]:400},[b],[0]];E.registerError(eK,Rz);var tK=[-3,T,wW,{[x]:[`TargetGroupNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(tK,bz);var nK=[-3,T,MW,{[x]:[`TooManyActions`,400],[C]:S,[w]:400},[b],[0]];E.registerError(nK,zz);var rK=[-3,T,NW,{[x]:[`TooManyCertificates`,400],[C]:S,[w]:400},[b],[0]];E.registerError(rK,gz);var iK=[-3,T,FW,{[x]:[`TooManyListeners`,400],[C]:S,[w]:400},[b],[0]];E.registerError(iK,Bz);var aK=[-3,T,PW,{[x]:[`TooManyLoadBalancers`,400],[C]:S,[w]:400},[b],[0]];E.registerError(aK,$z);var oK=[-3,T,LW,{[x]:[`TooManyRegistrationsForTargetId`,400],[C]:S,[w]:400},[b],[0]];E.registerError(oK,Vz);var sK=[-3,T,IW,{[x]:[`TooManyRules`,400],[C]:S,[w]:400},[b],[0]];E.registerError(sK,tB);var cK=[-3,T,RW,{[x]:[`TooManyTags`,400],[C]:S,[w]:400},[b],[0]];E.registerError(cK,xz);var lK=[-3,T,BW,{[x]:[`TooManyTargetGroups`,400],[C]:S,[w]:400},[b],[0]];E.registerError(lK,nB);var uK=[-3,T,zW,{[x]:[`TooManyTargets`,400],[C]:S,[w]:400},[b],[0]];E.registerError(uK,Hz);var dK=[-3,T,HW,{[x]:[`TooManyTrustStoreRevocationEntries`,400],[C]:S,[w]:400},[b],[0]];E.registerError(dK,Tz);var fK=[-3,T,VW,{[x]:[`TooManyTrustStores`,400],[C]:S,[w]:400},[b],[0]];E.registerError(fK,oB);var pK=[-3,T,UW,{[x]:[`TooManyUniqueTargetGroupsPerLoadBalancer`,400],[C]:S,[w]:400},[b],[0]];E.registerError(pK,Uz);var mK=[-3,T,GW,{[x]:[`AssociationNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(mK,cB);var hK=[-3,T,qW,{[x]:[`TrustStoreInUse`,400],[C]:S,[w]:400},[b],[0]];E.registerError(hK,lB);var gK=[-3,T,JW,{[x]:[`TrustStoreNotFound`,400],[C]:S,[w]:400},[b],[0]];E.registerError(gK,Sz);var _K=[-3,T,YW,{[x]:[`TrustStoreNotReady`,400],[C]:S,[w]:400},[b],[0]];E.registerError(_K,Wz);var vK=[-3,T,oG,{[x]:[`UnsupportedProtocol`,400],[C]:S,[w]:400},[b],[0]];E.registerError(vK,Gz);var yK=[hG,E],bK=[3,T,gB,0,[lW,_W,DB,yB,yU,LU,rH,tH,zH],[0,0,()=>wK,()=>CK,1,()=>_q,()=>tq,()=>nq,()=>aq],1],xK=[3,T,TB,0,[qU,NU,sV],[0,0,0]],SK=[3,T,bB,0,[KU,oU],[0,0]],CK=[3,T,vB,0,[rG,iG,aG,YU,oW,aW,kB,SU],[0,0,0,0,0,1,128,0],3],wK=[3,T,EB,0,[hH,xB,hW,nG,VB,QB,YU,oW,aW,kB,SU,tG],[0,0,0,0,0,0,0,0,1,128,0,2],5],TK=[3,T,jB,0,[fG,ZU,bU,GH,tW],[0,0,0,()=>Fq,64]],EK=[3,T,aV,0,[LB,SH],[0,2]],DK=[3,T,KB,0,[KH,cV,AU,kU,rW,IB,OB,ZW,rU],[0,()=>Aq,0,1,0,()=>Mq,64,()=>Bq,()=>gq],2],OK=[3,T,qB,0,[VH],[()=>Pq]],kK=[3,T,WB,0,[gU,cW,QU,XU,sW,ZW,lW,_H,XB,ZV,TH],[0,64,()=>Rq,64,0,()=>Bq,0,0,0,0,()=>rq],1],AK=[3,T,GB,0,[WH],[()=>Lq]],jK=[3,T,tV,0,[gU,AU,DU,kU,lG,lH,uH,sH,dH,cH,fH,pH,sG,pU,XW,ZW,_H,uW],[0,0,0,1,0,0,0,2,0,1,1,1,1,()=>dq,0,()=>Bq,0,1],1],MK=[3,T,nV,0,[gW],[()=>Wq]],NK=[3,T,SV,0,[HH],[0],1],PK=[3,T,wV,0,[],[]],FK=[3,T,hV,0,[KH],[0],1],IK=[3,T,vV,0,[],[]],LK=[3,T,PV,0,[_W],[0],1],RK=[3,T,LV,0,[],[]],zK=[3,T,UV,0,[_W,$W],[0,()=>Vq],2],BK=[3,T,KV,0,[],[]],VK=[3,T,CV,0,[KH,UH,mU,EU],[0,64,0,1]],HK=[3,T,TV,0,[VH,_U],[()=>Pq,0]],UK=[3,T,pV,0,[KH],[0],1],WK=[3,T,mV,0,[FB],[()=>Iq]],GK=[3,T,gV,0,[qH,vU,mU,EU],[64,64,0,1]],KK=[3,T,yV,0,[WH,_U],[()=>Lq,0]],qK=[3,T,WV,0,[PU],[64],1],JK=[3,T,qV,0,[dW],[()=>zq]],YK=[3,T,MV,0,[_W],[0],1],XK=[3,T,NV,0,[FB],[()=>Hq]],ZK=[3,T,FV,0,[KH,yW,vU,mU,EU],[0,64,64,0,1]],QK=[3,T,RV,0,[gW,_U],[()=>Wq,0]],$K=[3,T,VV,0,[_W,$W,PH],[0,()=>Vq,64],1],eq=[3,T,HV,0,[kW],[()=>Gq]],tq=[3,T,nH,0,[JU,aU,$B],[0,0,0],1],nq=[3,T,eH,0,[gW,TW],[()=>Uq,()=>Eq]],rq=[3,T,TH,0,[CH],[0]],iq=[3,T,IH,0,[$V,gU,cG],[0,0,64],3],aq=[3,T,RH,0,[FH,hH,_B],[0,0,()=>Nq],2],oq=[3,T,nU,0,[HH,KH,kU,AU,IB,rW,cV,OB,rU],[0,0,1,0,()=>Mq,0,()=>Aq,64,()=>gq]],sq=[3,T,eU,0,[KH,DV,BB,rV,ZH,sW,lG,qU,lW,NB,XU,_H,XB,QV,ZV,TH],[0,0,0,4,0,0,0,()=>uq,0,()=>jq,64,0,0,0,0,()=>rq]],cq=[3,T,JH,0,[gH,SB,CU,EH],[0,0,0,0]],lq=[3,T,YH,0,[BH,uG],[0,0]],uq=[3,T,$H,0,[oV,NU],[0,0]],dq=[3,T,pU,0,[oH,iH],[0,0]],fq=[3,T,cU,0,[KH,FB],[0,()=>Iq],2],pq=[3,T,lU,0,[FB],[()=>Iq]],mq=[3,T,dU,0,[_W,FB],[0,()=>Hq],2],hq=[3,T,fU,0,[FB],[()=>Hq]],gq=[3,T,iU,0,[hU,WW,yH,KW,AB],[0,0,2,0,0]],_q=[3,T,FU,0,[JU,AU,kU,aH,OU,jU],[0,0,0,0,0,0],1],vq=[3,T,UU,0,[_W,$W],[0,()=>Vq],2],yq=[3,T,WU,0,[],[]],bq=[3,T,$U,0,[ZU,SB,CU,EH,nW],[0,0,0,0,0]],xq=[3,T,QW,0,[BH,uG],[0,0],1],Sq=[3,T,fW,0,[IU,ZW],[0,()=>Bq]],Cq=[3,T,pW,0,[NH,kU,jB,MU],[0,1,0,0],1],wq=[3,T,DW,0,[_W,CW,AU,kU,lG,lH,uH,sH,cH,fH,pH,sG,dH,pU,qH,XW,DU,_H,uW],[0,0,0,1,0,0,0,2,1,1,1,1,0,()=>dq,64,0,0,0,1]],Tq=[3,T,bW,0,[BH,uG],[0,0]],Eq=[3,T,TW,0,[XV,OV],[2,1]],Dq=[3,T,EW,0,[_W,dG],[0,1]],Oq=[3,T,OW,0,[qU,NU,sV],[0,0,0]],kq=[3,T,AW,0,[eG,uH,OW,bB,TB],[()=>Cq,0,()=>Oq,()=>SK,()=>xK]],Aq=[1,T,PB,0,()=>bK],jq=[1,T,NB,0,()=>TK],Mq=[1,T,HB,0,()=>EK],Nq=[1,T,LH,0,()=>iq],Pq=[1,T,VH,0,()=>oq],Fq=[1,T,GH,0,()=>cq],Iq=[1,T,XH,0,()=>lq],Lq=[1,T,WH,0,()=>sq],Rq=[1,T,QU,0,()=>bq],zq=[1,T,dW,0,()=>Sq],Bq=[1,T,jW,0,()=>xq],Vq=[1,T,mW,0,()=>Cq],Hq=[1,T,xW,0,()=>Tq],Uq=[1,T,SW,0,()=>Dq],Wq=[1,T,gW,0,()=>wq],Gq=[1,T,kW,0,()=>kq],Kq=[9,T,JB,0,()=>DK,()=>OK],qq=[9,T,UB,0,()=>kK,()=>AK],Jq=[9,T,eV,0,()=>jK,()=>MK],Yq=[9,T,uV,0,()=>NK,()=>PK],Xq=[9,T,dV,0,()=>FK,()=>IK],Zq=[9,T,AV,0,()=>LK,()=>RK],Qq=[9,T,kV,0,()=>zK,()=>BK],$q=[9,T,EV,0,()=>VK,()=>HK],eJ=[9,T,fV,0,()=>UK,()=>WK],tJ=[9,T,bV,0,()=>GK,()=>KK],nJ=[9,T,YV,0,()=>qK,()=>JK],rJ=[9,T,jV,0,()=>YK,()=>XK],iJ=[9,T,zV,0,()=>ZK,()=>QK],aJ=[9,T,BV,0,()=>$K,()=>eq],oJ=[9,T,sU,0,()=>fq,()=>pq],sJ=[9,T,uU,0,()=>mq,()=>hq],cJ=[9,T,GU,0,()=>vq,()=>yq],lJ=e=>({apiVersion:`2015-12-01`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??pz,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??IR,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ta}],logger:e?.logger??new la,protocol:e?.protocol??co,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.elasticloadbalancingv2`,errorTypeRegistries:yK,xmlNamespace:`http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/`,version:`2015-12-01`,serviceTarget:`ElasticLoadBalancing_v10`},serviceId:e?.serviceId??`Elastic Load Balancing v2`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),uJ=e=>{let t=Ga(e),n=()=>t().then(ea),r=lJ(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ua,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??za({serviceId:r.serviceId,clientVersion:BR.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Va(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Ur),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},dJ=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},fJ=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),pJ=(e,t)=>{let n=Object.assign(OR(e),oa(e),de(e),dJ(e));return t.forEach(e=>e.configure(n)),Object.assign(e,kR(n),sa(n),fe(n),fJ(n))},mJ=class extends qi{config;constructor(...[e]){let t=uJ(e||{});super(t),this.initConfig=t,this.config=pJ(LR(zi(ye(bi(Vi(Xn(RR(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(hi(this.config)),this.middlewareStack.use(va(this.config)),this.middlewareStack.use(wi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:PR,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}},hJ=async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function gJ(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`iam`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var _J=e=>{let t=[];switch(e.operation){default:t.push(gJ(e))}return t},vJ=e=>{let t=ka(e);return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},yJ=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`iam`}),bJ={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},xJ={name:`@aws-sdk/client-iam`,description:`AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native`,version:`3.1032.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-iam`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo iam`,test:`yarn g:vitest run --passWithNoTests`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.1`,"@aws-sdk/credential-provider-node":`^3.972.32`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-user-agent":`^3.972.31`,"@aws-sdk/region-config-resolver":`^3.972.12`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.7`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.17`,"@smithy/config-resolver":`^4.4.16`,"@smithy/core":`^3.23.15`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.30`,"@smithy/middleware-retry":`^4.5.3`,"@smithy/middleware-serde":`^4.2.18`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.5.3`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.11`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.47`,"@smithy/util-defaults-mode-node":`^4.2.52`,"@smithy/util-endpoints":`^3.4.1`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.2`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.16`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.6`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-iam`}},SJ=`required`,CJ=`fn`,wJ=`argv`,TJ=`ref`,EJ=`properties`,DJ=`headers`,OJ=`authSchemes`,kJ=`name`,AJ=`signingRegion`,jJ=!0,MJ=`isSet`,NJ=`booleanEquals`,PJ=`error`,FJ=`endpoint`,IJ=`tree`,LJ=`PartitionResult`,RJ=`stringEquals`,zJ=`sigv4`,BJ={[SJ]:!0,default:!1,type:`boolean`},VJ={[SJ]:!1,type:`string`},HJ={[TJ]:`Endpoint`},UJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseFIPS`},!0]},WJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseDualStack`},!0]},GJ={},KJ={[CJ]:RJ,[wJ]:[{[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`name`]},`aws`]},qJ={[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`name`]},JJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseFIPS`},!1]},YJ={[OJ]:[{[kJ]:zJ,[AJ]:`us-east-1`}]},XJ={[CJ]:RJ,[wJ]:[qJ,`aws-cn`]},ZJ={[OJ]:[{[kJ]:zJ,[AJ]:`cn-north-1`}]},QJ={[CJ]:NJ,[wJ]:[{[TJ]:`UseDualStack`},!1]},$J={[CJ]:RJ,[wJ]:[qJ,`aws-us-gov`]},eY={url:`https://iam.us-gov.api.aws`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-gov-west-1`}]},[DJ]:{}},tY={url:`https://iam.us-gov.amazonaws.com`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-gov-west-1`}]},[DJ]:{}},nY={[CJ]:RJ,[wJ]:[qJ,`aws-iso`]},rY={[OJ]:[{[kJ]:zJ,[AJ]:`us-iso-east-1`}]},iY={[CJ]:RJ,[wJ]:[qJ,`aws-iso-b`]},aY={[OJ]:[{[kJ]:zJ,[AJ]:`us-isob-east-1`}]},oY={[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`supportsFIPS`]},sY={[CJ]:NJ,[wJ]:[!0,{[CJ]:`getAttr`,[wJ]:[{[TJ]:LJ},`supportsDualStack`]}]},cY={[OJ]:[{[kJ]:zJ,[AJ]:`{PartitionResult#implicitGlobalRegion}`}]},lY=[{[TJ]:`Region`}],uY={version:`1.0`,parameters:{UseDualStack:BJ,UseFIPS:BJ,Endpoint:VJ,Region:VJ},rules:[{conditions:[{[CJ]:MJ,[wJ]:[HJ]}],rules:[{conditions:[UJ],error:`Invalid Configuration: FIPS and custom endpoint are not supported`,type:PJ},{rules:[{conditions:[WJ],error:`Invalid Configuration: Dualstack and custom endpoint are not supported`,type:PJ},{endpoint:{url:HJ,[EJ]:GJ,[DJ]:GJ},type:FJ}],type:IJ}],type:IJ},{rules:[{conditions:[{[CJ]:MJ,[wJ]:lY}],rules:[{conditions:[{[CJ]:`aws.partition`,[wJ]:lY,assign:LJ}],rules:[{conditions:[KJ,JJ,WJ],endpoint:{url:`https://iam.global.api.aws`,[EJ]:YJ,[DJ]:GJ},type:FJ},{conditions:[KJ,UJ,WJ],endpoint:{url:`https://iam-fips.global.api.aws`,[EJ]:YJ,[DJ]:GJ},type:FJ},{conditions:[XJ,JJ,WJ],endpoint:{url:`https://iam.global.api.amazonwebservices.com.cn`,[EJ]:ZJ,[DJ]:GJ},type:FJ},{conditions:[XJ,JJ,QJ],endpoint:{url:`https://iam.cn-north-1.amazonaws.com.cn`,[EJ]:ZJ,[DJ]:GJ},type:FJ},{conditions:[$J,JJ,WJ],endpoint:eY,type:FJ},{conditions:[$J,UJ,WJ],endpoint:eY,type:FJ},{conditions:[$J,JJ,QJ],endpoint:tY,type:FJ},{conditions:[$J,UJ,QJ],endpoint:tY,type:FJ},{conditions:[nY,JJ,QJ],endpoint:{url:`https://iam.us-iso-east-1.c2s.ic.gov`,[EJ]:rY,[DJ]:GJ},type:FJ},{conditions:[nY,UJ,QJ],endpoint:{url:`https://iam-fips.us-iso-east-1.c2s.ic.gov`,[EJ]:rY,[DJ]:GJ},type:FJ},{conditions:[iY,JJ,QJ],endpoint:{url:`https://iam.us-isob-east-1.sc2s.sgov.gov`,[EJ]:aY,[DJ]:GJ},type:FJ},{conditions:[iY,UJ,QJ],endpoint:{url:`https://iam-fips.us-isob-east-1.sc2s.sgov.gov`,[EJ]:aY,[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-iso-e`]},JJ,QJ],endpoint:{url:`https://iam.eu-isoe-west-1.cloud.adc-e.uk`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`eu-isoe-west-1`}]},[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-iso-f`]},JJ,QJ],endpoint:{url:`https://iam.us-isof-south-1.csp.hci.ic.gov`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`us-isof-south-1`}]},[DJ]:GJ},type:FJ},{conditions:[{[CJ]:RJ,[wJ]:[qJ,`aws-eusc`]},JJ,QJ],endpoint:{url:`https://iam.eusc-de-east-1.amazonaws.eu`,[EJ]:{[OJ]:[{[kJ]:zJ,[AJ]:`eusc-de-east-1`}]},[DJ]:GJ},type:FJ},{conditions:[UJ,WJ],rules:[{conditions:[{[CJ]:NJ,[wJ]:[jJ,oY]},sY],rules:[{endpoint:{url:`https://iam-fips.{PartitionResult#dualStackDnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`FIPS and DualStack are enabled, but this partition does not support one or both`,type:PJ}],type:IJ},{conditions:[UJ,QJ],rules:[{conditions:[{[CJ]:NJ,[wJ]:[oY,jJ]}],rules:[{endpoint:{url:`https://iam-fips.{PartitionResult#dnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`FIPS is enabled but this partition does not support FIPS`,type:PJ}],type:IJ},{conditions:[JJ,WJ],rules:[{conditions:[sY],rules:[{endpoint:{url:`https://iam.{PartitionResult#dualStackDnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ},{error:`DualStack is enabled but this partition does not support DualStack`,type:PJ}],type:IJ},{endpoint:{url:`https://iam.{PartitionResult#dnsSuffix}`,[EJ]:cY,[DJ]:GJ},type:FJ}],type:IJ}],type:IJ},{error:`Invalid Configuration: Missing Region`,type:PJ}],type:IJ}]},dY=new Zn({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),fY=(e,t={})=>dY.get(e,()=>Nr(uY,{endpointParams:e,logger:t.logger}));tr.aws=Br;var D=class e extends Qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},pY=class e extends D{name=`ConcurrentModificationException`;$fault=`client`;constructor(t){super({name:`ConcurrentModificationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},mY=class e extends D{name=`NoSuchEntityException`;$fault=`client`;constructor(t){super({name:`NoSuchEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},hY=class e extends D{name=`ServiceFailureException`;$fault=`server`;constructor(t){super({name:`ServiceFailureException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},gY=class e extends D{name=`AccountNotManagementOrDelegatedAdministratorException`;$fault=`client`;Message;constructor(t){super({name:`AccountNotManagementOrDelegatedAdministratorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_Y=class e extends D{name=`InvalidInputException`;$fault=`client`;constructor(t){super({name:`InvalidInputException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},vY=class e extends D{name=`LimitExceededException`;$fault=`client`;constructor(t){super({name:`LimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},yY=class e extends D{name=`EntityAlreadyExistsException`;$fault=`client`;constructor(t){super({name:`EntityAlreadyExistsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},bY=class e extends D{name=`UnmodifiableEntityException`;$fault=`client`;constructor(t){super({name:`UnmodifiableEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},xY=class e extends D{name=`PolicyNotAttachableException`;$fault=`client`;constructor(t){super({name:`PolicyNotAttachableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},SY=class e extends D{name=`EntityTemporarilyUnmodifiableException`;$fault=`client`;constructor(t){super({name:`EntityTemporarilyUnmodifiableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},CY=class e extends D{name=`InvalidUserTypeException`;$fault=`client`;constructor(t){super({name:`InvalidUserTypeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},wY=class e extends D{name=`PasswordPolicyViolationException`;$fault=`client`;constructor(t){super({name:`PasswordPolicyViolationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},TY=class e extends D{name=`OpenIdIdpCommunicationErrorException`;$fault=`client`;constructor(t){super({name:`OpenIdIdpCommunicationErrorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},EY=class e extends D{name=`MalformedPolicyDocumentException`;$fault=`client`;constructor(t){super({name:`MalformedPolicyDocumentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},DY=class e extends D{name=`ServiceNotSupportedException`;$fault=`client`;constructor(t){super({name:`ServiceNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},OY=class e extends D{name=`DeleteConflictException`;$fault=`client`;constructor(t){super({name:`DeleteConflictException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},kY=class e extends D{name=`OrganizationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},AY=class e extends D{name=`OrganizationNotInAllFeaturesModeException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotInAllFeaturesModeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},jY=class e extends D{name=`ServiceAccessNotEnabledException`;$fault=`client`;Message;constructor(t){super({name:`ServiceAccessNotEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},MY=class e extends D{name=`FeatureDisabledException`;$fault=`client`;constructor(t){super({name:`FeatureDisabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},NY=class e extends D{name=`InvalidAuthenticationCodeException`;$fault=`client`;constructor(t){super({name:`InvalidAuthenticationCodeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},PY=class e extends D{name=`CallerIsNotManagementAccountException`;$fault=`client`;Message;constructor(t){super({name:`CallerIsNotManagementAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},FY=class e extends D{name=`FeatureEnabledException`;$fault=`client`;constructor(t){super({name:`FeatureEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},IY=class e extends D{name=`ReportGenerationLimitExceededException`;$fault=`client`;constructor(t){super({name:`ReportGenerationLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},LY=class e extends D{name=`CredentialReportExpiredException`;$fault=`client`;constructor(t){super({name:`CredentialReportExpiredException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},RY=class e extends D{name=`CredentialReportNotPresentException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotPresentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},zY=class e extends D{name=`CredentialReportNotReadyException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},BY=class e extends D{name=`UnrecognizedPublicKeyEncodingException`;$fault=`client`;constructor(t){super({name:`UnrecognizedPublicKeyEncodingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},VY=class e extends D{name=`PolicyEvaluationException`;$fault=`server`;constructor(t){super({name:`PolicyEvaluationException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},HY=class e extends D{name=`KeyPairMismatchException`;$fault=`client`;constructor(t){super({name:`KeyPairMismatchException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},UY=class e extends D{name=`MalformedCertificateException`;$fault=`client`;constructor(t){super({name:`MalformedCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},WY=class e extends D{name=`DuplicateCertificateException`;$fault=`client`;constructor(t){super({name:`DuplicateCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},GY=class e extends D{name=`InvalidCertificateException`;$fault=`client`;constructor(t){super({name:`InvalidCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},KY=class e extends D{name=`DuplicateSSHPublicKeyException`;$fault=`client`;constructor(t){super({name:`DuplicateSSHPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},qY=class e extends D{name=`InvalidPublicKeyException`;$fault=`client`;constructor(t){super({name:`InvalidPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},JY=`Arn`,YY=`AttachmentCount`,XY=`AccessKey`,ZY=`AccessKeyId`,QY=`AccessKeyMetadata`,$Y=`AccountNotManagementOrDelegatedAdministratorException`,eX=`AttachedPolicy`,tX=`AttachedPermissionsBoundary`,nX=`AttachedPolicies`,rX=`AttachUserPolicy`,iX=`AttachUserPolicyRequest`,aX=`CreateAccessKey`,oX=`CreateAccessKeyRequest`,sX=`CreateAccessKeyResponse`,cX=`CreateDate`,lX=`CallerIsNotManagementAccountException`,uX=`ConcurrentModificationException`,dX=`CreatePolicyRequest`,fX=`CreatePolicyResponse`,pX=`CreatePolicy`,mX=`CredentialReportExpiredException`,hX=`CredentialReportNotPresentException`,gX=`CredentialReportNotReadyException`,_X=`CreateUser`,vX=`CreateUserRequest`,yX=`CreateUserResponse`,bX=`Description`,xX=`DeleteAccessKey`,SX=`DeleteAccessKeyRequest`,CX=`DeleteConflictException`,wX=`DuplicateCertificateException`,TX=`DeletePolicyRequest`,EX=`DeletePolicy`,DX=`DuplicateSSHPublicKeyException`,OX=`DeleteUser`,kX=`DetachUserPolicyRequest`,AX=`DetachUserPolicy`,jX=`DeleteUserRequest`,MX=`DefaultVersionId`,NX=`Document`,PX=`EntityAlreadyExistsException`,FX=`EntityTemporarilyUnmodifiableException`,IX=`FeatureDisabledException`,LX=`FeatureEnabledException`,RX=`GetPolicy`,zX=`GetPolicyRequest`,BX=`GetPolicyResponse`,VX=`GetPolicyVersion`,HX=`GetPolicyVersionRequest`,UX=`GetPolicyVersionResponse`,WX=`GetUser`,GX=`GetUserRequest`,KX=`GetUserResponse`,qX=`IsAttachable`,JX=`InvalidAuthenticationCodeException`,YX=`InvalidCertificateException`,XX=`IsDefaultVersion`,ZX=`InvalidInputException`,QX=`InvalidPublicKeyException`,$X=`IsTruncated`,eZ=`InvalidUserTypeException`,tZ=`Key`,nZ=`KeyPairMismatchException`,rZ=`ListAccessKeys`,iZ=`ListAccessKeysRequest`,aZ=`ListAccessKeysResponse`,oZ=`ListAttachedUserPolicies`,sZ=`ListAttachedUserPoliciesRequest`,cZ=`ListAttachedUserPoliciesResponse`,lZ=`LimitExceededException`,uZ=`ListPoliciesRequest`,dZ=`ListPoliciesResponse`,fZ=`ListPolicies`,pZ=`ListUsers`,mZ=`ListUsersRequest`,hZ=`ListUsersResponse`,gZ=`Message`,_Z=`MalformedCertificateException`,vZ=`MaxItems`,yZ=`MalformedPolicyDocumentException`,bZ=`Marker`,xZ=`NoSuchEntityException`,SZ=`OnlyAttached`,CZ=`OpenIdIdpCommunicationErrorException`,wZ=`OrganizationNotFoundException`,TZ=`OrganizationNotInAllFeaturesModeException`,EZ=`PolicyArn`,DZ=`PermissionsBoundary`,OZ=`PermissionsBoundaryArn`,kZ=`PermissionsBoundaryType`,AZ=`PermissionsBoundaryUsageCount`,jZ=`PolicyDocument`,MZ=`PolicyEvaluationException`,NZ=`PolicyId`,PZ=`PasswordLastUsed`,FZ=`PolicyName`,IZ=`PolicyNotAttachableException`,LZ=`PasswordPolicyViolationException`,RZ=`PathPrefix`,zZ=`PolicyUsageFilter`,BZ=`PolicyVersion`,VZ=`Path`,HZ=`Policy`,UZ=`Policies`,WZ=`ReportGenerationLimitExceededException`,GZ=`Status`,KZ=`SecretAccessKey`,qZ=`ServiceAccessNotEnabledException`,JZ=`ServiceFailureException`,YZ=`ServiceNotSupportedException`,XZ=`Scope`,ZZ=`Tags`,QZ=`Tag`,$Z=`UpdateAccessKey`,eQ=`UpdateAccessKeyRequest`,tQ=`UpdateDate`,nQ=`UnmodifiableEntityException`,rQ=`UserId`,iQ=`UserName`,aQ=`UnrecognizedPublicKeyEncodingException`,oQ=`User`,sQ=`Users`,cQ=`VersionId`,lQ=`Value`,uQ=`accessKeyMetadataListType`,dQ=`accessKeySecretType`,fQ=`attachedPoliciesListType`,pQ=`awsQueryError`,mQ=`client`,O=`error`,k=`httpError`,hQ=`message`,gQ=`policyListType`,_Q=`smithy.ts.sdk.synthetic.com.amazonaws.iam`,vQ=`server`,yQ=`tagListType`,bQ=`userListType`,A=`com.amazonaws.iam`,xQ=At.for(_Q),SQ=[-3,_Q,`IAMServiceException`,0,[],[]];xQ.registerError(SQ,D);var j=At.for(A),CQ=[-3,A,$Y,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(CQ,gY);var wQ=[-3,A,lX,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(wQ,PY);var TQ=[-3,A,uX,{[pQ]:[`ConcurrentModification`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(TQ,pY);var EQ=[-3,A,mX,{[pQ]:[`ReportExpired`,410],[O]:mQ,[k]:410},[hQ],[0]];j.registerError(EQ,LY);var DQ=[-3,A,hX,{[pQ]:[`ReportNotPresent`,410],[O]:mQ,[k]:410},[hQ],[0]];j.registerError(DQ,RY);var OQ=[-3,A,gX,{[pQ]:[`ReportInProgress`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(OQ,zY);var kQ=[-3,A,CX,{[pQ]:[`DeleteConflict`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(kQ,OY);var AQ=[-3,A,wX,{[pQ]:[`DuplicateCertificate`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(AQ,WY);var jQ=[-3,A,DX,{[pQ]:[`DuplicateSSHPublicKey`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(jQ,KY);var MQ=[-3,A,PX,{[pQ]:[`EntityAlreadyExists`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(MQ,yY);var NQ=[-3,A,FX,{[pQ]:[`EntityTemporarilyUnmodifiable`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(NQ,SY);var PQ=[-3,A,IX,{[pQ]:[`FeatureDisabled`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(PQ,MY);var FQ=[-3,A,LX,{[pQ]:[`FeatureEnabled`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(FQ,FY);var IQ=[-3,A,JX,{[pQ]:[`InvalidAuthenticationCode`,403],[O]:mQ,[k]:403},[hQ],[0]];j.registerError(IQ,NY);var LQ=[-3,A,YX,{[pQ]:[`InvalidCertificate`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(LQ,GY);var RQ=[-3,A,ZX,{[pQ]:[`InvalidInput`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(RQ,_Y);var zQ=[-3,A,QX,{[pQ]:[`InvalidPublicKey`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(zQ,qY);var BQ=[-3,A,eZ,{[pQ]:[`InvalidUserType`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(BQ,CY);var VQ=[-3,A,nZ,{[pQ]:[`KeyPairMismatch`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(VQ,HY);var HQ=[-3,A,lZ,{[pQ]:[`LimitExceeded`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(HQ,vY);var UQ=[-3,A,_Z,{[pQ]:[`MalformedCertificate`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(UQ,UY);var WQ=[-3,A,yZ,{[pQ]:[`MalformedPolicyDocument`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(WQ,EY);var GQ=[-3,A,xZ,{[pQ]:[`NoSuchEntity`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(GQ,mY);var KQ=[-3,A,CZ,{[pQ]:[`OpenIdIdpCommunicationError`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(KQ,TY);var qQ=[-3,A,wZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(qQ,kY);var JQ=[-3,A,TZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError(JQ,AY);var YQ=[-3,A,LZ,{[pQ]:[`PasswordPolicyViolation`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(YQ,wY);var XQ=[-3,A,MZ,{[pQ]:[`PolicyEvaluation`,500],[O]:vQ,[k]:500},[hQ],[0]];j.registerError(XQ,VY);var ZQ=[-3,A,IZ,{[pQ]:[`PolicyNotAttachable`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(ZQ,xY);var QQ=[-3,A,WZ,{[pQ]:[`ReportGenerationLimitExceeded`,409],[O]:mQ,[k]:409},[hQ],[0]];j.registerError(QQ,IY);var $Q=[-3,A,qZ,{[O]:mQ,[k]:400},[gZ],[0]];j.registerError($Q,jY);var e$=[-3,A,JZ,{[pQ]:[`ServiceFailure`,500],[O]:vQ,[k]:500},[hQ],[0]];j.registerError(e$,hY);var t$=[-3,A,YZ,{[pQ]:[`NotSupportedService`,404],[O]:mQ,[k]:404},[hQ],[0]];j.registerError(t$,DY);var n$=[-3,A,nQ,{[pQ]:[`UnmodifiableEntity`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(n$,bY);var r$=[-3,A,aQ,{[pQ]:[`UnrecognizedPublicKeyEncoding`,400],[O]:mQ,[k]:400},[hQ],[0]];j.registerError(r$,BY);var i$=[xQ,j],a$=[0,A,dQ,8,0],o$=[3,A,XY,0,[iQ,ZY,GZ,KZ,cX],[0,0,0,[()=>a$,0],4],4],s$=[3,A,QY,0,[iQ,ZY,GZ,cX],[0,0,0,4]],c$=[3,A,tX,0,[kZ,OZ],[0,0]],l$=[3,A,eX,0,[FZ,EZ],[0,0]],u$=[3,A,iX,0,[iQ,EZ],[0,0],2],d$=[3,A,oX,0,[iQ],[0]],f$=[3,A,sX,0,[XY],[[()=>o$,0]],1],p$=[3,A,dX,0,[FZ,jZ,VZ,bX,ZZ],[0,0,0,0,()=>W$],2],m$=[3,A,fX,0,[HZ],[()=>F$]],h$=[3,A,vX,0,[iQ,VZ,DZ,ZZ],[0,0,0,()=>W$],1],g$=[3,A,yX,0,[oQ],[()=>z$]],_$=[3,A,SX,0,[ZY,iQ],[0,0],1],v$=[3,A,TX,0,[EZ],[0],1],y$=[3,A,jX,0,[iQ],[0],1],b$=[3,A,kX,0,[iQ,EZ],[0,0],2],x$=[3,A,zX,0,[EZ],[0],1],S$=[3,A,BX,0,[HZ],[()=>F$]],C$=[3,A,HX,0,[EZ,cQ],[0,0],2],w$=[3,A,UX,0,[BZ],[()=>I$]],T$=[3,A,GX,0,[iQ],[0]],E$=[3,A,KX,0,[oQ],[()=>z$],1],D$=[3,A,iZ,0,[iQ,bZ,vZ],[0,0,1]],O$=[3,A,aZ,0,[QY,$X,bZ],[()=>V$,2,0],1],k$=[3,A,sZ,0,[iQ,RZ,bZ,vZ],[0,0,0,1],1],A$=[3,A,cZ,0,[nX,$X,bZ],[()=>H$,2,0]],j$=[3,A,uZ,0,[XZ,SZ,RZ,zZ,bZ,vZ],[0,2,0,0,0,1]],M$=[3,A,dZ,0,[UZ,$X,bZ],[()=>U$,2,0]],N$=[3,A,mZ,0,[RZ,bZ,vZ],[0,0,1]],P$=[3,A,hZ,0,[sQ,$X,bZ],[()=>G$,2,0],1],F$=[3,A,HZ,0,[FZ,NZ,JY,VZ,MX,YY,AZ,qX,bX,cX,tQ,ZZ],[0,0,0,0,0,1,1,2,0,4,4,()=>W$]],I$=[3,A,BZ,0,[NX,cQ,XX,cX],[0,0,2,4]],L$=[3,A,QZ,0,[tZ,lQ],[0,0],2],R$=[3,A,eQ,0,[ZY,GZ,iQ],[0,0,0],2],z$=[3,A,oQ,0,[VZ,iQ,rQ,JY,cX,PZ,DZ,ZZ],[0,0,0,0,4,4,()=>c$,()=>W$],5],B$=`unit`,V$=[1,A,uQ,0,()=>s$],H$=[1,A,fQ,0,()=>l$],U$=[1,A,gQ,0,()=>F$],W$=[1,A,yQ,0,()=>L$],G$=[1,A,bQ,0,()=>z$],K$=[9,A,rX,0,()=>u$,()=>B$],q$=[9,A,aX,0,()=>d$,()=>f$],J$=[9,A,pX,0,()=>p$,()=>m$],Y$=[9,A,_X,0,()=>h$,()=>g$],X$=[9,A,xX,0,()=>_$,()=>B$],Z$=[9,A,EX,0,()=>v$,()=>B$],Q$=[9,A,OX,0,()=>y$,()=>B$],$$=[9,A,AX,0,()=>b$,()=>B$],e1=[9,A,RX,0,()=>x$,()=>S$],t1=[9,A,VX,0,()=>C$,()=>w$],n1=[9,A,WX,0,()=>T$,()=>E$],r1=[9,A,rZ,0,()=>D$,()=>O$],i1=[9,A,oZ,0,()=>k$,()=>A$],a1=[9,A,fZ,0,()=>j$,()=>M$],o1=[9,A,pZ,0,()=>N$,()=>P$],s1=[9,A,$Z,0,()=>R$,()=>B$],c1=e=>({apiVersion:`2010-05-08`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??fY,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??_J,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ta}],logger:e?.logger??new la,protocol:e?.protocol??co,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.iam`,errorTypeRegistries:i$,xmlNamespace:`https://iam.amazonaws.com/doc/2010-05-08/`,version:`2010-05-08`,serviceTarget:`AWSIdentityManagementV20100508`},serviceId:e?.serviceId??`IAM`,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),l1=e=>{let t=Ga(e),n=()=>t().then(ea),r=c1(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ua,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??za({serviceId:r.serviceId,clientVersion:xJ.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??Va(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Ur),sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},u1=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},d1=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),f1=(e,t)=>{let n=Object.assign(OR(e),oa(e),de(e),u1(e));return t.forEach(e=>e.configure(n)),Object.assign(e,kR(n),sa(n),fe(n),d1(n))},p1=class extends qi{config;constructor(...[e]){let t=l1(e||{});super(t),this.initConfig=t,this.config=f1(vJ(zi(ye(bi(Vi(Xn(yJ(t))))))),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(hi(this.config)),this.middlewareStack.use(va(this.config)),this.middlewareStack.use(wi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:hJ,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(Le(this.config))}destroy(){super.destroy()}};function m1(e){return t=>async n=>{let{request:r}=n;if(e.expectContinueHeader!==!1&&i.isInstance(r)&&r.body&&e.runtime===`node`&&e.requestHandler?.constructor?.name!==`FetchHttpHandler`){let t=!0;if(typeof e.expectContinueHeader==`number`)try{t=(Number(r.headers?.[`content-length`])??e.bodyLengthChecker?.(r.body)??1/0)>=e.expectContinueHeader}catch{}else t=!!e.expectContinueHeader;t&&(r.headers.Expect=`100-continue`)}return t({...n,request:r})}}var h1={step:`build`,tags:[`SET_EXPECT_HEADER`,`EXPECT_HEADER`],name:`addExpectContinueMiddleware`,override:!0},g1=e=>({applyToStack:t=>{t.add(m1(e),h1)}}),_1={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},v1=_1.WHEN_SUPPORTED,y1={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},b1=_1.WHEN_SUPPORTED,x1;(function(e){e.MD5=`MD5`,e.CRC32=`CRC32`,e.CRC32C=`CRC32C`,e.CRC64NVME=`CRC64NVME`,e.SHA1=`SHA1`,e.SHA256=`SHA256`})(x1||={});var S1;(function(e){e.HEADER=`header`,e.TRAILER=`trailer`})(S1||={});var C1=x1.CRC32,w1=function(){function e(){this.crc32=new T1}return e.prototype.update=function(e){r(e)||this.crc32.update(ae(e))},e.prototype.digest=function(){return a(this,void 0,void 0,function(){return o(this,function(e){return[2,s(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new T1},e}(),T1=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=te(e),i=r.next();!i.done;i=r.next()){var a=i.value;this.checksum=this.checksum>>>8^E1[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}(),E1=c([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),D1=e=>{let{requestChecksumCalculation:t,responseChecksumValidation:n,requestStreamBufferSize:r}=e;return Object.assign(e,{requestChecksumCalculation:f(t??v1),responseChecksumValidation:f(n??b1),requestStreamBufferSize:Number(r??0),checksumAlgorithms:e.checksumAlgorithms??{}})},O1=e=>(t,n)=>async r=>{let i=await e.region(),a=e.region,o=()=>{};n.__s3RegionRedirect&&(Object.defineProperty(e,`region`,{writable:!1,value:async()=>n.__s3RegionRedirect}),o=()=>Object.defineProperty(e,`region`,{writable:!0,value:a}));try{let a=await t(r);if(n.__s3RegionRedirect&&(o(),i!==await e.region()))throw Error(`Region was not restored following S3 region redirect.`);return a}catch(e){throw o(),e}},k1={tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectEndpointMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`};function A1(e){return(t,n)=>async r=>{try{return await t(r)}catch(i){if(e.followRegionRedirects){let a=i?.$metadata?.httpStatusCode,o=n.commandName===`HeadBucketCommand`,s=i?.$response?.headers?.[`x-amz-bucket-region`];if(s&&(a===301||a===400&&(i?.name===`IllegalLocationConstraintException`||o))){try{let t=s;n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t}catch(e){throw Error(`Region redirect failed: `+e)}return t(r)}}throw i}}}var j1={step:`initialize`,tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectMiddleware`,override:!0},M1=e=>({applyToStack:t=>{t.add(A1(e),j1),t.addRelativeTo(O1(e),k1)}}),N1=class e{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let t=Date.now();if(!(this.lastPurgeTime+e.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>t))for(let e in this.data){let n=this.data[e];if(!n.isRefreshing){let r=await n.identity;r.expiration&&r.expiration.getTime()(t.expiration?.getTime()??0){i.set(r,new P1(Promise.resolve(e)))})),t)):i.set(r,new P1(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache: +`+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error(`s3#createSession response credential missing AccessKeyId or SecretAccessKey.`);return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}},I1=`sigv4-s3express`,L1=`X-Amz-S3session-Token`,R1=L1.toLowerCase(),z1=class extends re{async signWithCredentials(e,t,n){let r=B1(t);e.headers[R1]=t.sessionToken;let i=this;return V1(i,r),i.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=B1(t);return delete e.headers[R1],e.headers[L1]=t.sessionToken,e.query=e.query??{},e.query[L1]=t.sessionToken,V1(this,r),this.presign(e,n)}};function B1(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function V1(e,t){let n=setTimeout(()=>{throw Error(`SignatureV4S3Express credential override was created but not called.`)},10),r=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t))}var H1=e=>(t,n)=>async r=>{if(n.endpointV2){let t=n.endpointV2,a=t.properties?.authSchemes?.[0]?.name===I1;if((t.properties?.backend===`S3Express`||t.properties?.bucketType===`Directory`)&&(Vr(n,`S3_EXPRESS_BUCKET`,`J`),n.isS3ExpressBucket=!0),a){let t=r.input.Bucket;if(t){let a=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=a,i.isInstance(r.request)&&a.sessionToken&&(r.request.headers[R1]=a.sessionToken)}}}return t(r)},U1={name:`s3ExpressMiddleware`,step:`build`,tags:[`S3`,`S3_EXPRESS`],override:!0},W1=e=>({applyToStack:t=>{t.add(H1(e),U1)}}),G1=async(e,t,n,r)=>{let i=await r.signWithCredentials(n,e,{});if(i.headers[`X-Amz-Security-Token`]||i.headers[`x-amz-security-token`])throw Error(`X-Amz-Security-Token must not be set for s3-express requests.`);return i},K1=e=>e=>{throw e},q1=(e,t)=>{},J1=e=>(t,n)=>async r=>{if(!i.isInstance(r.request))return t(r);let a=_e(n).selectedHttpAuthScheme;if(!a)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:o={}},identity:s,signer:c}=a,l;l=n.s3ExpressIdentity?await G1(n.s3ExpressIdentity,o,r.request,await e.signer()):await c.sign(r.request,s,o);let u=await t({...r,request:l}).catch((c.errorHandler||K1)(o));return(c.successHandler||q1)(u.response,o),u},Y1=e=>({applyToStack:t=>{t.addRelativeTo(J1(e),Ie)}}),X1=(e,{session:t})=>{let[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:o,followRegionRedirects:s,s3ExpressIdentityProvider:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new F1(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})},Z1={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Q1=3e3,$1=e=>(t,n)=>async r=>{let i=await t(r),{response:a}=i;if(!ge.isInstance(a))return i;let{statusCode:o,body:s}=a;if(o<200||o>=300||!(typeof s?.stream==`function`||typeof s?.pipe==`function`||typeof s?.tee==`function`))return i;let c=s,l=s;s&&typeof s==`object`&&!(s instanceof Uint8Array)&&([c,l]=await st(s)),a.body=l;let u=await e0(c,{streamCollector:async e=>qe(e,Q1)});typeof c?.destroy==`function`&&c.destroy();let d=e.utf8Encoder(u.subarray(u.length-16));if(u.length===0&&Z1[n.commandName]){let e=Error(`S3 aborted request`);throw e.name=`InternalError`,e}return d&&d.endsWith(``)&&(a.statusCode=400),i},e0=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),t0={relation:`after`,toMiddleware:`deserializerMiddleware`,tags:[`THROW_200_EXCEPTIONS`,`S3`],name:`throw200ExceptionsMiddleware`,override:!0},n0=e=>({applyToStack:t=>{t.addRelativeTo($1(e),t0)}}),r0=e=>typeof e==`string`&&e.indexOf(`arn:`)===0&&e.split(`:`).length>=6;function i0(e){return(t,n)=>async r=>{if(e.bucketEndpoint){let e=n.endpointV2;if(e){let t=r.input.Bucket;if(typeof t==`string`)try{let r=new URL(t);n.endpointV2={...e,url:r}}catch(e){let r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw n.logger?.constructor?.name===`NoOpLogger`?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}var a0={name:`bucketEndpointMiddleware`,override:!0,relation:`after`,toMiddleware:`endpointV2Middleware`};function o0({bucketEndpoint:e}){return t=>async n=>{let{input:{Bucket:r}}=n;if(!e&&typeof r==`string`&&!r0(r)&&r.indexOf(`/`)>=0){let e=Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name=`InvalidBucketName`,e}return t({...n})}}var s0={step:`initialize`,tags:[`VALIDATE_BUCKET_NAME`],name:`validateBucketNameMiddleware`,override:!0},c0=e=>({applyToStack:t=>{t.add(o0(e),s0),t.addRelativeTo(i0(e),a0)}}),l0=class extends mo{async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Et.of(e.input),a=i.getSchema(),o=0,s=a[6]??0;if(t&&typeof t==`object`)for(let[e,n]of i.structIterator()){if(++o>s)break;if(e===`Bucket`){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw Error(`No value provided for input HTTP label: Bucket.`);break}}return r}},u0=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),d0={CrtSignerV4:null},f0=class{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return typeof d0.CrtSignerV4==`function`?`crt`:typeof ve.SignatureV4a==`function`?`js`:`none`}constructor(e){this.sigv4Signer=new z1(e),this.signerOptions=e}async sign(e,t={}){return t.signingRegion===`*`?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if(n.signingRegion===`*`){let r=this.getSigv4aSigner(),i=d0.CrtSignerV4;if(i&&r instanceof i)return r.signWithCredentials(e,t,n);throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if(t.signingRegion===`*`){let n=this.getSigv4aSigner(),r=d0.CrtSignerV4;if(r&&n instanceof r)return n.presign(e,t);throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if(n.signingRegion===`*`)throw Error(`Method presignWithCredentials is not supported for [signingRegion=*].`);return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=d0.CrtSignerV4,t=ve.SignatureV4a;if(this.signerOptions.runtime===`node`){if(!e&&!t)throw Error(`Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);if(e&&typeof e==`function`)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==`function`)this.sigv4aSigner=new t({...this.signerOptions});else throw Error(`Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}else{if(!t||typeof t!=`function`)throw Error(`JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a`);this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}},p0=`required`,M=`type`,N=`rules`,P=`conditions`,F=`fn`,I=`argv`,L=`ref`,R=`assign`,z=`url`,B=`properties`,m0=`backend`,h0=`authSchemes`,g0=`disableDoubleEncoding`,_0=`signingName`,v0=`signingRegion`,V=`headers`,y0=`signingRegionSet`,b0=6,x0=!1,S0=!0,C0=`isSet`,w0=`booleanEquals`,H=`error`,T0=`aws.partition`,U=`stringEquals`,E0=`getAttr`,D0=`name`,O0=`substring`,k0=`bucketSuffix`,A0=`parseURL`,W=`endpoint`,G=`tree`,j0=`aws.isVirtualHostableS3Bucket`,M0=`{url#scheme}://{Bucket}.{url#authority}{url#path}`,N0=`not`,P0=`accessPointSuffix`,F0=`{url#scheme}://{url#authority}{url#path}`,I0=`hardwareType`,L0=`regionPrefix`,R0=`bucketAliasSuffix`,z0=`outpostId`,B0=`isValidHostLabel`,V0=`sigv4a`,H0=`s3-outposts`,U0=`s3`,W0=`{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}`,G0=`https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}`,K0=`https://{Bucket}.s3.{partitionResult#dnsSuffix}`,q0=`aws.parseArn`,J0=`bucketArn`,Y0=`arnType`,X0=``,Z0=`s3-object-lambda`,Q0=`accesspoint`,$0=`accessPointName`,e2=`{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}`,t2=`mrapPartition`,n2=`outpostType`,r2=`arnPrefix`,i2=`{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}`,a2=`https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,o2=`https://s3.{partitionResult#dnsSuffix}`,s2={[p0]:!1,[M]:`string`},c2={[p0]:!0,default:!1,[M]:`boolean`},l2={[p0]:!1,[M]:`boolean`},u2={[F]:w0,[I]:[{[L]:`Accelerate`},!0]},d2={[F]:w0,[I]:[{[L]:`UseFIPS`},!0]},f2={[F]:w0,[I]:[{[L]:`UseDualStack`},!0]},p2={[F]:C0,[I]:[{[L]:`Endpoint`}]},m2={[F]:T0,[I]:[{[L]:`Region`}],[R]:`partitionResult`},h2={[F]:U,[I]:[{[F]:E0,[I]:[{[L]:`partitionResult`},D0]},`aws-cn`]},g2={[F]:C0,[I]:[{[L]:`Bucket`}]},K={[L]:`Bucket`},_2={[P]:[u2],[H]:`S3Express does not support S3 Accelerate.`,[M]:H},v2={[P]:[p2,{[F]:A0,[I]:[{[L]:`Endpoint`}],[R]:`url`}],[N]:[{[P]:[{[F]:C0,[I]:[{[L]:`DisableS3ExpressSessionAuth`}]},{[F]:w0,[I]:[{[L]:`DisableS3ExpressSessionAuth`},!0]}],[N]:[{[P]:[{[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]}],[N]:[{[P]:[{[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`}],[N]:[{[W]:{[z]:`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G}],[M]:G},{[P]:[{[F]:j0,[I]:[K,!1]}],[N]:[{[W]:{[z]:M0,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G},{[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H}],[M]:G},{[P]:[{[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]}],[N]:[{[P]:[{[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`}],[N]:[{[W]:{[z]:`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G}],[M]:G},{[P]:[{[F]:j0,[I]:[K,!1]}],[N]:[{[W]:{[z]:M0,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],[M]:G},{[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H}],[M]:G},y2={[F]:A0,[I]:[{[L]:`Endpoint`}],[R]:`url`},b2={[F]:w0,[I]:[{[F]:E0,[I]:[{[L]:`url`},`isIp`]},!0]},x2={[L]:`url`},S2={[F]:`uriEncode`,[I]:[K],[R]:`uri_encoded_bucket`},C2={[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:`s3express`,[v0]:`{Region}`}]},q={},w2={[F]:j0,[I]:[K,!1]},T2={[H]:`S3Express bucket name is not a valid virtual hostable name.`,[M]:H},E2={[F]:C0,[I]:[{[L]:`UseS3ExpressControlEndpoint`}]},D2={[F]:w0,[I]:[{[L]:`UseS3ExpressControlEndpoint`},!0]},J={[F]:N0,[I]:[p2]},Y={[F]:w0,[I]:[{[L]:`UseDualStack`},!1]},X={[F]:w0,[I]:[{[L]:`UseFIPS`},!1]},O2={[H]:`Unrecognized S3Express bucket name format.`,[M]:H},k2={[F]:N0,[I]:[g2]},A2={[L]:I0},j2={[P]:[J],[H]:`Expected a endpoint to be specified but no endpoint was found`,[M]:H},M2={[h0]:[{[g0]:!0,[D0]:V0,[_0]:H0,[y0]:[`*`]},{[g0]:!0,[D0]:`sigv4`,[_0]:H0,[v0]:`{Region}`}]},N2={[F]:w0,[I]:[{[L]:`ForcePathStyle`},!1]},P2={[L]:`ForcePathStyle`},F2={[F]:w0,[I]:[{[L]:`Accelerate`},!1]},I2={[F]:U,[I]:[{[L]:`Region`},`aws-global`]},L2={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`us-east-1`}]},Z={[F]:N0,[I]:[I2]},R2={[F]:w0,[I]:[{[L]:`UseGlobalEndpoint`},!0]},z2={[z]:`https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{Region}`}]},[V]:{}},B2={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{Region}`}]},V2={[F]:w0,[I]:[{[L]:`UseGlobalEndpoint`},!1]},H2={[z]:`https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},U2={[z]:`https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},W2={[z]:`https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},G2={[F]:w0,[I]:[{[F]:E0,[I]:[x2,`isIp`]},!1]},K2={[z]:W0,[B]:B2,[V]:{}},q2={[z]:M0,[B]:B2,[V]:{}},J2={[W]:q2,[M]:W},Y2={[z]:G0,[B]:B2,[V]:{}},X2={[z]:`https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},Z2={[H]:`Invalid region: region was not a valid DNS name.`,[M]:H},Q2={[L]:J0},$2={[L]:Y0},e4={[F]:E0,[I]:[Q2,`service`]},t4={[L]:$0},n4={[P]:[f2],[H]:`S3 Object Lambda does not support Dual-stack`,[M]:H},r4={[P]:[u2],[H]:`S3 Object Lambda does not support S3 Accelerate`,[M]:H},i4={[P]:[{[F]:C0,[I]:[{[L]:`DisableAccessPoints`}]},{[F]:w0,[I]:[{[L]:`DisableAccessPoints`},!0]}],[H]:`Access points are not supported for this operation`,[M]:H},a4={[P]:[{[F]:C0,[I]:[{[L]:`UseArnRegion`}]},{[F]:w0,[I]:[{[L]:`UseArnRegion`},!1]},{[F]:N0,[I]:[{[F]:U,[I]:[{[F]:E0,[I]:[Q2,`region`]},`{Region}`]}]}],[H]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[M]:H},o4={[F]:E0,[I]:[{[L]:`bucketPartition`},D0]},s4={[F]:E0,[I]:[Q2,`accountId`]},c4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:Z0,[v0]:`{bucketArn#region}`}]},l4={[H]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[M]:H},u4={[H]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[M]:H},d4={[H]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[M]:H},f4={[H]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[M]:H},p4={[H]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[M]:H},m4={[H]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[M]:H},h4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:U0,[v0]:`{bucketArn#region}`}]},g4={[h0]:[{[g0]:!0,[D0]:V0,[_0]:H0,[y0]:[`*`]},{[g0]:!0,[D0]:`sigv4`,[_0]:H0,[v0]:`{bucketArn#region}`}]},_4={[F]:q0,[I]:[K]},v4={[z]:`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},y4={[z]:`https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},b4={[z]:`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},x4={[z]:i2,[B]:B2,[V]:{}},S4={[z]:`https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:B2,[V]:{}},C4={[L]:`UseObjectLambdaEndpoint`},w4={[h0]:[{[g0]:!0,[D0]:`sigv4`,[_0]:Z0,[v0]:`{Region}`}]},T4={[z]:`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},E4={[z]:`https://s3-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},D4={[z]:`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},O4={[z]:F0,[B]:B2,[V]:{}},k4={[z]:`https://s3.{Region}.{partitionResult#dnsSuffix}`,[B]:B2,[V]:{}},A4=[{[L]:`Region`}],j4=[{[L]:`Endpoint`}],M4=[K],N4=[u2],P4=[p2,y2],F4=[{[F]:C0,[I]:[{[L]:`DisableS3ExpressSessionAuth`}]},{[F]:w0,[I]:[{[L]:`DisableS3ExpressSessionAuth`},!0]}],I4=[S2],L4=[w2],R4=[m2],z4=[d2,f2],B4=[d2,Y],V4=[X,f2],H4=[X,Y],U4=[{[F]:O0,[I]:[K,6,14,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,14,16,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],W4=[{[P]:[d2,f2],[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:B4,[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:V4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W},{[P]:H4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:{}},[M]:W}],G4=[{[F]:O0,[I]:[K,6,15,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,15,17,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],K4=[{[F]:O0,[I]:[K,6,19,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,19,21,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],q4=[{[F]:O0,[I]:[K,6,20,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,20,22,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],J4=[{[F]:O0,[I]:[K,6,26,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,26,28,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],Y4=[{[P]:[d2,f2],[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:B4,[W]:{[z]:`https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:V4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W},{[P]:H4,[W]:{[z]:`https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}`,[B]:{[m0]:`S3Express`,[h0]:[{[g0]:!0,[D0]:`sigv4-s3express`,[_0]:`s3express`,[v0]:`{Region}`}]},[V]:{}},[M]:W}],X4=[K,0,7,!0],Z4=[{[F]:O0,[I]:[K,7,15,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,15,17,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],Q4=[{[F]:O0,[I]:[K,7,16,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,16,18,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],$4=[{[F]:O0,[I]:[K,7,20,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,20,22,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],e3=[{[F]:O0,[I]:[K,7,21,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,21,23,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],t3=[{[F]:O0,[I]:[K,7,27,!0],[R]:`s3expressAvailabilityZoneId`},{[F]:O0,[I]:[K,27,29,!0],[R]:`s3expressAvailabilityZoneDelim`},{[F]:U,[I]:[{[L]:`s3expressAvailabilityZoneDelim`},`--`]}],n3=[g2],r3=[{[F]:B0,[I]:[{[L]:z0},!1]}],i3=[{[F]:U,[I]:[{[L]:L0},`beta`]}],a3=[`*`],o3=[{[F]:B0,[I]:[{[L]:`Region`},!1]}],s3=[{[F]:U,[I]:[{[L]:`Region`},`us-east-1`]}],c3=[{[F]:U,[I]:[$2,Q0]}],l3=[{[F]:E0,[I]:[Q2,`resourceId[1]`],[R]:$0},{[F]:N0,[I]:[{[F]:U,[I]:[t4,X0]}]}],u3=[Q2,`resourceId[1]`],d3=[f2],f3=[{[F]:N0,[I]:[{[F]:U,[I]:[{[F]:E0,[I]:[Q2,`region`]},X0]}]}],p3=[{[F]:N0,[I]:[{[F]:C0,[I]:[{[F]:E0,[I]:[Q2,`resourceId[2]`]}]}]}],m3=[Q2,`resourceId[2]`],h3=[{[F]:T0,[I]:[{[F]:E0,[I]:[Q2,`region`]}],[R]:`bucketPartition`}],g3=[{[F]:U,[I]:[o4,{[F]:E0,[I]:[{[L]:`partitionResult`},D0]}]}],_3=[{[F]:B0,[I]:[{[F]:E0,[I]:[Q2,`region`]},!0]}],v3=[{[F]:B0,[I]:[s4,!1]}],y3=[{[F]:B0,[I]:[t4,!1]}],b3=[d2],x3=[{[F]:B0,[I]:[{[L]:`Region`},!0]}],S3={version:`1.0`,parameters:{Bucket:s2,Region:s2,UseFIPS:c2,UseDualStack:c2,Endpoint:s2,ForcePathStyle:c2,Accelerate:c2,UseGlobalEndpoint:c2,UseObjectLambdaEndpoint:l2,Key:s2,Prefix:s2,CopySource:s2,DisableAccessPoints:l2,DisableMultiRegionAccessPoints:c2,UseArnRegion:l2,UseS3ExpressControlEndpoint:l2,DisableS3ExpressSessionAuth:l2},[N]:[{[P]:[{[F]:C0,[I]:A4}],[N]:[{[P]:[u2,d2],error:`Accelerate cannot be used with FIPS`,[M]:H},{[P]:[f2,p2],error:`Cannot set dual-stack in combination with a custom endpoint.`,[M]:H},{[P]:[p2,d2],error:`A custom endpoint cannot be combined with FIPS`,[M]:H},{[P]:[p2,u2],error:`A custom endpoint cannot be combined with S3 Accelerate`,[M]:H},{[P]:[d2,m2,h2],error:`Partition does not support FIPS`,[M]:H},{[P]:[g2,{[F]:O0,[I]:[K,0,b0,S0],[R]:k0},{[F]:U,[I]:[{[L]:k0},`--x-s3`]}],[N]:[_2,v2,{[P]:[E2,D2],[N]:[{[P]:R4,[N]:[{[P]:[S2,J],[N]:[{[P]:z4,endpoint:{[z]:`https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://s3express-control.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:C2,[V]:q},[M]:W}],[M]:G}],[M]:G}],[M]:G},{[P]:L4,[N]:[{[P]:R4,[N]:[{[P]:F4,[N]:[{[P]:U4,[N]:W4,[M]:G},{[P]:G4,[N]:W4,[M]:G},{[P]:K4,[N]:W4,[M]:G},{[P]:q4,[N]:W4,[M]:G},{[P]:J4,[N]:W4,[M]:G},O2],[M]:G},{[P]:U4,[N]:Y4,[M]:G},{[P]:G4,[N]:Y4,[M]:G},{[P]:K4,[N]:Y4,[M]:G},{[P]:q4,[N]:Y4,[M]:G},{[P]:J4,[N]:Y4,[M]:G},O2],[M]:G}],[M]:G},T2],[M]:G},{[P]:[g2,{[F]:O0,[I]:X4,[R]:P0},{[F]:U,[I]:[{[L]:P0},`--xa-s3`]}],[N]:[_2,v2,{[P]:L4,[N]:[{[P]:R4,[N]:[{[P]:F4,[N]:[{[P]:Z4,[N]:W4,[M]:G},{[P]:Q4,[N]:W4,[M]:G},{[P]:$4,[N]:W4,[M]:G},{[P]:e3,[N]:W4,[M]:G},{[P]:t3,[N]:W4,[M]:G},O2],[M]:G},{[P]:Z4,[N]:Y4,[M]:G},{[P]:Q4,[N]:Y4,[M]:G},{[P]:$4,[N]:Y4,[M]:G},{[P]:e3,[N]:Y4,[M]:G},{[P]:t3,[N]:Y4,[M]:G},O2],[M]:G}],[M]:G},T2],[M]:G},{[P]:[k2,E2,D2],[N]:[{[P]:R4,[N]:[{[P]:P4,endpoint:{[z]:F0,[B]:C2,[V]:q},[M]:W},{[P]:z4,endpoint:{[z]:`https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://s3express-control.{Region}.{partitionResult#dnsSuffix}`,[B]:C2,[V]:q},[M]:W}],[M]:G}],[M]:G},{[P]:[g2,{[F]:O0,[I]:[K,49,50,S0],[R]:I0},{[F]:O0,[I]:[K,8,12,S0],[R]:L0},{[F]:O0,[I]:X4,[R]:R0},{[F]:O0,[I]:[K,32,49,S0],[R]:z0},{[F]:T0,[I]:A4,[R]:`regionPartition`},{[F]:U,[I]:[{[L]:R0},`--op-s3`]}],[N]:[{[P]:r3,[N]:[{[P]:L4,[N]:[{[P]:[{[F]:U,[I]:[A2,`e`]}],[N]:[{[P]:i3,[N]:[j2,{[P]:P4,endpoint:{[z]:`https://{Bucket}.ec2.{url#authority}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{endpoint:{[z]:`https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{[P]:[{[F]:U,[I]:[A2,`o`]}],[N]:[{[P]:i3,[N]:[j2,{[P]:P4,endpoint:{[z]:`https://{Bucket}.op-{outpostId}.{url#authority}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{endpoint:{[z]:`https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}`,[B]:M2,[V]:q},[M]:W}],[M]:G},{error:`Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"`,[M]:H}],[M]:G},{error:`Invalid Outposts Bucket alias - it must be a valid bucket name.`,[M]:H}],[M]:G},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[M]:H}],[M]:G},{[P]:n3,[N]:[{[P]:[p2,{[F]:N0,[I]:[{[F]:C0,[I]:[{[F]:A0,[I]:j4}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[M]:H},{[P]:[N2,w2],[N]:[{[P]:R4,[N]:[{[P]:o3,[N]:[{[P]:[u2,h2],error:`S3 Accelerate cannot be used in this region`,[M]:H},{[P]:[f2,d2,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,d2,F2,J,Z,R2],[N]:[{endpoint:z2,[M]:W}],[M]:G},{[P]:[f2,d2,F2,J,Z,V2],endpoint:z2,[M]:W},{[P]:[Y,d2,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[Y,d2,F2,J,Z,R2],[N]:[{endpoint:H2,[M]:W}],[M]:G},{[P]:[Y,d2,F2,J,Z,V2],endpoint:H2,[M]:W},{[P]:[f2,X,u2,J,I2],endpoint:{[z]:`https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,X,u2,J,Z,R2],[N]:[{endpoint:U2,[M]:W}],[M]:G},{[P]:[f2,X,u2,J,Z,V2],endpoint:U2,[M]:W},{[P]:[f2,X,F2,J,I2],endpoint:{[z]:`https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,X,F2,J,Z,R2],[N]:[{endpoint:W2,[M]:W}],[M]:G},{[P]:[f2,X,F2,J,Z,V2],endpoint:W2,[M]:W},{[P]:[Y,X,F2,p2,y2,b2,I2],endpoint:{[z]:W0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,p2,y2,G2,I2],endpoint:{[z]:M0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,p2,y2,b2,Z,R2],[N]:[{[P]:s3,endpoint:K2,[M]:W},{endpoint:K2,[M]:W}],[M]:G},{[P]:[Y,X,F2,p2,y2,G2,Z,R2],[N]:[{[P]:s3,endpoint:q2,[M]:W},J2],[M]:G},{[P]:[Y,X,F2,p2,y2,b2,Z,V2],endpoint:K2,[M]:W},{[P]:[Y,X,F2,p2,y2,G2,Z,V2],endpoint:q2,[M]:W},{[P]:[Y,X,u2,J,I2],endpoint:{[z]:G0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,u2,J,Z,R2],[N]:[{[P]:s3,endpoint:Y2,[M]:W},{endpoint:Y2,[M]:W}],[M]:G},{[P]:[Y,X,u2,J,Z,V2],endpoint:Y2,[M]:W},{[P]:[Y,X,F2,J,I2],endpoint:{[z]:K0,[B]:L2,[V]:q},[M]:W},{[P]:[Y,X,F2,J,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:K0,[B]:B2,[V]:q},[M]:W},{endpoint:X2,[M]:W}],[M]:G},{[P]:[Y,X,F2,J,Z,V2],endpoint:X2,[M]:W}],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[p2,y2,{[F]:U,[I]:[{[F]:E0,[I]:[x2,`scheme`]},`http`]},{[F]:j0,[I]:[K,S0]},N2,X,Y,F2],[N]:[{[P]:R4,[N]:[{[P]:o3,[N]:[J2],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[N2,{[F]:q0,[I]:M4,[R]:J0}],[N]:[{[P]:[{[F]:E0,[I]:[Q2,`resourceId[0]`],[R]:Y0},{[F]:N0,[I]:[{[F]:U,[I]:[$2,X0]}]}],[N]:[{[P]:[{[F]:U,[I]:[e4,Z0]}],[N]:[{[P]:c3,[N]:[{[P]:l3,[N]:[n4,r4,{[P]:f3,[N]:[i4,{[P]:p3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:g3,[N]:[{[P]:_3,[N]:[{[P]:[{[F]:U,[I]:[s4,X0]}],error:`Invalid ARN: Missing account id`,[M]:H},{[P]:v3,[N]:[{[P]:y3,[N]:[{[P]:P4,endpoint:{[z]:e2,[B]:c4,[V]:q},[M]:W},{[P]:b3,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:c4,[V]:q},[M]:W},{endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:c4,[V]:q},[M]:W}],[M]:G},l4],[M]:G},u4],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},p4],[M]:G},{error:`Invalid ARN: bucket ARN is missing a region`,[M]:H}],[M]:G},m4],[M]:G},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[M]:H}],[M]:G},{[P]:c3,[N]:[{[P]:l3,[N]:[{[P]:f3,[N]:[{[P]:c3,[N]:[{[P]:f3,[N]:[i4,{[P]:p3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:[{[F]:U,[I]:[o4,`{partitionResult#name}`]}],[N]:[{[P]:_3,[N]:[{[P]:[{[F]:U,[I]:[e4,U0]}],[N]:[{[P]:v3,[N]:[{[P]:y3,[N]:[{[P]:N4,error:`Access Points do not support S3 Accelerate`,[M]:H},{[P]:z4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:B4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:V4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W},{[P]:[X,Y,p2,y2],endpoint:{[z]:e2,[B]:h4,[V]:q},[M]:W},{[P]:H4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:h4,[V]:q},[M]:W}],[M]:G},l4],[M]:G},u4],[M]:G},{error:`Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}`,[M]:H}],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},p4],[M]:G}],[M]:G}],[M]:G},{[P]:[{[F]:B0,[I]:[t4,S0]}],[N]:[{[P]:d3,error:`S3 MRAP does not support dual-stack`,[M]:H},{[P]:b3,error:`S3 MRAP does not support FIPS`,[M]:H},{[P]:N4,error:`S3 MRAP does not support S3 Accelerate`,[M]:H},{[P]:[{[F]:w0,[I]:[{[L]:`DisableMultiRegionAccessPoints`},S0]}],error:`Invalid configuration: Multi-Region Access Point ARNs are disabled.`,[M]:H},{[P]:[{[F]:T0,[I]:A4,[R]:t2}],[N]:[{[P]:[{[F]:U,[I]:[{[F]:E0,[I]:[{[L]:t2},D0]},{[F]:E0,[I]:[Q2,`partition`]}]}],[N]:[{endpoint:{[z]:`https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}`,[B]:{[h0]:[{[g0]:S0,name:V0,[_0]:U0,[y0]:a3}]},[V]:q},[M]:W}],[M]:G},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[M]:H}],[M]:G}],[M]:G},{error:`Invalid Access Point Name`,[M]:H}],[M]:G},m4],[M]:G},{[P]:[{[F]:U,[I]:[e4,H0]}],[N]:[{[P]:d3,error:`S3 Outposts does not support Dual-stack`,[M]:H},{[P]:b3,error:`S3 Outposts does not support FIPS`,[M]:H},{[P]:N4,error:`S3 Outposts does not support S3 Accelerate`,[M]:H},{[P]:[{[F]:C0,[I]:[{[F]:E0,[I]:[Q2,`resourceId[4]`]}]}],error:`Invalid Arn: Outpost Access Point ARN contains sub resources`,[M]:H},{[P]:[{[F]:E0,[I]:u3,[R]:z0}],[N]:[{[P]:r3,[N]:[a4,{[P]:h3,[N]:[{[P]:R4,[N]:[{[P]:g3,[N]:[{[P]:_3,[N]:[{[P]:v3,[N]:[{[P]:[{[F]:E0,[I]:m3,[R]:n2}],[N]:[{[P]:[{[F]:E0,[I]:[Q2,`resourceId[3]`],[R]:$0}],[N]:[{[P]:[{[F]:U,[I]:[{[L]:n2},Q0]}],[N]:[{[P]:P4,endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}`,[B]:g4,[V]:q},[M]:W},{endpoint:{[z]:`https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}`,[B]:g4,[V]:q},[M]:W}],[M]:G},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[M]:H}],[M]:G},{error:`Invalid ARN: expected an access point name`,[M]:H}],[M]:G},{error:`Invalid ARN: Expected a 4-component resource`,[M]:H}],[M]:G},u4],[M]:G},d4],[M]:G},f4],[M]:G}],[M]:G}],[M]:G},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[M]:H}],[M]:G},{error:`Invalid ARN: The Outpost Id was not set`,[M]:H}],[M]:G},{error:`Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})`,[M]:H}],[M]:G},{error:`Invalid ARN: No ARN type specified`,[M]:H}],[M]:G},{[P]:[{[F]:O0,[I]:[K,0,4,x0],[R]:r2},{[F]:U,[I]:[{[L]:r2},`arn:`]},{[F]:N0,[I]:[{[F]:C0,[I]:[_4]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[M]:H},{[P]:[{[F]:w0,[I]:[P2,S0]},_4],error:`Path-style addressing cannot be used with ARN buckets`,[M]:H},{[P]:I4,[N]:[{[P]:R4,[N]:[{[P]:[F2],[N]:[{[P]:[f2,J,d2,I2],endpoint:{[z]:`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,J,d2,Z,R2],[N]:[{endpoint:v4,[M]:W}],[M]:G},{[P]:[f2,J,d2,Z,V2],endpoint:v4,[M]:W},{[P]:[Y,J,d2,I2],endpoint:{[z]:`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[Y,J,d2,Z,R2],[N]:[{endpoint:y4,[M]:W}],[M]:G},{[P]:[Y,J,d2,Z,V2],endpoint:y4,[M]:W},{[P]:[f2,J,X,I2],endpoint:{[z]:`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,[B]:L2,[V]:q},[M]:W},{[P]:[f2,J,X,Z,R2],[N]:[{endpoint:b4,[M]:W}],[M]:G},{[P]:[f2,J,X,Z,V2],endpoint:b4,[M]:W},{[P]:[Y,p2,y2,X,I2],endpoint:{[z]:i2,[B]:L2,[V]:q},[M]:W},{[P]:[Y,p2,y2,X,Z,R2],[N]:[{[P]:s3,endpoint:x4,[M]:W},{endpoint:x4,[M]:W}],[M]:G},{[P]:[Y,p2,y2,X,Z,V2],endpoint:x4,[M]:W},{[P]:[Y,J,X,I2],endpoint:{[z]:a2,[B]:L2,[V]:q},[M]:W},{[P]:[Y,J,X,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:a2,[B]:B2,[V]:q},[M]:W},{endpoint:S4,[M]:W}],[M]:G},{[P]:[Y,J,X,Z,V2],endpoint:S4,[M]:W}],[M]:G},{error:`Path-style addressing cannot be used with S3 Accelerate`,[M]:H}],[M]:G}],[M]:G}],[M]:G},{[P]:[{[F]:C0,[I]:[C4]},{[F]:w0,[I]:[C4,S0]}],[N]:[{[P]:R4,[N]:[{[P]:x3,[N]:[n4,r4,{[P]:P4,endpoint:{[z]:F0,[B]:w4,[V]:q},[M]:W},{[P]:b3,endpoint:{[z]:`https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}`,[B]:w4,[V]:q},[M]:W},{endpoint:{[z]:`https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}`,[B]:w4,[V]:q},[M]:W}],[M]:G},Z2],[M]:G}],[M]:G},{[P]:[k2],[N]:[{[P]:R4,[N]:[{[P]:x3,[N]:[{[P]:[d2,f2,J,I2],endpoint:{[z]:`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[d2,f2,J,Z,R2],[N]:[{endpoint:T4,[M]:W}],[M]:G},{[P]:[d2,f2,J,Z,V2],endpoint:T4,[M]:W},{[P]:[d2,Y,J,I2],endpoint:{[z]:`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[d2,Y,J,Z,R2],[N]:[{endpoint:E4,[M]:W}],[M]:G},{[P]:[d2,Y,J,Z,V2],endpoint:E4,[M]:W},{[P]:[X,f2,J,I2],endpoint:{[z]:`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,[B]:L2,[V]:q},[M]:W},{[P]:[X,f2,J,Z,R2],[N]:[{endpoint:D4,[M]:W}],[M]:G},{[P]:[X,f2,J,Z,V2],endpoint:D4,[M]:W},{[P]:[X,Y,p2,y2,I2],endpoint:{[z]:F0,[B]:L2,[V]:q},[M]:W},{[P]:[X,Y,p2,y2,Z,R2],[N]:[{[P]:s3,endpoint:O4,[M]:W},{endpoint:O4,[M]:W}],[M]:G},{[P]:[X,Y,p2,y2,Z,V2],endpoint:O4,[M]:W},{[P]:[X,Y,J,I2],endpoint:{[z]:o2,[B]:L2,[V]:q},[M]:W},{[P]:[X,Y,J,Z,R2],[N]:[{[P]:s3,endpoint:{[z]:o2,[B]:B2,[V]:q},[M]:W},{endpoint:k4,[M]:W}],[M]:G},{[P]:[X,Y,J,Z,V2],endpoint:k4,[M]:W}],[M]:G},Z2],[M]:G}],[M]:G}],[M]:G},{error:`A region must be set when sending requests to S3.`,[M]:H}]},C3=new Zn({size:50,params:[`Accelerate`,`Bucket`,`DisableAccessPoints`,`DisableMultiRegionAccessPoints`,`DisableS3ExpressSessionAuth`,`Endpoint`,`ForcePathStyle`,`Region`,`UseArnRegion`,`UseDualStack`,`UseFIPS`,`UseGlobalEndpoint`,`UseObjectLambdaEndpoint`,`UseS3ExpressControlEndpoint`]}),w3=(e,t={})=>C3.get(e,()=>Nr(S3,{endpointParams:e,logger:t.logger}));tr.aws=Br;var T3=(e=>async(t,n,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let i=await e(t,n,r),a=_e(n)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw Error(`getEndpointParameterInstructions() is not defined on '${n.commandName}'`);let o=await Fi(r,{getEndpointParameterInstructions:a},t);return Object.assign(i,o)})(async(e,t,n)=>({operation:_e(t).operation,region:await f(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}));function E3(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function D3(e){return{schemeId:`aws.auth#sigv4a`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var O3=((e,t,n)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let a=[];for(let e of i){let{name:t,properties:o={},...s}=e,c=t.toLowerCase();t!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${t}' to '${c}'`);let l;if(c===`sigv4a`){l=`aws.auth#sigv4a`;let e=i.find(e=>{let t=e.name.toLowerCase();return t!==`sigv4a`&&t.startsWith(`sigv4`)});if(f0.sigv4aDependency()===`none`&&e)continue}else if(c.startsWith(`sigv4`))l=`aws.auth#sigv4`;else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);let u=n[l];if(!u)throw Error(`Could not find HttpAuthOption create function for '${l}'`);let d=u(r);d.schemeId=l,d.signingProperties={...d.signingProperties||{},...s,...o},a.push(d)}return a})(w3,e=>{let t=[];switch(e.operation){default:t.push(E3(e)),t.push(D3(e))}return t},{"aws.auth#sigv4":E3,"aws.auth#sigv4a":D3}),k3=e=>{let t=Oa(ka(e));return Object.assign(t,{authSchemePreference:f(e.authSchemePreference??[])})},A3=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:`s3`,clientContextParams:e.clientContextParams??{}}),j3={ForcePathStyle:{type:`clientContextParams`,name:`forcePathStyle`},UseArnRegion:{type:`clientContextParams`,name:`useArnRegion`},DisableMultiRegionAccessPoints:{type:`clientContextParams`,name:`disableMultiregionAccessPoints`},Accelerate:{type:`clientContextParams`,name:`useAccelerateEndpoint`},DisableS3ExpressSessionAuth:{type:`clientContextParams`,name:`disableS3ExpressSessionAuth`},UseGlobalEndpoint:{type:`builtInParams`,name:`useGlobalEndpoint`},UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},M3=class e extends Qi{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},N3=class e extends M3{name=`NoSuchUpload`;$fault=`client`;constructor(t){super({name:`NoSuchUpload`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},P3=class e extends M3{name=`AccessDenied`;$fault=`client`;constructor(t){super({name:`AccessDenied`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},F3=class e extends M3{name=`ObjectNotInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectNotInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},I3=class e extends M3{name=`BucketAlreadyExists`;$fault=`client`;constructor(t){super({name:`BucketAlreadyExists`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},L3=class e extends M3{name=`BucketAlreadyOwnedByYou`;$fault=`client`;constructor(t){super({name:`BucketAlreadyOwnedByYou`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},R3=class e extends M3{name=`NoSuchBucket`;$fault=`client`;constructor(t){super({name:`NoSuchBucket`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},z3=class e extends M3{name=`InvalidObjectState`;$fault=`client`;StorageClass;AccessTier;constructor(t){super({name:`InvalidObjectState`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.StorageClass=t.StorageClass,this.AccessTier=t.AccessTier}},B3=class e extends M3{name=`NoSuchKey`;$fault=`client`;constructor(t){super({name:`NoSuchKey`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},V3=class e extends M3{name=`NotFound`;$fault=`client`;constructor(t){super({name:`NotFound`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},H3=class e extends M3{name=`EncryptionTypeMismatch`;$fault=`client`;constructor(t){super({name:`EncryptionTypeMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},U3=class e extends M3{name=`InvalidRequest`;$fault=`client`;constructor(t){super({name:`InvalidRequest`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},W3=class e extends M3{name=`InvalidWriteOffset`;$fault=`client`;constructor(t){super({name:`InvalidWriteOffset`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},G3=class e extends M3{name=`TooManyParts`;$fault=`client`;constructor(t){super({name:`TooManyParts`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},K3=class e extends M3{name=`IdempotencyParameterMismatch`;$fault=`client`;constructor(t){super({name:`IdempotencyParameterMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},q3=class e extends M3{name=`ObjectAlreadyInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectAlreadyInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},J3=`ACL`,Y3=`AccessDenied`,X3=`AbortDate`,Z3=`AccessKeyId`,Q3=`AbortMultipartUpload`,$3=`AbortMultipartUploadOutput`,e6=`AbortMultipartUploadRequest`,t6=`AcceptRanges`,n6=`AbortRuleId`,r6=`AccessTier`,i6=`Bucket`,a6=`BucketArn`,o6=`BucketAlreadyExists`,s6=`BucketAlreadyOwnedByYou`,c6=`BypassGovernanceRetention`,l6=`BucketInfo`,u6=`BucketKeyEnabled`,d6=`BucketNamespace`,f6=`BucketRegion`,p6=`Body`,m6=`Buckets`,h6=`ChecksumAlgorithm`,g6=`CreateBucket`,_6=`CreateBucketConfiguration`,v6=`CreateBucketOutput`,y6=`CreateBucketRequest`,b6=`CacheControl`,x6=`ChecksumCRC32`,S6=`ChecksumCRC32C`,C6=`ChecksumCRC64NVME`,w6=`Cache-Control`,T6=`CreationDate`,E6=`Content-Disposition`,D6=`ContentDisposition`,O6=`Content-Encoding`,k6=`ContentEncoding`,A6=`ContentLanguage`,j6=`Content-Language`,M6=`Content-Length`,N6=`ContentLength`,P6=`Content-MD5`,F6=`ContentMD5`,I6=`CompletedMultipartUpload`,L6=`CompleteMultipartUploadOutput`,R6=`CreateMultipartUploadOutput`,z6=`CompleteMultipartUploadResult`,B6=`CompleteMultipartUploadRequest`,V6=`CreateMultipartUploadRequest`,H6=`CompleteMultipartUpload`,U6=`CreateMultipartUpload`,W6=`ChecksumMode`,G6=`CommonPrefix`,K6=`CommonPrefixList`,q6=`CompletedPartList`,J6=`CompletedPart`,Y6=`CommonPrefixes`,X6=`ContentRange`,Z6=`Content-Range`,Q6=`ChecksumSHA1`,$6=`ChecksumSHA256`,e8=`CreateSessionOutput`,t8=`CreateSessionResult`,n8=`CreateSessionRequest`,r8=`CreateSession`,i8=`ChecksumType`,a8=`Content-Type`,o8=`ContentType`,s8=`ContinuationToken`,c8=`Contents`,l8=`Credentials`,u8=`DeleteMarker`,d8=`DisplayName`,f8=`DeleteObjectOutput`,p8=`DeleteObjectRequest`,m8=`DeleteObject`,h8=`DataRedundancy`,g8=`Delimiter`,_8=`Expiration`,v8=`ExpectedBucketOwner`,y8=`ExpiresString`,b8=`EncryptionTypeMismatch`,x8=`ETag`,S8=`EncodingType`,C8=`Expires`,w8=`FetchOwner`,T8=`GrantFullControl`,E8=`GetObject`,D8=`GetObjectOutput`,O8=`GetObjectRequest`,k8=`GrantRead`,A8=`GrantReadACP`,j8=`GrantWrite`,M8=`GrantWriteACP`,N8=`ID`,P8=`IfMatch`,F8=`IfMatchInitiatedTime`,I8=`IfMatchLastModifiedTime`,L8=`IfMatchSize`,R8=`If-Modified-Since`,z8=`IfModifiedSince`,B8=`InitiateMultipartUploadResult`,V8=`If-Match`,H8=`IfNoneMatch`,U8=`If-None-Match`,W8=`InvalidObjectState`,G8=`IdempotencyParameterMismatch`,K8=`InvalidRequest`,q8=`IsRestoreInProgress`,J8=`IsTruncated`,Y8=`IfUnmodifiedSince`,X8=`If-Unmodified-Since`,Z8=`InvalidWriteOffset`,Q8=`Key`,$8=`KeyCount`,e5=`Location`,t5=`ListAllMyBucketsResult`,n5=`ListBuckets`,r5=`ListBucketsOutput`,i5=`ListBucketsRequest`,a5=`ListBucketResult`,o5=`LocationConstraint`,s5=`LocationInfo`,c5=`LastModified`,l5=`Last-Modified`,u5=`ListObjectsV2`,d5=`ListObjectsV2Output`,f5=`ListObjectsV2Request`,p5=`Metadata`,m5=`MaxBuckets`,h5=`MFA`,g5=`MaxKeys`,_5=`MissingMeta`,v5=`MpuObjectSize`,y5=`MultipartUpload`,b5=`Name`,x5=`NextContinuationToken`,S5=`NotFound`,C5=`NoSuchBucket`,w5=`NoSuchKey`,T5=`NoSuchUpload`,E5=`Owner`,D5=`ObjectAlreadyInActiveTierError`,O5=`ObjectLockEnabledForBucket`,k5=`ObjectLockLegalHoldStatus`,A5=`ObjectLockMode`,j5=`ObjectLockRetainUntilDate`,M5=`ObjectList`,N5=`ObjectNotInActiveTierError`,P5=`ObjectOwnership`,F5=`OptionalObjectAttributes`,I5=`Object`,L5=`Prefix`,R5=`PartsCount`,z5=`PartNumber`,B5=`PutObject`,V5=`PutObjectOutput`,H5=`PutObjectRequest`,U5=`PutObjectTagging`,W5=`PutObjectTaggingOutput`,G5=`PutObjectTaggingRequest`,K5=`Parts`,q5=`Part`,J5=`RequestCharged`,Y5=`ResponseCacheControl`,X5=`ResponseContentDisposition`,Z5=`ResponseContentEncoding`,Q5=`ResponseContentLanguage`,$5=`ResponseContentType`,e7=`ResponseExpires`,t7=`RestoreExpiryDate`,n7=`RequestPayer`,r7=`ReplicationStatus`,i7=`RestoreStatus`,a7=`Range`,o7=`Restore`,s7=`StartAfter`,c7=`SecretAccessKey`,l7=`StreamingBlob`,u7=`StorageClass`,d7=`SessionCredentialValue`,f7=`SessionCredentials`,p7=`SessionMode`,m7=`ServerSideEncryption`,h7=`SSECustomerAlgorithm`,g7=`SSECustomerKey`,_7=`SSECustomerKeyMD5`,v7=`SSEKMSEncryptionContext`,y7=`SSEKMSKeyId`,b7=`SessionToken`,x7=`Size`,Bte=`Tags`,Vte=`TagCount`,Hte=`TooManyParts`,S7=`TagSet`,C7=`Tag`,w7=`Tagging`,T7=`Type`,E7=`UploadId`,Ute=`UploadPart`,Wte=`UploadPartOutput`,Gte=`UploadPartRequest`,Kte=`Value`,D7=`VersionId`,qte=`WriteOffsetBytes`,O7=`WebsiteRedirectLocation`,Jte=`accept-ranges`,Yte=`bucket-region`,k7=`client`,A7=`continuation-token`,Xte=`delimiter`,j7=`error`,Zte=`encoding-type`,Qte=`fetch-owner`,M7=`http`,N7=`httpChecksum`,P7=`httpError`,Q=`httpHeader`,F7=`httpPayload`,I7=`httpPrefixHeaders`,L7=`httpQuery`,$te=`max-buckets`,ene=`max-keys`,R7=`prefix`,z7=`partNumber`,tne=`response-cache-control`,nne=`response-content-disposition`,rne=`response-content-encoding`,ine=`response-content-language`,ane=`response-content-type`,one=`response-expires`,B7=`smithy.ts.sdk.synthetic.com.amazonaws.s3`,sne=`start-after`,cne=`streaming`,V7=`uploadId`,H7=`versionId`,U7=`xmlFlattened`,W7=`xmlName`,G7=`x-amz-acl`,lne=`x-amz-abort-date`,une=`x-amz-abort-rule-id`,dne=`x-amz-bucket-arn`,fne=`x-amz-bypass-governance-retention`,pne=`x-amz-bucket-namespace`,mne=`x-amz-bucket-object-lock-enabled`,K7=`x-amz-checksum-algorithm`,q7=`x-amz-checksum-crc32`,J7=`x-amz-checksum-crc32c`,Y7=`x-amz-checksum-crc64nvme`,hne=`x-amz-checksum-mode`,X7=`x-amz-checksum-sha1`,Z7=`x-amz-checksum-sha256`,gne=`x-amz-create-session-mode`,Q7=`x-amz-checksum-type`,$7=`x-amz-delete-marker`,e9=`x-amz-expiration`,t9=`x-amz-expected-bucket-owner`,n9=`x-amz-grant-full-control`,r9=`x-amz-grant-read`,i9=`x-amz-grant-read-acp`,_ne=`x-amz-grant-write`,a9=`x-amz-grant-write-acp`,vne=`x-amz-if-match-initiated-time`,yne=`x-amz-if-match-last-modified-time`,bne=`x-amz-if-match-size`,o9=`x-amz-meta-`,xne=`x-amz-mfa`,Sne=`x-amz-missing-meta`,Cne=`x-amz-mp-object-size`,wne=`x-amz-mp-parts-count`,s9=`x-amz-object-lock-legal-hold`,c9=`x-amz-object-lock-mode`,l9=`x-amz-object-lock-retain-until-date`,Tne=`x-amz-object-ownership`,Ene=`x-amz-optional-object-attributes`,Dne=`x-amz-object-size`,One=`x-amz-restore`,u9=`x-amz-request-charged`,d9=`x-amz-request-payer`,kne=`x-amz-replication-status`,f9=`x-amz-storage-class`,p9=`x-amz-sdk-checksum-algorithm`,m9=`x-amz-server-side-encryption`,h9=`x-amz-server-side-encryption-aws-kms-key-id`,g9=`x-amz-server-side-encryption-bucket-key-enabled`,_9=`x-amz-server-side-encryption-context`,v9=`x-amz-server-side-encryption-customer-algorithm`,y9=`x-amz-server-side-encryption-customer-key`,b9=`x-amz-server-side-encryption-customer-key-MD5`,x9=`x-amz-tagging`,Ane=`x-amz-tagging-count`,S9=`x-amz-version-id`,jne=`x-amz-write-offset-bytes`,C9=`x-amz-website-redirect-location`,$=`com.amazonaws.s3`,w9=At.for(B7),Mne=[-3,B7,`S3ServiceException`,0,[],[]];w9.registerError(Mne,M3);var T9=At.for($),Nne=[-3,$,Y3,{[j7]:k7,[P7]:403},[],[]];T9.registerError(Nne,P3);var Pne=[-3,$,o6,{[j7]:k7,[P7]:409},[],[]];T9.registerError(Pne,I3);var Fne=[-3,$,s6,{[j7]:k7,[P7]:409},[],[]];T9.registerError(Fne,L3);var Ine=[-3,$,b8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Ine,H3);var Lne=[-3,$,G8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Lne,K3);var Rne=[-3,$,W8,{[j7]:k7,[P7]:403},[u7,r6],[0,0]];T9.registerError(Rne,z3);var zne=[-3,$,K8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(zne,U3);var Bne=[-3,$,Z8,{[j7]:k7,[P7]:400},[],[]];T9.registerError(Bne,W3);var Vne=[-3,$,C5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(Vne,R3);var Hne=[-3,$,w5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(Hne,B3);var Une=[-3,$,T5,{[j7]:k7,[P7]:404},[],[]];T9.registerError(Une,N3);var Wne=[-3,$,S5,{[j7]:k7},[],[]];T9.registerError(Wne,V3);var Gne=[-3,$,D5,{[j7]:k7,[P7]:403},[],[]];T9.registerError(Gne,q3);var Kne=[-3,$,N5,{[j7]:k7,[P7]:403},[],[]];T9.registerError(Kne,F3);var qne=[-3,$,Hte,{[j7]:k7,[P7]:400},[],[]];T9.registerError(qne,G3);var Jne=[w9,T9],E9=[0,$,d7,8,0],D9=[0,$,g7,8,0],O9=[0,$,v7,8,0],k9=[0,$,y7,8,0],A9=[0,$,l7,{[cne]:1},42],Yne=[3,$,$3,0,[J5],[[0,{[Q]:u9}]]],Xne=[3,$,e6,0,[i6,Q8,E7,n7,v8,F8],[[0,1],[0,1],[0,{[L7]:V7}],[0,{[Q]:d9}],[0,{[Q]:t9}],[6,{[Q]:vne}]],3],Zne=[3,$,i6,0,[b5,T6,f6,a6],[0,4,0,0]],Qne=[3,$,l6,0,[h8,T7],[0,0]],$ne=[3,$,G6,0,[L5],[0]],ere=[3,$,I6,0,[K5],[[()=>Nre,{[U7]:1,[W7]:q5}]]],tre=[3,$,J6,0,[x8,x6,S6,C6,Q6,$6,z5],[0,0,0,0,0,0,1]],nre=[3,$,L6,{[W7]:z6},[e5,i6,Q8,_8,x8,x6,S6,C6,Q6,$6,i8,m7,D7,y7,u6,J5],[0,0,0,[0,{[Q]:e9}],0,0,0,0,0,0,0,[0,{[Q]:m9}],[0,{[Q]:S9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:u9}]]],rre=[3,$,B6,0,[i6,Q8,E7,y5,x6,S6,C6,Q6,$6,i8,v5,n7,v8,P8,H8,h7,g7,_7],[[0,1],[0,1],[0,{[L7]:V7}],[()=>ere,{[F7]:1,[W7]:H6}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[1,{[Q]:Cne}],[0,{[Q]:d9}],[0,{[Q]:t9}],[0,{[Q]:V8}],[0,{[Q]:U8}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}]],3],ire=[3,$,_6,0,[o5,e5,i6,Bte],[0,()=>yre,()=>Qne,[()=>M9,0]]],are=[3,$,v6,0,[e5,a6],[[0,{[Q]:e5}],[0,{[Q]:dne}]]],ore=[3,$,y6,0,[i6,J3,_6,T8,k8,A8,j8,M8,O5,P5,d6],[[0,1],[0,{[Q]:G7}],[()=>ire,{[F7]:1,[W7]:_6}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:_ne}],[0,{[Q]:a9}],[2,{[Q]:mne}],[0,{[Q]:Tne}],[0,{[Q]:pne}]],1],sre=[3,$,R6,{[W7]:B8},[X3,n6,i6,Q8,E7,m7,h7,_7,y7,v7,u6,J5,h6,i8],[[4,{[Q]:lne}],[0,{[Q]:une}],[0,{[W7]:i6}],0,0,[0,{[Q]:m9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:u9}],[0,{[Q]:K7}],[0,{[Q]:Q7}]]],cre=[3,$,V6,0,[i6,Q8,J3,b6,D6,k6,A6,o8,C8,T8,k8,A8,M8,p5,m7,u7,O7,h7,g7,_7,y7,v7,u6,n7,w7,A5,j5,k5,v8,h6,i8],[[0,1],[0,1],[0,{[Q]:G7}],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[0,{[Q]:a8}],[4,{[Q]:C8}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:a9}],[128,{[I7]:o9}],[0,{[Q]:m9}],[0,{[Q]:f9}],[0,{[Q]:C9}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:d9}],[0,{[Q]:x9}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}],[0,{[Q]:t9}],[0,{[Q]:K7}],[0,{[Q]:Q7}]],2],lre=[3,$,e8,{[W7]:t8},[l8,m7,y7,v7,u6],[[()=>Ere,{[W7]:l8}],[0,{[Q]:m9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}]],1],ure=[3,$,n8,0,[i6,p7,m7,y7,v7,u6],[[0,1],[0,{[Q]:gne}],[0,{[Q]:m9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}]],1],dre=[3,$,f8,0,[u8,D7,J5],[[2,{[Q]:$7}],[0,{[Q]:S9}],[0,{[Q]:u9}]]],fre=[3,$,p8,0,[i6,Q8,h5,D7,n7,c6,v8,P8,I8,L8],[[0,1],[0,1],[0,{[Q]:xne}],[0,{[L7]:H7}],[0,{[Q]:d9}],[2,{[Q]:fne}],[0,{[Q]:t9}],[0,{[Q]:V8}],[6,{[Q]:yne}],[1,{[Q]:bne}]],2],pre=[3,$,D8,0,[p6,u8,t6,_8,o7,c5,N6,x8,x6,S6,C6,Q6,$6,i8,_5,D7,b6,D6,k6,A6,X6,o8,C8,y8,O7,m7,p5,h7,_7,y7,u6,u7,J5,r7,R5,Vte,A5,j5,k5],[[()=>A9,16],[2,{[Q]:$7}],[0,{[Q]:Jte}],[0,{[Q]:e9}],[0,{[Q]:One}],[4,{[Q]:l5}],[1,{[Q]:M6}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[1,{[Q]:Sne}],[0,{[Q]:S9}],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[0,{[Q]:Z6}],[0,{[Q]:a8}],[4,{[Q]:C8}],[0,{[Q]:y8}],[0,{[Q]:C9}],[0,{[Q]:m9}],[128,{[I7]:o9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:f9}],[0,{[Q]:u9}],[0,{[Q]:kne}],[1,{[Q]:wne}],[1,{[Q]:Ane}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}]]],mre=[3,$,O8,0,[i6,Q8,P8,z8,H8,Y8,a7,Y5,X5,Z5,Q5,$5,e7,D7,h7,g7,_7,n7,z5,v8,W6],[[0,1],[0,1],[0,{[Q]:V8}],[4,{[Q]:R8}],[0,{[Q]:U8}],[4,{[Q]:X8}],[0,{[Q]:a7}],[0,{[L7]:tne}],[0,{[L7]:nne}],[0,{[L7]:rne}],[0,{[L7]:ine}],[0,{[L7]:ane}],[6,{[L7]:one}],[0,{[L7]:H7}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[0,{[Q]:d9}],[1,{[L7]:z7}],[0,{[Q]:t9}],[0,{[Q]:hne}]],2],hre=[3,$,r5,{[W7]:t5},[m6,E5,s8,L5],[[()=>jre,0],()=>j9,0,0]],gre=[3,$,i5,0,[m5,s8,L5,f6],[[1,{[L7]:$te}],[0,{[L7]:A7}],[0,{[L7]:R7}],[0,{[L7]:Yte}]]],_re=[3,$,d5,{[W7]:a5},[J8,c8,b5,L5,g8,g5,Y6,S8,$8,s8,x5,s7,J5],[2,[()=>Pre,{[U7]:1}],0,0,0,1,[()=>Mre,{[U7]:1}],0,1,0,0,0,[0,{[Q]:u9}]]],vre=[3,$,f5,0,[i6,g8,S8,g5,L5,s8,w8,s7,n7,v8,F5],[[0,1],[0,{[L7]:Xte}],[0,{[L7]:Zte}],[1,{[L7]:ene}],[0,{[L7]:R7}],[0,{[L7]:A7}],[2,{[L7]:Qte}],[0,{[L7]:sne}],[0,{[Q]:d9}],[0,{[Q]:t9}],[64,{[Q]:Ene}]],1],yre=[3,$,s5,0,[T7,b5],[0,0]],bre=[3,$,I5,0,[Q8,c5,x8,h6,i8,x7,u7,E5,i7],[0,4,0,[64,{[U7]:1}],0,1,0,()=>j9,()=>Tre]],j9=[3,$,E5,0,[d8,N8],[0,0]],xre=[3,$,V5,0,[_8,x8,x6,S6,C6,Q6,$6,i8,m7,D7,h7,_7,y7,v7,u6,x7,J5],[[0,{[Q]:e9}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:Q7}],[0,{[Q]:m9}],[0,{[Q]:S9}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[1,{[Q]:Dne}],[0,{[Q]:u9}]]],Sre=[3,$,H5,0,[i6,Q8,J3,p6,b6,D6,k6,A6,N6,F6,o8,h6,x6,S6,C6,Q6,$6,C8,P8,H8,T8,k8,A8,M8,qte,p5,m7,u7,O7,h7,g7,_7,y7,v7,u6,n7,w7,A5,j5,k5,v8],[[0,1],[0,1],[0,{[Q]:G7}],[()=>A9,16],[0,{[Q]:w6}],[0,{[Q]:E6}],[0,{[Q]:O6}],[0,{[Q]:j6}],[1,{[Q]:M6}],[0,{[Q]:P6}],[0,{[Q]:a8}],[0,{[Q]:p9}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[4,{[Q]:C8}],[0,{[Q]:V8}],[0,{[Q]:U8}],[0,{[Q]:n9}],[0,{[Q]:r9}],[0,{[Q]:i9}],[0,{[Q]:a9}],[1,{[Q]:jne}],[128,{[I7]:o9}],[0,{[Q]:m9}],[0,{[Q]:f9}],[0,{[Q]:C9}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[()=>O9,{[Q]:_9}],[2,{[Q]:g9}],[0,{[Q]:d9}],[0,{[Q]:x9}],[0,{[Q]:c9}],[5,{[Q]:l9}],[0,{[Q]:s9}],[0,{[Q]:t9}]],2],Cre=[3,$,W5,0,[D7],[[0,{[Q]:S9}]]],wre=[3,$,G5,0,[i6,Q8,w7,D7,F6,h6,v8,n7],[[0,1],[0,1],[()=>Ore,{[F7]:1,[W7]:w7}],[0,{[L7]:H7}],[0,{[Q]:P6}],[0,{[Q]:p9}],[0,{[Q]:t9}],[0,{[Q]:d9}]],3],Tre=[3,$,i7,0,[q8,t7],[2,4]],Ere=[3,$,f7,0,[Z3,c7,b7,_8],[[0,{[W7]:Z3}],[()=>E9,{[W7]:c7}],[()=>E9,{[W7]:b7}],[4,{[W7]:_8}]],4],Dre=[3,$,C7,0,[Q8,Kte],[0,0],2],Ore=[3,$,w7,0,[S7],[[()=>M9,0]],1],kre=[3,$,Wte,0,[m7,x8,x6,S6,C6,Q6,$6,h7,_7,y7,u6,J5],[[0,{[Q]:m9}],[0,{[Q]:x8}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:v9}],[0,{[Q]:b9}],[()=>k9,{[Q]:h9}],[2,{[Q]:g9}],[0,{[Q]:u9}]]],Are=[3,$,Gte,0,[i6,Q8,z5,E7,p6,N6,F6,h6,x6,S6,C6,Q6,$6,h7,g7,_7,n7,v8],[[0,1],[0,1],[1,{[L7]:z7}],[0,{[L7]:V7}],[()=>A9,16],[1,{[Q]:M6}],[0,{[Q]:P6}],[0,{[Q]:p9}],[0,{[Q]:q7}],[0,{[Q]:J7}],[0,{[Q]:Y7}],[0,{[Q]:X7}],[0,{[Q]:Z7}],[0,{[Q]:v9}],[()=>D9,{[Q]:y9}],[0,{[Q]:b9}],[0,{[Q]:d9}],[0,{[Q]:t9}]],4],jre=[1,$,m6,0,[()=>Zne,{[W7]:i6}]],Mre=[1,$,K6,0,()=>$ne],Nre=[1,$,q6,0,()=>tre],Pre=[1,$,M5,0,[()=>bre,0]],M9=[1,$,S7,0,[()=>Dre,{[W7]:C7}]],Fre=[9,$,Q3,{[M7]:[`DELETE`,`/{Key+}?x-id=AbortMultipartUpload`,204]},()=>Xne,()=>Yne],Ire=[9,$,H6,{[M7]:[`POST`,`/{Key+}`,200]},()=>rre,()=>nre],Lre=[9,$,g6,{[M7]:[`PUT`,`/`,200]},()=>ore,()=>are],Rre=[9,$,U6,{[M7]:[`POST`,`/{Key+}?uploads`,200]},()=>cre,()=>sre],zre=[9,$,r8,{[M7]:[`GET`,`/?session`,200]},()=>ure,()=>lre],Bre=[9,$,m8,{[M7]:[`DELETE`,`/{Key+}?x-id=DeleteObject`,204]},()=>fre,()=>dre],Vre=[9,$,E8,{[N7]:`-`,[M7]:[`GET`,`/{Key+}?x-id=GetObject`,200]},()=>mre,()=>pre],Hre=[9,$,n5,{[M7]:[`GET`,`/?x-id=ListBuckets`,200]},()=>gre,()=>hre],Ure=[9,$,u5,{[M7]:[`GET`,`/?list-type=2`,200]},()=>vre,()=>_re],Wre=[9,$,B5,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?x-id=PutObject`,200]},()=>Sre,()=>xre],Gre=[9,$,U5,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?tagging`,200]},()=>wre,()=>Cre],Kre=[9,$,Ute,{[N7]:`-`,[M7]:[`PUT`,`/{Key+}?x-id=UploadPart`,200]},()=>Are,()=>kre],qre=class extends Xi.classBuilder().ep({...j3,DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}}).m(function(e,t,n,r){return[Ri(n,e.getEndpointParameterInstructions()),n0(n)]}).s(`AmazonS3`,`CreateSession`,{}).n(`S3Client`,`CreateSessionCommand`).sc(zre).build(){},Jre={name:`@aws-sdk/client-s3`,description:`AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native`,version:`3.1032.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-s3`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo s3`,test:`yarn g:vitest run`,"test:browser":`node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.mts`,"test:browser:watch":`node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.mts`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts && yarn test:browser`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest watch -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":`5.2.0`,"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.1`,"@aws-sdk/credential-provider-node":`^3.972.32`,"@aws-sdk/middleware-bucket-endpoint":`^3.972.10`,"@aws-sdk/middleware-expect-continue":`^3.972.10`,"@aws-sdk/middleware-flexible-checksums":`^3.974.9`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-location-constraint":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-sdk-s3":`^3.972.30`,"@aws-sdk/middleware-ssec":`^3.972.10`,"@aws-sdk/middleware-user-agent":`^3.972.31`,"@aws-sdk/region-config-resolver":`^3.972.12`,"@aws-sdk/signature-v4-multi-region":`^3.996.18`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.7`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.17`,"@smithy/config-resolver":`^4.4.16`,"@smithy/core":`^3.23.15`,"@smithy/eventstream-serde-browser":`^4.2.14`,"@smithy/eventstream-serde-config-resolver":`^4.3.14`,"@smithy/eventstream-serde-node":`^4.2.14`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-blob-browser":`^4.2.15`,"@smithy/hash-node":`^4.2.14`,"@smithy/hash-stream-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/md5-js":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.30`,"@smithy/middleware-retry":`^4.5.3`,"@smithy/middleware-serde":`^4.2.18`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.5.3`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.11`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.47`,"@smithy/util-defaults-mode-node":`^4.2.52`,"@smithy/util-endpoints":`^3.4.1`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.2`,"@smithy/util-stream":`^4.5.23`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.2.16`,tslib:`^2.6.2`},devDependencies:{"@aws-sdk/signature-v4-crt":`3.1032.0`,"@smithy/snapshot-testing":`^2.0.6`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-s3`}};function N9(e){return typeof e==`string`?e.length===0:e.byteLength===0}var P9={name:`SHA-1`},F9={name:`HMAC`,hash:P9},Yre=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]),Xre=function(){function e(e){this.toHash=new Uint8Array,e!==void 0&&(this.key=new Promise(function(t,n){u().crypto.subtle.importKey(`raw`,I9(e),F9,!1,[`sign`]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!N9(e)){var t=I9(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return u().crypto.subtle.sign(F9,t,e.toHash).then(function(e){return new Uint8Array(e)})}):N9(this.toHash)?Promise.resolve(Yre):Promise.resolve().then(function(){return u().crypto.subtle.digest(P9,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array},e}();function I9(e){return typeof e==`string`?oe(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var Zre=function(){function e(e){if(ie(u()))this.hash=new Xre(e);else throw Error(`SHA1 not supported`)}return e.prototype.update=function(e,t){this.hash.update(ae(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),L9=class e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&R9(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&R9(e),parseInt(ne(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};function R9(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var Qre=class{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(L9.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!cie.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(ee(e.value.replace(/\-/g,``)),1),u}}parse(e){let t={},n=0;for(;n{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),bie=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})},xie=class{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new vie({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=Sie(e)?yie(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return typeof ReadableStream==`function`?bie(n):n}},Sie=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream,Cie=e=>new xie(e);async function wie(e,t,n=1024*1024){let r=e.size,i=0;for(;i{n.update(e)}),n.digest()},Eie=[1732584193,4023233417,2562383102,271733878],Die=class{state;buffer;bufferLength;bytesHashed;finished;constructor(){this.reset()}update(e){if(Oie(e))return;if(this.finished)throw Error(`Attempted to update an already finished hash.`);let t=kie(e),n=0,{byteLength:r}=t;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===64&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:n}=this,r=n*8;if(e.setUint8(this.bufferLength++,128),t%64>=56){for(let t=this.bufferLength;t<64;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<56;t++)e.setUint8(t,0);e.setUint32(56,r>>>0,!0),e.setUint32(60,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(16));for(let t=0;t<4;t++)e.setUint32(t*4,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,n=t[0],r=t[1],i=t[2],a=t[3];n=W9(n,r,i,a,e.getUint32(0,!0),7,3614090360),a=W9(a,n,r,i,e.getUint32(4,!0),12,3905402710),i=W9(i,a,n,r,e.getUint32(8,!0),17,606105819),r=W9(r,i,a,n,e.getUint32(12,!0),22,3250441966),n=W9(n,r,i,a,e.getUint32(16,!0),7,4118548399),a=W9(a,n,r,i,e.getUint32(20,!0),12,1200080426),i=W9(i,a,n,r,e.getUint32(24,!0),17,2821735955),r=W9(r,i,a,n,e.getUint32(28,!0),22,4249261313),n=W9(n,r,i,a,e.getUint32(32,!0),7,1770035416),a=W9(a,n,r,i,e.getUint32(36,!0),12,2336552879),i=W9(i,a,n,r,e.getUint32(40,!0),17,4294925233),r=W9(r,i,a,n,e.getUint32(44,!0),22,2304563134),n=W9(n,r,i,a,e.getUint32(48,!0),7,1804603682),a=W9(a,n,r,i,e.getUint32(52,!0),12,4254626195),i=W9(i,a,n,r,e.getUint32(56,!0),17,2792965006),r=W9(r,i,a,n,e.getUint32(60,!0),22,1236535329),n=G9(n,r,i,a,e.getUint32(4,!0),5,4129170786),a=G9(a,n,r,i,e.getUint32(24,!0),9,3225465664),i=G9(i,a,n,r,e.getUint32(44,!0),14,643717713),r=G9(r,i,a,n,e.getUint32(0,!0),20,3921069994),n=G9(n,r,i,a,e.getUint32(20,!0),5,3593408605),a=G9(a,n,r,i,e.getUint32(40,!0),9,38016083),i=G9(i,a,n,r,e.getUint32(60,!0),14,3634488961),r=G9(r,i,a,n,e.getUint32(16,!0),20,3889429448),n=G9(n,r,i,a,e.getUint32(36,!0),5,568446438),a=G9(a,n,r,i,e.getUint32(56,!0),9,3275163606),i=G9(i,a,n,r,e.getUint32(12,!0),14,4107603335),r=G9(r,i,a,n,e.getUint32(32,!0),20,1163531501),n=G9(n,r,i,a,e.getUint32(52,!0),5,2850285829),a=G9(a,n,r,i,e.getUint32(8,!0),9,4243563512),i=G9(i,a,n,r,e.getUint32(28,!0),14,1735328473),r=G9(r,i,a,n,e.getUint32(48,!0),20,2368359562),n=K9(n,r,i,a,e.getUint32(20,!0),4,4294588738),a=K9(a,n,r,i,e.getUint32(32,!0),11,2272392833),i=K9(i,a,n,r,e.getUint32(44,!0),16,1839030562),r=K9(r,i,a,n,e.getUint32(56,!0),23,4259657740),n=K9(n,r,i,a,e.getUint32(4,!0),4,2763975236),a=K9(a,n,r,i,e.getUint32(16,!0),11,1272893353),i=K9(i,a,n,r,e.getUint32(28,!0),16,4139469664),r=K9(r,i,a,n,e.getUint32(40,!0),23,3200236656),n=K9(n,r,i,a,e.getUint32(52,!0),4,681279174),a=K9(a,n,r,i,e.getUint32(0,!0),11,3936430074),i=K9(i,a,n,r,e.getUint32(12,!0),16,3572445317),r=K9(r,i,a,n,e.getUint32(24,!0),23,76029189),n=K9(n,r,i,a,e.getUint32(36,!0),4,3654602809),a=K9(a,n,r,i,e.getUint32(48,!0),11,3873151461),i=K9(i,a,n,r,e.getUint32(60,!0),16,530742520),r=K9(r,i,a,n,e.getUint32(8,!0),23,3299628645),n=q9(n,r,i,a,e.getUint32(0,!0),6,4096336452),a=q9(a,n,r,i,e.getUint32(28,!0),10,1126891415),i=q9(i,a,n,r,e.getUint32(56,!0),15,2878612391),r=q9(r,i,a,n,e.getUint32(20,!0),21,4237533241),n=q9(n,r,i,a,e.getUint32(48,!0),6,1700485571),a=q9(a,n,r,i,e.getUint32(12,!0),10,2399980690),i=q9(i,a,n,r,e.getUint32(40,!0),15,4293915773),r=q9(r,i,a,n,e.getUint32(4,!0),21,2240044497),n=q9(n,r,i,a,e.getUint32(32,!0),6,1873313359),a=q9(a,n,r,i,e.getUint32(60,!0),10,4264355552),i=q9(i,a,n,r,e.getUint32(24,!0),15,2734768916),r=q9(r,i,a,n,e.getUint32(52,!0),21,1309151649),n=q9(n,r,i,a,e.getUint32(16,!0),6,4149444226),a=q9(a,n,r,i,e.getUint32(44,!0),10,3174756917),i=q9(i,a,n,r,e.getUint32(8,!0),15,718787259),r=q9(r,i,a,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=a+t[3]&4294967295}reset(){this.state=Uint32Array.from(Eie),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}};function U9(e,t,n,r,i,a){return t=(t+e&4294967295)+(r+a&4294967295)&4294967295,(t<>>32-i)+n&4294967295}function W9(e,t,n,r,i,a,o){return U9(t&n|~t&r,e,t,i,a,o)}function G9(e,t,n,r,i,a,o){return U9(t&r|n&~r,e,t,i,a,o)}function K9(e,t,n,r,i,a,o){return U9(t^n^r,e,t,i,a,o)}function q9(e,t,n,r,i,a,o){return U9(n^(t|~r),e,t,i,a,o)}function Oie(e){return typeof e==`string`?e.length===0:e.byteLength===0}function kie(e){return typeof e==`string`?se(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var Aie=e=>({apiVersion:`2006-03-01`,base64Decoder:e?.base64Decoder??He,base64Encoder:e?.base64Encoder??Ue,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??w3,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??Ke,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??O3,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ta},{schemeId:`aws.auth#sigv4a`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4a`),signer:new Ea}],logger:e?.logger??new la,protocol:e?.protocol??l0,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.s3`,errorTypeRegistries:Jne,xmlNamespace:`http://s3.amazonaws.com/doc/2006-03-01/`,version:`2006-03-01`,serviceTarget:`AmazonS3`},sdkStreamMixin:e?.sdkStreamMixin??at,serviceId:e?.serviceId??`S3`,signerConstructor:e?.signerConstructor??f0,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??ht,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??se,utf8Encoder:e?.utf8Encoder??ce}),jie=e=>{let t=Ga(e),n=()=>t().then(ea),r=Aie(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ua,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??za({serviceId:r.serviceId,clientVersion:Jre.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Cie,maxAttempts:e?.maxAttempts??3,md5:e?.md5??Die,region:e?.region??Va(`Region is missing`),requestHandler:Qe.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Ur),sha1:e?.sha1??Zre,sha256:e?.sha256??l,streamCollector:e?.streamCollector??et,streamHasher:e?.streamHasher??Tie,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},Mie=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},Nie=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Pie=(e,t)=>{let n=Object.assign(OR(e),oa(e),de(e),Mie(e));return t.forEach(e=>e.configure(n)),Object.assign(e,kR(n),sa(n),fe(n),Nie(n))},Fie=class extends qi{config;constructor(...[e]){let t=jie(e||{});super(t),this.initConfig=t,this.config=Pie(X1(k3(u0(zi(ye(bi(Vi(D1(Xn(A3(t))))))))),{session:[()=>this,qre]}),e?.extensions||[]),this.middlewareStack.use(bt(this.config)),this.middlewareStack.use(hi(this.config)),this.middlewareStack.use(va(this.config)),this.middlewareStack.use(wi(this.config)),this.middlewareStack.use(Se(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Oe(this.config)),this.middlewareStack.use(Ne(this.config,{httpAuthSchemeParametersProvider:T3,identityProviderConfigProvider:async e=>new Gn({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use(Le(this.config)),this.middlewareStack.use(c0(this.config)),this.middlewareStack.use(g1(this.config)),this.middlewareStack.use(M1(this.config)),this.middlewareStack.use(W1(this.config)),this.middlewareStack.use(Y1(this.config))}destroy(){super.destroy()}},J9=`ap-southeast-2`,Y9=`${window.location.protocol}//localhost:9999`,Iie=`${window.location.protocol}//localhost:8443`,X9=null,Z9=null,Q9=null,$9=null;function Lie(){if(!X9){let e=n();if(!e)throw Error(`AWS credentials not configured`);X9=new NR({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),X9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return X9}function Rie(){if(!Z9){let e=n();if(!e)throw Error(`AWS credentials not configured`);Z9=new mJ({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),Z9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return Z9}function zie(){if(!Q9){let e=n();if(!e)throw Error(`AWS credentials not configured`);Q9=new p1({endpoint:Y9,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),Q9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return Q9}function Bie(){if(!$9){let e=n();if(!e)throw Error(`AWS credentials not configured`);$9=new Fie({endpoint:Iie,region:J9,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey},forcePathStyle:!0}),$9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&t.request.path.endsWith(`/`)&&t.request.path!==`/`&&(t.request.path=t.request.path.slice(0,-1)),e(t)),{step:`build`,name:`removeTrailingSlash`}),$9.middlewareStack.add(e=>t=>(i.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/s3${t.request.path}`),e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return $9}function Vie(){X9=null,Z9=null,Q9=null,$9=null}export{iJ as $,wR as $t,Q$ as A,tR as At,bJ as B,dR as Bt,y1 as C,JL as Ct,Y$ as D,QL as Dt,J$ as E,ZL as Et,r1 as F,oR as Ft,Xq as G,gR as Gt,qq as H,pR as Ht,i1 as I,sR as It,$q as J,yR as Jt,Zq as K,_R as Kt,a1 as L,cR as Lt,e1 as M,nR as Mt,t1 as N,iR as Nt,X$ as O,$L as Ot,n1 as P,aR as Pt,rJ as Q,CR as Qt,o1 as R,lR as Rt,_1 as S,qL as St,q$ as T,XL as Tt,Jq as U,mR as Ut,Kq as V,fR as Vt,Yq as W,hR as Wt,tJ as X,xR as Xt,eJ as Y,bR as Yt,nJ as Z,SR as Zt,j3 as _,HL as _t,Bie as a,Pi as an,AL as at,x1 as b,GL as bt,Lre as c,Fn as cn,NL as ct,Vre as d,Je as dn,IL as dt,TR as en,aJ as et,Hre as f,Ge as fn,LL as ft,Kre as g,VL as gt,Gre as h,ue as hn,BL as ht,zie as i,Ri as in,zR as it,$$ as j,rR as jt,Z$ as k,eR as kt,Rre as l,Qt as ln,PL as lt,Wre as m,ge as mn,zL as mt,Lie as n,la as nn,sJ as nt,Fre as o,Ni as on,jL as ot,Ure as p,Ue as pn,RL as pt,Qq as q,vR as qt,Rie as r,Xi as rn,cJ as rt,Ire as s,Vr as sn,ML as st,Vie as t,La as tn,oJ as tt,Bre as u,lt as un,FL as ut,n0 as v,UL as vt,K$ as w,YL as wt,C1 as x,KL as xt,w1 as y,WL as yt,s1 as z,uR as zt}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/button.js b/spinifex/services/spinifexui/frontend/dist/assets/button.js index 8778adc1d..391d16cac 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/button.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/button.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{g as i,h as a,m as o,n as s,p as c,t as l}from"./dist.js";import{I as u}from"./SignatureV4.js";var d=e(n());function f(){return typeof window<`u`}function p(e){return g(e)?(e.nodeName||``).toLowerCase():`#document`}function m(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function h(e){return((g(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function g(e){return f()?e instanceof Node||e instanceof m(e).Node:!1}function _(e){return f()?e instanceof Element||e instanceof m(e).Element:!1}function v(e){return f()?e instanceof HTMLElement||e instanceof m(e).HTMLElement:!1}function y(e){return!f()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof m(e).ShadowRoot}function b(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function x(e){return/^(table|td|th)$/.test(p(e))}function S(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var C=/transform|translate|scale|rotate|perspective|filter/,w=/paint|layout|strict|content/,T=e=>!!e&&e!==`none`,E;function D(e){let t=_(e)?j(e):e;return T(t.transform)||T(t.translate)||T(t.scale)||T(t.rotate)||T(t.perspective)||!k()&&(T(t.backdropFilter)||T(t.filter))||C.test(t.willChange||``)||w.test(t.contain||``)}function O(e){let t=N(e);for(;v(t)&&!A(t);){if(D(t))return t;if(S(t))return null;t=N(t)}return null}function k(){return E??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),E}function A(e){return/^(html|body|#document)$/.test(p(e))}function j(e){return m(e).getComputedStyle(e)}function M(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function N(e){if(p(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||y(e)&&e.host||h(e);return y(t)?t.host:t}function P(e){let t=N(e);return A(t)?e.ownerDocument?e.ownerDocument.body:e.body:v(t)&&b(t)?t:P(t)}function F(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=P(e),i=r===e.ownerDocument?.body,a=m(r);if(i){let e=I(a);return t.concat(a,a.visualViewport||[],b(r)?r:[],e&&n?F(e):[])}else return t.concat(r,F(r,[],n))}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var L=d[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],R=L&&L!==d.useLayoutEffect?L:e=>e();function z(e){let t=c(B).current;return t.next=e,R(t.effect),t.trampoline}function B(){let e={next:void 0,callback:V,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function V(){}var H={...d},U=typeof document<`u`?d.useLayoutEffect:()=>{},W=d.createContext(void 0);function G(e=!1){let t=d.useContext(W);if(t===void 0&&!e)throw Error(o(16));return t}function K(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:d.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function q(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0,composite:s}=e,c=d.useRef(null),l=G(!0),u=s??l!==void 0,{props:f}=K({focusableWhenDisabled:n,disabled:t,composite:u,tabIndex:r,isNativeButton:o}),p=d.useCallback(()=>{let e=c.current;J(e)&&u&&t&&f.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,f.disabled,u]);return U(p,[p]),{getButtonProps:d.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:s,onKeyDown:c,onPointerDown:l,...d}=e;return i({type:o?`button`:void 0,onClick(e){if(t){e.preventDefault();return}n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(a(e),c?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,s=J(i),l=!o&&Y(i),d=r&&(o?s:!l),f=e.key===`Enter`,p=e.key===` `,m=i.getAttribute(`role`),h=m?.startsWith(`menuitem`)||m===`option`||m===`gridcell`;if(r&&u&&p){if(e.defaultPrevented&&h)return;e.preventDefault(),l||o&&s?(i.click(),e.preventBaseUIHandler()):d&&(n?.(e),e.preventBaseUIHandler());return}d&&(!o&&(p||f)&&e.preventDefault(),!o&&f&&n?.(e))},onKeyUp(e){if(!t){if(a(e),s?.(e),e.target===e.currentTarget&&o&&u&&J(e.currentTarget)&&e.key===` `){e.preventDefault();return}e.baseUIHandlerPrevented||e.target===e.currentTarget&&!o&&!u&&e.key===` `&&n?.(e)}},onPointerDown(e){if(t){e.preventDefault();return}l?.(e)}},o?void 0:{role:`button`},f,d)},[t,f,u,o]),buttonRef:z(e=>{c.current=e,p()})}}function J(e){return v(e)&&e.tagName===`BUTTON`}function Y(e){return!!(e?.tagName===`A`&&e?.href)}var X=d.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,focusableWhenDisabled:a=!1,nativeButton:o=!0,...c}=e,{getButtonProps:l,buttonRef:u}=q({disabled:i,focusableWhenDisabled:a,native:o});return s(`button`,e,{state:{disabled:i},ref:[t,u],props:[c,l]})}),Z=r(),Q=t(),$=l(`group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-xs/relaxed font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-[2px] focus-visible:ring-ring/30 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/80`,outline:`border-border hover:bg-input/50 hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:bg-input/30`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-7 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5`,xs:`h-5 gap-1 rounded-sm px-2 text-[0.625rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-2.5`,sm:`h-6 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,lg:`h-8 gap-1 px-2.5 text-xs/relaxed has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-4`,icon:`size-7 [&_svg:not([class*='size-'])]:size-3.5`,"icon-xs":`size-5 rounded-sm [&_svg:not([class*='size-'])]:size-2.5`,"icon-sm":`size-6 [&_svg:not([class*='size-'])]:size-3`,"icon-lg":`size-8 [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`,size:`default`}});function ee(e){let t=(0,Z.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,variant:i,size:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`default`:i,s=a===void 0?`default`:a,c;t[5]!==n||t[6]!==s||t[7]!==o?(c=u($({variant:o,size:s,className:n})),t[5]=n,t[6]=s,t[7]=o,t[8]=c):c=t[8];let l;return t[9]!==r||t[10]!==c?(l=(0,Q.jsx)(X,{className:c,"data-slot":`button`,...r}),t[9]=r,t[10]=c,t[11]=l):l=t[11],l}export{b as C,k as D,S as E,g as S,x as T,m as _,G as a,v as b,z as c,h as d,I as f,N as g,F as h,W as i,j as l,M as m,$ as n,U as o,p,q as r,H as s,ee as t,O as u,D as v,y as w,A as x,_ as y}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{g as i,h as a,m as o,n as s,p as c,t as l}from"./dist.js";import{I as u}from"./SignatureV4.js";var d=e(n());function f(){return typeof window<`u`}function p(e){return g(e)?(e.nodeName||``).toLowerCase():`#document`}function m(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function h(e){return((g(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function g(e){return f()?e instanceof Node||e instanceof m(e).Node:!1}function _(e){return f()?e instanceof Element||e instanceof m(e).Element:!1}function v(e){return f()?e instanceof HTMLElement||e instanceof m(e).HTMLElement:!1}function y(e){return!f()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof m(e).ShadowRoot}function b(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function x(e){return/^(table|td|th)$/.test(p(e))}function S(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var C=/transform|translate|scale|rotate|perspective|filter/,w=/paint|layout|strict|content/,T=e=>!!e&&e!==`none`,E;function D(e){let t=_(e)?j(e):e;return T(t.transform)||T(t.translate)||T(t.scale)||T(t.rotate)||T(t.perspective)||!k()&&(T(t.backdropFilter)||T(t.filter))||C.test(t.willChange||``)||w.test(t.contain||``)}function O(e){let t=N(e);for(;v(t)&&!A(t);){if(D(t))return t;if(S(t))return null;t=N(t)}return null}function k(){return E??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),E}function A(e){return/^(html|body|#document)$/.test(p(e))}function j(e){return m(e).getComputedStyle(e)}function M(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function N(e){if(p(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||y(e)&&e.host||h(e);return y(t)?t.host:t}function P(e){let t=N(e);return A(t)?e.ownerDocument?e.ownerDocument.body:e.body:v(t)&&b(t)?t:P(t)}function F(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=P(e),i=r===e.ownerDocument?.body,a=m(r);if(i){let e=I(a);return t.concat(a,a.visualViewport||[],b(r)?r:[],e&&n?F(e):[])}else return t.concat(r,F(r,[],n))}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var L=d[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],R=L&&L!==d.useLayoutEffect?L:e=>e();function z(e){let t=c(B).current;return t.next=e,R(t.effect),t.trampoline}function B(){let e={next:void 0,callback:V,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function V(){}var H={...d},U=typeof document<`u`?d.useLayoutEffect:()=>{},W=d.createContext(void 0);function G(e=!1){let t=d.useContext(W);if(t===void 0&&!e)throw Error(o(16));return t}function K(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:d.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function q(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0,composite:s}=e,c=d.useRef(null),l=G(!0),u=s??l!==void 0,{props:f}=K({focusableWhenDisabled:n,disabled:t,composite:u,tabIndex:r,isNativeButton:o}),p=d.useCallback(()=>{let e=c.current;J(e)&&u&&t&&f.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,f.disabled,u]);return U(p,[p]),{getButtonProps:d.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:s,onKeyDown:c,onPointerDown:l,...d}=e;return i({type:o?`button`:void 0,onClick(e){if(t){e.preventDefault();return}n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(a(e),c?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,s=J(i),l=!o&&Y(i),d=r&&(o?s:!l),f=e.key===`Enter`,p=e.key===` `,m=i.getAttribute(`role`),h=m?.startsWith(`menuitem`)||m===`option`||m===`gridcell`;if(r&&u&&p){if(e.defaultPrevented&&h)return;e.preventDefault(),l||o&&s?(i.click(),e.preventBaseUIHandler()):d&&(n?.(e),e.preventBaseUIHandler());return}d&&(!o&&(p||f)&&e.preventDefault(),!o&&f&&n?.(e))},onKeyUp(e){if(!t){if(a(e),s?.(e),e.target===e.currentTarget&&o&&u&&J(e.currentTarget)&&e.key===` `){e.preventDefault();return}e.baseUIHandlerPrevented||e.target===e.currentTarget&&!o&&!u&&e.key===` `&&n?.(e)}},onPointerDown(e){if(t){e.preventDefault();return}l?.(e)}},o?void 0:{role:`button`},f,d)},[t,f,u,o]),buttonRef:z(e=>{c.current=e,p()})}}function J(e){return v(e)&&e.tagName===`BUTTON`}function Y(e){return!!(e?.tagName===`A`&&e?.href)}var X=d.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,focusableWhenDisabled:a=!1,nativeButton:o=!0,style:c,...l}=e,{getButtonProps:u,buttonRef:d}=q({disabled:i,focusableWhenDisabled:a,native:o});return s(`button`,e,{state:{disabled:i},ref:[t,d],props:[l,u]})}),Z=r(),Q=t(),$=l(`group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-xs/relaxed font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-[2px] focus-visible:ring-ring/30 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/80`,outline:`border-border hover:bg-input/50 hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:bg-input/30`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-7 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5`,xs:`h-5 gap-1 rounded-sm px-2 text-[0.625rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-2.5`,sm:`h-6 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,lg:`h-8 gap-1 px-2.5 text-xs/relaxed has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-4`,icon:`size-7 [&_svg:not([class*='size-'])]:size-3.5`,"icon-xs":`size-5 rounded-sm [&_svg:not([class*='size-'])]:size-2.5`,"icon-sm":`size-6 [&_svg:not([class*='size-'])]:size-3`,"icon-lg":`size-8 [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`,size:`default`}});function ee(e){let t=(0,Z.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,variant:i,size:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`default`:i,s=a===void 0?`default`:a,c;t[5]!==n||t[6]!==s||t[7]!==o?(c=u($({variant:o,size:s,className:n})),t[5]=n,t[6]=s,t[7]=o,t[8]=c):c=t[8];let l;return t[9]!==r||t[10]!==c?(l=(0,Q.jsx)(X,{className:c,"data-slot":`button`,...r}),t[9]=r,t[10]=c,t[11]=l):l=t[11],l}export{b as C,k as D,S as E,g as S,x as T,m as _,G as a,v as b,z as c,h as d,I as f,N as g,F as h,W as i,j as l,M as m,$ as n,U as o,p,q as r,H as s,ee as t,O as u,D as v,y as w,A as x,_ as y}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/collapsible.js b/spinifex/services/spinifexui/frontend/dist/assets/collapsible.js index b68b32cdb..6f833b4ed 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/collapsible.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/collapsible.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{f as i,m as a,n as o}from"./dist.js";import{c as s,o as c,r as l}from"./button.js";import{i as u}from"./separator.js";import{V as d,m as f,t as p,u as m}from"./createBaseUIEventDetails.js";import{a as h,c as g,i as _,l as v,n as y,r as b,s as x,t as S}from"./useTransitionStatus.js";var C=e(n());function w(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:i}=e,a=t!==void 0,[o,l]=u({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:m,setMounted:h,transitionStatus:g}=S(o,!0,!0),[_,v]=C.useState(o),[{height:y,width:x},w]=C.useState({height:void 0,width:void 0}),T=d(),[E,D]=C.useState(),O=E??T,[k,A]=C.useState(!1),[j,M]=C.useState(!1),N=C.useRef(null),P=C.useRef(null),F=C.useRef(null),I=C.useRef(null),L=b(I,!1),R=s(e=>{let t=!o,n=p(f,e.nativeEvent);if(r(t,n),n.isCanceled)return;let i=I.current;P.current===`css-animation`&&i!=null&&i.style.removeProperty(`animation-name`),!k&&!j&&(P.current!=null&&P.current!==`css-animation`&&!m&&t&&h(!0),P.current===`css-animation`&&(!_&&t&&v(!0),!m&&t&&h(!0))),l(t),P.current===`none`&&m&&!t&&h(!1)});return c(()=>{a&&P.current===`none`&&!j&&!o&&h(!1)},[a,j,o,t,h]),C.useMemo(()=>({abortControllerRef:N,animationTypeRef:P,disabled:i,handleTrigger:R,height:y,mounted:m,open:o,panelId:O,panelRef:I,runOnceAnimationsFinish:L,setDimensions:w,setHiddenUntilFound:A,setKeepMounted:M,setMounted:h,setOpen:l,setPanelIdState:D,setVisible:v,transitionDimensionRef:F,transitionStatus:g,visible:_,width:x}),[N,P,i,R,y,m,o,O,I,L,w,A,M,h,l,v,F,g,_,x])}var T=C.createContext(void 0);function E(){let e=C.useContext(T);if(e===void 0)throw Error(a(15));return e}var D=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=_.startingStyle]=`startingStyle`,e[e.endingStyle=_.endingStyle]=`endingStyle`,e}({}),O=function(e){return e.panelOpen=`data-panel-open`,e}({}),k={[D.open]:``},A={[D.closed]:``},j={open(e){return e?{[O.panelOpen]:``}:null}},M={open(e){return e?k:A},...h},N=t(),P=C.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:c,open:l,...u}=e,d=s(c),f=w({open:l,defaultOpen:i,onOpenChange:d,disabled:a}),p=C.useMemo(()=>({open:f.open,disabled:f.disabled,transitionStatus:f.transitionStatus}),[f.open,f.disabled,f.transitionStatus]),m=C.useMemo(()=>({...f,onOpenChange:d,state:p}),[f,d,p]),h=o(`div`,e,{state:p,ref:t,props:u,stateAttributesMapping:M});return(0,N.jsx)(T.Provider,{value:m,children:h})}),F={...j,...h},I=C.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:s}=E(),{className:c,disabled:u=s,id:d,render:f,nativeButton:p=!0,...m}=e,{getButtonProps:h,buttonRef:g}=l({disabled:u,focusableWhenDisabled:!0,native:p}),_=C.useMemo(()=>({"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i}),[n,r,i]);return o(`button`,e,{state:a,ref:[t,g],props:[_,m,h],stateAttributesMapping:F})}),L=function(e){return e.disabled=`data-disabled`,e.orientation=`data-orientation`,e}({});function R(e){let{abortControllerRef:t,animationTypeRef:n,externalRef:r,height:a,hiddenUntilFound:o,keepMounted:l,id:u,mounted:d,onOpenChange:f,open:h,panelRef:_,runOnceAnimationsFinish:y,setDimensions:b,setMounted:S,setOpen:w,setVisible:T,transitionDimensionRef:E,visible:O,width:k}=e,A=C.useRef(!1),j=C.useRef(null),M=C.useRef(h),N=C.useRef(h),P=g(),F=C.useMemo(()=>n.current===`css-animation`?!O:!h&&!d,[h,d,O,n]),I=i(r,_,s(e=>{if(!e)return;if(n.current==null||E.current==null){let t=getComputedStyle(e),r=t.animationName!==`none`&&t.animationName!==``,i=t.transitionDuration!==`0s`&&t.transitionDuration!==``;r&&i||(t.animationName===`none`&&t.transitionDuration!==`0s`?n.current=`css-transition`:t.animationName!==`none`&&t.transitionDuration===`0s`?n.current=`css-animation`:n.current=`none`),e.getAttribute(L.orientation)===`horizontal`||t.transitionProperty.indexOf(`width`)>-1?E.current=`width`:E.current=`height`}if(n.current!==`css-transition`)return;(a===void 0||k===void 0)&&(b({height:e.scrollHeight,width:e.scrollWidth}),N.current&&e.style.setProperty(`transition-duration`,`0s`));let t=-1,r=-1;return t=x.request(()=>{N.current=!1,r=x.request(()=>{setTimeout(()=>{e.style.removeProperty(`transition-duration`)})})}),()=>{x.cancel(t),x.cancel(r)}}));return c(()=>{if(n.current!==`css-transition`)return;let e=_.current;if(!e)return;let r=-1;if(t.current!=null&&(t.current.abort(),t.current=null),h){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)}),!N.current&&!l&&e.setAttribute(D.startingStyle,``),b({height:e.scrollHeight,width:e.scrollWidth}),r=x.request(()=>{Object.entries(t).forEach(([t,n])=>{n===``?e.style.removeProperty(t):e.style.setProperty(t,n)})})}else{if(e.scrollHeight===0&&e.scrollWidth===0)return;b({height:e.scrollHeight,width:e.scrollWidth});let n=new AbortController;t.current=n;let r=n.signal,i=null,a=D.endingStyle;return i=new MutationObserver(o=>{o.some(e=>e.type===`attributes`&&e.attributeName===a)&&(i?.disconnect(),i=null,y(()=>{b({height:0,width:0}),e.style.removeProperty(`content-visibility`),S(!1),t.current===n&&(t.current=null)},r))}),i.observe(e,{attributes:!0,attributeFilter:[a]}),()=>{i?.disconnect(),P.cancel(),t.current===n&&(n.abort(),t.current=null)}}return()=>{x.cancel(r)}},[t,n,P,o,l,d,h,_,y,b,S]),c(()=>{if(n.current!==`css-animation`)return;let e=_.current;e&&(j.current=e.style.animationName||j.current,e.style.setProperty(`animation-name`,`none`),b({height:e.scrollHeight,width:e.scrollWidth}),!M.current&&!A.current&&e.style.removeProperty(`animation-name`),h?(t.current!=null&&(t.current.abort(),t.current=null),S(!0),T(!0)):(t.current=new AbortController,y(()=>{S(!1),T(!1),t.current=null},t.current.signal)))},[t,n,h,_,y,b,S,T,O]),v(()=>{let e=x.request(()=>{M.current=!1});return()=>x.cancel(e)}),c(()=>{if(!o)return;let e=_.current;if(!e)return;let t=-1,n=-1;return h&&A.current&&(e.style.transitionDuration=`0s`,b({height:e.scrollHeight,width:e.scrollWidth}),t=x.request(()=>{A.current=!1,n=x.request(()=>{setTimeout(()=>{e.style.removeProperty(`transition-duration`)})})})),()=>{x.cancel(t),x.cancel(n)}},[o,h,_,b]),c(()=>{let e=_.current;e&&o&&F&&(e.setAttribute(`hidden`,`until-found`),n.current===`css-transition`&&e.setAttribute(D.startingStyle,``))},[o,F,n,_]),C.useEffect(function(){let e=_.current;if(!e)return;function t(e){A.current=!0,w(!0),f(!0,p(m,e))}return e.addEventListener(`beforematch`,t),()=>{e.removeEventListener(`beforematch`,t)}},[f,_,w]),C.useMemo(()=>({props:{hidden:F,id:u,ref:I}}),[F,u,I])}var z=function(e){return e.collapsiblePanelHeight=`--collapsible-panel-height`,e.collapsiblePanelWidth=`--collapsible-panel-width`,e}({}),B=C.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:s,...l}=e,{abortControllerRef:u,animationTypeRef:d,height:f,mounted:p,onOpenChange:m,open:h,panelId:g,panelRef:_,runOnceAnimationsFinish:v,setDimensions:b,setHiddenUntilFound:x,setKeepMounted:S,setMounted:w,setPanelIdState:T,setOpen:D,setVisible:O,state:k,transitionDimensionRef:A,visible:j,width:N,transitionStatus:P}=E(),F=r??!1,I=i??!1;c(()=>{if(s)return T(s),()=>{T(void 0)}},[s,T]),c(()=>{x(F)},[x,F]),c(()=>{S(I)},[S,I]);let{props:L}=R({abortControllerRef:u,animationTypeRef:d,externalRef:t,height:f,hiddenUntilFound:F,id:g,keepMounted:I,mounted:p,onOpenChange:m,open:h,panelRef:_,runOnceAnimationsFinish:v,setDimensions:b,setMounted:w,setOpen:D,setVisible:O,transitionDimensionRef:A,visible:j,width:N});y({open:h&&P===`idle`,ref:_,onComplete(){h&&b({height:void 0,width:void 0})}});let B=o(`div`,e,{state:C.useMemo(()=>({...k,transitionStatus:P}),[k,P]),ref:[t,_],props:[L,{style:{[z.collapsiblePanelHeight]:f===void 0?`auto`:`${f}px`,[z.collapsiblePanelWidth]:N===void 0?`auto`:`${N}px`}},l],stateAttributesMapping:M});return I||F||!I&&p?B:null}),V=r();function H(e){let t=(0,V.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,N.jsx)(P,{"data-slot":`collapsible`,...n}),t[2]=n,t[3]=r),r}function U(e){let t=(0,V.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,N.jsx)(I,{"data-slot":`collapsible-trigger`,...n}),t[2]=n,t[3]=r),r}function W(e){let t=(0,V.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,N.jsx)(B,{"data-slot":`collapsible-content`,...n}),t[2]=n,t[3]=r),r}export{W as n,U as r,H as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{f as i,m as a,n as o}from"./dist.js";import{c as s,o as c,r as l}from"./button.js";import{i as u}from"./separator.js";import{b as d,m as f,t as p,u as m}from"./createBaseUIEventDetails.js";import{a as h,c as g,i as _,l as v,n as y,o as b,r as x,t as S,u as C}from"./addEventListener.js";var w=e(n());function T(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:i}=e,a=t!==void 0,[o,l]=u({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:m,setMounted:h,transitionStatus:g}=y(o,!0,!0),[v,b]=w.useState(o),[{height:x,width:S},C]=w.useState({height:void 0,width:void 0}),T=d(),[E,D]=w.useState(),O=E??T,[k,A]=w.useState(!1),[j,M]=w.useState(!1),N=w.useRef(null),P=w.useRef(null),F=w.useRef(null),I=w.useRef(null),L=_(I,!1),R=s(e=>{let t=!o,n=p(f,e.nativeEvent);if(r(t,n),n.isCanceled)return;let i=I.current;P.current===`css-animation`&&i!=null&&i.style.removeProperty(`animation-name`),!k&&!j&&(P.current!=null&&P.current!==`css-animation`&&!m&&t&&h(!0),P.current===`css-animation`&&(!v&&t&&b(!0),!m&&t&&h(!0))),l(t),P.current===`none`&&m&&!t&&h(!1)});return c(()=>{a&&P.current===`none`&&!o&&h(!1)},[a,o,t,h]),w.useMemo(()=>({abortControllerRef:N,animationTypeRef:P,disabled:i,handleTrigger:R,height:x,mounted:m,open:o,panelId:O,panelRef:I,runOnceAnimationsFinish:L,setDimensions:C,setHiddenUntilFound:A,setKeepMounted:M,setMounted:h,setOpen:l,setPanelIdState:D,setVisible:b,transitionDimensionRef:F,transitionStatus:g,visible:v,width:S}),[N,P,i,R,x,m,o,O,I,L,C,A,M,h,l,b,F,g,v,S])}var E=w.createContext(void 0);function D(){let e=w.useContext(E);if(e===void 0)throw Error(a(15));return e}var O=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=h.startingStyle]=`startingStyle`,e[e.endingStyle=h.endingStyle]=`endingStyle`,e}({}),k=function(e){return e.panelOpen=`data-panel-open`,e}({}),A={[O.open]:``},j={[O.closed]:``},M={open(e){return e?{[k.panelOpen]:``}:null}},N={open(e){return e?A:j},...b},P=t(),F=w.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:c,open:l,style:u,...d}=e,f=s(c),p=T({open:l,defaultOpen:i,onOpenChange:f,disabled:a}),m=w.useMemo(()=>({open:p.open,disabled:p.disabled,transitionStatus:p.transitionStatus}),[p.open,p.disabled,p.transitionStatus]),h=w.useMemo(()=>({...p,onOpenChange:f,state:m}),[p,f,m]),g=o(`div`,e,{state:m,ref:t,props:d,stateAttributesMapping:N});return(0,P.jsx)(E.Provider,{value:h,children:g})}),I={...M,...b},L=w.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:s}=D(),{className:c,disabled:u=s,id:d,render:f,nativeButton:p=!0,style:m,...h}=e,{getButtonProps:g,buttonRef:_}=l({disabled:u,focusableWhenDisabled:!0,native:p}),v=w.useMemo(()=>({"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i}),[n,r,i]);return o(`button`,e,{state:a,ref:[t,_],props:[v,h,g],stateAttributesMapping:I})}),R=function(e){return e.disabled=`data-disabled`,e.orientation=`data-orientation`,e}({});function z(e){let{abortControllerRef:t,animationTypeRef:n,externalRef:r,height:a,hiddenUntilFound:o,keepMounted:l,id:u,mounted:d,onOpenChange:f,open:h,panelRef:_,runOnceAnimationsFinish:y,setDimensions:b,setMounted:x,setOpen:T,setVisible:E,transitionDimensionRef:D,visible:k,width:A}=e,j=w.useRef(!1),M=w.useRef(null),N=w.useRef(h),P=w.useRef(h),F=v(),I=w.useMemo(()=>n.current===`css-animation`?!k:!h&&!d,[h,d,k,n]),L=i(r,_,s(e=>{if(!e)return;if(n.current==null||D.current==null){let t=getComputedStyle(e),r=t.animationName!==`none`&&t.animationName!==``,i=t.transitionDuration!==`0s`&&t.transitionDuration!==``;r&&i||(t.animationName===`none`&&t.transitionDuration!==`0s`?n.current=`css-transition`:t.animationName!==`none`&&t.transitionDuration===`0s`?n.current=`css-animation`:n.current=`none`),e.getAttribute(R.orientation)===`horizontal`||t.transitionProperty.indexOf(`width`)>-1?D.current=`width`:D.current=`height`}if(n.current!==`css-transition`)return;(a===void 0||A===void 0)&&(b({height:e.scrollHeight,width:e.scrollWidth}),P.current&&e.style.setProperty(`transition-duration`,`0s`));let t=-1,r=-1;return t=g.request(()=>{P.current=!1,r=g.request(()=>{setTimeout(()=>{e.style.removeProperty(`transition-duration`)})})}),()=>{g.cancel(t),g.cancel(r)}}));return c(()=>{if(n.current!==`css-transition`)return;let e=_.current;if(!e)return;let r=-1;if(t.current!=null&&(t.current.abort(),t.current=null),h){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)}),!P.current&&!l&&e.setAttribute(O.startingStyle,``),b({height:e.scrollHeight,width:e.scrollWidth}),r=g.request(()=>{Object.entries(t).forEach(([t,n])=>{n===``?e.style.removeProperty(t):e.style.setProperty(t,n)})})}else{if(e.scrollHeight===0&&e.scrollWidth===0)return;b({height:e.scrollHeight,width:e.scrollWidth});let n=new AbortController;t.current=n;let r=n.signal,i=null,a=O.endingStyle;return i=new MutationObserver(o=>{o.some(e=>e.type===`attributes`&&e.attributeName===a)&&(i?.disconnect(),i=null,y(()=>{b({height:0,width:0}),e.style.removeProperty(`content-visibility`),x(!1),t.current===n&&(t.current=null)},r))}),i.observe(e,{attributes:!0,attributeFilter:[a]}),()=>{i?.disconnect(),F.cancel(),t.current===n&&(n.abort(),t.current=null)}}return()=>{g.cancel(r)}},[t,n,F,o,l,d,h,_,y,b,x]),c(()=>{if(n.current!==`css-animation`)return;let e=_.current;e&&(M.current=e.style.animationName||M.current,e.style.setProperty(`animation-name`,`none`),b({height:e.scrollHeight,width:e.scrollWidth}),!N.current&&!j.current&&e.style.removeProperty(`animation-name`),h?(t.current!=null&&(t.current.abort(),t.current=null),x(!0),E(!0)):(t.current=new AbortController,y(()=>{x(!1),E(!1),t.current=null},t.current.signal)))},[t,n,h,_,y,b,x,E,k]),C(()=>{let e=g.request(()=>{N.current=!1});return()=>g.cancel(e)}),c(()=>{if(!o)return;let e=_.current;if(!e)return;let t=-1,n=-1;return h&&j.current&&(e.style.transitionDuration=`0s`,b({height:e.scrollHeight,width:e.scrollWidth}),t=g.request(()=>{j.current=!1,n=g.request(()=>{setTimeout(()=>{e.style.removeProperty(`transition-duration`)})})})),()=>{g.cancel(t),g.cancel(n)}},[o,h,_,b]),c(()=>{let e=_.current;e&&o&&I&&(e.setAttribute(`hidden`,`until-found`),n.current===`css-transition`&&e.setAttribute(O.startingStyle,``))},[o,I,n,_]),w.useEffect(function(){let e=_.current;if(!e)return;function t(e){j.current=!0,T(!0),f(!0,p(m,e))}return S(e,`beforematch`,t)},[f,_,T]),w.useMemo(()=>({props:{hidden:I,id:u,ref:L}}),[I,u,L])}var B=function(e){return e.collapsiblePanelHeight=`--collapsible-panel-height`,e.collapsiblePanelWidth=`--collapsible-panel-width`,e}({}),V=w.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:s,style:l,...u}=e,{abortControllerRef:d,animationTypeRef:f,height:p,mounted:m,onOpenChange:h,open:g,panelId:_,panelRef:v,runOnceAnimationsFinish:y,setDimensions:b,setHiddenUntilFound:S,setKeepMounted:C,setMounted:T,setPanelIdState:E,setOpen:O,setVisible:k,state:A,transitionDimensionRef:j,visible:M,width:P,transitionStatus:F}=D(),I=r??!1,L=i??!1;c(()=>{if(s)return E(s),()=>{E(void 0)}},[s,E]),c(()=>{S(I)},[S,I]),c(()=>{C(L)},[C,L]);let{props:R}=z({abortControllerRef:d,animationTypeRef:f,externalRef:t,height:p,hiddenUntilFound:I,id:_,keepMounted:L,mounted:m,onOpenChange:h,open:g,panelRef:v,runOnceAnimationsFinish:y,setDimensions:b,setMounted:T,setOpen:O,setVisible:k,transitionDimensionRef:j,visible:M,width:P});x({open:g&&F===`idle`,ref:v,onComplete(){g&&b({height:void 0,width:void 0})}});let V=o(`div`,e,{state:w.useMemo(()=>({...A,transitionStatus:F}),[A,F]),ref:[t,v],props:[R,{style:{[B.collapsiblePanelHeight]:p===void 0?`auto`:`${p}px`,[B.collapsiblePanelWidth]:P===void 0?`auto`:`${P}px`}},u],stateAttributesMapping:N});return L||I||m?V:null}),H=r();function U(e){let t=(0,H.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,P.jsx)(F,{"data-slot":`collapsible`,...n}),t[2]=n,t[3]=r),r}function W(e){let t=(0,H.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,P.jsx)(L,{"data-slot":`collapsible-trigger`,...n}),t[2]=n,t[3]=r),r}function G(e){let t=(0,H.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,P.jsx)(V,{"data-slot":`collapsible-content`,...n}),t[2]=n,t[3]=r),r}export{G as n,W as r,U as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-snapshot.js b/spinifex/services/spinifexui/frontend/dist/assets/create-snapshot.js index 078581d9c..3924f1dc6 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-snapshot.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-snapshot.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-snapshot2.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/select.js","assets/button.js","assets/dist.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/useStore.js","assets/getDisabledMountTransitionStyles.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/cli-command-panel.js","assets/copy.js","assets/use-copy-to-clipboard.js","assets/form-actions.js","assets/page-heading.js","assets/field.js","assets/textarea.js","assets/ec23.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-snapshot2.js","assets/compiler-runtime.js","assets/ec2.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/ec22.js","assets/DescribeInstancesCommand.js","assets/queryOptions.js","assets/QueryClientProvider.js","assets/error-banner.js","assets/mutation.js","assets/select.js","assets/button.js","assets/dist.js","assets/useOpenInteractionType.js","assets/createBaseUIEventDetails.js","assets/addEventListener.js","assets/useStore.js","assets/usePositioner.js","assets/separator.js","assets/createLucideIcon.js","assets/check.js","assets/chevron-down.js","assets/zod.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/back-link.js","assets/link.js","assets/cli-command-panel.js","assets/copy.js","assets/use-copy-to-clipboard.js","assets/form-actions.js","assets/page-heading.js","assets/field.js","assets/textarea.js","assets/ec23.js"])))=>i.map(i=>d[i]); import{n as e,t}from"./lazyRouteComponent.js";import{cn as n}from"./awsClient.js";import{y as r}from"./ec22.js";var i=e(`/_auth/ec2/(snapshots)/create-snapshot`)({validateSearch:e=>({volumeId:typeof e.volumeId==`string`?e.volumeId:void 0}),loader:async({context:e})=>{await e.queryClient.ensureQueryData(r)},head:()=>({meta:[{title:`Create Snapshot | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./create-snapshot2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{i as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/createBaseUIEventDetails.js b/spinifex/services/spinifexui/frontend/dist/assets/createBaseUIEventDetails.js index d201b7678..20738924d 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/createBaseUIEventDetails.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/createBaseUIEventDetails.js @@ -1 +1 @@ -import{a as e,r as t}from"./compiler-runtime.js";import{l as n}from"./dist.js";import{b as r,s as i,w as a,y as o}from"./button.js";var s=e(t()),c=0;function l(e,t=`mui`){let[n,r]=s.useState(e),i=e||n;return s.useEffect(()=>{n??(c+=1,r(`${t}-${c}`))},[n,t]),i}var u=i.useId;function d(e,t){if(u!==void 0){let n=u();return e??(t?`${t}-${n}`:n)}return l(e,t)}function f(e){return d(e,`base-ui`)}function p(e){return e?.ownerDocument||document}var m=typeof navigator<`u`,h=w(),g=E(),_=T(),v=typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter:none`),y=h.platform===`MacIntel`&&h.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(h.platform);m&&/firefox/i.test(_);var b=m&&/apple/i.test(navigator.vendor);m&&/Edg/i.test(_);var x=m&&/android/i.test(g)||/android/i.test(_),S=m&&g.toLowerCase().startsWith(`mac`)&&!navigator.maxTouchPoints,C=_.includes(`jsdom/`);function w(){if(!m)return{platform:``,maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??-1}}function T(){if(!m)return``;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}function E(){if(!m)return``;let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??``}var D=`data-base-ui-focusable`,O=`active`,k=`selected`,A=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,j=`ArrowLeft`,M=`ArrowRight`,N=`ArrowUp`,P=`ArrowDown`;function F(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function I(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&a(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function L(e,t){if(!o(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(`data-trigger-disabled`);for(let[,e]of t.entries())if(I(e,n))return!e.hasAttribute(`data-trigger-disabled`);return!1}function R(e){return`composedPath`in e?e.composedPath()[0]:e.target}function ee(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function z(e){return e.matches(`html,body`)}function B(e){return r(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function V(e){return e?e.getAttribute(`role`)===`combobox`&&B(e):!1}function H(e){if(!e||C)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function U(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}var W=`none`,G=`trigger-press`,K=`trigger-hover`,q=`trigger-focus`,J=`outside-press`,Y=`item-press`,X=`close-press`,Z=`focus-out`,Q=`escape-key`,$=`list-navigation`,te=`cancel-open`,ne=`disabled`,re=`imperative-action`,ie=`window-resize`;function ae(e,t,r,i){let a=!1,o=!1,s=i??n;return{reason:e,event:t??new Event(`base-ui`),cancel(){a=!0},allowPropagation(){o=!0},get isCanceled(){return a},get isPropagationAllowed(){return o},trigger:r,...s}}export{N as A,p as B,V as C,P as D,O as E,y as F,d as H,C as I,S as L,k as M,A as N,j as O,x as P,b as R,L as S,H as T,f as V,I as _,Q as a,ee as b,Y as c,J as d,q as f,F as g,ie as h,ne as i,D as j,M as k,$ as l,G as m,te as n,Z as o,K as p,X as r,re as s,ae as t,W as u,U as v,B as w,z as x,R as y,v as z}; \ No newline at end of file +import{a as e,r as t}from"./compiler-runtime.js";import{l as n}from"./dist.js";import{s as r,w as i}from"./button.js";var a=e(t()),o=0;function s(e,t=`mui`){let[n,r]=a.useState(e),i=e||n;return a.useEffect(()=>{n??(o+=1,r(`${t}-${o}`))},[n,t]),i}var c=r.useId;function l(e,t){if(c!==void 0){let n=c();return e??(t?`${t}-${n}`:n)}return s(e,t)}function u(e){return l(e,`base-ui`)}function d(e){return e?.ownerDocument||document}function f(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function p(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&i(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function m(e){return`composedPath`in e?e.composedPath()[0]:e.target}var h=`none`,g=`trigger-press`,_=`trigger-hover`,v=`trigger-focus`,y=`outside-press`,b=`item-press`,x=`close-press`,S=`focus-out`,C=`escape-key`,w=`list-navigation`,T=`cancel-open`,E=`disabled`,D=`imperative-action`,O=`window-resize`;function k(e,t,r,i){let a=!1,o=!1,s=i??n;return{reason:e,event:t??new Event(`base-ui`),cancel(){a=!0},allowPropagation(){o=!0},get isCanceled(){return a},get isPropagationAllowed(){return o},trigger:r,...s}}export{p as _,C as a,u as b,b as c,y as d,v as f,f as g,O as h,E as i,w as l,g as m,T as n,S as o,_ as p,x as r,D as s,k as t,h as u,m as v,l as x,d as y}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/dist.js b/spinifex/services/spinifexui/frontend/dist/assets/dist.js index 1e953bdc3..21e9adba9 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/dist.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/dist.js @@ -1 +1 @@ -import{a as e,r as t}from"./compiler-runtime.js";import{U as n}from"./SignatureV4.js";function r(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}var i={};function a(e,t,n,r,a){let o={...d(e,i)};return t&&(o=s(o,t)),n&&(o=s(o,n)),r&&(o=s(o,r)),a&&(o=s(o,a)),o}function o(e){if(e.length===0)return i;if(e.length===1)return d(e[0],i);let t={...d(e[0],i)};for(let n=1;n=65&&i<=90&&(typeof t==`function`||t===void 0)}function u(e){return typeof e==`function`}function d(e,t){return u(e)?e(t):e??i}function f(e,t){return t?e?n=>{if(h(n)){let r=n;p(r);let i=t(r);return r.baseUIHandlerPrevented||e?.(r),i}let r=t(n);return e?.(n),r}:t:e}function p(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function m(e,t){return t?e?t+` `+e:t:e}function h(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function g(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var _=g(`https://base-ui.com/production-error`,`Base UI`),v=e(t()),y={};function b(e,t){let n=v.useRef(y);return n.current===y&&(n.current=e(t)),n}function x(e,t,n,r){let i=b(C).current;return w(i,e,t,n,r)&&E(i,[e,t,n,r]),i.callback}function S(e){let t=b(C).current;return T(t,e)&&E(t,e),t.callback}function C(){return{callback:null,cleanup:null,refs:[]}}function w(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function T(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function E(e,t){if(e.refs=t,t.every(e=>e==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e=e}function k(e){if(!v.isValidElement(e))return null;let t=e,n=t.props;return(O(19)?n?.ref:t.ref)??null}function A(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e);continue}i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function j(e,t){return typeof e==`function`?e(t):e}function M(e,t){return typeof e==`function`?e(t):e}function N(){}var P=Object.freeze([]),F=Object.freeze({}),I={style:{transition:`none`}},L=`data-base-ui-click-trigger`,R={fallbackAxisSide:`none`},z={fallbackAxisSide:`end`},B={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0};function V(e,t,n={}){let r=t.render,i=H(t,n);return n.enabled===!1?null:W(e,r,i,n.state??F)}function H(e,t={}){let{className:n,style:i,render:a}=e,{state:s=F,ref:c,props:l,stateAttributesMapping:u,enabled:d=!0}=t,f=d?j(n,s):void 0,p=d?M(i,s):void 0,h=d?A(s,u):F,g=d?r(h,Array.isArray(l)?o(l):l)??F:F;return typeof document<`u`&&(d?Array.isArray(c)?g.ref=S([g.ref,k(a),...c]):g.ref=x(g.ref,k(a),c):x(null,null)),d?(f!==void 0&&(g.className=m(g.className,f)),p!==void 0&&(g.style=r(g.style,p)),g):F}var U=Symbol.for(`react.lazy`);function W(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=a(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===U&&(i=v.Children.toArray(t)[0]),v.cloneElement(i,e)}if(e&&typeof e==`string`)return G(e,n);throw Error(_(8))}function G(e,t){return e===`button`?(0,v.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,v.createElement)(`img`,{alt:``,...t,key:t.key}):v.createElement(e,t)}var K=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,q=n,J=(e,t)=>n=>{if(t?.variants==null)return q(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=K(t)||K(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return q(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)};export{R as a,P as c,O as d,x as f,a as g,p as h,I as i,F as l,_ as m,V as n,z as o,b as p,L as r,B as s,J as t,N as u}; \ No newline at end of file +import{a as e,r as t}from"./compiler-runtime.js";import{U as n}from"./SignatureV4.js";function r(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}var i={};function a(e,t,n,r,i){if(!n&&!r&&!i&&!e)return s(t);let a=s(e);return t&&(a=c(a,t)),n&&(a=c(a,n)),r&&(a=c(a,r)),i&&(a=c(a,i)),a}function o(e){if(e.length===0)return i;if(e.length===1)return s(e[0]);let t=s(e[0]);for(let n=1;n=65&&i<=90&&(typeof t==`function`||t===void 0)}function f(e){return typeof e==`function`}function p(e,t){return f(e)?e(t):e??i}function m(e,t){return t?e?n=>{if(v(n)){let r=n;g(r);let i=t(r);return r.baseUIHandlerPrevented||e?.(r),i}let r=t(n);return e?.(n),r}:h(t):e}function h(e){return e&&(t=>(v(t)&&g(t),e(t)))}function g(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function _(e,t){return t?e?t+` `+e:t:e}function v(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function y(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var b=y(`https://base-ui.com/production-error`,`Base UI`),x=e(t()),S={};function C(e,t){let n=x.useRef(S);return n.current===S&&(n.current=e(t)),n}function w(e,t,n,r){let i=C(E).current;return D(i,e,t,n,r)&&k(i,[e,t,n,r]),i.callback}function T(e){let t=C(E).current;return O(t,e)&&k(t,e),t.callback}function E(){return{callback:null,cleanup:null,refs:[]}}function D(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function O(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function k(e,t){if(e.refs=t,t.every(e=>e==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e=e}function M(e){if(!x.isValidElement(e))return null;let t=e,n=t.props;return(j(19)?n?.ref:t.ref)??null}function N(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e);continue}i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function P(e,t){return typeof e==`function`?e(t):e}function F(e,t){return typeof e==`function`?e(t):e}function I(){}var L=Object.freeze([]),R=Object.freeze({}),z={style:{transition:`none`}},B=`data-base-ui-click-trigger`,V={fallbackAxisSide:`none`},H={fallbackAxisSide:`end`},U={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0};function W(e,t,n={}){let r=t.render,i=G(t,n);return n.enabled===!1?null:J(e,r,i,n.state??R)}function G(e,t={}){let{className:n,style:i,render:a}=e,{state:o=R,ref:s,props:c,stateAttributesMapping:l,enabled:u=!0}=t,d=u?P(n,o):void 0,f=u?F(i,o):void 0,p=u?N(o,l):R,m=u&&c?K(c):void 0,h=u?r(p,m)??{}:R;return typeof document<`u`&&(u?Array.isArray(s)?h.ref=T([h.ref,M(a),...s]):h.ref=w(h.ref,M(a),s):w(null,null)),u?(d!==void 0&&(h.className=_(h.className,d)),f!==void 0&&(h.style=r(h.style,f)),h):R}function K(e){return Array.isArray(e)?o(e):a(void 0,e)}var q=Symbol.for(`react.lazy`);function J(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=a(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===q&&(i=x.Children.toArray(t)[0]),x.cloneElement(i,e)}if(e&&typeof e==`string`)return Y(e,n);throw Error(b(8))}function Y(e,t){return e===`button`?(0,x.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,x.createElement)(`img`,{alt:``,...t,key:t.key}):x.createElement(e,t)}var X=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Z=n,Q=(e,t)=>n=>{if(t?.variants==null)return Z(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=X(t)||X(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Z(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)};export{V as a,L as c,j as d,w as f,a as g,g as h,z as i,R as l,b as m,W as n,H as o,C as p,B as r,U as s,Q as t,I as u}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/getDisabledMountTransitionStyles.js b/spinifex/services/spinifexui/frontend/dist/assets/getDisabledMountTransitionStyles.js deleted file mode 100644 index c3a9396d1..000000000 --- a/spinifex/services/spinifexui/frontend/dist/assets/getDisabledMountTransitionStyles.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,r as t}from"./compiler-runtime.js";import{hn as n}from"./awsClient.js";import{i as r,l as i,p as a}from"./dist.js";import{C as o,D as s,E as c,T as l,_ as u,b as d,c as f,d as p,f as m,g as h,h as g,l as _,m as v,o as y,p as b,u as x,v as S,x as C,y as w}from"./button.js";import{B as T,H as E}from"./createBaseUIEventDetails.js";import{B as D,C as O,M as k,N as A,S as j,_t as M,at as N,bt as P,ct as ee,dt as te,ft as F,gt as I,ht as L,it as R,lt as ne,mt as re,nt as ie,ot as z,pt as ae,rt as B,st as oe,ut as se,vt as V,xt as ce,yt as H}from"./useOpenInteractionType.js";var U=e(t(),1);function le(e,t,n){let{reference:r,floating:i}=e,a=I(t),o=oe(t),s=ne(o),c=L(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(z(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function ue(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=R(t,e),p=re(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=H(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=H(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var de=50,W=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ue},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=le(l,r,c),f=r,p=0,m={};for(let n=0;ne<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==I(t))||T.every(e=>I(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=I(e.placement);return t===_||t===`y`}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]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function fe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function pe(e){return ce.some(t=>e[t]>=0)}var K=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=R(e,t);switch(i){case`referenceHidden`:{let e=fe(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:pe(e)}}}case`escaped`:{let e=fe(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:pe(e)}}}default:return{}}}}},q=new Set([`left`,`top`]);async function me(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=L(n),s=z(n),c=I(n)===`y`,l=q.has(o)?-1:1,u=a&&c?-1:1,d=R(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var he=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await me(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},J=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=R(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=I(L(i)),p=te(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=ie(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=ie(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},ge=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=R(e,t),u={x:n,y:r},d=I(i),f=te(d),p=u[f],m=u[d],h=R(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;pn&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=q.has(L(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);mr&&(m=r)}return{[f]:p,[d]:m}}}},_e=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=R(e,t),u=await o.detectOverflow(t,l),d=L(i),f=z(i),p=I(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=V(h-u[g],v),x=V(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=M(u.left,0),t=M(u.right,0),n=M(u.top,0),r=M(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:M(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:M(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function ve(e){let t=_(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=d(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=P(n)!==a||P(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Y(e){return w(e)?e:e.contextElement}function X(e){let t=Y(e);if(!d(t))return B(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ve(t),o=(a?P(n.width):n.width)/r,s=(a?P(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var ye=B(0);function Z(e){let t=u(e);return!s()||!t.visualViewport?ye:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function be(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==u(e)?!1:t}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Y(e),o=B(1);t&&(r?w(r)&&(o=X(r)):o=X(e));let s=be(a,n,r)?Z(a):B(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=u(a),t=r&&w(r)?u(r):r,n=e,i=m(n);for(;i&&r&&t!==n;){let e=X(i),t=i.getBoundingClientRect(),r=_(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,d*=e.x,f*=e.y,c+=a,l+=o,n=u(i),i=m(n)}}return H({width:d,height:f,x:c,y:l})}function $(e,t){let n=v(e).scrollLeft;return t?t.left+n:Q(p(e)).left+n}function xe(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-$(e,n),y:n.top+t.scrollTop}}function Se(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,s=p(r),l=t?c(t.floating):!1;if(r===s||l&&a)return n;let u={scrollLeft:0,scrollTop:0},f=B(1),m=B(0),h=d(r);if((h||!h&&!a)&&((b(r)!==`body`||o(s))&&(u=v(r)),h)){let e=Q(r);f=X(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}let g=s&&!h&&!a?xe(s,u):B(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+m.x+g.x,y:n.y*f.y-u.scrollTop*f.y+m.y+g.y}}function Ce(e){return Array.from(e.getClientRects())}function we(e){let t=p(e),n=v(e),r=e.ownerDocument.body,i=M(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=M(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+$(e),s=-n.scrollTop;return _(r).direction===`rtl`&&(o+=M(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Te=25;function Ee(e,t){let n=u(e),r=p(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,c=0,l=0;if(i){a=i.width,o=i.height;let e=s();(!e||e&&t===`fixed`)&&(c=i.offsetLeft,l=i.offsetTop)}let d=$(r);if(d<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Te&&(a-=o)}else d<=Te&&(a+=d);return{width:a,height:o,x:c,y:l}}function De(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=d(e)?X(e):B(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Oe(e,t,n){let r;if(t===`viewport`)r=Ee(e,n);else if(t===`document`)r=we(p(e));else if(w(t))r=De(t,n);else{let n=Z(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return H(r)}function ke(e,t){let n=h(e);return n===t||!w(n)||C(n)?!1:_(n).position===`fixed`||ke(n,t)}function Ae(e,t){let n=t.get(e);if(n)return n;let r=g(e,[],!1).filter(e=>w(e)&&b(e)!==`body`),i=null,a=_(e).position===`fixed`,s=a?h(e):e;for(;w(s)&&!C(s);){let t=_(s),n=S(s);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||o(s)&&!n&&ke(e,s))?r=r.filter(e=>e!==s):i=t,s=h(s)}return t.set(e,r),r}function je(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?c(t)?[]:Ae(t,this._c):[].concat(n),r],o=Oe(t,a[0],i),s=o.top,l=o.right,u=o.bottom,d=o.left;for(let e=1;e{o(!1,1e-7)},1e3)}n===1&&!Be(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function He(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Y(e),u=i||a?[...l?g(l):[],...t?g(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ve(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&_();function _(){let t=Q(e);h&&!Be(h,t)&&n(),h=t,m=requestAnimationFrame(_)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ue=he,We=J,Ge=G,Ke=_e,qe=K,Je=ge,Ye=(e,t,n)=>{let r=new Map,i={platform:ze,...n},a={...i.platform,_c:r};return W(e,t,{...i,platform:a})},Xe=e(n(),1),Ze=typeof document<`u`?U.useLayoutEffect:function(){};function Qe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Qe(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Qe(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function $e(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function et(e,t){let n=$e(e);return Math.round(t*n)/n}function tt(e){let t=U.useRef(e);return Ze(()=>{t.current=e}),t}function nt(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=U.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=U.useState(r);Qe(f,r)||p(r);let[m,h]=U.useState(null),[g,_]=U.useState(null),v=U.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=U.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=U.useRef(null),C=U.useRef(null),w=U.useRef(u),T=c!=null,E=tt(c),D=tt(i),O=tt(l),k=U.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Ye(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!Qe(w.current,t)&&(w.current=t,Xe.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);Ze(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=U.useRef(!1);Ze(()=>(A.current=!0,()=>{A.current=!1}),[]),Ze(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=U.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=U.useMemo(()=>({reference:b,floating:x}),[b,x]),N=U.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=et(M.floating,u.x),r=et(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...$e(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return U.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var rt=(e,t)=>{let n=Ue(e);return{name:n.name,fn:n.fn,options:[e,t]}},it=(e,t)=>{let n=We(e);return{name:n.name,fn:n.fn,options:[e,t]}},at=(e,t)=>({fn:Je(e).fn,options:[e,t]}),ot=(e,t)=>{let n=Ge(e);return{name:n.name,fn:n.fn,options:[e,t]}},st=(e,t)=>{let n=Ke(e);return{name:n.name,fn:n.fn,options:[e,t]}},ct=(e,t)=>{let n=qe(e);return{name:n.name,fn:n.fn,options:[e,t]}};function lt(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=E(),o=k()!=null,s=a(()=>new O({open:t,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new j,floatingId:i,nested:o,noEmit:!1})).current;return y(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=w(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),s.update(e)},[t,i,r.reference,r.floating,s]),s.context.onOpenChange=n,s.context.nested=o,s.context.noEmit=!1,s}function ut(e={}){let{nodeId:t,externalTree:n}=e,r=lt(e),i=e.rootContext||r,a={reference:i.useState(`referenceElement`),floating:i.useState(`floatingElement`),domReference:i.useState(`domReferenceElement`)},[o,s]=U.useState(null),c=U.useRef(null),l=A(n);y(()=>{a.domReference&&(c.current=a.domReference)},[a.domReference]);let u=nt({...e,elements:{...a,...o&&{reference:o}}}),d=U.useCallback(e=>{let t=w(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),u.refs.setReference(t)},[u.refs]),[f,p]=U.useState(null),[m,h]=U.useState(null);i.useSyncedValue(`referenceElement`,f),i.useSyncedValue(`domReferenceElement`,w(f)?f:null),i.useSyncedValue(`floatingElement`,m);let g=U.useCallback(e=>{(w(e)||e===null)&&(c.current=e,p(e)),(w(u.refs.reference.current)||u.refs.reference.current===null||e!==null&&!w(e))&&u.refs.setReference(e)},[u.refs,p]),_=U.useCallback(e=>{h(e),u.refs.setFloating(e)},[u.refs]),v=U.useMemo(()=>({...u.refs,setReference:g,setFloating:_,setPositionReference:d,domReference:c}),[u.refs,g,_,d]),b=U.useMemo(()=>({...u.elements,domReference:a.domReference}),[u.elements,a.domReference]),x=i.useState(`open`),S=i.useState(`floatingId`),C=U.useMemo(()=>({...u,dataRef:i.context.dataRef,open:x,onOpenChange:i.setOpen,events:i.context.events,floatingId:S,refs:v,elements:b,nodeId:t,rootStore:i}),[u,v,b,t,i,x,S]);return y(()=>{i.context.dataRef.current.floatingContext=C;let e=l?.nodesRef.current.find(e=>e.id===t);e&&(e.context=C)}),U.useMemo(()=>({...u,context:C,refs:v,elements:b,rootStore:i}),[u,v,b,C,i])}function dt(e){let t=U.useRef(!0);t.current&&(t.current=!1,e())}var ft=U.createContext(void 0);function pt(){return U.useContext(ft)?.direction??`ltr`}var mt=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0,offsetParent:d=`real`}=R(e,t)||{};if(l==null)return{};let f=re(u),p={x:n,y:r},m=oe(i),h=ne(m),g=await o.getDimensions(l),_=m===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,b=_?`clientHeight`:`clientWidth`,x=a.reference[h]+a.reference[m]-p[m]-a.floating[h],S=p[m]-a.reference[m],C=d===`real`?await o.getOffsetParent?.(l):s.floating,w=s.floating[b]||a.floating[h];(!w||!await o.isElement?.(C))&&(w=s.floating[b]||a.floating[h]);let T=x/2-S/2,E=w/2-g[h]/2-1,D=Math.min(f[v],E),O=Math.min(f[y],E),k=D,A=w-g[h]-O,j=w/2-g[h]/2+T,M=ie(k,j,A),N=!c.arrow&&z(i)!=null&&j!==M&&a.reference[h]/2-(j({...mt(e),options:[e,t]}),gt={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0;return{data:{referenceHidden:(await ct().fn(e)).data?.referenceHidden||a}}}},_t={sideX:`left`,sideY:`top`},vt={name:`adaptiveOrigin`,async fn(e){let{x:t,y:n,rects:{floating:r},elements:{floating:i},platform:a,strategy:o,placement:s}=e,c=u(i),l=c.getComputedStyle(i);if(!(l.transitionDuration!==`0s`&&l.transitionDuration!==``))return{x:t,y:n,data:_t};let d=await a.getOffsetParent?.(i),f={width:0,height:0};if(o===`fixed`&&c?.visualViewport)f={width:c.visualViewport.width,height:c.visualViewport.height};else if(d===c){let e=T(i);f={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await a.isElement?.(d)&&(f=await a.getDimensions(d));let p=L(s),m=t,h=n;p===`left`&&(m=f.width-(t+r.width)),p===`top`&&(h=f.height-(n+r.height));let g=p===`left`?`right`:_t.sideX,_=p===`top`?`bottom`:_t.sideY;return{x:m,y:h,data:{sideX:g,sideY:_}}}};function yt(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function bt(e,t,n){let{rects:r,placement:i}=e;return{side:yt(t,L(i),n),align:z(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function xt(e){let{anchor:t,positionMethod:n=`absolute`,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,collisionBoundary:s,collisionPadding:c=5,sticky:l=!1,arrowPadding:u=5,disableAnchorTracking:d=!1,keepMounted:p=!1,floatingRootContext:m,mounted:h,collisionAvoidance:g,shiftCrossAxis:_=!1,nodeId:v,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,[C,w]=U.useState(null);!h&&C!==null&&w(null);let E=g.side||`flip`,O=g.align||`flip`,k=g.fallbackAxisSide||`end`,A=typeof t==`function`?t:void 0,j=f(A),M=A?j:t,N=D(t),P=pt()===`rtl`,ee=C||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":P?`left`:`right`,"inline-start":P?`right`:`left`}[r],te=a===`center`?ee:`${ee}-${a}`,F=c,R=+(r===`bottom`),ne=+(r===`top`),re=+(r===`right`),ie=+(r===`left`);typeof F==`number`?F={top:F+R,right:F+ie,bottom:F+ne,left:F+re}:F&&={top:(F.top||0)+R,right:(F.right||0)+ie,bottom:(F.bottom||0)+ne,left:(F.left||0)+re};let ae={boundary:s===`clipping-ancestors`?`clippingAncestors`:s,padding:F},B=U.useRef(null),oe=D(i),se=D(o),V=[rt(e=>{let t=bt(e,r,P),n=typeof oe.current==`function`?oe.current(t):oe.current,i=typeof se.current==`function`?se.current(t):se.current;return{mainAxis:n,crossAxis:i,alignmentAxis:i}},[typeof i==`function`?0:i,typeof o==`function`?0:o,P,r])],ce=O===`none`&&E!==`shift`,H=!ce&&(l||_||E===`shift`),le=E===`none`?null:ot({...ae,padding:{top:F.top+1,right:F.right+1,bottom:F.bottom+1,left:F.left+1},mainAxis:!_&&E===`flip`,crossAxis:O===`flip`?`alignment`:!1,fallbackAxisSideDirection:k}),ue=ce?null:it(e=>{let t=T(e.elements.floating).documentElement;return{...ae,rootBoundary:_?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:O!==`none`,crossAxis:H,limiter:l||_?void 0:at(e=>{if(!B.current)return{};let{width:t,height:n}=B.current.getBoundingClientRect(),r=I(L(e.placement)),i=r===`y`?t:n,a=r===`y`?F.left+F.right:F.top+F.bottom;return{offset:i/2+a/2}})}},[ae,l,_,F,O]);E===`shift`||O===`shift`||a===`center`?V.push(ue,le):V.push(le,ue),V.push(st({...ae,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){let i=e.style;i.setProperty(`--available-width`,`${t}px`),i.setProperty(`--available-height`,`${n}px`);let a=window.devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(`--anchor-width`,`${u}px`),i.setProperty(`--anchor-height`,`${d}px`)}}),ht(()=>({element:B.current||document.createElement(`div`),padding:u,offsetParent:`floating`}),[u]),{name:`transformOrigin`,fn(e){let{elements:t,middlewareData:n,placement:a,rects:o,y:s}=e,c=L(a),l=I(c),u=B.current,d=n.arrow?.x||0,f=n.arrow?.y||0,p=u?.clientWidth||0,m=u?.clientHeight||0,h=d+p/2,g=f+m/2,_=Math.abs(n.shift?.y||0),v=o.reference.height/2,y=typeof i==`function`?i(bt(e,r,P)):i,b=_>y,x={top:`${h}px calc(100% + ${y}px)`,bottom:`${h}px ${-y}px`,left:`calc(100% + ${y}px) ${g}px`,right:`${-y}px ${g}px`}[c],S=`${h}px ${o.reference.y+v-s}px`;return t.floating.style.setProperty(`--transform-origin`,H&&l===`y`&&b?S:x),{}}},gt,b),y(()=>{!h&&m&&m.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[h,m]);let de=U.useMemo(()=>({elementResize:!d&&typeof ResizeObserver<`u`,layoutShift:!d&&typeof IntersectionObserver<`u`}),[d]),{refs:W,elements:G,x:fe,y:pe,middlewareData:K,update:q,placement:me,context:he,isPositioned:J,floatingStyles:ge}=ut({rootContext:m,placement:te,middleware:V,strategy:n,whileElementsMounted:p?void 0:(...e)=>He(...e,de),nodeId:v,externalTree:S}),{sideX:_e,sideY:ve}=K.adaptiveOrigin||_t,Y=J?n:`fixed`,X=U.useMemo(()=>{let e=b?{position:Y,[_e]:fe,[ve]:pe}:{position:Y,...ge};return J||(e.opacity=0),e},[b,Y,_e,fe,ve,pe,ge,J]),ye=U.useRef(null);y(()=>{if(!h)return;let e=N.current,t=typeof e==`function`?e():e,n=(St(t)?t.current:t)||null;n!==ye.current&&(W.setPositionReference(n),ye.current=n)},[h,W,M,N]),U.useEffect(()=>{if(!h)return;let e=N.current;typeof e!=`function`&&St(e)&&e.current!==ye.current&&(W.setPositionReference(e.current),ye.current=e.current)},[h,W,M,N]),U.useEffect(()=>{if(p&&h&&G.domReference&&G.floating)return He(G.domReference,G.floating,q,de)},[p,h,G,q,de]);let Z=L(me),be=yt(r,Z,P),Q=z(me)||`center`,$=!!K.hide?.referenceHidden;y(()=>{x&&h&&J&&w(Z)},[x,h,J,Z]);let xe=U.useMemo(()=>({position:`absolute`,top:K.arrow?.y,left:K.arrow?.x}),[K.arrow]),Se=K.arrow?.centerOffset!==0;return U.useMemo(()=>({positionerStyles:X,arrowStyles:xe,arrowRef:B,arrowUncentered:Se,side:be,align:Q,physicalSide:Z,anchorHidden:$,refs:W,context:he,isPositioned:J,update:q}),[X,xe,B,Se,be,Q,Z,$,W,he,J,q])}function St(e){return e!=null&&`current`in e}function Ct(e){return e===`starting`?r:i}export{dt as a,pt as i,xt as n,lt as o,vt as r,ze as s,Ct as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/index.js b/spinifex/services/spinifexui/frontend/dist/assets/index.js index f602d67ca..62386f6b3 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/index.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/index.js @@ -1,10 +1,10 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login.js","assets/compiler-runtime.js","assets/awsClient.js","assets/SignatureV4.js","assets/fromUtf8.browser.js","assets/toUtf8.browser.js","assets/DescribeInstancesCommand.js","assets/collapsible.js","assets/button.js","assets/dist.js","assets/separator.js","assets/createBaseUIEventDetails.js","assets/useTransitionStatus.js","assets/input.js","assets/zod.js","assets/card.js","assets/field.js","assets/route.js","assets/Match.js","assets/useStore.js","assets/matchContext.js","assets/redirect.js","assets/_auth.js","assets/ec22.js","assets/queryOptions.js","assets/s32.js","assets/admin-context.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/createLucideIcon.js","assets/chevron-down.js","assets/chevron-right.js","assets/shield.js","assets/page-heading.js","assets/state-badge.js","assets/admin.js","assets/nodes.js","assets/service-metrics.js","assets/ls.js","assets/useSuspenseQuery.js","assets/list-card.js","assets/create-bucket.js","assets/s3.js","assets/error-banner.js","assets/mutation.js","assets/useNavigate.js","assets/back-link.js","assets/cli-command-panel.js","assets/check.js","assets/copy.js","assets/use-copy-to-clipboard.js","assets/form-actions.js","assets/create-user.js","assets/iam.js","assets/iam3.js","assets/create-policy.js","assets/textarea.js","assets/create-vpc.js","assets/ec2.js","assets/select.js","assets/useOpenInteractionType.js","assets/getDisabledMountTransitionStyles.js","assets/ec23.js","assets/create-volume.js","assets/create-target-group.js","assets/elbv2.js","assets/target-group-form.js","assets/plus.js","assets/trash-2.js","assets/elbv23.js","assets/create-subnet.js","assets/create-security-group.js","assets/create-placement-group.js","assets/create-load-balancer.js","assets/elbv22.js","assets/lb-image-missing-banner.js","assets/system-managed.js","assets/import-key-pair.js","assets/create-key-pair.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/download.js","assets/triangle-alert.js","assets/run-instances.js","assets/route2.js","assets/list-users.js","assets/iam2.js","assets/list-policies.js","assets/describe-vpcs.js","assets/describe-volumes.js","assets/describe-target-groups.js","assets/describe-subnets.js","assets/describe-snapshots.js","assets/describe-security-groups.js","assets/describe-placement-groups.js","assets/describe-load-balancers.js","assets/describe-key-pairs.js","assets/describe-instances.js","assets/describe-images.js"])))=>i.map(i=>d[i]); -import{a as e,i as t,n,r,t as i}from"./compiler-runtime.js";import{M as a,O as o,S as s,T as c,_ as l,b as u,c as d,d as f,f as p,g as m,h,j as g,m as _,n as v,p as y,s as b,t as x,x as S,y as C}from"./QueryClientProvider.js";import{t as w}from"./query.js";import{t as T}from"./mutation.js";import{U as E,W as ee,_ as D,a as te,i as ne,j as re,k as ie,s as ae,t as O,z as k}from"./useStore.js";import{n as oe}from"./matchContext.js";import{a as se,i as ce,n as le,o as ue,r as A,s as de,t as fe}from"./Match.js";import{n as pe}from"./redirect.js";import{t as me}from"./link.js";import{n as j,r as he,t as M}from"./lazyRouteComponent.js";import{t as ge}from"./useNavigate.js";import{cn as N,hn as _e,t as ve}from"./awsClient.js";import{g as ye,m as be,n as xe,o as Se,p as Ce,t as we}from"./dist.js";import{i as Te,n as Ee,t as De}from"./admin-context.js";import{I as P,S as Oe,x as ke}from"./SignatureV4.js";import{t as Ae}from"./createLucideIcon.js";import{n as je,t as Me}from"./_id.js";import{a as Ne,i as Pe,n as Fe,r as Ie,t as Le}from"./shield.js";import{n as Re,t as ze}from"./_id2.js";import{_ as Be,b as Ve,c as He,n as Ue,o as We,t as Ge,y as Ke}from"./button.js";import{t as qe}from"./separator.js";import{B as Je,L as Ye,N as Xe,R as Ze,S as Qe,T as $e,V as et,_ as tt,f as nt,g as rt,i as it,p as at,s as ot,t as st,u as ct,w as lt,y as ut}from"./createBaseUIEventDetails.js";import{a as dt,l as ft,n as pt}from"./useTransitionStatus.js";import{A as mt,B as ht,Ct as gt,D as _t,Dt as vt,F as yt,G as bt,H as xt,L as St,M as Ct,N as wt,O as Tt,Ot as Et,S as Dt,U as Ot,k as kt,kt as At,w as jt,x as Mt}from"./useOpenInteractionType.js";import"./input.js";import{a as Nt,c as Pt,d as Ft,f as It,g as Lt,h as Rt,i as zt,l as Bt,m as Vt,n as Ht,o as Ut,p as Wt,r as Gt,s as Kt,t as qt,u as Jt}from"./DialogTitle.js";import{a as Yt,n as Xt,r as Zt,t as Qt}from"./getDisabledMountTransitionStyles.js";import{_ as $t,a as en,c as tn,h as nn,o as rn,p as an,r as on,t as sn,u as cn,x as ln,y as un}from"./ec22.js";import{c as dn,i as fn}from"./elbv22.js";import{r as pn,s as mn}from"./iam2.js";import{n as hn}from"./s32.js";import{t as gn}from"./create-snapshot.js";import{t as _n}from"./_bucket.js";import{t as vn}from"./_.js";import{t as yn}from"./_userName.js";import{t as bn}from"./_policyArn.js";import{t as xn}from"./_id3.js";import{t as Sn}from"./_id4.js";import{t as Cn}from"./_id5.js";import{t as wn}from"./_id6.js";import{t as Tn}from"./_id7.js";import{t as En}from"./_id8.js";import{t as Dn}from"./_id9.js";import{t as On}from"./_id10.js";import{t as kn}from"./_id11.js";import{t as An}from"./_id12.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function jn(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{f(e,()=>t.signal,()=>n=!0)},u=_(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?y:p;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Nn:Mn,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Mn(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(ct.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Mn(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Nn(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Pn=class extends a{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new T({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Fn(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Fn(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Fn(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Fn(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){d.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>C(t,e))}findAll(e={}){return this.getAll().filter(t=>C(e,t))}notify(e){d.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return d.batch(()=>Promise.all(e.map(e=>e.continue().catch(S))))}};function Fn(e){return e.options.scope?.id}var In=class extends a{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??l(r,t),a=this.get(i);return a||(a=new w({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){d.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>u(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>u(e,t)):t}notify(e){d.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){d.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){d.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Ln=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new In,this.#t=e.mutationCache||new Pn,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=g.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=b.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(c(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=h(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return d.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;d.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return d.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=d.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(S).catch(S)}invalidateQueries(e,t={}){return d.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=d.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(S)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(S)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(c(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(S).catch(S)}fetchInfiniteQuery(e){return e.behavior=jn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(S).catch(S)}ensureInfiniteQueryData(e){return e.behavior=jn(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return b.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(m(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{s(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(m(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{s(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=l(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===o&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function Rn(e,t){if(e)return typeof e==`string`?e:e[t]}function zn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function Bn(e){if(typeof document<`u`&&document.querySelector){let t=e.stores.location.get(),n=t.state.__hashScrollIntoViewOptions??!0;if(n&&t.hash!==``){let e=document.getElementById(t.hash);e&&e.scrollIntoView(n)}}}var F=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(F||{});function Vn({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Hn(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Un=[],Wn=0,{link:Gn,unlink:Kn,propagate:qn,checkDirty:Jn,shallowPropagate:Yn}=Vn({update(e){return e._update()},notify(e){Un[Zn++]=e,e.flags&=~F.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=F.Mutable|F.Dirty,tr(e))}}),Xn=0,Zn=0,Qn,$n=0;function er(e){try{++$n,e()}finally{--$n||nr()}}function tr(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=Kn(n,e)}function nr(){if(!($n>0)){for(;Xn{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=Qn,o=t?.compare??Object.is;if(n)Qn=i,++Wn,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=F.Mutable|F.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{Qn=a,n&&(i.flags&=~F.RecursedCheck),tr(i)}}};return n?(i.flags=F.Mutable|F.Dirty,i.get=function(){let e=i.flags;if(e&F.Dirty||e&F.Pending&&Jn(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Yn(e)}}else e&F.Pending&&(i.flags=e&~F.Pending);return Qn!==void 0&&Gn(i,Qn,Wn),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(qn(e),Yn(e),nr())}},i}function ir(e){let t=()=>{let t=Qn;Qn=n,++Wn,n.depsTail=void 0,n.flags=F.Watching|F.RecursedCheck;try{return e()}finally{Qn=t,n.flags&=~F.RecursedCheck,tr(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:F.Watching|F.RecursedCheck,notify(){let e=this.flags;e&F.Dirty||e&F.Pending&&Jn(this.deps,this)?t():this.flags=F.Watching},stop(){this.flags=F.None,this.depsTail=void 0,tr(this)}};return t(),n}var I=e(r(),1);function ar(){let e=ne(),t=I.useRef({router:e,mounted:!1}),[n,r]=I.useState(!1),i=O(e.stores.isLoading,e=>e),a=O(e.stores.hasPending,e=>e),o=ee(i),s=i||n||a,c=ee(s),l=i||a,u=ee(l);return e.startTransition=e=>{r(!0),I.startTransition(()=>{e(),r(!1)})},I.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return D(e.latestLocation.publicHref)!==D(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),E(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),E(()=>{o&&!i&&e.emit({type:`onLoad`,...de(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),E(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...de(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),E(()=>{if(c&&!s){let t=de(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),er(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())}),t.hrefChanged&&Bn(e)}},[s,c,e]),null}var L=n();function or(){let e=ne(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,L.jsx)(t,{}):null,r=(0,L.jsxs)(typeof document<`u`&&e.ssr?A:I.Suspense,{fallback:n,children:[(0,L.jsx)(ar,{}),(0,L.jsx)(sr,{})]});return e.options.InnerWrap?(0,L.jsx)(e.options.InnerWrap,{children:r}):r}function sr(){let e=ne(),t=O(e.stores.firstId,e=>e),n=O(e.stores.loadedAt,e=>e),r=t?(0,L.jsx)(fe,{matchId:t}):null;return(0,L.jsx)(oe.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,L.jsx)(ce,{getResetKey:()=>n,errorComponent:se,onCatch:void 0,children:r})})}var cr=e=>({createMutableStore:rr,createReadonlyStore:rr,batch:er}),lr=e=>new ur(e),ur=class extends ue{constructor(e){super(e,cr)}};function dr({router:e,children:t,...n}){Object.keys(n).length>0&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,L.jsx)(te.Provider,{value:e,children:t});return e.options.Wrap?(0,L.jsx)(e.options.Wrap,{children:r}):r}function fr({router:e,...t}){return(0,L.jsx)(dr,{router:e,...t,children:(0,L.jsx)(or,{})})}function pr(e){let t=ne(),n=(0,I.useRef)(void 0);return O(t.stores.location,r=>{let i=e?.select?e.select(r):r;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=k(n.current,i);return n.current=e,e}return i})}function mr({tag:e,attrs:t,children:n,nonce:r}){switch(e){case`title`:return(0,L.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,L.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,L.jsx)(`link`,{...t,nonce:r,suppressHydrationWarning:!0});case`style`:return(0,L.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,L.jsx)(hr,{attrs:t,children:n});default:return null}}function hr({attrs:e,children:t}){ne();let n=ae(),r=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(I.useEffect(()=>{if(!r){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(e=>e.src===t))return;let n=document.createElement(`script`);for(let[t,r]of Object.entries(e))t!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&n.setAttribute(t,typeof r==`boolean`?``:String(r));return document.head.appendChild(n),()=>{n.parentNode&&n.parentNode.removeChild(n)}}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(e=>{if(!(e instanceof HTMLScriptElement))return!1;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;return e.textContent===t&&i===n&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=t,e)for(let[t,n]of Object.entries(e))t!==`suppressHydrationWarning`&&n!==void 0&&n!==!1&&i.setAttribute(t,typeof n==`boolean`?``:String(n));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}}},[e,t,r]),r&&typeof t==`string`)return(0,L.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!n){if(e?.src)return(0,L.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,L.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var gr=e=>{let t=ne(),n=t.options.ssr?.nonce,r=O(t.stores.matches,e=>e.map(e=>e.meta).filter(Boolean),ie),i=I.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:re(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=O(t.stores.matches,r=>{let i=r.map(e=>e.links).filter(Boolean).flat(1).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),a=t.ssr?.manifest,o=r.map(e=>a?.routes[e.routeId]?.assets??[]).filter(Boolean).flat(1).filter(e=>e.tag===`link`).map(t=>({tag:`link`,attrs:{...t.attrs,crossOrigin:Rn(e,`stylesheet`)??t.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:n}}));return[...i,...o]},ie),o=O(t.stores.matches,r=>{let i=[];return r.map(e=>t.looseRoutesById[e.routeId]).forEach(r=>t.ssr?.manifest?.routes[r.id]?.preloads?.filter(Boolean).forEach(t=>{let r=zn(t);i.push({tag:`link`,attrs:{rel:`modulepreload`,href:r.href,crossOrigin:Rn(e,`modulepreload`)??r.crossOrigin,nonce:n}})})),i},ie),s=O(t.stores.matches,e=>e.map(e=>e.styles).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),ie),c=O(t.stores.matches,e=>e.map(e=>e.headScripts).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),ie);return _r([...i,...o,...a,...s,...c],e=>JSON.stringify(e))};function _r(e,t){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function vr(e){let t=gr(e.assetCrossOrigin),n=ne().options.ssr?.nonce;return(0,L.jsx)(L.Fragment,{children:t.map(e=>(0,I.createElement)(mr,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var yr=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,D());else{var t=n(l);t!==null&&re(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&re(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?D():S=!1}}}var D;if(typeof y==`function`)D=function(){y(ee)};else if(typeof MessageChannel<`u`){var te=new MessageChannel,ne=te.port2;te.port1.onmessage=ee,D=function(){ne.postMessage(null)}}else D=function(){_(ee,0)};function re(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,re(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,D()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),br=t(((e,t)=>{t.exports=yr()})),xr=t((e=>{var t=br(),n=r(),i=_e();function a(e){var t=`https://react.dev/errors/`+e;if(1ce||(e.current=se[ce],se[ce]=null,ce--)}function A(e,t){ce++,se[ce]=e.current,e.current=t}var de=le(null),fe=le(null),pe=le(null),me=le(null);function j(e,t){switch(A(pe,t),A(fe,e),A(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ue(de),A(de,e)}function he(){ue(de),ue(fe),ue(pe)}function M(e){e.memoizedState!==null&&A(me,e);var t=de.current,n=Hd(t,e.type);t!==n&&(A(fe,e),A(de,n))}function ge(e){fe.current===e&&(ue(de),ue(fe)),me.current===e&&(ue(me),Qf._currentValue=oe)}var N,ve;function ye(e){if(N===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||``,ve=-1i.map(i=>d[i]); +import{a as e,i as t,n,r,t as i}from"./compiler-runtime.js";import{M as a,O as o,S as s,T as c,_ as l,b as u,c as d,d as f,f as p,g as m,h,j as g,m as _,n as v,p as y,s as b,t as x,x as S,y as C}from"./QueryClientProvider.js";import{t as w}from"./query.js";import{t as T}from"./mutation.js";import{U as E,W as D,_ as O,a as ee,i as te,j as ne,k as re,s as ie,t as k,z as A}from"./useStore.js";import{n as ae}from"./matchContext.js";import{a as oe,i as se,n as ce,o as le,r as j,s as ue,t as de}from"./Match.js";import{n as fe}from"./redirect.js";import{t as pe}from"./link.js";import{n as M,r as me,t as N}from"./lazyRouteComponent.js";import{t as he}from"./useNavigate.js";import{cn as P,hn as ge,t as _e}from"./awsClient.js";import{g as ve,m as ye,n as be,o as xe,p as Se,t as Ce}from"./dist.js";import{i as we,n as Te,t as Ee}from"./admin-context.js";import{I as F,S as De,x as Oe}from"./SignatureV4.js";import{t as ke}from"./createLucideIcon.js";import{n as Ae,t as je}from"./_id.js";import{a as Me,i as Ne,n as Pe,r as Fe,t as Ie}from"./shield.js";import{n as Le,t as Re}from"./_id2.js";import{_ as ze,b as Be,c as Ve,n as He,o as Ue,t as We,y as Ge}from"./button.js";import{t as Ke}from"./separator.js";import{_ as qe,b as Je,f as Ye,g as Xe,i as Ze,p as Qe,s as $e,t as et,u as tt,v as nt,y as rt}from"./createBaseUIEventDetails.js";import{o as it,r as at,t as ot,u as st}from"./addEventListener.js";import{A as I,Bt as ct,C as lt,Ft as ut,G as dt,H as ft,I as pt,Mt as mt,N as ht,O as gt,P as _t,Pt as vt,R as yt,S as bt,T as xt,Tt as St,Ut as Ct,V as wt,Vt as Tt,W as Et,Wt as Dt,i as Ot,j as kt,jt as At,k as jt,kt as Mt,q as Nt}from"./useOpenInteractionType.js";import"./input.js";import{c as Pt,d as Ft,f as It,g as Lt,h as Rt,l as zt,m as Bt,n as Vt,o as Ht,p as Ut,s as Wt,t as Gt,u as Kt}from"./DialogTitle.js";import{i as qt,n as Jt,r as Yt,t as Xt}from"./usePositioner.js";import{_ as Zt,a as Qt,c as $t,h as en,o as tn,p as nn,r as rn,t as an,u as on,x as sn,y as cn}from"./ec22.js";import{c as ln,i as un}from"./elbv22.js";import{r as dn,s as fn}from"./iam2.js";import{n as pn}from"./s32.js";import{t as mn}from"./create-snapshot.js";import{t as hn}from"./_bucket.js";import{t as gn}from"./_.js";import{t as _n}from"./_userName.js";import{t as vn}from"./_policyArn.js";import{t as yn}from"./_id3.js";import{t as bn}from"./_id4.js";import{t as xn}from"./_id5.js";import{t as Sn}from"./_id6.js";import{t as Cn}from"./_id7.js";import{t as wn}from"./_id8.js";import{t as Tn}from"./_id9.js";import{t as En}from"./_id10.js";import{t as Dn}from"./_id11.js";import{t as On}from"./_id12.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function kn(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{f(e,()=>t.signal,()=>n=!0)},u=_(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?y:p;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?jn:An,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:An(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(ct.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function An(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function jn(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Mn=class extends a{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new T({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Nn(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Nn(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Nn(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Nn(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){d.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>C(t,e))}findAll(e={}){return this.getAll().filter(t=>C(e,t))}notify(e){d.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return d.batch(()=>Promise.all(e.map(e=>e.continue().catch(S))))}};function Nn(e){return e.options.scope?.id}var Pn=class extends a{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??l(r,t),a=this.get(i);return a||(a=new w({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){d.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>u(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>u(e,t)):t}notify(e){d.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){d.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){d.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Fn=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Pn,this.#t=e.mutationCache||new Mn,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=g.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=b.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(c(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=h(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return d.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;d.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return d.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=d.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(S).catch(S)}invalidateQueries(e,t={}){return d.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=d.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(S)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(S)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(c(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(S).catch(S)}fetchInfiniteQuery(e){return e.behavior=kn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(S).catch(S)}ensureInfiniteQueryData(e){return e.behavior=kn(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return b.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(m(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{s(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(m(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{s(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=l(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===o&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function In(e,t){if(e)return typeof e==`string`?e:e[t]}function Ln(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function Rn(e){if(typeof document<`u`&&document.querySelector){let t=e.stores.location.get(),n=t.state.__hashScrollIntoViewOptions??!0;if(n&&t.hash!==``){let e=document.getElementById(t.hash);e&&e.scrollIntoView(n)}}}var L=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(L||{});function zn({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Bn(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Vn=[],Hn=0,{link:Un,unlink:Wn,propagate:Gn,checkDirty:Kn,shallowPropagate:qn}=zn({update(e){return e._update()},notify(e){Vn[Yn++]=e,e.flags&=~L.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=L.Mutable|L.Dirty,$n(e))}}),Jn=0,Yn=0,Xn,Zn=0;function Qn(e){try{++Zn,e()}finally{--Zn||er()}}function $n(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=Wn(n,e)}function er(){if(!(Zn>0)){for(;Jn{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=Xn,o=t?.compare??Object.is;if(n)Xn=i,++Hn,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=L.Mutable|L.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{Xn=a,n&&(i.flags&=~L.RecursedCheck),$n(i)}}};return n?(i.flags=L.Mutable|L.Dirty,i.get=function(){let e=i.flags;if(e&L.Dirty||e&L.Pending&&Kn(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&qn(e)}}else e&L.Pending&&(i.flags=e&~L.Pending);return Xn!==void 0&&Un(i,Xn,Hn),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(Gn(e),qn(e),er())}},i}function nr(e){let t=()=>{let t=Xn;Xn=n,++Hn,n.depsTail=void 0,n.flags=L.Watching|L.RecursedCheck;try{return e()}finally{Xn=t,n.flags&=~L.RecursedCheck,$n(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:L.Watching|L.RecursedCheck,notify(){let e=this.flags;e&L.Dirty||e&L.Pending&&Kn(this.deps,this)?t():this.flags=L.Watching},stop(){this.flags=L.None,this.depsTail=void 0,$n(this)}};return t(),n}var R=e(r(),1);function rr(){let e=te(),t=R.useRef({router:e,mounted:!1}),[n,r]=R.useState(!1),i=k(e.stores.isLoading,e=>e),a=k(e.stores.hasPending,e=>e),o=D(i),s=i||n||a,c=D(s),l=i||a,u=D(l);return e.startTransition=e=>{r(!0),R.startTransition(()=>{e(),r(!1)})},R.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return O(e.latestLocation.publicHref)!==O(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),E(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),E(()=>{o&&!i&&e.emit({type:`onLoad`,...ue(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),E(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...ue(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),E(()=>{if(c&&!s){let t=ue(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),Qn(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())}),t.hrefChanged&&Rn(e)}},[s,c,e]),null}var z=n();function ir(){let e=te(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,z.jsx)(t,{}):null,r=(0,z.jsxs)(typeof document<`u`&&e.ssr?j:R.Suspense,{fallback:n,children:[(0,z.jsx)(rr,{}),(0,z.jsx)(ar,{})]});return e.options.InnerWrap?(0,z.jsx)(e.options.InnerWrap,{children:r}):r}function ar(){let e=te(),t=k(e.stores.firstId,e=>e),n=k(e.stores.loadedAt,e=>e),r=t?(0,z.jsx)(de,{matchId:t}):null;return(0,z.jsx)(ae.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,z.jsx)(se,{getResetKey:()=>n,errorComponent:oe,onCatch:void 0,children:r})})}var or=e=>({createMutableStore:tr,createReadonlyStore:tr,batch:Qn}),sr=e=>new cr(e),cr=class extends le{constructor(e){super(e,or)}};function lr({router:e,children:t,...n}){Object.keys(n).length>0&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,z.jsx)(ee.Provider,{value:e,children:t});return e.options.Wrap?(0,z.jsx)(e.options.Wrap,{children:r}):r}function ur({router:e,...t}){return(0,z.jsx)(lr,{router:e,...t,children:(0,z.jsx)(ir,{})})}function dr(e){let t=te(),n=(0,R.useRef)(void 0);return k(t.stores.location,r=>{let i=e?.select?e.select(r):r;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=A(n.current,i);return n.current=e,e}return i})}function fr({tag:e,attrs:t,children:n,nonce:r}){switch(e){case`title`:return(0,z.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,z.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,z.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return(0,z.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,z.jsx)(pr,{attrs:t,children:n});default:return null}}function pr({attrs:e,children:t}){te();let n=ie(),r=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(R.useEffect(()=>{if(!r){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(e=>e.src===t))return;let n=document.createElement(`script`);for(let[t,r]of Object.entries(e))t!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&n.setAttribute(t,typeof r==`boolean`?``:String(r));return document.head.appendChild(n),()=>{n.parentNode&&n.parentNode.removeChild(n)}}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(e=>{if(!(e instanceof HTMLScriptElement))return!1;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;return e.textContent===t&&i===n&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=t,e)for(let[t,n]of Object.entries(e))t!==`suppressHydrationWarning`&&n!==void 0&&n!==!1&&i.setAttribute(t,typeof n==`boolean`?``:String(n));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}}},[e,t,r]),r&&typeof t==`string`)return(0,z.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!n){if(e?.src)return(0,z.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,z.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var mr=e=>{let t=te(),n=t.options.ssr?.nonce,r=k(t.stores.matches,e=>e.map(e=>e.meta).filter(Boolean),re),i=R.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:ne(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=k(t.stores.matches,r=>{let i=r.map(e=>e.links).filter(Boolean).flat(1).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),a=t.ssr?.manifest,o=r.map(e=>a?.routes[e.routeId]?.assets??[]).filter(Boolean).flat(1).filter(e=>e.tag===`link`).map(t=>({tag:`link`,attrs:{...t.attrs,crossOrigin:In(e,`stylesheet`)??t.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:n}}));return[...i,...o]},re),o=k(t.stores.matches,r=>{let i=[];return r.map(e=>t.looseRoutesById[e.routeId]).forEach(r=>t.ssr?.manifest?.routes[r.id]?.preloads?.filter(Boolean).forEach(t=>{let r=Ln(t);i.push({tag:`link`,attrs:{rel:`modulepreload`,href:r.href,crossOrigin:In(e,`modulepreload`)??r.crossOrigin,nonce:n}})})),i},re),s=k(t.stores.matches,e=>e.map(e=>e.styles).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),re),c=k(t.stores.matches,e=>e.map(e=>e.headScripts).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),re);return hr([...i,...o,...a,...s,...c],e=>JSON.stringify(e))};function hr(e,t){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function gr(e){let t=mr(e.assetCrossOrigin),n=te().options.ssr?.nonce;return(0,z.jsx)(z.Fragment,{children:t.map(e=>(0,R.createElement)(fr,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var _r=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&ne(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ne(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var ee=new MessageChannel,te=ee.port2;ee.port1.onmessage=D,O=function(){te.postMessage(null)}}else O=function(){_(D,0)};function ne(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,ne(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),vr=t(((e,t)=>{t.exports=_r()})),yr=t((e=>{var t=vr(),n=r(),i=ge();function a(e){var t=`https://react.dev/errors/`+e;if(1se||(e.current=oe[se],oe[se]=null,se--)}function j(e,t){se++,oe[se]=e.current,e.current=t}var ue=ce(null),de=ce(null),fe=ce(null),pe=ce(null);function M(e,t){switch(j(fe,t),j(de,e),j(ue,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}le(ue),j(ue,e)}function me(){le(ue),le(de),le(fe)}function N(e){e.memoizedState!==null&&j(pe,e);var t=ue.current,n=Hd(t,e.type);t!==n&&(j(de,e),j(ue,n))}function he(e){de.current===e&&(le(ue),le(de)),pe.current===e&&(le(pe),Qf._currentValue=ae)}var P,_e;function ve(e){if(P===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||``,_e=-1)`:-1i||c[r]!==l[i]){var u=` -`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{be=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ye(n):``}function Se(e,t){switch(e.tag){case 26:case 27:case 5:return ye(e.type);case 16:return ye(`Lazy`);case 13:return e.child!==t&&t!==null?ye(`Suspense Fallback`):ye(`Suspense`);case 19:return ye(`SuspenseList`);case 0:case 15:return xe(e.type,!1);case 11:return xe(e.type.render,!1);case 1:return xe(e.type,!0);case 31:return ye(`Activity`);default:return``}}function Ce(e){try{var t=``,n=null;do t+=Se(e,n),n=e,e=e.return;while(e);return t}catch(e){return` +`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{ye=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ve(n):``}function xe(e,t){switch(e.tag){case 26:case 27:case 5:return ve(e.type);case 16:return ve(`Lazy`);case 13:return e.child!==t&&t!==null?ve(`Suspense Fallback`):ve(`Suspense`);case 19:return ve(`SuspenseList`);case 0:case 15:return be(e.type,!1);case 11:return be(e.type.render,!1);case 1:return be(e.type,!0);case 31:return ve(`Activity`);default:return``}}function Se(e){try{var t=``,n=null;do t+=xe(e,n),n=e,e=e.return;while(e);return t}catch(e){return` Error generating stack: `+e.message+` -`+e.stack}}var we=Object.prototype.hasOwnProperty,Te=t.unstable_scheduleCallback,Ee=t.unstable_cancelCallback,De=t.unstable_shouldYield,P=t.unstable_requestPaint,Oe=t.unstable_now,ke=t.unstable_getCurrentPriorityLevel,Ae=t.unstable_ImmediatePriority,je=t.unstable_UserBlockingPriority,Me=t.unstable_NormalPriority,Ne=t.unstable_LowPriority,Pe=t.unstable_IdlePriority,Fe=t.log,Ie=t.unstable_setDisableYieldValue,Le=null,Re=null;function ze(e){if(typeof Fe==`function`&&Ie(e),Re&&typeof Re.setStrictMode==`function`)try{Re.setStrictMode(Le,e)}catch{}}var Be=Math.clz32?Math.clz32:Ue,Ve=Math.log,He=Math.LN2;function Ue(e){return e>>>=0,e===0?32:31-(Ve(e)/He|0)|0}var We=256,Ge=262144,Ke=4194304;function qe(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Je(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=qe(n))):i=qe(o):i=qe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=qe(n))):i=qe(o)):i=qe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ye(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Xe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ze(){var e=Ke;return Ke<<=1,!(Ke&62914560)&&(Ke=4194304),e}function Qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $e(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function et(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0`u`||window.document===void 0||window.document.createElement===void 0),pn=!1;if(fn)try{var mn={};Object.defineProperty(mn,`passive`,{get:function(){pn=!0}}),window.addEventListener(`test`,mn,mn),window.removeEventListener(`test`,mn,mn)}catch{pn=!1}var hn=null,gn=null,_n=null;function vn(){if(_n)return _n;var e,t=gn,n=t.length,r,i=`value`in hn?hn.value:hn.textContent,a=i.length;for(e=0;e=Yn),Qn=` `,$n=!1;function er(e,t){switch(e){case`keyup`:return qn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function tr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var nr=!1;function rr(e,t){switch(e){case`compositionend`:return tr(t);case`keypress`:return t.which===32?($n=!0,Qn):null;case`textInput`:return e=t.data,e===Qn&&$n?null:e;default:return null}}function ir(e,t){if(nr)return e===`compositionend`||!Jn&&er(e,t)?(e=vn(),_n=gn=hn=null,nr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=wr(n)}}function Er(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Er(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=zt(e.document)}return t}function Or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var kr=fn&&`documentMode`in document&&11>=document.documentMode,Ar=null,jr=null,Mr=null,Nr=!1;function Pr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Nr||Ar==null||Ar!==zt(r)||(r=Ar,`selectionStart`in r&&Or(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mr&&Cr(Mr,r)||(Mr=r,r=Ed(jr,`onSelect`),0>=o,i-=o,Ti=1<<32-Be(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),V&&Di(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),V&&Di(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return V&&Di(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),V&&Di(i,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===_&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case h:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===_){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&Ta(l)===r.type){n(e,r.sibling),c=i(r,o.props),Ma(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===_?(c=fi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=z(o.type,o.key,o.props,null,e.mode,c),Ma(c,o),c.return=e,e=c)}return s(e);case g:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=hi(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=Ta(o),b(e,r,o,c)}if(ae(o))return v(e,r,o,c);if(ne(o)){if(l=ne(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ja(o),c);if(o.$$typeof===x)return b(e,r,ea(e,o),c);Na(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=pi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Aa=0;var i=b(e,t,n,r);return ka=null,i}catch(t){if(t===H||t===xa)throw t;var a=ci(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ai(e),ii(e,null,n),t}return ti(e,r,t,n),ai(e)}function Ha(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Wa=!1;function Ga(){if(Wa){var e=da;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,m=f!==s.lane;if(m?(Y&f)===f:(r&f)===f){f!==0&&f===ua&&(Wa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=p({},d,f);break a;case 2:La=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Gl|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=O.T,s={};O.T=s,Ms(e,!1,t,n);try{var c=i(),l=O.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?js(e,t,ma(c,r),pu(e)):js(e,t,r,pu(e))}catch(n){js(e,t,{then:function(){},status:`rejected`,reason:n},pu())}finally{k.p=a,o!==null&&s.types!==null&&(o.types=s.types),O.T=o}}function xs(){}function Ss(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=Cs(e).queue;bs(e,i,t,oe,n===null?xs:function(){return ws(e),n(r)})}function Cs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ws(e){var t=Cs(e);t.next===null&&(t=e.alternate.memoizedState),js(e,t.next.queue,{},pu())}function Ts(){return $i(Qf)}function Es(){return Oo().memoizedState}function Ds(){return Oo().memoizedState}function Os(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=pu();e=Ba(n);var r=Va(t,e,n);r!==null&&(hu(r,t,n),Ha(r,t,n)),t={cache:oa()},e.payload=t;return}t=t.return}}function ks(e,t,n){var r=pu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ns(e)?Ps(t,n):(n=ni(e,t,n,r),n!==null&&(hu(n,e,r),Fs(n,t,r)))}function As(e,t,n){js(e,t,n,pu())}function js(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ns(e))Ps(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,R(s,o))return ti(e,t,i,0),q===null&&ei(),!1}catch{}if(n=ni(e,t,i,r),n!==null)return hu(n,e,r),Fs(n,t,r),!0}return!1}function Ms(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ns(e)){if(t)throw Error(a(479))}else t=ni(e,n,r,2),t!==null&&hu(t,e,2)}function Ns(e){var t=e.alternate;return e===W||t!==null&&t===W}function Ps(e,t){fo=uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}var Is={readContext:$i,use:jo,useCallback:vo,useContext:vo,useEffect:vo,useImperativeHandle:vo,useLayoutEffect:vo,useInsertionEffect:vo,useMemo:vo,useReducer:vo,useRef:vo,useState:vo,useDebugValue:vo,useDeferredValue:vo,useTransition:vo,useSyncExternalStore:vo,useId:vo,useHostTransitionStatus:vo,useFormState:vo,useActionState:vo,useOptimistic:vo,useMemoCache:vo,useCacheRefresh:vo};Is.useEffectEvent=vo;var Ls={readContext:$i,use:jo,useCallback:function(e,t){return Do().memoizedState=[e,t===void 0?null:t],e},useContext:$i,useEffect:ss,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),as(4194308,4,ps.bind(null,t,e),n)},useLayoutEffect:function(e,t){return as(4194308,4,e,t)},useInsertionEffect:function(e,t){as(4,2,e,t)},useMemo:function(e,t){var n=Do();t=t===void 0?null:t;var r=e();if(po){ze(!0);try{e()}finally{ze(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Do();if(n!==void 0){var i=n(t);if(po){ze(!0);try{n(t)}finally{ze(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ks.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Do();return e={current:e},t.memoizedState=e},useState:function(e){e=Uo(e);var t=e.queue,n=As.bind(null,W,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:hs,useDeferredValue:function(e,t){return vs(Do(),e,t)},useTransition:function(){var e=Uo(!1);return e=bs.bind(null,W,e.queue,!0,!1),Do().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=W,i=Do();if(V){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),q===null)throw Error(a(349));Y&127||Ro(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ss(Bo.bind(null,r,o,e),[e]),r.flags|=2048,rs(9,{destroy:void 0},zo.bind(null,r,o,n,t),null),n},useId:function(){var e=Do(),t=q.identifierPrefix;if(V){var n=Ei,r=Ti;n=(r&~(1<<32-Be(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=mo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[lt]=t,o[ut]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Pd(o,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&jc(t)}}return Ic(t),Mc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=pe.current,zi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Mi,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[lt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ii(t,!0)}else e=Bd(e).createTextNode(r),e[lt]=t,t.stateNode=e}return Ic(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zi(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[lt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),e=!1}else n=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(a(558))}return Ic(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=zi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[lt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),i=!1}else i=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Pc(t,t.updateQueue),Ic(t),null);case 4:return he(),e===null&&Sd(t.stateNode.containerInfo),Ic(t),null;case 10:return qi(t.type),Ic(t),null;case 19:if(ue(so),r=t.memoizedState,r===null)return Ic(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Fc(r,!1);else{if(Wl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=co(e),o!==null){for(t.flags|=128,Fc(r,!1),e=o.updateQueue,t.updateQueue=e,Pc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)di(n,e),n=n.sibling;return A(so,so.current&1|2),V&&Di(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Oe()>tu&&(t.flags|=128,i=!0,Fc(r,!1),t.lanes=4194304)}else{if(!i)if(e=co(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Pc(t,e),Fc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!V)return Ic(t),null}else 2*Oe()-r.renderingStartTime>tu&&n!==536870912&&(t.flags|=128,i=!0,Fc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Ic(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Oe(),e.sibling=null,n=so.current,A(so,i?n&1|2:n&1),V&&Di(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Ic(t),t.subtreeFlags&6&&(t.flags|=8192)):Ic(t),n=t.updateQueue,n!==null&&Pc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ue(ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),qi(aa),Ic(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Rc(e,t){switch(Ai(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qi(aa),he(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ge(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(a(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(so),null;case 4:return he(),null;case 10:return qi(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&ue(ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qi(aa),null;case 25:return null;default:return null}}function zc(e,t){switch(Ai(t),t.tag){case 3:qi(aa),he();break;case 26:case 27:case 5:ge(t);break;case 4:he();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:ue(so);break;case 10:qi(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&ue(ga);break;case 24:qi(aa)}}function Bc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Vc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Hc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Z(e,e.return,t)}}}function Uc(e,t,n){n.props=Ws(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Wc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function Gc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}function Kc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function qc(e,t,n){try{var r=e.stateNode;Fd(r,e.type,n,t),r[ut]=t}catch(t){Z(e,e.return,t)}}function Jc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zd(e.type)||e.tag===4}function Yc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Jc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nn));else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Pd(t,r,n),t[lt]=e,t[ut]=n}catch(t){Z(e,e.return,t)}}var $c=!1,el=!1,tl=!1,nl=typeof WeakSet==`function`?WeakSet:Set,rl=null;function il(e,t){if(e=e.containerInfo,Rd=sp,e=Dr(e),Or(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(c=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===i&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(zd={focusedElem:e,selectionRange:n},sp=!1,rl=t;rl!==null;)if(t=rl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,rl=e;else for(;rl!==null;){switch(t=rl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n title`))),Pd(o,r,n),o[lt]=e,St(o),r=o;break a;case`link`:var s=Vf(`link`,`href`,i).get(r+(n.href||``));if(s){for(var c=0;cg&&(o=g,g=h,h=o);var _=Tr(s,h),v=Tr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,O.T=null,n=lu,lu=null;var o=au,s=su;if(iu=0,ou=au=null,su=0,K&6)throw Error(a(331));var c=K;if(K|=4,Pl(o.current),El(o,o.current,s,n),K=c,id(0,!1),Re&&typeof Re.onPostCommitFiberRoot==`function`)try{Re.onPostCommitFiberRoot(Le,o)}catch{}return!0}finally{k.p=i,O.T=r,Vu(e,t)}}function Wu(e,t,n){t=_i(n,t),t=Xs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&($e(e,2),rd(e))}function Z(e,t,n){if(e.tag===3)Wu(e,e,n);else for(;t!==null;){if(t.tag===3){Wu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ru===null||!ru.has(r))){e=_i(n,e),n=Zs(2),r=Va(t,n,2),r!==null&&(Qs(n,r,t,e),$e(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Hl=!0,i.add(n),e=Ku.bind(null,e,t,n),t.then(e,e))}function Ku(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(Wl===4||Wl===3&&(Y&62914560)===Y&&300>Oe()-$l?!(K&2)&&Su(e,0):ql|=n,Yl===Y&&(Yl=0)),rd(e)}function qu(e,t){t===0&&(t=Ze()),e=ri(e,t),e!==null&&($e(e,t),rd(e))}function Ju(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),qu(e,n)}function Yu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return Te(e,t)}var Zu=null,Qu=null,$u=!1,ed=!1,td=!1,nd=0;function rd(e){e!==Qu&&e.next===null&&(Qu===null?Zu=Qu=e:Qu=Qu.next=e),ed=!0,$u||($u=!0,ud())}function id(e,t){if(!td&&ed){td=!0;do for(var n=!1,r=Zu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Be(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ld(r,a))}else a=Y,a=Je(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ye(r,a)||(n=!0,ld(r,a));r=r.next}while(n);td=!1}}function ad(){od()}function od(){ed=$u=!1;var e=0;nd!==0&&Gd()&&(e=nd);for(var t=Oe(),n=null,r=Zu;r!==null;){var i=r.next,a=sd(r,t);a===0?(r.next=null,n===null?Zu=i:n.next=i,i===null&&(Qu=n)):(n=r,(e!==0||a&3)&&(ed=!0)),r=i}iu!==0&&iu!==5||id(e,!1),nd!==0&&(nd=0)}function sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&Id(d)&&(c=c.responseEnd,o+=u*(c`u`?null:document;function xf(e,t,n){var r=bf;if(r&&typeof t==`string`&&t){var i=Vt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),hf.has(i)||(hf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Pd(t,`link`,e),St(t),r.head.appendChild(t)))}}function Sf(e){_f.D(e),xf(`dns-prefetch`,e,null)}function Cf(e,t){_f.C(e,t),xf(`preconnect`,e,t)}function wf(e,t,n){_f.L(e,t,n);var r=bf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Vt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Vt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Vt(n.imageSizes)+`"]`)):i+=`[href="`+Vt(e)+`"]`;var a=i;switch(t){case`style`:a=Af(e);break;case`script`:a=Pf(e)}mf.has(a)||(e=p({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),mf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(jf(a))||t===`script`&&r.querySelector(Ff(a))||(t=r.createElement(`link`),Pd(t,`link`,e),St(t),r.head.appendChild(t)))}}function Tf(e,t){_f.m(e,t);var n=bf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Vt(r)+`"][href="`+Vt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Pf(e)}if(!mf.has(a)&&(e=p({rel:`modulepreload`,href:e},t),mf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Ff(a)))return}r=n.createElement(`link`),Pd(r,`link`,e),St(r),n.head.appendChild(r)}}}function Ef(e,t,n){_f.S(e,t,n);var r=bf;if(r&&e){var i=xt(r).hoistableStyles,a=Af(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(jf(a)))s.loading=5;else{e=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=mf.get(a))&&Rf(e,n);var c=o=r.createElement(`link`);St(c),Pd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Lf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Df(e,t){_f.X(e,t);var n=bf;if(n&&e){var r=xt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),St(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Of(e,t){_f.M(e,t);var n=bf;if(n&&e){var r=xt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),St(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t,n,r){var i=(i=pe.current)?gf(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Af(n.href),n=xt(i).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Af(n.href);var o=xt(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(jf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),mf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},mf.set(e,n),o||Nf(i,e,n,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Pf(n),n=xt(i).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Af(e){return`href="`+Vt(e)+`"`}function jf(e){return`link[rel="stylesheet"][`+e+`]`}function Mf(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function Nf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Pd(t,`link`,n),St(t),e.head.appendChild(t))}function Pf(e){return`[src="`+Vt(e)+`"]`}function Ff(e){return`script[async]`+e}function If(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Vt(n.href)+`"]`);if(r)return t.instance=r,St(r),r;var i=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),St(r),Pd(r,`style`,i),Lf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Af(n.href);var o=e.querySelector(jf(i));if(o)return t.state.loading|=4,t.instance=o,St(o),o;r=Mf(n),(i=mf.get(i))&&Rf(r,i),o=(e.ownerDocument||e).createElement(`link`),St(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Pd(o,`link`,r),t.state.loading|=4,Lf(o,n.precedence,e),t.instance=o;case`script`:return o=Pf(n.src),(i=e.querySelector(Ff(o)))?(t.instance=i,St(i),i):(r=n,(i=mf.get(o))&&(r=p({},n),zf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),St(i),Pd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Lf(r,n.precedence,e));return t.instance}function Lf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Uf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Wf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Gf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Af(r.href),a=t.querySelector(jf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Jf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,St(a);return}a=t.ownerDocument||t,r=Mf(r),(i=mf.get(i))&&Rf(r,i),a=a.createElement(`link`),St(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Pd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Jf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Kf=0;function qf(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0Kf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Jf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yf=null;function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yf=new Map,t.forEach(Zf,e),Yf=null,Jf.call(e))}function Zf(e,t){if(!(t.state.loading&4)){var n=Yf.get(e);if(n)var r=n.get(null);else{n=new Map,Yf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=xr()}))(),1),R=i(),Cr=(0,I.createContext)(void 0);function wr(e,t){try{let t=localStorage.getItem(e);if(t===`light`||t===`dark`||t===`system`)return t}catch{}return t}function Tr(e){let t=(0,R.c)(14),{children:n,defaultTheme:r,storageKey:i}=e,a=r===void 0?`dark`:r,o=i===void 0?`ui-theme`:i,s;t[0]!==a||t[1]!==o?(s=()=>wr(o,a),t[0]=a,t[1]=o,t[2]=s):s=t[2];let[c,l]=(0,I.useState)(s),u,d;t[3]===c?(u=t[4],d=t[5]):(u=()=>{let e=window.document.documentElement;if(e.classList.remove(`light`,`dark`),c===`system`){let t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;e.classList.add(t);return}e.classList.add(c)},d=[c],t[3]=c,t[4]=u,t[5]=d),(0,I.useEffect)(u,d);let f;t[6]===o?f=t[7]:(f=e=>{try{localStorage.setItem(o,e)}catch{}l(e)},t[6]=o,t[7]=f);let p;t[8]!==f||t[9]!==c?(p={theme:c,setTheme:f},t[8]=f,t[9]=c,t[10]=p):p=t[10];let m=p,h;return t[11]!==n||t[12]!==m?(h=(0,L.jsx)(Cr.Provider,{value:m,children:n}),t[11]=n,t[12]=m,t[13]=h):h=t[13],h}function Er(){let e=(0,I.useContext)(Cr);if(e===void 0)throw Error(`useTheme must be used within a ThemeProvider`);return e}var Dr=Ae(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Or=Ae(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),kr=Ae(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Ar=Ae(`crosshair`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]),jr=Ae(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),Mr=Ae(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),Nr=Ae(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Pr=Ae(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),Fr=Ae(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),Ir=Ae(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Lr=Ae(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),Rr=Ae(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),zr=Ae(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),Br=Ae(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),Vr=Ae(`waypoints`,[[`path`,{d:`m10.586 5.414-5.172 5.172`,key:`4mc350`}],[`path`,{d:`m18.586 13.414-5.172 5.172`,key:`8c96vv`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`circle`,{cx:`12`,cy:`20`,r:`2`,key:`144qzu`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}],[`circle`,{cx:`20`,cy:`12`,r:`2`,key:`1xzzfp`}],[`circle`,{cx:`4`,cy:`12`,r:`2`,key:`1hvhnz`}]]);function Hr(e,t){return t!=null&&!gt(t)?0:typeof e==`function`?e():e}function Ur(e,t,n){let r=Hr(e,n);return typeof r==`number`?r:r?.[t]}function Wr(e){return typeof e==`function`?e():e}function Gr(e,t){return t||e===`click`||e===`mousedown`}var Kr=I.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Et,currentIdRef:{current:null},currentContextRef:{current:null}});function qr(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=I.useRef(n),a=I.useRef(n),o=I.useRef(null),s=I.useRef(null),c=At();return(0,L.jsx)(Kr.Provider,{value:I.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function Jr(e,t={open:!1}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`floatingId`),{open:i}=t,{currentIdRef:a,delayRef:o,timeoutMs:s,initialDelayRef:c,currentContextRef:l,hasProvider:u,timeout:d}=I.useContext(Kr),[f,p]=I.useState(!1);return We(()=>{function e(){p(!1),l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,o.current=c.current}if(a.current&&!i&&a.current===r){if(p(!1),s){let t=r;return d.start(s,()=>{n.select(`open`)||a.current&&a.current!==t||e()}),()=>{d.clear()}}e()}},[i,r,a,o,s,c,l,d,n]),We(()=>{if(!i)return;let e=l.current,t=a.current;d.clear(),l.current={onOpenChange:n.setOpen,setIsInstantPhase:p},a.current=r,o.current={open:0,close:Ur(c.current,`close`)},t!==null&&t!==r?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,st(ct))):(p(!1),e?.setIsInstantPhase(!1))},[i,r,n,a,o,s,c,l,d]),We(()=>()=>{l.current=null},[l]),I.useMemo(()=>({hasProvider:u,delayRef:o,isInstantPhase:f}),[u,o,f])}function Yr(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function Xr(e){return e!=null&&e.clientX!=null}function Zr(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{enabled:s=!0,axis:c=`both`}=t,l=I.useRef(!1),u=I.useRef(null),[d,f]=I.useState(),[p,m]=I.useState([]),h=He((e,t,r)=>{l.current||o.current.openEvent&&!Xr(o.current.openEvent)||n.set(`positionReference`,Yr(r??a,{x:e,y:t,axis:c,dataRef:o,pointerType:d}))}),g=He(e=>{r?u.current||m([]):h(e.clientX,e.clientY,e.currentTarget)}),_=gt(d)?i:r,v=I.useCallback(()=>{if(!_||!s)return;let e=Be(i);function t(n){tt(i,ut(n))?(e.removeEventListener(`mousemove`,t),u.current=null):h(n.clientX,n.clientY)}if(!o.current.openEvent||Xr(o.current.openEvent)){e.addEventListener(`mousemove`,t);let n=()=>{e.removeEventListener(`mousemove`,t),u.current=null};return u.current=n,n}n.set(`positionReference`,a)},[_,s,i,o,a,n,h]);I.useEffect(()=>v(),[v,p]),I.useEffect(()=>{s&&!i&&(l.current=!1)},[s,i]),I.useEffect(()=>{!s&&r&&(l.current=!0)},[s,r]);let y=I.useMemo(()=>{function e(e){f(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:g,onMouseEnter:g}},[g]);return I.useMemo(()=>s?{reference:y,trigger:y}:{},[s,y])}var Qr=Ye&&Ze;function $r(e,t={}){let n=`rootStore`in e?e.rootStore:e,{events:r,dataRef:i}=n.context,{enabled:a=!0,delay:o}=t,s=I.useRef(!1),c=I.useRef(null),l=At(),u=I.useRef(!0);I.useEffect(()=>{let e=n.select(`domReferenceElement`);if(!a)return;let t=Be(e);function r(){let e=n.select(`domReferenceElement`);!n.select(`open`)&&Ve(e)&&e===rt(Je(e))&&(s.current=!0)}function i(){u.current=!0}function o(){u.current=!1}return t.addEventListener(`blur`,r),Qr&&(t.addEventListener(`keydown`,i,!0),t.addEventListener(`pointerdown`,o,!0)),()=>{t.removeEventListener(`blur`,r),Qr&&(t.removeEventListener(`keydown`,i,!0),t.removeEventListener(`pointerdown`,o,!0))}},[n,a]),I.useEffect(()=>{if(!a)return;function e(e){if(e.reason===`trigger-press`||e.reason===`escape-key`){let e=n.select(`domReferenceElement`);Ke(e)&&(c.current=e,s.current=!0)}}return r.on(`openchange`,e),()=>{r.off(`openchange`,e)}},[r,a,n]);let d=I.useMemo(()=>({onMouseLeave(){s.current=!1,c.current=null},onFocus(e){let t=e.currentTarget;if(s.current){if(c.current===t)return;s.current=!1,c.current=null}let r=ut(e.nativeEvent);if(Ke(r)){if(Qr&&!e.relatedTarget){if(!u.current&&!lt(r))return}else if(!$e(r))return}let i=Qe(e.relatedTarget,n.context.triggerElements),{nativeEvent:a,currentTarget:d}=e,f=typeof o==`function`?o():o;if(n.select(`open`)&&i||f===0||f===void 0){n.setOpen(!0,st(nt,a,d));return}l.start(f,()=>{s.current||n.setOpen(!0,st(nt,a,d))})},onBlur(e){s.current=!1,c.current=null;let t=e.relatedTarget,r=e.nativeEvent,a=Ke(t)&&t.hasAttribute(St(`focus-guard`))&&t.getAttribute(`data-type`)===`outside`;l.start(0,()=>{let e=n.select(`domReferenceElement`),o=rt(e?e.ownerDocument:document);!t&&o===e||tt(i.current.floatingContext?.refs.floating.current,o)||tt(e,o)||a||Qe(t??o,n.context.triggerElements)||n.setOpen(!1,st(nt,r))})}}),[i,n,l,o]);return I.useMemo(()=>a?{reference:d,trigger:d}:{},[a,d])}var ei=`button,a,[role="button"],select,[tabindex]:not([tabindex="-1"]),${Xe}`;function ti(e){return e?!!e.closest(ei):!1}var ni=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Et,this.restTimeout=new Et,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose};function ri(e){e.performedPointerEventsMutation&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null)}function ii(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t;ri(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function ai(e){let t=Ce(ni.create).current,n=e.context.dataRef.current;return n.hoverInteractionState||=t,ft(n.hoverInteractionState.disposeEffect),n.hoverInteractionState}function oi(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),{dataRef:o}=n.context,{enabled:s=!0,closeDelay:c=0}=t,l=ai(n),u=wt(),d=Ct(),f=He(()=>Gr(o.current.openEvent?.type,l.interactedInside)),p=He(()=>{let e=o.current.openEvent?.type;return e?.includes(`mouse`)&&e!==`mousedown`}),m=He(e=>Qe(e,n.context.triggerElements)),h=I.useCallback(e=>{let t=Ur(c,`close`,l.pointerType),r=()=>{n.setOpen(!1,st(at,e)),u?.events.emit(`floating.closed`,e)};t?l.openChangeTimeout.start(t,r):(l.openChangeTimeout.clear(),r())},[c,n,l,u]),g=He(()=>{ri(l)}),_=He(e=>{let t=ut(e);if(!ti(t)){l.interactedInside=!1;return}l.interactedInside=t?.closest(`[aria-haspopup]`)!=null});We(()=>{r||(l.pointerType=void 0,l.restTimeoutPending=!1,l.interactedInside=!1,g())},[r,l,g]),I.useEffect(()=>g,[g]),We(()=>{if(s&&r&&l.handleCloseOptions?.blockPointerEvents&&p()&&Ke(a)&&i){let e=a,t=i,n=Je(i),r=u?.nodesRef.current.find(e=>e.id===d)?.context?.elements.floating;return r&&(r.style.pointerEvents=``),ii(l,{scopeElement:l.handleCloseOptions?.getScope?.()??l.pointerEventsScopeElement??r??e.closest(`[data-rootownerid]`)??n.body,referenceElement:e,floatingElement:t}),()=>{g()}}},[s,r,a,i,l,p,u,d,g]);let v=At();I.useEffect(()=>{if(!s)return;function e(){l.openChangeTimeout.clear(),v.clear(),u?.events.off(`floating.closed`,r),g()}function t(e){if(u&&d&&vt(u.nodesRef.current,d).length>0){u.events.on(`floating.closed`,r);return}if(!m(e.relatedTarget)){if(l.handler){l.handler(e);return}g(),f()||h(e)}}function r(e){!u||!d||vt(u.nodesRef.current,d).length>0||v.start(0,()=>{u.events.off(`floating.closed`,r),n.setOpen(!1,st(at,e)),u.events.emit(`floating.closed`,e)})}let a=i;return a&&(a.addEventListener(`mouseenter`,e),a.addEventListener(`mouseleave`,t),a.addEventListener(`pointerdown`,_,!0)),()=>{a&&(a.removeEventListener(`mouseenter`,e),a.removeEventListener(`mouseleave`,t),a.removeEventListener(`pointerdown`,_,!0)),u?.events.off(`floating.closed`,r)}},[s,i,n,o,f,m,h,g,_,l,u,d,v])}var si=e(_e()),ci={current:null};function li(e,t={}){let n=`rootStore`in e?e.rootStore:e,{dataRef:r,events:i}=n.context,{enabled:a=!0,delay:o=0,handleClose:s=null,mouseOnly:c=!1,restMs:l=0,move:u=!0,triggerElementRef:d=ci,externalTree:f,isActiveTrigger:p=!0,getHandleCloseContext:m}=t,h=wt(f),g=ai(n),_=ht(s),v=ht(o),y=ht(l),b=ht(a);p&&(g.handleCloseOptions=_.current?.__options);let x=He(()=>Gr(r.current.openEvent?.type,g.interactedInside)),S=He(e=>Qe(e,n.context.triggerElements)),C=He((e,t,r)=>{let i=n.context.triggerElements;if(i.hasElement(t))return!e||!tt(e,t);if(!Ke(r))return!1;let a=r;return i.hasMatchingElement(e=>tt(e,a))&&(!e||!tt(e,a))}),w=I.useCallback((e,t=!0)=>{let r=Ur(v.current,`close`,g.pointerType);r?g.openChangeTimeout.start(r,()=>{n.setOpen(!1,st(at,e)),h?.events.emit(`floating.closed`,e)}):t&&(g.openChangeTimeout.clear(),n.setOpen(!1,st(at,e)),h?.events.emit(`floating.closed`,e))},[v,n,g,h]),T=He(()=>{g.handler&&=(Je(n.select(`domReferenceElement`)).removeEventListener(`mousemove`,g.handler),void 0)});I.useEffect(()=>T,[T]);let E=He(()=>{ri(g)});return I.useEffect(()=>{if(!a)return;function e(e){e.open||(T(),g.openChangeTimeout.clear(),g.restTimeout.clear(),g.blockMouseMove=!0,g.restTimeoutPending=!1)}return i.on(`openchange`,e),()=>{i.off(`openchange`,e)}},[a,i,g,T]),I.useEffect(()=>{if(!a)return;let e=d.current??(p?n.select(`domReferenceElement`):null);if(!Ke(e))return;function t(e){if(g.openChangeTimeout.clear(),g.blockMouseMove=!1,c&&!gt(g.pointerType)||Wr(y.current)>0&&!Ur(v.current,`open`))return;let t=Ur(v.current,`open`,g.pointerType),r=e.currentTarget??null,i=n.select(`domReferenceElement`),a=r==null?!1:C(i,r,e.target),o=n.select(`open`),s=!o||a;a&&o?n.setOpen(!0,st(at,e,r)):t?g.openChangeTimeout.start(t,()=>{s&&n.setOpen(!0,st(at,e,r))}):s&&n.setOpen(!0,st(at,e,r))}function i(e){if(x()){E();return}T();let t=Je(n.select(`domReferenceElement`));g.restTimeout.clear(),g.restTimeoutPending=!1;let i=r.current.floatingContext??m?.();if(!S(e.relatedTarget)){if(_.current&&i){n.select(`open`)||g.openChangeTimeout.clear();let r=d.current;g.handler=_.current({...i,tree:h,x:e.clientX,y:e.clientY,onClose(){E(),T(),b.current&&!x()&&r===n.select(`domReferenceElement`)&&w(e,!0)}}),t.addEventListener(`mousemove`,g.handler),g.handler(e);return}(g.pointerType!==`touch`||!tt(n.select(`floatingElement`),e.relatedTarget))&&w(e)}}return u&&e.addEventListener(`mousemove`,t,{once:!0}),e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,i),()=>{u&&e.removeEventListener(`mousemove`,t),e.removeEventListener(`mouseenter`,t),e.removeEventListener(`mouseleave`,i)}},[T,E,r,v,w,n,a,_,g,p,C,x,S,c,u,y,d,h,b,m]),I.useMemo(()=>{if(!a)return;function e(e){g.pointerType=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=n.select(`domReferenceElement`),a=n.select(`open`),o=C(i,r,e.target);if(c&&!gt(g.pointerType))return;let s=Wr(y.current);if(a&&!o||s===0||!o&&g.restTimeoutPending&&e.movementX**2+e.movementY**2<2)return;g.restTimeout.clear();function l(){if(g.restTimeoutPending=!1,x())return;let e=n.select(`open`);!g.blockMouseMove&&(!e||o)&&n.setOpen(!0,st(at,t,r))}g.pointerType===`touch`?si.flushSync(()=>{l()}):o&&a?l():(g.restTimeoutPending=!0,g.restTimeout.start(s,l))}}},[a,g,x,C,c,n,y])}var ui=.1,di=ui*ui,z=.5;function fi(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function pi(e,t,n,r,i,a,o,s,c,l){let u=!1;return fi(e,t,n,r,i,a)&&(u=!u),fi(e,t,i,a,o,s)&&(u=!u),fi(e,t,o,s,c,l)&&(u=!u),fi(e,t,c,l,n,r)&&(u=!u),u}function mi(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function hi(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function gi(e={}){let{blockPointerEvents:t=!1}=e,n=new Et,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*di;return u=e,d=t,f=n,o0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,ee=(T?x:S).left,D=(T?x:S).right,te=(E?x:S).top,ne=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let re=!1;switch(c){case`top`:re=hi(d,f,ee,x.top+1,D,S.bottom-1);break;case`bottom`:re=hi(d,f,ee,S.top+1,D,x.bottom-1);break;case`left`:re=hi(d,f,S.right-1,ne,x.left+1,te);break;case`right`:re=hi(d,f,x.right-1,ne,S.left+1,te);break;default:}if(re)return;if(l&&!mi(d,f,x)){b();return}if(!g&&p(d,f)){b();return}let ie=!1;switch(c){case`top`:{let n=T?z/2:z*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+z+1,o=C||T?S.bottom-z:S.top,s=C?T?S.bottom-z:S.top:S.bottom-z;ie=pi(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?z/2:z*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-z,o=C||T?S.top+z:S.bottom,s=C?T?S.top+z:S.bottom:S.top+z;ie=pi(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?z/2:z*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+z+1,o=w||E?S.right-z:S.left,s=w?E?S.right-z:S.left:S.right-z;ie=pi(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?z/2:z*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-z,o=w||E?S.left+z:S.right,s=w?E?S.left+z:S.right:S.left+z;ie=pi(d,f,a,r,a,i,o,S.top,s,S.bottom);break}default:}ie?l||n.start(40,b):b()}};return r.__options={blockPointerEvents:t},r}function _i(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,disablePointerDismissal:o=!1,modal:s=!0,actionsRef:c,handle:l,triggerId:u,defaultTriggerId:d=null}=e,f=Lt(!0),p=!!f,m=Ce(()=>l?.store??new Ht({open:r,openProp:n,activeTriggerId:d,triggerIdProp:u,modal:s,disablePointerDismissal:o,nested:p})).current;Yt(()=>{n===void 0&&m.state.open===!1&&r===!0&&m.update({open:!0,activeTriggerId:d})}),m.useControlledProp(`openProp`,n),m.useControlledProp(`triggerIdProp`,u),m.useSyncedValues({disablePointerDismissal:o,nested:p,modal:s}),m.useContextCallback(`onOpenChange`,i),m.useContextCallback(`onOpenChangeComplete`,a);let h=m.useState(`payload`);Gt({store:m,actionsRef:c,parentContext:f?.store.context,onOpenChange:i,triggerIdProp:u});let g=I.useMemo(()=>({store:m}),[m]);return(0,L.jsx)(Rt.Provider,{value:g,children:typeof t==`function`?t({payload:h}):t})}function vi(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,L.jsx)(_i,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function yi(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,L.jsx)(zt,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function bi(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 z-50 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(Vt,{className:i,"data-slot":`sheet-overlay`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function xi(e){let t=(0,R.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,children:n,side:a,showCloseButton:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`right`:a,c=o===void 0?!0:o,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,L.jsx)(bi,{}),t[6]=l):l=t[6];let u;t[7]===r?u=t[8]:(u=P(`data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-closed:animate-out data-open:animate-in fixed z-50 flex flex-col bg-background bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,r),t[7]=r,t[8]=u);let d;t[9]===c?d=t[10]:(d=c&&(0,L.jsxs)(Wt,{"data-slot":`sheet-close`,render:(0,L.jsx)(Ge,{className:`absolute top-4 right-4`,size:`icon-sm`,variant:`ghost`}),children:[(0,L.jsx)(Re,{}),(0,L.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[9]=c,t[10]=d);let f;return t[11]!==n||t[12]!==i||t[13]!==s||t[14]!==u||t[15]!==d?(f=(0,L.jsxs)(yi,{children:[l,(0,L.jsxs)(Nt,{className:u,"data-side":s,"data-slot":`sheet-content`,...i,children:[n,d]})]}),t[11]=n,t[12]=i,t[13]=s,t[14]=u,t[15]=d,t[16]=f):f=t[16],f}function Si(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-1.5 p-6`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`div`,{className:i,"data-slot":`sheet-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ci(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-sm font-medium text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(qt,{className:i,"data-slot":`sheet-title`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function wi(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-xs/relaxed text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(It,{className:i,"data-slot":`sheet-description`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ti=I.createContext(void 0);function Ei(e){let t=I.useContext(Ti);if(t===void 0&&!e)throw Error(be(72));return t}var Di={...Pt,disabled:kt(e=>e.disabled),instantType:kt(e=>e.instantType),isInstantPhase:kt(e=>e.isInstantPhase),trackCursorAxis:kt(e=>e.trackCursorAxis),disableHoverablePopup:kt(e=>e.disableHoverablePopup),lastOpenChangeReason:kt(e=>e.openChangeReason),closeOnClick:kt(e=>e.closeOnClick),closeDelay:kt(e=>e.closeDelay),hasViewport:kt(e=>e.hasViewport)},Oi=class e extends jt{constructor(e){super({...ki(),...e},{popupRef:I.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:new Dt},Di)}setOpen=(e,t)=>{let n=t.reason,r=n===at,i=e&&n===`trigger-focus`,a=!e&&(n===`trigger-press`||n===`escape-key`);if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;let o=()=>{let r={open:e,openChangeReason:n};i?r.instantType=`focus`:a?r.instantType=`dismiss`:n===`trigger-hover`&&(r.instantType=void 0);let o=t.trigger?.id??null;(o||e)&&(r.activeTriggerId=o,r.activeTriggerElement=t.trigger??null),this.update(r)};r?si.flushSync(o):o()};static useStore(t,n){let r=Ce(()=>new e(n)).current,i=t??r,a=Ut({popupStore:i,onOpenChange:i.setOpen});return i.state.floatingRootContext=a,i}};function ki(){return{...Kt(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1}}var Ai=_t(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=Oi.useStore(l?.store,{open:n,openProp:r,activeTriggerId:d,triggerIdProp:u});Yt(()=>{r===void 0&&p.state.open===!1&&n===!0&&p.update({open:!0,activeTriggerId:d})}),p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i}),We(()=>{m&&t&&p.setOpen(!1,st(it))},[m,t,p]),p.useSyncedValue(`disabled`,t),Bt(p);let{forceUnmount:v,transitionStatus:y}=Jt(h,p),b=p.useState(`isInstantPhase`),x=p.useState(`instantType`),S=p.useState(`lastOpenChangeReason`),C=I.useRef(null);We(()=>{y===`ending`&&S===`none`||y!==`ending`&&b?(x!==`delay`&&(C.current=x),p.set(`instantType`,`delay`)):C.current!==null&&(p.set(`instantType`,C.current),C.current=null)},[y,b,S,x,p]),We(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]);let w=I.useCallback(()=>{p.setOpen(!1,ji(p,ot))},[p]);I.useImperativeHandle(o,()=>({unmount:v,close:w}),[v,w]);let T=p.useState(`floatingRootContext`),{getReferenceProps:E,getFloatingProps:ee,getTriggerProps:D}=Mt([mt(T,{enabled:!t,referencePress:()=>p.select(`closeOnClick`)}),Zr(T,{enabled:!t&&a!==`none`,axis:a===`none`?void 0:a})]),te=I.useMemo(()=>E(),[E]),ne=I.useMemo(()=>D(),[D]),re=I.useMemo(()=>ee(),[ee]);return p.useSyncedValues({activeTriggerProps:te,inactiveTriggerProps:ne,popupProps:re}),(0,L.jsx)(Ti.Provider,{value:p,children:typeof f==`function`?f({payload:_}):f})});function ji(e,t){let n=st(t);return n.preventUnmountOnClose=()=>{e.set(`preventUnmountingOnClose`,!0)},n}var Mi=I.createContext(void 0);function B(){return I.useContext(Mi)}var V=function(e){return e[e.popupOpen=xt.popupOpen]=`popupOpen`,e.triggerDisabled=`data-trigger-disabled`,e}({}),Ni=Tt(function(e,t){let{className:n,render:r,handle:i,payload:a,disabled:o,delay:s,closeOnClick:c=!0,closeDelay:l,id:u,...d}=e,f=Ei(!0),p=i?.store??f;if(!p)throw Error(be(82));let m=et(u),h=p.useState(`isTriggerActive`,m),g=p.useState(`isOpenedByTrigger`,m),_=p.useState(`floatingRootContext`),v=I.useRef(null),y=s??600,b=l??0,{registerTrigger:x,isMountedByThisTrigger:S}=Ft(m,v,p,{payload:a,closeOnClick:c,closeDelay:b}),C=B(),{delayRef:w,isInstantPhase:T,hasProvider:E}=Jr(_,{open:g});p.useSyncedValue(`isInstantPhase`,T);let ee=p.useState(`disabled`),D=o??ee,te=p.useState(`trackCursorAxis`),ne=p.useState(`disableHoverablePopup`),re=li(_,{enabled:!D,mouseOnly:!0,move:!1,handleClose:!ne&&te!==`both`?gi():null,restMs(){let e=C?.delay,t=typeof w.current==`object`?w.current.open:void 0,n=y;return E&&(n=t===0?0:s??e??y),n},delay(){let e=typeof w.current==`object`?w.current.close:void 0,t=b;return l==null&&E&&(t=e),{close:t}},triggerElementRef:v,isActiveTrigger:h}),ie=$r(_,{enabled:!D}).reference,ae={open:g},O=p.useState(`triggerProps`,S);return xe(`button`,e,{state:ae,ref:[t,x,v],props:[re,ie,O,{onPointerDown(){p.set(`closeOnClick`,c)},id:m,[V.triggerDisabled]:D?``:void 0},d],stateAttributesMapping:bt})}),Pi=I.createContext(void 0);function Fi(){let e=I.useContext(Pi);if(e===void 0)throw Error(be(70));return e}var Ii=I.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,...o}=e,{portalNode:s,portalSubtree:c}=yt({container:r,ref:t,componentProps:e,elementProps:o});return!c&&!s?null:(0,L.jsxs)(I.Fragment,{children:[c,s&&si.createPortal(n,s)]})}),Li=I.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return Ei().useState(`mounted`)||n?(0,L.jsx)(Pi.Provider,{value:n,children:(0,L.jsx)(Ii,{ref:t,...r})}):null}),Ri=I.createContext(void 0);function zi(){let e=I.useContext(Ri);if(e===void 0)throw Error(be(71));return e}var Bi=I.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=Se,...g}=e,_=Ei(),v=Fi(),y=_.useState(`open`),b=_.useState(`mounted`),x=_.useState(`trackCursorAxis`),S=_.useState(`disableHoverablePopup`),C=_.useState(`floatingRootContext`),w=_.useState(`instantType`),T=_.useState(`transitionStatus`),E=Xt({anchor:i,positionMethod:a,floatingRootContext:C,mounted:b,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:v,collisionAvoidance:h,adaptiveOrigin:_.useState(`hasViewport`)?Zt:void 0}),ee=I.useMemo(()=>{let e={};return(!y||x===`both`||S)&&(e.pointerEvents=`none`),{role:`presentation`,hidden:!b,style:{...E.positionerStyles,...e}}},[y,x,S,b,E.positionerStyles]),D=I.useMemo(()=>({open:y,side:E.side,align:E.align,anchorHidden:E.anchorHidden,instant:x===`none`?w:`tracking-cursor`}),[y,E.side,E.align,E.anchorHidden,x,w]),te=I.useMemo(()=>({...D,arrowRef:E.arrowRef,arrowStyles:E.arrowStyles,arrowUncentered:E.arrowUncentered}),[D,E.arrowRef,E.arrowStyles,E.arrowUncentered]),ne=xe(`div`,e,{state:D,props:[ee,Qt(T),g],ref:[t,_.useStateSetter(`positionerElement`)],stateAttributesMapping:Ot});return(0,L.jsx)(Ri.Provider,{value:te,children:ne})}),Vi={...Ot,...dt},Hi=I.forwardRef(function(e,t){let{className:n,render:r,...i}=e,a=Ei(),{side:o,align:s}=zi(),c=a.useState(`open`),l=a.useState(`instantType`),u=a.useState(`transitionStatus`),d=a.useState(`popupProps`),f=a.useState(`floatingRootContext`);pt({open:c,ref:a.context.popupRef,onComplete(){c&&a.context.onOpenChangeComplete?.(!0)}});let p=a.useState(`disabled`),m=a.useState(`closeDelay`);return oi(f,{enabled:!p,closeDelay:m}),xe(`div`,e,{state:{open:c,side:o,align:s,instant:l,transitionStatus:u},ref:[t,a.context.popupRef,a.useStateSetter(`popupElement`)],props:[d,Qt(u),i],stateAttributesMapping:Vi})}),Ui=I.forwardRef(function(e,t){let{className:n,render:r,...i}=e,a=Ei().useState(`instantType`),{open:o,arrowRef:s,side:c,align:l,arrowUncentered:u,arrowStyles:d}=zi();return xe(`div`,e,{state:{open:o,side:c,align:l,uncentered:u,instant:a},ref:[t,s],props:[{style:d,"aria-hidden":!0},i],stateAttributesMapping:Ot})}),Wi=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=I.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=I.useMemo(()=>({open:t,close:n}),[t,n]);return(0,L.jsx)(Mi.Provider,{value:i,children:(0,L.jsx)(qr,{delay:a,timeoutMs:r,children:e.children})})};function Gi(e){let t=(0,R.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delay:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,L.jsx)(Wi,{"data-slot":`tooltip-provider`,delay:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function Ki(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,L.jsx)(Gi,{children:(0,L.jsx)(Ai,{"data-slot":`tooltip`,...n})}),t[2]=n,t[3]=r),r}function qi(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,L.jsx)(Ni,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function Ji(e){let t=(0,R.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`top`:a,u=o===void 0?4:o,d=s===void 0?`center`:s,f=c===void 0?0:c,p;t[8]===r?p=t[9]:(p=P(`data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-closed:animate-out data-open:animate-in z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md bg-foreground px-3 py-1.5 text-xs text-background **:data-[slot=kbd]:rounded-md`,r),t[8]=r,t[9]=p);let m;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,L.jsx)(Ui,{className:`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5`}),t[10]=m):m=t[10];let h;t[11]!==n||t[12]!==i||t[13]!==p?(h=(0,L.jsxs)(Hi,{className:p,"data-slot":`tooltip-content`,...i,children:[n,m]}),t[11]=n,t[12]=i,t[13]=p,t[14]=h):h=t[14];let g;return t[15]!==d||t[16]!==f||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,L.jsx)(Li,{children:(0,L.jsx)(Bi,{align:d,alignOffset:f,className:`isolate z-50`,side:l,sideOffset:u,children:h})}),t[15]=d,t[16]=f,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}var Yi=window.matchMedia(`(max-width: 767px)`);function Xi(e){return Yi.addEventListener(`change`,e),()=>Yi.removeEventListener(`change`,e)}function Zi(){return Yi.matches}function Qi(){return(0,I.useSyncExternalStore)(Xi,Zi)}var $i=`sidebar_state`,ea=3600*24*7,ta=`12rem`,na=`16rem`,ra=`3rem`,ia=`b`,aa=I.createContext(null);function oa(){let e=I.useContext(aa);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function sa(e){let t=(0,R.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0?!0:c,u=Qi(),[d,f]=I.useState(!1),[p,m]=I.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${$i}=${t}; path=/; max-age=${ea}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>u?f(la):_(ca),t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===ia&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},x=[y],t[14]=y,t[15]=b,t[16]=x),I.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===r?T=t[25]:(T=P(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,r),t[24]=r,t[25]=T);let E;t[26]===s?E=t[27]:(E={"--sidebar-width":ta,"--sidebar-width-icon":ra,...s},t[26]=s,t[27]=E);let ee=E,D;t[28]!==n||t[29]!==a||t[30]!==T||t[31]!==ee?(D=(0,L.jsx)(`div`,{className:T,"data-slot":`sidebar-wrapper`,style:ee,...a,children:n}),t[28]=n,t[29]=a,t[30]=T,t[31]=ee,t[32]=D):D=t[32];let te;return t[33]!==w||t[34]!==D?(te=(0,L.jsx)(aa.Provider,{value:w,children:D}),t[33]=w,t[34]=D,t[35]=te):te=t[35],te}function ca(e){return!e}function la(e){return!e}function ua(e){let t=(0,R.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offExamples`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=oa();if(u===`none`){let e;t[7]===r?e=t[8]:(e=P(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,L.jsx)(`div`,{className:e,"data-slot":`sidebar`,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e={"--sidebar-width":na},t[13]=e):e=t[13];let r=e,a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,L.jsxs)(Si,{className:`sr-only`,children:[(0,L.jsx)(Ci,{children:`Sidebar`}),(0,L.jsx)(wi,{children:`Displays the mobile sidebar.`})]}),t[14]=a):a=t[14];let o;t[15]===n?o=t[16]:(o=(0,L.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=o);let s;t[17]!==c||t[18]!==o?(s=(0,L.jsxs)(xi,{className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,"data-mobile":`true`,"data-sidebar":`sidebar`,"data-slot":`sidebar`,side:c,style:r,children:[a,o]}),t[17]=c,t[18]=o,t[19]=s):s=t[19];let l;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==s?(l=(0,L.jsx)(vi,{onOpenChange:m,open:p,...i,children:s}),t[20]=p,t[21]=i,t[22]=m,t[23]=s,t[24]=l):l=t[24],l}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=P(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offExamples]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,L.jsx)(`div`,{className:_,"data-slot":`sidebar-gap`}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=P(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,L.jsx)(`div`,{className:`flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border`,"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,L.jsx)(`div`,{className:x,"data-slot":`sidebar-container`,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,L.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-collapsible":h,"data-side":c,"data-slot":`sidebar`,"data-state":f,"data-variant":l,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function da(e){let t=(0,R.c)(15),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a}=oa(),o;t[4]===n?o=t[5]:(o=P(n),t[4]=n,t[5]=o);let s;t[6]!==r||t[7]!==a?(s=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=s):s=t[8];let c,l;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,L.jsx)(Lr,{}),l=(0,L.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`}),t[9]=c,t[10]=l):(c=t[9],l=t[10]);let u;return t[11]!==i||t[12]!==o||t[13]!==s?(u=(0,L.jsxs)(Ge,{className:o,"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,onClick:s,size:`icon-lg`,variant:`ghost`,...i,children:[c,l]}),t[11]=i,t[12]=o,t[13]=s,t[14]=u):u=t[14],u}function fa(e){let t=(0,R.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{toggleSidebar:i}=oa(),a;t[3]===n?a=t[4]:(a=P(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex`,`in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`group-data-[collapsible=offExamples]:translate-x-0 group-data-[collapsible=offExamples]:after:left-full hover:group-data-[collapsible=offExamples]:bg-sidebar`,`[[data-side=left][data-collapsible=offExamples]_&]:-right-2`,`[[data-side=right][data-collapsible=offExamples]_&]:-left-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a||t[7]!==i?(o=(0,L.jsx)(`button`,{"aria-label":`Toggle Sidebar`,className:a,"data-sidebar":`rail`,"data-slot":`sidebar-rail`,onClick:i,tabIndex:-1,title:`Toggle Sidebar`,...r}),t[5]=r,t[6]=a,t[7]=i,t[8]=o):o=t[8],o}function pa(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`div`,{className:i,"data-sidebar":`header`,"data-slot":`sidebar-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ma(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`div`,{className:i,"data-sidebar":`footer`,"data-slot":`sidebar-footer`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ha(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`mx-2 w-auto bg-sidebar-border`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(qe,{className:i,"data-sidebar":`separator`,"data-slot":`sidebar-separator`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ga(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`div`,{className:i,"data-sidebar":`content`,"data-slot":`sidebar-content`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _a(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative flex w-full min-w-0 flex-col px-2 py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`div`,{className:i,"data-sidebar":`group`,"data-slot":`sidebar-group`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function va(e){let t=(0,R.c)(10),n,r,i,a;if(t[0]!==e){let{className:o,render:s,...c}=e;n=s,a=Te,r=`div`,i=ye({className:P(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,o)},c),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a}else n=t[1],r=t[2],i=t[3],a=t[4];let o;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(o={slot:`sidebar-group-label`,sidebar:`group-label`},t[5]=o):o=t[5];let s;return t[6]!==n||t[7]!==r||t[8]!==i?(s={defaultTagName:r,props:i,render:n,state:o},t[6]=n,t[7]=r,t[8]=i,t[9]=s):s=t[9],a(s)}function ya(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex w-full min-w-0 flex-col gap-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`ul`,{className:i,"data-sidebar":`menu`,"data-slot":`sidebar-menu`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function H(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,L.jsx)(`li`,{className:i,"data-sidebar":`menu-item`,"data-slot":`sidebar-menu-item`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var ba=we(`peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-[calc(var(--radius-sm)+2px)] p-2 text-left text-xs ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-xs`,sm:`h-7 text-xs`,lg:`h-12 text-xs group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function xa(e){let t=(0,R.c)(15),{render:n,isActive:r,variant:i,size:a,tooltip:o,className:s,...c}=e,l=r===void 0?!1:r,u=i===void 0?`default`:i,d=a===void 0?`default`:a,{isMobile:f,state:p}=oa(),m=ye({className:P(ba({variant:u,size:d}),s)},c),h=o?qi:n,g;t[0]!==l||t[1]!==d?(g={slot:`sidebar-menu-button`,sidebar:`menu-button`,size:d,active:l},t[0]=l,t[1]=d,t[2]=g):g=t[2];let _;t[3]!==m||t[4]!==h||t[5]!==g?(_={defaultTagName:`button`,props:m,render:h,state:g},t[3]=m,t[4]=h,t[5]=g,t[6]=_):_=t[6];let v=Te(_);if(!o)return v;let y;t[7]===o?y=t[8]:(y=typeof o==`string`?{children:o}:o,t[7]=o,t[8]=y);let b=y,x=p!==`collapsed`||f,S;t[9]!==x||t[10]!==b?(S=(0,L.jsx)(Ji,{align:`center`,hidden:x,side:`right`,...b}),t[9]=x,t[10]=b,t[11]=S):S=t[11];let C;return t[12]!==v||t[13]!==S?(C=(0,L.jsxs)(Ki,{children:[v,S]}),t[12]=v,t[13]=S,t[14]=C):C=t[14],C}function Sa(){let e=(0,R.c)(8),{theme:t,setTheme:n}=Er(),r;e[0]!==n||e[1]!==t?(r=()=>{n(t===`light`?`dark`:t===`dark`?`light`:`dark`)},e[0]=n,e[1]=t,e[2]=r):r=e[2];let i=r,a,o,s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,L.jsx)(zr,{className:`size-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90`}),o=(0,L.jsx)(Ir,{className:`absolute size-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0`}),s=(0,L.jsx)(`span`,{className:`sr-only`,children:`Toggle theme`}),e[3]=a,e[4]=o,e[5]=s):(a=e[3],o=e[4],s=e[5]);let c;return e[6]===i?c=e[7]:(c=(0,L.jsxs)(Ge,{className:`rounded-full`,onClick:i,size:`icon-sm`,variant:`ghost`,children:[a,o,s]}),e[6]=i,e[7]=c),c}function Ca(){let e=(0,R.c)(7),{isAdmin:t,license:n}=Ee(),r=t&&n===`open-source`,i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(`z-50 flex h-10 shrink-0 items-center gap-2 border-b border-sidebar-border bg-sidebar px-4 text-sidebar-foreground`,`sticky top-0`),a=(0,L.jsx)(da,{className:`-ml-1`}),e[0]=i,e[1]=a):(i=e[0],a=e[1]);let o;e[2]===r?o=e[3]:(o=r&&(0,L.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:P(Ue({variant:`outline`,size:`sm`})),children:`Upgrade`}),e[2]=r,e[3]=o);let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,L.jsx)(Sa,{}),e[4]=s):s=e[4];let c;return e[5]===o?c=e[6]:(c=(0,L.jsxs)(`header`,{className:i,children:[a,(0,L.jsxs)(`div`,{className:`flex w-full items-center justify-end gap-2`,children:[o,s]})]}),e[5]=o,e[6]=c),c}function wa(){let e=(0,R.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,L.jsx)(`h1`,{className:`text-4xl font-bold`,children:`404`}),n=(0,L.jsx)(`p`,{className:`text-muted-foreground`,children:`Page not found`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,L.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4`,children:[t,n,(0,L.jsx)(me,{to:`/`,children:(0,L.jsx)(Ge,{variant:`outline`,children:`Go back home`})})]}),e[2]=r):r=e[2],r}function Ta(){let e=(0,R.c)(144),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:Ea},e[0]=t):t=e[0];let n=pr(t),r=ge(),i=v(),{isAdmin:a}=Ee(),o;e[1]!==r||e[2]!==i?(o=function(){ke(),ve(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=o):o=e[3];let s=o,c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,L.jsxs)(pa,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,L.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,L.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,L.jsx)(va,{children:`General`}),e[5]=l):l=e[5];let u=n===`/`,d,f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,L.jsx)(jr,{className:`size-4`}),f=(0,L.jsx)(`span`,{children:`Dashboard`}),e[6]=d,e[7]=f):(d=e[6],f=e[7]);let p;e[8]===u?p=e[9]:(p=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/`,children:(0,L.jsxs)(xa,{isActive:u,tooltip:`Dashboard`,children:[d,f]})})}),e[8]=u,e[9]=p);let m;e[10]!==a||e[11]!==n?(m=a&&(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/nodes`,children:(0,L.jsxs)(xa,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,L.jsx)(Fe,{className:`size-4`}),(0,L.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=a,e[11]=n,e[12]=m):m=e[12];let h;e[13]!==p||e[14]!==m?(h=(0,L.jsxs)(_a,{children:[l,(0,L.jsxs)(ya,{children:[p,m]})]}),e[13]=p,e[14]=m,e[15]=h):h=e[15];let g;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,L.jsx)(va,{children:`EC2`}),e[16]=g):g=e[16];let _;e[17]===n?_=e[18]:(_=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=_);let y,b;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,L.jsx)(Fe,{className:`size-4`}),b=(0,L.jsx)(`span`,{children:`Instances`}),e[19]=y,e[20]=b):(y=e[19],b=e[20]);let x;e[21]===_?x=e[22]:(x=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-instances`,children:(0,L.jsxs)(xa,{isActive:_,tooltip:`EC2 Instances`,children:[y,b]})})}),e[21]=_,e[22]=x);let S;e[23]===n?S=e[24]:(S=n.startsWith(`/ec2/describe-images`),e[23]=n,e[24]=S);let C,w;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,L.jsx)(Mr,{className:`size-4`}),w=(0,L.jsx)(`span`,{children:`Images`}),e[25]=C,e[26]=w):(C=e[25],w=e[26]);let T;e[27]===S?T=e[28]:(T=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-images`,children:(0,L.jsxs)(xa,{isActive:S,tooltip:`Images`,children:[C,w]})})}),e[27]=S,e[28]=T);let E;e[29]===n?E=e[30]:(E=n.startsWith(`/ec2/describe-key-pairs`),e[29]=n,e[30]=E);let ee,D;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(ee=(0,L.jsx)(Pe,{className:`size-4`}),D=(0,L.jsx)(`span`,{children:`Key Pairs`}),e[31]=ee,e[32]=D):(ee=e[31],D=e[32]);let te;e[33]===E?te=e[34]:(te=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-key-pairs`,children:(0,L.jsxs)(xa,{isActive:E,tooltip:`Key Pairs`,children:[ee,D]})})}),e[33]=E,e[34]=te);let ne;e[35]===n?ne=e[36]:(ne=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[35]=n,e[36]=ne);let re,ie;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,L.jsx)(Ne,{className:`size-4`}),ie=(0,L.jsx)(`span`,{children:`Volumes`}),e[37]=re,e[38]=ie):(re=e[37],ie=e[38]);let ae;e[39]===ne?ae=e[40]:(ae=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-volumes`,children:(0,L.jsxs)(xa,{isActive:ne,tooltip:`Volumes`,children:[re,ie]})})}),e[39]=ne,e[40]=ae);let O;e[41]===n?O=e[42]:(O=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[41]=n,e[42]=O);let k,oe;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,L.jsx)(je,{className:`size-4`}),oe=(0,L.jsx)(`span`,{children:`Snapshots`}),e[43]=k,e[44]=oe):(k=e[43],oe=e[44]);let se;e[45]===O?se=e[46]:(se=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-snapshots`,children:(0,L.jsxs)(xa,{isActive:O,tooltip:`Snapshots`,children:[k,oe]})})}),e[45]=O,e[46]=se);let ce;e[47]===n?ce=e[48]:(ce=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[47]=n,e[48]=ce);let le,ue;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,L.jsx)(Nr,{className:`size-4`}),ue=(0,L.jsx)(`span`,{children:`Placement Groups`}),e[49]=le,e[50]=ue):(le=e[49],ue=e[50]);let A;e[51]===ce?A=e[52]:(A=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-placement-groups`,children:(0,L.jsxs)(xa,{isActive:ce,tooltip:`Placement Groups`,children:[le,ue]})})}),e[51]=ce,e[52]=A);let de;e[53]===n?de=e[54]:(de=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[53]=n,e[54]=de);let fe,pe;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,L.jsx)(Vr,{className:`size-4`}),pe=(0,L.jsx)(`span`,{children:`Load Balancers`}),e[55]=fe,e[56]=pe):(fe=e[55],pe=e[56]);let j;e[57]===de?j=e[58]:(j=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-load-balancers`,children:(0,L.jsxs)(xa,{isActive:de,tooltip:`Load Balancers`,children:[fe,pe]})})}),e[57]=de,e[58]=j);let he;e[59]===n?he=e[60]:(he=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[59]=n,e[60]=he);let M,N;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,L.jsx)(Ar,{className:`size-4`}),N=(0,L.jsx)(`span`,{children:`Target Groups`}),e[61]=M,e[62]=N):(M=e[61],N=e[62]);let _e;e[63]===he?_e=e[64]:(_e=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-target-groups`,children:(0,L.jsxs)(xa,{isActive:he,tooltip:`Target Groups`,children:[M,N]})})}),e[63]=he,e[64]=_e);let ye;e[65]!==x||e[66]!==T||e[67]!==te||e[68]!==ae||e[69]!==se||e[70]!==A||e[71]!==j||e[72]!==_e?(ye=(0,L.jsxs)(_a,{children:[g,(0,L.jsxs)(ya,{children:[x,T,te,ae,se,A,j,_e]})]}),e[65]=x,e[66]=T,e[67]=te,e[68]=ae,e[69]=se,e[70]=A,e[71]=j,e[72]=_e,e[73]=ye):ye=e[73];let be;e[74]===Symbol.for(`react.memo_cache_sentinel`)?(be=(0,L.jsx)(va,{children:`Networking`}),e[74]=be):be=e[74];let xe;e[75]===n?xe=e[76]:(xe=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[75]=n,e[76]=xe);let Se,Ce;e[77]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,L.jsx)(Ie,{className:`size-4`}),Ce=(0,L.jsx)(`span`,{children:`VPCs`}),e[77]=Se,e[78]=Ce):(Se=e[77],Ce=e[78]);let we;e[79]===xe?we=e[80]:(we=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-vpcs`,children:(0,L.jsxs)(xa,{isActive:xe,tooltip:`VPCs`,children:[Se,Ce]})})}),e[79]=xe,e[80]=we);let Te;e[81]===n?Te=e[82]:(Te=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[81]=n,e[82]=Te);let De,P;e[83]===Symbol.for(`react.memo_cache_sentinel`)?(De=(0,L.jsx)(Pr,{className:`size-4`}),P=(0,L.jsx)(`span`,{children:`Subnets`}),e[83]=De,e[84]=P):(De=e[83],P=e[84]);let Oe;e[85]===Te?Oe=e[86]:(Oe=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-subnets`,children:(0,L.jsxs)(xa,{isActive:Te,tooltip:`Subnets`,children:[De,P]})})}),e[85]=Te,e[86]=Oe);let Ae;e[87]===n?Ae=e[88]:(Ae=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[87]=n,e[88]=Ae);let Me,Re;e[89]===Symbol.for(`react.memo_cache_sentinel`)?(Me=(0,L.jsx)(Rr,{className:`size-4`}),Re=(0,L.jsx)(`span`,{children:`Security Groups`}),e[89]=Me,e[90]=Re):(Me=e[89],Re=e[90]);let ze;e[91]===Ae?ze=e[92]:(ze=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/ec2/describe-security-groups`,children:(0,L.jsxs)(xa,{isActive:Ae,tooltip:`Security Groups`,children:[Me,Re]})})}),e[91]=Ae,e[92]=ze);let Be;e[93]!==we||e[94]!==Oe||e[95]!==ze?(Be=(0,L.jsxs)(_a,{children:[be,(0,L.jsxs)(ya,{children:[we,Oe,ze]})]}),e[93]=we,e[94]=Oe,e[95]=ze,e[96]=Be):Be=e[96];let Ve;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,L.jsx)(va,{children:`IAM`}),e[97]=Ve):Ve=e[97];let He;e[98]===n?He=e[99]:(He=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[98]=n,e[99]=He);let Ue,We;e[100]===Symbol.for(`react.memo_cache_sentinel`)?(Ue=(0,L.jsx)(Br,{className:`size-4`}),We=(0,L.jsx)(`span`,{children:`Users`}),e[100]=Ue,e[101]=We):(Ue=e[100],We=e[101]);let Ge;e[102]===He?Ge=e[103]:(Ge=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/iam/list-users`,children:(0,L.jsxs)(xa,{isActive:He,tooltip:`Users`,children:[Ue,We]})})}),e[102]=He,e[103]=Ge);let Ke;e[104]===n?Ke=e[105]:(Ke=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[104]=n,e[105]=Ke);let qe,Je;e[106]===Symbol.for(`react.memo_cache_sentinel`)?(qe=(0,L.jsx)(Le,{className:`size-4`}),Je=(0,L.jsx)(`span`,{children:`Policies`}),e[106]=qe,e[107]=Je):(qe=e[106],Je=e[107]);let Ye;e[108]===Ke?Ye=e[109]:(Ye=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/iam/list-policies`,children:(0,L.jsxs)(xa,{isActive:Ke,tooltip:`Policies`,children:[qe,Je]})})}),e[108]=Ke,e[109]=Ye);let Xe;e[110]!==Ge||e[111]!==Ye?(Xe=(0,L.jsxs)(_a,{children:[Ve,(0,L.jsxs)(ya,{children:[Ge,Ye]})]}),e[110]=Ge,e[111]=Ye,e[112]=Xe):Xe=e[112];let Ze;e[113]===Symbol.for(`react.memo_cache_sentinel`)?(Ze=(0,L.jsx)(va,{children:`S3`}),e[113]=Ze):Ze=e[113];let Qe;e[114]===n?Qe=e[115]:(Qe=n.startsWith(`/s3/ls`),e[114]=n,e[115]=Qe);let $e,et;e[116]===Symbol.for(`react.memo_cache_sentinel`)?($e=(0,L.jsx)(Fe,{className:`size-4`}),et=(0,L.jsx)(`span`,{children:`Buckets`}),e[116]=$e,e[117]=et):($e=e[116],et=e[117]);let tt;e[118]===Qe?tt=e[119]:(tt=(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/s3/ls`,children:(0,L.jsxs)(xa,{isActive:Qe,tooltip:`Buckets`,children:[$e,et]})})}),e[118]=Qe,e[119]=tt);let nt;e[120]!==a||e[121]!==n?(nt=a&&(0,L.jsx)(H,{children:(0,L.jsx)(me,{to:`/s3/service-metrics`,children:(0,L.jsxs)(xa,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,L.jsx)(Dr,{className:`size-4`}),(0,L.jsx)(`span`,{children:`Service Metrics`})]})})}),e[120]=a,e[121]=n,e[122]=nt):nt=e[122];let rt;e[123]!==tt||e[124]!==nt?(rt=(0,L.jsxs)(_a,{children:[Ze,(0,L.jsxs)(ya,{children:[tt,nt]})]}),e[123]=tt,e[124]=nt,e[125]=rt):rt=e[125];let it;e[126]===a?it=e[127]:(it=a&&(0,L.jsxs)(_a,{children:[(0,L.jsx)(va,{children:`Documentation`}),(0,L.jsx)(ya,{children:(0,L.jsx)(H,{children:(0,L.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,L.jsxs)(xa,{tooltip:`Documentation`,children:[(0,L.jsx)(Or,{className:`size-4`}),(0,L.jsx)(`span`,{children:`Docs`})]})})})})]}),e[126]=a,e[127]=it);let at;e[128]!==ye||e[129]!==Be||e[130]!==Xe||e[131]!==rt||e[132]!==it||e[133]!==h?(at=(0,L.jsxs)(ga,{children:[h,ye,Be,Xe,rt,it]}),e[128]=ye,e[129]=Be,e[130]=Xe,e[131]=rt,e[132]=it,e[133]=h,e[134]=at):at=e[134];let ot;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(ot=(0,L.jsx)(ha,{className:`mx-0 w-full`}),e[135]=ot):ot=e[135];let st,ct;e[136]===Symbol.for(`react.memo_cache_sentinel`)?(st=(0,L.jsx)(Fr,{className:`size-4`}),ct=(0,L.jsx)(`span`,{children:`Sign out`}),e[136]=st,e[137]=ct):(st=e[136],ct=e[137]);let lt;e[138]===s?lt=e[139]:(lt=(0,L.jsxs)(ma,{children:[ot,(0,L.jsx)(ya,{children:(0,L.jsx)(H,{children:(0,L.jsxs)(xa,{onClick:s,tooltip:`Sign out`,children:[st,ct]})})})]}),e[138]=s,e[139]=lt);let ut;e[140]===Symbol.for(`react.memo_cache_sentinel`)?(ut=(0,L.jsx)(fa,{}),e[140]=ut):ut=e[140];let dt;return e[141]!==at||e[142]!==lt?(dt=(0,L.jsxs)(ua,{collapsible:`icon`,children:[c,at,lt,ut]}),e[141]=at,e[142]=lt,e[143]=dt):dt=e[143],dt}function Ea(e){return e.pathname}function Da(e){let t=(0,R.c)(18),{error:n,reset:r}=e,i=ne(),a=v(),o;t[0]!==a||t[1]!==r||t[2]!==i?(o=function(){a.invalidateQueries(),r(),i.invalidate()},t[0]=a,t[1]=r,t[2]=i,t[3]=o):o=t[3];let s=o,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,L.jsx)(Ta,{}),t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,L.jsx)(Ca,{}),t[5]=l):l=t[5];let u,d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,L.jsx)(`div`,{className:`flex justify-center`,children:(0,L.jsx)(kr,{className:`size-12 text-destructive`})}),d=(0,L.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=u,t[7]=d):(u=t[6],d=t[7]);let f=n.message||`An unexpected error occurred`,p;t[8]===f?p=t[9]:(p=(0,L.jsx)(`p`,{className:`text-muted-foreground`,children:f}),t[8]=f,t[9]=p);let m;t[10]===s?m=t[11]:(m=(0,L.jsx)(Ge,{onClick:s,variant:`default`,children:`Try Again`}),t[10]=s,t[11]=m);let h;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,L.jsx)(me,{to:`/`,children:(0,L.jsx)(Ge,{variant:`outline`,children:`Go Home`})}),t[12]=h):h=t[12];let g;t[13]===m?g=t[14]:(g=(0,L.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[m,h]}),t[13]=m,t[14]=g);let _;return t[15]!==g||t[16]!==p?(_=(0,L.jsxs)(L.Fragment,{children:[c,(0,L.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[l,(0,L.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,L.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[u,d,p,g]})})]})]}),t[15]=g,t[16]=p,t[17]=_):_=t[17],_}var Oa=he()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(vr,{}),(0,L.jsx)(Ta,{}),(0,L.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,L.jsx)(Ca,{}),(0,L.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,L.jsx)(le,{})})]})]}),errorComponent:Da,notFoundComponent:wa}),ka=j(`/login`)({beforeLoad:()=>{if(Oe())throw pe({to:`/`})},component:M(()=>N(()=>import(`./login.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)}),Aa=j(`/_auth`)({beforeLoad:()=>{if(!Oe())throw pe({to:`/login`})},component:M(()=>N(()=>import(`./route.js`),__vite__mapDeps([17,1,18,19,20,21])),`component`)}),ja=j(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(rn),e.queryClient.ensureQueryData(un),e.queryClient.ensureQueryData(ln),e.queryClient.ensureQueryData(tn),e.queryClient.ensureQueryData(hn),e.queryClient.ensureQueryData(an)])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:M(()=>N(()=>import(`./_auth.js`),__vite__mapDeps([22,1,3,4,23,2,5,6,24,25,26,9,27,28,29,30,31,19,32,33,34,35,36,37,38,15])),`component`)}),Ma=j(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:M(()=>N(()=>import(`./nodes.js`),__vite__mapDeps([39,1,26,3,4,9,27,28,29,30,21,36,38,24,15])),`component`)}),Na=j(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | Mulga`}]}),component:M(()=>N(()=>import(`./service-metrics.js`),__vite__mapDeps([40,1,26,3,4,9,27,28,29,30,21,36,38,24,15])),`component`)}),Pa=j(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(hn)},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:M(()=>N(()=>import(`./ls.js`),__vite__mapDeps([41,1,3,4,25,2,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Fa=j(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:M(()=>N(()=>import(`./create-bucket.js`),__vite__mapDeps([44,1,45,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16])),`component`)}),Ia=j(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:M(()=>N(()=>import(`./create-user.js`),__vite__mapDeps([55,1,56,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,57])),`component`)}),La=j(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:M(()=>N(()=>import(`./create-policy.js`),__vite__mapDeps([58,1,56,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,59,57])),`component`)}),Ra=j(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-vpc.js`),__vite__mapDeps([60,1,61,2,3,4,5,23,6,24,29,46,47,8,9,62,63,11,12,19,64,10,32,51,33,13,14,48,49,31,34,50,52,53,54,36,16,65])),`component`)}),za=j(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(sn)},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-volume.js`),__vite__mapDeps([66,1,61,2,3,4,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ba=j(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(ln)},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-target-group.js`),__vite__mapDeps([67,1,23,2,3,4,5,6,24,68,29,46,47,14,42,28,30,48,19,49,31,32,50,8,9,51,33,52,53,69,7,10,11,12,62,63,64,13,70,71,16,54,36,72])),`component`)}),Va=j(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(ln),e.queryClient.ensureQueryData(sn)])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-subnet.js`),__vite__mapDeps([73,1,3,4,61,2,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ha=j(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(ln)},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-security-group.js`),__vite__mapDeps([74,1,3,4,61,2,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ua=j(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-placement-group.js`),__vite__mapDeps([75,1,61,2,3,4,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,48,49,31,50,52,53,54,36,16,65])),`component`)}),Wa=j(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(ln),e.queryClient.ensureQueryData($t),e.queryClient.ensureQueryData(an),e.queryClient.ensureQueryData(dn),e.queryClient.ensureQueryData(on)])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-load-balancer.js`),__vite__mapDeps([76,1,3,4,23,2,5,6,24,68,29,46,47,77,8,9,62,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,70,50,52,53,71,78,79,69,7,16,54,36,72])),`component`)}),Ga=j(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./import-key-pair.js`),__vite__mapDeps([80,1,61,2,3,4,5,23,6,24,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,59,65])),`component`)}),Ka=j(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./create-key-pair.js`),__vite__mapDeps([81,1,61,2,3,4,5,23,6,24,29,46,47,82,8,9,83,63,11,12,19,13,10,14,48,49,31,32,51,84,50,33,52,53,85,54,36,16,65])),`component`)}),qa=j(`/_auth/ec2/(instances)/run-instances`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(on),e.queryClient.ensureQueryData(tn),e.queryClient.ensureQueryData(en),e.queryClient.ensureQueryData($t),e.queryClient.ensureQueryData(cn)])},head:()=>({meta:[{title:`Run Instances | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./run-instances.js`),__vite__mapDeps([86,1,61,2,3,4,5,23,6,24,29,46,47,8,9,62,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,36,16,65])),`component`)}),Ja=j(`/_auth/s3/ls/$bucket`)({component:M(()=>N(()=>import(`./route2.js`),__vite__mapDeps([87,1,18,19,20,21])),`component`)}),Ya=j(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(mn)},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:M(()=>N(()=>import(`./list-users.js`),__vite__mapDeps([88,1,89,2,3,4,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Xa=j(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(pn)},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:M(()=>N(()=>import(`./list-policies.js`),__vite__mapDeps([90,1,89,2,3,4,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Za=j(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(ln)},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-vpcs.js`),__vite__mapDeps([91,1,3,4,23,2,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),Qa=j(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(un)},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-volumes.js`),__vite__mapDeps([92,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),$a=j(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(dn)},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-target-groups.js`),__vite__mapDeps([93,1,77,2,3,4,5,24,8,9,27,28,29,30,42,31,19,48,36])),`component`)}),eo=j(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData($t)},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-subnets.js`),__vite__mapDeps([94,1,3,4,23,2,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),to=j(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(nn)},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-snapshots.js`),__vite__mapDeps([95,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),no=j(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(an)},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-security-groups.js`),__vite__mapDeps([96,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),ro=j(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(cn)},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-placement-groups.js`),__vite__mapDeps([97,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),io=j(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(fn),e.queryClient.ensureQueryData(on)])},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-load-balancers.js`),__vite__mapDeps([98,1,23,2,3,4,5,6,24,77,8,9,42,28,29,30,31,19,48,78,79,36,37])),`component`)}),ao=j(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(tn)},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-key-pairs.js`),__vite__mapDeps([99,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),oo=j(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(rn)},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-instances.js`),__vite__mapDeps([100,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),so=j(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(on)},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:M(()=>N(()=>import(`./describe-images.js`),__vite__mapDeps([101,1,23,2,3,4,5,6,24,42,28,29,30,43,31,19,36,37,79])),`component`)}),co=ka.update({id:`/login`,path:`/login`,getParentRoute:()=>Oa}),U=Aa.update({id:`/_auth`,getParentRoute:()=>Oa}),W=ja.update({id:`/`,path:`/`,getParentRoute:()=>U}),G=Ma.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>U}),lo=Na.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>U}),uo=Pa.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>U}),fo=Fa.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>U}),po=Ia.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>U}),mo=La.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>U}),ho=Ra.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>U}),go=za.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>U}),_o=Ba.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>U}),vo=Va.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>U}),yo=gn.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>U}),bo=Ha.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>U}),xo=Ua.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>U}),So=Wa.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>U}),Co=Ga.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>U}),wo=Ka.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>U}),To=qa.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>U}),Eo=Ja.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>U}),Do=_n.update({id:`/`,path:`/`,getParentRoute:()=>Eo}),Oo=Ya.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>U}),ko=Xa.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>U}),Ao=Za.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>U}),jo=Qa.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>U}),Mo=$a.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>U}),No=eo.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>U}),Po=to.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>U}),Fo=no.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>U}),Io=ro.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>U}),Lo=io.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>U}),Ro=ao.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>U}),zo=oo.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>U}),Bo=so.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>U}),Vo=vn.update({id:`/$`,path:`/$`,getParentRoute:()=>Eo}),Ho=yn.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>U}),Uo=bn.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>U}),Wo=xn.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>U}),Go=Sn.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>U}),Ko=Me.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>U}),qo=Cn.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>U}),Jo=wn.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>U}),Yo=Tn.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>U}),Xo=ze.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>U}),Zo=En.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>U}),Qo=Dn.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>U}),$o=On.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>U}),es=kn.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>U}),ts=An.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>U}),ns={AuthS3LsBucketSplatRoute:Vo,AuthS3LsBucketIndexRoute:Do},rs={AuthNodesRoute:G,AuthIndexRoute:W,AuthS3ServiceMetricsRoute:lo,AuthS3LsBucketRouteRoute:Eo._addFileChildren(ns),AuthEc2instancesRunInstancesRoute:To,AuthEc2keyCreateKeyPairRoute:wo,AuthEc2keyImportKeyPairRoute:Co,AuthEc2loadBalancersCreateLoadBalancerRoute:So,AuthEc2placementGroupsCreatePlacementGroupRoute:xo,AuthEc2securityGroupsCreateSecurityGroupRoute:bo,AuthEc2snapshotsCreateSnapshotRoute:yo,AuthEc2subnetCreateSubnetRoute:vo,AuthEc2targetGroupsCreateTargetGroupRoute:_o,AuthEc2volumesCreateVolumeRoute:go,AuthEc2vpcCreateVpcRoute:ho,AuthIampoliciesCreatePolicyRoute:mo,AuthIamusersCreateUserRoute:po,AuthS3bucketsCreateBucketRoute:fo,AuthS3LsIndexRoute:uo,AuthEc2imagesDescribeImagesIdRoute:ts,AuthEc2instancesDescribeInstancesIdRoute:es,AuthEc2keyDescribeKeyPairsIdRoute:$o,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:Qo,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:Zo,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:Xo,AuthEc2snapshotsDescribeSnapshotsIdRoute:Yo,AuthEc2subnetDescribeSubnetsIdRoute:Jo,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:qo,AuthEc2volumesDescribeVolumesIdRoute:Ko,AuthEc2volumesModifyVolumeIdRoute:Go,AuthEc2vpcDescribeVpcsIdRoute:Wo,AuthIampoliciesListPoliciesPolicyArnRoute:Uo,AuthIamusersListUsersUserNameRoute:Ho,AuthEc2imagesDescribeImagesIndexRoute:Bo,AuthEc2instancesDescribeInstancesIndexRoute:zo,AuthEc2keyDescribeKeyPairsIndexRoute:Ro,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:Lo,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:Io,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:Fo,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Po,AuthEc2subnetDescribeSubnetsIndexRoute:No,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Mo,AuthEc2volumesDescribeVolumesIndexRoute:jo,AuthEc2vpcDescribeVpcsIndexRoute:Ao,AuthIampoliciesListPoliciesIndexRoute:ko,AuthIamusersListUsersIndexRoute:Oo},is={AuthRouteRoute:U._addFileChildren(rs),LoginRoute:co},as=Oa._addFileChildren(is)._addFileTypes(),os=new Ln({defaultOptions:{queries:{staleTime:5e3}}}),ss=lr({routeTree:as,context:{queryClient:os},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0}),cs=document.querySelector(`#app`);cs&&!cs.innerHTML&&Sr.createRoot(cs).render((0,L.jsx)(I.StrictMode,{children:(0,L.jsx)(Tr,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,L.jsx)(x,{client:os,children:(0,L.jsx)(De,{children:(0,L.jsx)(sa,{children:(0,L.jsx)(fr,{router:ss})})})})})})); \ No newline at end of file +`+e.stack}}var Ce=Object.prototype.hasOwnProperty,we=t.unstable_scheduleCallback,Te=t.unstable_cancelCallback,Ee=t.unstable_shouldYield,F=t.unstable_requestPaint,De=t.unstable_now,Oe=t.unstable_getCurrentPriorityLevel,ke=t.unstable_ImmediatePriority,Ae=t.unstable_UserBlockingPriority,je=t.unstable_NormalPriority,Me=t.unstable_LowPriority,Ne=t.unstable_IdlePriority,Pe=t.log,Fe=t.unstable_setDisableYieldValue,Ie=null,Le=null;function Re(e){if(typeof Pe==`function`&&Fe(e),Le&&typeof Le.setStrictMode==`function`)try{Le.setStrictMode(Ie,e)}catch{}}var ze=Math.clz32?Math.clz32:He,Be=Math.log,Ve=Math.LN2;function He(e){return e>>>=0,e===0?32:31-(Be(e)/Ve|0)|0}var Ue=256,We=262144,Ge=4194304;function Ke(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ke(n))):i=Ke(o):i=Ke(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ke(n))):i=Ke(o)):i=Ke(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Je(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ye(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Xe(){var e=Ge;return Ge<<=1,!(Ge&62914560)&&(Ge=4194304),e}function Ze(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function $e(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0`u`||window.document===void 0||window.document.createElement===void 0),dn=!1;if(un)try{var fn={};Object.defineProperty(fn,`passive`,{get:function(){dn=!0}}),window.addEventListener(`test`,fn,fn),window.removeEventListener(`test`,fn,fn)}catch{dn=!1}var pn=null,mn=null,hn=null;function gn(){if(hn)return hn;var e,t=mn,n=t.length,r,i=`value`in pn?pn.value:pn.textContent,a=i.length;for(e=0;e=qn),Xn=` `,Zn=!1;function Qn(e,t){switch(e){case`keyup`:return Gn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function $n(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var er=!1;function tr(e,t){switch(e){case`compositionend`:return $n(t);case`keypress`:return t.which===32?(Zn=!0,Xn):null;case`textInput`:return e=t.data,e===Xn&&Zn?null:e;default:return null}}function nr(e,t){if(er)return e===`compositionend`||!Kn&&Qn(e,t)?(e=gn(),hn=mn=pn=null,er=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Sr(n)}}function wr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Lt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lt(e.document)}return t}function Er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Dr=un&&`documentMode`in document&&11>=document.documentMode,Or=null,kr=null,Ar=null,jr=!1;function Mr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jr||Or==null||Or!==Lt(r)||(r=Or,`selectionStart`in r&&Er(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ar&&xr(Ar,r)||(Ar=r,r=Ed(kr,`onSelect`),0>=o,i-=o,Ci=1<<32-ze(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),H&&Ti(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),H&&Ti(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return H&&Ti(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),H&&Ti(i,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===_&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case h:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===_){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&Ta(l)===r.type){n(e,r.sibling),c=i(r,o.props),Ma(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===_?(c=ui(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=li(o.type,o.key,o.props,null,e.mode,c),Ma(c,o),c.return=e,e=c)}return s(e);case g:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=pi(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=Ta(o),b(e,r,o,c)}if(ie(o))return v(e,r,o,c);if(te(o)){if(l=te(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ja(o),c);if(o.$$typeof===x)return b(e,r,$i(e,o),c);Na(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=di(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Aa=0;var i=b(e,t,n,r);return ka=null,i}catch(t){if(t===ya||t===xa)throw t;var a=oi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ri(e),ni(e,null,n),t}return $r(e,r,t,n),ri(e)}function Ha(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tt(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Wa=!1;function Ga(){if(Wa){var e=ua;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,m=f!==s.lane;if(m?(Y&f)===f:(r&f)===f){f!==0&&f===la&&(Wa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=p({},d,f);break a;case 2:La=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Gl|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=k.T,s={};k.T=s,Ms(e,!1,t,n);try{var c=i(),l=k.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?js(e,t,pa(c,r),pu(e)):js(e,t,r,pu(e))}catch(n){js(e,t,{then:function(){},status:`rejected`,reason:n},pu())}finally{A.p=a,o!==null&&s.types!==null&&(o.types=s.types),k.T=o}}function xs(){}function Ss(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=Cs(e).queue;bs(e,i,t,ae,n===null?xs:function(){return ws(e),n(r)})}function Cs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:ae},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ws(e){var t=Cs(e);t.next===null&&(t=e.alternate.memoizedState),js(e,t.next.queue,{},pu())}function Ts(){return Qi(Qf)}function Es(){return Oo().memoizedState}function Ds(){return Oo().memoizedState}function Os(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=pu();e=Ba(n);var r=Va(t,e,n);r!==null&&(hu(r,t,n),Ha(r,t,n)),t={cache:aa()},e.payload=t;return}t=t.return}}function ks(e,t,n){var r=pu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ns(e)?Ps(t,n):(n=ei(e,t,n,r),n!==null&&(hu(n,e,r),Fs(n,t,r)))}function As(e,t,n){js(e,t,n,pu())}function js(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ns(e))Ps(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,B(s,o))return $r(e,t,i,0),q===null&&Qr(),!1}catch{}if(n=ei(e,t,i,r),n!==null)return hu(n,e,r),Fs(n,t,r),!0}return!1}function Ms(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ns(e)){if(t)throw Error(a(479))}else t=ei(e,n,r,2),t!==null&&hu(t,e,2)}function Ns(e){var t=e.alternate;return e===W||t!==null&&t===W}function Ps(e,t){fo=uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tt(e,n)}}var Is={readContext:Qi,use:jo,useCallback:vo,useContext:vo,useEffect:vo,useImperativeHandle:vo,useLayoutEffect:vo,useInsertionEffect:vo,useMemo:vo,useReducer:vo,useRef:vo,useState:vo,useDebugValue:vo,useDeferredValue:vo,useTransition:vo,useSyncExternalStore:vo,useId:vo,useHostTransitionStatus:vo,useFormState:vo,useActionState:vo,useOptimistic:vo,useMemoCache:vo,useCacheRefresh:vo};Is.useEffectEvent=vo;var Ls={readContext:Qi,use:jo,useCallback:function(e,t){return Do().memoizedState=[e,t===void 0?null:t],e},useContext:Qi,useEffect:ss,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),as(4194308,4,ps.bind(null,t,e),n)},useLayoutEffect:function(e,t){return as(4194308,4,e,t)},useInsertionEffect:function(e,t){as(4,2,e,t)},useMemo:function(e,t){var n=Do();t=t===void 0?null:t;var r=e();if(po){Re(!0);try{e()}finally{Re(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Do();if(n!==void 0){var i=n(t);if(po){Re(!0);try{n(t)}finally{Re(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ks.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Do();return e={current:e},t.memoizedState=e},useState:function(e){e=Uo(e);var t=e.queue,n=As.bind(null,W,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:hs,useDeferredValue:function(e,t){return vs(Do(),e,t)},useTransition:function(){var e=Uo(!1);return e=bs.bind(null,W,e.queue,!0,!1),Do().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=W,i=Do();if(H){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),q===null)throw Error(a(349));Y&127||Ro(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ss(Bo.bind(null,r,o,e),[e]),r.flags|=2048,rs(9,{destroy:void 0},zo.bind(null,r,o,n,t),null),n},useId:function(){var e=Do(),t=q.identifierPrefix;if(H){var n=wi,r=Ci;n=(r&~(1<<32-ze(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=mo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[I]=t,o[ct]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Pd(o,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&jc(t)}}return Ic(t),Mc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=fe.current,Ri(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Ai,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[I]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Fi(t,!0)}else e=Bd(e).createTextNode(r),e[I]=t,t.stateNode=e}return Ic(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ri(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[I]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),e=!1}else n=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(a(558))}return Ic(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ri(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[I]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),i=!1}else i=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Pc(t,t.updateQueue),Ic(t),null);case 4:return me(),e===null&&Sd(t.stateNode.containerInfo),Ic(t),null;case 10:return Ki(t.type),Ic(t),null;case 19:if(le(U),r=t.memoizedState,r===null)return Ic(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Fc(r,!1);else{if(Wl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=so(e),o!==null){for(t.flags|=128,Fc(r,!1),e=o.updateQueue,t.updateQueue=e,Pc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)V(n,e),n=n.sibling;return j(U,U.current&1|2),H&&Ti(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&De()>tu&&(t.flags|=128,i=!0,Fc(r,!1),t.lanes=4194304)}else{if(!i)if(e=so(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Pc(t,e),Fc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!H)return Ic(t),null}else 2*De()-r.renderingStartTime>tu&&n!==536870912&&(t.flags|=128,i=!0,Fc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Ic(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=De(),e.sibling=null,n=U.current,j(U,i?n&1|2:n&1),H&&Ti(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Ic(t),t.subtreeFlags&6&&(t.flags|=8192)):Ic(t),n=t.updateQueue,n!==null&&Pc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&le(ha),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ki(ia),Ic(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Rc(e,t){switch(Oi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ki(ia),me(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(a(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(U),null;case 4:return me(),null;case 10:return Ki(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&le(ha),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ki(ia),null;case 25:return null;default:return null}}function zc(e,t){switch(Oi(t),t.tag){case 3:Ki(ia),me();break;case 26:case 27:case 5:he(t);break;case 4:me();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:le(U);break;case 10:Ki(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&le(ha);break;case 24:Ki(ia)}}function Bc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Vc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Hc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Z(e,e.return,t)}}}function Uc(e,t,n){n.props=Ws(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Wc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function Gc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}function Kc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function qc(e,t,n){try{var r=e.stateNode;Fd(r,e.type,n,t),r[ct]=t}catch(t){Z(e,e.return,t)}}function Jc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zd(e.type)||e.tag===4}function Yc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Jc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=en));else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Pd(t,r,n),t[I]=e,t[ct]=n}catch(t){Z(e,e.return,t)}}var $c=!1,el=!1,tl=!1,nl=typeof WeakSet==`function`?WeakSet:Set,rl=null;function il(e,t){if(e=e.containerInfo,Rd=sp,e=Tr(e),Er(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(c=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===i&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(zd={focusedElem:e,selectionRange:n},sp=!1,rl=t;rl!==null;)if(t=rl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,rl=e;else for(;rl!==null;){switch(t=rl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n title`))),Pd(o,r,n),o[I]=e,bt(o),r=o;break a;case`link`:var s=Vf(`link`,`href`,i).get(r+(n.href||``));if(s){for(var c=0;cg&&(o=g,g=h,h=o);var _=Cr(s,h),v=Cr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,k.T=null,n=lu,lu=null;var o=au,s=su;if(iu=0,ou=au=null,su=0,K&6)throw Error(a(331));var c=K;if(K|=4,Pl(o.current),El(o,o.current,s,n),K=c,id(0,!1),Le&&typeof Le.onPostCommitFiberRoot==`function`)try{Le.onPostCommitFiberRoot(Ie,o)}catch{}return!0}finally{A.p=i,k.T=r,Vu(e,t)}}function Wu(e,t,n){t=hi(n,t),t=Xs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&(Qe(e,2),rd(e))}function Z(e,t,n){if(e.tag===3)Wu(e,e,n);else for(;t!==null;){if(t.tag===3){Wu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ru===null||!ru.has(r))){e=hi(n,e),n=Zs(2),r=Va(t,n,2),r!==null&&(Qs(n,r,t,e),Qe(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Hl=!0,i.add(n),e=Ku.bind(null,e,t,n),t.then(e,e))}function Ku(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(Wl===4||Wl===3&&(Y&62914560)===Y&&300>De()-$l?!(K&2)&&Su(e,0):ql|=n,Yl===Y&&(Yl=0)),rd(e)}function qu(e,t){t===0&&(t=Xe()),e=ti(e,t),e!==null&&(Qe(e,t),rd(e))}function Ju(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),qu(e,n)}function Yu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return we(e,t)}var Zu=null,Qu=null,$u=!1,ed=!1,td=!1,nd=0;function rd(e){e!==Qu&&e.next===null&&(Qu===null?Zu=Qu=e:Qu=Qu.next=e),ed=!0,$u||($u=!0,ud())}function id(e,t){if(!td&&ed){td=!0;do for(var n=!1,r=Zu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-ze(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ld(r,a))}else a=Y,a=qe(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Je(r,a)||(n=!0,ld(r,a));r=r.next}while(n);td=!1}}function ad(){od()}function od(){ed=$u=!1;var e=0;nd!==0&&Gd()&&(e=nd);for(var t=De(),n=null,r=Zu;r!==null;){var i=r.next,a=sd(r,t);a===0?(r.next=null,n===null?Zu=i:n.next=i,i===null&&(Qu=n)):(n=r,(e!==0||a&3)&&(ed=!0)),r=i}iu!==0&&iu!==5||id(e,!1),nd!==0&&(nd=0)}function sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&Id(d)&&(c=c.responseEnd,o+=u*(c`u`?null:document;function xf(e,t,n){var r=bf;if(r&&typeof t==`string`&&t){var i=zt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),hf.has(i)||(hf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Pd(t,`link`,e),bt(t),r.head.appendChild(t)))}}function Sf(e){_f.D(e),xf(`dns-prefetch`,e,null)}function Cf(e,t){_f.C(e,t),xf(`preconnect`,e,t)}function wf(e,t,n){_f.L(e,t,n);var r=bf;if(r&&e&&t){var i=`link[rel="preload"][as="`+zt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+zt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+zt(n.imageSizes)+`"]`)):i+=`[href="`+zt(e)+`"]`;var a=i;switch(t){case`style`:a=Af(e);break;case`script`:a=Pf(e)}mf.has(a)||(e=p({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),mf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(jf(a))||t===`script`&&r.querySelector(Ff(a))||(t=r.createElement(`link`),Pd(t,`link`,e),bt(t),r.head.appendChild(t)))}}function Tf(e,t){_f.m(e,t);var n=bf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+zt(r)+`"][href="`+zt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Pf(e)}if(!mf.has(a)&&(e=p({rel:`modulepreload`,href:e},t),mf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Ff(a)))return}r=n.createElement(`link`),Pd(r,`link`,e),bt(r),n.head.appendChild(r)}}}function Ef(e,t,n){_f.S(e,t,n);var r=bf;if(r&&e){var i=yt(r).hoistableStyles,a=Af(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(jf(a)))s.loading=5;else{e=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=mf.get(a))&&Rf(e,n);var c=o=r.createElement(`link`);bt(c),Pd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Lf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Df(e,t){_f.X(e,t);var n=bf;if(n&&e){var r=yt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),bt(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Of(e,t){_f.M(e,t);var n=bf;if(n&&e){var r=yt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),bt(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t,n,r){var i=(i=fe.current)?gf(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Af(n.href),n=yt(i).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Af(n.href);var o=yt(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(jf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),mf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},mf.set(e,n),o||Nf(i,e,n,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Pf(n),n=yt(i).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Af(e){return`href="`+zt(e)+`"`}function jf(e){return`link[rel="stylesheet"][`+e+`]`}function Mf(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function Nf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Pd(t,`link`,n),bt(t),e.head.appendChild(t))}function Pf(e){return`[src="`+zt(e)+`"]`}function Ff(e){return`script[async]`+e}function If(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+zt(n.href)+`"]`);if(r)return t.instance=r,bt(r),r;var i=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),bt(r),Pd(r,`style`,i),Lf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Af(n.href);var o=e.querySelector(jf(i));if(o)return t.state.loading|=4,t.instance=o,bt(o),o;r=Mf(n),(i=mf.get(i))&&Rf(r,i),o=(e.ownerDocument||e).createElement(`link`),bt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Pd(o,`link`,r),t.state.loading|=4,Lf(o,n.precedence,e),t.instance=o;case`script`:return o=Pf(n.src),(i=e.querySelector(Ff(o)))?(t.instance=i,bt(i),i):(r=n,(i=mf.get(o))&&(r=p({},n),zf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),bt(i),Pd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Lf(r,n.precedence,e));return t.instance}function Lf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Uf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Wf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Gf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Af(r.href),a=t.querySelector(jf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Jf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,bt(a);return}a=t.ownerDocument||t,r=Mf(r),(i=mf.get(i))&&Rf(r,i),a=a.createElement(`link`),bt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Pd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Jf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Kf=0;function qf(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0Kf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Jf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yf=null;function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yf=new Map,t.forEach(Zf,e),Yf=null,Jf.call(e))}function Zf(e,t){if(!(t.state.loading&4)){var n=Yf.get(e);if(n)var r=n.get(null);else{n=new Map,Yf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=yr()}))(),1),B=i(),xr=(0,R.createContext)(void 0);function Sr(e,t){try{let t=localStorage.getItem(e);if(t===`light`||t===`dark`||t===`system`)return t}catch{}return t}function Cr(e){let t=(0,B.c)(14),{children:n,defaultTheme:r,storageKey:i}=e,a=r===void 0?`dark`:r,o=i===void 0?`ui-theme`:i,s;t[0]!==a||t[1]!==o?(s=()=>Sr(o,a),t[0]=a,t[1]=o,t[2]=s):s=t[2];let[c,l]=(0,R.useState)(s),u,d;t[3]===c?(u=t[4],d=t[5]):(u=()=>{let e=window.document.documentElement;if(e.classList.remove(`light`,`dark`),c===`system`){let t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;e.classList.add(t);return}e.classList.add(c)},d=[c],t[3]=c,t[4]=u,t[5]=d),(0,R.useEffect)(u,d);let f;t[6]===o?f=t[7]:(f=e=>{try{localStorage.setItem(o,e)}catch{}l(e)},t[6]=o,t[7]=f);let p;t[8]!==f||t[9]!==c?(p={theme:c,setTheme:f},t[8]=f,t[9]=c,t[10]=p):p=t[10];let m=p,h;return t[11]!==n||t[12]!==m?(h=(0,z.jsx)(xr.Provider,{value:m,children:n}),t[11]=n,t[12]=m,t[13]=h):h=t[13],h}function wr(){let e=(0,R.useContext)(xr);if(e===void 0)throw Error(`useTheme must be used within a ThemeProvider`);return e}var Tr=ke(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Er=ke(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Dr=ke(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Or=ke(`crosshair`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]),kr=ke(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),Ar=ke(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),jr=ke(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Mr=ke(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),Nr=ke(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),Pr=ke(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Fr=ke(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),Ir=ke(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Lr=ke(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),Rr=ke(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),zr=ke(`waypoints`,[[`path`,{d:`m10.586 5.414-5.172 5.172`,key:`4mc350`}],[`path`,{d:`m18.586 13.414-5.172 5.172`,key:`8c96vv`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`circle`,{cx:`12`,cy:`20`,r:`2`,key:`144qzu`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}],[`circle`,{cx:`20`,cy:`12`,r:`2`,key:`1xzzfp`}],[`circle`,{cx:`4`,cy:`12`,r:`2`,key:`1hvhnz`}]]);function Br(e,t){return t!=null&&!St(t)?0:typeof e==`function`?e():e}function Vr(e,t,n){let r=Br(e,n);return typeof r==`number`?r:r?.[t]}function Hr(e){return typeof e==`function`?e():e}function Ur(e,t){return t||e===`click`||e===`mousedown`}var Wr=R.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Ct,currentIdRef:{current:null},currentContextRef:{current:null}});function Gr(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=R.useRef(n),a=R.useRef(n),o=R.useRef(null),s=R.useRef(null),c=Dt();return(0,z.jsx)(Wr.Provider,{value:R.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function Kr(e,t={open:!1}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`floatingId`),{open:i}=t,{currentIdRef:a,delayRef:o,timeoutMs:s,initialDelayRef:c,currentContextRef:l,hasProvider:u,timeout:d}=R.useContext(Wr),[f,p]=R.useState(!1);return Ue(()=>{function e(){p(!1),l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,o.current=c.current}if(a.current&&!i&&a.current===r){if(p(!1),s){let t=r;return d.start(s,()=>{n.select(`open`)||a.current&&a.current!==t||e()}),()=>{d.clear()}}e()}},[i,r,a,o,s,c,l,d,n]),Ue(()=>{if(!i)return;let e=l.current,t=a.current;d.clear(),l.current={onOpenChange:n.setOpen,setIsInstantPhase:p},a.current=r,o.current={open:0,close:Vr(c.current,`close`)},t!==null&&t!==r?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,et(tt))):(p(!1),e?.setIsInstantPhase(!1))},[i,r,n,a,o,s,c,l,d]),Ue(()=>()=>{l.current=null},[l]),R.useMemo(()=>({hasProvider:u,delayRef:o,isInstantPhase:f}),[u,o,f])}function qr(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function Jr(e){return e!=null&&e.clientX!=null}function Yr(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{enabled:s=!0,axis:c=`both`}=t,l=R.useRef(!1),u=R.useRef(null),[d,f]=R.useState(),[p,m]=R.useState([]),h=Ve((e,t,r)=>{l.current||o.current.openEvent&&!Jr(o.current.openEvent)||n.set(`positionReference`,qr(r??a,{x:e,y:t,axis:c,dataRef:o,pointerType:d}))}),g=Ve(e=>{r?u.current||m([]):h(e.clientX,e.clientY,e.currentTarget)}),_=St(d)?i:r,v=R.useCallback(()=>{if(!_||!s)return;let e=ze(i);function t(e){qe(i,nt(e))?(u.current?.(),u.current=null):h(e.clientX,e.clientY)}if(!o.current.openEvent||Jr(o.current.openEvent))return u.current=ot(e,`mousemove`,t),()=>{u.current?.(),u.current=null};n.set(`positionReference`,a)},[_,s,i,o,a,n,h]);R.useEffect(()=>v(),[v,p]),R.useEffect(()=>{s&&!i&&(l.current=!1)},[s,i]),R.useEffect(()=>{!s&&r&&(l.current=!0)},[s,r]);let y=R.useMemo(()=>{function e(e){f(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:g,onMouseEnter:g}},[g]);return R.useMemo(()=>s?{reference:y,trigger:y}:{},[s,y])}var Xr=ct&&Tt;function Zr(e,t={}){let n=`rootStore`in e?e.rootStore:e,{events:r,dataRef:i}=n.context,{enabled:a=!0,delay:o}=t,s=R.useRef(!1),c=R.useRef(null),l=Dt(),u=R.useRef(!0);R.useEffect(()=>{let e=n.select(`domReferenceElement`);if(!a)return;let t=ze(e);function r(){let e=n.select(`domReferenceElement`);!n.select(`open`)&&Be(e)&&e===Xe(rt(e))&&(s.current=!0)}function i(){u.current=!0}function o(){u.current=!1}return ft(ot(t,`blur`,r),Xr&&ot(t,`keydown`,i,!0),Xr&&ot(t,`pointerdown`,o,!0))},[n,a]),R.useEffect(()=>{if(!a)return;function e(e){if(e.reason===`trigger-press`||e.reason===`escape-key`){let e=n.select(`domReferenceElement`);Ge(e)&&(c.current=e,s.current=!0)}}return r.on(`openchange`,e),()=>{r.off(`openchange`,e)}},[r,a,n]);let d=R.useMemo(()=>({onMouseLeave(){s.current=!1,c.current=null},onFocus(e){let t=e.currentTarget;if(s.current){if(c.current===t)return;s.current=!1,c.current=null}let r=nt(e.nativeEvent);if(Ge(r)){if(Xr&&!e.relatedTarget){if(!u.current&&!vt(r))return}else if(!ut(r))return}let i=mt(e.relatedTarget,n.context.triggerElements),{nativeEvent:a,currentTarget:d}=e,f=typeof o==`function`?o():o;if(n.select(`open`)&&i||f===0||f===void 0){n.setOpen(!0,et(Ye,a,d));return}l.start(f,()=>{s.current||n.setOpen(!0,et(Ye,a,d))})},onBlur(e){s.current=!1,c.current=null;let t=e.relatedTarget,r=e.nativeEvent,a=Ge(t)&&t.hasAttribute(yt(`focus-guard`))&&t.getAttribute(`data-type`)===`outside`;l.start(0,()=>{let e=n.select(`domReferenceElement`),o=Xe(rt(e));!t&&o===e||qe(i.current.floatingContext?.refs.floating.current,o)||qe(e,o)||a||mt(t??o,n.context.triggerElements)||n.setOpen(!1,et(Ye,r))})}}),[i,n,l,o]);return R.useMemo(()=>a?{reference:d,trigger:d}:{},[a,d])}var Qr=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Ct,this.restTimeout=new Ct,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},$r=new WeakMap;function ei(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&$r.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),$r.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function ti(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=$r.get(n);a&&a!==e&&ei(a),ei(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,$r.set(n,e),n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function ni(e){let t=Se(Qr.create).current,n=e.context.dataRef.current;return n.hoverInteractionState||=t,st(n.hoverInteractionState.disposeEffect),n.hoverInteractionState}function ri(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),{dataRef:o}=n.context,{enabled:s=!0,closeDelay:c=0,nodeId:l}=t,u=ni(n),d=_t(),f=ht(),p=Ve(()=>Ur(o.current.openEvent?.type,u.interactedInside)),m=Ve(()=>{let e=o.current.openEvent?.type;return e?.includes(`mouse`)&&e!==`mousedown`}),h=Ve(e=>mt(e,n.context.triggerElements)),g=R.useCallback(e=>{let t=Vr(c,`close`,u.pointerType),r=()=>{n.setOpen(!1,et(Qe,e)),d?.events.emit(`floating.closed`,e)};t?u.openChangeTimeout.start(t,r):(u.openChangeTimeout.clear(),r())},[c,n,u,d]),_=Ve(()=>{ei(u)}),v=Ve(e=>{let t=nt(e);if(!At(t)){u.interactedInside=!1;return}u.interactedInside=t?.closest(`[aria-haspopup]`)!=null});Ue(()=>{r||(u.pointerType=void 0,u.restTimeoutPending=!1,u.interactedInside=!1,_())},[r,u,_]),R.useEffect(()=>_,[_]),Ue(()=>{if(s&&r&&u.handleCloseOptions?.blockPointerEvents&&m()&&Ge(a)&&i){let e=a,t=i,n=rt(i),r=d?.nodesRef.current.find(e=>e.id===f)?.context?.elements.floating;return r&&(r.style.pointerEvents=``),ti(u,{scopeElement:u.handleCloseOptions?.getScope?.()??u.pointerEventsScopeElement??r??e.closest(`[data-rootownerid]`)??n.body,referenceElement:e,floatingElement:t}),()=>{_()}}},[s,r,a,i,u,m,d,f,_]);let y=Dt();R.useEffect(()=>{if(!s)return;function e(){u.openChangeTimeout.clear(),y.clear(),d?.events.off(`floating.closed`,r),_()}function t(e){if(d&&f&&Mt(d.nodesRef.current,f).length>0){d.events.on(`floating.closed`,r);return}if(h(e.relatedTarget))return;let t=o.current.floatingContext?.nodeId??l,n=e.relatedTarget;if(!(d&&t&&Ge(n)&&Mt(d.nodesRef.current,t,!1).some(e=>qe(e.context?.elements.floating,n)))){if(u.handler){u.handler(e);return}_(),p()||g(e)}}function r(e){!d||!f||Mt(d.nodesRef.current,f).length>0||y.start(0,()=>{d.events.off(`floating.closed`,r),n.setOpen(!1,et(Qe,e)),d.events.emit(`floating.closed`,e)})}let a=i;return ft(a&&ot(a,`mouseenter`,e),a&&ot(a,`mouseleave`,t),a&&ot(a,`pointerdown`,v,!0),()=>{d?.events.off(`floating.closed`,r)})},[s,i,n,o,l,p,h,g,_,v,u,d,f,y])}var ii=e(ge()),ai={current:null};function oi(e,t={}){let n=`rootStore`in e?e.rootStore:e,{dataRef:r,events:i}=n.context,{enabled:a=!0,delay:o=0,handleClose:s=null,mouseOnly:c=!1,restMs:l=0,move:u=!0,triggerElementRef:d=ai,externalTree:f,isActiveTrigger:p=!0,getHandleCloseContext:m,isClosing:h}=t,g=_t(f),_=ni(n),v=R.useRef(!1),y=wt(s),b=wt(o),x=wt(l),S=wt(a),C=wt(h);p&&(_.handleCloseOptions=y.current?.__options);let w=Ve(()=>Ur(r.current.openEvent?.type,_.interactedInside)),T=Ve(e=>mt(e,n.context.triggerElements)),E=Ve((e,t,r)=>{let i=n.context.triggerElements;if(i.hasElement(t))return!e||!qe(e,t);if(!Ge(r))return!1;let a=r;return i.hasMatchingElement(e=>qe(e,a))&&(!e||!qe(e,a))}),D=Ve((e,t=!0)=>{let r=Vr(b.current,`close`,_.pointerType);r?_.openChangeTimeout.start(r,()=>{n.setOpen(!1,et(Qe,e)),g?.events.emit(`floating.closed`,e)}):t&&(_.openChangeTimeout.clear(),n.setOpen(!1,et(Qe,e)),g?.events.emit(`floating.closed`,e))}),O=Ve(()=>{_.handler&&=(rt(n.select(`domReferenceElement`)).removeEventListener(`mousemove`,_.handler),void 0)}),ee=Ve(()=>{ei(_)});return R.useEffect(()=>O,[O]),R.useEffect(()=>{if(!a)return;function e(e){e.open?v.current=!1:(v.current=e.reason===Qe,O(),_.openChangeTimeout.clear(),_.restTimeout.clear(),_.blockMouseMove=!0,_.restTimeoutPending=!1)}return i.on(`openchange`,e),()=>{i.off(`openchange`,e)}},[a,i,_,O]),R.useEffect(()=>{if(!a)return;let e=d.current??(p?n.select(`domReferenceElement`):null);if(!Ge(e))return;function t(e){if(_.openChangeTimeout.clear(),_.blockMouseMove=!1,c&&!St(_.pointerType))return;let t=Hr(x.current),r=Vr(b.current,`open`,_.pointerType),i=nt(e),a=e.currentTarget??null,o=n.select(`domReferenceElement`),s=a;if(Ge(i)&&!n.context.triggerElements.hasElement(i)){for(let e of n.context.triggerElements.elements())if(qe(e,i)){s=e;break}}Ge(a)&&Ge(o)&&!n.context.triggerElements.hasElement(a)&&qe(a,o)&&(s=o);let l=s==null?!1:E(o,s,i),u=n.select(`open`),d=C.current?.()??n.select(`transitionStatus`)===`ending`,f=!u&&d&&v.current,p=!l&&Ge(s)&&Ge(o)&&qe(o,s)&&f,m=t>0&&!r,h=l&&(u||f)||p,g=!u||l;if(h){n.setOpen(!0,et(Qe,e,s));return}m||(r?_.openChangeTimeout.start(r,()=>{g&&n.setOpen(!0,et(Qe,e,s))}):g&&n.setOpen(!0,et(Qe,e,s)))}function i(e){if(w()){ee();return}O();let t=rt(n.select(`domReferenceElement`));_.restTimeout.clear(),_.restTimeoutPending=!1;let i=r.current.floatingContext??m?.();if(!T(e.relatedTarget)){if(y.current&&i){n.select(`open`)||_.openChangeTimeout.clear();let r=d.current;_.handler=y.current({...i,tree:g,x:e.clientX,y:e.clientY,onClose(){ee(),O(),S.current&&!w()&&r===n.select(`domReferenceElement`)&&D(e,!0)}}),t.addEventListener(`mousemove`,_.handler),_.handler(e);return}(_.pointerType!==`touch`||!qe(n.select(`floatingElement`),e.relatedTarget))&&D(e)}}return u?ft(ot(e,`mousemove`,t,{once:!0}),ot(e,`mouseenter`,t),ot(e,`mouseleave`,i)):ft(ot(e,`mouseenter`,t),ot(e,`mouseleave`,i))},[O,ee,r,b,D,n,a,y,_,p,E,w,T,c,u,x,d,g,S,m,C]),R.useMemo(()=>{if(!a)return;function e(e){_.pointerType=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=n.select(`domReferenceElement`),a=n.select(`open`),o=E(i,r,e.target);if(c&&!St(_.pointerType))return;if(a&&o&&_.handleCloseOptions?.blockPointerEvents){let e=n.select(`floatingElement`);e&&ti(_,{scopeElement:_.handleCloseOptions?.getScope?.()??r.ownerDocument.body,referenceElement:r,floatingElement:e})}let s=Hr(x.current);if(a&&!o||s===0||!o&&_.restTimeoutPending&&e.movementX**2+e.movementY**2<2)return;_.restTimeout.clear();function l(){if(_.restTimeoutPending=!1,w())return;let e=n.select(`open`);!_.blockMouseMove&&(!e||o)&&n.setOpen(!0,et(Qe,t,r))}_.pointerType===`touch`?ii.flushSync(()=>{l()}):o&&a?l():(_.restTimeoutPending=!0,_.restTimeout.start(s,l))}}},[a,_,w,E,c,n,x])}var si=.1,ci=si*si,V=.5;function li(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function ui(e,t,n,r,i,a,o,s,c,l){let u=!1;return li(e,t,n,r,i,a)&&(u=!u),li(e,t,i,a,o,s)&&(u=!u),li(e,t,o,s,c,l)&&(u=!u),li(e,t,c,l,n,r)&&(u=!u),u}function di(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function fi(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function pi(e={}){let{blockPointerEvents:t=!1}=e,n=new Ct,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*ci;return u=e,d=t,f=n,o0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,D=(T?x:S).left,O=(T?x:S).right,ee=(E?x:S).top,te=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let ne=!1;switch(c){case`top`:ne=fi(d,f,D,x.top+1,O,S.bottom-1);break;case`bottom`:ne=fi(d,f,D,S.top+1,O,x.bottom-1);break;case`left`:ne=fi(d,f,S.right-1,te,x.left+1,ee);break;case`right`:ne=fi(d,f,x.right-1,te,S.left+1,ee);break;default:}if(ne)return;if(l&&!di(d,f,x)){b();return}if(!g&&p(d,f)){b();return}let re=!1;switch(c){case`top`:{let n=T?V/2:V*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+V+1,o=C||T?S.bottom-V:S.top,s=C?T?S.bottom-V:S.top:S.bottom-V;re=ui(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?V/2:V*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-V,o=C||T?S.top+V:S.bottom,s=C?T?S.top+V:S.bottom:S.top+V;re=ui(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?V/2:V*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+V+1,o=w||E?S.right-V:S.left,s=w?E?S.right-V:S.left:S.right-V;re=ui(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?V/2:V*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-V,o=w||E?S.left+V:S.right,s=w?E?S.left+V:S.right:S.left+V;re=ui(d,f,a,r,a,i,o,S.top,s,S.bottom);break}default:}re?l||n.start(40,b):b()}};return r.__options={...e,blockPointerEvents:t},r}function mi(e){let t=(0,B.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,z.jsx)(Vt,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function hi(e){let t=(0,B.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,z.jsx)(Ht,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function gi(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 z-50 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(Lt,{className:i,"data-slot":`sheet-overlay`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _i(e){let t=(0,B.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,children:n,side:a,showCloseButton:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`right`:a,c=o===void 0?!0:o,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,z.jsx)(gi,{}),t[6]=l):l=t[6];let u;t[7]===r?u=t[8]:(u=F(`data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-closed:animate-out data-open:animate-in fixed z-50 flex flex-col bg-background bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,r),t[7]=r,t[8]=u);let d;t[9]===c?d=t[10]:(d=c&&(0,z.jsxs)(Rt,{"data-slot":`sheet-close`,render:(0,z.jsx)(We,{className:`absolute top-4 right-4`,size:`icon-sm`,variant:`ghost`}),children:[(0,z.jsx)(Le,{}),(0,z.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[9]=c,t[10]=d);let f;return t[11]!==n||t[12]!==i||t[13]!==s||t[14]!==u||t[15]!==d?(f=(0,z.jsxs)(hi,{children:[l,(0,z.jsxs)(Wt,{className:u,"data-side":s,"data-slot":`sheet-content`,...i,children:[n,d]})]}),t[11]=n,t[12]=i,t[13]=s,t[14]=u,t[15]=d,t[16]=f):f=t[16],f}function vi(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-1.5 p-6`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`div`,{className:i,"data-slot":`sheet-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function yi(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`text-sm font-medium text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(Gt,{className:i,"data-slot":`sheet-title`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function bi(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`text-xs/relaxed text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(Bt,{className:i,"data-slot":`sheet-description`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var xi=R.createContext(void 0);function Si(e){let t=R.useContext(xi);if(t===void 0&&!e)throw Error(ye(72));return t}var Ci={...Kt,disabled:I(e=>e.disabled),instantType:I(e=>e.instantType),isInstantPhase:I(e=>e.isInstantPhase),trackCursorAxis:I(e=>e.trackCursorAxis),disableHoverablePopup:I(e=>e.disableHoverablePopup),lastOpenChangeReason:I(e=>e.openChangeReason),closeOnClick:I(e=>e.closeOnClick),closeDelay:I(e=>e.closeDelay),hasViewport:I(e=>e.hasViewport)},wi=class e extends xt{constructor(e){super({...Ti(),...e},{popupRef:R.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:new lt},Ci)}setOpen=(e,t)=>{let n=t.reason,r=n===Qe,i=e&&n===`trigger-focus`,a=!e&&(n===`trigger-press`||n===`escape-key`);if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let o=()=>{let r={open:e,openChangeReason:n};i?r.instantType=`focus`:a?r.instantType=`dismiss`:n===`trigger-hover`&&(r.instantType=void 0);let o=t.trigger?.id??null;(o||e)&&(r.activeTriggerId=o,r.activeTriggerElement=t.trigger??null),this.update(r)};r?ii.flushSync(o):o()};static useStore(t,n){let r=Se(()=>new e(n)).current,i=t??r,a=Pt({popupStore:i,onOpenChange:i.setOpen});return i.state.floatingRootContext=a,i}};function Ti(){return{...zt(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1}}var Ei=gt(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=wi.useStore(l?.store,{open:n,openProp:r,activeTriggerId:d,triggerIdProp:u});Ot(()=>{r===void 0&&p.state.open===!1&&n===!0&&p.update({open:!0,activeTriggerId:d})}),p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i}),Ue(()=>{m&&t&&p.setOpen(!1,et(Ze))},[m,t,p]),p.useSyncedValue(`disabled`,t),Ft(p);let{forceUnmount:v,transitionStatus:y}=It(h,p),b=p.select(`floatingRootContext`),x=p.useState(`isInstantPhase`),S=p.useState(`instantType`),C=p.useState(`lastOpenChangeReason`),w=R.useRef(null);Ue(()=>{y===`ending`&&C===`none`||y!==`ending`&&x?(S!==`delay`&&(w.current=S),p.set(`instantType`,`delay`)):w.current!==null&&(p.set(`instantType`,w.current),w.current=null)},[y,x,C,S,p]),Ue(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]);let T=R.useCallback(()=>{p.setOpen(!1,Di(p,$e))},[p]);R.useImperativeHandle(o,()=>({unmount:v,close:T}),[v,T]);let{getReferenceProps:E,getFloatingProps:D,getTriggerProps:O}=bt([kt(b,{enabled:!t,referencePress:()=>p.select(`closeOnClick`)}),Yr(b,{enabled:!t&&a!==`none`,axis:a===`none`?void 0:a})]),ee=R.useMemo(()=>E(),[E]),te=R.useMemo(()=>O(),[O]),ne=R.useMemo(()=>D(),[D]);return p.useSyncedValues({activeTriggerProps:ee,inactiveTriggerProps:te,popupProps:ne}),(0,z.jsx)(xi.Provider,{value:p,children:typeof f==`function`?f({payload:_}):f})});function Di(e,t){let n=et(t);return n.preventUnmountOnClose=()=>{e.set(`preventUnmountingOnClose`,!0)},n}var Oi=R.createContext(void 0);function ki(){return R.useContext(Oi)}var Ai=function(e){return e[e.popupOpen=Et.popupOpen]=`popupOpen`,e.triggerDisabled=`data-trigger-disabled`,e}({}),ji=jt(function(e,t){let{className:n,render:r,handle:i,payload:a,disabled:o,delay:s,closeOnClick:c=!0,closeDelay:l,id:u,style:d,...f}=e,p=Si(!0),m=i?.store??p;if(!m)throw Error(ye(82));let h=Je(u),g=m.useState(`isTriggerActive`,h),_=m.useState(`isOpenedByTrigger`,h),v=m.useState(`floatingRootContext`),y=R.useRef(null),b=s??600,x=l??0,{registerTrigger:S,isMountedByThisTrigger:C}=Ut(h,y,m,{payload:a,closeOnClick:c,closeDelay:x}),w=ki(),{delayRef:T,isInstantPhase:E,hasProvider:D}=Kr(v,{open:_});m.useSyncedValue(`isInstantPhase`,E);let O=m.useState(`disabled`),ee=o??O,te=m.useState(`trackCursorAxis`),ne=m.useState(`disableHoverablePopup`),re=oi(v,{enabled:!ee,mouseOnly:!0,move:!1,handleClose:!ne&&te!==`both`?pi():null,restMs(){let e=w?.delay,t=typeof T.current==`object`?T.current.open:void 0,n=b;return D&&(n=t===0?0:s??e??b),n},delay(){let e=typeof T.current==`object`?T.current.close:void 0,t=x;return l==null&&D&&(t=e),{close:t}},triggerElementRef:y,isActiveTrigger:g,isClosing:()=>m.select(`transitionStatus`)===`ending`}),ie=Zr(v,{enabled:!ee}).reference,k={open:_},A=m.useState(`triggerProps`,C);return be(`button`,e,{state:k,ref:[t,S,y],props:[re,ie,A,{onPointerDown(){m.set(`closeOnClick`,c)},id:h,[Ai.triggerDisabled]:ee?``:void 0},f],stateAttributesMapping:Nt})}),H=R.createContext(void 0);function Mi(){let e=R.useContext(H);if(e===void 0)throw Error(ye(70));return e}var Ni=R.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,style:o,...s}=e,{portalNode:c,portalSubtree:l}=pt({container:r,ref:t,componentProps:e,elementProps:s});return!l&&!c?null:(0,z.jsxs)(R.Fragment,{children:[l,c&&ii.createPortal(n,c)]})}),Pi=R.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return Si().useState(`mounted`)||n?(0,z.jsx)(H.Provider,{value:n,children:(0,z.jsx)(Ni,{ref:t,...r})}):null}),Fi=R.createContext(void 0);function Ii(){let e=R.useContext(Fi);if(e===void 0)throw Error(ye(71));return e}var Li=R.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=xe,style:g,..._}=e,v=Si(),y=Mi(),b=v.useState(`open`),x=v.useState(`mounted`),S=v.useState(`trackCursorAxis`),C=v.useState(`disableHoverablePopup`),w=v.useState(`floatingRootContext`),T=v.useState(`instantType`),E=v.useState(`transitionStatus`),D=Yt({anchor:i,positionMethod:a,floatingRootContext:w,mounted:x,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:y,collisionAvoidance:h,adaptiveOrigin:v.useState(`hasViewport`)?qt:void 0}),O=Xt(e,R.useMemo(()=>({open:b,side:D.side,align:D.align,anchorHidden:D.anchorHidden,instant:S===`none`?T:`tracking-cursor`}),[b,D.side,D.align,D.anchorHidden,S,T]),{styles:D.positionerStyles,transitionStatus:E,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!x,inert:!b||S===`both`||C});return(0,z.jsx)(Fi.Provider,{value:D,children:O})}),Ri={...dt,...it},zi=R.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,o=Si(),{side:s,align:c}=Ii(),l=o.useState(`open`),u=o.useState(`instantType`),d=o.useState(`transitionStatus`),f=o.useState(`popupProps`),p=o.useState(`floatingRootContext`);at({open:l,ref:o.context.popupRef,onComplete(){l&&o.context.onOpenChangeComplete?.(!0)}});let m=o.useState(`disabled`),h=o.useState(`closeDelay`);return ri(p,{enabled:!m,closeDelay:h}),be(`div`,e,{state:{open:l,side:s,align:c,instant:u,transitionStatus:d},ref:[t,o.context.popupRef,o.useStateSetter(`popupElement`)],props:[f,Jt(d),a],stateAttributesMapping:Ri})}),Bi=R.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,o=Si(),s=o.useState(`open`),c=o.useState(`instantType`),{arrowRef:l,side:u,align:d,arrowUncentered:f,arrowStyles:p}=Ii();return be(`div`,e,{state:{open:s,side:u,align:d,uncentered:f,instant:c},ref:[t,l],props:[{style:p,"aria-hidden":!0},a],stateAttributesMapping:dt})}),Vi=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=R.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=R.useMemo(()=>({open:t,close:n}),[t,n]);return(0,z.jsx)(Oi.Provider,{value:i,children:(0,z.jsx)(Gr,{delay:a,timeoutMs:r,children:e.children})})};function Hi(e){let t=(0,B.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delay:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,z.jsx)(Vi,{"data-slot":`tooltip-provider`,delay:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function Ui(e){let t=(0,B.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,z.jsx)(Hi,{children:(0,z.jsx)(Ei,{"data-slot":`tooltip`,...n})}),t[2]=n,t[3]=r),r}function Wi(e){let t=(0,B.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,z.jsx)(ji,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function Gi(e){let t=(0,B.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`top`:a,u=o===void 0?4:o,d=s===void 0?`center`:s,f=c===void 0?0:c,p;t[8]===r?p=t[9]:(p=F(`data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-closed:animate-out data-open:animate-in z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md bg-foreground px-3 py-1.5 text-xs text-background **:data-[slot=kbd]:rounded-md`,r),t[8]=r,t[9]=p);let m;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,z.jsx)(Bi,{className:`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5`}),t[10]=m):m=t[10];let h;t[11]!==n||t[12]!==i||t[13]!==p?(h=(0,z.jsxs)(zi,{className:p,"data-slot":`tooltip-content`,...i,children:[n,m]}),t[11]=n,t[12]=i,t[13]=p,t[14]=h):h=t[14];let g;return t[15]!==d||t[16]!==f||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,z.jsx)(Pi,{children:(0,z.jsx)(Li,{align:d,alignOffset:f,className:`isolate z-50`,side:l,sideOffset:u,children:h})}),t[15]=d,t[16]=f,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}var Ki=window.matchMedia(`(max-width: 767px)`);function qi(e){return Ki.addEventListener(`change`,e),()=>Ki.removeEventListener(`change`,e)}function Ji(){return Ki.matches}function Yi(){return(0,R.useSyncExternalStore)(qi,Ji)}var Xi=`sidebar_state`,Zi=3600*24*7,Qi=`12rem`,$i=`16rem`,ea=`3rem`,ta=`b`,na=R.createContext(null);function ra(){let e=R.useContext(na);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function ia(e){let t=(0,B.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0?!0:c,u=Yi(),[d,f]=R.useState(!1),[p,m]=R.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${Xi}=${t}; path=/; max-age=${Zi}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>u?f(oa):_(aa),t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===ta&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},x=[y],t[14]=y,t[15]=b,t[16]=x),R.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===r?T=t[25]:(T=F(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,r),t[24]=r,t[25]=T);let E;t[26]===s?E=t[27]:(E={"--sidebar-width":Qi,"--sidebar-width-icon":ea,...s},t[26]=s,t[27]=E);let D=E,O;t[28]!==n||t[29]!==a||t[30]!==T||t[31]!==D?(O=(0,z.jsx)(`div`,{className:T,"data-slot":`sidebar-wrapper`,style:D,...a,children:n}),t[28]=n,t[29]=a,t[30]=T,t[31]=D,t[32]=O):O=t[32];let ee;return t[33]!==w||t[34]!==O?(ee=(0,z.jsx)(na.Provider,{value:w,children:O}),t[33]=w,t[34]=O,t[35]=ee):ee=t[35],ee}function aa(e){return!e}function oa(e){return!e}function sa(e){let t=(0,B.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offExamples`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=ra();if(u===`none`){let e;t[7]===r?e=t[8]:(e=F(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,z.jsx)(`div`,{className:e,"data-slot":`sidebar`,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e={"--sidebar-width":$i},t[13]=e):e=t[13];let r=e,a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,z.jsxs)(vi,{className:`sr-only`,children:[(0,z.jsx)(yi,{children:`Sidebar`}),(0,z.jsx)(bi,{children:`Displays the mobile sidebar.`})]}),t[14]=a):a=t[14];let o;t[15]===n?o=t[16]:(o=(0,z.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=o);let s;t[17]!==c||t[18]!==o?(s=(0,z.jsxs)(_i,{className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,"data-mobile":`true`,"data-sidebar":`sidebar`,"data-slot":`sidebar`,side:c,style:r,children:[a,o]}),t[17]=c,t[18]=o,t[19]=s):s=t[19];let l;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==s?(l=(0,z.jsx)(mi,{onOpenChange:m,open:p,...i,children:s}),t[20]=p,t[21]=i,t[22]=m,t[23]=s,t[24]=l):l=t[24],l}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=F(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offExamples]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,z.jsx)(`div`,{className:_,"data-slot":`sidebar-gap`}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=F(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,z.jsx)(`div`,{className:`flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border`,"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,z.jsx)(`div`,{className:x,"data-slot":`sidebar-container`,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,z.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-collapsible":h,"data-side":c,"data-slot":`sidebar`,"data-state":f,"data-variant":l,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function ca(e){let t=(0,B.c)(15),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a}=ra(),o;t[4]===n?o=t[5]:(o=F(n),t[4]=n,t[5]=o);let s;t[6]!==r||t[7]!==a?(s=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=s):s=t[8];let c,l;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,z.jsx)(Fr,{}),l=(0,z.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`}),t[9]=c,t[10]=l):(c=t[9],l=t[10]);let u;return t[11]!==i||t[12]!==o||t[13]!==s?(u=(0,z.jsxs)(We,{className:o,"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,onClick:s,size:`icon-lg`,variant:`ghost`,...i,children:[c,l]}),t[11]=i,t[12]=o,t[13]=s,t[14]=u):u=t[14],u}function la(e){let t=(0,B.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{toggleSidebar:i}=ra(),a;t[3]===n?a=t[4]:(a=F(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex`,`in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`group-data-[collapsible=offExamples]:translate-x-0 group-data-[collapsible=offExamples]:after:left-full hover:group-data-[collapsible=offExamples]:bg-sidebar`,`[[data-side=left][data-collapsible=offExamples]_&]:-right-2`,`[[data-side=right][data-collapsible=offExamples]_&]:-left-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a||t[7]!==i?(o=(0,z.jsx)(`button`,{"aria-label":`Toggle Sidebar`,className:a,"data-sidebar":`rail`,"data-slot":`sidebar-rail`,onClick:i,tabIndex:-1,title:`Toggle Sidebar`,...r}),t[5]=r,t[6]=a,t[7]=i,t[8]=o):o=t[8],o}function ua(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`div`,{className:i,"data-sidebar":`header`,"data-slot":`sidebar-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function da(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`div`,{className:i,"data-sidebar":`footer`,"data-slot":`sidebar-footer`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function fa(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`mx-2 w-auto bg-sidebar-border`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(Ke,{className:i,"data-sidebar":`separator`,"data-slot":`sidebar-separator`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function pa(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`div`,{className:i,"data-sidebar":`content`,"data-slot":`sidebar-content`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ma(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`relative flex w-full min-w-0 flex-col px-2 py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`div`,{className:i,"data-sidebar":`group`,"data-slot":`sidebar-group`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ha(e){let t=(0,B.c)(10),n,r,i,a;if(t[0]!==e){let{className:o,render:s,...c}=e;n=s,a=we,r=`div`,i=ve({className:F(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,o)},c),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a}else n=t[1],r=t[2],i=t[3],a=t[4];let o;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(o={slot:`sidebar-group-label`,sidebar:`group-label`},t[5]=o):o=t[5];let s;return t[6]!==n||t[7]!==r||t[8]!==i?(s={defaultTagName:r,props:i,render:n,state:o},t[6]=n,t[7]=r,t[8]=i,t[9]=s):s=t[9],a(s)}function ga(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex w-full min-w-0 flex-col gap-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`ul`,{className:i,"data-sidebar":`menu`,"data-slot":`sidebar-menu`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _a(e){let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,z.jsx)(`li`,{className:i,"data-sidebar":`menu-item`,"data-slot":`sidebar-menu-item`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var va=Ce(`peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-[calc(var(--radius-sm)+2px)] p-2 text-left text-xs ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-xs`,sm:`h-7 text-xs`,lg:`h-12 text-xs group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function ya(e){let t=(0,B.c)(15),{render:n,isActive:r,variant:i,size:a,tooltip:o,className:s,...c}=e,l=r===void 0?!1:r,u=i===void 0?`default`:i,d=a===void 0?`default`:a,{isMobile:f,state:p}=ra(),m=ve({className:F(va({variant:u,size:d}),s)},c),h=o?Wi:n,g;t[0]!==l||t[1]!==d?(g={slot:`sidebar-menu-button`,sidebar:`menu-button`,size:d,active:l},t[0]=l,t[1]=d,t[2]=g):g=t[2];let _;t[3]!==m||t[4]!==h||t[5]!==g?(_={defaultTagName:`button`,props:m,render:h,state:g},t[3]=m,t[4]=h,t[5]=g,t[6]=_):_=t[6];let v=we(_);if(!o)return v;let y;t[7]===o?y=t[8]:(y=typeof o==`string`?{children:o}:o,t[7]=o,t[8]=y);let b=y,x=p!==`collapsed`||f,S;t[9]!==x||t[10]!==b?(S=(0,z.jsx)(Gi,{align:`center`,hidden:x,side:`right`,...b}),t[9]=x,t[10]=b,t[11]=S):S=t[11];let C;return t[12]!==v||t[13]!==S?(C=(0,z.jsxs)(Ui,{children:[v,S]}),t[12]=v,t[13]=S,t[14]=C):C=t[14],C}function ba(){let e=(0,B.c)(8),{theme:t,setTheme:n}=wr(),r;e[0]!==n||e[1]!==t?(r=()=>{n(t===`light`?`dark`:t===`dark`?`light`:`dark`)},e[0]=n,e[1]=t,e[2]=r):r=e[2];let i=r,a,o,s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,z.jsx)(Lr,{className:`size-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90`}),o=(0,z.jsx)(Pr,{className:`absolute size-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0`}),s=(0,z.jsx)(`span`,{className:`sr-only`,children:`Toggle theme`}),e[3]=a,e[4]=o,e[5]=s):(a=e[3],o=e[4],s=e[5]);let c;return e[6]===i?c=e[7]:(c=(0,z.jsxs)(We,{className:`rounded-full`,onClick:i,size:`icon-sm`,variant:`ghost`,children:[a,o,s]}),e[6]=i,e[7]=c),c}function xa(){let e=(0,B.c)(7),{isAdmin:t,license:n}=Te(),r=t&&n===`open-source`,i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=F(`z-50 flex h-10 shrink-0 items-center gap-2 border-b border-sidebar-border bg-sidebar px-4 text-sidebar-foreground`,`sticky top-0`),a=(0,z.jsx)(ca,{className:`-ml-1`}),e[0]=i,e[1]=a):(i=e[0],a=e[1]);let o;e[2]===r?o=e[3]:(o=r&&(0,z.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:F(He({variant:`outline`,size:`sm`})),children:`Upgrade`}),e[2]=r,e[3]=o);let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,z.jsx)(ba,{}),e[4]=s):s=e[4];let c;return e[5]===o?c=e[6]:(c=(0,z.jsxs)(`header`,{className:i,children:[a,(0,z.jsxs)(`div`,{className:`flex w-full items-center justify-end gap-2`,children:[o,s]})]}),e[5]=o,e[6]=c),c}function Sa(){let e=(0,B.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,z.jsx)(`h1`,{className:`text-4xl font-bold`,children:`404`}),n=(0,z.jsx)(`p`,{className:`text-muted-foreground`,children:`Page not found`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,z.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4`,children:[t,n,(0,z.jsx)(pe,{to:`/`,children:(0,z.jsx)(We,{variant:`outline`,children:`Go back home`})})]}),e[2]=r):r=e[2],r}function Ca(){let e=(0,B.c)(144),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:wa},e[0]=t):t=e[0];let n=dr(t),r=he(),i=v(),{isAdmin:a}=Te(),o;e[1]!==r||e[2]!==i?(o=function(){Oe(),_e(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=o):o=e[3];let s=o,c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,z.jsxs)(ua,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,z.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,z.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,z.jsx)(ha,{children:`General`}),e[5]=l):l=e[5];let u=n===`/`,d,f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,z.jsx)(kr,{className:`size-4`}),f=(0,z.jsx)(`span`,{children:`Dashboard`}),e[6]=d,e[7]=f):(d=e[6],f=e[7]);let p;e[8]===u?p=e[9]:(p=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/`,children:(0,z.jsxs)(ya,{isActive:u,tooltip:`Dashboard`,children:[d,f]})})}),e[8]=u,e[9]=p);let m;e[10]!==a||e[11]!==n?(m=a&&(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/nodes`,children:(0,z.jsxs)(ya,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,z.jsx)(Pe,{className:`size-4`}),(0,z.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=a,e[11]=n,e[12]=m):m=e[12];let h;e[13]!==p||e[14]!==m?(h=(0,z.jsxs)(ma,{children:[l,(0,z.jsxs)(ga,{children:[p,m]})]}),e[13]=p,e[14]=m,e[15]=h):h=e[15];let g;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,z.jsx)(ha,{children:`EC2`}),e[16]=g):g=e[16];let _;e[17]===n?_=e[18]:(_=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=_);let y,b;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,z.jsx)(Pe,{className:`size-4`}),b=(0,z.jsx)(`span`,{children:`Instances`}),e[19]=y,e[20]=b):(y=e[19],b=e[20]);let x;e[21]===_?x=e[22]:(x=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-instances`,children:(0,z.jsxs)(ya,{isActive:_,tooltip:`EC2 Instances`,children:[y,b]})})}),e[21]=_,e[22]=x);let S;e[23]===n?S=e[24]:(S=n.startsWith(`/ec2/describe-images`),e[23]=n,e[24]=S);let C,w;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,z.jsx)(Ar,{className:`size-4`}),w=(0,z.jsx)(`span`,{children:`Images`}),e[25]=C,e[26]=w):(C=e[25],w=e[26]);let T;e[27]===S?T=e[28]:(T=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-images`,children:(0,z.jsxs)(ya,{isActive:S,tooltip:`Images`,children:[C,w]})})}),e[27]=S,e[28]=T);let E;e[29]===n?E=e[30]:(E=n.startsWith(`/ec2/describe-key-pairs`),e[29]=n,e[30]=E);let D,O;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,z.jsx)(Ne,{className:`size-4`}),O=(0,z.jsx)(`span`,{children:`Key Pairs`}),e[31]=D,e[32]=O):(D=e[31],O=e[32]);let ee;e[33]===E?ee=e[34]:(ee=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-key-pairs`,children:(0,z.jsxs)(ya,{isActive:E,tooltip:`Key Pairs`,children:[D,O]})})}),e[33]=E,e[34]=ee);let te;e[35]===n?te=e[36]:(te=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[35]=n,e[36]=te);let ne,re;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(ne=(0,z.jsx)(Me,{className:`size-4`}),re=(0,z.jsx)(`span`,{children:`Volumes`}),e[37]=ne,e[38]=re):(ne=e[37],re=e[38]);let ie;e[39]===te?ie=e[40]:(ie=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-volumes`,children:(0,z.jsxs)(ya,{isActive:te,tooltip:`Volumes`,children:[ne,re]})})}),e[39]=te,e[40]=ie);let k;e[41]===n?k=e[42]:(k=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[41]=n,e[42]=k);let A,ae;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,z.jsx)(Ae,{className:`size-4`}),ae=(0,z.jsx)(`span`,{children:`Snapshots`}),e[43]=A,e[44]=ae):(A=e[43],ae=e[44]);let oe;e[45]===k?oe=e[46]:(oe=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-snapshots`,children:(0,z.jsxs)(ya,{isActive:k,tooltip:`Snapshots`,children:[A,ae]})})}),e[45]=k,e[46]=oe);let se;e[47]===n?se=e[48]:(se=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[47]=n,e[48]=se);let ce,le;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,z.jsx)(jr,{className:`size-4`}),le=(0,z.jsx)(`span`,{children:`Placement Groups`}),e[49]=ce,e[50]=le):(ce=e[49],le=e[50]);let j;e[51]===se?j=e[52]:(j=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-placement-groups`,children:(0,z.jsxs)(ya,{isActive:se,tooltip:`Placement Groups`,children:[ce,le]})})}),e[51]=se,e[52]=j);let ue;e[53]===n?ue=e[54]:(ue=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[53]=n,e[54]=ue);let de,fe;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,z.jsx)(zr,{className:`size-4`}),fe=(0,z.jsx)(`span`,{children:`Load Balancers`}),e[55]=de,e[56]=fe):(de=e[55],fe=e[56]);let M;e[57]===ue?M=e[58]:(M=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-load-balancers`,children:(0,z.jsxs)(ya,{isActive:ue,tooltip:`Load Balancers`,children:[de,fe]})})}),e[57]=ue,e[58]=M);let me;e[59]===n?me=e[60]:(me=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[59]=n,e[60]=me);let N,P;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,z.jsx)(Or,{className:`size-4`}),P=(0,z.jsx)(`span`,{children:`Target Groups`}),e[61]=N,e[62]=P):(N=e[61],P=e[62]);let ge;e[63]===me?ge=e[64]:(ge=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-target-groups`,children:(0,z.jsxs)(ya,{isActive:me,tooltip:`Target Groups`,children:[N,P]})})}),e[63]=me,e[64]=ge);let ve;e[65]!==x||e[66]!==T||e[67]!==ee||e[68]!==ie||e[69]!==oe||e[70]!==j||e[71]!==M||e[72]!==ge?(ve=(0,z.jsxs)(ma,{children:[g,(0,z.jsxs)(ga,{children:[x,T,ee,ie,oe,j,M,ge]})]}),e[65]=x,e[66]=T,e[67]=ee,e[68]=ie,e[69]=oe,e[70]=j,e[71]=M,e[72]=ge,e[73]=ve):ve=e[73];let ye;e[74]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,z.jsx)(ha,{children:`Networking`}),e[74]=ye):ye=e[74];let be;e[75]===n?be=e[76]:(be=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[75]=n,e[76]=be);let xe,Se;e[77]===Symbol.for(`react.memo_cache_sentinel`)?(xe=(0,z.jsx)(Fe,{className:`size-4`}),Se=(0,z.jsx)(`span`,{children:`VPCs`}),e[77]=xe,e[78]=Se):(xe=e[77],Se=e[78]);let Ce;e[79]===be?Ce=e[80]:(Ce=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-vpcs`,children:(0,z.jsxs)(ya,{isActive:be,tooltip:`VPCs`,children:[xe,Se]})})}),e[79]=be,e[80]=Ce);let we;e[81]===n?we=e[82]:(we=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[81]=n,e[82]=we);let Ee,F;e[83]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,z.jsx)(Mr,{className:`size-4`}),F=(0,z.jsx)(`span`,{children:`Subnets`}),e[83]=Ee,e[84]=F):(Ee=e[83],F=e[84]);let De;e[85]===we?De=e[86]:(De=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-subnets`,children:(0,z.jsxs)(ya,{isActive:we,tooltip:`Subnets`,children:[Ee,F]})})}),e[85]=we,e[86]=De);let ke;e[87]===n?ke=e[88]:(ke=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[87]=n,e[88]=ke);let je,Le;e[89]===Symbol.for(`react.memo_cache_sentinel`)?(je=(0,z.jsx)(Ir,{className:`size-4`}),Le=(0,z.jsx)(`span`,{children:`Security Groups`}),e[89]=je,e[90]=Le):(je=e[89],Le=e[90]);let Re;e[91]===ke?Re=e[92]:(Re=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/ec2/describe-security-groups`,children:(0,z.jsxs)(ya,{isActive:ke,tooltip:`Security Groups`,children:[je,Le]})})}),e[91]=ke,e[92]=Re);let ze;e[93]!==Ce||e[94]!==De||e[95]!==Re?(ze=(0,z.jsxs)(ma,{children:[ye,(0,z.jsxs)(ga,{children:[Ce,De,Re]})]}),e[93]=Ce,e[94]=De,e[95]=Re,e[96]=ze):ze=e[96];let Be;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Be=(0,z.jsx)(ha,{children:`IAM`}),e[97]=Be):Be=e[97];let Ve;e[98]===n?Ve=e[99]:(Ve=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[98]=n,e[99]=Ve);let He,Ue;e[100]===Symbol.for(`react.memo_cache_sentinel`)?(He=(0,z.jsx)(Rr,{className:`size-4`}),Ue=(0,z.jsx)(`span`,{children:`Users`}),e[100]=He,e[101]=Ue):(He=e[100],Ue=e[101]);let We;e[102]===Ve?We=e[103]:(We=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/iam/list-users`,children:(0,z.jsxs)(ya,{isActive:Ve,tooltip:`Users`,children:[He,Ue]})})}),e[102]=Ve,e[103]=We);let Ge;e[104]===n?Ge=e[105]:(Ge=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[104]=n,e[105]=Ge);let Ke,qe;e[106]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=(0,z.jsx)(Ie,{className:`size-4`}),qe=(0,z.jsx)(`span`,{children:`Policies`}),e[106]=Ke,e[107]=qe):(Ke=e[106],qe=e[107]);let Je;e[108]===Ge?Je=e[109]:(Je=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/iam/list-policies`,children:(0,z.jsxs)(ya,{isActive:Ge,tooltip:`Policies`,children:[Ke,qe]})})}),e[108]=Ge,e[109]=Je);let Ye;e[110]!==We||e[111]!==Je?(Ye=(0,z.jsxs)(ma,{children:[Be,(0,z.jsxs)(ga,{children:[We,Je]})]}),e[110]=We,e[111]=Je,e[112]=Ye):Ye=e[112];let Xe;e[113]===Symbol.for(`react.memo_cache_sentinel`)?(Xe=(0,z.jsx)(ha,{children:`S3`}),e[113]=Xe):Xe=e[113];let Ze;e[114]===n?Ze=e[115]:(Ze=n.startsWith(`/s3/ls`),e[114]=n,e[115]=Ze);let Qe,$e;e[116]===Symbol.for(`react.memo_cache_sentinel`)?(Qe=(0,z.jsx)(Pe,{className:`size-4`}),$e=(0,z.jsx)(`span`,{children:`Buckets`}),e[116]=Qe,e[117]=$e):(Qe=e[116],$e=e[117]);let et;e[118]===Ze?et=e[119]:(et=(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/s3/ls`,children:(0,z.jsxs)(ya,{isActive:Ze,tooltip:`Buckets`,children:[Qe,$e]})})}),e[118]=Ze,e[119]=et);let tt;e[120]!==a||e[121]!==n?(tt=a&&(0,z.jsx)(_a,{children:(0,z.jsx)(pe,{to:`/s3/service-metrics`,children:(0,z.jsxs)(ya,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,z.jsx)(Tr,{className:`size-4`}),(0,z.jsx)(`span`,{children:`Service Metrics`})]})})}),e[120]=a,e[121]=n,e[122]=tt):tt=e[122];let nt;e[123]!==et||e[124]!==tt?(nt=(0,z.jsxs)(ma,{children:[Xe,(0,z.jsxs)(ga,{children:[et,tt]})]}),e[123]=et,e[124]=tt,e[125]=nt):nt=e[125];let rt;e[126]===a?rt=e[127]:(rt=a&&(0,z.jsxs)(ma,{children:[(0,z.jsx)(ha,{children:`Documentation`}),(0,z.jsx)(ga,{children:(0,z.jsx)(_a,{children:(0,z.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,z.jsxs)(ya,{tooltip:`Documentation`,children:[(0,z.jsx)(Er,{className:`size-4`}),(0,z.jsx)(`span`,{children:`Docs`})]})})})})]}),e[126]=a,e[127]=rt);let it;e[128]!==ve||e[129]!==ze||e[130]!==Ye||e[131]!==nt||e[132]!==rt||e[133]!==h?(it=(0,z.jsxs)(pa,{children:[h,ve,ze,Ye,nt,rt]}),e[128]=ve,e[129]=ze,e[130]=Ye,e[131]=nt,e[132]=rt,e[133]=h,e[134]=it):it=e[134];let at;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(at=(0,z.jsx)(fa,{className:`mx-0 w-full`}),e[135]=at):at=e[135];let ot,st;e[136]===Symbol.for(`react.memo_cache_sentinel`)?(ot=(0,z.jsx)(Nr,{className:`size-4`}),st=(0,z.jsx)(`span`,{children:`Sign out`}),e[136]=ot,e[137]=st):(ot=e[136],st=e[137]);let I;e[138]===s?I=e[139]:(I=(0,z.jsxs)(da,{children:[at,(0,z.jsx)(ga,{children:(0,z.jsx)(_a,{children:(0,z.jsxs)(ya,{onClick:s,tooltip:`Sign out`,children:[ot,st]})})})]}),e[138]=s,e[139]=I);let ct;e[140]===Symbol.for(`react.memo_cache_sentinel`)?(ct=(0,z.jsx)(la,{}),e[140]=ct):ct=e[140];let lt;return e[141]!==it||e[142]!==I?(lt=(0,z.jsxs)(sa,{collapsible:`icon`,children:[c,it,I,ct]}),e[141]=it,e[142]=I,e[143]=lt):lt=e[143],lt}function wa(e){return e.pathname}function Ta(e){let t=(0,B.c)(18),{error:n,reset:r}=e,i=te(),a=v(),o;t[0]!==a||t[1]!==r||t[2]!==i?(o=function(){a.invalidateQueries(),r(),i.invalidate()},t[0]=a,t[1]=r,t[2]=i,t[3]=o):o=t[3];let s=o,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,z.jsx)(Ca,{}),t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,z.jsx)(xa,{}),t[5]=l):l=t[5];let u,d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,z.jsx)(`div`,{className:`flex justify-center`,children:(0,z.jsx)(Dr,{className:`size-12 text-destructive`})}),d=(0,z.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=u,t[7]=d):(u=t[6],d=t[7]);let f=n.message||`An unexpected error occurred`,p;t[8]===f?p=t[9]:(p=(0,z.jsx)(`p`,{className:`text-muted-foreground`,children:f}),t[8]=f,t[9]=p);let m;t[10]===s?m=t[11]:(m=(0,z.jsx)(We,{onClick:s,variant:`default`,children:`Try Again`}),t[10]=s,t[11]=m);let h;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,z.jsx)(pe,{to:`/`,children:(0,z.jsx)(We,{variant:`outline`,children:`Go Home`})}),t[12]=h):h=t[12];let g;t[13]===m?g=t[14]:(g=(0,z.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[m,h]}),t[13]=m,t[14]=g);let _;return t[15]!==g||t[16]!==p?(_=(0,z.jsxs)(z.Fragment,{children:[c,(0,z.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[l,(0,z.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,z.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[u,d,p,g]})})]})]}),t[15]=g,t[16]=p,t[17]=_):_=t[17],_}var Ea=me()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(gr,{}),(0,z.jsx)(Ca,{}),(0,z.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,z.jsx)(xa,{}),(0,z.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,z.jsx)(ce,{})})]})]}),errorComponent:Ta,notFoundComponent:Sa}),Da=M(`/login`)({beforeLoad:()=>{if(De())throw fe({to:`/`})},component:N(()=>P(()=>import(`./login.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)}),Oa=M(`/_auth`)({beforeLoad:()=>{if(!De())throw fe({to:`/login`})},component:N(()=>P(()=>import(`./route.js`),__vite__mapDeps([17,1,18,19,20,21])),`component`)}),ka=M(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(tn),e.queryClient.ensureQueryData(cn),e.queryClient.ensureQueryData(sn),e.queryClient.ensureQueryData($t),e.queryClient.ensureQueryData(pn),e.queryClient.ensureQueryData(nn)])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:N(()=>P(()=>import(`./_auth.js`),__vite__mapDeps([22,1,3,4,23,2,5,6,24,25,26,9,27,28,29,30,31,19,32,33,34,35,36,37,38,15])),`component`)}),Aa=M(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:N(()=>P(()=>import(`./nodes.js`),__vite__mapDeps([39,1,26,3,4,9,27,28,29,30,21,36,38,24,15])),`component`)}),ja=M(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | Mulga`}]}),component:N(()=>P(()=>import(`./service-metrics.js`),__vite__mapDeps([40,1,26,3,4,9,27,28,29,30,21,36,38,24,15])),`component`)}),Ma=M(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(pn)},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:N(()=>P(()=>import(`./ls.js`),__vite__mapDeps([41,1,3,4,25,2,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Na=M(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:N(()=>P(()=>import(`./create-bucket.js`),__vite__mapDeps([44,1,45,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16])),`component`)}),Pa=M(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:N(()=>P(()=>import(`./create-user.js`),__vite__mapDeps([55,1,56,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,57])),`component`)}),Fa=M(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:N(()=>P(()=>import(`./create-policy.js`),__vite__mapDeps([58,1,56,2,3,4,5,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,59,57])),`component`)}),Ia=M(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-vpc.js`),__vite__mapDeps([60,1,61,2,3,4,5,23,6,24,29,46,47,8,9,62,63,11,12,19,64,10,32,51,33,13,14,48,49,31,34,50,52,53,54,36,16,65])),`component`)}),La=M(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(an)},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-volume.js`),__vite__mapDeps([66,1,61,2,3,4,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ra=M(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(sn)},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-target-group.js`),__vite__mapDeps([67,1,23,2,3,4,5,6,24,68,29,46,47,14,42,28,30,48,19,49,31,32,50,8,9,51,33,52,53,69,7,10,11,12,62,63,64,13,70,71,16,54,36,72])),`component`)}),za=M(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(sn),e.queryClient.ensureQueryData(an)])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-subnet.js`),__vite__mapDeps([73,1,3,4,61,2,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ba=M(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(sn)},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-security-group.js`),__vite__mapDeps([74,1,3,4,61,2,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,54,36,16,65])),`component`)}),Va=M(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-placement-group.js`),__vite__mapDeps([75,1,61,2,3,4,5,23,6,24,29,46,47,62,8,9,63,11,12,19,64,10,32,51,33,13,14,48,49,31,50,52,53,54,36,16,65])),`component`)}),Ha=M(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(sn),e.queryClient.ensureQueryData(Zt),e.queryClient.ensureQueryData(nn),e.queryClient.ensureQueryData(ln),e.queryClient.ensureQueryData(rn)])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-load-balancer.js`),__vite__mapDeps([76,1,3,4,23,2,5,6,24,68,29,46,47,77,8,9,62,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,70,50,52,53,71,78,79,69,7,16,54,36,72])),`component`)}),Ua=M(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./import-key-pair.js`),__vite__mapDeps([80,1,61,2,3,4,5,23,6,24,29,46,47,13,8,9,10,11,14,48,19,49,31,32,50,51,33,52,53,54,36,16,59,65])),`component`)}),Wa=M(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./create-key-pair.js`),__vite__mapDeps([81,1,61,2,3,4,5,23,6,24,29,46,47,82,8,9,83,63,11,12,19,13,10,14,48,49,31,32,51,84,50,33,52,53,85,54,36,16,65])),`component`)}),Ga=M(`/_auth/ec2/(instances)/run-instances`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(rn),e.queryClient.ensureQueryData($t),e.queryClient.ensureQueryData(Qt),e.queryClient.ensureQueryData(Zt),e.queryClient.ensureQueryData(on)])},head:()=>({meta:[{title:`Run Instances | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./run-instances.js`),__vite__mapDeps([86,1,61,2,3,4,5,23,6,24,29,46,47,8,9,62,63,11,12,19,64,10,32,51,33,13,14,42,28,30,48,49,31,50,52,53,36,16,65])),`component`)}),Ka=M(`/_auth/s3/ls/$bucket`)({component:N(()=>P(()=>import(`./route2.js`),__vite__mapDeps([87,1,18,19,20,21])),`component`)}),qa=M(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(fn)},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:N(()=>P(()=>import(`./list-users.js`),__vite__mapDeps([88,1,89,2,3,4,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Ja=M(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(dn)},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:N(()=>P(()=>import(`./list-policies.js`),__vite__mapDeps([90,1,89,2,3,4,5,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),Ya=M(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(sn)},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-vpcs.js`),__vite__mapDeps([91,1,3,4,23,2,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),Xa=M(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(cn)},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-volumes.js`),__vite__mapDeps([92,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),Za=M(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(ln)},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-target-groups.js`),__vite__mapDeps([93,1,77,2,3,4,5,24,8,9,27,28,29,30,42,31,19,48,36])),`component`)}),Qa=M(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(Zt)},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-subnets.js`),__vite__mapDeps([94,1,3,4,23,2,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),$a=M(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(en)},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-snapshots.js`),__vite__mapDeps([95,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),eo=M(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(nn)},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-security-groups.js`),__vite__mapDeps([96,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),to=M(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(on)},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-placement-groups.js`),__vite__mapDeps([97,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),no=M(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(un),e.queryClient.ensureQueryData(rn)])},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-load-balancers.js`),__vite__mapDeps([98,1,23,2,3,4,5,6,24,77,8,9,42,28,29,30,31,19,48,78,79,36,37])),`component`)}),ro=M(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData($t)},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-key-pairs.js`),__vite__mapDeps([99,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36])),`component`)}),io=M(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(tn)},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-instances.js`),__vite__mapDeps([100,1,23,2,3,4,5,6,24,8,9,42,28,29,30,31,19,43,36,37])),`component`)}),ao=M(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(rn)},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:N(()=>P(()=>import(`./describe-images.js`),__vite__mapDeps([101,1,23,2,3,4,5,6,24,42,28,29,30,43,31,19,36,37,79])),`component`)}),oo=Da.update({id:`/login`,path:`/login`,getParentRoute:()=>Ea}),U=Oa.update({id:`/_auth`,getParentRoute:()=>Ea}),so=ka.update({id:`/`,path:`/`,getParentRoute:()=>U}),co=Aa.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>U}),W=ja.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>U}),G=Ma.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>U}),lo=Na.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>U}),uo=Pa.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>U}),fo=Fa.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>U}),po=Ia.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>U}),mo=La.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>U}),ho=Ra.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>U}),go=za.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>U}),_o=mn.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>U}),vo=Ba.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>U}),yo=Va.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>U}),bo=Ha.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>U}),xo=Ua.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>U}),So=Wa.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>U}),Co=Ga.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>U}),wo=Ka.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>U}),To=hn.update({id:`/`,path:`/`,getParentRoute:()=>wo}),Eo=qa.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>U}),Do=Ja.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>U}),Oo=Ya.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>U}),ko=Xa.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>U}),Ao=Za.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>U}),jo=Qa.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>U}),Mo=$a.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>U}),No=eo.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>U}),Po=to.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>U}),Fo=no.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>U}),Io=ro.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>U}),Lo=io.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>U}),Ro=ao.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>U}),zo=gn.update({id:`/$`,path:`/$`,getParentRoute:()=>wo}),Bo=_n.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>U}),Vo=vn.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>U}),Ho=yn.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>U}),Uo=bn.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>U}),Wo=je.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>U}),Go=xn.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>U}),Ko=Sn.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>U}),qo=Cn.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>U}),Jo=Re.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>U}),Yo=wn.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>U}),Xo=Tn.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>U}),Zo=En.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>U}),Qo=Dn.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>U}),$o=On.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>U}),es={AuthS3LsBucketSplatRoute:zo,AuthS3LsBucketIndexRoute:To},ts={AuthNodesRoute:co,AuthIndexRoute:so,AuthS3ServiceMetricsRoute:W,AuthS3LsBucketRouteRoute:wo._addFileChildren(es),AuthEc2instancesRunInstancesRoute:Co,AuthEc2keyCreateKeyPairRoute:So,AuthEc2keyImportKeyPairRoute:xo,AuthEc2loadBalancersCreateLoadBalancerRoute:bo,AuthEc2placementGroupsCreatePlacementGroupRoute:yo,AuthEc2securityGroupsCreateSecurityGroupRoute:vo,AuthEc2snapshotsCreateSnapshotRoute:_o,AuthEc2subnetCreateSubnetRoute:go,AuthEc2targetGroupsCreateTargetGroupRoute:ho,AuthEc2volumesCreateVolumeRoute:mo,AuthEc2vpcCreateVpcRoute:po,AuthIampoliciesCreatePolicyRoute:fo,AuthIamusersCreateUserRoute:uo,AuthS3bucketsCreateBucketRoute:lo,AuthS3LsIndexRoute:G,AuthEc2imagesDescribeImagesIdRoute:$o,AuthEc2instancesDescribeInstancesIdRoute:Qo,AuthEc2keyDescribeKeyPairsIdRoute:Zo,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:Xo,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:Yo,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:Jo,AuthEc2snapshotsDescribeSnapshotsIdRoute:qo,AuthEc2subnetDescribeSubnetsIdRoute:Ko,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:Go,AuthEc2volumesDescribeVolumesIdRoute:Wo,AuthEc2volumesModifyVolumeIdRoute:Uo,AuthEc2vpcDescribeVpcsIdRoute:Ho,AuthIampoliciesListPoliciesPolicyArnRoute:Vo,AuthIamusersListUsersUserNameRoute:Bo,AuthEc2imagesDescribeImagesIndexRoute:Ro,AuthEc2instancesDescribeInstancesIndexRoute:Lo,AuthEc2keyDescribeKeyPairsIndexRoute:Io,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:Fo,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:Po,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:No,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Mo,AuthEc2subnetDescribeSubnetsIndexRoute:jo,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Ao,AuthEc2volumesDescribeVolumesIndexRoute:ko,AuthEc2vpcDescribeVpcsIndexRoute:Oo,AuthIampoliciesListPoliciesIndexRoute:Do,AuthIamusersListUsersIndexRoute:Eo},ns={AuthRouteRoute:U._addFileChildren(ts),LoginRoute:oo},rs=Ea._addFileChildren(ns)._addFileTypes(),is=new Fn({defaultOptions:{queries:{staleTime:5e3}}}),as=sr({routeTree:rs,context:{queryClient:is},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0}),os=document.querySelector(`#app`);os&&!os.innerHTML&&br.createRoot(os).render((0,z.jsx)(R.StrictMode,{children:(0,z.jsx)(Cr,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,z.jsx)(x,{client:is,children:(0,z.jsx)(Ee,{children:(0,z.jsx)(ia,{children:(0,z.jsx)(ur,{router:as})})})})})})); \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/input.js b/spinifex/services/spinifexui/frontend/dist/assets/input.js index 9eb7a9bb0..828caeb72 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/input.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/input.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{n as i}from"./dist.js";import{I as a}from"./SignatureV4.js";import{o}from"./button.js";import{a as s,c,i as l,n as u,r as d,s as f}from"./separator.js";import{B as p,g as m,t as h,u as g}from"./createBaseUIEventDetails.js";var _=e(n()),v=_.forwardRef(function(e,t){let{render:n,className:r,id:a,name:v,value:y,disabled:b=!1,onValueChange:x,defaultValue:S,autoFocus:C=!1,...w}=e,{state:T,name:E,disabled:D,setTouched:O,setDirty:k,validityData:A,setFocused:j,setFilled:M,validationMode:N,validation:P}=f(),F=D||b,I=E??v,L={...T,disabled:F},{labelId:R}=s(),z=d({id:a});o(()=>{let e=y!=null;P.inputRef.current?.value||e&&y!==``?M(!0):e&&y===``&&M(!1)},[P.inputRef,M,y]);let B=_.useRef(null);o(()=>{C&&B.current===m(p(B.current))&&j(!0)},[C,j]);let[V]=l({controlled:y,default:S,name:`FieldControl`,state:`value`}),H=y!==void 0,U=H?V:void 0;return u({id:z,name:I,commit:P.commit,value:U,getValue:()=>P.inputRef.current?.value,controlRef:P.inputRef}),i(`input`,e,{ref:[t,B],state:L,props:[{id:z,disabled:F,name:I,ref:P.inputRef,"aria-labelledby":R,autoFocus:C,...H?{value:U}:{defaultValue:S},onChange(e){let t=e.currentTarget.value;x?.(t,h(g,e.nativeEvent)),k(t!==A.initialValue),M(t!==``)},onFocus(){j(!0)},onBlur(e){O(!0),j(!1),N===`onBlur`&&P.commit(e.currentTarget.value)},onKeyDown(e){e.currentTarget.tagName===`INPUT`&&e.key===`Enter`&&(O(!0),P.commit(e.currentTarget.value))}},P.getInputValidationProps(),w],stateAttributesMapping:c})}),y=t(),b=_.forwardRef(function(e,t){return(0,y.jsx)(v,{ref:t,...e})}),x=r();function S(e){let t=(0,x.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let o;t[4]===n?o=t[5]:(o=a(`h-7 w-full min-w-0 rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs/relaxed file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 md:text-xs/relaxed dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),t[4]=n,t[5]=o);let s;return t[6]!==r||t[7]!==o||t[8]!==i?(s=(0,y.jsx)(b,{className:o,"data-slot":`input`,type:i,...r}),t[6]=r,t[7]=o,t[8]=i,t[9]=s):s=t[9],s}export{S as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{n as i}from"./dist.js";import{I as a}from"./SignatureV4.js";import{c as o,o as s}from"./button.js";import{a as c,i as l,n as u,o as d,r as f,s as p}from"./separator.js";import{g as m,t as h,u as g,y as _}from"./createBaseUIEventDetails.js";var v=e(n()),y=v.forwardRef(function(e,t){let{render:n,className:r,id:a,name:y,value:b,disabled:x=!1,onValueChange:S,defaultValue:C,autoFocus:w=!1,style:T,...E}=e,{state:D,name:O,disabled:k,setTouched:A,setDirty:j,validityData:M,setFocused:N,setFilled:P,validationMode:F,validation:I}=d(),L=k||x,R=O??y,z={...D,disabled:L},{labelId:B}=c(),V=u({id:a});s(()=>{let e=b!=null;I.inputRef.current?.value||e&&b!==``?P(!0):e&&b===``&&P(!1)},[I.inputRef,P,b]);let H=v.useRef(null);s(()=>{w&&H.current===m(_(H.current))&&N(!0)},[w,N]);let[U]=l({controlled:b,default:C,name:`FieldControl`,state:`value`}),W=b!==void 0,G=W?U:void 0,K=o(()=>I.inputRef.current?.value);return f(I.inputRef,{id:V,value:G,getValue:K}),i(`input`,e,{ref:[t,H],state:z,props:[{id:V,disabled:L,name:R,ref:I.inputRef,"aria-labelledby":B,autoFocus:w,...W?{value:G}:{defaultValue:C},onChange(e){let t=e.currentTarget.value;S?.(t,h(g,e.nativeEvent)),j(t!==M.initialValue),P(t!==``)},onFocus(){N(!0)},onBlur(e){A(!0),N(!1),F===`onBlur`&&I.commit(e.currentTarget.value)},onKeyDown(e){e.currentTarget.tagName===`INPUT`&&e.key===`Enter`&&(A(!0),I.commit(e.currentTarget.value))}},I.getInputValidationProps(),E],stateAttributesMapping:p})}),b=t(),x=v.forwardRef(function(e,t){return(0,b.jsx)(y,{ref:t,...e})}),S=r();function C(e){let t=(0,S.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let o;t[4]===n?o=t[5]:(o=a(`h-7 w-full min-w-0 rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs/relaxed file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 md:text-xs/relaxed dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),t[4]=n,t[5]=o);let s;return t[6]!==r||t[7]!==o||t[8]!==i?(s=(0,b.jsx)(x,{className:o,"data-slot":`input`,type:i,...r}),t[6]=r,t[7]=o,t[8]=i,t[9]=s):s=t[9],s}export{C as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/lazyRouteComponent.js b/spinifex/services/spinifexui/frontend/dist/assets/lazyRouteComponent.js index 230132dfe..b8f2d1531 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/lazyRouteComponent.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/lazyRouteComponent.js @@ -1 +1 @@ -import{a as e,n as t,r as n}from"./compiler-runtime.js";import{B as r,P as i,_ as a,f as o,g as s,i as c,t as l,w as u,z as d}from"./useStore.js";import{n as f,r as p,t as m}from"./matchContext.js";import{n as h}from"./redirect.js";import{t as g}from"./link.js";import{t as _}from"./useNavigate.js";var v=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=p:this.parentRoute||u();let r=n?p:t?.path;r&&r!==`/`&&(r=s(r));let i=t?.id||r,c=n?p:o([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);r===`__root__`&&(r=`/`),c!==`__root__`&&(c=o([`/`,c]));let l=c===`__root__`?`/`:o([this.parentRoute.fullPath,r]);this._path=r,this._id=c,this._fullPath=l,this._to=a(l)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>h({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},y=class extends v{constructor(e){super(e)}},b=e(n(),1),x={get:()=>void 0,subscribe:()=>({unsubscribe:()=>{}})};function S(e){let t=c(),n=b.useContext(e.from?m:f),r=e.from??n,i=r?e.from?t.stores.getRouteMatchStore(r):t.stores.matchStores.get(r):void 0,a=b.useRef(void 0);return l(i??x,n=>{if((e.shouldThrow??!0)&&!n&&u(),n===void 0)return;let r=e.select?e.select(n):n;if(e.structuralSharing??t.options.defaultStructuralSharing){let e=d(a.current,r);return a.current=e,e}return r})}function C(e){return S({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function w(e){let{select:t,...n}=e;return S({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function T(e){return S({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function E(e){return S({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function D(e){return S({...e,select:t=>e.select?e.select(t.context):t.context})}var O=t(),k=class extends v{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>D({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>_({from:this.fullPath}),this.Link=b.forwardRef((e,t)=>(0,O.jsx)(g,{ref:t,from:this.fullPath,...e}))}};function A(e){return new k(e)}function j(){return e=>N(e)}var M=class extends y{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>D({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>_({from:this.fullPath}),this.Link=b.forwardRef((e,t)=>(0,O.jsx)(g,{ref:t,from:this.fullPath,...e}))}};function N(e){return new M(e)}function P(e){return typeof e==`object`?new F(e,{silent:!0}).createRoute(e):new F(e,{silent:!0}).createRoute}var F=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=A(e);return t.isRoot=!1,t},this.silent=t?.silent}};function I(e,t){let n,a,o,s,c=()=>(n||=e().then(e=>{n=void 0,a=e[t??`default`]}).catch(e=>{if(o=e,i(o)&&o instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${o.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),s=!0)}}),n),l=function(e){if(s)throw window.location.reload(),new Promise(()=>{});if(o)throw o;if(!a)if(r)r(c());else throw c();return b.createElement(a,e)};return l.preload=c,l}export{P as n,j as r,I as t}; \ No newline at end of file +import{a as e,n as t,r as n}from"./compiler-runtime.js";import{B as r,P as i,_ as a,f as o,g as s,i as c,t as l,w as u,z as d}from"./useStore.js";import{n as f,r as p,t as m}from"./matchContext.js";import{n as h}from"./redirect.js";import{t as g}from"./link.js";import{t as _}from"./useNavigate.js";var v=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=p:this.parentRoute||u();let r=n?p:t?.path;r&&r!==`/`&&(r=s(r));let i=t?.id||r,c=n?p:o([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);r===`__root__`&&(r=`/`),c!==`__root__`&&(c=o([`/`,c]));let l=c===`__root__`?`/`:o([this.parentRoute.fullPath,r]);this._path=r,this._id=c,this._fullPath=l,this._to=a(l)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>h({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},y=class extends v{constructor(e){super(e)}},b=e(n(),1),x={get:()=>void 0,subscribe:()=>({unsubscribe:()=>{}})};function S(e){let t=c(),n=b.useContext(e.from?m:f),r=e.from??n,i=r?e.from?t.stores.getRouteMatchStore(r):t.stores.matchStores.get(r):void 0,a=b.useRef(void 0);return l(i??x,n=>{if((e.shouldThrow??!0)&&!n&&u(),n===void 0)return;let r=e.select?e.select(n):n;if(e.structuralSharing??t.options.defaultStructuralSharing){let e=d(a.current,r);return a.current=e,e}return r})}function C(e){return S({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function w(e){let{select:t,...n}=e;return S({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function T(e){return S({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function E(e){return S({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function D(e){return S({...e,select:t=>e.select?e.select(t.context):t.context})}var O=t(),k=class extends v{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>D({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>_({from:this.fullPath}),this.Link=b.forwardRef((e,t)=>(0,O.jsx)(g,{ref:t,from:this.fullPath,...e}))}};function A(e){return new k(e)}function j(){return e=>N(e)}var M=class extends y{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>D({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>_({from:this.fullPath}),this.Link=b.forwardRef((e,t)=>(0,O.jsx)(g,{ref:t,from:this.fullPath,...e}))}};function N(e){return new M(e)}function P(e){return new F(e,{silent:!0}).createRoute}var F=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=A(e);return t.isRoot=!1,t},this.silent=t?.silent}};function I(e,t){let n,a,o,s,c=()=>(n||=e().then(e=>{n=void 0,a=e[t??`default`]}).catch(e=>{if(o=e,i(o)&&o instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${o.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),s=!0)}}),n),l=function(e){if(s)throw window.location.reload(),new Promise(()=>{});if(o)throw o;if(!a)if(r)r(c());else throw c();return b.createElement(a,e)};return l.preload=c,l}export{P as n,j as r,I as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/select.js b/spinifex/services/spinifexui/frontend/dist/assets/select.js index ce0a02049..d3b7dfd81 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/select.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/select.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{hn as i}from"./awsClient.js";import{a,c as o,f as s,g as c,l,m as u,n as d,p as f}from"./dist.js";import{I as p}from"./SignatureV4.js";import{t as m}from"./createLucideIcon.js";import{t as h}from"./check.js";import{t as g}from"./chevron-down.js";import{_,b as v,c as y,o as b,r as x}from"./button.js";import{a as S,c as C,i as w,n as ee,o as T,r as E,s as te}from"./separator.js";import{A as D,B as O,C as k,D as A,O as j,_ as M,c as N,g as ne,h as P,k as F,l as I,m as L,n as R,o as re,t as z,u as B,v as ie,w as V,y as H,z as ae}from"./createBaseUIEventDetails.js";import{a as U,c as oe,n as W,t as se}from"./useTransitionStatus.js";import{$ as G,A as ce,B as le,Ct as K,E as q,Et as ue,G as J,I as de,J as fe,K as pe,M as me,N as he,P as ge,Q as _e,R as ve,St as ye,T as be,Tt as xe,U as Se,W as Ce,X as we,Y as Te,Z as Ee,a as De,et as Oe,f as ke,i as Ae,j as Y,k as X,kt as je,n as Me,q as Ne,r as Pe,t as Fe,tt as Ie,wt as Le,x as Re,yt as ze,z as Be}from"./useOpenInteractionType.js";import{a as Ve,n as He,o as Ue,s as We,t as Ge}from"./getDisabledMountTransitionStyles.js";var Ke=m(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Z=e(n());function qe(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:c=!0,touchOpenDelay:u=0,reason:d=L}=t,f=Z.useRef(void 0),p=oe(),m=je(),h=Z.useMemo(()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){let t=f.current,i=e.nativeEvent,l=n.select(`open`);if(e.button!==0||a===`click`||K(t,!0)&&s)return;let h=r.current.openEvent,g=h?.type,_=n.select(`domReferenceElement`)!==e.currentTarget,v=l&&_||!(l&&o&&(!(h&&c)||g===`click`||g===`mousedown`));if(V(i.target)){let e=z(d,i,i.target);v&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(v,e);return}let y=e.currentTarget;p.request(()=>{let e=z(d,i,y);v&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(v,e)})},onClick(e){if(a===`mousedown-only`)return;let t=f.current;if(a===`mousedown`&&t){f.current=void 0;return}if(K(t,!0)&&s)return;let i=n.select(`open`),l=r.current.openEvent,p=n.select(`domReferenceElement`)!==e.currentTarget,h=i&&p||!(i&&o&&(!(l&&c)||ye(l))),g=z(d,e.nativeEvent,e.currentTarget);h&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,g)}):n.setOpen(h,g)},onKeyDown(){f.current=void 0}}),[r,a,s,n,c,o,p,m,u,d]);return Z.useMemo(()=>i?{reference:h}:l,[i,h])}var Je=`Escape`;function Ye(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Xe(e,t){return Ye(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ze(e,t,n){return Ye(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function Qe(e,t,n){return Ye(t,n?e===j:e===F,e===A)}function $e(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===Je:Ye(t,n?e===F:e===j,e===D)}function et(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{listRef:s,activeIndex:c,onNavigate:l=()=>{},enabled:u=!0,selectedIndex:d=null,allowEscape:f=!1,loopFocus:p=!1,nested:m=!1,rtl:h=!1,virtual:g=!1,focusItemOnOpen:_=`auto`,focusItemOnHover:x=!0,openOnArrowKeyDown:S=!0,disabledIndices:C=void 0,orientation:w=`vertical`,parentOrientation:ee,cols:T=1,id:E,resetOnPointerLeave:te=!0,externalTree:D}=t,A=le(ie(i)),j=me(),N=he(D);b(()=>{o.current.orientation=w},[o,w]);let P=k(a),F=Z.useRef(_),L=Z.useRef(d??-1),R=Z.useRef(null),B=Z.useRef(!0),V=y(e=>{l(L.current===-1?null:L.current,e)}),ae=Z.useRef(V),U=Z.useRef(!!i),oe=Z.useRef(r),W=Z.useRef(!1),se=Z.useRef(!1),G=le(C),ce=le(r),K=le(d),q=le(te),J=y(()=>{function e(e){g?N?.events.emit(`virtualfocus`,e):de(e,{sync:W.current,preventScroll:!0})}let t=s.current[L.current],n=se.current;t&&e(t),(W.current?e=>e():requestAnimationFrame)(()=>{let r=s.current[L.current]||t;r&&(t||e(r),ve&&(n||!B.current)&&r.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});b(()=>{u&&(r&&i?(L.current=d??-1,F.current&&d!=null&&(se.current=!0,V())):U.current&&(L.current=-1,ae.current()))},[u,r,i,d,V]),b(()=>{if(u){if(!r){W.current=!1;return}if(i)if(c==null){if(W.current=!1,K.current!=null)return;if(U.current&&(L.current=-1,J()),(!oe.current||!U.current)&&F.current&&(R.current!=null||F.current===!0&&R.current==null)){let e=0,t=()=>{s.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(L.current=R.current==null||Ze(R.current,w,h)||m?_e(s):Ee(s),R.current=null,V())};t()}}else Oe(s,c)||(L.current=c,J(),se.current=!1)}},[u,r,i,c,K,m,s,w,h,V,J,G]),b(()=>{if(!u||i||!N||g||!U.current)return;let e=N.nodesRef.current,t=e.find(e=>e.id===j)?.context?.elements.floating,n=ne(O(i)),r=e.some(e=>e.context&&M(e.context.elements.floating,n));t&&!r&&B.current&&t.focus({preventScroll:!0})},[u,i,N,j,g]),b(()=>{ae.current=V,oe.current=r,U.current=!!i}),b(()=>{r||(R.current=null,F.current=_)},[r,_]);let ge=c!=null,ve=Z.useMemo(()=>{function e(e){if(!ce.current)return;let t=s.current.indexOf(e.currentTarget);t!==-1&&L.current!==t&&(L.current=t,V(e))}return{onFocus(t){W.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){W.current=!0,se.current=!1,x&&e(t)},onPointerLeave(e){if(!ce.current||!B.current||e.pointerType===`touch`)return;W.current=!0;let t=e.relatedTarget;if(!(!x||s.current.includes(t))&&q.current&&(de(null,{sync:!0}),L.current=-1,V(e),!g)){let e=A.current,t=ne(O(e));e&&M(e,t)&&e.focus({preventScroll:!0})}}}},[ce,A,x,s,V,q,g]),ye=Z.useCallback(()=>ee??N?.nodesRef.current.find(e=>e.id===j)?.context?.dataRef?.current.orientation,[j,N,ee]),be=y(e=>{if(B.current=!1,W.current=!0,e.which===229||!ce.current&&e.currentTarget===A.current)return;if(m&&$e(e.key,w,h,T)){Xe(e.key,ye())||ue(e),n.setOpen(!1,z(I,e.nativeEvent)),v(a)&&(g?N?.events.emit(`virtualfocus`,a):a.focus());return}let t=L.current,i=_e(s,C),o=Ee(s,C);if(P||(e.key===`Home`&&(ue(e),L.current=i,V(e)),e.key===`End`&&(ue(e),L.current=o,V(e))),T>1){let t=Array.from({length:s.current.length},()=>({width:1,height:1})),n=pe(t,T,!1),r=n.findIndex(e=>e!=null&&!Ie(s,e,C)),a=n.reduce((e,t,n)=>t!=null&&!Ie(s,t,C)?n:e,-1),c=n[we({current:n.map(e=>e==null?null:s.current[e])},{event:e,orientation:w,loopFocus:p,rtl:h,cols:T,disabledIndices:Te([...(typeof C==`function`?null:C)||s.current.map((e,t)=>Ie(s,t,C)?t:void 0),void 0],n),minIndex:r,maxIndex:a,prevIndex:fe(L.current>o?i:L.current,t,n,T,e.key===`ArrowDown`?`bl`:e.key===(h?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(c!=null&&(L.current=c,V(e)),w===`both`)return}if(Xe(e.key,w)){if(ue(e),r&&!g&&ne(e.currentTarget.ownerDocument)===e.currentTarget){L.current=Ze(e.key,w,h)?i:o,V(e);return}Ze(e.key,w,h)?p?t>=o?f&&t!==s.current.length?L.current=-1:(W.current=!1,L.current=i):L.current=Ne(s,{startingIndex:t,disabledIndices:C}):L.current=Math.min(o,Ne(s,{startingIndex:t,disabledIndices:C})):p?t<=i?f&&t!==-1?L.current=s.current.length:(W.current=!1,L.current=o):L.current=Ne(s,{startingIndex:t,decrement:!0,disabledIndices:C}):L.current=Math.max(i,Ne(s,{startingIndex:t,decrement:!0,disabledIndices:C})),Oe(s,L.current)&&(L.current=-1),V(e)}}),Se=Z.useMemo(()=>g&&r&&ge&&{"aria-activedescendant":`${E}-${c}`},[g,r,ge,E,c]),Ce=Z.useMemo(()=>({"aria-orientation":w===`both`?void 0:w,...P?{}:Se,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&r&&!g){let t=H(e.nativeEvent);if(t&&!M(A.current,t))return;ue(e),n.setOpen(!1,z(re,e.nativeEvent)),v(a)&&a.focus();return}be(e)},onPointerMove(){B.current=!0}}),[Se,be,A,w,P,n,r,g,a]),De=Z.useMemo(()=>{function e(e){_===`auto`&&Le(e.nativeEvent)&&(F.current=!g)}function t(e){F.current=_,_===`auto`&&xe(e.nativeEvent)&&(F.current=!0)}return{onKeyDown(e){let t=n.select(`open`);B.current=!1;let r=e.key.startsWith(`Arrow`),i=Qe(e.key,ye(),h),a=Xe(e.key,w),o=(m?i:a)||e.key===`Enter`||e.key.trim()===``;if(g&&t)return be(e);if(!(!t&&!S&&r)){if(o){let t=Xe(e.key,ye());R.current=m&&t?null:e.key}if(m){i&&(ue(e),t?(L.current=_e(s,G.current),V(e)):n.setOpen(!0,z(I,e.nativeEvent,e.currentTarget)));return}a&&(K.current!=null&&(L.current=K.current),ue(e),!t&&S?n.setOpen(!0,z(I,e.nativeEvent,e.currentTarget)):be(e),t&&V(e))}},onFocus(e){n.select(`open`)&&!g&&(L.current=-1,V(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[be,G,_,s,m,V,n,S,w,ye,h,K,g]),ke=Z.useMemo(()=>({...Se,...De}),[Se,De]);return Z.useMemo(()=>u?{reference:ke,floating:Ce,item:ve,trigger:De}:{},[u,ke,Ce,De,ve])}function tt(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,i=n.useState(`open`),{listRef:a,elementsRef:o,activeIndex:s,onMatch:c,onTypingChange:l,enabled:u=!0,resetMs:d=750,selectedIndex:f=null}=t,p=je(),m=Z.useRef(``),h=Z.useRef(f??s??-1),g=Z.useRef(null);b(()=>{!i&&f!==null||(p.clear(),g.current=null,m.current!==``&&(m.current=``))},[i,f,p]),b(()=>{i&&m.current===``&&(h.current=f??s??-1)},[i,f,s]);let _=y(e=>{e?r.current.typing||(r.current.typing=e,l?.(e)):r.current.typing&&(r.current.typing=e,l?.(e))}),v=y(e=>{function t(e){let t=o?.current[e];return!t||G(t)}function n(e,n,r=0){if(e.length===0)return-1;let i=(r%e.length+e.length)%e.length,a=n.toLocaleLowerCase();for(let n=0;n0&&e.key===` `&&(ue(e),_(!0)),m.current.length>0&&m.current[0]!==` `&&n(r,m.current)===-1&&e.key!==` `&&_(!1),r==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;i&&e.key!==` `&&(ue(e),_(!0));let l=m.current===``;l&&(h.current=f??s??-1),r.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(d,()=>{m.current=``,h.current=g.current,_(!1)});let u=((l?f??s??-1:h.current)??0)+1,v=n(r,m.current,u);v===-1?e.key!==` `&&(m.current=``,_(!1)):(c?.(v),g.current=v)}),x=y(e=>{let t=e.relatedTarget,r=n.select(`domReferenceElement`),i=n.select(`floatingElement`),a=M(r,t),o=M(i,t);a||o||(p.clear(),m.current=``,h.current=g.current,_(!1))}),S=Z.useMemo(()=>({onKeyDown:v,onBlur:x}),[v,x]),C=Z.useMemo(()=>({onKeyDown:v,onBlur:x}),[v,x]);return Z.useMemo(()=>u?{reference:S,floating:C}:{},[u,S,C])}var nt=Z.createContext(null),rt=Z.createContext(null);function it(){let e=Z.useContext(nt);if(e===null)throw Error(u(60));return e}function at(){let e=Z.useContext(rt);if(e===null)throw Error(u(61));return e}var ot=(e,t)=>Object.is(e,t);function st(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function ct(e,t,n){return!e||e.length===0?!1:e.some(e=>e===void 0?!1:st(t,e,n))}function lt(e,t,n){return!e||e.length===0?-1:e.findIndex(e=>e===void 0?!1:st(e,t,n))}function ut(e,t,n){return e.filter(e=>!st(t,e,n))}function dt(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}var Q=t();function ft(e){return e!=null&&e.length>0&&typeof e[0]==`object`&&e[0]!=null&&`items`in e[0]}function pt(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(ft(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function mt(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return dt(e)}function ht(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?dt(e.value):dt(e)}function gt(e,t,n){function r(){return mt(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){let n=t,i=ft(n)?n.flatMap(e=>e.items):n;if(typeof e!=`object`||!e){let t=i.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=i.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function _t(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,Q.jsx)(Z.Fragment,{children:gt(r,t,n)},i)),e),[])}var $={id:X(e=>e.id),labelId:X(e=>e.labelId),modal:X(e=>e.modal),multiple:X(e=>e.multiple),items:X(e=>e.items),itemToStringLabel:X(e=>e.itemToStringLabel),itemToStringValue:X(e=>e.itemToStringValue),isItemEqualToValue:X(e=>e.isItemEqualToValue),value:X(e=>e.value),hasSelectedValue:X(e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:ht(t,r)!==``}),hasNullItemLabel:X((e,t)=>t?pt(e.items):!1),open:X(e=>e.open),mounted:X(e=>e.mounted),forceMount:X(e=>e.forceMount),transitionStatus:X(e=>e.transitionStatus),openMethod:X(e=>e.openMethod),activeIndex:X(e=>e.activeIndex),selectedIndex:X(e=>e.selectedIndex),isActive:X((e,t)=>e.activeIndex===t),isSelected:X((e,t,n)=>{let r=e.isItemEqualToValue,i=e.value;return e.multiple?Array.isArray(i)&&i.some(e=>st(n,e,r)):e.selectedIndex===t&&e.selectedIndex!==null?!0:st(n,i,r)}),isSelectedByFocus:X((e,t)=>e.selectedIndex===t),popupProps:X(e=>e.popupProps),triggerProps:X(e=>e.triggerProps),triggerElement:X(e=>e.triggerElement),positionerElement:X(e=>e.positionerElement),listElement:X(e=>e.listElement),scrollUpArrowVisible:X(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:X(e=>e.scrollDownArrowVisible),hasScrollArrows:X(e=>e.hasScrollArrows)};function vt(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:u=!1,onOpenChange:d,name:p,autoComplete:m,disabled:h=!1,readOnly:g=!1,required:_=!1,modal:v=!0,actionsRef:x,inputRef:S,onOpenChangeComplete:C,items:D,multiple:O=!1,itemToStringLabel:k,itemToStringValue:A,isItemEqualToValue:j=ot,highlightItemOnHover:M=!0,children:N}=e,{clearErrors:ne}=T(),{setDirty:P,setTouched:F,setFocused:I,shouldValidateOnChange:L,validityData:R,setFilled:re,name:ie,disabled:V,validation:H,validationMode:ae}=te(),U=E({id:t}),oe=V||h,G=ie??p,[K,ue]=w({controlled:n,default:O?r??o:r,name:`Select`,state:`value`}),[J,de]=w({controlled:a,default:u,name:`Select`,state:`open`}),fe=Z.useRef([]),pe=Z.useRef([]),me=Z.useRef(null),he=Z.useRef(null),ge=Z.useRef(0),_e=Z.useRef(null),ye=Z.useRef([]),xe=Z.useRef(!1),Se=Z.useRef(!1),Ce=Z.useRef(null),we=Z.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}),Te=Z.useRef(!1),{mounted:Ee,setMounted:De,transitionStatus:Oe}=se(J),{openMethod:ke,triggerProps:Ae}=Fe(J),Y=f(()=>new be({id:U,labelId:void 0,modal:v,multiple:O,itemToStringLabel:k,itemToStringValue:A,isItemEqualToValue:j,value:K,open:J,mounted:Ee,transitionStatus:Oe,items:D,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,X=q(Y,$.activeIndex),je=q(Y,$.selectedIndex),Ne=q(Y,$.triggerElement),Pe=q(Y,$.positionerElement),Ie=Z.useMemo(()=>O&&Array.isArray(K)&&K.length===0?``:ht(K,A),[O,K,A]),Le=Z.useMemo(()=>O&&Array.isArray(K)?K.map(e=>ht(e,A)):ht(K,A),[O,K,A]),ze=le(Y.state.triggerElement);ee({id:U,commit:H.commit,value:K,controlRef:ze,name:G,getValue:()=>Le});let He=Z.useRef(K);b(()=>{K!==He.current&&Y.set(`forceMount`,!0)},[Y,K]),b(()=>{re(O?Array.isArray(K)&&K.length>0:K!=null)},[O,K,re]),b(function(){if(J)return;let e=ye.current;if(O){let t=Array.isArray(K)?K:[];if(t.length===0){Y.set(`selectedIndex`,null);return}let n=t[t.length-1],r=lt(e,n,j);Y.set(`selectedIndex`,r===-1?null:r);return}let t=lt(e,K,j);Y.set(`selectedIndex`,t===-1?null:t)},[O,J,K,ye,j,Y]),Me(K,()=>{ne(G),P(K!==R.initialValue),L()?H.commit(K):H.commit(K,!0)});let We=y((e,t)=>{if(d?.(e,t),!t.isCanceled&&(de(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(F(!0),I(!1),ae===`onBlur`&&H.commit(K)),!e&&Y.state.activeIndex!==null)){let e=fe.current[Y.state.activeIndex];queueMicrotask(()=>{e?.setAttribute(`tabindex`,`-1`)})}}),Ge=y(()=>{De(!1),Y.set(`activeIndex`,null),C?.(!1)});W({enabled:!x,open:J,ref:me,onComplete(){J||Ge()}}),Z.useImperativeHandle(x,()=>({unmount:Ge}),[Ge]);let Ke=y((e,t)=>{i?.(e,t),!t.isCanceled&&ue(e)}),Je=y(()=>{let e=Y.state.listElement||me.current;if(!e)return;let t=e.scrollTop,n=e.scrollTop+e.clientHeight,r=t>1,i=nc(Xe(),Ae,U?{id:U}:l),[Xe,Ae,U]);Ve(()=>{Y.update({popupProps:Ze(),triggerProps:$e})}),b(()=>{Y.update({id:U,modal:v,multiple:O,value:K,open:J,mounted:Ee,transitionStatus:Oe,popupProps:Ze(),triggerProps:$e,items:D,itemToStringLabel:k,itemToStringValue:A,isItemEqualToValue:j,openMethod:ke})},[Y,U,v,O,K,J,Ee,Oe,Ze,$e,D,k,A,j,ke]);let it=Z.useMemo(()=>({store:Y,name:G,required:_,disabled:oe,readOnly:g,multiple:O,itemToStringLabel:k,itemToStringValue:A,highlightItemOnHover:M,setValue:Ke,setOpen:We,listRef:fe,popupRef:me,scrollHandlerRef:he,handleScrollArrowVisibility:Je,scrollArrowsMountedCountRef:ge,getItemProps:Qe,events:Ye.context.events,valueRef:_e,valuesRef:ye,labelsRef:pe,typingRef:xe,selectionRef:we,selectedItemTextRef:Ce,validation:H,onOpenChangeComplete:C,keyboardActiveRef:Se,alignItemWithTriggerActiveRef:Te,initialValueRef:He}),[Y,G,_,oe,g,O,k,A,M,Ke,We,Qe,Ye.context.events,H,C,Je]),at=s(S,H.inputRef),st=O&&Array.isArray(K)&&K.length>0,ct=O?void 0:G,ut=Z.useMemo(()=>!O||!Array.isArray(K)||!G?null:K.map(e=>{let t=ht(e,A);return(0,Q.jsx)(`input`,{type:`hidden`,name:G,value:t},t)}),[O,K,G,A]);return(0,Q.jsx)(nt.Provider,{value:it,children:(0,Q.jsxs)(rt.Provider,{value:Ye,children:[N,(0,Q.jsx)(`input`,{...H.getInputValidationProps({onFocus(){Y.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.value,n=z(B,e.nativeEvent);function r(){if(O)return;let e=ye.current.find(e=>ht(e,A).toLowerCase()===t.toLowerCase());e!=null&&(P(e!==R.initialValue),Ke(e,n),L()&&H.commit(e))}Y.set(`forceMount`,!0),queueMicrotask(r)}}),id:U&&ct==null?`${U}-hidden-input`:void 0,name:ct,autoComplete:m,value:Ie,disabled:oe,required:_&&!st,readOnly:g,ref:at,style:G?Be:ve,tabIndex:-1,"aria-hidden":!0}),ut]})})}function yt(e,t){return e??t}function bt(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,`::before`),r=window.getComputedStyle(e,`::after`);if(!(n.content!==`none`||r.content!==`none`))return t;let i=parseFloat(n.width)||0,a=parseFloat(n.height)||0,o=parseFloat(r.width)||0,s=parseFloat(r.height)||0,c=Math.max(t.width,i,o),l=Math.max(t.height,a,s),u=c-t.width,d=l-t.height;return{left:t.left-u/2,right:t.right+u/2,top:t.top-d/2,bottom:t.bottom+d/2}}var xt=2,St=400,Ct=200,wt={...Ce,...C,value:()=>null},Tt=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,...l}=e,{setTouched:u,setFocused:f,validationMode:p,state:m,disabled:h}=te(),{labelId:g}=S(),{store:_,setOpen:v,selectionRef:b,validation:C,readOnly:w,required:ee,alignItemWithTriggerActiveRef:T,disabled:D,keyboardActiveRef:k}=it(),A=h||D||a,j=q(_,$.open),N=q(_,$.value),ne=q(_,$.triggerProps),P=q(_,$.positionerElement),F=q(_,$.listElement),I=q(_,$.id),L=q(_,$.labelId),re=q(_,$.hasSelectedValue),V=!re&&j,H=q(_,$.hasNullItemLabel,V),ae=i??I,U=yt(g,L);E({id:ae});let oe=le(P),W=Z.useRef(null),{getButtonProps:se,buttonRef:G}=x({disabled:A,native:o}),ce=s(t,W,G,y(e=>{_.set(`triggerElement`,e)})),K=je(),ue=je(),J=je(),de=je();Z.useEffect(()=>{if(j)return re||H?de.start(Ct,()=>{b.current.allowUnselectedMouseUp=!0,J.start(Ct,()=>{b.current.allowSelectedMouseUp=!0})}):J.start(St,()=>{b.current.allowUnselectedMouseUp=!0,b.current.allowSelectedMouseUp=!0}),()=>{J.clear(),de.clear()};b.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1},ue.clear()},[j,re,H,b,ue,J,de]);let fe=Z.useMemo(()=>F?.id??ie(P)?.id,[F,P]),pe=c(ne,{id:ae,role:`combobox`,"aria-expanded":j?`true`:`false`,"aria-haspopup":`listbox`,"aria-controls":j?fe:void 0,"aria-labelledby":U,"aria-readonly":w||void 0,"aria-required":ee||void 0,tabIndex:A?-1:0,ref:ce,onFocus(e){f(!0),j&&T.current&&v(!1,z(B,e.nativeEvent)),K.start(0,()=>{_.set(`forceMount`,!0)})},onBlur(e){M(P,e.relatedTarget)||(u(!0),f(!1),p===`onBlur`&&C.commit(N))},onPointerMove(){k.current=!1},onKeyDown(){k.current=!0},onMouseDown(e){if(j)return;let t=O(e.currentTarget);function n(e){if(!W.current)return;let t=e.target;if(M(W.current,t)||M(oe.current,t)||t===W.current)return;let n=bt(W.current);e.clientX>=n.left-xt&&e.clientX<=n.right+xt&&e.clientY>=n.top-xt&&e.clientY<=n.bottom+xt||v(!1,z(R,e))}ue.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},C.getValidationProps,l,se);pe.role=`combobox`;let me={...m,open:j,disabled:A,value:N,readOnly:w,placeholder:!re};return d(`button`,e,{ref:[t,W],state:me,stateAttributesMapping:wt,props:pe})}),Et={value:()=>null},Dt=Z.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,...o}=e,{store:s,valueRef:c}=it(),l=q(s,$.value),u=q(s,$.items),f=q(s,$.itemToStringLabel),p=q(s,$.hasSelectedValue),m=!p&&a!=null&&i==null,h=q(s,$.hasNullItemLabel,m),g={value:l,placeholder:!p},_=null;return _=typeof i==`function`?i(l):i??(!p&&a!=null&&!h?a:Array.isArray(l)?_t(l,u,f):gt(l,u,f)),d(`span`,e,{state:g,ref:[t,c],props:[{children:_},o],stateAttributesMapping:Et})}),Ot=Z.forwardRef(function(e,t){let{className:n,render:r,...i}=e,{store:a}=it();return d(`span`,e,{state:{open:q(a,$.open)},ref:t,props:[{"aria-hidden":!0,children:`▼`},i],stateAttributesMapping:J})}),kt=Z.createContext(void 0),At=Z.forwardRef(function(e,t){let{store:n}=it(),r=q(n,$.mounted),i=q(n,$.forceMount);return r||i?(0,Q.jsx)(kt.Provider,{value:!0,children:(0,Q.jsx)(ge,{ref:t,...e})}):null}),jt=Z.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Mt(){return Z.useContext(jt)}function Nt(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=y(i),o=Z.useRef(0),s=f(Ft).current,c=f(Pt).current,[l,u]=Z.useState(0),d=Z.useRef(l),p=y((e,t)=>{c.set(e,t??null),d.current+=1,u(d.current)}),m=y(e=>{c.delete(e),d.current+=1,u(d.current)}),h=Z.useMemo(()=>{let e=new Map;return Array.from(c.keys()).filter(e=>e.isConnected).sort(It).forEach((t,n)=>{let r=c.get(t)??{};e.set(t,{...r,index:n})}),e},[c,l]);b(()=>{if(typeof MutationObserver!=`function`||h.size===0)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),t.size===0&&(d.current+=1,u(d.current))});return h.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[h]),b(()=>{d.current===l&&(n.current.length!==h.size&&(n.current.length=h.size),r&&r.current.length!==h.size&&(r.current.length=h.size),o.current=h.size),a(h)},[a,h,n,r,l]),b(()=>()=>{n.current=[]},[n]),b(()=>()=>{r&&(r.current=[])},[r]);let g=y(e=>(s.add(e),()=>{s.delete(e)}));b(()=>{s.forEach(e=>e(h))},[s,h]);let _=Z.useMemo(()=>({register:p,unregister:m,subscribeMapChange:g,elementsRef:n,labelsRef:r,nextIndexRef:o}),[p,m,g,n,r,o]);return(0,Q.jsx)(jt.Provider,{value:_,children:t})}function Pt(){return new Map}function Ft(){return new Set}function It(e,t){let 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}var Lt=Z.createContext(void 0);function Rt(){let e=Z.useContext(Lt);if(!e)throw Error(u(59));return e}function zt(e,t){e&&Object.assign(e.style,t)}var Bt={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},Vt={position:`fixed`},Ht=Z.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:i,render:o,side:s=`bottom`,align:c=`center`,sideOffset:l=0,alignOffset:u=0,collisionBoundary:f=`clipping-ancestors`,collisionPadding:p,arrowPadding:m=5,sticky:h=!1,disableAnchorTracking:g,alignItemWithTrigger:_=!0,collisionAvoidance:v=a,...x}=e,{store:S,listRef:C,labelsRef:w,alignItemWithTriggerActiveRef:ee,selectedItemTextRef:T,valuesRef:E,initialValueRef:te,popupRef:D,setValue:O}=it(),k=at(),A=q(S,$.open),j=q(S,$.mounted),M=q(S,$.modal),N=q(S,$.value),ne=q(S,$.openMethod),P=q(S,$.positionerElement),F=q(S,$.triggerElement),I=q(S,$.isItemEqualToValue),L=q(S,$.transitionStatus),R=Z.useRef(null),re=Z.useRef(null),[ie,V]=Z.useState(_),H=j&&ie&&ne!==`touch`;!j&&ie!==_&&V(_),b(()=>{j||($.scrollUpArrowVisible(S.state)&&S.set(`scrollUpArrowVisible`,!1),$.scrollDownArrowVisible(S.state)&&S.set(`scrollDownArrowVisible`,!1))},[S,j]),Z.useImperativeHandle(ee,()=>H),Pe((H||M)&&A&&ne!==`touch`,F);let ae=He({anchor:n,floatingRootContext:k,positionMethod:r,mounted:j,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:m,collisionBoundary:f,collisionPadding:p,sticky:h,disableAnchorTracking:g??H,collisionAvoidance:v,keepMounted:!0}),U=H?`none`:ae.side,oe=H?Vt:ae.positionerStyles,W=Z.useMemo(()=>{let e={};return A||(e.pointerEvents=`none`),{role:`presentation`,hidden:!j,style:{...oe,...e}}},[A,j,oe]),se={open:A,side:U,align:ae.align,anchorHidden:ae.anchorHidden},G=d(`div`,e,{ref:[t,y(e=>{S.set(`positionerElement`,e)})],state:se,stateAttributesMapping:Se,props:[W,Ge(L),x]}),ce=Z.useRef(0),le=y(e=>{if(e.size===0&&ce.current===0||E.current.length===0)return;let t=ce.current;if(ce.current=e.size,e.size===t)return;let n=z(B);if(t!==0&&!S.state.multiple&&N!==null&<(E.current,N,I)===-1){let e=te.current,t=e!=null&<(E.current,e,I)!==-1?e:null;O(t,n),t===null&&(S.set(`selectedIndex`,null),T.current=null)}if(t!==0&&S.state.multiple&&Array.isArray(N)){let e=e=>lt(E.current,e,I)!==-1,t=N.filter(t=>e(t));(t.length!==N.length||t.some(e=>!ct(N,e,I)))&&(O(t,n),t.length===0&&(S.set(`selectedIndex`,null),T.current=null))}if(A&&H){S.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};zt(P,e),zt(D.current,e)}}),K=Z.useMemo(()=>({...ae,side:U,alignItemWithTriggerActive:H,setControlledAlignItemWithTrigger:V,scrollUpArrowRef:R,scrollDownArrowRef:re}),[ae,U,H,V]);return(0,Q.jsx)(Nt,{elementsRef:C,labelsRef:w,onMapChange:le,children:(0,Q.jsxs)(Lt.Provider,{value:K,children:[j&&M&&(0,Q.jsx)(Ae,{inert:De(!A),cutout:F}),G]})})}),Ut=e(i());function Wt(e){let t=e.currentTarget.getBoundingClientRect();return t.top+1<=e.clientY&&e.clientY<=t.bottom-1&&t.left+1<=e.clientX&&e.clientX<=t.right-1}var Gt=`base-ui-disable-scrollbar`,Kt={className:Gt,getElement(e){return(0,Q.jsx)(`style`,{nonce:e,href:Gt,precedence:`base-ui:low`,children:`.${Gt}{scrollbar-width:none}.${Gt}::-webkit-scrollbar{display:none}`})}},qt=Z.createContext(void 0);function Jt(e){let t=Z.useContext(qt);if(t===void 0&&!e)throw Error(u(69));return t}function Yt(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}var Xt=Z.createContext(void 0),Zt={disableStyleElements:!1};function Qt(){return Z.useContext(Xt)??Zt}var $t=1,en={...Se,...U},tn=Z.forwardRef(function(e,t){let{render:n,className:r,finalFocus:i,...a}=e,{store:o,popupRef:s,onOpenChangeComplete:c,setOpen:l,valueRef:u,selectedItemTextRef:f,keyboardActiveRef:p,multiple:m,handleScrollArrowVisibility:h,scrollHandlerRef:g,highlightItemOnHover:v}=it(),{side:x,align:S,alignItemWithTriggerActive:C,setControlledAlignItemWithTrigger:w,scrollDownArrowRef:ee,scrollUpArrowRef:T}=Rt(),E=Jt(!0)!=null,te=at(),{nonce:D,disableStyleElements:k}=Qt(),A=je(),j=q(o,$.id),M=q(o,$.open),N=q(o,$.mounted),ne=q(o,$.popupProps),F=q(o,$.transitionStatus),I=q(o,$.triggerElement),L=q(o,$.positionerElement),R=q(o,$.listElement),re=Z.useRef(0),B=Z.useRef(!1),ie=Z.useRef(0),V=Z.useRef(!1),H=Z.useRef({}),U=oe(),se=y(e=>{if(!L||!s.current||!V.current)return;if(B.current||!C){h();return}let t=L.style.top===`0px`,n=L.style.bottom===`0px`,r=L.getBoundingClientRect().height,i=O(L),a=getComputedStyle(L),o=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),l=nn(getComputedStyle(s.current)),u=Math.min(i.documentElement.clientHeight-o-c,l),d=e.scrollTop,f=rn(e),p=0,m=null,g=!1,_=!1,v=e=>{L.style.height=`${e}px`},y=(t,n)=>{let i=Yt(t,0,u-r);i>0&&v(r+i),e.scrollTop=n,u-(r+i)<=$t&&(B.current=!0),h()};if(t){let e=f-d,t=r+e,n=Math.min(t,u);if(p=n,e<=$t){y(e,f);return}u-n>$t?_=!0:g=!0}else if(n){let e=d,t=r+e,n=Math.min(t,u),i=t-u;if(p=n,e<=$t){y(e,0);return}u-n>$t?m=0:(g=!0,d$t&&(e.scrollTop=n)}(g||p>=u-$t)&&(B.current=!0),h()});Z.useImperativeHandle(g,()=>se,[se]),W({open:M,ref:s,onComplete(){M&&c?.(!0)}});let G={open:M,transitionStatus:F,side:x,align:S};b(()=>{!L||!s.current||Object.keys(H.current).length||(H.current={top:L.style.top||`0`,left:L.style.left||`0`,right:L.style.right,height:L.style.height,bottom:L.style.bottom,minHeight:L.style.minHeight,maxHeight:L.style.maxHeight,marginTop:L.style.marginTop,marginBottom:L.style.marginBottom})},[s,L]),b(()=>{M||C||(V.current=!1,B.current=!1,re.current=0,ie.current=0,zt(L,H.current))},[M,C,L,s]),b(()=>{let e=s.current;if(!(!M||!I||!L||!e||o.state.transitionStatus===`ending`)){if(!C){V.current=!0,U.request(h),e.style.removeProperty(`--transform-origin`);return}queueMicrotask(()=>{let t=cn(e);e.style.removeProperty(`--transform-origin`);try{let t=getComputedStyle(L),n=getComputedStyle(e),r=O(I),i=_(L),a=an(I),o=on(I.getBoundingClientRect(),a),s=on(L.getBoundingClientRect(),a),c=o.left,l=o.height,d=R||e,p=d.scrollHeight,m=parseFloat(n.borderBottomWidth),g=parseFloat(t.marginTop)||10,v=parseFloat(t.marginBottom)||10,y=parseFloat(t.minHeight)||100,b=nn(n),x=r.documentElement.clientHeight-g-v,S=r.documentElement.clientWidth,C=x-o.bottom+l,ee=f.current,T=u.current,E,te=0,D=0;if(ee&&T){let e=on(T.getBoundingClientRect(),a);E=on(ee.getBoundingClientRect(),a);let t=e.left-c,n=E.left-s.left,r=e.top-o.top+e.height/2,i=E.top-s.top+E.height/2;te=t-n,D=i-r}let k=C+D+v+m,A=Math.min(x,k),j=x-g-v,M=k-A,N=Math.max(5,c+te),ne=S-5,P=Math.max(0,N+s.width-ne);L.style.left=`${N-P}px`,L.style.height=`${A}px`,L.style.maxHeight=`auto`,L.style.marginTop=`${g}px`,L.style.marginBottom=`${v}px`,e.style.height=`100%`;let F=rn(d),z=M>=F-$t;z&&(A=Math.min(x,s.height)-(M-F));let ie=o.top<20||o.bottom>x-20||Math.ceil(A)+$tw(!1));return}if(z){let e=Math.max(0,x-k);L.style.top=s.height>=j?`0`:`${e}px`,L.style.height=`${A}px`,d.scrollTop=rn(d),re.current=Math.max(y,A)}else L.style.bottom=`0`,re.current=Math.max(y,A),d.scrollTop=M;if(E){let t=s.top,n=s.height,r=E.top+E.height/2,i=Yt(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(`--transform-origin`,`50% ${i}%`)}(re.current===x||A>=b)&&(B.current=!0),h(),setTimeout(()=>{V.current=!0})}finally{t()}})}},[o,M,L,I,u,f,s,h,C,w,U,ee,T,R]),Z.useEffect(()=>{if(!C||!L||!M)return;let e=_(L);function t(e){l(!1,z(P,e))}return e.addEventListener(`resize`,t),()=>{e.removeEventListener(`resize`,t)}},[l,C,L,M]);let ce={...R?{role:`presentation`,"aria-orientation":void 0}:{role:`listbox`,"aria-multiselectable":m||void 0,id:`${j}-list`},onKeyDown(e){p.current=!0,E&&ke.has(e.key)&&e.stopPropagation()},onMouseMove(){p.current=!1},onPointerLeave(e){if(!v||Wt(e)||e.pointerType===`touch`)return;let t=e.currentTarget;A.start(0,()=>{o.set(`activeIndex`,null),t.focus({preventScroll:!0})})},onScroll(e){R||se(e.currentTarget)},...C&&{style:R?{height:`100%`}:Bt}},le=d(`div`,e,{ref:[t,s],state:G,stateAttributesMapping:en,props:[ne,ce,Ge(F),{className:!R&&C?Kt.className:void 0},a]});return(0,Q.jsxs)(Z.Fragment,{children:[!k&&Kt.getElement(D),(0,Q.jsx)(Y,{context:te,modal:!1,disabled:!N,returnFocus:i,restoreFocus:!0,children:le})]})});function nn(e){let t=e.maxHeight||``;return t.endsWith(`px`)&&parseFloat(t)||1/0}function rn(e){return Math.max(0,e.scrollHeight-e.clientHeight)}function an(e){return We.getScale(e)}function on(e,t){return ze({x:e.x/t.x,y:e.y/t.y,width:e.width/t.x,height:e.height/t.y})}var sn=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function cn(e){let{style:t}=e,n={};for(let[e,r]of sn)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of sn){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var ln=Z.forwardRef(function(e,t){let{className:n,render:r,...i}=e,{store:a,scrollHandlerRef:o}=it(),{alignItemWithTriggerActive:s}=Rt(),c=q(a,$.hasScrollArrows),l=q(a,$.openMethod),u=q(a,$.multiple),f={id:`${q(a,$.id)}-list`,role:`listbox`,"aria-multiselectable":u||void 0,onScroll(e){o.current?.(e.currentTarget)},...s&&{style:Bt},className:c&&l!==`touch`?Kt.className:void 0};return d(`div`,e,{ref:[t,y(e=>{a.set(`listElement`,e)})],props:[f,i]})}),un=function(e){return e[e.None=0]=`None`,e[e.GuessFromOrder=1]=`GuessFromOrder`,e}({});function dn(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,elementsRef:l,labelsRef:u,nextIndexRef:d}=Mt(),f=Z.useRef(-1),[p,m]=Z.useState(a??(i===un.GuessFromOrder?()=>{if(f.current===-1){let e=d.current;d.current+=1,f.current=e}return f.current}:-1)),h=Z.useRef(null),g=Z.useCallback(e=>{if(h.current=e,p!==-1&&e!==null&&(l.current[p]=e,u)){let n=t!==void 0;u.current[p]=n?t:r?.current?.textContent??e.textContent}},[p,l,u,t,r]);return b(()=>{if(a!=null)return;let e=h.current;if(e)return o(e,n),()=>{s(e)}},[a,o,s,n]),b(()=>{if(a==null)return c(e=>{let t=h.current?e.get(h.current)?.index:null;t!=null&&m(t)})},[a,c,m]),Z.useMemo(()=>({ref:g,index:p}),[p,g])}var fn=Z.createContext(void 0);function pn(){let e=Z.useContext(fn);if(!e)throw Error(u(57));return e}var mn=Z.memo(Z.forwardRef(function(e,t){let{render:n,className:r,value:i=null,label:a,disabled:o=!1,nativeButton:s=!1,...c}=e,l=Z.useRef(null),u=dn({label:a,textRef:l,indexGuessBehavior:un.GuessFromOrder}),{store:f,getItemProps:p,setOpen:m,setValue:h,selectionRef:g,typingRef:_,valuesRef:v,keyboardActiveRef:y,multiple:S,highlightItemOnHover:C}=it(),w=je(),ee=q(f,$.isActive,u.index),T=q(f,$.isSelected,u.index,i),E=q(f,$.isSelectedByFocus,u.index),te=q(f,$.isItemEqualToValue),D=u.index,O=D!==-1,k=Z.useRef(null),A=le(D);b(()=>{if(!O)return;let e=v.current;return e[D]=i,()=>{delete e[D]}},[O,D,i,v]),b(()=>{if(!O)return;let e=f.state.value,t=e;S&&Array.isArray(e)&&e.length>0&&(t=e[e.length-1]),t!==void 0&&st(i,t,te)&&f.set(`selectedIndex`,D)},[O,D,S,te,f,i]);let j={disabled:o,selected:T,highlighted:ee},M=p({active:ee,selected:T});M.onFocus=void 0,M.id=void 0;let ne=Z.useRef(null),P=Z.useRef(`mouse`),F=Z.useRef(!1),{getButtonProps:I,buttonRef:L}=x({disabled:o,focusableWhenDisabled:!0,native:s,composite:!0});function R(e){let t=f.state.value;if(S){let n=Array.isArray(t)?t:[];h(T?ut(n,i,te):[...n,i],z(N,e))}else h(i,z(N,e)),m(!1,z(N,e))}let re={role:`option`,"aria-selected":T,tabIndex:ee?0:-1,onFocus(){f.set(`activeIndex`,D)},onMouseEnter(){!y.current&&f.state.selectedIndex===null&&C&&f.set(`activeIndex`,D)},onMouseMove(){C&&f.set(`activeIndex`,D)},onMouseLeave(e){!C||y.current||Wt(e)||w.start(0,()=>{f.state.activeIndex===D&&f.set(`activeIndex`,null)})},onTouchStart(){g.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}},onKeyDown(e){ne.current=e.key,f.set(`activeIndex`,D),e.key===` `&&_.current&&e.preventDefault()},onClick(e){F.current=!1,!(e.type===`keydown`&&ne.current===null)&&(o||e.type===`keydown`&&ne.current===` `&&_.current||P.current!==`touch`&&!ee||(ne.current=null,R(e.nativeEvent)))},onPointerEnter(e){P.current=e.pointerType},onPointerDown(e){P.current=e.pointerType,F.current=!0},onMouseUp(){if(o)return;if(F.current){F.current=!1;return}let e=!g.current.allowSelectedMouseUp&&T,t=!g.current.allowUnselectedMouseUp&&!T;e||t||P.current!==`touch`&&!ee||k.current?.click()}},B=d(`div`,e,{ref:[L,t,u.ref,k],state:j,props:[M,re,c,I]}),ie=Z.useMemo(()=>({selected:T,indexRef:A,textRef:l,selectedByFocus:E,hasRegistered:O}),[T,A,l,E,O]);return(0,Q.jsx)(fn.Provider,{value:ie,children:B})})),hn=Z.forwardRef(function(e,t){let n=e.keepMounted??!1,{selected:r}=pn();return n||r?(0,Q.jsx)(gn,{...e,ref:t}):null}),gn=Z.memo(Z.forwardRef((e,t)=>{let{render:n,className:r,keepMounted:i,...a}=e,{selected:o}=pn(),s=Z.useRef(null),{transitionStatus:c,setMounted:l}=se(o),u=d(`span`,e,{ref:[t,s],state:{selected:o,transitionStatus:c},props:[{"aria-hidden":!0,children:`✔️`},a],stateAttributesMapping:U});return W({open:o,ref:s,onComplete(){o||l(!1)}}),u})),_n=Z.memo(Z.forwardRef(function(e,t){let{indexRef:n,textRef:r,selectedByFocus:i,hasRegistered:a}=pn(),{selectedItemTextRef:o}=it(),{className:s,render:c,...l}=e;return d(`div`,e,{ref:[Z.useCallback(e=>{if(!e||!a)return;let t=o.current===null||!o.current.isConnected;(i||t&&n.current===0)&&(o.current=e)},[o,n,i,a]),t,r],props:l})})),vn=Z.forwardRef(function(e,t){let{render:n,className:r,direction:i,keepMounted:a=!1,...o}=e,{store:s,popupRef:c,listRef:l,handleScrollArrowVisibility:u,scrollArrowsMountedCountRef:f}=it(),{side:p,scrollDownArrowRef:m,scrollUpArrowRef:h}=Rt(),g=q(s,i===`up`?$.scrollUpArrowVisible:$.scrollDownArrowVisible),_=q(s,$.openMethod),v=g&&_!==`touch`,y=je(),x=i===`up`?h:m,{transitionStatus:S,setMounted:C}=se(v);b(()=>(f.current+=1,s.state.hasScrollArrows||s.set(`hasScrollArrows`,!0),()=>{f.current=Math.max(0,f.current-1),f.current===0&&s.state.hasScrollArrows&&s.set(`hasScrollArrows`,!1)}),[s,f]),W({open:v,ref:x,onComplete(){v||C(!1)}});let w=d(`div`,e,{ref:[t,x],state:{direction:i,visible:v,side:p,transitionStatus:S},props:[{"aria-hidden":!0,children:i===`up`?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||y.isStarted())return;s.set(`activeIndex`,null);function t(){let e=s.state.listElement??c.current;if(!e)return;s.set(`activeIndex`,null),u();let n=e.scrollTop===0,r=Math.round(e.scrollTop+e.clientHeight)>=e.scrollHeight;if(l.current.length===0&&(i===`up`?s.set(`scrollUpArrowVisible`,!n):s.set(`scrollDownArrowVisible`,!r)),i===`up`&&n||i===`down`&&r){y.clear();return}if((s.state.listElement||c.current)&&l.current&&l.current.length>0){let t=l.current,n=x.current?.offsetHeight||0;if(i===`up`){let r=0,i=e.scrollTop+n;for(let e=0;e=i){r=e;break}}let a=Math.max(0,r-1);if(ai){r=Math.max(0,e-1);break}}let a=Math.min(t.length-1,r+1);if(a>r){let r=t[a];r&&(e.scrollTop=r.offsetTop+r.offsetHeight-e.clientHeight+n)}else e.scrollTop=e.scrollHeight-e.clientHeight}}y.start(40,t)}y.start(40,t)},onMouseLeave(){y.clear()}},o]});return v||a?w:null}),yn=Z.forwardRef(function(e,t){return(0,Q.jsx)(vn,{...e,ref:t,direction:`down`})}),bn=Z.forwardRef(function(e,t){return(0,Q.jsx)(vn,{...e,ref:t,direction:`up`})}),xn=r(),Sn=vt;function Cn(e){let t=(0,xn.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`flex flex-1 text-left`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Q.jsx)(Dt,{className:i,"data-slot":`select-value`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function wn(e){let t=(0,xn.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,size:o,id:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`default`:o,c;t[6]===r?c=t[7]:(c=p(`flex w-fit items-center justify-between gap-1.5 rounded-md border border-input bg-input/20 px-2 py-1.5 text-xs/relaxed whitespace-nowrap transition-colors outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,r),t[6]=r,t[7]=c);let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(Ot,{render:(0,Q.jsx)(g,{className:`pointer-events-none size-3.5 text-muted-foreground`})}),t[8]=l):l=t[8];let u;return t[9]!==n||t[10]!==i||t[11]!==a||t[12]!==s||t[13]!==c?(u=(0,Q.jsxs)(Tt,{className:c,"data-size":s,"data-slot":`select-trigger`,id:i,...a,children:[n,l]}),t[9]=n,t[10]=i,t[11]=a,t[12]=s,t[13]=c,t[14]=u):u=t[14],u}function Tn(e){let t=(0,xn.c)(26),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:r,children:n,side:a,sideOffset:o,align:s,alignOffset:c,alignItemWithTrigger:l,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=a===void 0?`bottom`:a,d=o===void 0?4:o,f=s===void 0?`center`:s,m=c===void 0?0:c,h=l===void 0?!0:l,g;t[9]===r?g=t[10]:(g=p(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-closed:animate-out data-open:animate-in relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100`,r),t[9]=r,t[10]=g);let _;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(Dn,{}),t[11]=_):_=t[11];let v;t[12]===n?v=t[13]:(v=(0,Q.jsx)(ln,{children:n}),t[12]=n,t[13]=v);let y;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Q.jsx)(On,{}),t[14]=y):y=t[14];let b;t[15]!==i||t[16]!==g||t[17]!==v?(b=(0,Q.jsxs)(tn,{className:g,"data-slot":`select-content`,...i,children:[_,v,y]}),t[15]=i,t[16]=g,t[17]=v,t[18]=b):b=t[18];let x;return t[19]!==f||t[20]!==h||t[21]!==m||t[22]!==u||t[23]!==d||t[24]!==b?(x=(0,Q.jsx)(At,{children:(0,Q.jsx)(Ht,{align:f,alignItemWithTrigger:h,alignOffset:m,className:`isolate z-50`,side:u,sideOffset:d,children:b})}),t[19]=f,t[20]=h,t[21]=m,t[22]=u,t[23]=d,t[24]=b,t[25]=x):x=t[25],x}function En(e){let t=(0,xn.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=p(`relative flex min-h-7 w-full cursor-default items-center gap-2 rounded-md px-2 py-1 text-xs/relaxed outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===n?o=t[7]:(o=(0,Q.jsx)(_n,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:n}),t[6]=n,t[7]=o);let s;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(hn,{render:(0,Q.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`}),children:(0,Q.jsx)(h,{className:`pointer-events-none`})}),t[8]=s):s=t[8];let c;return t[9]!==i||t[10]!==a||t[11]!==o?(c=(0,Q.jsxs)(mn,{className:a,"data-slot":`select-item`,...i,children:[o,s]}),t[9]=i,t[10]=a,t[11]=o,t[12]=c):c=t[12],c}function Dn(e){let t=(0,xn.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-3.5`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(Ke,{}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Q.jsx)(bn,{className:i,"data-slot":`select-scroll-up-button`,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function On(e){let t=(0,xn.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-3.5`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(g,{}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Q.jsx)(yn,{className:i,"data-slot":`select-scroll-down-button`,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{Cn as a,wn as i,Tn as n,dn as o,En as r,Nt as s,Sn as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{a as i,c as a,f as o,g as s,l as c,m as l,n as u,p as d,u as f}from"./dist.js";import{I as p}from"./SignatureV4.js";import{t as m}from"./createLucideIcon.js";import{t as h}from"./check.js";import{t as g}from"./chevron-down.js";import{_,b as v,c as y,o as b,r as x}from"./button.js";import{a as S,i as C,n as w,o as T,r as E,s as D}from"./separator.js";import{_ as O,c as k,g as A,h as ee,l as j,m as M,n as N,o as P,t as F,u as I,v as L,y as te}from"./createBaseUIEventDetails.js";import{l as ne,n as R,o as z,r as B,t as re}from"./addEventListener.js";import{$ as ie,A as V,At as H,B as U,D as W,Dt as ae,E as oe,Et as G,F as K,G as q,Ht as se,It as ce,J,K as le,L as Y,Lt as ue,M as de,N as fe,Nt as pe,Ot as me,P as he,Pt as ge,Q as _e,Rt as ve,S as ye,Tt as be,V as xe,Wt as Se,X as Ce,Y as we,Z as Te,a as Ee,et as De,i as Oe,j as ke,n as Ae,nt as je,o as Me,p as X,q as Ne,r as Pe,rt as Fe,t as Ie,tt as Le,wt as Re,xt as ze,z as Be,zt as Ve}from"./useOpenInteractionType.js";import{a as He,n as Ue,o as We,r as Ge,s as Ke,t as qe}from"./usePositioner.js";var Je=m(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Z=t(),Q=e(n()),Ye=Q.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:f,validationMode:`onSubmit`,submitAttemptedRef:{current:!1}});function Xe(){return Q.useContext(Ye)}function Ze(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:l=!0,touchOpenDelay:u=0,reason:d=M}=t,f=Q.useRef(void 0),p=ne(),m=Se(),h=Q.useMemo(()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){let t=f.current,i=e.nativeEvent,c=n.select(`open`);if(e.button!==0||a===`click`||be(t,!0)&&s)return;let h=r.current.openEvent,g=h?.type,_=n.select(`domReferenceElement`)!==e.currentTarget,v=c&&_||!(c&&o&&(!(h&&l)||g===`click`||g===`mousedown`)),y=L(i);if(ge(y)){let e=F(d,i,y);v&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(v,e);return}let b=e.currentTarget;p.request(()=>{let e=F(d,i,b);v&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(v,e)})},onClick(e){if(a===`mousedown-only`)return;let t=f.current;if(a===`mousedown`&&t){f.current=void 0;return}if(be(t,!0)&&s)return;let i=n.select(`open`),c=r.current.openEvent,p=n.select(`domReferenceElement`)!==e.currentTarget,h=i&&p||!(i&&o&&(!(c&&l)||Re(c))),g=F(d,e.nativeEvent,e.currentTarget);h&&t===`touch`&&u>0?m.start(u,()=>{n.setOpen(!0,g)}):n.setOpen(h,g)},onKeyDown(){f.current=void 0}}),[r,a,s,n,l,o,p,m,u,d]);return Q.useMemo(()=>i?{reference:h}:c,[i,h])}function Qe(e){let t=e.currentTarget.getBoundingClientRect();return t.top+1<=e.clientY&&e.clientY<=t.bottom-1&&t.left+1<=e.clientX&&e.clientX<=t.right-1}var $e=`Escape`;function et(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function tt(e,t){return et(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function nt(e,t,n){return et(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function rt(e,t,n){return et(t,n?e===ue:e===ve,e===ce)}function it(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===$e:et(t,n?e===ve:e===ue,e===Ve)}function at(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{listRef:s,activeIndex:c,onNavigate:l=()=>{},enabled:u=!0,selectedIndex:d=null,allowEscape:f=!1,loopFocus:p=!1,nested:m=!1,rtl:h=!1,virtual:g=!1,focusItemOnOpen:_=`auto`,focusItemOnHover:x=!0,openOnArrowKeyDown:S=!0,disabledIndices:C=void 0,orientation:w=`vertical`,parentOrientation:T,cols:E=1,id:D,resetOnPointerLeave:k=!0,externalTree:ee}=t,M=xe(H(i)),N=fe(),I=he(ee);b(()=>{o.current.orientation=w},[o,w]);let ne=pe(a),R=Q.useRef(_),z=Q.useRef(d??-1),B=Q.useRef(null),re=Q.useRef(!0),V=y(e=>{l(z.current===-1?null:z.current,e)}),U=Q.useRef(V),W=Q.useRef(!!i),oe=Q.useRef(r),K=Q.useRef(!1),q=Q.useRef(!1),se=Q.useRef(null),ce=xe(C),le=xe(r),ue=xe(d),de=xe(k),ge=y(()=>{function e(e){g?I?.events.emit(`virtualfocus`,e):se.current=Y(e,{sync:K.current,preventScroll:!0})}let t=s.current[z.current],n=q.current;t&&e(t),(K.current?e=>e():requestAnimationFrame)(()=>{let r=s.current[z.current]||t;r&&(t||e(r),be&&(n||!re.current)&&r.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});b(()=>{u&&(r&&i?(z.current=d??-1,R.current&&d!=null&&(q.current=!0,V())):W.current&&(z.current=-1,U.current()))},[u,r,i,d,V]),b(()=>{if(u){if(!r){K.current=!1;return}if(i)if(c==null){if(K.current=!1,ue.current!=null)return;if(W.current&&(z.current=-1,ge()),(!oe.current||!W.current)&&R.current&&(B.current!=null||R.current===!0&&B.current==null)){let e=0,t=()=>{s.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(z.current=B.current==null||nt(B.current,w,h)||m?De(s):ie(s),B.current=null,V())};t()}}else je(s.current,c)||(z.current=c,ge(),q.current=!1)}},[u,r,i,c,ue,m,s,w,h,V,ge,ce]),b(()=>{if(!u||i||!I||g||!W.current)return;let e=I.nodesRef.current,t=e.find(e=>e.id===N)?.context?.elements.floating,n=A(te(i)),r=e.some(e=>e.context&&O(e.context.elements.floating,n));t&&!r&&re.current&&t.focus({preventScroll:!0})},[u,i,I,N,g]),b(()=>{U.current=V,oe.current=r,W.current=!!i}),b(()=>{r||(B.current=null,R.current=_)},[r,_]);let ve=c!=null,ye=y(e=>{if(!le.current)return;let t=s.current.indexOf(e.currentTarget);t!==-1&&(z.current!==t||c!==t)&&(z.current=t,V(e))}),be=Q.useMemo(()=>({onFocus(e){K.current=!0,ye(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){K.current=!0,q.current=!1,x&&ye(e)},onPointerLeave(e){if(!le.current||!re.current||e.pointerType===`touch`)return;K.current=!0;let t=e.relatedTarget;if(!Qe(e)&&!(!x||s.current.includes(t))&&de.current&&(se.current?.(),se.current=null,z.current=-1,V(e),!g)){let e=M.current,t=A(te(e));e&&O(e,t)&&e.focus({preventScroll:!0})}}}),[ye,le,M,x,s,V,de,g]),Se=Q.useCallback(()=>T??I?.nodesRef.current.find(e=>e.id===N)?.context?.dataRef?.current.orientation,[N,I,T]),Ee=y(e=>{if(re.current=!1,K.current=!0,e.which===229||!le.current&&e.currentTarget===M.current)return;if(m&&it(e.key,w,h,E)){tt(e.key,Se())||me(e),n.setOpen(!1,F(j,e.nativeEvent)),v(a)&&(g?I?.events.emit(`virtualfocus`,a):a.focus());return}let t=z.current,i=De(s,C),o=ie(s,C);if(ne||(e.key===`Home`&&(me(e),z.current=i,V(e)),e.key===`End`&&(me(e),z.current=o,V(e))),E>1){let t=Array.from({length:s.current.length},()=>({width:1,height:1})),n=J(t,E,!1),r=n.findIndex(e=>e!=null&&!Fe(s.current,e,C)),a=n.reduce((e,t,n)=>t!=null&&!Fe(s.current,t,C)?n:e,-1),c=n[_e(n.map(e=>e==null?null:s.current[e]),{event:e,orientation:w,loopFocus:p,rtl:h,cols:E,disabledIndices:Te([...(typeof C==`function`?null:C)||s.current.map((e,t)=>Fe(s.current,t,C)?t:void 0),void 0],n),minIndex:r,maxIndex:a,prevIndex:Ce(z.current>o?i:z.current,t,n,E,e.key===`ArrowDown`?`bl`:e.key===(h?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(c!=null&&(z.current=c,V(e)),w===`both`)return}if(tt(e.key,w)){if(me(e),r&&!g&&A(e.currentTarget.ownerDocument)===e.currentTarget){z.current=nt(e.key,w,h)?i:o,V(e);return}nt(e.key,w,h)?p?t>=o?f&&t!==s.current.length?z.current=-1:(K.current=!1,z.current=i):z.current=we(s.current,{startingIndex:t,disabledIndices:C}):z.current=Math.min(o,we(s.current,{startingIndex:t,disabledIndices:C})):p?t<=i?f&&t!==-1?z.current=s.current.length:(K.current=!1,z.current=o):z.current=we(s.current,{startingIndex:t,decrement:!0,disabledIndices:C}):z.current=Math.max(i,we(s.current,{startingIndex:t,decrement:!0,disabledIndices:C})),je(s.current,z.current)&&(z.current=-1),V(e)}}),Oe=Q.useMemo(()=>g&&r&&ve&&{"aria-activedescendant":`${D}-${c}`},[g,r,ve,D,c]),ke=Q.useMemo(()=>({"aria-orientation":w===`both`?void 0:w,...ne?{}:Oe,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&r&&!g){let t=L(e.nativeEvent);if(t&&!O(M.current,t))return;me(e),n.setOpen(!1,F(P,e.nativeEvent)),v(a)&&a.focus();return}Ee(e)},onPointerMove(){re.current=!0}}),[Oe,Ee,M,w,ne,n,r,g,a]),Ae=Q.useMemo(()=>{function e(e){_===`auto`&&G(e.nativeEvent)&&(R.current=!g)}function t(e){R.current=_,_===`auto`&&ae(e.nativeEvent)&&(R.current=!0)}return{onKeyDown(e){let t=n.select(`open`);re.current=!1;let r=e.key.startsWith(`Arrow`),i=rt(e.key,Se(),h),a=tt(e.key,w),o=(m?i:a)||e.key===`Enter`||e.key.trim()===``;if(g&&t)return Ee(e);if(!(!t&&!S&&r)){if(o){let t=tt(e.key,Se());B.current=m&&t?null:e.key}if(m){i&&(me(e),t?(z.current=De(s,ce.current),V(e)):n.setOpen(!0,F(j,e.nativeEvent,e.currentTarget)));return}a&&(ue.current!=null&&(z.current=ue.current),me(e),!t&&S?n.setOpen(!0,F(j,e.nativeEvent,e.currentTarget)):Ee(e),t&&V(e))}},onFocus(e){n.select(`open`)&&!g&&(z.current=-1,V(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[Ee,ce,_,s,m,V,n,S,w,Se,h,ue,g]),Me=Q.useMemo(()=>({...Oe,...Ae}),[Oe,Ae]);return Q.useMemo(()=>u?{reference:Me,floating:ke,item:be,trigger:Ae}:{},[u,Me,ke,Ae,be])}function ot(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,i=n.useState(`open`),{listRef:a,elementsRef:o,activeIndex:s,onMatch:c,onTypingChange:l,enabled:u=!0,resetMs:d=750,selectedIndex:f=null}=t,p=Se(),m=Q.useRef(``),h=Q.useRef(f??s??-1),g=Q.useRef(null);b(()=>{!i&&f!==null||(p.clear(),g.current=null,m.current!==``&&(m.current=``))},[i,f,p]),b(()=>{i&&m.current===``&&(h.current=f??s??-1)},[i,f,s]);let _=y(e=>{e?r.current.typing||(r.current.typing=e,l?.(e)):r.current.typing&&(r.current.typing=e,l?.(e))}),v=y(e=>{function t(e){let t=o?.current[e];return!t||Le(t)}function n(e,n,r=0){if(e.length===0)return-1;let i=(r%e.length+e.length)%e.length,a=n.toLocaleLowerCase();for(let n=0;n0&&e.key===` `&&(me(e),_(!0)),m.current.length>0&&m.current[0]!==` `&&n(r,m.current)===-1&&e.key!==` `&&_(!1),r==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;i&&e.key!==` `&&(me(e),_(!0));let l=m.current===``;l&&(h.current=f??s??-1),r.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(d,()=>{m.current=``,h.current=g.current,_(!1)});let u=((l?f??s??-1:h.current)??0)+1,v=n(r,m.current,u);v===-1?e.key!==` `&&(m.current=``,_(!1)):(c?.(v),g.current=v)}),x=y(e=>{let t=e.relatedTarget,r=n.select(`domReferenceElement`),i=n.select(`floatingElement`),a=O(r,t),o=O(i,t);a||o||(p.clear(),m.current=``,h.current=g.current,_(!1))}),S=Q.useMemo(()=>({onKeyDown:v,onBlur:x}),[v,x]),C=Q.useMemo(()=>({onKeyDown:v,onBlur:x}),[v,x]);return Q.useMemo(()=>u?{reference:S,floating:C}:{},[u,S,C])}function st(e){let[t,n]=Q.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}var ct=Q.createContext(null),lt=Q.createContext(null);function ut(){let e=Q.useContext(ct);if(e===null)throw Error(l(60));return e}function dt(){let e=Q.useContext(lt);if(e===null)throw Error(l(61));return e}var ft=(e,t)=>Object.is(e,t);function pt(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function mt(e,t,n){return!e||e.length===0?!1:e.some(e=>e===void 0?!1:pt(t,e,n))}function ht(e,t,n){return!e||e.length===0?-1:e.findIndex(e=>e===void 0?!1:pt(e,t,n))}function gt(e,t,n){return e.filter(e=>!pt(t,e,n))}function _t(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function vt(e){return e!=null&&e.length>0&&typeof e[0]==`object`&&e[0]!=null&&`items`in e[0]}function yt(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(vt(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function bt(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return _t(e)}function xt(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?_t(e.value):_t(e)}function St(e,t,n){function r(){return bt(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){let n=t,i=vt(n)?n.flatMap(e=>e.items):n;if(typeof e!=`object`||!e){let t=i.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=i.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function Ct(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,Z.jsx)(Q.Fragment,{children:St(r,t,n)},i)),e),[])}var $={id:V(e=>e.id),labelId:V(e=>e.labelId),modal:V(e=>e.modal),multiple:V(e=>e.multiple),items:V(e=>e.items),itemToStringLabel:V(e=>e.itemToStringLabel),itemToStringValue:V(e=>e.itemToStringValue),isItemEqualToValue:V(e=>e.isItemEqualToValue),value:V(e=>e.value),hasSelectedValue:V(e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:xt(t,r)!==``}),hasNullItemLabel:V((e,t)=>t?yt(e.items):!1),open:V(e=>e.open),mounted:V(e=>e.mounted),forceMount:V(e=>e.forceMount),transitionStatus:V(e=>e.transitionStatus),openMethod:V(e=>e.openMethod),activeIndex:V(e=>e.activeIndex),selectedIndex:V(e=>e.selectedIndex),isActive:V((e,t)=>e.activeIndex===t),isSelected:V((e,t,n)=>{let r=e.isItemEqualToValue,i=e.value;return e.multiple?Array.isArray(i)&&i.some(e=>pt(n,e,r)):e.selectedIndex===t&&e.selectedIndex!==null?!0:pt(n,i,r)}),isSelectedByFocus:V((e,t)=>e.selectedIndex===t),popupProps:V(e=>e.popupProps),triggerProps:V(e=>e.triggerProps),triggerElement:V(e=>e.triggerElement),positionerElement:V(e=>e.positionerElement),listElement:V(e=>e.listElement),scrollUpArrowVisible:V(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:V(e=>e.scrollDownArrowVisible),hasScrollArrows:V(e=>e.hasScrollArrows)};function wt(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Tt(e,t){return Math.max(0,e-t)}function Et(e,t){if(t<=0)return 0;let n=wt(e,0,t),r=n,i=t-n,a=r<=1,o=i<=1;return a&&o?r<=i?0:t:a?0:o?t:n}function Dt(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:l,defaultOpen:u=!1,onOpenChange:f,name:p,form:m,autoComplete:h,disabled:g=!1,readOnly:_=!1,required:v=!1,modal:x=!0,actionsRef:S,inputRef:D,onOpenChangeComplete:O,items:k,multiple:A=!1,itemToStringLabel:ee,itemToStringValue:j,isItemEqualToValue:M=ft,highlightItemOnHover:N=!0,children:P}=e,{clearErrors:L}=Xe(),{setDirty:te,setTouched:ne,setFocused:z,shouldValidateOnChange:re,validityData:ie,setFilled:V,name:H,disabled:ae,validation:G,validationMode:K}=T(),q=w({id:t}),se=ae||g,ce=H??p,[J,le]=C({controlled:n,default:A?r??a:r,name:`Select`,state:`value`}),[Y,ue]=C({controlled:l,default:u,name:`Select`,state:`open`}),de=Q.useRef([]),fe=Q.useRef([]),pe=Q.useRef(null),me=Q.useRef(null),he=Q.useRef(0),ge=Q.useRef(null),_e=Q.useRef([]),ve=Q.useRef(!1),be=Q.useRef(!1),Se=Q.useRef(null),Ce=Q.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}),we=Q.useRef(!1),{mounted:Te,setMounted:Ee,transitionStatus:De}=R(Y),{openMethod:je,triggerProps:Me}=Ie(Y),X=d(()=>new oe({id:q,labelId:void 0,modal:x,multiple:A,itemToStringLabel:ee,itemToStringValue:j,isItemEqualToValue:M,value:J,open:Y,mounted:Te,transitionStatus:De,items:k,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,Ne=W(X,$.activeIndex),Pe=W(X,$.selectedIndex),Fe=W(X,$.triggerElement),Le=W(X,$.positionerElement),Re=st(je),ze=je??Re,Ve=Q.useMemo(()=>A&&Array.isArray(J)&&J.length===0?``:xt(J,j),[A,J,j]),He=Q.useMemo(()=>A&&Array.isArray(J)?J.map(e=>xt(e,j)):xt(J,j),[A,J,j]);E(xe(X.state.triggerElement),{id:q,value:J,getValue:y(()=>He)});let Ue=Q.useRef(J);b(()=>{J!==Ue.current&&X.set(`forceMount`,!0)},[X,J]),b(()=>{V(A?Array.isArray(J)&&J.length>0:J!=null)},[A,J,V]),b(function(){if(Y)return;let e=_e.current;if(A){let t=Array.isArray(J)?J:[];if(t.length===0){X.set(`selectedIndex`,null);return}let n=t[t.length-1],r=ht(e,n,M);X.set(`selectedIndex`,r===-1?null:r);return}let t=ht(e,J,M);X.set(`selectedIndex`,t===-1?null:t)},[A,Y,J,_e,M,X]),Ae(J,()=>{L(ce),te(J!==ie.initialValue),re()?G.commit(J):G.commit(J,!0)});let Ge=y((e,t)=>{if(f?.(e,t),!t.isCanceled&&(ue(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(ne(!0),z(!1),K===`onBlur`&&G.commit(J)),!e&&X.state.activeIndex!==null)){let e=de.current[X.state.activeIndex];queueMicrotask(()=>{e?.setAttribute(`tabindex`,`-1`)})}}),Ke=y(()=>{Ee(!1),X.update({activeIndex:null,openMethod:null}),O?.(!1)});B({enabled:!S,open:Y,ref:pe,onComplete(){Y||Ke()}}),Q.useImperativeHandle(S,()=>({unmount:Ke}),[Ke]);let qe=y((e,t)=>{i?.(e,t),!t.isCanceled&&le(e)}),Je=y(()=>{let e=X.state.listElement||pe.current;if(!e)return;let t=Tt(e.scrollHeight,e.clientHeight),n=Et(e.scrollTop,t),r=n>0,i=ns(Qe(),Me,q?{id:q}:c),[Qe,Me,q]);Oe(()=>{X.update({popupProps:$e(),triggerProps:tt})}),b(()=>{X.update({id:q,modal:x,multiple:A,value:J,open:Y,mounted:Te,transitionStatus:De,popupProps:$e(),triggerProps:tt,items:k,itemToStringLabel:ee,itemToStringValue:j,isItemEqualToValue:M,openMethod:ze})},[X,q,x,A,J,Y,Te,De,$e,tt,k,ee,j,M,ze]);let nt=Q.useMemo(()=>({store:X,name:ce,required:v,disabled:se,readOnly:_,multiple:A,itemToStringLabel:ee,itemToStringValue:j,highlightItemOnHover:N,setValue:qe,setOpen:Ge,listRef:de,popupRef:pe,scrollHandlerRef:me,handleScrollArrowVisibility:Je,scrollArrowsMountedCountRef:he,getItemProps:et,events:Ye.context.events,valueRef:ge,valuesRef:_e,labelsRef:fe,typingRef:ve,selectionRef:Ce,selectedItemTextRef:Se,validation:G,onOpenChangeComplete:O,keyboardActiveRef:be,alignItemWithTriggerActiveRef:we,initialValueRef:Ue}),[X,ce,v,se,_,A,ee,j,N,qe,Ge,et,Ye.context.events,G,O,Je]),rt=o(D,G.inputRef),it=A&&Array.isArray(J)&&J.length>0,ut=A?void 0:ce,dt=Q.useMemo(()=>!A||!Array.isArray(J)||!ce?null:J.map(e=>{let t=xt(e,j);return(0,Z.jsx)(`input`,{type:`hidden`,form:m,name:ce,value:t},t)}),[A,J,m,ce,j]);return(0,Z.jsx)(ct.Provider,{value:nt,children:(0,Z.jsxs)(lt.Provider,{value:Ye,children:[P,(0,Z.jsx)(`input`,{...G.getInputValidationProps({onFocus(){X.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.currentTarget.value,n=F(I,e.nativeEvent);function r(){if(A)return;let e=_e.current.find(e=>xt(e,j).toLowerCase()===t.toLowerCase()||bt(e,ee).toLowerCase()===t.toLowerCase());e!=null&&(te(e!==ie.initialValue),qe(e,n),re()&&G.commit(e))}X.set(`forceMount`,!0),queueMicrotask(r)}}),id:q&&ut==null?`${q}-hidden-input`:void 0,form:m,name:ut,autoComplete:h,value:Ve,disabled:se,required:v&&!it,readOnly:_,ref:rt,style:ce?U:Be,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),dt]})})}function Ot(e,t){return e??t}function kt(e){let t=e.getBoundingClientRect(),n=_(e),r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(!(r.content!==`none`||i.content!==`none`))return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}var At=2,jt=400,Mt=200,Nt={...le,...D,value:()=>null},Pt=Q.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:c=!0,style:l,...d}=e,{setTouched:f,setFocused:p,validationMode:m,state:h,disabled:g}=T(),{labelId:_}=S(),{store:v,setOpen:b,selectionRef:C,validation:E,readOnly:D,required:k,alignItemWithTriggerActiveRef:A,disabled:ee,keyboardActiveRef:j}=ut(),M=g||ee||a,P=W(v,$.open),L=W(v,$.value),ne=W(v,$.triggerProps),R=W(v,$.positionerElement),z=W(v,$.listElement),B=W(v,$.id),re=W(v,$.labelId),ie=W(v,$.hasSelectedValue),V=!ie&&P,U=W(v,$.hasNullItemLabel,V),ae=i??B,oe=Ot(_,re);w({id:ae});let G=xe(R),K=Q.useRef(null),{getButtonProps:q,buttonRef:se}=x({disabled:M,native:c}),ce=o(t,K,se,y(e=>{v.set(`triggerElement`,e)})),J=Se(),le=Se(),Y=Se(),ue=Se();Q.useEffect(()=>{if(P)return ie||U?ue.start(Mt,()=>{C.current.allowUnselectedMouseUp=!0,Y.start(Mt,()=>{C.current.allowSelectedMouseUp=!0})}):Y.start(jt,()=>{C.current.allowUnselectedMouseUp=!0,C.current.allowSelectedMouseUp=!0}),()=>{Y.clear(),ue.clear()};C.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1},le.clear()},[P,ie,U,C,le,Y,ue]);let de=Q.useMemo(()=>z?.id??H(R)?.id,[z,R]),fe=s(ne,{id:ae,role:`combobox`,"aria-expanded":P?`true`:`false`,"aria-haspopup":`listbox`,"aria-controls":P?de:void 0,"aria-labelledby":oe,"aria-readonly":D||void 0,"aria-required":k||void 0,tabIndex:M?-1:0,ref:ce,onFocus(e){p(!0),P&&A.current&&b(!1,F(I,e.nativeEvent)),J.start(0,()=>{v.set(`forceMount`,!0)})},onBlur(e){O(R,e.relatedTarget)||(f(!0),p(!1),m===`onBlur`&&E.commit(L))},onPointerMove(){j.current=!1},onKeyDown(){j.current=!0},onMouseDown(e){if(P)return;let t=te(e.currentTarget);function n(e){if(!K.current)return;let t=e.target;if(O(K.current,t)||O(G.current,t)||t===K.current)return;let n=kt(K.current);e.clientX>=n.left-At&&e.clientX<=n.right+At&&e.clientY>=n.top-At&&e.clientY<=n.bottom+At||b(!1,F(N,e))}le.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},E.getValidationProps,d,q);fe.role=`combobox`;let pe={...h,open:P,disabled:M,value:L,readOnly:D,placeholder:!ie};return u(`button`,e,{ref:[t,K],state:pe,stateAttributesMapping:Nt,props:fe})}),Ft={value:()=>null},It=Q.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,{store:c,valueRef:l}=ut(),d=W(c,$.value),f=W(c,$.items),p=W(c,$.itemToStringLabel),m=W(c,$.hasSelectedValue),h=!m&&a!=null&&i==null,g=W(c,$.hasNullItemLabel,h),_={value:d,placeholder:!m},v=null;return v=typeof i==`function`?i(d):i??(!m&&a!=null&&!g?a:Array.isArray(d)?Ct(d,f,p):St(d,f,p)),u(`span`,e,{state:_,ref:[t,l],props:[{children:v},s],stateAttributesMapping:Ft})}),Lt=Q.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,{store:o}=ut();return u(`span`,e,{state:{open:W(o,$.open)},ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:Ne})}),Rt=Q.createContext(void 0),zt=Q.forwardRef(function(e,t){let{store:n}=ut(),r=W(n,$.mounted),i=W(n,$.forceMount);return r||i?(0,Z.jsx)(Rt.Provider,{value:!0,children:(0,Z.jsx)(K,{ref:t,...e})}):null}),Bt=Q.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Vt(){return Q.useContext(Bt)}function Ht(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=y(i),o=Q.useRef(0),s=d(Wt).current,c=d(Ut).current,[l,u]=Q.useState(0),f=Q.useRef(l),p=y((e,t)=>{c.set(e,t??null),f.current+=1,u(f.current)}),m=y(e=>{c.delete(e),f.current+=1,u(f.current)}),h=Q.useMemo(()=>{let e=new Map;return Array.from(c.keys()).filter(e=>e.isConnected).sort(Gt).forEach((t,n)=>{let r=c.get(t)??{};e.set(t,{...r,index:n})}),e},[c,l]);b(()=>{if(typeof MutationObserver!=`function`||h.size===0)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),t.size===0&&(f.current+=1,u(f.current))});return h.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[h]),b(()=>{f.current===l&&(n.current.length!==h.size&&(n.current.length=h.size),r&&r.current.length!==h.size&&(r.current.length=h.size),o.current=h.size),a(h)},[a,h,n,r,l]),b(()=>()=>{n.current=[]},[n]),b(()=>()=>{r&&(r.current=[])},[r]);let g=y(e=>(s.add(e),()=>{s.delete(e)}));b(()=>{s.forEach(e=>e(h))},[s,h]);let _=Q.useMemo(()=>({register:p,unregister:m,subscribeMapChange:g,elementsRef:n,labelsRef:r,nextIndexRef:o}),[p,m,g,n,r,o]);return(0,Z.jsx)(Bt.Provider,{value:_,children:t})}function Ut(){return new Map}function Wt(){return new Set}function Gt(e,t){let 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}var Kt=Q.createContext(void 0);function qt(){let e=Q.useContext(Kt);if(!e)throw Error(l(59));return e}function Jt(e,t){e&&Object.assign(e.style,t)}var Yt={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},Xt=20;function Zt(e,t,n,r){let[i,a]=Q.useState(!1);b(()=>{if(!e||!t||n==null){a(!1);return}let r=te(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-Xt)},[e,t,n]),Pe(e&&(!t||i),r)}var Qt={position:`fixed`},$t=Q.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:a,render:o,side:s=`bottom`,align:c=`center`,sideOffset:l=0,alignOffset:u=0,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p=5,sticky:m=!1,disableAnchorTracking:h,alignItemWithTrigger:g=!0,collisionAvoidance:_=i,style:v,...x}=e,{store:S,listRef:C,labelsRef:w,alignItemWithTriggerActiveRef:T,selectedItemTextRef:E,valuesRef:D,initialValueRef:O,popupRef:k,setValue:A}=ut(),ee=dt(),j=W(S,$.open),M=W(S,$.mounted),N=W(S,$.modal),P=W(S,$.value),L=W(S,$.openMethod),te=W(S,$.positionerElement),ne=W(S,$.triggerElement),R=W(S,$.isItemEqualToValue),z=W(S,$.transitionStatus),B=Q.useRef(null),re=Q.useRef(null),[ie,V]=Q.useState(g),H=M&&ie&&L!==`touch`;!M&&ie!==g&&V(g),b(()=>{M||($.scrollUpArrowVisible(S.state)&&S.set(`scrollUpArrowVisible`,!1),$.scrollDownArrowVisible(S.state)&&S.set(`scrollDownArrowVisible`,!1))},[S,M]),Q.useImperativeHandle(T,()=>H),Zt((H||N)&&j,L===`touch`,te,ne);let U=Ge({anchor:n,floatingRootContext:ee,positionMethod:r,mounted:M,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h??H,collisionAvoidance:_,keepMounted:!0}),ae=H?`none`:U.side,oe=H?Qt:U.positionerStyles,G=qe(e,{open:j,side:ae,align:U.align,anchorHidden:U.anchorHidden},{styles:oe,transitionStatus:z,props:x,refs:[t,y(e=>{S.set(`positionerElement`,e)})],hidden:!M,inert:!j}),K=Q.useRef(0),q=y(e=>{if(e.size===0&&K.current===0||D.current.length===0)return;let t=K.current;if(K.current=e.size,e.size===t)return;let n=F(I);if(t!==0&&!S.state.multiple&&P!==null&&ht(D.current,P,R)===-1){let e=O.current,t=e!=null&&ht(D.current,e,R)!==-1?e:null;A(t,n),t===null&&(S.set(`selectedIndex`,null),E.current=null)}if(t!==0&&S.state.multiple&&Array.isArray(P)){let e=e=>ht(D.current,e,R)!==-1,t=P.filter(t=>e(t));(t.length!==P.length||t.some(e=>!mt(P,e,R)))&&(A(t,n),t.length===0&&(S.set(`selectedIndex`,null),E.current=null))}if(j&&H){S.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};Jt(te,e),Jt(k.current,e)}}),se=Q.useMemo(()=>({...U,side:ae,alignItemWithTriggerActive:H,setControlledAlignItemWithTrigger:V,scrollUpArrowRef:B,scrollDownArrowRef:re}),[U,ae,H,V]);return(0,Z.jsx)(Ht,{elementsRef:C,labelsRef:w,onMapChange:q,children:(0,Z.jsxs)(Kt.Provider,{value:se,children:[M&&N&&(0,Z.jsx)(Ee,{inert:Me(!j),cutout:ne}),G]})})}),en=`base-ui-disable-scrollbar`,tn={className:en,getElement(e){return(0,Z.jsx)(`style`,{nonce:e,href:en,precedence:`base-ui:low`,children:`.${en}{scrollbar-width:none}.${en}::-webkit-scrollbar{display:none}`})}},nn=Q.createContext(void 0);function rn(e){let t=Q.useContext(nn);if(t===void 0&&!e)throw Error(l(69));return t}var an=Q.createContext(void 0),on={disableStyleElements:!1};function sn(){return Q.useContext(an)??on}var cn={...q,...z},ln=Q.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,{store:s,popupRef:c,onOpenChangeComplete:l,setOpen:d,valueRef:f,selectedItemTextRef:p,keyboardActiveRef:m,multiple:h,handleScrollArrowVisibility:g,scrollHandlerRef:v,listRef:x,highlightItemOnHover:S}=ut(),{side:C,align:w,alignItemWithTriggerActive:T,isPositioned:E,setControlledAlignItemWithTrigger:D,scrollDownArrowRef:O,scrollUpArrowRef:k}=qt(),A=rn(!0)!=null,j=dt(),M=He(),{nonce:N,disableStyleElements:P}=sn(),I=W(s,$.id),L=W(s,$.open),R=W(s,$.mounted),z=W(s,$.popupProps),ie=W(s,$.transitionStatus),V=W(s,$.triggerElement),H=W(s,$.positionerElement),U=W(s,$.listElement),ae=Q.useRef(!1),oe=Q.useRef(!1),G=Q.useRef({}),K=ne(),q=y(e=>{if(!H||!c.current||!oe.current)return;if(ae.current||!T){g();return}let t=H.style.top===`0px`,n=H.style.bottom===`0px`;if(!t&&!n){g();return}let r=fn(H),i=pn(H.getBoundingClientRect().height,`y`,r),a=te(H),o=getComputedStyle(H),s=parseFloat(o.marginTop),l=parseFloat(o.marginBottom),u=un(getComputedStyle(c.current)),d=Math.min(a.documentElement.clientHeight-s-l,u),f=e.scrollTop,p=dn(e),m=0,h=null,_=!1,v=!1,y=e=>{H.style.height=`${e}px`},b=(t,n)=>{let r=wt(t,0,d-i);r>0&&y(i+r),e.scrollTop=n,d-(i+r)<=1&&(ae.current=!0),g()},x=t?p-f:f,S=Math.min(i+x,d);if(m=S,x<=1){b(x,t?p:0);return}if(d-S>1?t?v=!0:h=0:(_=!0,n&&f1&&(e.scrollTop=n)}(_||m>=d-1)&&(ae.current=!0),g()});Q.useImperativeHandle(v,()=>q,[q]),B({open:L,ref:c,onComplete(){L&&l?.(!0)}});let ce={open:L,transitionStatus:ie,side:C,align:w};b(()=>{!H||!c.current||Object.keys(G.current).length||(G.current={top:H.style.top||`0`,left:H.style.left||`0`,right:H.style.right,height:H.style.height,bottom:H.style.bottom,minHeight:H.style.minHeight,maxHeight:H.style.maxHeight,marginTop:H.style.marginTop,marginBottom:H.style.marginBottom})},[c,H]),b(()=>{L||T||(oe.current=!1,ae.current=!1,Jt(H,G.current))},[L,T,H,c]),b(()=>{let e=c.current;if(!L||!V||!H||!e||T&&!E||s.state.transitionStatus===`ending`)return;if(!T){oe.current=!0,K.request(g),e.style.removeProperty(`--transform-origin`);return}let t=gn(e);e.style.removeProperty(`--transform-origin`);try{let t=p.current,n=f.current,r=getComputedStyle(H),i=getComputedStyle(e),a=te(V),o=_(H),c=fn(V),l=mn(V.getBoundingClientRect(),c),u=mn(H.getBoundingClientRect(),c),d=l.height,m=U||e,h=m.scrollHeight,v=parseFloat(i.borderBottomWidth),y=parseFloat(r.marginTop)||10,b=parseFloat(r.marginBottom)||10,C=parseFloat(r.minHeight)||100,w=un(i),T=a.documentElement.clientHeight-y-b,E=a.documentElement.clientWidth,O=T-l.bottom+d,k,A=M===`rtl`?l.right-u.width:l.left,ee=0;if(t&&n){let e=mn(n.getBoundingClientRect(),c);k=mn(t.getBoundingClientRect(),c),A=u.left+(M===`rtl`?e.right-k.right:e.left-k.left);let r=e.top-l.top+e.height/2;ee=k.top-u.top+k.height/2-r}let j=O+ee+b+v,N=Math.min(T,j),P=T-y-b,F=j-N,I=E-5;H.style.left=`${wt(A,5,I-u.width)}px`,H.style.height=`${N}px`,H.style.maxHeight=`auto`,H.style.marginTop=`${y}px`,H.style.marginBottom=`${b}px`,e.style.height=`100%`;let L=dn(m),ne=F>=L-1;ne&&(N=Math.min(T,u.height)-(F-L));let R=l.top<20||l.bottom>T-20||Math.ceil(N)+1=P?`0`:`${e}px`,H.style.height=`${N}px`,m.scrollTop=dn(m)}else H.style.bottom=`0`,m.scrollTop=F;if(k){let t=u.top,n=u.height,r=k.top+k.height/2,i=wt(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(`--transform-origin`,`50% ${i}%`)}(B===T||N>=w)&&(ae.current=!0),g(),S&&s.state.selectedIndex===null&&s.state.activeIndex===null&&x.current[0]!=null&&s.set(`activeIndex`,0),oe.current=!0}finally{t()}},[s,L,H,V,f,p,c,g,T,D,K,O,k,U,x,S,M,E]),Q.useEffect(()=>{if(!T||!H||!L)return;let e=_(H);function t(e){d(!1,F(ee,e))}return re(e,`resize`,t)},[d,T,H,L]);let J={...U?{role:`presentation`,"aria-orientation":void 0}:{role:`listbox`,"aria-multiselectable":h||void 0,id:`${I}-list`},onKeyDown(e){m.current=!0,A&&X.has(e.key)&&e.stopPropagation()},onMouseMove(){m.current=!1},onScroll(e){U||q(e.currentTarget)},...T&&{style:U?{height:`100%`}:Yt}},le=u(`div`,e,{ref:[t,c],state:ce,stateAttributesMapping:cn,props:[z,J,Ue(ie),{className:!U&&T?tn.className:void 0},o]});return(0,Z.jsxs)(Q.Fragment,{children:[!P&&tn.getElement(N),(0,Z.jsx)(de,{context:j,modal:!1,disabled:!R,returnFocus:a,restoreFocus:!0,children:le})]})});function un(e){let t=e.maxHeight||``;return t.endsWith(`px`)&&parseFloat(t)||1/0}function dn(e){return Tt(e.scrollHeight,e.clientHeight)}function fn(e){return Ke.getScale(e)}function pn(e,t,n){return e/n[t]}function mn(e,t){return ze({x:pn(e.x,`x`,t),y:pn(e.y,`y`,t),width:pn(e.width,`x`,t),height:pn(e.height,`y`,t)})}var hn=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function gn(e){let{style:t}=e,n={};for(let[e,r]of hn)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of hn){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var _n=Q.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,{store:o,scrollHandlerRef:s}=ut(),{alignItemWithTriggerActive:c}=qt(),l=W(o,$.hasScrollArrows),d=W(o,$.openMethod),f=W(o,$.multiple),p={id:`${W(o,$.id)}-list`,role:`listbox`,"aria-multiselectable":f||void 0,onScroll(e){s.current?.(e.currentTarget)},...c&&{style:Yt},className:l&&d!==`touch`?tn.className:void 0};return u(`div`,e,{ref:[t,y(e=>{o.set(`listElement`,e)})],props:[p,a]})}),vn=function(e){return e[e.None=0]=`None`,e[e.GuessFromOrder=1]=`GuessFromOrder`,e}({});function yn(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,elementsRef:l,labelsRef:u,nextIndexRef:d}=Vt(),f=Q.useRef(-1),[p,m]=Q.useState(a??(i===vn.GuessFromOrder?()=>{if(f.current===-1){let e=d.current;d.current+=1,f.current=e}return f.current}:-1)),h=Q.useRef(null),g=Q.useCallback(e=>{if(h.current=e,p!==-1&&e!==null&&(l.current[p]=e,u)){let n=t!==void 0;u.current[p]=n?t:r?.current?.textContent??e.textContent}},[p,l,u,t,r]);return b(()=>{if(a!=null)return;let e=h.current;if(e)return o(e,n),()=>{s(e)}},[a,o,s,n]),b(()=>{if(a==null)return c(e=>{let t=h.current?e.get(h.current)?.index:null;t!=null&&m(t)})},[a,c,m]),Q.useMemo(()=>({ref:g,index:p}),[p,g])}var bn=Q.createContext(void 0);function xn(){let e=Q.useContext(bn);if(!e)throw Error(l(57));return e}var Sn=Q.memo(Q.forwardRef(function(e,t){let{render:n,className:r,value:i=null,label:a,disabled:o=!1,nativeButton:s=!1,style:c,...l}=e,d=Q.useRef(null),f=yn({label:a,textRef:d,indexGuessBehavior:vn.GuessFromOrder}),{store:p,getItemProps:m,setOpen:h,setValue:g,selectionRef:_,typingRef:v,valuesRef:y,multiple:S,selectedItemTextRef:C}=ut(),w=W(p,$.isActive,f.index),T=W(p,$.isSelected,f.index,i),E=W(p,$.isSelectedByFocus,f.index),D=W(p,$.isItemEqualToValue),O=f.index,A=O!==-1,ee=Q.useRef(null),j=xe(O);b(()=>{if(!A)return;let e=y.current;return e[O]=i,()=>{delete e[O]}},[A,O,i,y]),b(()=>{if(!A)return;let e=p.state.value,t=e;S&&Array.isArray(e)&&e.length>0&&(t=e[e.length-1]),t!==void 0&&pt(i,t,D)&&(p.set(`selectedIndex`,O),d.current&&(C.current=d.current))},[A,O,S,D,p,i,C]);let M={disabled:o,selected:T,highlighted:w},N=m({active:w,selected:T});N.id=void 0;let P=Q.useRef(null),I=Q.useRef(`mouse`),L=Q.useRef(!1),{getButtonProps:te,buttonRef:ne}=x({disabled:o,focusableWhenDisabled:!0,native:s,composite:!0});function R(e){let t=p.state.value;if(S){let n=Array.isArray(t)?t:[];g(T?gt(n,i,D):[...n,i],F(k,e))}else g(i,F(k,e)),h(!1,F(k,e))}let z={role:`option`,"aria-selected":T,tabIndex:w?0:-1,onTouchStart(){_.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}},onKeyDown(e){P.current=e.key,p.set(`activeIndex`,O),e.key===` `&&v.current&&e.preventDefault()},onClick(e){L.current=!1,!(e.type===`keydown`&&P.current===null)&&(o||e.type===`keydown`&&P.current===` `&&v.current||I.current!==`touch`&&!w||(P.current=null,R(e.nativeEvent)))},onPointerEnter(e){I.current=e.pointerType},onPointerDown(e){I.current=e.pointerType,L.current=!0},onMouseUp(){if(o)return;if(L.current){L.current=!1;return}let e=!_.current.allowSelectedMouseUp&&T,t=!_.current.allowUnselectedMouseUp&&!T;e||t||I.current!==`touch`&&!w||ee.current?.click()}},B=u(`div`,e,{ref:[ne,t,f.ref,ee],state:M,props:[N,z,l,te]}),re=Q.useMemo(()=>({selected:T,indexRef:j,textRef:d,selectedByFocus:E,hasRegistered:A}),[T,j,d,E,A]);return(0,Z.jsx)(bn.Provider,{value:re,children:B})})),Cn=Q.forwardRef(function(e,t){let n=e.keepMounted??!1,{selected:r}=xn();return n||r?(0,Z.jsx)(wn,{...e,ref:t}):null}),wn=Q.memo(Q.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=xn(),c=Q.useRef(null),{transitionStatus:l,setMounted:d}=R(s),f=u(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:z});return B({open:s,ref:c,onComplete(){s||d(!1)}}),f})),Tn=Q.memo(Q.forwardRef(function(e,t){let{indexRef:n,textRef:r,selectedByFocus:i,hasRegistered:a}=xn(),{selectedItemTextRef:o}=ut(),{className:s,render:c,style:l,...d}=e;return u(`div`,e,{ref:[Q.useCallback(e=>{if(!e||!a)return;let t=o.current===null||!o.current.isConnected;(i||t&&n.current===0)&&(o.current=e)},[o,n,i,a]),t,r],props:d})})),En=Q.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o=!1,...s}=e,c=a===`up`,{store:l,popupRef:d,listRef:f,handleScrollArrowVisibility:p,scrollArrowsMountedCountRef:m}=ut(),{side:h,scrollDownArrowRef:g,scrollUpArrowRef:_}=qt(),v=W(l,c?$.scrollUpArrowVisible:$.scrollDownArrowVisible),y=W(l,$.openMethod),x=v&&y!==`touch`,S=Se(),C=c?_:g,{transitionStatus:w,setMounted:T}=R(x);b(()=>(m.current+=1,l.state.hasScrollArrows||l.set(`hasScrollArrows`,!0),()=>{m.current=Math.max(0,m.current-1),m.current===0&&l.state.hasScrollArrows&&l.set(`hasScrollArrows`,!1)}),[l,m]),B({open:x,ref:C,onComplete(){x||T(!1)}});let E=u(`div`,e,{ref:[t,C],state:{direction:a,visible:x,side:h,transitionStatus:w},props:[{"aria-hidden":!0,children:c?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||S.isStarted())return;l.set(`activeIndex`,null);function t(){let e=l.state.listElement??d.current;if(!e)return;l.set(`activeIndex`,null),p();let n=Tt(e.scrollHeight,e.clientHeight),r=Et(e.scrollTop,n),i=r===(c?0:n),a=f.current;if(r!==e.scrollTop&&(e.scrollTop=r),a.length===0&&l.set(c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,!i),i){S.clear();return}if(a.length>0){let t=C.current?.offsetHeight||0;e.scrollTop=Dn(a,c,r,e.clientHeight,t,n)}S.start(40,t)}S.start(40,t)},onMouseLeave(){S.clear()}},s]});return x||o?E:null});function Dn(e,t,n,r,i,a){if(t){let t=0,r=n+i-1;for(let n=0;n=r){t=n;break}}let o=Math.max(0,t-1),s=e[o];return os){o=Math.max(0,t-1);break}}let c=Math.min(e.length-1,o+1),l=e[c];return c>o&&l?Et(l.offsetTop+l.offsetHeight-r+i,a):a}var On=Q.forwardRef(function(e,t){return(0,Z.jsx)(En,{...e,ref:t,direction:`down`})}),kn=Q.forwardRef(function(e,t){return(0,Z.jsx)(En,{...e,ref:t,direction:`up`})}),An=r(),jn=Dt;function Mn(e){let t=(0,An.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`flex flex-1 text-left`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(It,{className:i,"data-slot":`select-value`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Nn(e){let t=(0,An.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,size:o,id:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`default`:o,c;t[6]===r?c=t[7]:(c=p(`flex w-fit items-center justify-between gap-1.5 rounded-md border border-input bg-input/20 px-2 py-1.5 text-xs/relaxed whitespace-nowrap transition-colors outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,r),t[6]=r,t[7]=c);let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(Lt,{render:(0,Z.jsx)(g,{className:`pointer-events-none size-3.5 text-muted-foreground`})}),t[8]=l):l=t[8];let u;return t[9]!==n||t[10]!==i||t[11]!==a||t[12]!==s||t[13]!==c?(u=(0,Z.jsxs)(Pt,{className:c,"data-size":s,"data-slot":`select-trigger`,id:i,...a,children:[n,l]}),t[9]=n,t[10]=i,t[11]=a,t[12]=s,t[13]=c,t[14]=u):u=t[14],u}function Pn(e){let t=(0,An.c)(26),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:r,children:n,side:a,sideOffset:o,align:s,alignOffset:c,alignItemWithTrigger:l,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=a===void 0?`bottom`:a,d=o===void 0?4:o,f=s===void 0?`center`:s,m=c===void 0?0:c,h=l===void 0?!0:l,g;t[9]===r?g=t[10]:(g=p(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-closed:animate-out data-open:animate-in relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100`,r),t[9]=r,t[10]=g);let _;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Z.jsx)(In,{}),t[11]=_):_=t[11];let v;t[12]===n?v=t[13]:(v=(0,Z.jsx)(_n,{children:n}),t[12]=n,t[13]=v);let y;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(Ln,{}),t[14]=y):y=t[14];let b;t[15]!==i||t[16]!==g||t[17]!==v?(b=(0,Z.jsxs)(ln,{className:g,"data-slot":`select-content`,...i,children:[_,v,y]}),t[15]=i,t[16]=g,t[17]=v,t[18]=b):b=t[18];let x;return t[19]!==f||t[20]!==h||t[21]!==m||t[22]!==u||t[23]!==d||t[24]!==b?(x=(0,Z.jsx)(zt,{children:(0,Z.jsx)($t,{align:f,alignItemWithTrigger:h,alignOffset:m,className:`isolate z-50`,side:u,sideOffset:d,children:b})}),t[19]=f,t[20]=h,t[21]=m,t[22]=u,t[23]=d,t[24]=b,t[25]=x):x=t[25],x}function Fn(e){let t=(0,An.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=p(`relative flex min-h-7 w-full cursor-default items-center gap-2 rounded-md px-2 py-1 text-xs/relaxed outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===n?o=t[7]:(o=(0,Z.jsx)(Tn,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:n}),t[6]=n,t[7]=o);let s;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(Cn,{render:(0,Z.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`}),children:(0,Z.jsx)(h,{className:`pointer-events-none`})}),t[8]=s):s=t[8];let c;return t[9]!==i||t[10]!==a||t[11]!==o?(c=(0,Z.jsxs)(Sn,{className:a,"data-slot":`select-item`,...i,children:[o,s]}),t[9]=i,t[10]=a,t[11]=o,t[12]=c):c=t[12],c}function In(e){let t=(0,An.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-3.5`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Je,{}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(kn,{className:i,"data-slot":`select-scroll-up-button`,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function Ln(e){let t=(0,An.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-3.5`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(g,{}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(On,{className:i,"data-slot":`select-scroll-down-button`,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{Mn as a,Nn as i,Pn as n,yn as o,Fn as r,Ht as s,jn as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/separator.js b/spinifex/services/spinifexui/frontend/dist/assets/separator.js index 490c8fcfe..cca6aabbe 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/separator.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/separator.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{hn as i}from"./awsClient.js";import{l as a,m as o,n as s,p as c,u as l}from"./dist.js";import{I as u}from"./SignatureV4.js";import{c as d,o as f,y as p}from"./button.js";import{V as m}from"./createBaseUIEventDetails.js";var h=e(n()),g=e(i()),_=function(e){return e.disabled=`data-disabled`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({}),v={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},y={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},b={disabled:!1,...y},x={valid(e){return e===null?null:e?{[_.valid]:``}:{[_.invalid]:``}}},S=h.createContext({invalid:void 0,name:void 0,validityData:{state:v,errors:[],error:``,value:``,initialValue:null},setValidityData:l,disabled:void 0,touched:y.touched,setTouched:l,dirty:y.dirty,setDirty:l,filled:y.filled,setFilled:l,focused:y.focused,setFocused:l,validate:()=>null,validationMode:`onSubmit`,validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:b,markedDirtyRef:{current:!1},validation:{getValidationProps:(e=a)=>e,getInputValidationProps:(e=a)=>e,inputRef:{current:null},commit:async()=>{}}});function C(e=!0){let t=h.useContext(S);if(t.setValidityData===l&&!e)throw Error(o(28));return t}var w=h.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:l,validationMode:`onSubmit`,submitAttemptedRef:{current:!1}});function T(){return h.useContext(w)}var E=h.createContext({controlId:void 0,registerControlId:l,labelId:void 0,setLabelId:l,messageIds:[],setMessageIds:l,getDescriptionProps:e=>e});function D(){return h.useContext(E)}function O(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}function k({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=h.useRef(e!==void 0),[a,o]=h.useState(t);return[i?e:a,h.useCallback(e=>{i||o(e)},[])]}function A(e={}){let{id:t,implicit:n=!1,controlRef:r}=e,{controlId:i,registerControlId:a}=D(),o=m(t),s=n?i:void 0,u=c(()=>Symbol(`labelable-control`)),g=h.useRef(!1),_=h.useRef(t!=null),v=d(()=>{!g.current||a===l||(g.current=!1,a(u.current,void 0))});return f(()=>{if(a===l)return;let e;if(n){let n=r?.current;e=p(n)&&n.closest(`label`)!=null?t??null:s??o}else if(t!=null)_.current=!0,e=t;else if(_.current)e=o;else{v();return}if(e===void 0){v();return}g.current=!0,a(u.current,e)},[t,r,s,a,n,o,u,v]),h.useEffect(()=>v,[v]),i??o}function j(e){let{enabled:t=!0,value:n,id:r,name:i,controlRef:a,commit:o}=e,{formRef:s}=T(),{invalid:c,markedDirtyRef:l,validityData:u,setValidityData:p}=C(),m=d(e.getValue);f(()=>{if(!t)return;let e=n;e===void 0&&(e=m()),u.initialValue===null&&e!==null&&p(t=>({...t,initialValue:e}))},[t,p,n,u.initialValue,m]),f(()=>{!t||!r||s.current.fields.set(r,{getValue:m,name:i,controlRef:a,validityData:O(u,c),validate(e=!0){let t=n;t===void 0&&(t=m()),l.current=!0,e?g.flushSync(()=>o(t)):o(t)}})},[o,a,t,s,m,r,c,l,i,u,n]),f(()=>{let e=s.current.fields;return()=>{r&&e.delete(r)}},[s,r])}var M=h.forwardRef(function(e,t){let{className:n,render:r,orientation:i=`horizontal`,...a}=e;return s(`div`,e,{state:{orientation:i},ref:t,props:[{role:`separator`,"aria-orientation":i},a]})}),N=r(),P=t();function F(e){let t=(0,N.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=u(`shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,P.jsx)(M,{className:o,"data-slot":`separator`,orientation:a,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}export{D as a,x as c,k as i,j as n,T as o,A as r,C as s,F as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{l as i,m as a,n as o,p as s,u as c}from"./dist.js";import{I as l}from"./SignatureV4.js";import{c as u,o as d,y as f}from"./button.js";import{b as p}from"./createBaseUIEventDetails.js";var m=e(n()),h=function(e){return e.disabled=`data-disabled`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({}),g={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},_={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},v={disabled:!1,..._},y={valid(e){return e===null?null:e?{[h.valid]:``}:{[h.invalid]:``}}},b=m.createContext({invalid:void 0,name:void 0,validityData:{state:g,errors:[],error:``,value:``,initialValue:null},setValidityData:c,disabled:void 0,touched:_.touched,setTouched:c,dirty:_.dirty,setDirty:c,filled:_.filled,setFilled:c,focused:_.focused,setFocused:c,validate:()=>null,validationMode:`onSubmit`,validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:v,markedDirtyRef:{current:!1},registerFieldControl:c,validation:{getValidationProps:(e=i)=>e,getInputValidationProps:(e=i)=>e,inputRef:{current:null},commit:async()=>{}}});function x(e=!0){let t=m.useContext(b);if(t.setValidityData===c&&!e)throw Error(a(28));return t}var S=m.createContext({controlId:void 0,registerControlId:c,labelId:void 0,setLabelId:c,messageIds:[],setMessageIds:c,getDescriptionProps:e=>e});function C(){return m.useContext(S)}function w({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=m.useRef(e!==void 0),[a,o]=m.useState(t);return[i?e:a,m.useCallback(e=>{i||o(e)},[])]}function T(e,t){let{enabled:n=!0,getValue:r,id:i,value:a}=t,{registerFieldControl:o}=x(),s=m.useRef(null);s.current||=Symbol(),d(()=>{let t=s.current;if(!(!t||!n))return o(t,{controlRef:e,getValue:r,id:i,value:a}),()=>{o(t,void 0)}},[e,n,r,i,o,a])}function E(e={}){let{id:t,implicit:n=!1,controlRef:r}=e,{controlId:i,registerControlId:a}=C(),o=p(t),l=n?i:void 0,h=s(()=>Symbol(`labelable-control`)),g=m.useRef(!1),_=m.useRef(t!=null),v=u(()=>{!g.current||a===c||(g.current=!1,a(h.current,void 0))});return d(()=>{if(a===c)return;let e;if(n){let n=r?.current;e=f(n)&&n.closest(`label`)!=null?t??null:l??o}else if(t!=null)_.current=!0,e=t;else if(_.current)e=o;else{v();return}if(e===void 0){v();return}g.current=!0,a(h.current,e)},[t,r,l,a,n,o,h,v]),m.useEffect(()=>v,[v]),i??o}var D=m.forwardRef(function(e,t){let{className:n,render:r,orientation:i=`horizontal`,style:a,...s}=e;return o(`div`,e,{state:{orientation:i},ref:t,props:[{role:`separator`,"aria-orientation":i},s]})}),O=r(),k=t();function A(e){let t=(0,O.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=l(`shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,k.jsx)(D,{className:o,"data-slot":`separator`,orientation:a,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}export{C as a,w as i,E as n,x as o,T as r,y as s,A as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/tabs.js b/spinifex/services/spinifexui/frontend/dist/assets/tabs.js index fe3c651bd..32237799e 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/tabs.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/tabs.js @@ -1 +1 @@ -import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{c as i,f as a,l as o,m as s,n as c}from"./dist.js";import{I as l}from"./SignatureV4.js";import{a as u,i as d,n as f,o as p,r as m,s as h,t as g}from"./select.js";import{a as _,c as v,i as y,o as b,r as x,t as S}from"./button.js";import{i as C}from"./separator.js";import{B as w,V as T,_ as E,g as D,t as O,u as k}from"./createBaseUIEventDetails.js";import{a as A,i as j,n as M,t as N}from"./useTransitionStatus.js";import{J as P,K as F,Q as I,X as L,Y as R,Z as z,_ as ee,a as te,b as B,c as ne,d as V,et as re,g as ie,h as ae,l as H,m as oe,o as se,q as ce,s as U,tt as W,u as G,v as le,y as K}from"./useOpenInteractionType.js";import{t as q}from"./input.js";import{i as ue}from"./getDisabledMountTransitionStyles.js";import{i as de,n as fe,t as pe}from"./field.js";var J=r(),Y=e(n(),1),X=t();function me(e,t){let n=new Map;for(let e of t)e.Key!==void 0&&n.set(e.Key,e.Value??``);let r={};for(let t of e)r[t.key]=n.get(t.key)??``;return r}function he(e,t){if(e.type===`int`){if(t.trim()===``)return`Value is required`;if(!/^-?\d+$/.test(t))return`Must be a whole number`;let n=Number(t);if(e.min!==void 0&&ne.max)return`Must be at most ${e.max}`}}function ge(e){let t=(0,J.c)(56),{specs:n,attributes:r,onSubmit:i,isPending:a,error:o,isSuccess:s}=e,c;t[0]!==r||t[1]!==n?(c=me(n,r),t[0]=r,t[1]=n,t[2]=c):c=t[2];let l=c,[p,m]=(0,Y.useState)(l),h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(e,t)=>{m(n=>({...n,[e]:t}))},t[3]=h):h=t[3];let _=h,v;if(t[4]!==n||t[5]!==p){v={};for(let e of n)v[e.key]=he(e,p[e.key]??``);t[4]=n,t[5]=p,t[6]=v}else v=t[6];let y=Object.values(v).some(Boolean),b;if(t[7]!==l||t[8]!==n||t[9]!==p){let e;t[11]!==l||t[12]!==p?(e=e=>(p[e.key]??``)!==(l[e.key]??``),t[11]=l,t[12]=p,t[13]=e):e=t[13];let r;t[14]===p?r=t[15]:(r=e=>({key:e.key,value:p[e.key]??``}),t[14]=p,t[15]=r),b=n.filter(e).map(r),t[7]=l,t[8]=n,t[9]=p,t[10]=b}else b=t[10];let x=b,C;t[16]===l?C=t[17]:(C=()=>{m(l)},t[16]=l,t[17]=C);let w=C,T;t[18]!==x||t[19]!==y||t[20]!==i?(T=e=>{e.preventDefault(),!(y||x.length===0)&&i(x)},t[18]=x,t[19]=y,t[20]=i,t[21]=T):T=t[21];let E;t[22]===o?E=t[23]:(E=o&&(0,X.jsx)(`div`,{className:`mb-4 rounded-md border border-destructive bg-destructive/10 p-3 text-sm text-destructive`,role:`alert`,children:o.message||`Failed to save attributes`}),t[22]=o,t[23]=E);let D;t[24]!==x.length||t[25]!==s?(D=s&&x.length===0&&(0,X.jsx)(`div`,{className:`mb-4 rounded-md border border-emerald-500 bg-emerald-500/10 p-3 text-sm text-emerald-700 dark:text-emerald-400`,role:`status`,children:`Attributes saved.`}),t[24]=x.length,t[25]=s,t[26]=D):D=t[26];let O;if(t[27]!==v||t[28]!==n||t[29]!==p){let e;t[31]!==v||t[32]!==p?(e=e=>{let t=`attr-${e.key}`,n=p[e.key]??``,r=v[e.key];return(0,X.jsxs)(pe,{children:[(0,X.jsx)(de,{children:(0,X.jsx)(`label`,{htmlFor:t,children:e.label})}),e.type===`bool`&&(0,X.jsx)(`input`,{checked:n===`true`,id:t,onChange:t=>_(e.key,t.target.checked?`true`:`false`),type:`checkbox`}),e.type===`int`&&(0,X.jsx)(q,{"aria-invalid":!!r,id:t,inputMode:`numeric`,onChange:t=>_(e.key,t.target.value),value:n}),e.type===`text`&&(0,X.jsx)(q,{id:t,onChange:t=>_(e.key,t.target.value),placeholder:e.placeholder,value:n}),e.type===`select`&&(0,X.jsxs)(g,{onValueChange:t=>_(e.key,t??``),value:n,children:[(0,X.jsx)(d,{className:`w-full`,id:t,children:(0,X.jsx)(u,{})}),(0,X.jsx)(f,{children:e.options.map(_e)})]}),e.description&&(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.description}),(0,X.jsx)(fe,{errors:[r?{message:r}:void 0]})]},e.key)},t[31]=v,t[32]=p,t[33]=e):e=t[33],O=n.map(e),t[27]=v,t[28]=n,t[29]=p,t[30]=O}else O=t[30];let k;t[34]===O?k=t[35]:(k=(0,X.jsx)(`div`,{className:`grid gap-4 p-4 sm:grid-cols-2`,children:O}),t[34]=O,t[35]=k);let A=x.length===0?`No changes`:`${x.length} change${x.length===1?``:`s`} pending`,j;t[36]===A?j=t[37]:(j=(0,X.jsx)(`span`,{className:`mr-auto text-xs text-muted-foreground`,children:A}),t[36]=A,t[37]=j);let M=a||x.length===0,N;t[38]!==w||t[39]!==M?(N=(0,X.jsx)(S,{disabled:M,onClick:w,size:`sm`,type:`button`,variant:`secondary`,children:`Reset`}),t[38]=w,t[39]=M,t[40]=N):N=t[40];let P=a||y||x.length===0,F=a?`Saving…`:`Save changes`,I;t[41]!==P||t[42]!==F?(I=(0,X.jsx)(S,{disabled:P,size:`sm`,type:`submit`,children:F}),t[41]=P,t[42]=F,t[43]=I):I=t[43];let L;t[44]!==j||t[45]!==N||t[46]!==I?(L=(0,X.jsxs)(`div`,{className:`flex items-center justify-end gap-2 border-t p-4`,children:[j,N,I]}),t[44]=j,t[45]=N,t[46]=I,t[47]=L):L=t[47];let R;t[48]!==L||t[49]!==k?(R=(0,X.jsxs)(`div`,{className:`rounded-lg border bg-card`,children:[k,L]}),t[48]=L,t[49]=k,t[50]=R):R=t[50];let z;return t[51]!==R||t[52]!==T||t[53]!==E||t[54]!==D?(z=(0,X.jsxs)(`form`,{onSubmit:T,children:[E,D,R]}),t[51]=R,t[52]=T,t[53]=E,t[54]=D,t[55]=z):z=t[55],z}function _e(e){return(0,X.jsx)(m,{value:e,children:e},e)}var ve=[{key:`deletion_protection.enabled`,label:`Deletion protection`,type:`bool`},{key:`load_balancing.cross_zone.enabled`,label:`Cross-zone load balancing`,type:`bool`},{key:`idle_timeout.timeout_seconds`,label:`Idle timeout (s)`,type:`int`,min:1,max:4e3},{key:`client_keep_alive.seconds`,label:`Client keep-alive (s)`,type:`int`,min:60,max:604800},{key:`routing.http2.enabled`,label:`HTTP/2`,type:`bool`},{key:`routing.http.drop_invalid_header_fields.enabled`,label:`Drop invalid header fields`,type:`bool`},{key:`routing.http.preserve_host_header.enabled`,label:`Preserve host header`,type:`bool`},{key:`routing.http.xff_client_port.enabled`,label:`XFF client port`,type:`bool`},{key:`routing.http.xff_header_processing.mode`,label:`XFF header processing`,type:`select`,options:[`append`,`preserve`,`remove`]},{key:`routing.http.desync_mitigation_mode`,label:`Desync mitigation mode`,type:`select`,options:[`defensive`,`strictest`,`monitor`]},{key:`routing.http.x_amzn_tls_version_and_cipher_suite.enabled`,label:`Add TLS version & cipher headers`,type:`bool`},{key:`waf.fail_open.enabled`,label:`WAF fail open`,type:`bool`},{key:`zonal_shift.config.enabled`,label:`Zonal shift`,type:`bool`},{key:`access_logs.s3.enabled`,label:`Access logs: enabled`,type:`bool`},{key:`access_logs.s3.bucket`,label:`Access logs: S3 bucket`,type:`text`},{key:`access_logs.s3.prefix`,label:`Access logs: S3 prefix`,type:`text`},{key:`connection_logs.s3.enabled`,label:`Connection logs: enabled`,type:`bool`},{key:`connection_logs.s3.bucket`,label:`Connection logs: S3 bucket`,type:`text`},{key:`connection_logs.s3.prefix`,label:`Connection logs: S3 prefix`,type:`text`}],ye=[{key:`deregistration_delay.timeout_seconds`,label:`Deregistration delay (s)`,type:`int`,min:0,max:3600},{key:`stickiness.enabled`,label:`Stickiness`,type:`bool`},{key:`stickiness.type`,label:`Stickiness type`,type:`select`,options:[`lb_cookie`,`source_ip`]},{key:`stickiness.lb_cookie.duration_seconds`,label:`Stickiness lb_cookie duration (s)`,type:`int`,min:1,max:604800},{key:`load_balancing.cross_zone.enabled`,label:`Cross-zone load balancing`,type:`select`,options:[`true`,`false`,`use_load_balancer_configuration`]},{key:`load_balancing.algorithm.type`,label:`Load balancing algorithm`,type:`select`,options:[`round_robin`,`least_outstanding_requests`]},{key:`slow_start.duration_seconds`,label:`Slow start duration (s)`,type:`int`,min:0,max:900}],be=Y.createContext(void 0);function Z(){let e=Y.useContext(be);if(e===void 0)throw Error(s(64));return e}var xe=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),Q={tabActivationDirection:e=>({[xe.activationDirection]:e})},Se=Y.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,...l}=e,u=ue(),d=Object.hasOwn(e,`defaultValue`),f=Y.useRef([]),[p,m]=Y.useState(()=>new Map),[g,_]=C({controlled:s,default:r,name:`Tabs`,state:`value`}),y=s!==void 0,[x,S]=Y.useState(()=>new Map),[w,T]=Y.useState(`none`),E=v((e,t)=>{i?.(e,t),!t.isCanceled&&(_(e),T(t.activationDirection))}),D=v((e,t)=>{m(n=>{if(n.get(e)===t)return n;let r=new Map(n);return r.set(e,t),r})}),O=v((e,t)=>{m(n=>{if(!n.has(e)||n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})}),k=Y.useCallback(e=>p.get(e),[p]),A=Y.useCallback(e=>{for(let t of x.values())if(e===t?.value)return t?.id},[x]),j=Y.useCallback(e=>{if(e===void 0)return null;for(let[t,n]of x.entries())if(n!=null&&e===(n.value??n.index))return t;return null},[x]),M=Y.useMemo(()=>({direction:u,getTabElementBySelectedValue:j,getTabIdByPanelValue:A,getTabPanelIdByValue:k,onValueChange:E,orientation:a,registerMountedTabPanel:D,setTabMap:S,unregisterMountedTabPanel:O,tabActivationDirection:w,value:g}),[u,j,A,k,E,a,D,S,O,w,g]),N=Y.useMemo(()=>{for(let e of x.values())if(e!=null&&e.value===g)return e},[x,g]),P=Y.useMemo(()=>{for(let e of x.values())if(e!=null&&!e.disabled)return e.value},[x]);b(()=>{if(y||x.size===0)return;let e=N?.disabled;if(d&&e&&g===r||!e&&!(N==null&&g!==null))return;let t=P??null;g!==t&&(_(t),T(`none`))},[r,P,d,y,N,T,_,x,g]);let F=c(`div`,e,{state:{orientation:a,tabActivationDirection:w},ref:t,props:l,stateAttributesMapping:Q});return(0,X.jsx)(be.Provider,{value:M,children:(0,X.jsx)(h,{elementsRef:f,children:F})})}),Ce=`data-composite-item-active`;function we(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=_(),{ref:i,index:o}=p(e),s=n===o,c=Y.useRef(null),l=a(i,c);return{compositeProps:Y.useMemo(()=>({tabIndex:s?0:-1,onFocus(){r(o)},onMouseMove(){let e=c.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!s&&!n&&e.focus()}}),[s,r,o,t]),compositeRef:l,index:o}}var Te=Y.createContext(void 0);function Ee(){let e=Y.useContext(Te);if(e===void 0)throw Error(s(65));return e}var De=Y.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,...l}=e,{value:u,getTabPanelIdByValue:d,orientation:f}=Z(),{activateOnFocus:p,highlightedTabIndex:m,onTabActivation:h,registerTabResizeObserverElement:g,setHighlightedTabIndex:_,tabsListElement:v}=Ee(),y=T(o),{compositeProps:S,compositeRef:C,index:A}=we({metadata:Y.useMemo(()=>({disabled:r,id:y,value:a}),[r,y,a])}),j=a===u,M=Y.useRef(!1),N=Y.useRef(null);Y.useEffect(()=>{let e=N.current;if(e)return g(e)},[g]),b(()=>{if(M.current){M.current=!1;return}if(!(j&&A>-1&&m!==A))return;let e=v;if(e!=null){let t=D(w(e));if(t&&E(e,t))return}r||_(A)},[j,A,m,_,r,v]);let{getButtonProps:P,buttonRef:F}=x({disabled:r,native:s,focusableWhenDisabled:!0}),I=d(a),L=Y.useRef(!1),R=Y.useRef(!1);function z(e){j||r||h(a,O(k,e.nativeEvent,void 0,{activationDirection:`none`}))}function ee(e){j||(A>-1&&!r&&_(A),!r&&p&&(!L.current||L.current&&R.current)&&h(a,O(k,e.nativeEvent,void 0,{activationDirection:`none`})))}function te(e){if(j||r)return;L.current=!0;function t(){L.current=!1,R.current=!1}(!e.button||e.button===0)&&(R.current=!0,w(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return c(`button`,e,{state:{disabled:r,active:j,orientation:f},ref:[t,F,C,N],props:[S,{role:`tab`,"aria-controls":I,"aria-selected":j,id:y,onClick:z,onFocus:ee,onPointerDown:te,[Ce]:j?``:void 0,onKeyDownCapture(){M.current=!0}},l,P]})}),Oe=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e[e.startingStyle=j.startingStyle]=`startingStyle`,e[e.endingStyle=j.endingStyle]=`endingStyle`,e}({}),ke={...Q,...A},Ae=Y.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,...o}=e,{value:s,getTabIdByPanelValue:l,orientation:u,tabActivationDirection:d,registerMountedTabPanel:f,unregisterMountedTabPanel:m}=Z(),h=T(),{ref:g,index:_}=p({metadata:Y.useMemo(()=>({id:h,value:r}),[h,r])}),v=r===s,{mounted:y,transitionStatus:x,setMounted:S}=N(v),C=!y,w=l(r),E={hidden:C,orientation:u,tabActivationDirection:d,transitionStatus:x},D=Y.useRef(null),O=c(`div`,e,{state:E,ref:[t,g,D],props:[{"aria-labelledby":w,hidden:C,id:h,role:`tabpanel`,tabIndex:v?0:-1,inert:te(!v),[Oe.index]:_},o],stateAttributesMapping:ke});return M({open:v,ref:D,onComplete(){v||S(!1)}}),b(()=>{if(!(C&&!a)&&h!=null)return f(r,h),()=>{m(r,h)}},[C,a,r,h,f,m]),a||y?O:null});function je(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var Me=[];function Ne(e){let{itemSizes:t,cols:n=1,loopFocus:r=!0,dense:i=!1,orientation:o=`both`,direction:s,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:u,enableHomeAndEndKeys:d=!1,stopEventPropagation:f=!1,disabledIndices:p,modifierKeys:m=Me}=e,[h,g]=Y.useState(0),_=n>1,y=Y.useRef(null),b=a(y,u),x=Y.useRef([]),S=Y.useRef(!1),C=c??h,w=v((e,t=!1)=>{if((l??g)(e),t){let t=x.current[e];B(y.current,t,s,o)}}),T=v(e=>{if(e.size===0||S.current)return;S.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,r=n?t.indexOf(n):-1;r!==-1&&w(r),B(y.current,n,s,o)}),E=Y.useMemo(()=>({"aria-orientation":o===`both`?void 0:o,ref:b,onFocus(e){!y.current||!K(e.target)||e.target.setSelectionRange(0,e.target.value.length??0)},onKeyDown(e){let a=d?se:ne;if(!a.has(e.key)||Pe(e,m)||!y.current)return;let c=s===`rtl`,l=c?H:G,u={horizontal:l,vertical:U,both:l}[o],h=c?G:H,g={horizontal:h,vertical:V,both:h}[o];if(K(e.target)&&!je(e.target)){let t=e.target.selectionStart,n=e.target.selectionEnd,r=e.target.value??``;if(t==null||e.shiftKey||t!==n||e.key!==g&&t0)return}let v=C,b=I(x,p),S=z(x,p);if(_){let a=t||Array.from({length:x.current.length},()=>({width:1,height:1})),s=F(a,n,i),l=s.findIndex(e=>e!=null&&!W(x,e,p)),u=s.reduce((e,t,n)=>t!=null&&!W(x,t,p)?n:e,-1);v=s[L({current:s.map(e=>e?x.current[e]:null)},{event:e,orientation:o,loopFocus:r,cols:n,disabledIndices:R([...p||x.current.map((e,t)=>W(x,t)?t:void 0),void 0],s),minIndex:l,maxIndex:u,prevIndex:P(C>S?b:C,a,s,n,e.key===`ArrowDown`?`bl`:e.key===`ArrowRight`?`tr`:`tl`),rtl:c})]}let T={horizontal:[l],vertical:[U],both:[l,U]}[o],E={horizontal:[h],vertical:[V],both:[h,V]}[o],D=_?a:{horizontal:d?ae:oe,vertical:d?le:ee,both:a}[o];d&&(e.key===`Home`?v=b:e.key===`End`&&(v=S)),v===C&&(T.includes(e.key)||E.includes(e.key))&&(v=r&&v===S&&T.includes(e.key)?b:r&&v===b&&E.includes(e.key)?S:ce(x,{startingIndex:v,decrement:E.includes(e.key),disabledIndices:p})),v!==C&&!re(x,v)&&(f&&e.stopPropagation(),D.has(e.key)&&e.preventDefault(),w(v,!0),queueMicrotask(()=>{x.current[v]?.focus()}))}}),[n,i,s,p,x,d,C,_,t,r,b,m,w,o,f]);return Y.useMemo(()=>({props:E,highlightedIndex:C,onHighlightedIndexChange:w,elementsRef:x,disabledIndices:p,onMapChange:T,relayKeyboardEvent:E.onKeyDown}),[E,C,w,x,p,T])}function Pe(e,t){for(let n of ie.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function Fe(e){let{render:t,className:n,refs:r=i,props:a=i,state:s=o,stateAttributesMapping:l,highlightedIndex:u,onHighlightedIndexChange:d,orientation:f,dense:p,itemSizes:m,loopFocus:g,cols:_,enableHomeAndEndKeys:v,onMapChange:b,stopEventPropagation:x=!0,rootRef:S,disabledIndices:C,modifierKeys:w,highlightItemOnHover:T=!1,tag:E=`div`,...D}=e,{props:O,highlightedIndex:k,onHighlightedIndexChange:A,elementsRef:j,onMapChange:M,relayKeyboardEvent:N}=Ne({itemSizes:m,cols:_,loopFocus:g,dense:p,orientation:f,highlightedIndex:u,onHighlightedIndexChange:d,rootRef:S,stopEventPropagation:x,enableHomeAndEndKeys:v,direction:ue(),disabledIndices:C,modifierKeys:w}),P=c(E,e,{state:s,ref:r,props:[O,...a,D],stateAttributesMapping:l}),F=Y.useMemo(()=>({highlightedIndex:k,onHighlightedIndexChange:A,highlightItemOnHover:T,relayKeyboardEvent:N}),[k,A,T,N]);return(0,X.jsx)(y.Provider,{value:F,children:(0,X.jsx)(h,{elementsRef:j,onMapChange:e=>{b?.(e),M(e)},children:P})})}var Ie=Y.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:a=!0,render:o,...s}=e,{getTabElementBySelectedValue:c,onValueChange:l,orientation:u,value:d,setTabMap:f,tabActivationDirection:p}=Z(),[m,h]=Y.useState(0),[g,_]=Y.useState(null),y=Y.useRef(new Set),b=Y.useRef(new Set),x=Y.useRef(null),S=v(()=>{y.current.forEach(e=>{e()})});Y.useEffect(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{y.current.size&&S()});return x.current=e,g&&e.observe(g),b.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),x.current=null}},[g,S]);let C=v(e=>(y.current.add(e),()=>{y.current.delete(e)})),w=v(e=>(b.current.add(e),x.current?.observe(e),()=>{b.current.delete(e),x.current?.unobserve(e)})),T=Le(d,u,g,c),E=v((e,t)=>{e!==d&&(t.activationDirection=T(e),l(e,t))}),D={orientation:u,tabActivationDirection:p},O={"aria-orientation":u===`vertical`?`vertical`:void 0,role:`tablist`},k=Y.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:m,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:w,onTabActivation:E,setHighlightedTabIndex:h,tabsListElement:g}),[n,m,C,w,E,h,g]);return(0,X.jsx)(Te.Provider,{value:k,children:(0,X.jsx)(Fe,{render:o,className:r,state:D,refs:[t,_],props:[O,s],stateAttributesMapping:Q,highlightedIndex:m,enableHomeAndEndKeys:!0,loopFocus:a,orientation:u,onHighlightedIndexChange:h,onMapChange:f,disabledIndices:i})})});function $(e,t){let{left:n,top:r}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:n-i,top:r-a}}function Le(e,t,n,r){let[i,a]=Y.useState(null);return b(()=>{if(e==null||n==null){a(null);return}let i=r(e);if(i==null){a(null);return}let{left:o,top:s}=$(i,n);a(t===`horizontal`?o:s)},[t,r,n,e]),Y.useCallback(o=>{if(o===e)return`none`;if(o==null)return a(null),`none`;if(o!=null&&n!=null){let e=r(o);if(e!=null){let{left:r,top:o}=$(e,n);if(i==null)return a(t===`horizontal`?r:o),`none`;if(t===`horizontal`){if(ri)return a(r),`right`}else if(oi)return a(o),`down`}}return`none`},[r,t,i,n,e])}function Re(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`flex flex-col gap-4`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Se,{className:i,"data-slot":`tabs`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ze(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`inline-flex items-center gap-1 border-b`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Ie,{className:i,"data-slot":`tabs-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Be(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`inline-flex items-center justify-center border-b-2 border-transparent px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring/30 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-selected:border-primary data-selected:text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(De,{className:i,"data-slot":`tabs-tab`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ve(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`focus-visible:outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Ae,{className:i,"data-slot":`tabs-panel`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{ge as a,Be as i,ze as n,ve as o,Ve as r,ye as s,Re as t}; \ No newline at end of file +import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{c as i,f as a,l as o,m as s,n as c}from"./dist.js";import{I as l}from"./SignatureV4.js";import{a as u,i as d,n as f,o as p,r as m,s as h,t as g}from"./select.js";import{a as _,c as v,i as y,o as b,r as x,t as S}from"./button.js";import{i as C}from"./separator.js";import{_ as w,b as T,g as E,t as D,u as O,v as k,y as A}from"./createBaseUIEventDetails.js";import{a as j,n as M,o as N,r as P}from"./addEventListener.js";import{$ as F,J as I,Q as L,X as R,Y as z,Z as B,_ as V,b as H,c as U,d as W,et as ee,f as G,g as te,h as ne,l as re,nt as ie,o as ae,rt as K,s as oe,u as q,v as se,x as J,y as ce}from"./useOpenInteractionType.js";import{t as le}from"./input.js";import{a as ue}from"./usePositioner.js";import{i as de,n as fe,t as pe}from"./field.js";var Y=r(),X=e(n(),1),Z=t();function me(e,t){let n=new Map;for(let e of t)e.Key!==void 0&&n.set(e.Key,e.Value??``);let r={};for(let t of e)r[t.key]=n.get(t.key)??``;return r}function he(e,t){if(e.type===`int`){if(t.trim()===``)return`Value is required`;if(!/^-?\d+$/.test(t))return`Must be a whole number`;let n=Number(t);if(e.min!==void 0&&ne.max)return`Must be at most ${e.max}`}}function ge(e){let t=(0,Y.c)(56),{specs:n,attributes:r,onSubmit:i,isPending:a,error:o,isSuccess:s}=e,c;t[0]!==r||t[1]!==n?(c=me(n,r),t[0]=r,t[1]=n,t[2]=c):c=t[2];let l=c,[p,m]=(0,X.useState)(l),h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(e,t)=>{m(n=>({...n,[e]:t}))},t[3]=h):h=t[3];let _=h,v;if(t[4]!==n||t[5]!==p){v={};for(let e of n)v[e.key]=he(e,p[e.key]??``);t[4]=n,t[5]=p,t[6]=v}else v=t[6];let y=Object.values(v).some(Boolean),b;if(t[7]!==l||t[8]!==n||t[9]!==p){let e;t[11]!==l||t[12]!==p?(e=e=>(p[e.key]??``)!==(l[e.key]??``),t[11]=l,t[12]=p,t[13]=e):e=t[13];let r;t[14]===p?r=t[15]:(r=e=>({key:e.key,value:p[e.key]??``}),t[14]=p,t[15]=r),b=n.filter(e).map(r),t[7]=l,t[8]=n,t[9]=p,t[10]=b}else b=t[10];let x=b,C;t[16]===l?C=t[17]:(C=()=>{m(l)},t[16]=l,t[17]=C);let w=C,T;t[18]!==x||t[19]!==y||t[20]!==i?(T=e=>{e.preventDefault(),!(y||x.length===0)&&i(x)},t[18]=x,t[19]=y,t[20]=i,t[21]=T):T=t[21];let E;t[22]===o?E=t[23]:(E=o&&(0,Z.jsx)(`div`,{className:`mb-4 rounded-md border border-destructive bg-destructive/10 p-3 text-sm text-destructive`,role:`alert`,children:o.message||`Failed to save attributes`}),t[22]=o,t[23]=E);let D;t[24]!==x.length||t[25]!==s?(D=s&&x.length===0&&(0,Z.jsx)(`div`,{className:`mb-4 rounded-md border border-emerald-500 bg-emerald-500/10 p-3 text-sm text-emerald-700 dark:text-emerald-400`,role:`status`,children:`Attributes saved.`}),t[24]=x.length,t[25]=s,t[26]=D):D=t[26];let O;if(t[27]!==v||t[28]!==n||t[29]!==p){let e;t[31]!==v||t[32]!==p?(e=e=>{let t=`attr-${e.key}`,n=p[e.key]??``,r=v[e.key];return(0,Z.jsxs)(pe,{children:[(0,Z.jsx)(de,{children:(0,Z.jsx)(`label`,{htmlFor:t,children:e.label})}),e.type===`bool`&&(0,Z.jsx)(`input`,{checked:n===`true`,id:t,onChange:t=>_(e.key,t.target.checked?`true`:`false`),type:`checkbox`}),e.type===`int`&&(0,Z.jsx)(le,{"aria-invalid":!!r,id:t,inputMode:`numeric`,onChange:t=>_(e.key,t.target.value),value:n}),e.type===`text`&&(0,Z.jsx)(le,{id:t,onChange:t=>_(e.key,t.target.value),placeholder:e.placeholder,value:n}),e.type===`select`&&(0,Z.jsxs)(g,{onValueChange:t=>_(e.key,t??``),value:n,children:[(0,Z.jsx)(d,{className:`w-full`,id:t,children:(0,Z.jsx)(u,{})}),(0,Z.jsx)(f,{children:e.options.map(_e)})]}),e.description&&(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.description}),(0,Z.jsx)(fe,{errors:[r?{message:r}:void 0]})]},e.key)},t[31]=v,t[32]=p,t[33]=e):e=t[33],O=n.map(e),t[27]=v,t[28]=n,t[29]=p,t[30]=O}else O=t[30];let k;t[34]===O?k=t[35]:(k=(0,Z.jsx)(`div`,{className:`grid gap-4 p-4 sm:grid-cols-2`,children:O}),t[34]=O,t[35]=k);let A=x.length===0?`No changes`:`${x.length} change${x.length===1?``:`s`} pending`,j;t[36]===A?j=t[37]:(j=(0,Z.jsx)(`span`,{className:`mr-auto text-xs text-muted-foreground`,children:A}),t[36]=A,t[37]=j);let M=a||x.length===0,N;t[38]!==w||t[39]!==M?(N=(0,Z.jsx)(S,{disabled:M,onClick:w,size:`sm`,type:`button`,variant:`secondary`,children:`Reset`}),t[38]=w,t[39]=M,t[40]=N):N=t[40];let P=a||y||x.length===0,F=a?`Saving…`:`Save changes`,I;t[41]!==P||t[42]!==F?(I=(0,Z.jsx)(S,{disabled:P,size:`sm`,type:`submit`,children:F}),t[41]=P,t[42]=F,t[43]=I):I=t[43];let L;t[44]!==j||t[45]!==N||t[46]!==I?(L=(0,Z.jsxs)(`div`,{className:`flex items-center justify-end gap-2 border-t p-4`,children:[j,N,I]}),t[44]=j,t[45]=N,t[46]=I,t[47]=L):L=t[47];let R;t[48]!==L||t[49]!==k?(R=(0,Z.jsxs)(`div`,{className:`rounded-lg border bg-card`,children:[k,L]}),t[48]=L,t[49]=k,t[50]=R):R=t[50];let z;return t[51]!==R||t[52]!==T||t[53]!==E||t[54]!==D?(z=(0,Z.jsxs)(`form`,{onSubmit:T,children:[E,D,R]}),t[51]=R,t[52]=T,t[53]=E,t[54]=D,t[55]=z):z=t[55],z}function _e(e){return(0,Z.jsx)(m,{value:e,children:e},e)}var ve=[{key:`deletion_protection.enabled`,label:`Deletion protection`,type:`bool`},{key:`load_balancing.cross_zone.enabled`,label:`Cross-zone load balancing`,type:`bool`},{key:`idle_timeout.timeout_seconds`,label:`Idle timeout (s)`,type:`int`,min:1,max:4e3},{key:`client_keep_alive.seconds`,label:`Client keep-alive (s)`,type:`int`,min:60,max:604800},{key:`routing.http2.enabled`,label:`HTTP/2`,type:`bool`},{key:`routing.http.drop_invalid_header_fields.enabled`,label:`Drop invalid header fields`,type:`bool`},{key:`routing.http.preserve_host_header.enabled`,label:`Preserve host header`,type:`bool`},{key:`routing.http.xff_client_port.enabled`,label:`XFF client port`,type:`bool`},{key:`routing.http.xff_header_processing.mode`,label:`XFF header processing`,type:`select`,options:[`append`,`preserve`,`remove`]},{key:`routing.http.desync_mitigation_mode`,label:`Desync mitigation mode`,type:`select`,options:[`defensive`,`strictest`,`monitor`]},{key:`routing.http.x_amzn_tls_version_and_cipher_suite.enabled`,label:`Add TLS version & cipher headers`,type:`bool`},{key:`waf.fail_open.enabled`,label:`WAF fail open`,type:`bool`},{key:`zonal_shift.config.enabled`,label:`Zonal shift`,type:`bool`},{key:`access_logs.s3.enabled`,label:`Access logs: enabled`,type:`bool`},{key:`access_logs.s3.bucket`,label:`Access logs: S3 bucket`,type:`text`},{key:`access_logs.s3.prefix`,label:`Access logs: S3 prefix`,type:`text`},{key:`connection_logs.s3.enabled`,label:`Connection logs: enabled`,type:`bool`},{key:`connection_logs.s3.bucket`,label:`Connection logs: S3 bucket`,type:`text`},{key:`connection_logs.s3.prefix`,label:`Connection logs: S3 prefix`,type:`text`}],ye=[{key:`deregistration_delay.timeout_seconds`,label:`Deregistration delay (s)`,type:`int`,min:0,max:3600},{key:`stickiness.enabled`,label:`Stickiness`,type:`bool`},{key:`stickiness.type`,label:`Stickiness type`,type:`select`,options:[`lb_cookie`,`source_ip`]},{key:`stickiness.lb_cookie.duration_seconds`,label:`Stickiness lb_cookie duration (s)`,type:`int`,min:1,max:604800},{key:`load_balancing.cross_zone.enabled`,label:`Cross-zone load balancing`,type:`select`,options:[`true`,`false`,`use_load_balancer_configuration`]},{key:`load_balancing.algorithm.type`,label:`Load balancing algorithm`,type:`select`,options:[`round_robin`,`least_outstanding_requests`]},{key:`slow_start.duration_seconds`,label:`Slow start duration (s)`,type:`int`,min:0,max:900}],be=X.createContext(void 0);function Q(){let e=X.useContext(be);if(e===void 0)throw Error(s(64));return e}var xe=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),$={tabActivationDirection:e=>({[xe.activationDirection]:e})},Se=X.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:l,...u}=e,d=Object.hasOwn(e,`defaultValue`),f=X.useRef([]),[p,m]=X.useState(()=>new Map),[g,_]=C({controlled:s,default:r,name:`Tabs`,state:`value`}),y=s!==void 0,[x,S]=X.useState(()=>new Map),w=X.useCallback(e=>{if(e===void 0)return null;for(let[t,n]of x.entries())if(n!=null&&e===(n.value??n.index))return t;return null},[x]),[T,E]=X.useState(()=>({previousValue:g,tabActivationDirection:`none`})),{previousValue:D,tabActivationDirection:O}=T,k=O,A=!1;D!==g&&(k=Ce(D,g,a,x),A=D!=null&&g!=null&&w(g)==null);let j=A?D:g,M=D!==j||O!==k;b(()=>{M&&E({previousValue:j,tabActivationDirection:k})},[j,M,k]);let N=v((e,t)=>{t.activationDirection=Ce(g,e,a,x),i?.(e,t),!t.isCanceled&&_(e)}),P=v((e,t)=>{m(n=>{if(n.get(e)===t)return n;let r=new Map(n);return r.set(e,t),r})}),F=v((e,t)=>{m(n=>{if(!n.has(e)||n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})}),I=X.useCallback(e=>p.get(e),[p]),L=X.useCallback(e=>{for(let t of x.values())if(e===t?.value)return t?.id},[x]),R=X.useMemo(()=>({getTabElementBySelectedValue:w,getTabIdByPanelValue:L,getTabPanelIdByValue:I,onValueChange:N,orientation:a,registerMountedTabPanel:P,setTabMap:S,unregisterMountedTabPanel:F,tabActivationDirection:k,value:g}),[w,L,I,N,a,P,S,F,k,g]),z=X.useMemo(()=>{for(let e of x.values())if(e!=null&&e.value===g)return e},[x,g]),B=X.useMemo(()=>{for(let e of x.values())if(e!=null&&!e.disabled)return e.value},[x]);b(()=>{if(y||x.size===0)return;let e=z?.disabled;if(d&&e&&g===r||!e&&!(z==null&&g!==null))return;let t=B??null;g!==t&&(_(t),E(e=>e.tabActivationDirection===`none`?e:{...e,tabActivationDirection:`none`}))},[r,B,d,y,z,_,x,g]);let V=c(`div`,e,{state:{orientation:a,tabActivationDirection:k},ref:t,props:u,stateAttributesMapping:$});return(0,Z.jsx)(be.Provider,{value:R,children:(0,Z.jsx)(h,{elementsRef:f,children:V})})});function Ce(e,t,n,r){if(e==null||t==null)return`none`;let i=null,a=null;for(let[n,o]of r.entries()){if(o==null)continue;let r=o.value??o.index;if(e===r&&(i=n),t===r&&(a=n),i!=null&&a!=null)break}if(i==null||a==null)return i!==a&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?n===`horizontal`?t>e?`right`:`left`:t>e?`down`:`up`:`none`;let o=i.getBoundingClientRect(),s=a.getBoundingClientRect();if(n===`horizontal`){if(s.lefto.left)return`right`}else{if(s.topo.top)return`down`}return`none`}var we=`data-composite-item-active`;function Te(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=_(),{ref:i,index:o}=p(e),s=n===o,c=X.useRef(null),l=a(i,c);return{compositeProps:X.useMemo(()=>({tabIndex:s?0:-1,onFocus(){r(o)},onMouseMove(){let e=c.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!s&&!n&&e.focus()}}),[s,r,o,t]),compositeRef:l,index:o}}var Ee=X.createContext(void 0);function De(){let e=X.useContext(Ee);if(e===void 0)throw Error(s(65));return e}var Oe=X.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:l,...u}=e,{value:d,getTabPanelIdByValue:f,orientation:p}=Q(),{activateOnFocus:m,highlightedTabIndex:h,onTabActivation:g,registerTabResizeObserverElement:_,setHighlightedTabIndex:v,tabsListElement:y}=De(),S=T(o),{compositeProps:C,compositeRef:k,index:j}=Te({metadata:X.useMemo(()=>({disabled:r,id:S,value:a}),[r,S,a])}),M=a===d,N=X.useRef(!1),P=X.useRef(null);X.useEffect(()=>{let e=P.current;if(e)return _(e)},[_]),b(()=>{if(N.current){N.current=!1;return}if(!(M&&j>-1&&h!==j))return;let e=y;if(e!=null){let t=E(A(e));if(t&&w(e,t))return}r||v(j)},[M,j,h,v,r,y]);let{getButtonProps:F,buttonRef:I}=x({disabled:r,native:s,focusableWhenDisabled:!0}),L=f(a),R=X.useRef(!1),z=X.useRef(!1);function B(e){M||r||g(a,D(O,e.nativeEvent,void 0,{activationDirection:`none`}))}function V(e){M||(j>-1&&!r&&v(j),!r&&m&&(!R.current||R.current&&z.current)&&g(a,D(O,e.nativeEvent,void 0,{activationDirection:`none`})))}function H(e){if(M||r)return;R.current=!0;function t(){R.current=!1,z.current=!1}(!e.button||e.button===0)&&(z.current=!0,A(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return c(`button`,e,{state:{disabled:r,active:M,orientation:p},ref:[t,I,k,P],props:[C,{role:`tab`,"aria-controls":L,"aria-selected":M,id:S,onClick:B,onFocus:V,onPointerDown:H,[we]:M?``:void 0,onKeyDownCapture(){N.current=!0}},u,F]})}),ke=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e[e.startingStyle=j.startingStyle]=`startingStyle`,e[e.endingStyle=j.endingStyle]=`endingStyle`,e}({}),Ae={...$,...N},je=X.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,style:o,...s}=e,{value:l,getTabIdByPanelValue:u,orientation:d,tabActivationDirection:f,registerMountedTabPanel:m,unregisterMountedTabPanel:h}=Q(),g=T(),{ref:_,index:v}=p({metadata:X.useMemo(()=>({id:g,value:r}),[g,r])}),y=r===l,{mounted:x,transitionStatus:S,setMounted:C}=M(y),w=!x,E=u(r),D={hidden:w,orientation:d,tabActivationDirection:f,transitionStatus:S},O=X.useRef(null),k=c(`div`,e,{state:D,ref:[t,_,O],props:[{"aria-labelledby":E,hidden:w,id:g,role:`tabpanel`,tabIndex:y?0:-1,inert:ae(!y),[ke.index]:v},s],stateAttributesMapping:Ae});return P({open:y,ref:O,onComplete(){y||C(!1)}}),b(()=>{if(!(w&&!a)&&g!=null)return m(r,g),()=>{h(r,g)}},[w,a,r,g,m,h]),a||x?k:null});function Me(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var Ne=[];function Pe(e){let{itemSizes:t,cols:n=1,loopFocus:r=!0,onLoop:i,dense:o=!1,orientation:s=`both`,direction:c,highlightedIndex:l,onHighlightedIndexChange:u,rootRef:d,enableHomeAndEndKeys:f=!1,stopEventPropagation:p=!1,disabledIndices:m,modifierKeys:h=Ne}=e,[g,_]=X.useState(0),y=n>1,b=X.useRef(null),x=a(b,d),S=X.useRef([]),C=X.useRef(!1),w=l??g,T=v((e,t=!1)=>{if((u??_)(e),t){let t=S.current[e];J(b.current,t,c,s)}}),E=v(e=>{if(e.size===0||C.current)return;C.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,r=n?t.indexOf(n):-1;r!==-1&&T(r),J(b.current,n,c,s)}),D=v((e,t,n)=>i?i?.(e,t,n,S):n),O=X.useMemo(()=>({"aria-orientation":s===`both`?void 0:s,ref:x,onFocus(e){let t=b.current,n=k(e.nativeEvent);!t||n==null||!H(n)||n.setSelectionRange(0,n.value.length??0)},onKeyDown(e){let a=f?oe:re;if(!a.has(e.key)||Fe(e,h)||!b.current)return;let l=c===`rtl`,u=l?q:W,d={horizontal:u,vertical:U,both:u}[s],g=l?W:q,_={horizontal:g,vertical:G,both:g}[s],v=k(e.nativeEvent);if(v!=null&&H(v)&&!Me(v)){let t=v.selectionStart,n=v.selectionEnd,r=v.value??``;if(t==null||e.shiftKey||t!==n||e.key!==_&&t0)return}let x=w,C=ee(S,m),E=F(S,m);if(y){let i=t||Array.from({length:S.current.length},()=>({width:1,height:1})),a=I(i,n,o),c=a.findIndex(e=>e!=null&&!K(S.current,e,m)),u=a.reduce((e,t,n)=>t!=null&&!K(S.current,t,m)?n:e,-1);x=a[L(a.map(e=>e==null?null:S.current[e]),{event:e,orientation:s,loopFocus:r,onLoop:D,cols:n,disabledIndices:B([...m||S.current.map((e,t)=>K(S.current,t)?t:void 0),void 0],a),minIndex:c,maxIndex:u,prevIndex:R(w>E?C:w,i,a,n,e.key===`ArrowDown`?`bl`:e.key===`ArrowRight`?`tr`:`tl`),rtl:l})]}let O={horizontal:[u],vertical:[U],both:[u,U]}[s],A={horizontal:[g],vertical:[G],both:[g,G]}[s],j=y?a:{horizontal:f?te:ne,vertical:f?ce:se,both:a}[s];f&&(e.key===`Home`?x=C:e.key===`End`&&(x=E)),x===w&&(O.includes(e.key)||A.includes(e.key))&&(r&&x===E&&O.includes(e.key)?(x=C,i&&(x=i(e,w,x,S))):r&&x===C&&A.includes(e.key)?(x=E,i&&(x=i(e,w,x,S))):x=z(S.current,{startingIndex:x,decrement:A.includes(e.key),disabledIndices:m})),x!==w&&!ie(S.current,x)&&(p&&e.stopPropagation(),j.has(e.key)&&e.preventDefault(),T(x,!0),queueMicrotask(()=>{S.current[x]?.focus()}))}}),[n,o,c,m,S,f,w,y,t,r,i,D,x,h,T,s,p]);return X.useMemo(()=>({props:O,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:S,disabledIndices:m,onMapChange:E,relayKeyboardEvent:O.onKeyDown}),[O,w,T,S,m,E])}function Fe(e,t){for(let n of V.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function Ie(e){let{render:t,className:n,style:r,refs:a=i,props:s=i,state:l=o,stateAttributesMapping:u,highlightedIndex:d,onHighlightedIndexChange:f,orientation:p,dense:m,itemSizes:g,loopFocus:_,onLoop:v,cols:b,enableHomeAndEndKeys:x,onMapChange:S,stopEventPropagation:C=!0,rootRef:w,disabledIndices:T,modifierKeys:E,highlightItemOnHover:D=!1,tag:O=`div`,...k}=e,{props:A,highlightedIndex:j,onHighlightedIndexChange:M,elementsRef:N,onMapChange:P,relayKeyboardEvent:F}=Pe({itemSizes:g,cols:b,loopFocus:_,onLoop:v,dense:m,orientation:p,highlightedIndex:d,onHighlightedIndexChange:f,rootRef:w,stopEventPropagation:C,enableHomeAndEndKeys:x,direction:ue(),disabledIndices:T,modifierKeys:E}),I=c(O,e,{state:l,ref:a,props:[A,...s,k],stateAttributesMapping:u}),L=X.useMemo(()=>({highlightedIndex:j,onHighlightedIndexChange:M,highlightItemOnHover:D,relayKeyboardEvent:F}),[j,M,D,F]);return(0,Z.jsx)(y.Provider,{value:L,children:(0,Z.jsx)(h,{elementsRef:N,onMapChange:e=>{S?.(e),P(e)},children:I})})}var Le=X.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:a=!0,render:o,style:s,...c}=e,{onValueChange:l,orientation:u,value:d,setTabMap:f,tabActivationDirection:p}=Q(),[m,h]=X.useState(0),[g,_]=X.useState(null),y=X.useRef(new Set),b=X.useRef(new Set),x=X.useRef(null),S=v(()=>{y.current.forEach(e=>{e()})});X.useEffect(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{y.current.size&&S()});return x.current=e,g&&e.observe(g),b.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),x.current=null}},[g,S]);let C=v(e=>(y.current.add(e),()=>{y.current.delete(e)})),w=v(e=>(b.current.add(e),x.current?.observe(e),()=>{b.current.delete(e),x.current?.unobserve(e)})),T=v((e,t)=>{e!==d&&l(e,t)}),E={orientation:u,tabActivationDirection:p},D={"aria-orientation":u===`vertical`?`vertical`:void 0,role:`tablist`},O=X.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:m,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:w,onTabActivation:T,setHighlightedTabIndex:h,tabsListElement:g}),[n,m,C,w,T,h,g]);return(0,Z.jsx)(Ee.Provider,{value:O,children:(0,Z.jsx)(Ie,{render:o,className:r,style:s,state:E,refs:[t,_],props:[D,c],stateAttributesMapping:$,highlightedIndex:m,enableHomeAndEndKeys:!0,loopFocus:a,orientation:u,onHighlightedIndexChange:h,onMapChange:f,disabledIndices:i})})});function Re(e){let t=(0,Y.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`flex flex-col gap-4`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Se,{className:i,"data-slot":`tabs`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ze(e){let t=(0,Y.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`inline-flex items-center gap-1 border-b`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Le,{className:i,"data-slot":`tabs-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Be(e){let t=(0,Y.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`inline-flex items-center justify-center border-b-2 border-transparent px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring/30 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-selected:border-primary data-selected:text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Oe,{className:i,"data-slot":`tabs-tab`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ve(e){let t=(0,Y.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`focus-visible:outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(je,{className:i,"data-slot":`tabs-panel`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{ge as a,Be as i,ze as n,ve as o,Ve as r,ye as s,Re as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/useOpenInteractionType.js b/spinifex/services/spinifexui/frontend/dist/assets/useOpenInteractionType.js index fe9c27d05..55ae4eeff 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/useOpenInteractionType.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/useOpenInteractionType.js @@ -1,12 +1 @@ -import{a as e,n as t,r as n}from"./compiler-runtime.js";import{n as r,r as i}from"./useStore.js";import{hn as a}from"./awsClient.js";import{d as o,f as s,l as c,m as l,n as u,p as d,s as f,u as p}from"./dist.js";import{C as m,D as h,S as g,_,b as v,c as y,g as b,l as x,o as S,p as C,w,x as T,y as ee}from"./button.js";import{B as E,C as te,F as D,H as O,I as ne,P as k,R as A,_ as j,a as M,b as N,d as P,g as F,j as I,m as re,o as L,t as ie,v as ae,w as oe,x as se,y as R,z}from"./createBaseUIEventDetails.js";import{c as B,i as V,l as H,o as U,s as W}from"./useTransitionStatus.js";var G=e(n()),K=0,q=class e{static create(){return new e}currentId=K;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=K,t()},e)}isStarted(){return this.currentId!==K}clear=()=>{this.currentId!==K&&(clearTimeout(this.currentId),this.currentId=K)};disposeEffect=()=>this.clear};function ce(){let e=d(q.create).current;return H(e.disposeEffect),e}function J(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...J(e,t.id,n)])}function le(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function ue(e){e.preventDefault(),e.stopPropagation()}function de(e){return`nativeEvent`in e}function fe(e){return e.pointerType===``&&e.isTrusted?!0:k&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function pe(e){return ne?!1:!k&&e.width===0&&e.height===0||k&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function me(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function he(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var ge=[`top`,`right`,`bottom`,`left`],_e=Math.min,Y=Math.max,ve=Math.round,X=Math.floor,ye=e=>({x:e,y:e}),be={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function xe(e,t,n){return Y(e,_e(t,n))}function Se(e,t){return typeof e==`function`?e(t):e}function Ce(e){return e.split(`-`)[0]}function we(e){return e.split(`-`)[1]}function Te(e){return e===`x`?`y`:`x`}function Ee(e){return e===`y`?`height`:`width`}function De(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Oe(e){return Te(De(e))}function ke(e,t,n){n===void 0&&(n=!1);let r=we(e),i=Oe(e),a=Ee(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Re(o)),[o,Re(o)]}function Ae(e){let t=Re(e);return[je(e),t,je(t)]}function je(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Me=[`left`,`right`],Ne=[`right`,`left`],Pe=[`top`,`bottom`],Fe=[`bottom`,`top`];function Ie(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ne:Me:t?Me:Ne;case`left`:case`right`:return t?Pe:Fe;default:return[]}}function Le(e,t,n,r){let i=we(e),a=Ie(Ce(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(je)))),a}function Re(e){let t=Ce(e);return be[t]+e.slice(t.length)}function ze(e){return{top:0,right:0,bottom:0,left:0,...e}}function Be(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:ze(e)}function Ve(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function He(e,t,n){return Math.floor(e/t)!==n}function Ue(e,t){return t<0||t>=e.current.length}function We(e,t){return Z(e,{disabledIndices:t})}function Ge(e,t){return Z(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Z(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.current.length-1&&Xe(e,a,r));return a}function Ke(e,{event:t,orientation:n,loopFocus:r,rtl:i,cols:a,disabledIndices:o,minIndex:s,maxIndex:c,prevIndex:l,stopEvent:u=!1}){let d=l,f;if(t.key===`ArrowUp`?f=`up`:t.key===`ArrowDown`&&(f=`down`),f){let n=[],i=[],p=!1,m=0;{let t=null,r=-1;e.current.forEach((e,a)=>{if(e==null)return;m+=1;let o=e.closest(`[role="row"]`);o&&(p=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(a),i[a]=r})}let h=!1,g=0;if(p)for(let e of n){let t=e.length;t>g&&(g=t),t!==a&&(h=!0)}let _=h&&m{if(!h||l===-1)return;let a=i[l];if(a==null)return;let s=n[a].indexOf(l),c=t===`up`?-1:1;for(let t=a+c,i=0;i=n.length){if(!r||_)return;t=t<0?n.length-1:0}let i=n[t];for(let t=Math.min(s,i.length-1);t>=0;--t){let n=i[t];if(!Xe(e,n,o))return n}}},b=t=>{if(!_||l===-1)return;let n=l%v,i=t===`up`?-v:v,a=c-c%v,s=X(c/v)+1;for(let t=l-n+i,u=0;uc){if(!r)return;t=t<0?a:0}let i=Math.min(t+v-1,c);for(let r=Math.min(t+n,i);r>=t;--r)if(!Xe(e,r,o))return r}};u&&ue(t);let x=y(f)??b(f);if(x!==void 0)d=x;else if(l===-1)d=f===`up`?c:s;else if(d=Z(e,{startingIndex:l,amount:v,decrement:f===`up`,disabledIndices:o}),r){if(f===`up`&&(l-ve?n:n-v}f===`down`&&l+v>c&&(d=Z(e,{startingIndex:l%v-v,amount:v,disabledIndices:o}))}Ue(e,d)&&(d=l)}if(n===`both`){let n=X(l/a);t.key===(i?`ArrowLeft`:`ArrowRight`)&&(u&&ue(t),l%a===a-1?r&&(d=Z(e,{startingIndex:l-l%a-1,disabledIndices:o})):(d=Z(e,{startingIndex:l,disabledIndices:o}),r&&He(d,a,n)&&(d=Z(e,{startingIndex:l-l%a-1,disabledIndices:o}))),He(d,a,n)&&(d=l)),t.key===(i?`ArrowRight`:`ArrowLeft`)&&(u&&ue(t),l%a===0?r&&(d=Z(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:o})):(d=Z(e,{startingIndex:l,decrement:!0,disabledIndices:o}),r&&He(d,a,n)&&(d=Z(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:o}))),He(d,a,n)&&(d=l));let s=X(c/a)===n;Ue(e,d)&&(d=r&&s?t.key===(i?`ArrowRight`:`ArrowLeft`)?c:Z(e,{startingIndex:l-l%a-1,disabledIndices:o}):l)}return d}function qe(e,t,n){let r=[],i=0;return e.forEach(({width:e,height:a},o)=>{let s=!1;for(n&&(i=0);!s;){let n=[];for(let r=0;rr[e]==null)?(n.forEach(e=>{r[e]=o}),s=!0):i+=1}}),[...r]}function Je(e,t,n,r,i){if(e===-1)return-1;let a=n.indexOf(e),o=t[e];switch(i){case`tl`:return a;case`tr`:return o?a+o.width-1:a;case`bl`:return o?a+(o.height-1)*r:a;case`br`:return n.lastIndexOf(e);default:return-1}}function Ye(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function Xe(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e.current[t];return r?Ze(r)?!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!0:!1}function Ze(e){return x(e).display!==`none`}var Qe=[`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] *)`].join(`,`),$e=typeof Element>`u`,et=$e?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,tt=!$e&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},nt=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):nt(e.parentNode))},rt=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},it=function(e,t,n){if(nt(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Qe));return t&&et.call(e,Qe)&&r.unshift(e),r=r.filter(n),r},at=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!nt(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=at(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{et.call(a,Qe)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!nt(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=at(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},ot=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},st=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rt(e))&&!ot(e)?0:e.tabIndex},ct=function(e,t){var n=st(e);return n<0&&t&&!ot(e)?0:n},lt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ut=function(e){return e.tagName===`INPUT`},dt=function(e){return ut(e)&&e.type===`hidden`},ft=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},pt=function(e,t){for(var n=0;nsummary:first-of-type`)?e.parentElement:e;if(et.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=tt(e);if(o&&!o.shadowRoot&&r(o)===!0)return vt(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(_t(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return vt(e);return!1},bt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n=0)},wt=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=ct(a,i),s=i?wt(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(lt).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Tt=function(e,t){return t||={},wt(t.getShadowRoot?at([e],t.includeContainer,{filter:St.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ct}):it(e,t.includeContainer,St.bind(null,t)))},Et=function(e,t){return t||={},t.getShadowRoot?at([e],t.includeContainer,{filter:xt.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):it(e,t.includeContainer,xt.bind(null,t))},Dt=function(e,t){if(t||={},!e)throw Error(`No node provided`);return et.call(e,Qe)===!1?!1:St(t,e)},Ot=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver==`function`&&ResizeObserver.toString().includes(`[native code]`)?`full`:`none`});function kt(e,t){let n=Tt(e,Ot()),r=n.length;if(r===0)return;let i=F(E(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function At(e){return kt(E(e).body,1)||e}function jt(e){return kt(E(e).body,-1)||e}function Mt(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!j(n,r)}function Nt(e){Tt(e,Ot()).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Pt(e){e.querySelectorAll(`[data-tabindex]`).forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}var Ft=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=V.startingStyle]=`startingStyle`,e[e.endingStyle=V.endingStyle]=`endingStyle`,e.anchorHidden=`data-anchor-hidden`,e.side=`data-side`,e.align=`data-align`,e}({}),It=function(e){return e.popupOpen=`data-popup-open`,e.pressed=`data-pressed`,e}({}),Lt={[It.popupOpen]:``},Rt={[It.popupOpen]:``,[It.pressed]:``},zt={[Ft.open]:``},Bt={[Ft.closed]:``},Vt={[Ft.anchorHidden]:``},Ht={open(e){return e?Lt:null}},Ut={open(e){return e?Rt:null}},Wt={open(e){return e?zt:Bt},anchorHidden(e){return e?Vt:null}};function Gt(e){let t=d(Kt,e).current;return t.next=e,S(t.effect),t}function Kt(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var qt={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Jt={...qt,position:`fixed`,top:0,left:0},Yt={...qt,position:`absolute`},Q=t(),Xt=G.forwardRef(function(e,t){let[n,r]=G.useState();S(()=>{A&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,Q.jsx)(`span`,{...e,ref:t,style:Jt,"aria-hidden":n?void 0:!0,...i,"data-base-ui-focus-guard":``})});function Zt(e){return`data-base-ui-${e}`}var Qt=0;function $t(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Qt);let a=()=>e?.focus({preventScroll:n});i?a():Qt=requestAnimationFrame(a)}var en={inert:new WeakMap,"aria-hidden":new WeakMap},tn=`data-base-ui-inert`,nn={inert:new WeakSet,"aria-hidden":new WeakSet},rn=new WeakMap,an=0;function on(e){return nn[e]}function sn(e){return e?w(e)?e.host:sn(e.parentNode):null}var cn=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=sn(t);return e.contains(n)?n:null}).filter(e=>e!=null),ln=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},un=(e,t,n)=>{let r=[],i=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{C(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function dn(e,t,n,r,{mark:i=!0,markerIgnoreElements:a=[]}){let o=r?`inert`:n?`aria-hidden`:null,s=null,c=null,l=cn(t,e),u=i?cn(t,a):[],d=new Set(u),f=i?un(t,ln(l),new Set(l)).filter(e=>!d.has(e)):[],p=[],m=[];if(o){let e=en[o],n=on(o);c=n,s=e;let r=cn(t,Array.from(t.querySelectorAll(`[aria-live]`))),i=l.concat(r);un(t,ln(i),new Set(i)).forEach(t=>{let r=t.getAttribute(o),i=r!==null&&r!==`false`,a=(e.get(t)||0)+1;e.set(t,a),p.push(t),a===1&&i&&n.add(t),i||t.setAttribute(o,o===`inert`?``:`true`)})}return i&&f.forEach(e=>{let t=(rn.get(e)||0)+1;rn.set(e,t),m.push(e),t===1&&e.setAttribute(tn,``)}),an+=1,()=>{s&&p.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!c?.has(e)&&o&&e.removeAttribute(o),c?.delete(e))}),i&&m.forEach(e=>{let t=(rn.get(e)||0)-1;rn.set(e,t),t||e.removeAttribute(tn)}),--an,an||(en.inert=new WeakMap,en[`aria-hidden`]=new WeakMap,nn.inert=new WeakSet,nn[`aria-hidden`]=new WeakSet,rn=new WeakMap)}}function fn(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0,markerIgnoreElements:a=[]}=t,o=E(e[0]).body;return dn(e,o,n,r,{mark:i,markerIgnoreElements:a})}var pn=e(a()),mn=G.createContext(null),hn=()=>G.useContext(mn),gn=Zt(`portal`);function _n(e={}){let{ref:t,container:n,componentProps:r=c,elementProps:i}=e,a=O(),o=hn()?.portalNode,[s,l]=G.useState(null),[d,f]=G.useState(null),p=y(e=>{e!==null&&f(e)}),m=G.useRef(null);S(()=>{if(n===null){m.current&&(m.current=null,f(null),l(null));return}if(a==null)return;let e=(n&&(g(n)?n:n.current))??o??document.body;if(e==null){m.current&&(m.current=null,f(null),l(null));return}m.current!==e&&(m.current=e,f(null),l(e))},[n,o,a]);let h=u(`div`,r,{ref:[t,p],props:[{id:a,[gn]:``},i]});return{portalNode:d,portalSubtree:s&&h?pn.createPortal(h,s):null}}var vn=G.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,renderGuards:o,...s}=e,{portalNode:c,portalSubtree:l}=_n({container:r,ref:t,componentProps:e,elementProps:s}),u=G.useRef(null),d=G.useRef(null),p=G.useRef(null),m=G.useRef(null),[h,g]=G.useState(null),_=h?.modal,v=h?.open,y=typeof o==`boolean`?o:!!h&&!h.modal&&h.open&&!!c;G.useEffect(()=>{if(!c||_)return;function e(e){c&&e.relatedTarget&&Mt(e)&&(e.type===`focusin`?Pt:Nt)(c)}return c.addEventListener(`focusin`,e,!0),c.addEventListener(`focusout`,e,!0),()=>{c.removeEventListener(`focusin`,e,!0),c.removeEventListener(`focusout`,e,!0)}},[c,_]),G.useEffect(()=>{!c||v||Pt(c)},[v,c]);let b=G.useMemo(()=>({beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:p,afterInsideRef:m,portalNode:c,setFocusManagerState:g}),[c]);return(0,Q.jsxs)(G.Fragment,{children:[l,(0,Q.jsxs)(mn.Provider,{value:b,children:[y&&c&&(0,Q.jsx)(Xt,{"data-type":`outside`,ref:u,onFocus:e=>{Mt(e,c)?p.current?.focus():jt(h?h.domReference:null)?.focus()}}),y&&c&&(0,Q.jsx)(`span`,{"aria-owns":c.id,style:f}),c&&pn.createPortal(n,c),y&&c&&(0,Q.jsx)(Xt,{"data-type":`outside`,ref:d,onFocus:e=>{Mt(e,c)?m.current?.focus():(At(h?h.domReference:null)?.focus(),h?.closeOnFocusOut&&h?.onOpenChange(!1,ie(`focus-out`,e.nativeEvent)))}})]})]})}),yn=i(),bn=r();function xn(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var Sn=G.createContext(null),Cn=G.createContext(null),wn=()=>G.useContext(Sn)?.id||null,Tn=e=>{let t=G.useContext(Cn);return e??t};function En(e,t){let n=_(e.target);return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var Dn=20,$=[];function On(){$=$.filter(e=>e.deref()?.isConnected)}function kn(e){On(),e&&C(e)!==`body`&&($.push(new WeakRef(e)),$.length>Dn&&($=$.slice(-Dn)))}function An(){return On(),$[$.length-1]?.deref()}function jn(e){if(!e)return null;let t=Ot();return Dt(e,t)?e:Tt(e,t)[0]||e}function Mn(e){return!e||!e.isConnected?!1:typeof e.checkVisibility==`function`?e.checkVisibility():Ze(e)}function Nn(e,t){if(!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=Ot(),r=Et(e,n).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Dt(e,n)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),i=e.getAttribute(`tabindex`);t.current.includes(`floating`)||r.length===0?i!==`0`&&e.setAttribute(`tabindex`,`0`):(i!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Pn(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,restoreFocus:o=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=`rootStore`in t?t.rootStore:t,_=g.useState(`open`),b=g.useState(`domReferenceElement`),x=g.useState(`floatingElement`),{events:C,dataRef:w}=g.context,T=y(()=>w.current.floatingContext?.nodeId),ee=i===!1,D=te(b)&&ee,O=G.useRef([`content`]),ne=Gt(i),k=Gt(a),A=Gt(u),M=Tn(m),N=hn(),P=G.useRef(!1),I=G.useRef(!1),re=G.useRef(!1),se=G.useRef(-1),V=G.useRef(``),H=G.useRef(``),W=G.useRef(null),K=G.useRef(null),q=s(W,p,N?.beforeInsideRef),de=s(K,N?.afterInsideRef),me=ce(),he=ce(),ge=B(),_e=N!=null,Y=ae(x),ve=y((e=Y)=>e?Tt(e,Ot()):[]),X=y(()=>h?.().filter(e=>e!=null)??[]),ye=y(e=>{let t=ve(e);return O.current.map(()=>t).filter(Boolean).flat()});G.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&j(Y,F(E(Y)))&&ve().length===0&&!D&&ue(e)}let t=E(Y);return t.addEventListener(`keydown`,e),()=>{t.removeEventListener(`keydown`,e)}},[r,b,Y,c,O,D,ve,ye]),G.useEffect(()=>{if(r||!_)return;let e=E(Y);function t(){re.current=!1}function n(e){let t=R(e),n=X();re.current=!(j(x,t)||j(b,t)||j(N?.portalNode,t)||n.some(e=>e===t||j(e,t))),H.current=e.pointerType||`keyboard`,t?.closest(`[data-base-ui-click-trigger]`)&&(I.current=!0)}function i(){H.current=`keyboard`}return e.addEventListener(`pointerdown`,n,!0),e.addEventListener(`pointerup`,t,!0),e.addEventListener(`pointercancel`,t,!0),e.addEventListener(`keydown`,i,!0),()=>{e.removeEventListener(`pointerdown`,n,!0),e.removeEventListener(`pointerup`,t,!0),e.removeEventListener(`pointercancel`,t,!0),e.removeEventListener(`keydown`,i,!0)}},[r,x,b,Y,_,N,X]),G.useEffect(()=>{if(r||!l)return;let e=E(Y);function t(){I.current=!0,he.start(0,()=>{I.current=!1})}function n(e){let t=R(e),n=ve().indexOf(t);n!==-1&&(se.current=n)}function i(t){let n=t.relatedTarget,r=t.currentTarget,i=R(t);queueMicrotask(()=>{let a=T(),s=g.context.triggerElements,l=X(),u=n?.hasAttribute(Zt(`focus-guard`))&&[W.current,K.current,N?.beforeInsideRef.current,N?.afterInsideRef.current,N?.beforeOutsideRef.current,N?.afterOutsideRef.current,U(f),U(d)].includes(n),p=!(j(b,n)||j(x,n)||j(n,x)||j(N?.portalNode,n)||l.some(e=>e===n||j(e,n))||n!=null&&s.hasElement(n)||s.hasMatchingElement(e=>j(e,n))||u||M&&(J(M.nodesRef.current,a).find(e=>j(e.context?.elements.floating,n)||j(e.context?.elements.domReference,n))||le(M.nodesRef.current,a).find(e=>[e.context?.elements.floating,ae(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===b&&Y&&Nn(Y,O),o&&r!==b&&!Mn(i)&&F(e)===e.body){if(v(Y)&&(Y.focus(),o===`popup`)){ge.request(()=>{Y.focus()});return}let e=se.current,t=ve(),n=t[e]||t[t.length-1]||Y;v(n)&&n.focus()}if(w.current.insideReactTree){w.current.insideReactTree=!1;return}(D||!c)&&n&&p&&!I.current&&(D||n!==An())&&(P.current=!0,g.setOpen(!1,ie(L,t)))})}function a(){re.current||(w.current.insideReactTree=!0,me.start(0,()=>{w.current.insideReactTree=!1}))}let s=v(b)?b:null,u=[];if(!(!x&&!s))return s&&(s.addEventListener(`focusout`,i),s.addEventListener(`pointerdown`,t),u.push(()=>{s.removeEventListener(`focusout`,i),s.removeEventListener(`pointerdown`,t)})),x&&(x.addEventListener(`focusin`,n),x.addEventListener(`focusout`,i),N&&(x.addEventListener(`focusout`,a,!0),u.push(()=>{x.removeEventListener(`focusout`,a,!0)})),u.push(()=>{x.removeEventListener(`focusin`,n),x.removeEventListener(`focusout`,i)})),()=>{u.forEach(e=>{e()})}},[r,b,x,Y,c,M,N,g,l,o,ve,D,T,O,w,me,he,ge,d,f,X]),G.useEffect(()=>{if(r||!x||!_)return;let e=Array.from(N?.portalNode?.querySelectorAll(`[${Zt(`portal`)}]`)||[]),t=(M?le(M.nodesRef.current,T()):[]).find(e=>te(e.context?.elements.domReference||null))?.context?.elements.domReference,n=fn([...[x,...e,W.current,K.current,N?.beforeOutsideRef.current,N?.afterOutsideRef.current,...X()],t,U(f),U(d),D?b:null].filter(e=>e!=null),{ariaHidden:c||D,mark:!1}),i=fn([x,...e].filter(e=>e!=null));return()=>{i(),n()}},[_,r,b,x,c,O,N,D,M,T,d,f,X]),S(()=>{if(!_||r||!v(Y))return;let e=F(E(Y));queueMicrotask(()=>{let t=ye(Y),n=ne.current,r=typeof n==`function`?n(A.current||``):n;if(r===void 0||r===!1)return;let i;i=r===!0||r===null?t[0]||Y:U(r),i=i||t[0]||Y,!j(Y,e)&&$t(i,{preventScroll:i===Y})})},[r,_,Y,ee,ye,ne,A]),S(()=>{if(r||!Y)return;let e=E(Y);kn(F(e));function t(e){if(e.open||(V.current=En(e.nativeEvent,H.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(P.current=!0),e.reason===`outside-press`)if(e.nested)P.current=!1;else if(fe(e.nativeEvent)||pe(e.nativeEvent))P.current=!1;else{let e=!1;document.createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?P.current=!1:P.current=!0}}C.on(`openchange`,t);function n(){let e=k.current,t=typeof e==`function`?e(V.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=b||An();return e&&e.isConnected?e:null}let n=b||An();return U(t)||n||null}return()=>{C.off(`openchange`,t);let r=F(e),i=X(),a=j(x,r)||i.some(e=>e===r||j(e,r))||M&&J(M.nodesRef.current,T(),!1).some(e=>j(e.context?.elements.floating,r)),o=n();queueMicrotask(()=>{let t=jn(o),n=typeof k.current!=`boolean`;k.current&&!P.current&&v(t)&&(!(!n&&t!==r&&r!==e.body)||a)&&t.focus({preventScroll:!0}),P.current=!1})}},[r,x,Y,k,w,C,M,b,T,X]),S(()=>{if(!z||_||!x)return;let e=F(E(x));!v(e)||!oe(e)||j(x,e)&&e.blur()},[_,x]),S(()=>{if(!(r||!N))return N.setFocusManagerState({modal:c,closeOnFocusOut:l,open:_,onOpenChange:g.setOpen,domReference:b}),()=>{N.setFocusManagerState(null)}},[r,N,c,_,g,l,b]),S(()=>{if(!(r||!Y))return Nn(Y,O),()=>{queueMicrotask(On)}},[r,Y,O]);let be=!r&&(c?!D:!0)&&(_e||c);return(0,Q.jsxs)(G.Fragment,{children:[be&&(0,Q.jsx)(Xt,{"data-type":`inside`,ref:q,onFocus:e=>{if(c){let e=ye();$t(e[e.length-1])}else N?.portalNode&&(P.current=!1,Mt(e,N.portalNode)?At(b)?.focus():U(f??N.beforeOutsideRef)?.focus())}}),n,be&&(0,Q.jsx)(Xt,{"data-type":`inside`,ref:de,onFocus:e=>{c?$t(ye()[0]):N?.portalNode&&(l&&(P.current=!0),Mt(e,N.portalNode)?jt(b)?.focus():U(d??N.afterOutsideRef)?.focus())}})]})}var Fn={intentional:`onClick`,sloppy:`onPointerDown`};function In(){return!1}function Ln(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Rn(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),{dataRef:a}=n.context,{enabled:o=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:l=`sloppy`,referencePress:u=In,referencePressEvent:d=`sloppy`,bubbles:f,externalTree:p}=t,m=Tn(p),g=y(typeof c==`function`?c:()=>!1),_=typeof c==`function`?g:c,S=_!==!1,C=y(()=>l),te=G.useRef(!1),D=G.useRef(!1),O=G.useRef(!1),{escapeKey:ne,outsidePress:k}=Ln(f),A=G.useRef(null),F=ce(),I=ce(),L=y(()=>{I.clear(),a.current.insideReactTree=!1}),ae=G.useRef(!1),oe=G.useRef(``),z=y(u),B=y(e=>{if(!r||!o||!s||e.key!==`Escape`||ae.current)return;let t=a.current.floatingContext?.nodeId,i=m?J(m.nodesRef.current,t):[];if(!ne&&i.length>0){let e=!0;if(i.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let c=ie(M,de(e)?e.nativeEvent:e);n.setOpen(!1,c),!ne&&!c.isPropagationAllowed&&e.stopPropagation()}),V=y(()=>{a.current.insideReactTree=!0,I.start(0,L)});G.useEffect(()=>{if(!r||!o)return;a.current.__escapeKeyBubbles=ne,a.current.__outsidePressBubbles=k;let e=new q,t=new q;function c(){e.clear(),ae.current=!0}function l(){e.start(h()?5:0,()=>{ae.current=!1})}function u(){O.current=!0,t.start(0,()=>{O.current=!1})}function d(){te.current=!1,D.current=!1}function f(){let e=oe.current,t=e===`pen`||!e?`mouse`:e,n=C(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function p(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function g(e){let t=a.current.floatingContext?.nodeId,r=m&&J(m.nodesRef.current,t).some(t=>N(e,t.context?.elements.floating));return N(e,n.select(`floatingElement`))||N(e,n.select(`domReferenceElement`))||r}function y(e){if(p(e)){L();return}if(a.current.insideReactTree){L();return}let r=R(e),i=`[${Zt(`inert`)}]`,o=Array.from(E(n.select(`floatingElement`)).querySelectorAll(i)),s=ee(r)?r.getRootNode():null;w(s)&&(o=o.concat(Array.from(s.querySelectorAll(i))));let c=n.context.triggerElements;if(r&&(c.hasElement(r)||c.hasMatchingElement(e=>j(e,r))))return;let l=ee(r)?r:null;for(;l&&!T(l);){let e=b(l);if(T(e)||!ee(e))break;l=e}if(o.length&&ee(r)&&!se(r)&&!j(r,n.select(`floatingElement`))&&o.every(e=>!j(l,e)))return;if(v(r)&&!(`touches`in e)){let t=T(r),n=x(r),i=/auto|scroll/,a=t||i.test(n.overflowX),o=t||i.test(n.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=n.direction===`rtl`,u=c&&(l?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(u||d)return}if(g(e))return;if(f()===`intentional`&&O.current){t.clear(),O.current=!1;return}if(typeof _==`function`&&!_(e))return;let u=a.current.floatingContext?.nodeId,d=m?J(m.nodesRef.current,u):[];if(d.length>0){let e=!0;if(d.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}n.setOpen(!1,ie(P,e)),L()}function M(e){f()!==`sloppy`||e.pointerType===`touch`||!n.select(`open`)||!o||N(e,n.select(`floatingElement`))||N(e,n.select(`domReferenceElement`))||y(e)}function I(e){if(f()!==`sloppy`||!n.select(`open`)||!o||N(e,n.select(`floatingElement`))||N(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];t&&(A.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},F.start(1e3,()=>{A.current&&(A.current.dismissOnTouchEnd=!1,A.current.dismissOnMouseDown=!1)}))}function re(e){oe.current=`touch`;let t=R(e);function n(){I(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function z(e){if(F.clear(),e.type===`pointerdown`&&(oe.current=e.pointerType),e.type===`mousedown`&&A.current&&!A.current.dismissOnMouseDown)return;let t=R(e);function n(){e.type===`pointerdown`?M(e):y(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function V(e){if(!te.current)return;let n=D.current;if(d(),f()===`intentional`){if(e.type===`pointercancel`){n&&u();return}if(!g(e)){if(n){u();return}typeof _==`function`&&!_(e)||(t.clear(),O.current=!0,L())}}}function H(e){if(f()!==`sloppy`||!A.current||N(e,n.select(`floatingElement`))||N(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];if(!t)return;let r=Math.abs(t.clientX-A.current.startX),i=Math.abs(t.clientY-A.current.startY),a=Math.sqrt(r*r+i*i);a>5&&(A.current.dismissOnTouchEnd=!0),a>10&&(y(e),F.clear(),A.current=null)}function U(e){let t=R(e);function n(){H(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function W(e){f()!==`sloppy`||!A.current||N(e,n.select(`floatingElement`))||N(e,n.select(`domReferenceElement`))||(A.current.dismissOnTouchEnd&&y(e),F.clear(),A.current=null)}function G(e){let t=R(e);function n(){W(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}let K=E(i);return s&&(K.addEventListener(`keydown`,B),K.addEventListener(`compositionstart`,c),K.addEventListener(`compositionend`,l)),S&&(K.addEventListener(`click`,z,!0),K.addEventListener(`pointerdown`,z,!0),K.addEventListener(`pointerup`,V,!0),K.addEventListener(`pointercancel`,V,!0),K.addEventListener(`mousedown`,z,!0),K.addEventListener(`mouseup`,V,!0),K.addEventListener(`touchstart`,re,!0),K.addEventListener(`touchmove`,U,!0),K.addEventListener(`touchend`,G,!0)),()=>{s&&(K.removeEventListener(`keydown`,B),K.removeEventListener(`compositionstart`,c),K.removeEventListener(`compositionend`,l)),S&&(K.removeEventListener(`click`,z,!0),K.removeEventListener(`pointerdown`,z,!0),K.removeEventListener(`pointerup`,V,!0),K.removeEventListener(`pointercancel`,V,!0),K.removeEventListener(`mousedown`,z,!0),K.removeEventListener(`mouseup`,V,!0),K.removeEventListener(`touchstart`,re,!0),K.removeEventListener(`touchmove`,U,!0),K.removeEventListener(`touchend`,G,!0)),e.clear(),t.clear(),d(),O.current=!1}},[a,i,s,S,_,r,o,ne,k,B,L,C,m,n,F]),G.useEffect(L,[_,L]);let H=G.useMemo(()=>({onKeyDown:B,[Fn[d]]:e=>{z()&&n.setOpen(!1,ie(re,e.nativeEvent))},...d!==`intentional`&&{onClick(e){z()&&n.setOpen(!1,ie(`trigger-press`,e.nativeEvent))}}}),[B,n,d,z]),U=y(e=>{if(!r||!o||e.button!==0)return;let t=R(e.nativeEvent);j(n.select(`floatingElement`),t)&&(te.current||(te.current=!0,D.current=!1))}),W=y(e=>{!r||!o||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&te.current&&(D.current=!0)}),K=G.useMemo(()=>({onKeyDown:B,onPointerDown:W,onMouseDown:W,onClickCapture:V,onMouseDownCapture(e){V(),U(e)},onPointerDownCapture(e){V(),U(e)},onMouseUpCapture:V,onTouchEndCapture:V,onTouchMoveCapture:V}),[B,V,U,W]);return G.useMemo(()=>o?{reference:H,floating:K,trigger:H}:{},[o,H,K])}var zn=Symbol(`NOT_FOUND`);function Bn(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function Vn(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function Hn(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var Un=e=>Array.isArray(e)?e:[e];function Wn(e){let t=Array.isArray(e[0])?e[0]:e;return Hn(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function Gn(e,t){let n=[],{length:r}=e;for(let i=0;it(e,n.key));if(r>-1){let e=n[r];return r>0&&(n.splice(r,1),n.unshift(e)),e.value}return zn}function i(t,i){r(t)===zn&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())}function a(){return n}function o(){n=[]}return{get:r,put:i,getEntries:a,clear:o}}var Jn=(e,t)=>e===t;function Yn(e){return function(t,n){if(t===null||n===null||t.length!==n.length)return!1;let{length:r}=t;for(let i=0;ii(e.value,t));e&&(t=e.value,o!==0&&o--)}s.put(arguments,t)}return t}return c.clearCache=()=>{s.clear(),c.resetResultsCount()},c.resultsCount=()=>o,c.resetResultsCount=()=>{o=0},c}var Zn=class{constructor(e){this.value=e}deref(){return this.value}},Qn=typeof WeakRef<`u`?WeakRef:Zn,$n=0,er=1;function tr(){return{s:$n,v:void 0,o:null,p:null}}function nr(e,t={}){let n=tr(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e{n=tr(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function rr(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),Bn(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=nr,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=Un(c),p=Un(u),m=Wn(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=Gn(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var ir=rr(nr),ar=Object.assign((e,t=ir)=>{Vn(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>ar});rr({memoize:Xn,memoizeOptions:{maxSize:1,equalityCheck:Object.is}});var or=(e,t,n,r,i,a,...o)=>{if(o.length>0)throw Error(l(1));let s;if(e&&t&&n&&r&&i&&a)s=(o,s,c,l)=>a(e(o,s,c,l),t(o,s,c,l),n(o,s,c,l),r(o,s,c,l),i(o,s,c,l),s,c,l);else if(e&&t&&n&&r&&i)s=(a,o,s,c)=>i(e(a,o,s,c),t(a,o,s,c),n(a,o,s,c),r(a,o,s,c),o,s,c);else if(e&&t&&n&&r)s=(i,a,o,s)=>r(e(i,a,o,s),t(i,a,o,s),n(i,a,o,s),a,o,s);else if(e&&t&&n)s=(r,i,a,o)=>n(e(r,i,a,o),t(r,i,a,o),i,a,o);else if(e&&t)s=(n,r,i,a)=>t(e(n,r,i,a),r,i,a);else if(e)s=e;else throw Error(`Missing arguments`);return s},sr=[],cr=void 0;function lr(){return cr}function ur(e){sr.push(e)}function dr(e){let t=(t,n)=>{let r=d(pr).current,i;try{cr=r;for(let e of sr)e.before(r);i=e(t,n);for(let e of sr)e.after(r);r.didInitialize=!0}finally{cr=void 0}return i};return t.displayName=e.displayName||e.name,t}function fr(e){return G.forwardRef(dr(e))}function pr(){return{didInitialize:!1}}var mr=o(19)?_r:vr;function hr(e,t,n,r,i){return mr(e,t,n,r,i)}function gr(e,t,n,r,i){let a=G.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,yn.useSyncExternalStore)(e.subscribe,a,a)}ur({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,yn.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function _r(e,t,n,r,i){let a=lr();if(!a)return gr(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.didChange=!0)):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i),didChange:!1},a.syncHooks.push(s)),s.value}function vr(e,t,n,r,i){return(0,bn.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var yr=class{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return hr(this,e,t,n,r)}},br=class extends yr{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){G.useDebugValue(e),S(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;S(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;S(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){G.useDebugValue(e);let n=t!==void 0;S(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return G.useDebugValue(e),hr(this,this.selectors[e],t,n,r)}useContextCallback(e,t){G.useDebugValue(e);let n=y(t??p);this.context[e]=n}useStateSetter(e){let t=G.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},xr={open:or(e=>e.open),domReferenceElement:or(e=>e.domReferenceElement),referenceElement:or(e=>e.positionReference??e.referenceElement),floatingElement:or(e=>e.floatingElement),floatingId:or(e=>e.floatingId)},Sr=class extends br{constructor(e){let{nested:t,noEmit:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:xn(),nested:t,noEmit:n,triggerElements:i},xr)}setOpen=(e,t)=>{if((!e||!this.state.open||he(t.event))&&(this.context.dataRef.current.openEvent=e?t.event:void 0),!this.context.noEmit){let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)}this.context.onOpenChange?.(e,t)}},Cr=class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(n!==void 0&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}};function wr(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=e.map(e=>e?.trigger),a=G.useCallback(t=>Tr(t,e,`reference`),t),o=G.useCallback(t=>Tr(t,e,`floating`),n),s=G.useCallback(t=>Tr(t,e,`item`),r),c=G.useCallback(t=>Tr(t,e,`trigger`),i);return G.useMemo(()=>({getReferenceProps:a,getFloatingProps:o,getItemProps:s,getTriggerProps:c}),[a,o,s,c])}function Tr(e,t,n){let r=new Map,i=n===`item`,a={};n===`floating`&&(a.tabIndex=-1,a[I]=``);for(let t in e)i&&e&&(t===`active`||t===`selected`)||(a[t]=e[t]);for(let o=0;or.get(i)?.map(t=>t(...e)).find(e=>e!==void 0))):e[i]=a)}}var Dr=`ArrowUp`,Or=`ArrowDown`,kr=`ArrowLeft`,Ar=`ArrowRight`,jr=`Home`,Mr=new Set([kr,Ar]),Nr=new Set([kr,Ar,jr,`End`]),Pr=new Set([Dr,Or]),Fr=new Set([Dr,Or,jr,`End`]),Ir=new Set([...Mr,...Pr]),Lr=new Set([...Ir,jr,`End`]),Rr=new Set([Dr,Or,kr,Ar,jr,`End`]),zr=new Set([`Shift`,`Control`,`Alt`,`Meta`]);function Br(e){return v(e)&&e.tagName===`INPUT`}function Vr(e){return!!(Br(e)&&e.selectionStart!=null||v(e)&&e.tagName===`TEXTAREA`)}function Hr(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidthe.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLefte.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=Ur(e,t,`top`),r=Wr(e),i=Wr(t);n-i.scrollMarginTope.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function Ur(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function Wr(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function Gr(e){return o(19)?e:e?`true`:void 0}var Kr=G.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n?.getBoundingClientRect();i=`polygon( - 0% 0%, - 100% 0%, - 100% 100%, - 0% 100%, - 0% 0%, - ${e.left}px ${e.top}px, - ${e.left}px ${e.bottom}px, - ${e.right}px ${e.bottom}px, - ${e.right}px ${e.top}px, - ${e.left}px ${e.top}px - )`}return(0,Q.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})}),qr={},Jr={},Yr=``;function Xr(e){if(typeof document>`u`)return!1;let t=E(e);return _(t).innerWidth-t.documentElement.clientWidth>0}function Zr(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=E(e),n=t.documentElement,r=t.body,i=m(n)?n:r,a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function Qr(e){let t=E(e),n=t.documentElement,r=t.body,i=m(n)?n:r,a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function $r(e){let t=E(e),n=t.documentElement,r=t.body,i=_(n),a=0,o=0,s=!1,c=W.create();if(z&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,qr={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},Yr=n.style.scrollBehavior,Jr={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,h=Math.max(0,i.innerWidth-r.clientWidth),g=Math.max(0,i.innerHeight-r.clientHeight),_=parseFloat(c.marginTop)+parseFloat(c.marginBottom),v=parseFloat(c.marginLeft)+parseFloat(c.marginRight),y=m(n)?n:r;if(s=Zr(e),s){n.style.scrollbarGutter=l,y.style.overflowY=`hidden`,y.style.overflowX=`hidden`;return}Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:_||g?`calc(100dvh - ${_+g}px)`:`100dvh`,width:v||h?`calc(100vw - ${v+h}px)`:`100vw`,boxSizing:`border-box`,overflow:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`}function u(){Object.assign(n.style,qr),Object.assign(r.style,Jr),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=Yr)}function d(){u(),c.request(l)}return l(),i.addEventListener(`resize`,d),()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&i.removeEventListener(`resize`,d)}}var ei=new class{lockCount=0;restore=null;timeoutLock=q.create();timeoutUnlock=q.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=E(e).documentElement,n=_(t).getComputedStyle(t).overflowY;if(n===`hidden`||n===`clip`){this.restore=p;return}this.restore=D||!Xr(e)?Qr(e):$r(e)}};function ti(e=!0,t=null){S(()=>{if(e)return ei.acquire(t)},[e,t])}function ni(e){let t=G.useRef(``),n=G.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:G.useCallback(n=>{if(n.detail===0){e(n,`keyboard`);return}`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``},[e]),onPointerDown:n}}function ri(e,t){let n=G.useRef(e),r=y(t);S(()=>{n.current!==e&&r(n.current)},[e,r]),S(()=>{n.current=e},[e])}function ii(e){let[t,n]=G.useState(null),r=y((t,r)=>{e||n(r||(D?`touch`:``))});ri(e,t=>{t&&!e&&n(null)});let{onClick:i,onPointerDown:a}=ni(r);return G.useMemo(()=>({openMethod:t,triggerProps:{onClick:i,onPointerDown:a}}),[t,i,a])}export{Ze as $,Rn as A,Gt as B,Sr as C,me as Ct,dr as D,J as Dt,hr as E,ue as Et,_n as F,Ht as G,It as H,$t as I,Je as J,qe as K,Zt as L,wn as M,Tn as N,fr as O,q as Ot,vn as P,We as Q,Jt as R,Cr as S,he as St,yr as T,pe as Tt,Wt as U,Ft as V,Ut as W,Ke as X,Ye as Y,Ge as Z,Pr as _,Y as _t,Gr as a,X as at,Hr as b,ve as bt,Ir as c,ke as ct,Dr as d,Te as dt,Ue as et,Rr as f,Le as ft,zr as g,De as gt,Nr as h,Ce as ht,Kr as i,Se as it,Pn as j,or as k,ce as kt,kr as l,Ee as lt,Mr as m,Be as mt,ri as n,xe as nt,Lr as o,we as ot,jr as p,Re as pt,Z as q,ti as r,ye as rt,Or as s,Oe as st,ii as t,Xe as tt,Ar as u,Ae as ut,Fr as v,_e as vt,br as w,fe as wt,wr as x,ge as xt,Vr as y,Ve as yt,Yt as z}; \ No newline at end of file +import{a as e,n as t,r as n}from"./compiler-runtime.js";import{n as r,r as i}from"./useStore.js";import{hn as a}from"./awsClient.js";import{d as o,f as s,l as c,m as l,n as u,p as d,s as f,u as p}from"./dist.js";import{C as m,D as h,S as g,_,b as v,c as y,g as b,l as x,o as S,p as C,w,x as T,y as ee}from"./button.js";import{_ as E,a as D,d as te,g as O,m as ne,o as re,t as ie,v as ae,x as k,y as A}from"./createBaseUIEventDetails.js";import{a as j,c as M,l as N,s as P,t as F,u as I}from"./addEventListener.js";var L=e(n()),R=0,z=class e{static create(){return new e}currentId=R;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=R,t()},e)}isStarted(){return this.currentId!==R}clear=()=>{this.currentId!==R&&(clearTimeout(this.currentId),this.currentId=R)};disposeEffect=()=>this.clear};function B(){let e=d(z.create).current;return I(e.disposeEffect),e}var V=typeof navigator<`u`,oe=le(),H=de(),U=ue(),W=typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter:none`),G=oe.platform===`MacIntel`&&oe.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(oe.platform);V&&/firefox/i.test(U);var K=V&&/apple/i.test(navigator.vendor);V&&/Edg/i.test(U);var se=V&&/android/i.test(H)||/android/i.test(U),q=V&&H.toLowerCase().startsWith(`mac`)&&!navigator.maxTouchPoints,ce=U.includes(`jsdom/`);function le(){if(!V)return{platform:``,maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??-1}}function ue(){if(!V)return``;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}function de(){if(!V)return``;let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??``}var J=t(),Y=`data-base-ui-focusable`,X=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,Z=`ArrowLeft`,fe=`ArrowRight`,pe=`ArrowUp`,me=`ArrowDown`;function he(e,t){if(!ee(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(`data-trigger-disabled`);for(let[,e]of t.entries())if(E(e,n))return!e.hasAttribute(`data-trigger-disabled`);return!1}function Q(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function ge(e){return e.matches(`html,body`)}function _e(e){return v(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function ve(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${X}`)!=null}function ye(e){return e?e.getAttribute(`role`)===`combobox`&&_e(e):!1}function be(e){if(!e||ce)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function xe(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function Se(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...Se(e,t.id,n)])}function Ce(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function we(e){e.preventDefault(),e.stopPropagation()}function Te(e){return`nativeEvent`in e}function Ee(e){return e.pointerType===``&&e.isTrusted?!0:se&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function De(e){return ce?!1:!se&&e.width===0&&e.height===0||se&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Oe(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function ke(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var Ae=[`top`,`right`,`bottom`,`left`],je=Math.min,Me=Math.max,Ne=Math.round,Pe=Math.floor,Fe=e=>({x:e,y:e}),Ie={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Le(e,t,n){return Me(e,je(t,n))}function Re(e,t){return typeof e==`function`?e(t):e}function ze(e){return e.split(`-`)[0]}function Be(e){return e.split(`-`)[1]}function Ve(e){return e===`x`?`y`:`x`}function He(e){return e===`y`?`height`:`width`}function Ue(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function We(e){return Ve(Ue(e))}function Ge(e,t,n){n===void 0&&(n=!1);let r=Be(e),i=We(e),a=He(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=et(o)),[o,et(o)]}function Ke(e){let t=et(e);return[qe(e),t,qe(t)]}function qe(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Je=[`left`,`right`],Ye=[`right`,`left`],Xe=[`top`,`bottom`],Ze=[`bottom`,`top`];function Qe(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ye:Je:t?Je:Ye;case`left`:case`right`:return t?Xe:Ze;default:return[]}}function $e(e,t,n,r){let i=Be(e),a=Qe(ze(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(qe)))),a}function et(e){let t=ze(e);return Ie[t]+e.slice(t.length)}function tt(e){return{top:0,right:0,bottom:0,left:0,...e}}function nt(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:tt(e)}function rt(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function it(e,t,n){return Math.floor(e/t)!==n}function at(e,t){return t<0||t>=e.length}function ot(e,t){return $(e.current,{disabledIndices:t})}function st(e,t){return $(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function $(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&ft(e,a,r));return a}function ct(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:a,cols:o,disabledIndices:s,minIndex:c,maxIndex:l,prevIndex:u,stopEvent:d=!1}){let f=u,p;if(t.key===`ArrowUp`?p=`up`:t.key===`ArrowDown`&&(p=`down`),p){let n=[],a=[],m=!1,h=0;{let t=null,r=-1;e.forEach((e,i)=>{if(e==null)return;h+=1;let o=e.closest(`[role="row"]`);o&&(m=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(i),a[i]=r})}let g=!1,_=0;if(m)for(let e of n){let t=e.length;t>_&&(_=t),t!==o&&(g=!0)}let v=g&&h{if(!g||u===-1)return;let c=a[u];if(c==null)return;let l=n[c].indexOf(u),d=o===`up`?-1:1;for(let o=c+d,f=0;f=n.length){if(!r||v)return;if(o=o<0?n.length-1:0,i){let e=Math.min(l,n[o].length-1);o=a[i(t,u,n[o][e]??n[o][0])]??o}}let c=n[o];for(let t=Math.min(l,c.length-1);t>=0;--t){let n=c[t];if(!ft(e,n,s))return n}}},x=t=>{if(!v||u===-1)return;let n=u%y,i=t===`up`?-y:y,a=l-l%y,o=Pe(l/y)+1;for(let t=u-n+i,c=0;cl){if(!r)return;t=t<0?a:0}let i=Math.min(t+y-1,l);for(let r=Math.min(t+n,i);r>=t;--r)if(!ft(e,r,s))return r}};d&&we(t);let S=b(p)??x(p);if(S!==void 0)f=S;else if(u===-1)f=p===`up`?l:c;else if(f=$(e,{startingIndex:u,amount:y,decrement:p===`up`,disabledIndices:s}),r){if(p===`up`&&(u-ye?r:r-y,i&&(f=i(t,u,f))}p===`down`&&u+y>l&&(f=$(e,{startingIndex:u%y-y,amount:y,disabledIndices:s}),i&&(f=i(t,u,f)))}at(e,f)&&(f=u)}if(n===`both`){let n=Pe(u/o);t.key===(a?`ArrowLeft`:`ArrowRight`)&&(d&&we(t),u%o===o-1?r&&(f=$(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):(f=$(e,{startingIndex:u,disabledIndices:s}),r&&it(f,o,n)&&(f=$(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f)))),it(f,o,n)&&(f=u)),t.key===(a?`ArrowRight`:`ArrowLeft`)&&(d&&we(t),u%o===0?r&&(f=$(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f))):(f=$(e,{startingIndex:u,decrement:!0,disabledIndices:s}),r&&it(f,o,n)&&(f=$(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f)))),it(f,o,n)&&(f=u));let c=Pe(l/o)===n;at(e,f)&&(r&&c?(f=t.key===(a?`ArrowRight`:`ArrowLeft`)?l:$(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):f=u)}return f}function lt(e,t,n){let r=[],i=0;return e.forEach(({width:e,height:a},o)=>{let s=!1;for(n&&(i=0);!s;){let n=[];for(let r=0;rr[e]==null)?(n.forEach(e=>{r[e]=o}),s=!0):i+=1}}),[...r]}function ut(e,t,n,r,i){if(e===-1)return-1;let a=n.indexOf(e),o=t[e];switch(i){case`tl`:return a;case`tr`:return o?a+o.width-1:a;case`bl`:return o?a+(o.height-1)*r:a;case`br`:return n.lastIndexOf(e);default:return-1}}function dt(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function ft(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?pt(r)?!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!0:!1}function pt(e){return typeof e.checkVisibility==`function`?e.checkVisibility():x(e).display!==`none`}var mt=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function ht(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return w(n)?n.host:null}function gt(e){for(let t of Array.from(e.children))if(C(t)===`summary`)return t;return null}function _t(e,t){let n=gt(t);return!!n&&(e===n||E(n,e))}function vt(e){let t=e?C(e):``;return e!=null&&e.matches(mt)&&(t!==`summary`||e.parentElement!=null&&C(e.parentElement)===`details`&>(e.parentElement)===e)&&(t!==`details`||gt(e)==null)&&(t!==`input`||e.type!==`hidden`)}function yt(e){if(!vt(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=ht(t)){let n=C(t)===`slot`;if(t.hasAttribute(`inert`)||t!==e&&C(t)===`details`&&!t.open&&!_t(e,t)||t.hasAttribute(`hidden`)||!n&&!pt(t))return!1}return!0}function bt(e){let t=e.tabIndex;if(t<0){let t=C(e);if(t===`details`||t===`audio`||t===`video`||v(e)&&e.isContentEditable)return 0}return t}function xt(e){if(C(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function St(e,t){let n=xt(e);if(!n)return!0;let r=t.find(e=>{let t=xt(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=xt(e);return t?.name===n.name&&t.form===n.form})===n}function Ct(e){if(v(e)&&C(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return v(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function wt(e,t){Ct(e).forEach(e=>{vt(e)&&t.push(e),wt(e,t)})}function Tt(e,t,n){Ct(e).forEach(e=>{v(e)&&e.matches(t)&&n.push(e),Tt(e,t,n)})}function Et(e){return yt(e)&&bt(e)>=0}function Dt(e){let t=[];return wt(e,t),t.filter(yt)}function Ot(e){let t=Dt(e);return t.filter(e=>bt(e)>=0&&St(e,t))}function kt(e,t){let n=Ot(e),r=n.length;if(r===0)return;let i=O(A(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function At(e){return kt(A(e).body,1)||e}function jt(e){return kt(A(e).body,-1)||e}function Mt(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!E(n,r)}function Nt(e){Ot(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Pt(e){let t=[];Tt(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}var Ft=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=j.startingStyle]=`startingStyle`,e[e.endingStyle=j.endingStyle]=`endingStyle`,e.anchorHidden=`data-anchor-hidden`,e.side=`data-side`,e.align=`data-align`,e}({}),It=function(e){return e.popupOpen=`data-popup-open`,e.pressed=`data-pressed`,e}({}),Lt={[It.popupOpen]:``},Rt={[It.popupOpen]:``,[It.pressed]:``},zt={[Ft.open]:``},Bt={[Ft.closed]:``},Vt={[Ft.anchorHidden]:``},Ht={open(e){return e?Lt:null}},Ut={open(e){return e?Rt:null}},Wt={open(e){return e?zt:Bt},anchorHidden(e){return e?Vt:null}};function Gt(...e){return()=>{for(let t=0;t{t.current=t.next}};return t}var Jt={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Yt={...Jt,position:`fixed`,top:0,left:0},Xt={...Jt,position:`absolute`},Zt=L.forwardRef(function(e,t){let[n,r]=L.useState();S(()=>{K&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,J.jsx)(`span`,{...e,ref:t,style:Yt,"aria-hidden":n?void 0:!0,...i,"data-base-ui-focus-guard":``})});function Qt(e){return`data-base-ui-${e}`}var $t=0;function en(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame($t);let a=()=>e?.focus({preventScroll:n});if(i)return a(),p;let o=requestAnimationFrame(a);return $t=o,()=>{$t===o&&(cancelAnimationFrame(o),$t=0)}}var tn={inert:new WeakMap,"aria-hidden":new WeakMap},nn=`data-base-ui-inert`,rn={inert:new WeakSet,"aria-hidden":new WeakSet},an=new WeakMap,on=0;function sn(e){return rn[e]}function cn(e){return e?w(e)?e.host:cn(e.parentNode):null}var ln=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=cn(t);return e.contains(n)?n:null}).filter(e=>e!=null),un=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},dn=(e,t,n)=>{let r=[],i=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{C(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function fn(e,t,n,r,{mark:i=!0,markerIgnoreElements:a=[]}){let o=r?`inert`:n?`aria-hidden`:null,s=null,c=null,l=ln(t,e),u=i?ln(t,a):[],d=new Set(u),f=i?dn(t,un(l),new Set(l)).filter(e=>!d.has(e)):[],p=[],m=[];if(o){let e=tn[o],n=sn(o);c=n,s=e;let r=ln(t,Array.from(t.querySelectorAll(`[aria-live]`))),i=l.concat(r);dn(t,un(i),new Set(i)).forEach(t=>{let r=t.getAttribute(o),i=r!==null&&r!==`false`,a=(e.get(t)||0)+1;e.set(t,a),p.push(t),a===1&&i&&n.add(t),i||t.setAttribute(o,o===`inert`?``:`true`)})}return i&&f.forEach(e=>{let t=(an.get(e)||0)+1;an.set(e,t),m.push(e),t===1&&e.setAttribute(nn,``)}),on+=1,()=>{s&&p.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!c?.has(e)&&o&&e.removeAttribute(o),c?.delete(e))}),i&&m.forEach(e=>{let t=(an.get(e)||0)-1;an.set(e,t),t||e.removeAttribute(nn)}),--on,on||(tn.inert=new WeakMap,tn[`aria-hidden`]=new WeakMap,rn.inert=new WeakSet,rn[`aria-hidden`]=new WeakSet,an=new WeakMap)}}function pn(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0,markerIgnoreElements:a=[]}=t,o=A(e[0]).body;return fn(e,o,n,r,{mark:i,markerIgnoreElements:a})}var mn=e(a()),hn=L.createContext(null),gn=()=>L.useContext(hn),_n=Qt(`portal`);function vn(e={}){let{ref:t,container:n,componentProps:r=c,elementProps:i}=e,a=k(),o=gn()?.portalNode,[s,l]=L.useState(null),[d,f]=L.useState(null),p=y(e=>{e!==null&&f(e)}),m=L.useRef(null);S(()=>{if(n===null){m.current&&(m.current=null,f(null),l(null));return}if(a==null)return;let e=(n&&(g(n)?n:n.current))??o??document.body;if(e==null){m.current&&(m.current=null,f(null),l(null));return}m.current!==e&&(m.current=e,f(null),l(e))},[n,o,a]);let h=u(`div`,r,{ref:[t,p],props:[{id:a,[_n]:``},i]});return{portalNode:d,portalSubtree:s&&h?mn.createPortal(h,s):null}}var yn=L.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,renderGuards:o,style:s,...c}=e,{portalNode:l,portalSubtree:u}=vn({container:r,ref:t,componentProps:e,elementProps:c}),d=L.useRef(null),p=L.useRef(null),m=L.useRef(null),h=L.useRef(null),[g,_]=L.useState(null),v=L.useRef(!1),y=g?.modal,b=g?.open,x=typeof o==`boolean`?o:!!g&&!g.modal&&g.open&&!!l;L.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Mt(e)&&(e.type===`focusin`?v.current&&=(Pt(l),!1):(Nt(l),v.current=!0))}return Gt(F(l,`focusin`,e,!0),F(l,`focusout`,e,!0))},[l,y]),L.useEffect(()=>{!l||b!==!1||(Pt(l),v.current=!1)},[b,l]);let S=L.useMemo(()=>({beforeOutsideRef:d,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,J.jsxs)(L.Fragment,{children:[u,(0,J.jsxs)(hn.Provider,{value:S,children:[x&&l&&(0,J.jsx)(Zt,{"data-type":`outside`,ref:d,onFocus:e=>{Mt(e,l)?m.current?.focus():jt(g?g.domReference:null)?.focus()}}),x&&l&&(0,J.jsx)(`span`,{"aria-owns":l.id,style:f}),l&&mn.createPortal(n,l),x&&l&&(0,J.jsx)(Zt,{"data-type":`outside`,ref:p,onFocus:e=>{Mt(e,l)?h.current?.focus():(At(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,ie(`focus-out`,e.nativeEvent)))}})]})]})}),bn=i(),xn=r();function Sn(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var Cn=L.createContext(null),wn=L.createContext(null),Tn=()=>L.useContext(Cn)?.id||null,En=e=>{let t=L.useContext(wn);return e??t};function Dn(e,t){let n=_(ae(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var On=20,kn=[];function An(){kn=kn.filter(e=>e.deref()?.isConnected)}function jn(e){An(),e&&C(e)!==`body`&&(kn.push(new WeakRef(e)),kn.length>On&&(kn=kn.slice(-On)))}function Mn(){return An(),kn[kn.length-1]?.deref()}function Nn(e){return e?Et(e)?e:Ot(e)[0]||e:null}function Pn(e){return!e||!e.isConnected?!1:typeof e.checkVisibility==`function`?e.checkVisibility():pt(e)}function Fn(e,t){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=Dt(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Et(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),r=e.getAttribute(`tabindex`);t.current.includes(`floating`)||n.length===0?r!==`0`&&e.setAttribute(`tabindex`,`0`):(r!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function In(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,restoreFocus:o=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=`rootStore`in t?t.rootStore:t,_=g.useState(`open`),b=g.useState(`domReferenceElement`),x=g.useState(`floatingElement`),{events:C,dataRef:w}=g.context,T=y(()=>w.current.floatingContext?.nodeId),ee=i===!1,D=ye(b)&&ee,te=L.useRef([`content`]),ne=Kt(i),k=Kt(a),j=Kt(u),M=En(m),I=gn(),R=L.useRef(!1),z=L.useRef(!1),V=L.useRef(!1),oe=L.useRef(null),H=L.useRef(``),U=L.useRef(``),G=L.useRef(null),K=L.useRef(null),se=s(G,p,I?.beforeInsideRef),q=s(K,I?.afterInsideRef),ce=B(),le=B(),ue=N(),de=I!=null,Y=xe(x),X=y((e=Y)=>e?Ot(e):[]),Z=y(()=>h?.().filter(e=>e!=null)??[]);L.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&E(Y,O(A(Y)))&&X().length===0&&!D&&we(e)}return F(A(Y),`keydown`,e)},[r,b,Y,c,te,D,X]),L.useEffect(()=>{if(r||!_)return;let e=A(Y);function t(){V.current=!1}function n(e){let t=ae(e),n=Z();V.current=!(E(x,t)||E(b,t)||E(I?.portalNode,t)||n.some(e=>e===t||E(e,t))),U.current=e.pointerType||`keyboard`,t?.closest(`[data-base-ui-click-trigger]`)&&(z.current=!0)}function i(){U.current=`keyboard`}return Gt(F(e,`pointerdown`,n,!0),F(e,`pointerup`,t,!0),F(e,`pointercancel`,t,!0),F(e,`keydown`,i,!0))},[r,x,b,Y,_,I,Z]),L.useEffect(()=>{if(r||!l)return;let e=A(Y);function t(){z.current=!0,le.start(0,()=>{z.current=!1})}function n(e){let t=ae(e);Et(t)&&(oe.current=t)}function i(t){let n=t.relatedTarget,r=t.currentTarget,i=ae(t);queueMicrotask(()=>{let a=T(),s=g.context.triggerElements,l=Z(),u=n?.hasAttribute(Qt(`focus-guard`))&&[G.current,K.current,I?.beforeInsideRef.current,I?.afterInsideRef.current,I?.beforeOutsideRef.current,I?.afterOutsideRef.current,P(f),P(d)].includes(n),p=!(E(b,n)||E(x,n)||E(n,x)||E(I?.portalNode,n)||l.some(e=>e===n||E(e,n))||n!=null&&s.hasElement(n)||s.hasMatchingElement(e=>E(e,n))||u||M&&(Se(M.nodesRef.current,a).find(e=>E(e.context?.elements.floating,n)||E(e.context?.elements.domReference,n))||Ce(M.nodesRef.current,a).find(e=>[e.context?.elements.floating,xe(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===b&&Y&&Fn(Y,te),o&&r!==b&&!Pn(i)&&O(e)===e.body){if(v(Y)&&(Y.focus(),o===`popup`)){ue.request(()=>{Y.focus()});return}let e=X(),t=oe.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||Y;v(n)&&n.focus()}if(w.current.insideReactTree){w.current.insideReactTree=!1;return}(D||!c)&&n&&p&&!z.current&&(D||n!==Mn())&&(R.current=!0,g.setOpen(!1,ie(re,t)))})}function a(){V.current||(w.current.insideReactTree=!0,ce.start(0,()=>{w.current.insideReactTree=!1}))}let s=v(b)?b:null;if(!(!x&&!s))return Gt(s&&F(s,`focusout`,i),s&&F(s,`pointerdown`,t),x&&F(x,`focusin`,n),x&&F(x,`focusout`,i),x&&I&&F(x,`focusout`,a,!0))},[r,b,x,Y,c,M,I,g,l,o,X,D,T,te,w,ce,le,ue,d,f,Z]),L.useEffect(()=>{if(r||!x||!_)return;let e=Array.from(I?.portalNode?.querySelectorAll(`[${Qt(`portal`)}]`)||[]),t=(M?Ce(M.nodesRef.current,T()):[]).find(e=>ye(e.context?.elements.domReference||null))?.context?.elements.domReference,n=pn([...[x,...e,G.current,K.current,I?.beforeOutsideRef.current,I?.afterOutsideRef.current,...Z()],t,P(f),P(d),D?b:null].filter(e=>e!=null),{ariaHidden:c||D,mark:!1}),i=pn([x,...e].filter(e=>e!=null));return()=>{i(),n()}},[_,r,b,x,c,te,I,D,M,T,d,f,Z]),S(()=>{if(!_||r||!v(Y))return;let e=O(A(Y));queueMicrotask(()=>{let t=ne.current,n=typeof t==`function`?t(j.current||``):t;if(n===void 0||n===!1||E(Y,e))return;let r=null,i=()=>(r??=X(Y),r[0]||Y),a;a=n===!0||n===null?i():P(n),a||=i(),en(a,{preventScroll:a===Y})})},[r,_,Y,ee,X,ne,j]),S(()=>{if(r||!Y)return;let e=A(Y);jn(O(e));function t(e){if(e.open||(H.current=Dn(e.nativeEvent,U.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(R.current=!0),e.reason===`outside-press`)if(e.nested)R.current=!1;else if(Ee(e.nativeEvent)||De(e.nativeEvent))R.current=!1;else{let e=!1;A(Y).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?R.current=!1:R.current=!0}}C.on(`openchange`,t);function n(){let e=k.current,t=typeof e==`function`?e(H.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=b||Mn();return e&&e.isConnected?e:null}let n=b||Mn();return P(t)||n||null}return()=>{C.off(`openchange`,t);let r=O(e),i=Z(),a=E(x,r)||i.some(e=>e===r||E(e,r))||M&&Se(M.nodesRef.current,T(),!1).some(e=>E(e.context?.elements.floating,r)),o=k.current,s=n();queueMicrotask(()=>{let t=Nn(s),n=typeof o!=`boolean`;o&&!R.current&&v(t)&&(!(!n&&t!==r&&r!==e.body)||a)&&t.focus({preventScroll:!0}),R.current=!1})}},[r,x,Y,k,w,C,M,b,T,Z]),S(()=>{if(!W||_||!x)return;let e=O(A(x));!v(e)||!_e(e)||E(x,e)&&e.blur()},[_,x]),S(()=>{if(!(r||!I))return I.setFocusManagerState({modal:c,closeOnFocusOut:l,open:_,onOpenChange:g.setOpen,domReference:b}),()=>{I.setFocusManagerState(null)}},[r,I,c,_,g,l,b]),S(()=>{if(!(r||!Y))return Fn(Y,te),()=>{queueMicrotask(An)}},[r,Y,te]);let fe=!r&&(c?!D:!0)&&(de||c);return(0,J.jsxs)(L.Fragment,{children:[fe&&(0,J.jsx)(Zt,{"data-type":`inside`,ref:se,onFocus:e=>{if(c){let e=X();en(e[e.length-1])}else I?.portalNode&&(R.current=!1,Mt(e,I.portalNode)?At(b)?.focus():P(f??I.beforeOutsideRef)?.focus())}}),n,fe&&(0,J.jsx)(Zt,{"data-type":`inside`,ref:q,onFocus:e=>{c?en(X()[0]):I?.portalNode&&(l&&(R.current=!0),Mt(e,I.portalNode)?jt(b)?.focus():P(d??I.afterOutsideRef)?.focus())}})]})}var Ln={intentional:`onClick`,sloppy:`onPointerDown`};function Rn(){return!1}function zn(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Bn(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),{dataRef:a}=n.context,{enabled:o=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:l=`sloppy`,referencePress:u=Rn,referencePressEvent:d=`sloppy`,bubbles:f,externalTree:p}=t,m=En(p),g=y(typeof c==`function`?c:()=>!1),_=typeof c==`function`?g:c,S=_!==!1,C=y(()=>l),O=L.useRef(!1),re=L.useRef(!1),k=L.useRef(!1),{escapeKey:j,outsidePress:M}=zn(f),N=L.useRef(null),P=B(),I=B(),R=y(()=>{I.clear(),a.current.insideReactTree=!1}),V=L.useRef(!1),oe=L.useRef(``),H=y(u),U=y(e=>{if(!r||!o||!s||e.key!==`Escape`||V.current)return;let t=a.current.floatingContext?.nodeId,i=m?Se(m.nodesRef.current,t):[];if(!j&&i.length>0){let e=!0;if(i.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let c=ie(D,Te(e)?e.nativeEvent:e);n.setOpen(!1,c),!j&&!c.isPropagationAllowed&&e.stopPropagation()}),W=y(()=>{a.current.insideReactTree=!0,I.start(0,R)});L.useEffect(()=>{if(!r||!o)return;a.current.__escapeKeyBubbles=j,a.current.__outsidePressBubbles=M;let e=new z,t=new z;function c(){e.clear(),V.current=!0}function l(){e.start(h()?5:0,()=>{V.current=!1})}function u(){k.current=!0,t.start(0,()=>{k.current=!1})}function d(){O.current=!1,re.current=!1}function f(){let e=oe.current,t=e===`pen`||!e?`mouse`:e,n=C(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function p(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function g(e){let t=a.current.floatingContext?.nodeId,r=m&&Se(m.nodesRef.current,t).some(t=>Q(e,t.context?.elements.floating));return Q(e,n.select(`floatingElement`))||Q(e,n.select(`domReferenceElement`))||r}function y(e){if(p(e)){R();return}if(a.current.insideReactTree){R();return}let r=ae(e),i=`[${Qt(`inert`)}]`,o=ee(r)?r.getRootNode():null,s=Array.from((w(o)?o:A(n.select(`floatingElement`))).querySelectorAll(i)),c=n.context.triggerElements;if(r&&(c.hasElement(r)||c.hasMatchingElement(e=>E(e,r))))return;let l=ee(r)?r:null;for(;l&&!T(l);){let e=b(l);if(T(e)||!ee(e))break;l=e}if(s.length&&ee(r)&&!ge(r)&&!E(r,n.select(`floatingElement`))&&s.every(e=>!E(l,e)))return;if(v(r)&&!(`touches`in e)){let t=T(r),n=x(r),i=/auto|scroll/,a=t||i.test(n.overflowX),o=t||i.test(n.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=n.direction===`rtl`,u=c&&(l?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(u||d)return}if(g(e))return;if(f()===`intentional`&&k.current){t.clear(),k.current=!1;return}if(typeof _==`function`&&!_(e))return;let u=a.current.floatingContext?.nodeId,d=m?Se(m.nodesRef.current,u):[];if(d.length>0){let e=!0;if(d.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}n.setOpen(!1,ie(te,e)),R()}function D(e){f()!==`sloppy`||e.pointerType===`touch`||!n.select(`open`)||!o||Q(e,n.select(`floatingElement`))||Q(e,n.select(`domReferenceElement`))||y(e)}function ne(e){if(f()!==`sloppy`||!n.select(`open`)||!o||Q(e,n.select(`floatingElement`))||Q(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];t&&(N.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},P.start(1e3,()=>{N.current&&(N.current.dismissOnTouchEnd=!1,N.current.dismissOnMouseDown=!1)}))}function I(e,t){let n=ae(e);if(!n)return;let r=F(n,e.type,()=>{t(e),r()})}function L(e){oe.current=`touch`,I(e,ne)}function B(e){P.clear(),e.type===`pointerdown`&&(oe.current=e.pointerType),!(e.type===`mousedown`&&N.current&&!N.current.dismissOnMouseDown)&&I(e,e=>{e.type===`pointerdown`?D(e):y(e)})}function H(e){if(!O.current)return;let n=re.current;if(d(),f()===`intentional`){if(e.type===`pointercancel`){n&&u();return}if(!g(e)){if(n){u();return}typeof _==`function`&&!_(e)||(t.clear(),k.current=!0,R())}}}function W(e){if(f()!==`sloppy`||!N.current||Q(e,n.select(`floatingElement`))||Q(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];if(!t)return;let r=Math.abs(t.clientX-N.current.startX),i=Math.abs(t.clientY-N.current.startY),a=Math.sqrt(r*r+i*i);a>5&&(N.current.dismissOnTouchEnd=!0),a>10&&(y(e),P.clear(),N.current=null)}function G(e){I(e,W)}function K(e){f()!==`sloppy`||!N.current||Q(e,n.select(`floatingElement`))||Q(e,n.select(`domReferenceElement`))||(N.current.dismissOnTouchEnd&&y(e),P.clear(),N.current=null)}function se(e){I(e,K)}let q=A(i),ce=Gt(s&&Gt(F(q,`keydown`,U),F(q,`compositionstart`,c),F(q,`compositionend`,l)),S&&Gt(F(q,`click`,B,!0),F(q,`pointerdown`,B,!0),F(q,`pointerup`,H,!0),F(q,`pointercancel`,H,!0),F(q,`mousedown`,B,!0),F(q,`mouseup`,H,!0),F(q,`touchstart`,L,!0),F(q,`touchmove`,G,!0),F(q,`touchend`,se,!0)));return()=>{ce(),e.clear(),t.clear(),d(),k.current=!1}},[a,i,s,S,_,r,o,j,M,U,R,C,m,n,P]),L.useEffect(R,[_,R]);let G=L.useMemo(()=>({onKeyDown:U,[Ln[d]]:e=>{H()&&n.setOpen(!1,ie(ne,e.nativeEvent))},...d!==`intentional`&&{onClick(e){H()&&n.setOpen(!1,ie(`trigger-press`,e.nativeEvent))}}}),[U,n,d,H]),K=y(e=>{if(!r||!o||e.button!==0)return;let t=ae(e.nativeEvent);E(n.select(`floatingElement`),t)&&(O.current||(O.current=!0,re.current=!1))}),se=y(e=>{!r||!o||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&O.current&&(re.current=!0)}),q=L.useMemo(()=>({onKeyDown:U,onPointerDown:se,onMouseDown:se,onClickCapture:W,onMouseDownCapture(e){W(),K(e)},onPointerDownCapture(e){W(),K(e)},onMouseUpCapture:W,onTouchEndCapture:W,onTouchMoveCapture:W}),[U,W,K,se]);return L.useMemo(()=>o?{reference:G,floating:q,trigger:G}:{},[o,G,q])}var Vn=(e,t,n,r,i,a,...o)=>{if(o.length>0)throw Error(l(1));let s;if(e&&t&&n&&r&&i&&a)s=(o,s,c,l)=>a(e(o,s,c,l),t(o,s,c,l),n(o,s,c,l),r(o,s,c,l),i(o,s,c,l),s,c,l);else if(e&&t&&n&&r&&i)s=(a,o,s,c)=>i(e(a,o,s,c),t(a,o,s,c),n(a,o,s,c),r(a,o,s,c),o,s,c);else if(e&&t&&n&&r)s=(i,a,o,s)=>r(e(i,a,o,s),t(i,a,o,s),n(i,a,o,s),a,o,s);else if(e&&t&&n)s=(r,i,a,o)=>n(e(r,i,a,o),t(r,i,a,o),i,a,o);else if(e&&t)s=(n,r,i,a)=>t(e(n,r,i,a),r,i,a);else if(e)s=e;else throw Error(`Missing arguments`);return s},Hn=[],Un=void 0;function Wn(){return Un}function Gn(e){Hn.push(e)}function Kn(e){let t=(t,n)=>{let r=d(Jn).current,i;try{Un=r;for(let e of Hn)e.before(r);i=e(t,n);for(let e of Hn)e.after(r);r.didInitialize=!0}finally{Un=void 0}return i};return t.displayName=e.displayName||e.name,t}function qn(e){return L.forwardRef(Kn(e))}function Jn(){return{didInitialize:!1}}var Yn=o(19)?Qn:$n;function Xn(e,t,n,r,i){return Yn(e,t,n,r,i)}function Zn(e,t,n,r,i){let a=L.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,bn.useSyncExternalStore)(e.subscribe,a,a)}Gn({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,bn.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Qn(e,t,n,r,i){let a=Wn();if(!a)return Zn(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.didChange=!0)):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i),didChange:!1},a.syncHooks.push(s)),s.value}function $n(e,t,n,r,i){return(0,xn.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var er=class{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Xn(this,e,t,n,r)}},tr=class extends er{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){L.useDebugValue(e),S(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;S(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;S(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){L.useDebugValue(e);let n=t!==void 0;S(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return L.useDebugValue(e),Xn(this,this.selectors[e],t,n,r)}useContextCallback(e,t){L.useDebugValue(e);let n=y(t??p);this.context[e]=n}useStateSetter(e){let t=L.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},nr={open:Vn(e=>e.open),transitionStatus:Vn(e=>e.transitionStatus),domReferenceElement:Vn(e=>e.domReferenceElement),referenceElement:Vn(e=>e.positionReference??e.referenceElement),floatingElement:Vn(e=>e.floatingElement),floatingId:Vn(e=>e.floatingId)},rr=class extends tr{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:Sn(),nested:n,triggerElements:i},nr),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&ke(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{if(this.syncOnly){this.context.onOpenChange?.(e,t);return}this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}},ir=class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(n!==void 0&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}};function ar(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=e.map(e=>e?.trigger),a=L.useCallback(t=>or(t,e,`reference`),t),o=L.useCallback(t=>or(t,e,`floating`),n),s=L.useCallback(t=>or(t,e,`item`),r),c=L.useCallback(t=>or(t,e,`trigger`),i);return L.useMemo(()=>({getReferenceProps:a,getFloatingProps:o,getItemProps:s,getTriggerProps:c}),[a,o,s,c])}function or(e,t,n){let r=new Map,i=n===`item`,a={};n===`floating`&&(a.tabIndex=-1,a[Y]=``);for(let t in e)i&&e&&(t===`active`||t===`selected`)||(a[t]=e[t]);for(let o=0;or.get(i)?.map(t=>t(...e)).find(e=>e!==void 0))):e[i]=a)}}var cr=`ArrowUp`,lr=`ArrowDown`,ur=`ArrowLeft`,dr=`ArrowRight`,fr=`Home`,pr=new Set([ur,dr]),mr=new Set([ur,dr,fr,`End`]),hr=new Set([cr,lr]),gr=new Set([cr,lr,fr,`End`]),_r=new Set([...pr,...hr]),vr=new Set([..._r,fr,`End`]),yr=new Set([cr,lr,ur,dr,fr,`End`]),br=new Set([`Shift`,`Control`,`Alt`,`Meta`]);function xr(e){return v(e)&&e.tagName===`INPUT`}function Sr(e){return!!(xr(e)&&e.selectionStart!=null||v(e)&&e.tagName===`TEXTAREA`)}function Cr(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidthe.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLefte.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=wr(e,t,`top`),r=Tr(e),i=Tr(t);n-i.scrollMarginTope.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function wr(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function Tr(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function Er(e){return o(19)?e:e?`true`:void 0}var Dr=L.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,J.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function Or(e){let t=L.useRef(!0);t.current&&(t.current=!1,e())}var kr={},Ar={},jr=``;function Mr(e){if(typeof document>`u`)return!1;let t=A(e);return _(t).innerWidth-t.documentElement.clientWidth>0}function Nr(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=A(e),n=t.documentElement,r=t.body,i=m(n)?n:r,a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function Pr(e){let t=A(e),n=t.documentElement,r=t.body,i=m(n)?n:r,a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function Fr(e){let t=A(e),n=t.documentElement,r=t.body,i=_(n),a=0,o=0,s=!1,c=M.create();if(W&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,kr={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},jr=n.style.scrollBehavior,Ar={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,h=Math.max(0,i.innerWidth-r.clientWidth),g=Math.max(0,i.innerHeight-r.clientHeight),_=parseFloat(c.marginTop)+parseFloat(c.marginBottom),v=parseFloat(c.marginLeft)+parseFloat(c.marginRight),y=m(n)?n:r;if(s=Nr(e),s){n.style.scrollbarGutter=l,y.style.overflowY=`hidden`,y.style.overflowX=`hidden`;return}Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:_||g?`calc(100dvh - ${_+g}px)`:`100dvh`,width:v||h?`calc(100vw - ${v+h}px)`:`100vw`,boxSizing:`border-box`,overflow:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`}function u(){Object.assign(n.style,kr),Object.assign(r.style,Ar),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=jr)}function d(){u(),c.request(l)}l();let f=F(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var Ir=new class{lockCount=0;restore=null;timeoutLock=z.create();timeoutUnlock=z.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=A(e).documentElement,n=_(t).getComputedStyle(t).overflowY;if(n===`hidden`||n===`clip`){this.restore=p;return}this.restore=G||!Mr(e)?Pr(e):Fr(e)}};function Lr(e=!0,t=null){S(()=>{if(e)return Ir.acquire(t)},[e,t])}function Rr(e){let t=L.useRef(``),n=L.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:L.useCallback(n=>{if(n.detail===0){e(n,`keyboard`);return}`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``},[e]),onPointerDown:n}}function zr(e,t){let n=L.useRef(e),r=y(t);S(()=>{n.current!==e&&r(n.current)},[e,r]),S(()=>{n.current=e},[e])}function Br(e){let[t,n]=L.useState(null),r=y((t,r)=>{e||n(r||(G?`touch`:``))});zr(e,t=>{t&&!e&&n(null)});let{onClick:i,onPointerDown:a}=Rr(r);return L.useMemo(()=>({openMethod:t,triggerProps:{onClick:i,onPointerDown:a}}),[t,i,a])}export{st as $,Vn as A,xe as At,Xt as B,q as Bt,ir as C,Ae as Ct,Xn as D,De as Dt,er as E,Ee as Et,yn as F,be as Ft,Wt as G,Gt as H,W as Ht,vn as I,me as It,lt as J,Ut as K,en as L,Z as Lt,In as M,he as Mt,Tn as N,ye as Nt,Kn as O,we as Ot,En as P,_e as Pt,ct as Q,Qt as R,fe as Rt,ar as S,Ne as St,tr as T,Oe as Tt,Ft as U,z as Ut,Kt as V,K as Vt,It as W,B as Wt,ut as X,$ as Y,dt as Z,br as _,ze as _t,Dr as a,Fe as at,Sr as b,je as bt,lr as c,Be as ct,dr as d,He as dt,ot as et,cr as f,Ke as ft,mr as g,nt as gt,pr as h,et as ht,Or as i,Le as it,Bn as j,ve as jt,qn as k,Se as kt,_r as l,We as lt,fr as m,$e as mt,zr as n,at as nt,Er as o,Re as ot,yr as p,Ve as pt,Ht as q,Lr as r,ft as rt,vr as s,Pe as st,Br as t,pt as tt,ur as u,Ge as ut,hr as v,Ue as vt,rr as w,ke as wt,Cr as x,rt as xt,gr as y,Me as yt,Yt as z,pe as zt}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/usePositioner.js b/spinifex/services/spinifexui/frontend/dist/assets/usePositioner.js new file mode 100644 index 000000000..fc9eb79f4 --- /dev/null +++ b/spinifex/services/spinifexui/frontend/dist/assets/usePositioner.js @@ -0,0 +1 @@ +import{a as e,r as t}from"./compiler-runtime.js";import{hn as n}from"./awsClient.js";import{i as r,l as i,n as a,p as o}from"./dist.js";import{C as s,D as c,E as l,T as u,_ as d,b as f,c as p,d as m,f as h,g,h as _,l as v,m as y,o as b,p as x,u as S,v as C,x as w,y as T}from"./button.js";import{x as E,y as D}from"./createBaseUIEventDetails.js";import{C as O,Ct as k,G as A,N as j,P as M,St as N,V as P,_t as F,at as I,bt as L,ct as R,dt as ee,ft as te,gt as z,ht as ne,it as re,lt as ie,mt as ae,ot as B,pt as V,st as H,ut as oe,vt as U,w as se,xt as W,yt as G}from"./useOpenInteractionType.js";var K=e(t(),1);function ce(e,t,n){let{reference:r,floating:i}=e,a=U(t),o=ie(t),s=ee(o),c=F(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(R(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function le(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=B(t,e),p=z(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=W(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=W(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var ue=50,q=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:le},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ce(l,r,c),f=r,p=0,m={};for(let n=0;ne<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==U(t))||T.every(e=>U(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=U(e.placement);return t===_||t===`y`}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]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function de(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fe(e){return k.some(t=>e[t]>=0)}var Y=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=B(e,t);switch(i){case`referenceHidden`:{let e=de(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:fe(e)}}}case`escaped`:{let e=de(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:fe(e)}}}default:return{}}}}},pe=new Set([`left`,`top`]);async function me(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=F(n),s=R(n),c=U(n)===`y`,l=pe.has(o)?-1:1,u=a&&c?-1:1,d=B(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var he=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await me(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},X=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=B(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=U(F(i)),p=V(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=re(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=re(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},ge=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=B(e,t),u={x:n,y:r},d=U(i),f=V(d),p=u[f],m=u[d],h=B(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;pn&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=pe.has(F(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);mr&&(m=r)}return{[f]:p,[d]:m}}}},_e=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=B(e,t),u=await o.detectOverflow(t,l),d=F(i),f=R(i),p=U(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=L(h-u[g],v),x=L(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=G(u.left,0),t=G(u.right,0),n=G(u.top,0),r=G(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:G(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:G(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function ve(e){let t=v(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=f(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=N(n)!==a||N(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ye(e){return T(e)?e:e.contextElement}function Z(e){let t=ye(e);if(!f(t))return I(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ve(t),o=(a?N(n.width):n.width)/r,s=(a?N(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var be=I(0);function Q(e){let t=d(e);return!c()||!t.visualViewport?be:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==d(e)?!1:t}function $(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ye(e),o=I(1);t&&(r?T(r)&&(o=Z(r)):o=Z(e));let s=xe(a,n,r)?Q(a):I(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,f=i.height/o.y;if(a){let e=d(a),t=r&&T(r)?d(r):r,n=e,i=h(n);for(;i&&r&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=v(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,f*=e.y,c+=a,l+=o,n=d(i),i=h(n)}}return W({width:u,height:f,x:c,y:l})}function Se(e,t){let n=y(e).scrollLeft;return t?t.left+n:$(m(e)).left+n}function Ce(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Se(e,n),y:n.top+t.scrollTop}}function we(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=m(r),c=t?l(t.floating):!1;if(r===o||c&&a)return n;let u={scrollLeft:0,scrollTop:0},d=I(1),p=I(0),h=f(r);if((h||!h&&!a)&&((x(r)!==`body`||s(o))&&(u=y(r)),h)){let e=$(r);d=Z(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}let g=o&&!h&&!a?Ce(o,u):I(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+p.x+g.x,y:n.y*d.y-u.scrollTop*d.y+p.y+g.y}}function Te(e){return Array.from(e.getClientRects())}function Ee(e){let t=m(e),n=y(e),r=e.ownerDocument.body,i=G(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=G(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Se(e),s=-n.scrollTop;return v(r).direction===`rtl`&&(o+=G(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var De=25;function Oe(e,t){let n=d(e),r=m(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;let e=c();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,l=i.offsetTop)}let u=Se(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=De&&(a-=o)}else u<=De&&(a+=u);return{width:a,height:o,x:s,y:l}}function ke(e,t){let n=$(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=f(e)?Z(e):I(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ae(e,t,n){let r;if(t===`viewport`)r=Oe(e,n);else if(t===`document`)r=Ee(m(e));else if(T(t))r=ke(t,n);else{let n=Q(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return W(r)}function je(e,t){let n=g(e);return n===t||!T(n)||w(n)?!1:v(n).position===`fixed`||je(n,t)}function Me(e,t){let n=t.get(e);if(n)return n;let r=_(e,[],!1).filter(e=>T(e)&&x(e)!==`body`),i=null,a=v(e).position===`fixed`,o=a?g(e):e;for(;T(o)&&!w(o);){let t=v(o),n=C(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||s(o)&&!n&&je(e,o))?r=r.filter(e=>e!==o):i=t,o=g(o)}return t.set(e,r),r}function Ne(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?l(t)?[]:Me(t,this._c):[].concat(n),r],o=Ae(t,a[0],i),s=o.top,c=o.right,u=o.bottom,d=o.left;for(let e=1;e{o(!1,1e-7)},1e3)}n===1&&!He(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function We(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=ye(e),u=i||a?[...l?_(l):[],...t?_(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ue(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?$(e):null;c&&g();function g(){let t=$(e);h&&!He(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ge=he,Ke=X,qe=J,Je=_e,Ye=Y,Xe=ge,Ze=(e,t,n)=>{let r=new Map,i={platform:Ve,...n},a={...i.platform,_c:r};return q(e,t,{...i,platform:a})},Qe=e(n(),1),$e=typeof document<`u`?K.useLayoutEffect:function(){};function et(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!et(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!et(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function tt(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nt(e,t){let n=tt(e);return Math.round(t*n)/n}function rt(e){let t=K.useRef(e);return $e(()=>{t.current=e}),t}function it(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=K.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=K.useState(r);et(f,r)||p(r);let[m,h]=K.useState(null),[g,_]=K.useState(null),v=K.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=K.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=K.useRef(null),C=K.useRef(null),w=K.useRef(u),T=c!=null,E=rt(c),D=rt(i),O=rt(l),k=K.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Ze(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!et(w.current,t)&&(w.current=t,Qe.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);$e(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=K.useRef(!1);$e(()=>(A.current=!0,()=>{A.current=!1}),[]),$e(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=K.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=K.useMemo(()=>({reference:b,floating:x}),[b,x]),N=K.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=nt(M.floating,u.x),r=nt(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...tt(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return K.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var at=(e,t)=>{let n=Ge(e);return{name:n.name,fn:n.fn,options:[e,t]}},ot=(e,t)=>{let n=Ke(e);return{name:n.name,fn:n.fn,options:[e,t]}},st=(e,t)=>({fn:Xe(e).fn,options:[e,t]}),ct=(e,t)=>{let n=qe(e);return{name:n.name,fn:n.fn,options:[e,t]}},lt=(e,t)=>{let n=Je(e);return{name:n.name,fn:n.fn,options:[e,t]}},ut=(e,t)=>{let n=Ye(e);return{name:n.name,fn:n.fn,options:[e,t]}};function dt(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=E(),a=j()!=null,s=o(()=>new se({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new O,floatingId:i,syncOnly:!1,nested:a})).current;return b(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=T(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),s.update(e)},[t,i,r.reference,r.floating,s]),s.context.onOpenChange=n,s.context.nested=a,s}function ft(e={}){let{nodeId:t,externalTree:n}=e,r=dt(e),i=e.rootContext||r,a={reference:i.useState(`referenceElement`),floating:i.useState(`floatingElement`),domReference:i.useState(`domReferenceElement`)},[o,s]=K.useState(null),c=K.useRef(null),l=M(n);b(()=>{a.domReference&&(c.current=a.domReference)},[a.domReference]);let u=it({...e,elements:{...a,...o&&{reference:o}}}),d=K.useCallback(e=>{let t=T(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),u.refs.setReference(t)},[u.refs]),[f,p]=K.useState(void 0),[m,h]=K.useState(null);i.useSyncedValue(`referenceElement`,f??null);let g=T(f)?f:null;i.useSyncedValue(`domReferenceElement`,f===void 0?a.domReference:g),i.useSyncedValue(`floatingElement`,m);let _=K.useCallback(e=>{(T(e)||e===null)&&(c.current=e,p(e)),(T(u.refs.reference.current)||u.refs.reference.current===null||e!==null&&!T(e))&&u.refs.setReference(e)},[u.refs,p]),v=K.useCallback(e=>{h(e),u.refs.setFloating(e)},[u.refs]),y=K.useMemo(()=>({...u.refs,setReference:_,setFloating:v,setPositionReference:d,domReference:c}),[u.refs,_,v,d]),x=K.useMemo(()=>({...u.elements,domReference:a.domReference}),[u.elements,a.domReference]),S=i.useState(`open`),C=i.useState(`floatingId`),w=K.useMemo(()=>({...u,dataRef:i.context.dataRef,open:S,onOpenChange:i.setOpen,events:i.context.events,floatingId:C,refs:y,elements:x,nodeId:t,rootStore:i}),[u,y,x,t,i,S,C]);return b(()=>{i.context.dataRef.current.floatingContext=w;let e=l?.nodesRef.current.find(e=>e.id===t);e&&(e.context=w)}),K.useMemo(()=>({...u,context:w,refs:y,elements:x,rootStore:i}),[u,y,x,w,i])}var pt=K.createContext(void 0);function mt(){return K.useContext(pt)?.direction??`ltr`}var ht=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0,offsetParent:d=`real`}=B(e,t)||{};if(l==null)return{};let f=z(u),p={x:n,y:r},m=ie(i),h=ee(m),g=await o.getDimensions(l),_=m===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,b=_?`clientHeight`:`clientWidth`,x=a.reference[h]+a.reference[m]-p[m]-a.floating[h],S=p[m]-a.reference[m],C=d===`real`?await o.getOffsetParent?.(l):s.floating,w=s.floating[b]||a.floating[h];(!w||!await o.isElement?.(C))&&(w=s.floating[b]||a.floating[h]);let T=x/2-S/2,E=w/2-g[h]/2-1,D=Math.min(f[v],E),O=Math.min(f[y],E),k=D,A=w-g[h]-O,j=w/2-g[h]/2+T,M=re(k,j,A),N=!c.arrow&&R(i)!=null&&j!==M&&a.reference[h]/2-(j({...ht(e),options:[e,t]}),_t={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0;return{data:{referenceHidden:(await ut().fn(e)).data?.referenceHidden||a}}}},vt={sideX:`left`,sideY:`top`},yt={name:`adaptiveOrigin`,async fn(e){let{x:t,y:n,rects:{floating:r},elements:{floating:i},platform:a,strategy:o,placement:s}=e,c=d(i),l=c.getComputedStyle(i);if(!(l.transitionDuration!==`0s`&&l.transitionDuration!==``))return{x:t,y:n,data:vt};let u=await a.getOffsetParent?.(i),f={width:0,height:0};if(o===`fixed`&&c?.visualViewport)f={width:c.visualViewport.width,height:c.visualViewport.height};else if(u===c){let e=D(i);f={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await a.isElement?.(u)&&(f=await a.getDimensions(u));let p=F(s),m=t,h=n;p===`left`&&(m=f.width-(t+r.width)),p===`top`&&(h=f.height-(n+r.height));let g=p===`left`?`right`:vt.sideX,_=p===`top`?`bottom`:vt.sideY;return{x:m,y:h,data:{sideX:g,sideY:_}}}};function bt(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function xt(e,t,n){let{rects:r,placement:i}=e;return{side:bt(t,F(i),n),align:R(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function St(e){let{anchor:t,positionMethod:n=`absolute`,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,collisionBoundary:s,collisionPadding:c=5,sticky:l=!1,arrowPadding:u=5,disableAnchorTracking:f=!1,keepMounted:m=!1,floatingRootContext:h,mounted:g,collisionAvoidance:_,shiftCrossAxis:v=!1,nodeId:y,adaptiveOrigin:x,lazyFlip:S=!1,externalTree:C}=e,[w,T]=K.useState(null);!g&&w!==null&&T(null);let E=_.side||`flip`,O=_.align||`flip`,k=_.fallbackAxisSide||`end`,A=typeof t==`function`?t:void 0,j=p(A),M=A?j:t,N=P(t),I=P(g),L=mt()===`rtl`,ee=w||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":L?`left`:`right`,"inline-start":L?`right`:`left`}[r],te=a===`center`?ee:`${ee}-${a}`,z=c,ne=+(r===`bottom`),re=+(r===`top`),ie=+(r===`right`),ae=+(r===`left`);typeof z==`number`?z={top:z+ne,right:z+ae,bottom:z+re,left:z+ie}:z&&={top:(z.top||0)+ne,right:(z.right||0)+ae,bottom:(z.bottom||0)+re,left:(z.left||0)+ie};let B={boundary:s===`clipping-ancestors`?`clippingAncestors`:s,padding:z},V=K.useRef(null),H=P(i),oe=P(o),se=[at(e=>{let t=xt(e,r,L),n=typeof H.current==`function`?H.current(t):H.current,i=typeof oe.current==`function`?oe.current(t):oe.current;return{mainAxis:n,crossAxis:i,alignmentAxis:i}},[typeof i==`function`?0:i,typeof o==`function`?0:o,L,r])],W=O===`none`&&E!==`shift`,G=!W&&(l||v||E===`shift`),ce=E===`none`?null:ct({...B,padding:{top:z.top+1,right:z.right+1,bottom:z.bottom+1,left:z.left+1},mainAxis:!v&&E===`flip`,crossAxis:O===`flip`?`alignment`:!1,fallbackAxisSideDirection:k}),le=W?null:ot(e=>{let t=D(e.elements.floating).documentElement;return{...B,rootBoundary:v?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:O!==`none`,crossAxis:G,limiter:l||v?void 0:st(e=>{if(!V.current)return{};let{width:t,height:n}=V.current.getBoundingClientRect(),r=U(F(e.placement)),i=r===`y`?t:n,a=r===`y`?z.left+z.right:z.top+z.bottom;return{offset:i/2+a/2}})}},[B,l,v,z,O]);E===`shift`||O===`shift`||a===`center`?se.push(le,ce):se.push(ce,le),se.push(lt({...B,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!I.current)return;let i=e.style;i.setProperty(`--available-width`,`${t}px`),i.setProperty(`--available-height`,`${n}px`);let a=d(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,f=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(`--anchor-width`,`${u}px`),i.setProperty(`--anchor-height`,`${f}px`)}}),gt(()=>({element:V.current||D(V.current).createElement(`div`),padding:u,offsetParent:`floating`}),[u]),{name:`transformOrigin`,fn(e){let{elements:t,middlewareData:n,placement:a,rects:o,y:s}=e,c=F(a),l=U(c),u=V.current,d=n.arrow?.x||0,f=n.arrow?.y||0,p=u?.clientWidth||0,m=u?.clientHeight||0,h=d+p/2,g=f+m/2,_=Math.abs(n.shift?.y||0),v=o.reference.height/2,y=typeof i==`function`?i(xt(e,r,L)):i,b=_>y,x={top:`${h}px calc(100% + ${y}px)`,bottom:`${h}px ${-y}px`,left:`calc(100% + ${y}px) ${g}px`,right:`${-y}px ${g}px`}[c],S=`${h}px ${o.reference.y+v-s}px`;return t.floating.style.setProperty(`--transform-origin`,G&&l===`y`&&b?S:x),{}}},_t,x),b(()=>{!g&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[g,h]);let ue=K.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<`u`,layoutShift:!f&&typeof IntersectionObserver<`u`}),[f]),{refs:q,elements:J,x:de,y:fe,middlewareData:Y,update:pe,placement:me,context:he,isPositioned:X,floatingStyles:ge}=ft({rootContext:h,open:m?g:void 0,placement:te,middleware:se,strategy:n,whileElementsMounted:m?void 0:(...e)=>We(...e,ue),nodeId:y,externalTree:C}),{sideX:_e,sideY:ve}=Y.adaptiveOrigin||vt,ye=X?n:`fixed`,Z=K.useMemo(()=>{let e=x?{position:ye,[_e]:de,[ve]:fe}:{position:ye,...ge};return X||(e.opacity=0),e},[x,ye,_e,de,ve,fe,ge,X]),be=K.useRef(null);b(()=>{if(!g)return;let e=N.current,t=typeof e==`function`?e():e,n=(Ct(t)?t.current:t)||null;n!==be.current&&(q.setPositionReference(n),be.current=n)},[g,q,M,N]),K.useEffect(()=>{if(!g)return;let e=N.current;typeof e!=`function`&&Ct(e)&&e.current!==be.current&&(q.setPositionReference(e.current),be.current=e.current)},[g,q,M,N]),K.useEffect(()=>{if(m&&g&&J.domReference&&J.floating)return We(J.domReference,J.floating,pe,ue)},[m,g,J,pe,ue]);let Q=F(me),xe=bt(r,Q,L),$=R(me)||`center`,Se=!!Y.hide?.referenceHidden;b(()=>{S&&g&&X&&T(Q)},[S,g,X,Q]);let Ce=K.useMemo(()=>({position:`absolute`,top:Y.arrow?.y,left:Y.arrow?.x}),[Y.arrow]),we=Y.arrow?.centerOffset!==0;return K.useMemo(()=>({positionerStyles:Z,arrowStyles:Ce,arrowRef:V,arrowUncentered:we,side:xe,align:$,physicalSide:Q,anchorHidden:Se,refs:q,context:he,isPositioned:X,update:pe}),[Z,Ce,V,we,xe,$,Q,Se,q,he,X,pe])}function Ct(e){return e!=null&&`current`in e}function wt(e){return e===`starting`?r:i}function Tt(e,t,{styles:n,transitionStatus:r,props:i,refs:o,hidden:s,inert:c=!1}){let l={...n};return c&&(l.pointerEvents=`none`),a(`div`,e,{state:t,ref:o,props:[{role:`presentation`,hidden:s,style:l},wt(r),i],stateAttributesMapping:A})}export{mt as a,yt as i,wt as n,dt as o,St as r,Ve as s,Tt as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/useTransitionStatus.js b/spinifex/services/spinifexui/frontend/dist/assets/useTransitionStatus.js deleted file mode 100644 index 4cb204724..000000000 --- a/spinifex/services/spinifexui/frontend/dist/assets/useTransitionStatus.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,r as t}from"./compiler-runtime.js";import{hn as n}from"./awsClient.js";import{p as r}from"./dist.js";import{c as i,o as a}from"./button.js";var o=e(n()),s=e(t()),c=[];function l(e){s.useEffect(e,c)}var u=null;globalThis.requestAnimationFrame;var d=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n=this.callbacks.length||(this.callbacks[t]=null,--this.callbacksCount)}},f=class e{static create(){return new e}static request(e){return d.request(e)}static cancel(e){return d.cancel(e)}currentId=u;request(e){this.cancel(),this.currentId=d.request(()=>{this.currentId=u,e()})}cancel=()=>{this.currentId!==u&&(d.cancel(this.currentId),this.currentId=u)};disposeEffect=()=>this.cancel};function p(){let e=r(f.create).current;return l(e.disposeEffect),e}function m(e){return e==null?e:`current`in e?e.current:e}var h=function(e){return e.startingStyle=`data-starting-style`,e.endingStyle=`data-ending-style`,e}({}),g={[h.startingStyle]:``},_={[h.endingStyle]:``},v={transitionStatus(e){return e===`starting`?g:e===`ending`?_:null}};function y(e,t=!1,n=!0){let r=p();return i((i,a=null)=>{r.cancel();function s(){o.flushSync(i)}let c=m(e);if(c==null)return;let l=c;if(typeof l.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED)i();else{function e(){let e=h.startingStyle;if(!l.hasAttribute(e)){r.request(i);return}let t=new MutationObserver(()=>{l.hasAttribute(e)||(t.disconnect(),i())});t.observe(l,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}function i(){Promise.all(l.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||s()}).catch(()=>{let e=l.getAnimations();if(n){if(a?.aborted)return;s()}else e.length>0&&e.some(e=>e.pending||e.playState!==`finished`)&&i()})}if(t){e();return}r.request(i)}})}function b(e){let{enabled:t=!0,open:n,ref:r,onComplete:a}=e,o=i(a),c=y(r,n,!1);s.useEffect(()=>{if(!t)return;let e=new AbortController;return c(o,e.signal),()=>{e.abort()}},[t,n,o,c])}function x(e,t=!1,n=!1){let[r,i]=s.useState(e&&t?`idle`:void 0),[o,c]=s.useState(e);return e&&!o&&(c(!0),i(`starting`)),!e&&o&&r!==`ending`&&!n&&i(`ending`),!e&&!o&&r===`ending`&&i(void 0),a(()=>{if(!e&&o&&r!==`ending`&&n){let e=f.request(()=>{i(`ending`)});return()=>{f.cancel(e)}}},[e,o,r,n]),a(()=>{if(!e||t)return;let n=f.request(()=>{i(void 0)});return()=>{f.cancel(n)}},[t,e]),a(()=>{if(!e||!t)return;e&&o&&r!==`idle`&&i(`starting`);let n=f.request(()=>{i(`idle`)});return()=>{f.cancel(n)}},[t,e,o,i,r]),s.useMemo(()=>({mounted:o,setMounted:c,transitionStatus:r}),[o,r])}export{v as a,p as c,h as i,l,b as n,m as o,y as r,f as s,x as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/index.html b/spinifex/services/spinifexui/frontend/dist/index.html index 158918fef..cb1c1508b 100644 --- a/spinifex/services/spinifexui/frontend/dist/index.html +++ b/spinifex/services/spinifexui/frontend/dist/index.html @@ -22,11 +22,11 @@ - + - + From acefd1cfd400f305a92e6f0134f6bbb2a7b13fb1 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:19:04 +1000 Subject: [PATCH 08/10] chore: make README have go 1.26 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e86479cb..5dfd1dfd9 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,9 @@

- Go + Go License - Docs - CI + Docs

From 1ca8621e16781b150ea989b17faf0d6a54ac28bc Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Tue, 21 Apr 2026 11:14:29 +1000 Subject: [PATCH 09/10] fix: allow mulga feat branch --- .github/workflows/e2e.yml | 64 ++++++++++++++++++++++++++++++----- .github/workflows/release.yml | 21 ++++++++++-- 2 files changed, 73 insertions(+), 12 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b10f9a084..45d8015fc 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -26,7 +26,7 @@ env: jobs: e2e_single: name: Single-Node E2E - runs-on: [self-hosted, ci-single] + runs-on: [ self-hosted, ci-single ] timeout-minutes: 30 env: TOFU_LOG: /tmp/e2e-tofu-single-${{ github.run_id }}.log @@ -41,14 +41,29 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} repositories: mulga + - name: Resolve Mulga Branch + id: mulga-branch + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + BRANCH: ${{ github.ref_name }} + run: | + if gh api "repos/mulgadc/mulga/branches/${BRANCH}" >/dev/null 2>&1; then + echo "ref=${BRANCH}" >> "$GITHUB_OUTPUT" + echo "mulga: using branch ${BRANCH}" + else + echo "ref=main" >> "$GITHUB_OUTPUT" + echo "mulga: branch ${BRANCH} not found, falling back to main" + fi + - uses: actions/checkout@v6 with: repository: mulgadc/mulga + ref: ${{ steps.mulga-branch.outputs.ref }} token: ${{ steps.app-token.outputs.token }} sparse-checkout: scripts/tofu-cluster path: mulga - - name: Build install artifacts + - name: Build Install Artifacts working-directory: mulga/scripts/tofu-cluster run: | ./build-install-artifacts.sh "${GIT_BRANCH}" \ @@ -95,7 +110,7 @@ jobs: e2e_pseudo_multi: name: Pseudo Multi-Node E2E - runs-on: [self-hosted, ci-pseudo] + runs-on: [ self-hosted, ci-pseudo ] timeout-minutes: 30 env: TOFU_LOG: /tmp/e2e-tofu-pseudo-${{ github.run_id }}.log @@ -110,16 +125,32 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} repositories: mulga + - name: Resolve Mulga Branch + id: mulga-branch + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + BRANCH: ${{ github.ref_name }} + run: | + if gh api "repos/mulgadc/mulga/branches/${BRANCH}" >/dev/null 2>&1; then + echo "ref=${BRANCH}" >> "$GITHUB_OUTPUT" + echo "mulga: using branch ${BRANCH}" + else + echo "ref=main" >> "$GITHUB_OUTPUT" + echo "mulga: branch ${BRANCH} not found, falling back to main" + fi + - uses: actions/checkout@v6 with: repository: mulgadc/mulga + ref: ${{ steps.mulga-branch.outputs.ref }} token: ${{ steps.app-token.outputs.token }} sparse-checkout: scripts/tofu-cluster path: mulga - - name: Clone and build + - name: Clone and Build working-directory: mulga/scripts/tofu-cluster - run: ./build-artifacts.sh "${GIT_BRANCH}" "${RUNNER_TEMP}/spinifex-artifacts.tar" + run: ./build-artifacts.sh "${GIT_BRANCH}" + "${RUNNER_TEMP}/spinifex-artifacts.tar" - name: Provision VM working-directory: mulga/scripts/tofu-cluster @@ -158,7 +189,7 @@ jobs: e2e_real_multi: name: Real Multi-Node E2E - runs-on: [self-hosted, ci-multi] + runs-on: [ self-hosted, ci-multi ] timeout-minutes: 35 env: TOFU_LOG: /tmp/e2e-tofu-multi-${{ github.run_id }}.log @@ -173,9 +204,24 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} repositories: mulga + - name: Resolve Mulga Branch + id: mulga-branch + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + BRANCH: ${{ github.ref_name }} + run: | + if gh api "repos/mulgadc/mulga/branches/${BRANCH}" >/dev/null 2>&1; then + echo "ref=${BRANCH}" >> "$GITHUB_OUTPUT" + echo "mulga: using branch ${BRANCH}" + else + echo "ref=main" >> "$GITHUB_OUTPUT" + echo "mulga: branch ${BRANCH} not found, falling back to main" + fi + - uses: actions/checkout@v6 with: repository: mulgadc/mulga + ref: ${{ steps.mulga-branch.outputs.ref }} token: ${{ steps.app-token.outputs.token }} sparse-checkout: scripts/tofu-cluster path: mulga @@ -238,11 +284,11 @@ jobs: e2e_status: name: Report E2E Status if: always() && inputs.sha - needs: [e2e_single, e2e_pseudo_multi, e2e_real_multi] - runs-on: [self-hosted, ci-single] + needs: [ e2e_single, e2e_pseudo_multi, e2e_real_multi ] + runs-on: [ self-hosted, ci-single ] timeout-minutes: 5 steps: - - name: Report status to PR + - name: Report Status to PR env: GH_TOKEN: ${{ github.token }} run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eabd5718e..60a773d0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: - tags: ["v*"] + tags: [ "v*" ] permissions: contents: write @@ -82,7 +82,7 @@ jobs: spinifex/dist/spinifex-${{ github.ref_name }}-linux-arm64.tar.gz.sha256 release: - needs: [distro-amd64, distro-arm64] + needs: [ distro-amd64, distro-arm64 ] runs-on: ubuntu-24.04 steps: - name: Download amd64 Artifacts @@ -115,7 +115,7 @@ jobs: verify: needs: release - runs-on: [self-hosted, ci-single] + runs-on: [ self-hosted, ci-single ] timeout-minutes: 25 env: TOFU_LOG: /tmp/release-verify-${{ github.run_id }}.log @@ -132,9 +132,24 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} repositories: mulga + - name: Resolve Mulga Branch + id: mulga-branch + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + BRANCH: ${{ github.ref_name }} + run: | + if gh api "repos/mulgadc/mulga/branches/${BRANCH}" >/dev/null 2>&1; then + echo "ref=${BRANCH}" >> "$GITHUB_OUTPUT" + echo "mulga: using branch ${BRANCH}" + else + echo "ref=main" >> "$GITHUB_OUTPUT" + echo "mulga: branch ${BRANCH} not found, falling back to main" + fi + - uses: actions/checkout@v6 with: repository: mulgadc/mulga + ref: ${{ steps.mulga-branch.outputs.ref }} token: ${{ steps.app-token.outputs.token }} sparse-checkout: scripts/tofu-cluster path: mulga From 1e3d82f97853c80c9f260f0771bd61b74607070f Mon Sep 17 00:00:00 2001 From: Josh Siviour Date: Tue, 21 Apr 2026 13:52:48 +1000 Subject: [PATCH 10/10] fix: route elbv2 ALB public IP through EIP service (#157) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Internet-facing ALBs allocated their public IP by calling externalIPAM.AllocateIP() directly from LaunchSystemInstance, bypassing the EIP service entirely. No EIPRecord landed in the eips KV bucket, the tag was "auto_assign" (EIP service uses "elastic_ip"), and DescribeAddresses never returned the IP — so any OpenTofu flow that expects an AllocateAddress-observable record hung waiting. LaunchSystemInstance now calls eipService.AllocateAddress + AssociateAddress when the EIP service is wired (falls back to the old direct IPAM path otherwise). TerminateSystemInstance releases through the service so the KV record is cleaned up and vpc.delete-nat is published. The generic stopInstance teardown is left untouched so customer RunInstances flows behave identically. Also refreshes the nginx-alb terraform example to use public subnets with auto-assigned public IPs (the configuration that actually exercises this path end-to-end) and tightens the awsgwBindIP loopback guard in wireLBAgentConfig so the gateway URL is usable by LB agents. --- docs/terraform-workbooks/nginx-alb/main.tf | 122 ++++----------------- spinifex/daemon/daemon.go | 2 +- spinifex/daemon/daemon_system_instance.go | 102 ++++++++++++++--- spinifex/vm/vm.go | 8 ++ 4 files changed, 118 insertions(+), 116 deletions(-) diff --git a/docs/terraform-workbooks/nginx-alb/main.tf b/docs/terraform-workbooks/nginx-alb/main.tf index 18e15ccfa..45a3207fd 100644 --- a/docs/terraform-workbooks/nginx-alb/main.tf +++ b/docs/terraform-workbooks/nginx-alb/main.tf @@ -1,14 +1,18 @@ # Example: Nginx Web Servers with ALB on Spinifex # -# Deploys a VPC with two public subnets (ALB + NAT Gateway) and two private -# subnets hosting Nginx EC2 instances. An internet-facing Application Load -# Balancer distributes HTTP traffic between the private workers, and the -# NAT Gateway gives them outbound internet access so cloud-init can install -# Nginx from the Debian apt repository. +# Deploys a VPC with two public subnets hosting Nginx EC2 instances and an +# internet-facing Application Load Balancer. Workers sit in public subnets +# with auto-assigned public IPs purely so cloud-init can apt-install nginx. +# The ALB targets them by primary private IP (target_type=instance), so +# load-balanced traffic stays on the private VPC network. # -# Demonstrates: VPC, public and private subnets, internet gateway, NAT -# Gateway with Elastic IP, route tables, security group, key pair, cloud-init -# user-data, EC2 instances, ALB, target group, and listener. +# In a production deployment, workers would be in private subnets with +# nginx baked into a custom AMI (or installed via a private repository +# mirror), and a NAT Gateway would be unnecessary for this workload. +# +# Demonstrates: VPC, public subnets, internet gateway, route tables, +# security group, key pair, cloud-init user-data, EC2 instances with +# auto-assigned public IPs, ALB, target group, and listener. # # Usage: # cd spinifex/docs/terraform/nginx-alb @@ -152,9 +156,10 @@ resource "aws_internet_gateway" "igw" { # --------------------------------------------------------------------------- resource "aws_subnet" "public_a" { - vpc_id = aws_vpc.main.id - cidr_block = "10.20.1.0/24" - availability_zone = data.aws_availability_zones.available.names[0] + vpc_id = aws_vpc.main.id + cidr_block = "10.20.1.0/24" + availability_zone = data.aws_availability_zones.available.names[0] + map_public_ip_on_launch = true tags = { Name = "nginx-alb-public-a" @@ -162,9 +167,10 @@ resource "aws_subnet" "public_a" { } resource "aws_subnet" "public_b" { - vpc_id = aws_vpc.main.id - cidr_block = "10.20.2.0/24" - availability_zone = data.aws_availability_zones.available.names[0] + vpc_id = aws_vpc.main.id + cidr_block = "10.20.2.0/24" + availability_zone = data.aws_availability_zones.available.names[0] + map_public_ip_on_launch = true tags = { Name = "nginx-alb-public-b" @@ -172,58 +178,7 @@ resource "aws_subnet" "public_b" { } # --------------------------------------------------------------------------- -# Private Subnets (two AZs for the Nginx workers) -# --------------------------------------------------------------------------- - -resource "aws_subnet" "private_a" { - vpc_id = aws_vpc.main.id - cidr_block = "10.20.11.0/24" - availability_zone = data.aws_availability_zones.available.names[0] - - tags = { - Name = "nginx-alb-private-a" - } -} - -resource "aws_subnet" "private_b" { - vpc_id = aws_vpc.main.id - cidr_block = "10.20.12.0/24" - availability_zone = data.aws_availability_zones.available.names[0] - - tags = { - Name = "nginx-alb-private-b" - } -} - -# --------------------------------------------------------------------------- -# NAT Gateway — outbound internet for the private subnets -# -# Background plumbing: the private-subnet workers need outbound connectivity -# during cloud-init so apt-get can install Nginx. A single NAT Gateway in -# public_a provides SNAT for both private subnets via the private route table. -# --------------------------------------------------------------------------- - -resource "aws_eip" "nat" { - domain = "vpc" - - tags = { - Name = "nginx-alb-nat-eip" - } -} - -resource "aws_nat_gateway" "main" { - allocation_id = aws_eip.nat.id - subnet_id = aws_subnet.public_a.id - - tags = { - Name = "nginx-alb-nat" - } - - depends_on = [aws_internet_gateway.igw] -} - -# --------------------------------------------------------------------------- -# Route Tables — public subnets egress via IGW, private subnets via NAT GW +# Route Table — public subnets egress via IGW # --------------------------------------------------------------------------- resource "aws_route_table" "public" { @@ -249,29 +204,6 @@ resource "aws_route_table_association" "public_b" { route_table_id = aws_route_table.public.id } -resource "aws_route_table" "private" { - vpc_id = aws_vpc.main.id - - route { - cidr_block = "0.0.0.0/0" - nat_gateway_id = aws_nat_gateway.main.id - } - - tags = { - Name = "nginx-alb-private-rt" - } -} - -resource "aws_route_table_association" "private_a" { - subnet_id = aws_subnet.private_a.id - route_table_id = aws_route_table.private.id -} - -resource "aws_route_table_association" "private_b" { - subnet_id = aws_subnet.private_b.id - route_table_id = aws_route_table.private.id -} - # --------------------------------------------------------------------------- # Security Group — SSH + HTTP inbound, all outbound # --------------------------------------------------------------------------- @@ -318,14 +250,10 @@ resource "aws_instance" "nginx_1" { ami = data.aws_ami.debian12.id instance_type = var.instance_type - subnet_id = aws_subnet.private_a.id + subnet_id = aws_subnet.public_a.id vpc_security_group_ids = [aws_security_group.web.id] key_name = aws_key_pair.nginx.key_name - # Workers pull nginx from apt via the NAT Gateway — creation must wait - # until the NAT Gateway is available so cloud-init can reach the repos. - depends_on = [aws_nat_gateway.main] - user_data_base64 = base64encode(<<-USERDATA #!/bin/bash set -euo pipefail @@ -362,14 +290,10 @@ resource "aws_instance" "nginx_2" { ami = data.aws_ami.debian12.id instance_type = var.instance_type - subnet_id = aws_subnet.private_b.id + subnet_id = aws_subnet.public_b.id vpc_security_group_ids = [aws_security_group.web.id] key_name = aws_key_pair.nginx.key_name - # Workers pull nginx from apt via the NAT Gateway — creation must wait - # until the NAT Gateway is available so cloud-init can reach the repos. - depends_on = [aws_nat_gateway.main] - user_data_base64 = base64encode(<<-USERDATA #!/bin/bash set -euo pipefail diff --git a/spinifex/daemon/daemon.go b/spinifex/daemon/daemon.go index eaf7aefed..57edee88d 100644 --- a/spinifex/daemon/daemon.go +++ b/spinifex/daemon/daemon.go @@ -2788,7 +2788,7 @@ func (d *Daemon) wireLBAgentConfig() { } if d.mgmtBridgeIP != "" { - if awsgwBindIP != "" && awsgwBindIP != "0.0.0.0" { + if awsgwBindIP != "" && awsgwBindIP != "0.0.0.0" && !net.ParseIP(awsgwBindIP).IsLoopback() { // Multi-node: AWSGW listens on a specific WAN IP. Use that IP // as the gateway URL. Internal LBs will get a host route via // br-mgmt to reach it (see LaunchSystemInstance). diff --git a/spinifex/daemon/daemon_system_instance.go b/spinifex/daemon/daemon_system_instance.go index 1d2e20f01..67a136449 100644 --- a/spinifex/daemon/daemon_system_instance.go +++ b/spinifex/daemon/daemon_system_instance.go @@ -153,26 +153,70 @@ func (d *Daemon) LaunchSystemInstance(input *handlers_elbv2.SystemInstanceInput) } } - // Allocate public IP for internet-facing ALBs + // Allocate public IP for internet-facing ALBs. Route through the EIP + // service when available so an EIPRecord is created in the KV bucket — + // otherwise AWS SDK callers (OpenTofu) can't observe the EIP via + // DescribeAddresses and their provisioning flow hangs. Falls back to + // direct IPAM allocation for daemons where the EIP service isn't wired. publicIP := "" - if input.Scheme == handlers_elbv2.SchemeInternetFacing && d.externalIPAM != nil && d.vpcService != nil && instance.ENIId != "" { - region := "" - az := "" - if d.config != nil { - region = d.config.Region - az = d.config.AZ - } - allocatedIP, poolName, allocErr := d.externalIPAM.AllocateIP(region, az, "auto_assign", "", instance.ENIId, instance.ID) - if allocErr != nil { - slog.Error("LaunchSystemInstance: failed to allocate public IP for internet-facing ALB", "instanceId", instance.ID, "err", allocErr) - d.cleanupFailedSystemInstance(instance, instanceType) - return nil, fmt.Errorf("allocate public IP for internet-facing ALB: %w", allocErr) - } else { + if input.Scheme == handlers_elbv2.SchemeInternetFacing && d.vpcService != nil && instance.ENIId != "" { + if d.eipService != nil { + allocOut, allocErr := d.eipService.AllocateAddress(&ec2.AllocateAddressInput{}, eniAccountID) + if allocErr != nil { + slog.Error("LaunchSystemInstance: EIP AllocateAddress failed", "instanceId", instance.ID, "err", allocErr) + d.cleanupFailedSystemInstance(instance, instanceType) + return nil, fmt.Errorf("allocate public IP for internet-facing ALB: %w", allocErr) + } + publicIP = aws.StringValue(allocOut.PublicIp) + poolName := aws.StringValue(allocOut.PublicIpv4Pool) + allocID := aws.StringValue(allocOut.AllocationId) + + assocOut, assocErr := d.eipService.AssociateAddress(&ec2.AssociateAddressInput{ + AllocationId: allocOut.AllocationId, + NetworkInterfaceId: aws.String(instance.ENIId), + }, eniAccountID) + if assocErr != nil { + slog.Error("LaunchSystemInstance: EIP AssociateAddress failed", "instanceId", instance.ID, "allocationId", allocID, "err", assocErr) + if _, relErr := d.eipService.ReleaseAddress(&ec2.ReleaseAddressInput{ + AllocationId: allocOut.AllocationId, + }, eniAccountID); relErr != nil { + slog.Warn("LaunchSystemInstance: failed to release EIP after associate failure", "allocationId", allocID, "err", relErr) + } + d.cleanupFailedSystemInstance(instance, instanceType) + return nil, fmt.Errorf("associate public IP for internet-facing ALB: %w", assocErr) + } + + if updateErr := d.vpcService.UpdateENIPublicIP(eniAccountID, instance.ENIId, publicIP, poolName); updateErr != nil { + slog.Warn("LaunchSystemInstance: failed to update ENI with public IP", "eniId", instance.ENIId, "err", updateErr) + } + instance.PublicIP = publicIP + instance.PublicIPPool = poolName + instance.PublicIPAllocID = allocID + instance.PublicIPAssocID = aws.StringValue(assocOut.AssociationId) + slog.Info("LaunchSystemInstance: allocated public IP via EIP service", + "instanceId", instance.ID, + "publicIp", publicIP, + "pool", poolName, + "allocationId", allocID, + "associationId", instance.PublicIPAssocID, + ) + } else if d.externalIPAM != nil { + region := "" + az := "" + if d.config != nil { + region = d.config.Region + az = d.config.AZ + } + allocatedIP, poolName, allocErr := d.externalIPAM.AllocateIP(region, az, "auto_assign", "", instance.ENIId, instance.ID) + if allocErr != nil { + slog.Error("LaunchSystemInstance: failed to allocate public IP for internet-facing ALB", "instanceId", instance.ID, "err", allocErr) + d.cleanupFailedSystemInstance(instance, instanceType) + return nil, fmt.Errorf("allocate public IP for internet-facing ALB: %w", allocErr) + } publicIP = allocatedIP if updateErr := d.vpcService.UpdateENIPublicIP(eniAccountID, instance.ENIId, publicIP, poolName); updateErr != nil { slog.Warn("LaunchSystemInstance: failed to update ENI with public IP", "eniId", instance.ENIId, "err", updateErr) } - // Look up VpcId from the ENI for the NAT event vpcID := "" result, descErr := d.vpcService.DescribeNetworkInterfaces(&ec2.DescribeNetworkInterfacesInput{ NetworkInterfaceIds: []*string{aws.String(instance.ENIId)}, @@ -184,7 +228,7 @@ func (d *Daemon) LaunchSystemInstance(input *handlers_elbv2.SystemInstanceInput) d.publishNATEvent("vpc.add-nat", vpcID, publicIP, privateIP, portName, instance.ENIMac) instance.PublicIP = publicIP instance.PublicIPPool = poolName - slog.Info("LaunchSystemInstance: allocated public IP", + slog.Info("LaunchSystemInstance: allocated public IP via direct IPAM", "instanceId", instance.ID, "publicIp", publicIP, "pool", poolName, @@ -316,6 +360,32 @@ func (d *Daemon) TerminateSystemInstance(instanceID string) error { return fmt.Errorf("transition to shutting-down: %w", err) } + // Release EIP through the EIP service for system VMs whose public IP was + // allocated via AllocateAddress (internet-facing ALBs). Clears the fields + // so the generic teardown path in stopInstance doesn't try to + // double-release the same IP through externalIPAM directly. + if instance.PublicIPAllocID != "" && d.eipService != nil { + eniAccount := instance.AccountID + if instance.PublicIPAssocID != "" { + if _, err := d.eipService.DisassociateAddress(&ec2.DisassociateAddressInput{ + AssociationId: aws.String(instance.PublicIPAssocID), + }, eniAccount); err != nil { + slog.Warn("TerminateSystemInstance: DisassociateAddress failed", "instanceId", instanceID, "associationId", instance.PublicIPAssocID, "err", err) + } + } + if _, err := d.eipService.ReleaseAddress(&ec2.ReleaseAddressInput{ + AllocationId: aws.String(instance.PublicIPAllocID), + }, eniAccount); err != nil { + slog.Warn("TerminateSystemInstance: ReleaseAddress failed", "instanceId", instanceID, "allocationId", instance.PublicIPAllocID, "err", err) + } else { + slog.Info("TerminateSystemInstance: released EIP", "instanceId", instanceID, "ip", instance.PublicIP, "allocationId", instance.PublicIPAllocID) + } + instance.PublicIP = "" + instance.PublicIPPool = "" + instance.PublicIPAllocID = "" + instance.PublicIPAssocID = "" + } + // Stop the VM (QEMU shutdown, volume unmount, tap cleanup) if err := d.stopInstance(map[string]*vm.VM{instanceID: instance}, true); err != nil { slog.Error("TerminateSystemInstance: stopInstance failed", "instanceId", instanceID, "err", err) diff --git a/spinifex/vm/vm.go b/spinifex/vm/vm.go index f0cf65fba..b53b7a4be 100644 --- a/spinifex/vm/vm.go +++ b/spinifex/vm/vm.go @@ -87,6 +87,14 @@ type VM struct { PublicIP string `json:"public_ip,omitempty"` PublicIPPool string `json:"public_ip_pool,omitempty"` + // PublicIPAllocID / PublicIPAssocID are set when the public IP was + // allocated through the EIP service (handlers/ec2/eip) rather than + // directly via externalIPAM. Presence signals that teardown must go + // back through the EIP service (DisassociateAddress + ReleaseAddress) + // so the EIP KV record is removed. + PublicIPAllocID string `json:"public_ip_alloc_id,omitempty"` + PublicIPAssocID string `json:"public_ip_assoc_id,omitempty"` + // DevMAC is the MAC for the dev/hostfwd NIC (DEV_NETWORKING mode). // Set before cloud-init ISO generation so netplan can suppress its default route. DevMAC string `json:"dev_mac,omitempty"`