diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-C3.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-C3.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-C3.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-C3.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S2.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S2.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S2.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S2.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S3_4M_qspi.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S3_4M_qspi.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S3_4M_qspi.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32-S3_4M_qspi.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_Ethernet.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_Ethernet.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_Ethernet.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_Ethernet.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_audioreactive.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_audioreactive.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_audioreactive.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP32_audioreactive.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266.bin diff --git a/bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266_160.bin b/bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266_160.bin similarity index 100% rename from bin/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266_160.bin rename to bin/Beta/beta_0_15_0-b4/WLED_0.15.0-b4_ESP8266_160.bin diff --git a/bin/beta_0_15_0-b2/boot_app0.bin b/bin/Beta/beta_0_15_0-b4/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b2/boot_app0.bin rename to bin/Beta/beta_0_15_0-b4/boot_app0.bin diff --git a/bin/beta_0_15_0-b1/bootloader_s2.bin b/bin/Beta/beta_0_15_0-b4/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b1/bootloader_s2.bin rename to bin/Beta/beta_0_15_0-b4/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b1/bootloader_s3.bin b/bin/Beta/beta_0_15_0-b4/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b1/bootloader_s3.bin rename to bin/Beta/beta_0_15_0-b4/bootloader_s3.bin diff --git a/bin/beta_0_14_2-b1/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_0-b4/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b1/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_0-b4/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_14_2-b1/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_0-b4/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_14_2-b1/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_0-b4/esp32_bootloader_v4.bin diff --git a/bin/beta_0_15_0-b4/manifest.json b/bin/Beta/beta_0_15_0-b4/manifest.json similarity index 100% rename from bin/beta_0_15_0-b4/manifest.json rename to bin/Beta/beta_0_15_0-b4/manifest.json diff --git a/bin/beta_0_15_0-b4/manifest_a.json b/bin/Beta/beta_0_15_0-b4/manifest_a.json similarity index 100% rename from bin/beta_0_15_0-b4/manifest_a.json rename to bin/Beta/beta_0_15_0-b4/manifest_a.json diff --git a/bin/beta_0_15_0-b4/manifest_e.json b/bin/Beta/beta_0_15_0-b4/manifest_e.json similarity index 100% rename from bin/beta_0_15_0-b4/manifest_e.json rename to bin/Beta/beta_0_15_0-b4/manifest_e.json diff --git a/bin/beta_0_15_0-b4/manifest_t.json b/bin/Beta/beta_0_15_0-b4/manifest_t.json similarity index 100% rename from bin/beta_0_15_0-b4/manifest_t.json rename to bin/Beta/beta_0_15_0-b4/manifest_t.json diff --git a/bin/beta_0_15_0-b1/partitions_c3_4m.bin b/bin/Beta/beta_0_15_0-b4/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b1/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_0-b4/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b1/partitions_s2_4m.bin b/bin/Beta/beta_0_15_0-b4/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b1/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_0-b4/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b1/partitions_s3_8m.bin b/bin/Beta/beta_0_15_0-b4/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b1/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_0-b4/partitions_s3_8m.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-C3.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-C3.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-C3.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-C3.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S2.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S2.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S2.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S2.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S3_4M_qspi.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S3_4M_qspi.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S3_4M_qspi.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32-S3_4M_qspi.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32_Ethernet.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32_Ethernet.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32_Ethernet.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP32_Ethernet.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266.bin diff --git a/bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266_160.bin b/bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266_160.bin similarity index 100% rename from bin/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266_160.bin rename to bin/Beta/beta_0_15_0-b5/WLED_0.15.0-b5_ESP8266_160.bin diff --git a/bin/beta_0_15_0-b3/boot_app0.bin b/bin/Beta/beta_0_15_0-b5/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b3/boot_app0.bin rename to bin/Beta/beta_0_15_0-b5/boot_app0.bin diff --git a/bin/beta_0_15_0-b2/bootloader_s2.bin b/bin/Beta/beta_0_15_0-b5/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b2/bootloader_s2.bin rename to bin/Beta/beta_0_15_0-b5/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b2/bootloader_s3.bin b/bin/Beta/beta_0_15_0-b5/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b2/bootloader_s3.bin rename to bin/Beta/beta_0_15_0-b5/bootloader_s3.bin diff --git a/bin/beta_0_14_2-b2/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_0-b5/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b2/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_0-b5/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_14_2-b2/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_0-b5/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_14_2-b2/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_0-b5/esp32_bootloader_v4.bin diff --git a/bin/beta_0_15_0-b5/manifest.json b/bin/Beta/beta_0_15_0-b5/manifest.json similarity index 100% rename from bin/beta_0_15_0-b5/manifest.json rename to bin/Beta/beta_0_15_0-b5/manifest.json diff --git a/bin/beta_0_15_0-b5/manifest_e.json b/bin/Beta/beta_0_15_0-b5/manifest_e.json similarity index 100% rename from bin/beta_0_15_0-b5/manifest_e.json rename to bin/Beta/beta_0_15_0-b5/manifest_e.json diff --git a/bin/beta_0_15_0-b5/manifest_t.json b/bin/Beta/beta_0_15_0-b5/manifest_t.json similarity index 100% rename from bin/beta_0_15_0-b5/manifest_t.json rename to bin/Beta/beta_0_15_0-b5/manifest_t.json diff --git a/bin/beta_0_15_0-b2/partitions_c3_4m.bin b/bin/Beta/beta_0_15_0-b5/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b2/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_0-b5/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b2/partitions_s2_4m.bin b/bin/Beta/beta_0_15_0-b5/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b2/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_0-b5/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b2/partitions_s3_8m.bin b/bin/Beta/beta_0_15_0-b5/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b2/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_0-b5/partitions_s3_8m.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-C3.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-C3.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-C3.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-C3.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S2.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S2.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S2.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S2.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S3_4M_qspi.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S3_4M_qspi.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S3_4M_qspi.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32-S3_4M_qspi.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32_Ethernet.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32_Ethernet.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32_Ethernet.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP32_Ethernet.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266.bin diff --git a/bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266_160.bin b/bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266_160.bin similarity index 100% rename from bin/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266_160.bin rename to bin/Beta/beta_0_15_0-b6/WLED_0.15.0-b6_ESP8266_160.bin diff --git a/bin/beta_0_15_0-b4/boot_app0.bin b/bin/Beta/beta_0_15_0-b6/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b4/boot_app0.bin rename to bin/Beta/beta_0_15_0-b6/boot_app0.bin diff --git a/bin/beta_0_15_0-b3/bootloader_s2.bin b/bin/Beta/beta_0_15_0-b6/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b3/bootloader_s2.bin rename to bin/Beta/beta_0_15_0-b6/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b3/bootloader_s3.bin b/bin/Beta/beta_0_15_0-b6/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b3/bootloader_s3.bin rename to bin/Beta/beta_0_15_0-b6/bootloader_s3.bin diff --git a/bin/beta_0_15_0-b1/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_0-b6/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b1/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_0-b6/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_15_0-b1/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_0-b6/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b1/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_0-b6/esp32_bootloader_v4.bin diff --git a/bin/beta_0_15_0-b6/manifest.json b/bin/Beta/beta_0_15_0-b6/manifest.json similarity index 100% rename from bin/beta_0_15_0-b6/manifest.json rename to bin/Beta/beta_0_15_0-b6/manifest.json diff --git a/bin/beta_0_15_0-b6/manifest_e.json b/bin/Beta/beta_0_15_0-b6/manifest_e.json similarity index 100% rename from bin/beta_0_15_0-b6/manifest_e.json rename to bin/Beta/beta_0_15_0-b6/manifest_e.json diff --git a/bin/beta_0_15_0-b6/manifest_t.json b/bin/Beta/beta_0_15_0-b6/manifest_t.json similarity index 100% rename from bin/beta_0_15_0-b6/manifest_t.json rename to bin/Beta/beta_0_15_0-b6/manifest_t.json diff --git a/bin/beta_0_15_0-b3/partitions_c3_4m.bin b/bin/Beta/beta_0_15_0-b6/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b3/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_0-b6/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b3/partitions_s2_4m.bin b/bin/Beta/beta_0_15_0-b6/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b3/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_0-b6/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b3/partitions_s3_8m.bin b/bin/Beta/beta_0_15_0-b6/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b3/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_0-b6/partitions_s3_8m.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-C3.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-C3.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-C3.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-C3.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S2.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S2.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S2.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S2.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S3_4M_qspi.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S3_4M_qspi.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S3_4M_qspi.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32-S3_4M_qspi.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32_Ethernet.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32_Ethernet.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32_Ethernet.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP32_Ethernet.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266.bin diff --git a/bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266_160.bin b/bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266_160.bin similarity index 100% rename from bin/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266_160.bin rename to bin/Beta/beta_0_15_0-b7/WLED_0.15.0-b7_ESP8266_160.bin diff --git a/bin/beta_0_15_0-b5/boot_app0.bin b/bin/Beta/beta_0_15_0-b7/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b5/boot_app0.bin rename to bin/Beta/beta_0_15_0-b7/boot_app0.bin diff --git a/bin/beta_0_15_0-b4/bootloader_s2.bin b/bin/Beta/beta_0_15_0-b7/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b4/bootloader_s2.bin rename to bin/Beta/beta_0_15_0-b7/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b4/bootloader_s3.bin b/bin/Beta/beta_0_15_0-b7/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b4/bootloader_s3.bin rename to bin/Beta/beta_0_15_0-b7/bootloader_s3.bin diff --git a/bin/beta_0_15_0-b3/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_0-b7/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b3/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_0-b7/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_15_0-b2/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_0-b7/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b2/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_0-b7/esp32_bootloader_v4.bin diff --git a/bin/beta_0_15_0-b7/manifest.json b/bin/Beta/beta_0_15_0-b7/manifest.json similarity index 100% rename from bin/beta_0_15_0-b7/manifest.json rename to bin/Beta/beta_0_15_0-b7/manifest.json diff --git a/bin/beta_0_15_0-b7/manifest_e.json b/bin/Beta/beta_0_15_0-b7/manifest_e.json similarity index 100% rename from bin/beta_0_15_0-b7/manifest_e.json rename to bin/Beta/beta_0_15_0-b7/manifest_e.json diff --git a/bin/beta_0_15_0-b7/manifest_t.json b/bin/Beta/beta_0_15_0-b7/manifest_t.json similarity index 100% rename from bin/beta_0_15_0-b7/manifest_t.json rename to bin/Beta/beta_0_15_0-b7/manifest_t.json diff --git a/bin/beta_0_15_0-b4/partitions_c3_4m.bin b/bin/Beta/beta_0_15_0-b7/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b4/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_0-b7/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b4/partitions_s2_4m.bin b/bin/Beta/beta_0_15_0-b7/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b4/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_0-b7/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b4/partitions_s3_8m.bin b/bin/Beta/beta_0_15_0-b7/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b4/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_0-b7/partitions_s3_8m.bin diff --git a/bin/beta_0_15_0-b6/boot_app0.bin b/bin/Beta/beta_0_15_1-b1/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b6/boot_app0.bin rename to bin/Beta/beta_0_15_1-b1/boot_app0.bin diff --git a/bin/beta_0_15_0-b5/bootloader_s2.bin b/bin/Beta/beta_0_15_1-b1/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b5/bootloader_s2.bin rename to bin/Beta/beta_0_15_1-b1/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b5/bootloader_s3.bin b/bin/Beta/beta_0_15_1-b1/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b5/bootloader_s3.bin rename to bin/Beta/beta_0_15_1-b1/bootloader_s3.bin diff --git a/bin/beta_0_15_0-b4/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_1-b1/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b4/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_1-b1/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_15_0-b3/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_1-b1/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b3/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_1-b1/esp32_bootloader_v4.bin diff --git a/bin/Beta/beta_0_15_1-b1/manifest.json b/bin/Beta/beta_0_15_1-b1/manifest.json new file mode 100644 index 0000000..131aded --- /dev/null +++ b/bin/Beta/beta_0_15_1-b1/manifest.json @@ -0,0 +1,40 @@ +{ + "name": "WLED", + "version": "0.15.1-b1", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP32.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-C3", + "parts": [ + { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP32-C3.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-S2", + "parts": [ + { "path": "bootloader_s2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP32-S2.bin", "offset": 65536 } + + ] + }, + { + "chipFamily": "ESP32-S3", + "parts": [ + { "path": "bootloader_s3.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP32-S3_4M_qspi.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP8266.bin", "offset": 0 }] + } + ] +} diff --git a/bin/Beta/beta_0_15_1-b1/manifest_e.json b/bin/Beta/beta_0_15_1-b1/manifest_e.json new file mode 100644 index 0000000..902506a --- /dev/null +++ b/bin/Beta/beta_0_15_1-b1/manifest_e.json @@ -0,0 +1,18 @@ +{ + "name": "WLED", + "version": "0.15.1-b1 ethernet", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP32_Ethernet.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP8266.bin", "offset": 0 }] + } + ] +} \ No newline at end of file diff --git a/bin/Beta/beta_0_15_1-b1/manifest_t.json b/bin/Beta/beta_0_15_1-b1/manifest_t.json new file mode 100644 index 0000000..2f82565 --- /dev/null +++ b/bin/Beta/beta_0_15_1-b1/manifest_t.json @@ -0,0 +1,11 @@ +{ + "name": "WLED", + "version": "0.15.1-b1 test", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta1/WLED_0.15.1.beta1_ESP8266_160.bin", "offset": 0 }] + } + ] +} diff --git a/bin/beta_0_15_0-b5/partitions_c3_4m.bin b/bin/Beta/beta_0_15_1-b1/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b5/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_1-b1/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b5/partitions_s2_4m.bin b/bin/Beta/beta_0_15_1-b1/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b5/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_1-b1/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b5/partitions_s3_8m.bin b/bin/Beta/beta_0_15_1-b1/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b5/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_1-b1/partitions_s3_8m.bin diff --git a/bin/beta_0_15_0-b7/boot_app0.bin b/bin/Beta/beta_0_15_1-b2/boot_app0.bin similarity index 100% rename from bin/beta_0_15_0-b7/boot_app0.bin rename to bin/Beta/beta_0_15_1-b2/boot_app0.bin diff --git a/bin/beta_0_15_0-b6/bootloader_s2.bin b/bin/Beta/beta_0_15_1-b2/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b6/bootloader_s2.bin rename to bin/Beta/beta_0_15_1-b2/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b6/bootloader_s3.bin b/bin/Beta/beta_0_15_1-b2/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b6/bootloader_s3.bin rename to bin/Beta/beta_0_15_1-b2/bootloader_s3.bin diff --git a/bin/beta_0_15_0-b5/esp32-c3_bootloader_v2.bin b/bin/Beta/beta_0_15_1-b2/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b5/esp32-c3_bootloader_v2.bin rename to bin/Beta/beta_0_15_1-b2/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_15_0-b4/esp32_bootloader_v4.bin b/bin/Beta/beta_0_15_1-b2/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b4/esp32_bootloader_v4.bin rename to bin/Beta/beta_0_15_1-b2/esp32_bootloader_v4.bin diff --git a/bin/Beta/beta_0_15_1-b2/manifest.json b/bin/Beta/beta_0_15_1-b2/manifest.json new file mode 100644 index 0000000..cd3fc29 --- /dev/null +++ b/bin/Beta/beta_0_15_1-b2/manifest.json @@ -0,0 +1,40 @@ +{ + "name": "WLED", + "version": "0.15.1-b2", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP32.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-C3", + "parts": [ + { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP32-C3.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-S2", + "parts": [ + { "path": "bootloader_s2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP32-S2.bin", "offset": 65536 } + + ] + }, + { + "chipFamily": "ESP32-S3", + "parts": [ + { "path": "bootloader_s3.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP32-S3_4M_qspi.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP8266.bin", "offset": 0 }] + } + ] +} diff --git a/bin/Beta/beta_0_15_1-b2/manifest_e.json b/bin/Beta/beta_0_15_1-b2/manifest_e.json new file mode 100644 index 0000000..9d0c156 --- /dev/null +++ b/bin/Beta/beta_0_15_1-b2/manifest_e.json @@ -0,0 +1,18 @@ +{ + "name": "WLED", + "version": "0.15.1-b2 ethernet", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP32_Ethernet.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP8266.bin", "offset": 0 }] + } + ] +} \ No newline at end of file diff --git a/bin/Beta/beta_0_15_1-b2/manifest_t.json b/bin/Beta/beta_0_15_1-b2/manifest_t.json new file mode 100644 index 0000000..57678b9 --- /dev/null +++ b/bin/Beta/beta_0_15_1-b2/manifest_t.json @@ -0,0 +1,11 @@ +{ + "name": "WLED", + "version": "0.15.1-b2 test", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.1.beta2/WLED_0.15.1.beta2_ESP8266_160.bin", "offset": 0 }] + } + ] +} diff --git a/bin/beta_0_15_0-b6/partitions_c3_4m.bin b/bin/Beta/beta_0_15_1-b2/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b6/partitions_c3_4m.bin rename to bin/Beta/beta_0_15_1-b2/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b6/partitions_s2_4m.bin b/bin/Beta/beta_0_15_1-b2/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b6/partitions_s2_4m.bin rename to bin/Beta/beta_0_15_1-b2/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b6/partitions_s3_8m.bin b/bin/Beta/beta_0_15_1-b2/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b6/partitions_s3_8m.bin rename to bin/Beta/beta_0_15_1-b2/partitions_s3_8m.bin diff --git a/bin/release_0_13_1/WLED_0.13.1_ESP32.bin b/bin/Release/release_0_13_1/WLED_0.13.1_ESP32.bin similarity index 100% rename from bin/release_0_13_1/WLED_0.13.1_ESP32.bin rename to bin/Release/release_0_13_1/WLED_0.13.1_ESP32.bin diff --git a/bin/release_0_13_1/WLED_0.13.1_ESP32_Ethernet.bin b/bin/Release/release_0_13_1/WLED_0.13.1_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_13_1/WLED_0.13.1_ESP32_Ethernet.bin rename to bin/Release/release_0_13_1/WLED_0.13.1_ESP32_Ethernet.bin diff --git a/bin/release_0_13_1/WLED_0.13.1_ESP8266.bin b/bin/Release/release_0_13_1/WLED_0.13.1_ESP8266.bin similarity index 100% rename from bin/release_0_13_1/WLED_0.13.1_ESP8266.bin rename to bin/Release/release_0_13_1/WLED_0.13.1_ESP8266.bin diff --git a/bin/beta_0_15_0-b5/esp32_bootloader_v4.bin b/bin/Release/release_0_13_1/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b5/esp32_bootloader_v4.bin rename to bin/Release/release_0_13_1/esp32_bootloader_v4.bin diff --git a/bin/release_0_13_1/manifest.json b/bin/Release/release_0_13_1/manifest.json similarity index 100% rename from bin/release_0_13_1/manifest.json rename to bin/Release/release_0_13_1/manifest.json diff --git a/bin/release_0_13_1/manifest_e.json b/bin/Release/release_0_13_1/manifest_e.json similarity index 100% rename from bin/release_0_13_1/manifest_e.json rename to bin/Release/release_0_13_1/manifest_e.json diff --git a/bin/release_0_13_3/WLED_0.13.3_ESP32.bin b/bin/Release/release_0_13_3/WLED_0.13.3_ESP32.bin similarity index 100% rename from bin/release_0_13_3/WLED_0.13.3_ESP32.bin rename to bin/Release/release_0_13_3/WLED_0.13.3_ESP32.bin diff --git a/bin/release_0_13_3/WLED_0.13.3_ESP32_Ethernet.bin b/bin/Release/release_0_13_3/WLED_0.13.3_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_13_3/WLED_0.13.3_ESP32_Ethernet.bin rename to bin/Release/release_0_13_3/WLED_0.13.3_ESP32_Ethernet.bin diff --git a/bin/release_0_13_3/WLED_0.13.3_ESP8266.bin b/bin/Release/release_0_13_3/WLED_0.13.3_ESP8266.bin similarity index 100% rename from bin/release_0_13_3/WLED_0.13.3_ESP8266.bin rename to bin/Release/release_0_13_3/WLED_0.13.3_ESP8266.bin diff --git a/bin/beta_0_15_0-b6/esp32_bootloader_v4.bin b/bin/Release/release_0_13_3/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b6/esp32_bootloader_v4.bin rename to bin/Release/release_0_13_3/esp32_bootloader_v4.bin diff --git a/bin/release_0_13_3/manifest.json b/bin/Release/release_0_13_3/manifest.json similarity index 100% rename from bin/release_0_13_3/manifest.json rename to bin/Release/release_0_13_3/manifest.json diff --git a/bin/release_0_13_3/manifest_e.json b/bin/Release/release_0_13_3/manifest_e.json similarity index 100% rename from bin/release_0_13_3/manifest_e.json rename to bin/Release/release_0_13_3/manifest_e.json diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32-C3.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32-C3.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32-C3.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32-C3.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32-S2.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32-S2.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32-S2.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32-S2.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32-S3_8MB.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32-S3_8MB.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32-S3_8MB.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32-S3_8MB.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32_Ethernet.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32_Ethernet.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32_Ethernet.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP32_audioreactive.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP32_audioreactive.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP32_audioreactive.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP32_audioreactive.bin diff --git a/bin/release_0_14_0/WLED_0.14.0_ESP8266.bin b/bin/Release/release_0_14_0/WLED_0.14.0_ESP8266.bin similarity index 100% rename from bin/release_0_14_0/WLED_0.14.0_ESP8266.bin rename to bin/Release/release_0_14_0/WLED_0.14.0_ESP8266.bin diff --git a/bin/beta_0_15_0-b6/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_14_0/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b6/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_14_0/esp32-c3_bootloader_v2.bin diff --git a/bin/beta_0_14_2-b1/esp32-s2_bootloader_v2.bin b/bin/Release/release_0_14_0/esp32-s2_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b1/esp32-s2_bootloader_v2.bin rename to bin/Release/release_0_14_0/esp32-s2_bootloader_v2.bin diff --git a/bin/beta_0_14_2-b1/esp32-s3_bootloader_v2.bin b/bin/Release/release_0_14_0/esp32-s3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b1/esp32-s3_bootloader_v2.bin rename to bin/Release/release_0_14_0/esp32-s3_bootloader_v2.bin diff --git a/bin/beta_0_15_0-b7/esp32_bootloader_v4.bin b/bin/Release/release_0_14_0/esp32_bootloader_v4.bin similarity index 100% rename from bin/beta_0_15_0-b7/esp32_bootloader_v4.bin rename to bin/Release/release_0_14_0/esp32_bootloader_v4.bin diff --git a/bin/release_0_14_0/manifest.json b/bin/Release/release_0_14_0/manifest.json similarity index 100% rename from bin/release_0_14_0/manifest.json rename to bin/Release/release_0_14_0/manifest.json diff --git a/bin/release_0_14_0/manifest_a.json b/bin/Release/release_0_14_0/manifest_a.json similarity index 100% rename from bin/release_0_14_0/manifest_a.json rename to bin/Release/release_0_14_0/manifest_a.json diff --git a/bin/release_0_14_0/manifest_e.json b/bin/Release/release_0_14_0/manifest_e.json similarity index 100% rename from bin/release_0_14_0/manifest_e.json rename to bin/Release/release_0_14_0/manifest_e.json diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32-C3.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32-C3.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32-C3.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32-C3.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32-S2.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32-S2.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32-S2.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32-S2.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32-S3_8MB.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32-S3_8MB.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32-S3_8MB.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32-S3_8MB.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32_Ethernet.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32_Ethernet.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32_Ethernet.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP32_audioreactive.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP32_audioreactive.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP32_audioreactive.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP32_audioreactive.bin diff --git a/bin/release_0_14_1/WLED_0.14.1_ESP8266.bin b/bin/Release/release_0_14_1/WLED_0.14.1_ESP8266.bin similarity index 100% rename from bin/release_0_14_1/WLED_0.14.1_ESP8266.bin rename to bin/Release/release_0_14_1/WLED_0.14.1_ESP8266.bin diff --git a/bin/beta_0_15_0-b7/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_14_1/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_15_0-b7/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_14_1/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_14_1/esp32-s2_bootloader_test.bin b/bin/Release/release_0_14_1/esp32-s2_bootloader_test.bin similarity index 100% rename from bin/release_0_14_1/esp32-s2_bootloader_test.bin rename to bin/Release/release_0_14_1/esp32-s2_bootloader_test.bin diff --git a/bin/beta_0_14_2-b2/esp32-s2_bootloader_v2.bin b/bin/Release/release_0_14_1/esp32-s2_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b2/esp32-s2_bootloader_v2.bin rename to bin/Release/release_0_14_1/esp32-s2_bootloader_v2.bin diff --git a/bin/beta_0_14_2-b2/esp32-s3_bootloader_v2.bin b/bin/Release/release_0_14_1/esp32-s3_bootloader_v2.bin similarity index 100% rename from bin/beta_0_14_2-b2/esp32-s3_bootloader_v2.bin rename to bin/Release/release_0_14_1/esp32-s3_bootloader_v2.bin diff --git a/bin/release-candidate_0_15_0_RC-1/esp32_bootloader_v4.bin b/bin/Release/release_0_14_1/esp32_bootloader_v4.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/esp32_bootloader_v4.bin rename to bin/Release/release_0_14_1/esp32_bootloader_v4.bin diff --git a/bin/release_0_14_1/manifest.json b/bin/Release/release_0_14_1/manifest.json similarity index 100% rename from bin/release_0_14_1/manifest.json rename to bin/Release/release_0_14_1/manifest.json diff --git a/bin/release_0_14_1/manifest_a.json b/bin/Release/release_0_14_1/manifest_a.json similarity index 100% rename from bin/release_0_14_1/manifest_a.json rename to bin/Release/release_0_14_1/manifest_a.json diff --git a/bin/release_0_14_1/manifest_e.json b/bin/Release/release_0_14_1/manifest_e.json similarity index 100% rename from bin/release_0_14_1/manifest_e.json rename to bin/Release/release_0_14_1/manifest_e.json diff --git a/bin/release_0_14_1/manifest_t.json b/bin/Release/release_0_14_1/manifest_t.json similarity index 100% rename from bin/release_0_14_1/manifest_t.json rename to bin/Release/release_0_14_1/manifest_t.json diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32-C3.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32-C3.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32-C3.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32-C3.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32-S2.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32-S2.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32-S2.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32-S2.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32-S3_8MB.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32-S3_8MB.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32-S3_8MB.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32-S3_8MB.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32_Ethernet.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32_Ethernet.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32_Ethernet.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP32_audioreactive.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP32_audioreactive.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP32_audioreactive.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP32_audioreactive.bin diff --git a/bin/release_0_14_2/WLED_0.14.2_ESP8266.bin b/bin/Release/release_0_14_2/WLED_0.14.2_ESP8266.bin similarity index 100% rename from bin/release_0_14_2/WLED_0.14.2_ESP8266.bin rename to bin/Release/release_0_14_2/WLED_0.14.2_ESP8266.bin diff --git a/bin/beta_0_15_0-b7/bootloader_s2.bin b/bin/Release/release_0_14_2/bootloader_s2.bin similarity index 100% rename from bin/beta_0_15_0-b7/bootloader_s2.bin rename to bin/Release/release_0_14_2/bootloader_s2.bin diff --git a/bin/beta_0_15_0-b7/bootloader_s3.bin b/bin/Release/release_0_14_2/bootloader_s3.bin similarity index 100% rename from bin/beta_0_15_0-b7/bootloader_s3.bin rename to bin/Release/release_0_14_2/bootloader_s3.bin diff --git a/bin/release-candidate_0_15_0_RC-1/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_14_2/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_14_2/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_13_1/esp32_bootloader_v4.bin b/bin/Release/release_0_14_2/esp32_bootloader_v4.bin similarity index 100% rename from bin/release_0_13_1/esp32_bootloader_v4.bin rename to bin/Release/release_0_14_2/esp32_bootloader_v4.bin diff --git a/bin/release_0_14_2/manifest.json b/bin/Release/release_0_14_2/manifest.json similarity index 100% rename from bin/release_0_14_2/manifest.json rename to bin/Release/release_0_14_2/manifest.json diff --git a/bin/release_0_14_2/manifest_a.json b/bin/Release/release_0_14_2/manifest_a.json similarity index 100% rename from bin/release_0_14_2/manifest_a.json rename to bin/Release/release_0_14_2/manifest_a.json diff --git a/bin/release_0_14_2/manifest_e.json b/bin/Release/release_0_14_2/manifest_e.json similarity index 100% rename from bin/release_0_14_2/manifest_e.json rename to bin/Release/release_0_14_2/manifest_e.json diff --git a/bin/release_0_14_2/manifest_t.json b/bin/Release/release_0_14_2/manifest_t.json similarity index 100% rename from bin/release_0_14_2/manifest_t.json rename to bin/Release/release_0_14_2/manifest_t.json diff --git a/bin/beta_0_15_0-b7/partitions_c3_4m.bin b/bin/Release/release_0_14_2/partitions_c3_4m.bin similarity index 100% rename from bin/beta_0_15_0-b7/partitions_c3_4m.bin rename to bin/Release/release_0_14_2/partitions_c3_4m.bin diff --git a/bin/beta_0_15_0-b7/partitions_s2_4m.bin b/bin/Release/release_0_14_2/partitions_s2_4m.bin similarity index 100% rename from bin/beta_0_15_0-b7/partitions_s2_4m.bin rename to bin/Release/release_0_14_2/partitions_s2_4m.bin diff --git a/bin/beta_0_15_0-b7/partitions_s3_8m.bin b/bin/Release/release_0_14_2/partitions_s3_8m.bin similarity index 100% rename from bin/beta_0_15_0-b7/partitions_s3_8m.bin rename to bin/Release/release_0_14_2/partitions_s3_8m.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32-C3.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32-C3.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32-C3.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32-C3.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32-S2.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32-S2.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32-S2.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32-S2.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32-S3_8MB.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32-S3_8MB.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32-S3_8MB.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32-S3_8MB.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32_Ethernet.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32_Ethernet.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32_Ethernet.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32_Ethernet.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP32_audioreactive.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP32_audioreactive.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP32_audioreactive.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP32_audioreactive.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP8266.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP8266.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP8266.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP8266.bin diff --git a/bin/release_0_14_3/WLED_0.14.3_ESP8266_160.bin b/bin/Release/release_0_14_3/WLED_0.14.3_ESP8266_160.bin similarity index 100% rename from bin/release_0_14_3/WLED_0.14.3_ESP8266_160.bin rename to bin/Release/release_0_14_3/WLED_0.14.3_ESP8266_160.bin diff --git a/bin/release-candidate_0_15_0_RC-1/bootloader_s2.bin b/bin/Release/release_0_14_3/bootloader_s2.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/bootloader_s2.bin rename to bin/Release/release_0_14_3/bootloader_s2.bin diff --git a/bin/release-candidate_0_15_0_RC-1/bootloader_s3.bin b/bin/Release/release_0_14_3/bootloader_s3.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/bootloader_s3.bin rename to bin/Release/release_0_14_3/bootloader_s3.bin diff --git a/bin/release_0_14_0/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_14_3/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/release_0_14_0/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_14_3/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_13_3/esp32_bootloader_v4.bin b/bin/Release/release_0_14_3/esp32_bootloader_v4.bin similarity index 100% rename from bin/release_0_13_3/esp32_bootloader_v4.bin rename to bin/Release/release_0_14_3/esp32_bootloader_v4.bin diff --git a/bin/release_0_14_3/manifest.json b/bin/Release/release_0_14_3/manifest.json similarity index 100% rename from bin/release_0_14_3/manifest.json rename to bin/Release/release_0_14_3/manifest.json diff --git a/bin/release_0_14_3/manifest_a.json b/bin/Release/release_0_14_3/manifest_a.json similarity index 100% rename from bin/release_0_14_3/manifest_a.json rename to bin/Release/release_0_14_3/manifest_a.json diff --git a/bin/release_0_14_3/manifest_e.json b/bin/Release/release_0_14_3/manifest_e.json similarity index 100% rename from bin/release_0_14_3/manifest_e.json rename to bin/Release/release_0_14_3/manifest_e.json diff --git a/bin/release_0_14_3/manifest_t.json b/bin/Release/release_0_14_3/manifest_t.json similarity index 100% rename from bin/release_0_14_3/manifest_t.json rename to bin/Release/release_0_14_3/manifest_t.json diff --git a/bin/release-candidate_0_15_0_RC-1/partitions_c3_4m.bin b/bin/Release/release_0_14_3/partitions_c3_4m.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/partitions_c3_4m.bin rename to bin/Release/release_0_14_3/partitions_c3_4m.bin diff --git a/bin/release-candidate_0_15_0_RC-1/partitions_s2_4m.bin b/bin/Release/release_0_14_3/partitions_s2_4m.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/partitions_s2_4m.bin rename to bin/Release/release_0_14_3/partitions_s2_4m.bin diff --git a/bin/release-candidate_0_15_0_RC-1/partitions_s3_8m.bin b/bin/Release/release_0_14_3/partitions_s3_8m.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/partitions_s3_8m.bin rename to bin/Release/release_0_14_3/partitions_s3_8m.bin diff --git a/bin/release_0_14_2/bootloader_s2.bin b/bin/Release/release_0_14_4/bootloader_s2.bin similarity index 100% rename from bin/release_0_14_2/bootloader_s2.bin rename to bin/Release/release_0_14_4/bootloader_s2.bin diff --git a/bin/release_0_14_2/bootloader_s3.bin b/bin/Release/release_0_14_4/bootloader_s3.bin similarity index 100% rename from bin/release_0_14_2/bootloader_s3.bin rename to bin/Release/release_0_14_4/bootloader_s3.bin diff --git a/bin/release_0_14_1/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_14_4/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/release_0_14_1/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_14_4/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_14_0/esp32_bootloader_v4.bin b/bin/Release/release_0_14_4/esp32_bootloader_v4.bin similarity index 100% rename from bin/release_0_14_0/esp32_bootloader_v4.bin rename to bin/Release/release_0_14_4/esp32_bootloader_v4.bin diff --git a/bin/release_0_14_4/manifest.json b/bin/Release/release_0_14_4/manifest.json similarity index 56% rename from bin/release_0_14_4/manifest.json rename to bin/Release/release_0_14_4/manifest.json index 84812cd..cc75feb 100644 --- a/bin/release_0_14_4/manifest.json +++ b/bin/Release/release_0_14_4/manifest.json @@ -7,14 +7,14 @@ "chipFamily": "ESP32", "parts": [ { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.4_ESP32.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32.bin", "offset": 65536 } ] }, { "chipFamily": "ESP32-C3", "parts": [ { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.4_ESP32-C3.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32-C3.bin", "offset": 65536 } ] }, { @@ -22,7 +22,7 @@ "parts": [ { "path": "bootloader_s2.bin", "offset": 0 }, { "path": "partitions_s2_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.14.4_ESP32-S2.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32-S2.bin", "offset": 65536 } ] }, { @@ -30,12 +30,12 @@ "parts": [ { "path": "bootloader_s3.bin", "offset": 0 }, { "path": "partitions_s3_8m.bin", "offset": 32.768 }, - { "path": "WLED_0.14.4_ESP32-S3_8MB.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32-S3_8MB.bin", "offset": 65536 } ] }, { "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.4_ESP8266.bin", "offset": 0 }] + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP8266.bin", "offset": 0 }] } ] } diff --git a/bin/release_0_14_4/manifest_a.json b/bin/Release/release_0_14_4/manifest_a.json similarity index 64% rename from bin/release_0_14_4/manifest_a.json rename to bin/Release/release_0_14_4/manifest_a.json index 9e5aa76..ef15b4b 100644 --- a/bin/release_0_14_4/manifest_a.json +++ b/bin/Release/release_0_14_4/manifest_a.json @@ -7,7 +7,7 @@ "chipFamily": "ESP32", "parts": [ { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.4_ESP32_audioreactive.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32_audioreactive.bin", "offset": 65536 } ] } ] diff --git a/bin/release_0_14_4/manifest_e.json b/bin/Release/release_0_14_4/manifest_e.json similarity index 53% rename from bin/release_0_14_4/manifest_e.json rename to bin/Release/release_0_14_4/manifest_e.json index 4a81137..b880f03 100644 --- a/bin/release_0_14_4/manifest_e.json +++ b/bin/Release/release_0_14_4/manifest_e.json @@ -7,12 +7,12 @@ "chipFamily": "ESP32", "parts": [ { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.4_ESP32_Ethernet.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP32_Ethernet.bin", "offset": 65536 } ] }, { "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.4_ESP8266.bin", "offset": 0 }] + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP8266.bin", "offset": 0 }] } ] } \ No newline at end of file diff --git a/bin/release_0_14_4/manifest_t.json b/bin/Release/release_0_14_4/manifest_t.json similarity index 54% rename from bin/release_0_14_4/manifest_t.json rename to bin/Release/release_0_14_4/manifest_t.json index a322d8e..ee8c324 100644 --- a/bin/release_0_14_4/manifest_t.json +++ b/bin/Release/release_0_14_4/manifest_t.json @@ -5,7 +5,7 @@ "builds": [ { "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.4_ESP8266_160.bin", "offset": 0 }] + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.14.4/WLED_0.14.4_ESP8266_160.bin", "offset": 0 }] } ] } diff --git a/bin/release_0_14_2/partitions_c3_4m.bin b/bin/Release/release_0_14_4/partitions_c3_4m.bin similarity index 100% rename from bin/release_0_14_2/partitions_c3_4m.bin rename to bin/Release/release_0_14_4/partitions_c3_4m.bin diff --git a/bin/release_0_14_2/partitions_s2_4m.bin b/bin/Release/release_0_14_4/partitions_s2_4m.bin similarity index 100% rename from bin/release_0_14_2/partitions_s2_4m.bin rename to bin/Release/release_0_14_4/partitions_s2_4m.bin diff --git a/bin/release_0_14_2/partitions_s3_8m.bin b/bin/Release/release_0_14_4/partitions_s3_8m.bin similarity index 100% rename from bin/release_0_14_2/partitions_s3_8m.bin rename to bin/Release/release_0_14_4/partitions_s3_8m.bin diff --git a/bin/release-candidate_0_15_0_RC-1/boot_app0.bin b/bin/Release/release_0_15_0/boot_app0.bin similarity index 100% rename from bin/release-candidate_0_15_0_RC-1/boot_app0.bin rename to bin/Release/release_0_15_0/boot_app0.bin diff --git a/bin/release_0_14_3/bootloader_s2.bin b/bin/Release/release_0_15_0/bootloader_s2.bin similarity index 100% rename from bin/release_0_14_3/bootloader_s2.bin rename to bin/Release/release_0_15_0/bootloader_s2.bin diff --git a/bin/release_0_14_3/bootloader_s3.bin b/bin/Release/release_0_15_0/bootloader_s3.bin similarity index 100% rename from bin/release_0_14_3/bootloader_s3.bin rename to bin/Release/release_0_15_0/bootloader_s3.bin diff --git a/bin/release_0_14_2/esp32-c3_bootloader_v2.bin b/bin/Release/release_0_15_0/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/release_0_14_2/esp32-c3_bootloader_v2.bin rename to bin/Release/release_0_15_0/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_14_1/esp32_bootloader_v4.bin b/bin/Release/release_0_15_0/esp32_bootloader_v4.bin similarity index 100% rename from bin/release_0_14_1/esp32_bootloader_v4.bin rename to bin/Release/release_0_15_0/esp32_bootloader_v4.bin diff --git a/bin/beta_0_15_0-b3/manifest.json b/bin/Release/release_0_15_0/manifest.json similarity index 50% rename from bin/beta_0_15_0-b3/manifest.json rename to bin/Release/release_0_15_0/manifest.json index a03fd01..5774980 100644 --- a/bin/beta_0_15_0-b3/manifest.json +++ b/bin/Release/release_0_15_0/manifest.json @@ -1,29 +1,27 @@ { "name": "WLED", - "version": "0.15.0-b3/2405180", + "version": "0.15.0/2412100", "home_assistant_domain": "wled", "builds": [ { "chipFamily": "ESP32", "parts": [ { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b3_ESP32.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP32.bin", "offset": 65536 } ] }, { "chipFamily": "ESP32-C3", "parts": [ { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b3_ESP32-C3.bin", "offset": 65536 } + { "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP32-C3.bin", "offset": 65536 } ] }, { "chipFamily": "ESP32-S2", "parts": [ { "path": "bootloader_s2.bin", "offset": 0 }, - { "path": "partitions_s2_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b3_ESP32-S2.bin", "offset": 65536 }, - { "path": "boot_app0.bin", "offset": 57.344 } + { "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP32-S2.bin", "offset": 65536 } ] }, @@ -31,14 +29,12 @@ "chipFamily": "ESP32-S3", "parts": [ { "path": "bootloader_s3.bin", "offset": 0 }, - { "path": "partitions_s3_8m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b3_ESP32-S3_4MB_qspi.bin", "offset": 65536 }, - { "path": "boot_app0.bin", "offset": 57.344 } + { "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP32-S3_4M_qspi.bin", "offset": 65536 } ] }, { "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b3_ESP8266.bin", "offset": 0 }] + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP8266.bin", "offset": 0 }] } ] } diff --git a/bin/Release/release_0_15_0/manifest_e.json b/bin/Release/release_0_15_0/manifest_e.json new file mode 100644 index 0000000..24ae6cd --- /dev/null +++ b/bin/Release/release_0_15_0/manifest_e.json @@ -0,0 +1,18 @@ +{ + "name": "WLED", + "version": "0.15.0/2412100 ethernet", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP32_Ethernet.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP8266.bin", "offset": 0 }] + } + ] +} \ No newline at end of file diff --git a/bin/Release/release_0_15_0/manifest_t.json b/bin/Release/release_0_15_0/manifest_t.json new file mode 100644 index 0000000..c0fac86 --- /dev/null +++ b/bin/Release/release_0_15_0/manifest_t.json @@ -0,0 +1,11 @@ +{ + "name": "WLED", + "version": "0.15.0/2412100 test", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/v0.15.0/WLED_0.15.0_ESP8266_160.bin", "offset": 0 }] + } + ] +} diff --git a/bin/release_0_14_3/partitions_c3_4m.bin b/bin/Release/release_0_15_0/partitions_c3_4m.bin similarity index 100% rename from bin/release_0_14_3/partitions_c3_4m.bin rename to bin/Release/release_0_15_0/partitions_c3_4m.bin diff --git a/bin/release_0_14_3/partitions_s2_4m.bin b/bin/Release/release_0_15_0/partitions_s2_4m.bin similarity index 100% rename from bin/release_0_14_3/partitions_s2_4m.bin rename to bin/Release/release_0_15_0/partitions_s2_4m.bin diff --git a/bin/release_0_14_3/partitions_s3_8m.bin b/bin/Release/release_0_15_0/partitions_s3_8m.bin similarity index 100% rename from bin/release_0_14_3/partitions_s3_8m.bin rename to bin/Release/release_0_15_0/partitions_s3_8m.bin diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-C3.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-C3.bin deleted file mode 100644 index 40f955f..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-C3.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S2.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S2.bin deleted file mode 100644 index 1a6bfb3..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S2.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S3_8MB.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S3_8MB.bin deleted file mode 100644 index 6cc7643..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32-S3_8MB.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32.bin deleted file mode 100644 index 50404c3..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_Ethernet.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_Ethernet.bin deleted file mode 100644 index fed2af4..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_audioreactive.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_audioreactive.bin deleted file mode 100644 index fc284b5..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP8266.bin b/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP8266.bin deleted file mode 100644 index a27cd95..0000000 Binary files a/bin/beta_0_14_2-b1/WLED_0.14.2-b1_ESP8266.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b1/manifest.json b/bin/beta_0_14_2-b1/manifest.json deleted file mode 100644 index 3eb6429..0000000 --- a/bin/beta_0_14_2-b1/manifest.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b1/2402120", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32-C3.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { "path": "esp32-s2_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32-S2.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { "path": "esp32-s3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32-S3_8MB.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.2-b1_ESP8266.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_14_2-b1/manifest_a.json b/bin/beta_0_14_2-b1/manifest_a.json deleted file mode 100644 index b204f2f..0000000 --- a/bin/beta_0_14_2-b1/manifest_a.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b1/2402120 audio", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32_audioreactive.bin", "offset": 65536 } - ] - } - ] -} diff --git a/bin/beta_0_14_2-b1/manifest_e.json b/bin/beta_0_14_2-b1/manifest_e.json deleted file mode 100644 index 1b1b2d0..0000000 --- a/bin/beta_0_14_2-b1/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b1/2402120 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b1_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.2-b1_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-C3.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-C3.bin deleted file mode 100644 index f9616ba..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-C3.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S2.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S2.bin deleted file mode 100644 index b8f3a9d..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S2.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S3_8MB.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S3_8MB.bin deleted file mode 100644 index 52e227f..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32-S3_8MB.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32.bin deleted file mode 100644 index f51c7c9..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_Ethernet.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_Ethernet.bin deleted file mode 100644 index 55ad314..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_audioreactive.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_audioreactive.bin deleted file mode 100644 index aa6cd71..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266.bin deleted file mode 100644 index 3af1628..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266_160.bin b/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266_160.bin deleted file mode 100644 index 1078d92..0000000 Binary files a/bin/beta_0_14_2-b2/WLED_0.14.2-b2_ESP8266_160.bin and /dev/null differ diff --git a/bin/beta_0_14_2-b2/manifest.json b/bin/beta_0_14_2-b2/manifest.json deleted file mode 100644 index 43b7fd8..0000000 --- a/bin/beta_0_14_2-b2/manifest.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b2/2403110", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32-C3.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { "path": "esp32-s2_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32-S2.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { "path": "esp32-s3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32-S3_8MB.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.2-b2_ESP8266.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_14_2-b2/manifest_a.json b/bin/beta_0_14_2-b2/manifest_a.json deleted file mode 100644 index 4bf09f3..0000000 --- a/bin/beta_0_14_2-b2/manifest_a.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b2/2403110 audio", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32_audioreactive", "offset": 65536 } - ] - } - ] -} diff --git a/bin/beta_0_14_2-b2/manifest_e.json b/bin/beta_0_14_2-b2/manifest_e.json deleted file mode 100644 index f972d45..0000000 --- a/bin/beta_0_14_2-b2/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b2/2403110 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.14.2-b2_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.2-b2_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/beta_0_14_2-b2/manifest_t.json b/bin/beta_0_14_2-b2/manifest_t.json deleted file mode 100644 index 1a76e2e..0000000 --- a/bin/beta_0_14_2-b2/manifest_t.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "WLED", - "version": "0.14.2-b2/2403110 test", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.14.2-b2_ESP8266_160.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-C3.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-C3.bin deleted file mode 100644 index 64b83ba..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-C3.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S2.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S2.bin deleted file mode 100644 index cff0707..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S2.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S3_8MB.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S3_8MB.bin deleted file mode 100644 index 41ab24e..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32-S3_8MB.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32.bin deleted file mode 100644 index ec77ddb..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_Ethernet.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_Ethernet.bin deleted file mode 100644 index cc59b9f..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_audioreactive.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_audioreactive.bin deleted file mode 100644 index 9d69c5f..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266.bin deleted file mode 100644 index 66ea622..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266_160.bin b/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266_160.bin deleted file mode 100644 index 09f1d6a..0000000 Binary files a/bin/beta_0_15_0-b1/WLED_0.15.0-b1_ESP8266_160.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b1/manifest.json b/bin/beta_0_15_0-b1/manifest.json deleted file mode 100644 index 09fbdf5..0000000 --- a/bin/beta_0_15_0-b1/manifest.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b1/2403190", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b1_ESP32.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b1_ESP32-C3.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { "path": "bootloader_s2.bin", "offset": 0 }, - { "path": "partitions_s2_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b1_ESP32-S2.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { "path": "bootloader_s3.bin", "offset": 0 }, - { "path": "partitions_s3_8m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b1_ESP32-S3_8MB.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b1_ESP8266.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_15_0-b1/manifest_a.json b/bin/beta_0_15_0-b1/manifest_a.json deleted file mode 100644 index a8545fa..0000000 --- a/bin/beta_0_15_0-b1/manifest_a.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b1/2403190 audio", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b1_ESP32_audioreactive.bin", "offset": 65536 } - ] - } - ] -} diff --git a/bin/beta_0_15_0-b1/manifest_e.json b/bin/beta_0_15_0-b1/manifest_e.json deleted file mode 100644 index de361ca..0000000 --- a/bin/beta_0_15_0-b1/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b1/2403190 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b1_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b1_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/beta_0_15_0-b1/manifest_t.json b/bin/beta_0_15_0-b1/manifest_t.json deleted file mode 100644 index 436e93b..0000000 --- a/bin/beta_0_15_0-b1/manifest_t.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b1/2403190 test", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b1_ESP8266_160.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-C3.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-C3.bin deleted file mode 100644 index 23911be..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-C3.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S2.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S2.bin deleted file mode 100644 index 7f348c6..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S2.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S3_8MB.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S3_8MB.bin deleted file mode 100644 index b352a0e..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32-S3_8MB.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32.bin deleted file mode 100644 index bbcec5e..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_Ethernet.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_Ethernet.bin deleted file mode 100644 index b93df34..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_audioreactive.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_audioreactive.bin deleted file mode 100644 index 90bf751..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266.bin deleted file mode 100644 index ef70739..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266_160.bin b/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266_160.bin deleted file mode 100644 index 8ef5c17..0000000 Binary files a/bin/beta_0_15_0-b2/WLED_0.15.0-b2_ESP8266_160.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/esp32-c3_bootloader_v2.bin b/bin/beta_0_15_0-b2/esp32-c3_bootloader_v2.bin deleted file mode 100644 index f7579ab..0000000 Binary files a/bin/beta_0_15_0-b2/esp32-c3_bootloader_v2.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b2/manifest.json b/bin/beta_0_15_0-b2/manifest.json deleted file mode 100644 index b113466..0000000 --- a/bin/beta_0_15_0-b2/manifest.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b2/2404100", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b2_ESP32.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "partitions_c3_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b2_ESP32-C3.bin", "offset": 65536 }, - { "path": "boot_app0.bin", "offset": 57.344 } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { "path": "bootloader_s2.bin", "offset": 0 }, - { "path": "partitions_s2_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b2_ESP32-S2.bin", "offset": 65536 }, - { "path": "boot_app0.bin", "offset": 57.344 } - - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { "path": "bootloader_s3.bin", "offset": 0 }, - { "path": "partitions_s3_8m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-b2_ESP32-S3_8MB.bin", "offset": 65536 }, - { "path": "boot_app0.bin", "offset": 57.344 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b2_ESP8266.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_15_0-b2/manifest_a.json b/bin/beta_0_15_0-b2/manifest_a.json deleted file mode 100644 index 398c718..0000000 --- a/bin/beta_0_15_0-b2/manifest_a.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b2/2404100 audio", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b2_ESP32_audioreactive.bin", "offset": 65536 } - ] - } - ] -} diff --git a/bin/beta_0_15_0-b2/manifest_e.json b/bin/beta_0_15_0-b2/manifest_e.json deleted file mode 100644 index 6c8d951..0000000 --- a/bin/beta_0_15_0-b2/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b2/2404100 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b2_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b2_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/beta_0_15_0-b2/manifest_t.json b/bin/beta_0_15_0-b2/manifest_t.json deleted file mode 100644 index df8f60c..0000000 --- a/bin/beta_0_15_0-b2/manifest_t.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b2/2404100 test", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b2_ESP8266_160.bin", "offset": 0 }] - } - ] -} diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-C3.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-C3.bin deleted file mode 100644 index b0e2e35..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-C3.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S2.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S2.bin deleted file mode 100644 index 7d17c66..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S2.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S3_4M_qspi.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S3_4M_qspi.bin deleted file mode 100644 index d03599c..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32-S3_4M_qspi.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32.bin deleted file mode 100644 index 5662707..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_Ethernet.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_Ethernet.bin deleted file mode 100644 index 8b7630b..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_audioreactive.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_audioreactive.bin deleted file mode 100644 index 17c5211..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266.bin deleted file mode 100644 index 69558e6..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266_160.bin b/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266_160.bin deleted file mode 100644 index 7a9c803..0000000 Binary files a/bin/beta_0_15_0-b3/WLED_0.15.0-b3_ESP8266_160.bin and /dev/null differ diff --git a/bin/beta_0_15_0-b3/manifest_a.json b/bin/beta_0_15_0-b3/manifest_a.json deleted file mode 100644 index a96ec87..0000000 --- a/bin/beta_0_15_0-b3/manifest_a.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b3/2405180 audio", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b3_ESP32_audioreactive.bin", "offset": 65536 } - ] - } - ] -} diff --git a/bin/beta_0_15_0-b3/manifest_e.json b/bin/beta_0_15_0-b3/manifest_e.json deleted file mode 100644 index 26a10e4..0000000 --- a/bin/beta_0_15_0-b3/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b3/2405180 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-b3_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b3_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/beta_0_15_0-b3/manifest_t.json b/bin/beta_0_15_0-b3/manifest_t.json deleted file mode 100644 index 0c30c98..0000000 --- a/bin/beta_0_15_0-b3/manifest_t.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-b3/2405180 test", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-b3_ESP8266_160.bin", "offset": 0 }] - } - ] -} diff --git a/bin/nightly/boot_app0.bin b/bin/nightly/boot_app0.bin new file mode 100644 index 0000000..13562ca Binary files /dev/null and b/bin/nightly/boot_app0.bin differ diff --git a/bin/release_0_14_4/bootloader_s2.bin b/bin/nightly/bootloader_s2.bin similarity index 100% rename from bin/release_0_14_4/bootloader_s2.bin rename to bin/nightly/bootloader_s2.bin diff --git a/bin/release_0_14_4/bootloader_s3.bin b/bin/nightly/bootloader_s3.bin similarity index 100% rename from bin/release_0_14_4/bootloader_s3.bin rename to bin/nightly/bootloader_s3.bin diff --git a/bin/release_0_14_3/esp32-c3_bootloader_v2.bin b/bin/nightly/esp32-c3_bootloader_v2.bin similarity index 100% rename from bin/release_0_14_3/esp32-c3_bootloader_v2.bin rename to bin/nightly/esp32-c3_bootloader_v2.bin diff --git a/bin/release_0_14_2/esp32_bootloader_v4.bin b/bin/nightly/esp32_bootloader_v4.bin similarity index 100% rename from bin/release_0_14_2/esp32_bootloader_v4.bin rename to bin/nightly/esp32_bootloader_v4.bin diff --git a/bin/nightly/manifest.json b/bin/nightly/manifest.json new file mode 100644 index 0000000..bd97b70 --- /dev/null +++ b/bin/nightly/manifest.json @@ -0,0 +1,40 @@ +{ + "name": "WLED", + "version": "0.16.0-aplha", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP32.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-C3", + "parts": [ + { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP32-C3.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP32-S2", + "parts": [ + { "path": "bootloader_s2.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP32-S2.bin", "offset": 65536 } + + ] + }, + { + "chipFamily": "ESP32-S3", + "parts": [ + { "path": "bootloader_s3.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP32-S3_4M_qspi.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP8266.bin", "offset": 0 }] + } + ] +} diff --git a/bin/nightly/manifest_e.json b/bin/nightly/manifest_e.json new file mode 100644 index 0000000..fbe6d6b --- /dev/null +++ b/bin/nightly/manifest_e.json @@ -0,0 +1,18 @@ +{ + "name": "WLED", + "version": "0.16.0-aplha ethernet", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { "path": "esp32_bootloader_v4.bin", "offset": 0 }, + { "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP32_Ethernet.bin", "offset": 65536 } + ] + }, + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP8266.bin", "offset": 0 }] + } + ] +} \ No newline at end of file diff --git a/bin/nightly/manifest_t.json b/bin/nightly/manifest_t.json new file mode 100644 index 0000000..419a3ba --- /dev/null +++ b/bin/nightly/manifest_t.json @@ -0,0 +1,11 @@ +{ + "name": "WLED", + "version": "0.16.0-aplha test", + "home_assistant_domain": "wled", + "builds": [ + { + "chipFamily": "ESP8266", + "parts": [{ "path": "https://github.com/wled/WLED/releases/download/nightly/WLED_0.16.0-alpha_ESP8266_160.bin", "offset": 0 }] + } + ] +} diff --git a/bin/release_0_14_4/partitions_c3_4m.bin b/bin/nightly/partitions_c3_4m.bin similarity index 100% rename from bin/release_0_14_4/partitions_c3_4m.bin rename to bin/nightly/partitions_c3_4m.bin diff --git a/bin/release_0_14_4/partitions_s2_4m.bin b/bin/nightly/partitions_s2_4m.bin similarity index 100% rename from bin/release_0_14_4/partitions_s2_4m.bin rename to bin/nightly/partitions_s2_4m.bin diff --git a/bin/release_0_14_4/partitions_s3_8m.bin b/bin/nightly/partitions_s3_8m.bin similarity index 100% rename from bin/release_0_14_4/partitions_s3_8m.bin rename to bin/nightly/partitions_s3_8m.bin diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-C3.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-C3.bin deleted file mode 100644 index 1456e82..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-C3.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S2.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S2.bin deleted file mode 100644 index 590f79e..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S2.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S3_4M_qspi.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S3_4M_qspi.bin deleted file mode 100644 index 3022d7f..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32-S3_4M_qspi.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32.bin deleted file mode 100644 index 4100f3d..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32_Ethernet.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32_Ethernet.bin deleted file mode 100644 index 7ec60a1..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266.bin deleted file mode 100644 index 6444d8a..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266_160.bin b/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266_160.bin deleted file mode 100644 index e624ba4..0000000 Binary files a/bin/release-candidate_0_15_0_RC-1/WLED_0.15.0-rc1_ESP8266_160.bin and /dev/null differ diff --git a/bin/release-candidate_0_15_0_RC-1/manifest.json b/bin/release-candidate_0_15_0_RC-1/manifest.json deleted file mode 100644 index 2cd85e3..0000000 --- a/bin/release-candidate_0_15_0_RC-1/manifest.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-rc1/2411250", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-rc1_ESP32.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { "path": "esp32-c3_bootloader_v2.bin", "offset": 0 }, - { "path": "WLED_0.15.0-rc1_ESP32-C3.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { "path": "bootloader_s2.bin", "offset": 0 }, - { "path": "partitions_s2_4m.bin", "offset": 32.768 }, - { "path": "WLED_0.15.0-rc1_ESP32-S2.bin", "offset": 65536 } - - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { "path": "bootloader_s3.bin", "offset": 0 }, - { "path": "WLED_0.15.0-rc1_ESP32-S3_4M_qspi.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-rc1_ESP8266.bin", "offset": 0 }] - } - ] -} diff --git a/bin/release-candidate_0_15_0_RC-1/manifest_e.json b/bin/release-candidate_0_15_0_RC-1/manifest_e.json deleted file mode 100644 index 619f4ad..0000000 --- a/bin/release-candidate_0_15_0_RC-1/manifest_e.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-rc1/2411250 ethernet", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ - { "path": "esp32_bootloader_v4.bin", "offset": 0 }, - { "path": "WLED_0.15.0-rc1_ESP32_Ethernet.bin", "offset": 65536 } - ] - }, - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-rc1_ESP8266.bin", "offset": 0 }] - } - ] -} \ No newline at end of file diff --git a/bin/release-candidate_0_15_0_RC-1/manifest_t.json b/bin/release-candidate_0_15_0_RC-1/manifest_t.json deleted file mode 100644 index 264ad71..0000000 --- a/bin/release-candidate_0_15_0_RC-1/manifest_t.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "WLED", - "version": "0.15.0-rc1/2411250 test", - "home_assistant_domain": "wled", - "builds": [ - { - "chipFamily": "ESP8266", - "parts": [{ "path": "WLED_0.15.0-rc1_ESP8266_160.bin", "offset": 0 }] - } - ] -} diff --git a/bin/release_0_14_0/esp32-s2_bootloader_v2.bin b/bin/release_0_14_0/esp32-s2_bootloader_v2.bin deleted file mode 100644 index ddb7cad..0000000 Binary files a/bin/release_0_14_0/esp32-s2_bootloader_v2.bin and /dev/null differ diff --git a/bin/release_0_14_0/esp32-s3_bootloader_v2.bin b/bin/release_0_14_0/esp32-s3_bootloader_v2.bin deleted file mode 100644 index 4d8b09c..0000000 Binary files a/bin/release_0_14_0/esp32-s3_bootloader_v2.bin and /dev/null differ diff --git a/bin/release_0_14_1/esp32-s2_bootloader_v2.bin b/bin/release_0_14_1/esp32-s2_bootloader_v2.bin deleted file mode 100644 index ddb7cad..0000000 Binary files a/bin/release_0_14_1/esp32-s2_bootloader_v2.bin and /dev/null differ diff --git a/bin/release_0_14_1/esp32-s3_bootloader_v2.bin b/bin/release_0_14_1/esp32-s3_bootloader_v2.bin deleted file mode 100644 index 4d8b09c..0000000 Binary files a/bin/release_0_14_1/esp32-s3_bootloader_v2.bin and /dev/null differ diff --git a/bin/release_0_14_3/esp32_bootloader_v4.bin b/bin/release_0_14_3/esp32_bootloader_v4.bin deleted file mode 100644 index df4c55b..0000000 Binary files a/bin/release_0_14_3/esp32_bootloader_v4.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32-C3.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32-C3.bin deleted file mode 100644 index 0ed6690..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32-C3.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32-S2.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32-S2.bin deleted file mode 100644 index 75df888..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32-S2.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32-S3_8MB.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32-S3_8MB.bin deleted file mode 100644 index 89c634f..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32-S3_8MB.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32.bin deleted file mode 100644 index eef7dd2..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32_Ethernet.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32_Ethernet.bin deleted file mode 100644 index acc6205..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32_Ethernet.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP32_audioreactive.bin b/bin/release_0_14_4/WLED_0.14.4_ESP32_audioreactive.bin deleted file mode 100644 index a195639..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP32_audioreactive.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP8266.bin b/bin/release_0_14_4/WLED_0.14.4_ESP8266.bin deleted file mode 100644 index 5ed2d3f..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP8266.bin and /dev/null differ diff --git a/bin/release_0_14_4/WLED_0.14.4_ESP8266_160.bin b/bin/release_0_14_4/WLED_0.14.4_ESP8266_160.bin deleted file mode 100644 index 1e261f0..0000000 Binary files a/bin/release_0_14_4/WLED_0.14.4_ESP8266_160.bin and /dev/null differ diff --git a/bin/release_0_14_4/esp32-c3_bootloader_v2.bin b/bin/release_0_14_4/esp32-c3_bootloader_v2.bin deleted file mode 100644 index a03a3e4..0000000 Binary files a/bin/release_0_14_4/esp32-c3_bootloader_v2.bin and /dev/null differ diff --git a/bin/release_0_14_4/esp32_bootloader_v4.bin b/bin/release_0_14_4/esp32_bootloader_v4.bin deleted file mode 100644 index df4c55b..0000000 Binary files a/bin/release_0_14_4/esp32_bootloader_v4.bin and /dev/null differ diff --git a/index.htm b/index.htm index cbb5137..7c6446c 100644 --- a/index.htm +++ b/index.htm @@ -9,7 +9,7 @@ Install WLED @@ -29,48 +29,39 @@

Welcome to the WLED web installer!


diff --git a/installer/esp32-76e55e75.js b/installer/esp32-76e55e75.js deleted file mode 100644 index 2ba1bae..0000000 --- a/installer/esp32-76e55e75.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var C=1074521560,I="CAD0PxwA9D8AAPQ/AMD8PxAA9D82QQAh+v/AIAA4AkH5/8AgACgEICB0nOIGBQAAAEH1/4H2/8AgAKgEiAigoHTgCAALImYC54b0/yHx/8AgADkCHfAAAKDr/T8Ya/0/hIAAAEBAAABYq/0/pOv9PzZBALH5/yCgdBARIKXHAJYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIAC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tAmuoLQI7pC0Ca6gtAXegLQLPoC0Dt6AtASekLQHfoC0BM6wtAs+wLQKXmC0DX7AtApeYLQKXmC0Cl5gtApeYLQKXmC0Cl5gtApeYLQKXmC0Dz6gtApeYLQM3rC0Cz7AtA",i=1073605544;class E extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP32",this.IMAGE_CHIP_ID=0,this.EFUSE_RD_REG_BASE=1073061888,this.DR_REG_SYSCON_BASE=1073111040,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.XTAL_CLK_DIVIDER=1,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.SPI_REG_BASE=1072963584,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_W0_OFFS=128,this.SPI_MOSI_DLEN_OFFS=40,this.SPI_MISO_DLEN_OFFS=44,this.TEXT_START=g,this.ENTRY=C,this.DATA_START=i,this.ROM_DATA=B,this.ROM_TEXT=I}async read_efuse(A,C){const I=this.EFUSE_RD_REG_BASE+4*C;return A.debug("Read efuse "+I),await A.read_reg(I)}async get_pkg_version(A){const C=await this.read_efuse(A,3);let I=C>>9&7;return I+=(C>>2&1)<<3,I}async get_chip_revision(A){const C=await this.read_efuse(A,3),I=await this.read_efuse(A,5),g=await A.read_reg(this.DR_REG_SYSCON_BASE+124);return 0!=(C>>15&1)?0!=(I>>20&1)?0!=(g>>31&1)?3:2:1:0}async get_chip_description(A){const C=["ESP32-D0WDQ6","ESP32-D0WD","ESP32-D2WD","","ESP32-U4WDH","ESP32-PICO-D4","ESP32-PICO-V3-02"];let I="";const g=await this.get_pkg_version(A),B=await this.get_chip_revision(A),i=3==B;return 0!=(1&await this.read_efuse(A,3))&&(C[0]="ESP32-S0WDQ6",C[1]="ESP32-S0WD"),i&&(C[5]="ESP32-PICO-V3"),I=g>=0&&g<=6?C[g]:"Unknown ESP32",!i||0!==g&&1!==g||(I+="-V3"),I+" (revision "+B+")"}async get_chip_features(A){const C=["Wi-Fi"],I=await this.read_efuse(A,3);0===(2&I)&&C.push(" BT");0!==(1&I)?C.push(" Single Core"):C.push(" Dual Core");if(0!==(8192&I)){0!==(4096&I)?C.push(" 160MHz"):C.push(" 240MHz")}const g=await this.get_pkg_version(A);-1!==[2,4,5,6].indexOf(g)&&C.push(" Embedded Flash"),6===g&&C.push(" Embedded PSRAM");0!==(await this.read_efuse(A,4)>>8&31)&&C.push(" VRef calibration in efuse");0!==(I>>14&1)&&C.push(" BLK3 partially reserved");const B=3&await this.read_efuse(A,6);return C.push(" Coding Scheme "+["None","3/4","Repeat (UNSUPPORTED)","Invalid"][B]),C}async get_crystal_freq(A){const C=await A.read_reg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,I=A.transport.baudrate*C/1e6/this.XTAL_CLK_DIVIDER;let g;return g=I>33?40:26,Math.abs(g-I)>1&&A.info("WARNING: Unsupported crystal in use"),g}_d2h(A){const C=(+A).toString(16);return 1===C.length?"0"+C:C}async read_mac(A){let C=await this.read_efuse(A,1);C>>>=0;let I=await this.read_efuse(A,2);I>>>=0;const g=new Uint8Array(6);return g[0]=I>>8&255,g[1]=255&I,g[2]=C>>24&255,g[3]=C>>16&255,g[4]=C>>8&255,g[5]=255&C,this._d2h(g[0])+":"+this._d2h(g[1])+":"+this._d2h(g[2])+":"+this._d2h(g[3])+":"+this._d2h(g[4])+":"+this._d2h(g[5])}}export{E as ESP32ROM}; diff --git a/installer/esp32c3-47b374e0.js b/installer/esp32c3-47b374e0.js deleted file mode 100644 index e186ebd..0000000 --- a/installer/esp32c3-47b374e0.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var E=1077413532,B="QREixCbCBsa3NwRgEUc3RMg/2Mu3NARgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D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AzcyNxA4pfcwNxEs4eHQdzEl/DH/+eAQESJvgllEwUFcQOsywADpIsAl/DH/+eAADa3BwBg2Eu3BgABwRaTV0cBEgd1j72L2Y+zh4cDAUWz1YcCl/DH/+eA4DYTBYA+l/DH/+eAoDIRtoOmSwEDpgsBg6XLAAOliwDv8M/7/bSDxTsAg8crABOFiwGiBd2NwRXv8O/X2bzv8E/HPb+DxzsAA8crABOMiwGiB9mPE40H/wVEt3vJP9xEYwUNAJnDY0yAAGNQBAoTB3AM2MjjnweokweQDGGok4cLu5hDt/fIP5OHB7KZjz7WgyeKsLd8yD9q0JOMTAGTjQu7BUhjc/0ADUhCxjrE7/BPwCJHMkg3Rcg/4oV8EJOGCrIQEBMFxQKX8Mf/54DAMIJXA6eMsIOlDQAzDf1AHY8+nLJXI6TssCqEvpUjoL0Ak4cKsp2NAcWhZ+OS9fZahe/wb8sjoG0Bmb8t9OODB6CTB4AM3Mj1uoOniwDjmwee7/Cv1gllEwUFcZfwx//ngGAg7/Bv0Zfwx//ngKAj0boDpMsA4wcEnO/wL9QTBYA+l/DH/+eAAB7v8A/PApRVuu/wj872UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoAAAA==",w=1077411840,c="IGvIP3YKOEDGCjhAHgs4QMILOEAuDDhA3As4QEIJOEB+CzhAvgs4QDILOEDyCDhAZgs4QPIIOEBQCjhAlgo4QMYKOEAeCzhAYgo4QKYJOEDWCThAXgo4QIAOOEDGCjhARg04QDgOOEAyCDhAYA44QDIIOEAyCDhAMgg4QDIIOEAyCDhAMgg4QDIIOEAyCDhA4gw4QDIIOEBkDThAOA44QA==",g=1070164912;class M extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C3",this.IMAGE_CHIP_ID=5,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=w,this.ENTRY=E,this.DATA_START=g,this.ROM_DATA=c,this.ROM_TEXT=B}async get_pkg_version(A){const E=this.EFUSE_BASE+68+12;return await A.read_reg(E)>>21&7}async get_chip_revision(A){const E=this.EFUSE_BASE+68+12;return(await A.read_reg(E)&7<<18)>>18}async get_chip_description(A){let E;E=0===await this.get_pkg_version(A)?"ESP32-C3":"unknown ESP32-C3";return E+=" (revision "+await this.get_chip_revision(A)+")",E}async get_chip_features(A){return["Wi-Fi"]}async get_crystal_freq(A){return 40}_d2h(A){const E=(+A).toString(16);return 1===E.length?"0"+E:E}async read_mac(A){let E=await A.read_reg(this.MAC_EFUSE_REG);E>>>=0;let B=await A.read_reg(this.MAC_EFUSE_REG+4);B=B>>>0&65535;const w=new Uint8Array(6);return w[0]=B>>8&255,w[1]=255&B,w[2]=E>>24&255,w[3]=E>>16&255,w[4]=E>>8&255,w[5]=255&E,this._d2h(w[0])+":"+this._d2h(w[1])+":"+this._d2h(w[2])+":"+this._d2h(w[3])+":"+this._d2h(w[4])+":"+this._d2h(w[5])}get_erase_size(A,E){return E}}export{M as ESP32C3ROM}; diff --git a/installer/esp32c6-6da0b175.js b/installer/esp32c6-6da0b175.js deleted file mode 100644 index a05a40a..0000000 --- a/installer/esp32c6-6da0b175.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var B=1082132112,E="QREixCbCBsa39wBgEUc3BIRA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJhEAmylLEBs4izLcEAGB9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DpcsAA6WLAO/wT/79tIPFOwCDxysAE4WLAaIF3Y3BFe/wL9vZvO/wj8o9v4PHOwADxysAE4yLAaIH2Y8TjQf/BUS3O4VA3ERjBQ0AmcNjTIAAY1AEChMHcAzYyOOfB6iTB5AMYaiTh8u6mEO3t4RAk4fHsZmPPtaDJ4qwtzyEQGrQk4wMAZONy7oFSGNz/QANSELGOsTv8I/DIkcySDcFhEDihXwQk4bKsRAQEwWFApfwf//ngEA0glcDp4ywg6UNADMN/UAdjz6cslcjpOywKoS+lSOgvQCTh8qxnY0BxaFn45L19lqF7/CvziOgbQGZvy3044MHoJMHgAzcyPW6g6eLAOObB57v8C/ZCWUTBQVxl/B//+eAoCLv8K/Ul/B//+eA4CbRugOkywDjBwSc7/Cv1hMFgD6X8H//54BAIO/wT9IClFW67/DP0fZQZlTWVEZZtlkmWpZaBlv2S2ZM1kxGTbZNCWGCgAAA",w=1082130432,c="HCuEQEIKgECSCoBA6gqAQI4LgED6C4BAqAuAQA4JgEBKC4BAiguAQP4KgEC+CIBAMguAQL4IgEAcCoBAYgqAQJIKgEDqCoBALgqAQHIJgECiCYBAKgqAQEwOgECSCoBAEg2AQAQOgED+B4BALA6AQP4HgED+B4BA/geAQP4HgED+B4BA/geAQP4HgED+B4BArgyAQP4HgEAwDYBABA6AQA==",g=1082469292;class F extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C6",this.IMAGE_CHIP_ID=13,this.EFUSE_BASE=1611335680,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=w,this.ENTRY=B,this.DATA_START=g,this.ROM_DATA=c,this.ROM_TEXT=E}async get_pkg_version(A){const B=this.EFUSE_BASE+68+12;return await A.read_reg(B)>>21&7}async get_chip_revision(A){const B=this.EFUSE_BASE+68+12;return(await A.read_reg(B)&7<<18)>>18}async get_chip_description(A){let B;B=0===await this.get_pkg_version(A)?"ESP32-C6":"unknown ESP32-C6";return B+=" (revision "+await this.get_chip_revision(A)+")",B}async get_chip_features(A){return["Wi-Fi"]}async get_crystal_freq(A){return 40}_d2h(A){const B=(+A).toString(16);return 1===B.length?"0"+B:B}async read_mac(A){let B=await A.read_reg(this.MAC_EFUSE_REG);B>>>=0;let E=await A.read_reg(this.MAC_EFUSE_REG+4);E=E>>>0&65535;const w=new Uint8Array(6);return w[0]=E>>8&255,w[1]=255&E,w[2]=B>>24&255,w[3]=B>>16&255,w[4]=B>>8&255,w[5]=255&B,this._d2h(w[0])+":"+this._d2h(w[1])+":"+this._d2h(w[2])+":"+this._d2h(w[3])+":"+this._d2h(w[4])+":"+this._d2h(w[5])}get_erase_size(A,B){return B}}export{F as ESP32C6ROM}; diff --git a/installer/esp32s2-0d35c7ed.js b/installer/esp32s2-0d35c7ed.js deleted file mode 100644 index 2fa574a..0000000 --- a/installer/esp32s2-0d35c7ed.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var g=1073907696,C="CAAAYBwAAGBIAP0/EAAAYDZBACH7/8AgADgCQfr/wCAAKAQgIJSc4kH4/0YEAAw4MIgBwCAAqAiIBKCgdOAIAAsiZgLohvT/IfH/wCAAOQId8AAA7Cv+P2Sr/T+EgAAAQEAAAKTr/T/wK/4/NkEAsfn/IKB0EBEgZQEBlhoGgfb/kqEBkJkRmpjAIAC4CZHz/6CgdJqIwCAAkhgAkJD0G8nAwPTAIADCWACam8AgAKJJAMAgAJIYAIHq/5CQ9ICA9IeZR4Hl/5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ADZBAJ0CgqDAKAOHmQ/MMgwShgcADAIpA3zihg8AJhIHJiIYhgMAAACCoNuAKSOHmSoMIikDfPJGCAAAACKg3CeZCgwSKQMtCAYEAAAAgqDdfPKHmQYMEikDIqDbHfAAAA==",I=1073905664,B="ZCv9PzaLAkDBiwJAhpACQEqMAkDjiwJASowCQKmMAkByjQJA5Y0CQI2NAkDAigJAC40CQGSNAkDMjAJACI4CQPaMAkAIjgJAr4sCQA6MAkBKjAJAqYwCQMeLAkACiwJAx44CQD2QAkDYiQJAZZACQNiJAkDYiQJA2IkCQNiJAkDYiQJA2IkCQNiJAkDYiQJAZI4CQNiJAkBZjwJAPZACQA==",E=1073622012;class i extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S2",this.IMAGE_CHIP_ID=2,this.MAC_EFUSE_REG=1061265476,this.EFUSE_BASE=1061265408,this.UART_CLKDIV_REG=1061158932,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1061167104,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_W0_OFFS=88,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.TEXT_START=I,this.ENTRY=g,this.DATA_START=E,this.ROM_DATA=B,this.ROM_TEXT=C}async get_pkg_version(A){const g=this.EFUSE_BASE+68+12;return await A.read_reg(g)>>21&15}async get_chip_description(A){const g=["ESP32-S2","ESP32-S2FH16","ESP32-S2FH32"],C=await this.get_pkg_version(A);return C>=0&&C<=2?g[C]:"unknown ESP32-S2"}async get_chip_features(A){const g=["Wi-Fi"],C=await this.get_pkg_version(A);1==C?g.push("Embedded 2MB Flash"):2==C&&g.push("Embedded 4MB Flash");const I=this.EFUSE_BASE+92+16;return 1==(await A.read_reg(I)>>4&7)&&g.push("ADC and temperature sensor calibration in BLK2 of efuse"),g}async get_crystal_freq(A){return 40}_d2h(A){const g=(+A).toString(16);return 1===g.length?"0"+g:g}async read_mac(A){let g=await A.read_reg(this.MAC_EFUSE_REG);g>>>=0;let C=await A.read_reg(this.MAC_EFUSE_REG+4);C=C>>>0&65535;const I=new Uint8Array(6);return I[0]=C>>8&255,I[1]=255&C,I[2]=g>>24&255,I[3]=g>>16&255,I[4]=g>>8&255,I[5]=255&g,this._d2h(I[0])+":"+this._d2h(I[1])+":"+this._d2h(I[2])+":"+this._d2h(I[3])+":"+this._d2h(I[4])+":"+this._d2h(I[5])}get_erase_size(A,g){return g}}export{i as ESP32S2ROM}; diff --git a/installer/esp32s3-69876819.js b/installer/esp32s3-69876819.js deleted file mode 100644 index 278226d..0000000 --- a/installer/esp32s3-69876819.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var g=1077381696,C="FIADYACAA2BIAMo/BIADYDZBAIH7/wxJwCAAmQjGBAAAgfj/wCAAqAiB9/+goHSICOAIACH2/8AgAIgCJ+jhHfAAAAAIAABgHAAAYBAAAGA2QQAh/P/AIAA4AkH7/8AgACgEICCUnOJB6P9GBAAMODCIAcAgAKgIiASgoHTgCAALImYC6Ib0/yHx/8AgADkCHfAAAOwryz9kq8o/hIAAAEBAAACk68o/8CvLPzZBALH5/yCgdBARIKUrAZYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIACJCZHX/5qIDAnAIACSWAAd8AAAVCAAYFQwAGA2QQCR/f/AIACICYCAJFZI/5H6/8AgAIgJgIAkVkj/HfAAAAAsIABgACAAYAAAAAg2QQAQESCl/P8h+v8MCMAgAIJiAJH6/4H4/8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AAAAAAAQQIIQAAAAAAIAAAEQQI3AAAAAAAIAAAEQQIDAAAAAAAIAAAAQQIEgAAAAAAIAAAESAoDAAQAQAA",E=1070279668;class Q extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S3",this.IMAGE_CHIP_ID=9,this.EFUSE_BASE=1610641408,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612864,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.USB_RAM_BLOCK=2048,this.UARTDEV_BUF_NO_USB=3,this.UARTDEV_BUF_NO=1070526796,this.TEXT_START=I,this.ENTRY=g,this.DATA_START=E,this.ROM_DATA=B,this.ROM_TEXT=C}async get_chip_description(A){return"ESP32-S3"}async get_chip_features(A){return["Wi-Fi","BLE"]}async get_crystal_freq(A){return 40}_d2h(A){const g=(+A).toString(16);return 1===g.length?"0"+g:g}async _post_connect(A){const g=255&await A.read_reg(this.UARTDEV_BUF_NO);A.debug("In _post_connect "+g),g==this.UARTDEV_BUF_NO_USB&&(A.ESP_RAM_BLOCK=this.USB_RAM_BLOCK)}async read_mac(A){let g=await A.read_reg(this.MAC_EFUSE_REG);g>>>=0;let C=await A.read_reg(this.MAC_EFUSE_REG+4);C=C>>>0&65535;const I=new Uint8Array(6);return I[0]=C>>8&255,I[1]=255&C,I[2]=g>>24&255,I[3]=g>>16&255,I[4]=g>>8&255,I[5]=255&g,this._d2h(I[0])+":"+this._d2h(I[1])+":"+this._d2h(I[2])+":"+this._d2h(I[3])+":"+this._d2h(I[4])+":"+this._d2h(I[5])}get_erase_size(A,g){return g}}export{Q as ESP32S3ROM}; diff --git a/installer/esp8266-00e25dbe.js b/installer/esp8266-00e25dbe.js deleted file mode 100644 index e2f3bcd..0000000 --- a/installer/esp8266-00e25dbe.js +++ /dev/null @@ -1 +0,0 @@ -import{R as A}from"./rom-7e8b4fbe.js";var I=1074843652,E="qBAAQAH//0Z0AAAAkIH/PwgB/z+AgAAAhIAAAEBAAABIQf8/lIH/PzH5/xLB8CAgdAJhA4XvATKv/pZyA1H0/0H2/zH0/yAgdDA1gEpVwCAAaANCFQBAMPQbQ0BA9MAgAEJVADo2wCAAIkMAIhUAMev/ICD0N5I/Ieb/Meb/Qen/OjLAIABoA1Hm/yeWEoYAAAAAAMAgACkEwCAAWQNGAgDAIABZBMAgACkDMdv/OiIMA8AgADJSAAgxEsEQDfAAoA0AAJiB/z8Agf4/T0hBSais/z+krP8/KNAQQEzqEEAMAABg//8AAAAQAAAAAAEAAAAAAYyAAAAQQAAAAAD//wBAAAAAgf4/BIH+PxAnAAAUAABg//8PAKis/z8Igf4/uKz/PwCAAAA4KQAAkI//PwiD/z8Qg/8/rKz/P5yv/z8wnf8/iK//P5gbAAAACAAAYAkAAFAOAABQEgAAPCkAALCs/z+0rP8/1Kr/PzspAADwgf8/DK//P5Cu/z+ACwAAEK7/P5Ct/z8BAAAAAAAAALAVAADx/wAAmKz/P5iq/z+8DwBAiA8AQKgPAEBYPwBAREYAQCxMAEB4SABAAEoAQLRJAEDMLgBA2DkAQEjfAECQ4QBATCYAQIRJAEAhvP+SoRCQEcAiYSMioAACYUPCYULSYUHiYUDyYT8B6f/AAAAhsv8xs/8MBAYBAABJAksiNzL4hbUBIqCMDEMqIcWnAYW0ASF8/8F6/zGr/yoswCAAyQIhqP8MBDkCMaj/DFIB2f/AAAAxpv8ioQHAIABIAyAkIMAgACkDIqAgAdP/wAAAAdL/wAAAAdL/wAAAcZ3/UZ7/QZ7/MZ7/YqEADAIBzf/AAAAhnP8xYv8qI8Ag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AAfAAAAIwAAACsAAAAzAAAAOwAAAEMAAABTAAAAYwAAAHMAAACDAAAAowAAAMMAAADjAAAAAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAgAAAAMAAAADAAAAAwAAAAMAAAAEAAAABAAAAAQAAAAEAAAABQAAAAUAAAAFAAAABQAAAAAAAAAAAAAAAAAAABAREgAIBwkGCgULBAwDDQIOAQ8AAQEAAAEAAAAEAAAA",Q=1073720488;class M extends A{constructor(){super(...arguments),this.CHIP_NAME="ESP8266",this.CHIP_DETECT_MAGIC_VALUE=[4293968129],this.EFUSE_RD_REG_BASE=1072693328,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.XTAL_CLK_DIVIDER=2,this.FLASH_WRITE_SIZE=16384,this.BOOTLOADER_FLASH_OFFSET=0,this.UART_DATE_REG_ADDR=0,this.FLASH_SIZES={"512KB":0,"256KB":16,"1MB":32,"2MB":48,"4MB":64,"2MB-c1":80,"4MB-c1":96,"8MB":128,"16MB":144},this.SPI_REG_BASE=1610613248,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_MOSI_DLEN_OFFS=0,this.SPI_MISO_DLEN_OFFS=0,this.SPI_W0_OFFS=64,this.TEXT_START=C,this.ENTRY=I,this.DATA_START=Q,this.ROM_DATA=g,this.ROM_TEXT=E,this.get_chip_features=async A=>{const I=["WiFi"];return"ESP8285"==await this.get_chip_description(A)&&I.push("Embedded Flash"),I}}async read_efuse(A,I){const E=this.EFUSE_RD_REG_BASE+4*I;return A.debug("Read efuse "+E),await A.read_reg(E)}async get_chip_description(A){const I=await this.read_efuse(A,2);return 0!=(16&await this.read_efuse(A,0)|65536&I)?"ESP8285":"ESP8266EX"}async get_crystal_freq(A){const I=await A.read_reg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,E=A.transport.baudrate*I/1e6/this.XTAL_CLK_DIVIDER;let C;return C=E>33?40:26,Math.abs(C-E)>1&&A.info("WARNING: Detected crystal freq "+E+"MHz is quite different to normalized freq "+C+"MHz. Unsupported crystal in use?"),C}_d2h(A){const I=(+A).toString(16);return 1===I.length?"0"+I:I}async read_mac(A){let I=await this.read_efuse(A,0);I>>>=0;let E=await this.read_efuse(A,1);E>>>=0;let C=await this.read_efuse(A,3);C>>>=0;const g=new Uint8Array(6);return 0!=C?(g[0]=C>>16&255,g[1]=C>>8&255,g[2]=255&C):0==(E>>16&255)?(g[0]=24,g[1]=254,g[2]=52):1==(E>>16&255)?(g[0]=172,g[1]=208,g[2]=116):A.error("Unknown OUI"),g[3]=E>>8&255,g[4]=255&E,g[5]=I>>24&255,this._d2h(g[0])+":"+this._d2h(g[1])+":"+this._d2h(g[2])+":"+this._d2h(g[3])+":"+this._d2h(g[4])+":"+this._d2h(g[5])}get_erase_size(A,I){return I}}export{M as ESP8266ROM}; diff --git a/installer/index-54fb20b9.js b/installer/index-54fb20b9.js deleted file mode 100644 index ca15172..0000000 --- a/installer/index-54fb20b9.js +++ /dev/null @@ -1,126 +0,0 @@ -import{D as e,f as t,_ as o,s as l,x as i,k as n,C as s}from"./styles-fa761598.js";const a=s` - - - - - -`;let r=class extends l{render(){return i` - -
- If you didn't select a port because you didn't see your device listed, - try the following steps: -
-
    -
  1. - Make sure that the device is connected to this computer (the one - that runs the browser that shows this website) -
  2. -
  3. - Most devices have a tiny light when it is powered on. If yours has - one, make sure it is on. -
  4. -
  5. - Make sure that the USB cable you use can be used for data and is not - a power-only cable. -
  6. -
  7. - Make sure you have the right drivers installed. Below are the - drivers for common chips used in ESP devices: -
      -
    • - CP2102 drivers: - Windows & Mac -
    • -
    • - CH342, CH343, CH9102 drivers: - Windows, - Mac -
      - (download via blue button with ${a} icon) -
    • -
    • - CH340, CH341 drivers: - Windows, - Mac -
      - (download via blue button with ${a} icon) -
    • -
    -
  8. -
- ${this.doTryAgain?i` - - - - `:i` - - `} -
- `}async _handleClose(){this.parentNode.removeChild(this)}};r.styles=[e,t` - li + li, - li > ul { - margin-top: 8px; - } - ul, - ol { - margin-bottom: 0; - padding-left: 1.5em; - } - `],r=o([n("ewt-no-port-picked-dialog")],r);const c=async e=>{const t=document.createElement("ewt-no-port-picked-dialog");return t.doTryAgain=e,document.body.append(t),!0};export{c as openNoPortPickedDialog}; diff --git a/installer/install-button.js b/installer/install-button.js deleted file mode 100644 index acf624c..0000000 --- a/installer/install-button.js +++ /dev/null @@ -1 +0,0 @@ -const e=async t=>{let n;import("./install-dialog-19322187.js");try{n=await navigator.serial.requestPort()}catch(n){return"NotFoundError"===n.name?void import("./index-54fb20b9.js").then((n=>n.openNoPortPickedDialog((()=>e(t))))):void alert(`Error: ${n.message}`)}if(!n)return;try{await n.open({baudRate:115200})}catch(e){return void alert(e.message)}const o=document.createElement("ewt-install-dialog");o.port=n,o.manifestPath=t.manifest||t.getAttribute("manifest"),o.overrides=t.overrides,o.addEventListener("closed",(()=>{n.close()}),{once:!0}),document.body.appendChild(o)};class t extends HTMLElement{connectedCallback(){if(this.renderRoot)return;if(this.renderRoot=this.attachShadow({mode:"open"}),!t.isSupported||!t.isAllowed)return this.toggleAttribute("install-unsupported",!0),void(this.renderRoot.innerHTML=t.isAllowed?"Your browser does not support installing things on ESP devices. Use Google Chrome or Microsoft Edge.":"You can only install ESP devices on HTTPS websites or on the localhost.");this.toggleAttribute("install-supported",!0);const n=document.createElement("slot");n.addEventListener("click",(async t=>{t.preventDefault(),e(this)})),n.name="activate";const o=document.createElement("button");if(o.innerText="CONNECT",n.append(o),"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype){const e=new CSSStyleSheet;e.replaceSync(t.style),this.renderRoot.adoptedStyleSheets=[e]}else{const e=document.createElement("style");e.innerText=t.style,this.renderRoot.append(e)}this.renderRoot.append(n)}}t.isSupported="serial"in navigator,t.isAllowed=window.isSecureContext,t.style='\n button {\n position: relative;\n cursor: pointer;\n font-size: 14px;\n padding: 8px 28px;\n color: var(--esp-tools-button-text-color, #fff);\n background-color: var(--esp-tools-button-color, #03a9f4);\n border: none;\n border-radius: 4px;\n box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);\n }\n button::before {\n content: " ";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n opacity: 0.2;\n border-radius: 4px;\n }\n button:hover {\n box-shadow: 0 4px 8px 0 rgba(0,0,0,.14), 0 1px 7px 0 rgba(0,0,0,.12), 0 3px 1px -1px rgba(0,0,0,.2);\n }\n button:hover::before {\n background-color: rgba(255,255,255,.8);\n }\n button:focus {\n outline: none;\n }\n button:focus::before {\n background-color: white;\n }\n button:active::before {\n background-color: grey;\n }\n :host([active]) button {\n color: rgba(0, 0, 0, 0.38);\n background-color: rgba(0, 0, 0, 0.12);\n box-shadow: none;\n cursor: unset;\n pointer-events: none;\n }\n improv-wifi-launch-button {\n display: block;\n margin-top: 16px;\n }\n .hidden {\n display: none;\n }',customElements.define("esp-web-install-button",t); diff --git a/installer/install-dialog-19322187.js b/installer/install-dialog-19322187.js deleted file mode 100644 index e20c938..0000000 --- a/installer/install-dialog-19322187.js +++ /dev/null @@ -1,785 +0,0 @@ -import{l as e,o as t,_ as i,n,B as o,t as r,i as a,a as d,e as s,b as l,R as c,x as h,c as m,d as p,f as u,g as f,h as g,M as _,j as b,s as x,k as v,m as y,p as w,q as k,r as E,T as I,A,u as S,v as R,w as T,y as C,z as O,C as L,D as F}from"./styles-fa761598.js";function D(i,n,o){let r,a=i;return"object"==typeof i?(a=i.slot,r=i):r={flatten:n},o?e({slot:a,flatten:n,selector:o}):t({descriptor:e=>({get(){var e,t;const i="slot"+(a?`[name=${a}]`:":not([name])"),n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i);return null!==(t=null==n?void 0:n.assignedNodes(r))&&void 0!==t?t:[]},enumerable:!0,configurable:!0})})}var z,M;const N=null!==(M=null===(z=window.ShadyDOM)||void 0===z?void 0:z.inUse)&&void 0!==M&&M;class B extends o{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=e=>{this.disabled||this.setFormData(e.formData)}}findFormElement(){if(!this.shadowRoot||N)return null;const e=this.getRootNode().querySelectorAll("form");for(const t of Array.from(e))if(t.contains(this))return t;return null}connectedCallback(){var e;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(e=this.containingForm)||void 0===e||e.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this.containingForm)||void 0===e||e.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(e=>{this.dispatchEvent(new Event("change",e))}))}}B.shadowRootOptions={mode:"open",delegatesFocus:!0},i([n({type:Boolean})],B.prototype,"disabled",void 0);class P extends B{constructor(){super(...arguments),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.name="",this.value="on",this.reducedTouchTarget=!1,this.animationClass="",this.shouldRenderRipple=!1,this.focused=!1,this.mdcFoundationClass=void 0,this.mdcFoundation=void 0,this.rippleElement=null,this.rippleHandlers=new c((()=>(this.shouldRenderRipple=!0,this.ripple.then((e=>this.rippleElement=e)),this.ripple)))}createAdapter(){return{}}update(e){const t=e.get("indeterminate"),i=e.get("checked"),n=e.get("disabled");if(void 0!==t||void 0!==i||void 0!==n){const e=this.calculateAnimationStateName(!!i,!!t,!!n),o=this.calculateAnimationStateName(this.checked,this.indeterminate,this.disabled);this.animationClass=`${e}-${o}`}super.update(e)}calculateAnimationStateName(e,t,i){return i?"disabled":t?"indeterminate":e?"checked":"unchecked"}renderRipple(){return this.shouldRenderRipple?this.renderRippleTemplate():""}renderRippleTemplate(){return h``}render(){const e=this.indeterminate||this.checked,t={"mdc-checkbox--disabled":this.disabled,"mdc-checkbox--selected":e,"mdc-checkbox--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-checkbox--anim-checked-indeterminate":"checked-indeterminate"==this.animationClass,"mdc-checkbox--anim-checked-unchecked":"checked-unchecked"==this.animationClass,"mdc-checkbox--anim-indeterminate-checked":"indeterminate-checked"==this.animationClass,"mdc-checkbox--anim-indeterminate-unchecked":"indeterminate-unchecked"==this.animationClass,"mdc-checkbox--anim-unchecked-checked":"unchecked-checked"==this.animationClass,"mdc-checkbox--anim-unchecked-indeterminate":"unchecked-indeterminate"==this.animationClass},i=this.indeterminate?"mixed":void 0;return h` -
- -
- - - -
-
- ${this.renderRipple()} -
`}setFormData(e){this.name&&this.checked&&e.append(this.name,this.value)}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleBlur(){this.focused=!1,this.handleRippleBlur()}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}handleChange(){this.checked=this.formElement.checked,this.indeterminate=this.formElement.indeterminate}resetAnimationClass(){this.animationClass=""}get isRippleActive(){var e;return(null===(e=this.rippleElement)||void 0===e?void 0:e.isActive)||!1}}i([a(".mdc-checkbox")],P.prototype,"mdcRoot",void 0),i([a("input")],P.prototype,"formElement",void 0),i([n({type:Boolean,reflect:!0})],P.prototype,"checked",void 0),i([n({type:Boolean})],P.prototype,"indeterminate",void 0),i([n({type:Boolean,reflect:!0})],P.prototype,"disabled",void 0),i([n({type:String,reflect:!0})],P.prototype,"name",void 0),i([n({type:String})],P.prototype,"value",void 0),i([d,n({type:String,attribute:"aria-label"})],P.prototype,"ariaLabel",void 0),i([d,n({type:String,attribute:"aria-labelledby"})],P.prototype,"ariaLabelledBy",void 0),i([d,n({type:String,attribute:"aria-describedby"})],P.prototype,"ariaDescribedBy",void 0),i([n({type:Boolean})],P.prototype,"reducedTouchTarget",void 0),i([r()],P.prototype,"animationClass",void 0),i([r()],P.prototype,"shouldRenderRipple",void 0),i([r()],P.prototype,"focused",void 0),i([s("mwc-ripple")],P.prototype,"ripple",void 0),i([l({passive:!0})],P.prototype,"handleRippleTouchStart",null);const $=u`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-checkbox:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-touch-target-size, 40px);height:40px;height:var(--mdc-checkbox-touch-target-size, 40px)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((48px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((40px - 48px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((40px - 48px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((40px - 48px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:48px;width:var(--mdc-checkbox-state-layer-size, 48px);height:48px;height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}:host{outline:none;display:inline-flex;-webkit-tap-highlight-color:transparent}:host([checked]),:host([indeterminate]){--mdc-ripple-color:var(--mdc-theme-secondary, #018786)}.mdc-checkbox .mdc-checkbox__background::before{content:none}`;class U extends P{}U.styles=[$],customElements.define("ewt-checkbox",U);class H{constructor(e){this.targetElement=e,this.state={bold:!1,italic:!1,underline:!1,strikethrough:!1,foregroundColor:null,backgroundColor:null,carriageReturn:!1,secret:!1}}logs(){return this.targetElement.innerText}addLine(e){const t=/(?:\033|\\033)(?:\[(.*?)[@-~]|\].*?(?:\007|\033\\))/g;let i=0;this.state.carriageReturn&&("\n"!==e&&this.targetElement.removeChild(this.targetElement.lastChild),this.state.carriageReturn=!1),e.includes("\r")&&(this.state.carriageReturn=!0);const n=document.createElement("span");n.classList.add("line"),this.targetElement.appendChild(n);const o=e=>{if(""===e)return;const t=document.createElement("span");if(this.state.bold&&t.classList.add("log-bold"),this.state.italic&&t.classList.add("log-italic"),this.state.underline&&t.classList.add("log-underline"),this.state.strikethrough&&t.classList.add("log-strikethrough"),this.state.secret&&t.classList.add("log-secret"),null!==this.state.foregroundColor&&t.classList.add(`log-fg-${this.state.foregroundColor}`),null!==this.state.backgroundColor&&t.classList.add(`log-bg-${this.state.backgroundColor}`),t.appendChild(document.createTextNode(e)),n.appendChild(t),this.state.secret){const e=document.createElement("span");e.classList.add("log-secret-redacted"),e.appendChild(document.createTextNode("[redacted]")),n.appendChild(e)}};for(;;){const n=t.exec(e);if(null===n)break;const r=n.index;if(o(e.substring(i,r)),i=r+n[0].length,void 0!==n[1])for(const e of n[1].split(";"))switch(parseInt(e)){case 0:this.state.bold=!1,this.state.italic=!1,this.state.underline=!1,this.state.strikethrough=!1,this.state.foregroundColor=null,this.state.backgroundColor=null,this.state.secret=!1;break;case 1:this.state.bold=!0;break;case 3:this.state.italic=!0;break;case 4:this.state.underline=!0;break;case 5:this.state.secret=!0;break;case 6:this.state.secret=!1;break;case 9:this.state.strikethrough=!0;break;case 22:this.state.bold=!1;break;case 23:this.state.italic=!1;break;case 24:this.state.underline=!1;break;case 29:this.state.strikethrough=!1;break;case 30:this.state.foregroundColor="black";break;case 31:this.state.foregroundColor="red";break;case 32:this.state.foregroundColor="green";break;case 33:this.state.foregroundColor="yellow";break;case 34:this.state.foregroundColor="blue";break;case 35:this.state.foregroundColor="magenta";break;case 36:this.state.foregroundColor="cyan";break;case 37:this.state.foregroundColor="white";break;case 39:this.state.foregroundColor=null;break;case 41:this.state.backgroundColor="red";break;case 42:this.state.backgroundColor="green";break;case 43:this.state.backgroundColor="yellow";break;case 44:this.state.backgroundColor="blue";break;case 45:this.state.backgroundColor="magenta";break;case 46:this.state.backgroundColor="cyan";break;case 47:this.state.backgroundColor="white";break;case 40:case 49:this.state.backgroundColor=null}}const r=this.targetElement.scrollTop>this.targetElement.scrollHeight-this.targetElement.offsetHeight-50;o(e.substring(i)),r&&(this.targetElement.scrollTop=this.targetElement.scrollHeight)}}const V=e=>new Promise((t=>setTimeout(t,e)));class W{constructor(){this.chunks=""}transform(e,t){this.chunks+=e;const i=this.chunks.split("\r\n");this.chunks=i.pop(),i.forEach((e=>t.enqueue(e+"\r\n")))}flush(e){e.enqueue(this.chunks)}}class G extends HTMLElement{constructor(){super(...arguments),this.allowInput=!0}logs(){var e;return(null===(e=this._console)||void 0===e?void 0:e.logs())||""}connectedCallback(){if(this._console)return;if(this.attachShadow({mode:"open"}).innerHTML=`\n \n
\n ${this.allowInput?"
\n >\n \n
\n ":""}\n `,this._console=new H(this.shadowRoot.querySelector("div")),this.allowInput){const e=this.shadowRoot.querySelector("input");this.addEventListener("click",(()=>{var t;""===(null===(t=getSelection())||void 0===t?void 0:t.toString())&&e.focus()})),e.addEventListener("keydown",(e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),this._sendCommand())}))}const e=new AbortController,t=this._connect(e.signal);this._cancelConnection=()=>(e.abort(),t)}async _connect(e){this.logger.debug("Starting console read loop");try{await this.port.readable.pipeThrough(new TextDecoderStream,{signal:e}).pipeThrough(new TransformStream(new W)).pipeTo(new WritableStream({write:e=>{this._console.addLine(e.replace("\r",""))}})),e.aborted||(this._console.addLine(""),this._console.addLine(""),this._console.addLine("Terminal disconnected"))}catch(e){this._console.addLine(""),this._console.addLine(""),this._console.addLine(`Terminal disconnected: ${e}`)}finally{await V(100),this.logger.debug("Finished console read loop")}}async _sendCommand(){const e=this.shadowRoot.querySelector("input"),t=e.value,i=new TextEncoder,n=this.port.writable.getWriter();await n.write(i.encode(t+"\r\n")),this._console.addLine(`> ${t}\r\n`),e.value="",e.focus();try{n.releaseLock()}catch(e){console.error("Ignoring release lock error",e)}}async disconnect(){this._cancelConnection&&(await this._cancelConnection(),this._cancelConnection=void 0)}async reset(){this.logger.debug("Triggering reset."),await this.port.setSignals({dataTerminalReady:!1,requestToSend:!0}),await this.port.setSignals({dataTerminalReady:!1,requestToSend:!1}),await new Promise((e=>setTimeout(e,1e3)))}}customElements.define("ewt-console",G);var X={ROOT:"mdc-form-field"},q={LABEL_SELECTOR:".mdc-form-field > label"},Y=function(e){function t(i){var n=e.call(this,g(g({},t.defaultAdapter),i))||this;return n.click=function(){n.handleClick()},n}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return X},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return q},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(_);class Z extends o{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=Y}createAdapter(){return{registerInteractionHandler:(e,t)=>{this.labelEl.addEventListener(e,t)},deregisterInteractionHandler:(e,t)=>{this.labelEl.removeEventListener(e,t)},activateInputRipple:async()=>{const e=this.input;if(e instanceof B){const t=await e.ripple;t&&t.startPress()}},deactivateInputRipple:async()=>{const e=this.input;if(e instanceof B){const t=await e.ripple;t&&t.endPress()}}}}get input(){var e,t;return null!==(t=null===(e=this.slottedInputs)||void 0===e?void 0:e[0])&&void 0!==t?t:null}render(){const e={"mdc-form-field--align-end":this.alignEnd,"mdc-form-field--space-between":this.spaceBetween,"mdc-form-field--nowrap":this.nowrap};return h` -
- - -
`}click(){this._labelClick()}_labelClick(){const e=this.input;e&&(e.focus(),e.click())}}i([n({type:Boolean})],Z.prototype,"alignEnd",void 0),i([n({type:Boolean})],Z.prototype,"spaceBetween",void 0),i([n({type:Boolean})],Z.prototype,"nowrap",void 0),i([n({type:String}),b((async function(e){var t;null===(t=this.input)||void 0===t||t.setAttribute("aria-label",e)}))],Z.prototype,"label",void 0),i([a(".mdc-form-field")],Z.prototype,"mdcRoot",void 0),i([D("",!0,"*")],Z.prototype,"slottedInputs",void 0),i([a("label")],Z.prototype,"labelEl",void 0);const j=u`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`;class K extends Z{}K.styles=[j],customElements.define("ewt-formfield",K);class Q extends x{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new c((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderRipple(){return this.shouldRenderRipple?h` - - `:""}focus(){const e=this.buttonElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){const e=this.buttonElement;e&&(this.rippleHandlers.endFocus(),e.blur())}render(){return h``}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}i([n({type:Boolean,reflect:!0})],Q.prototype,"disabled",void 0),i([n({type:String})],Q.prototype,"icon",void 0),i([d,n({type:String,attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0),i([d,n({type:String,attribute:"aria-haspopup"})],Q.prototype,"ariaHasPopup",void 0),i([a("button")],Q.prototype,"buttonElement",void 0),i([s("mwc-ripple")],Q.prototype,"ripple",void 0),i([r()],Q.prototype,"shouldRenderRipple",void 0),i([l({passive:!0})],Q.prototype,"handleRippleMouseDown",null),i([l({passive:!0})],Q.prototype,"handleRippleTouchStart",null);const J=u`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`;class ee extends Q{}ee.styles=[J],customElements.define("ewt-icon-button",ee);var te={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},ie={NOTCH_ELEMENT_PADDING:8},ne={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"},oe=function(e){function t(i){return e.call(this,g(g({},t.defaultAdapter),i))||this}return f(t,e),Object.defineProperty(t,"strings",{get:function(){return te},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return ne},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return ie},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.notch=function(e){var i=t.cssClasses.OUTLINE_NOTCHED;e>0&&(e+=ie.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(e),this.adapter.addClass(i)},t.prototype.closeNotch=function(){var e=t.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(e),this.adapter.removeNotchWidthProperty()},t}(_);class re extends o{constructor(){super(...arguments),this.mdcFoundationClass=oe,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,t){this.mdcFoundation&&(e&&void 0!==t?this.mdcFoundation.notch(t):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=m({"mdc-notched-outline--notched":this.open});return h` - - - - - - - `}}i([a(".mdc-notched-outline")],re.prototype,"mdcRoot",void 0),i([n({type:Number})],re.prototype,"width",void 0),i([n({type:Boolean,reflect:!0})],re.prototype,"open",void 0),i([a(".mdc-notched-outline__notch")],re.prototype,"notchElement",void 0);const ae=u`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;let de=class extends re{};de.styles=[ae],de=i([v("mwc-notched-outline")],de);var se={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},le=function(e){function t(i){var n=e.call(this,g(g({},t.defaultAdapter),i))||this;return n.shakeAnimationEndHandler=function(){n.handleShakeAnimationEnd()},n}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return se},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.getWidth=function(){return this.adapter.getWidth()},t.prototype.shake=function(e){var i=t.cssClasses.LABEL_SHAKE;e?this.adapter.addClass(i):this.adapter.removeClass(i)},t.prototype.float=function(e){var i=t.cssClasses,n=i.LABEL_FLOAT_ABOVE,o=i.LABEL_SHAKE;e?this.adapter.addClass(n):(this.adapter.removeClass(n),this.adapter.removeClass(o))},t.prototype.setRequired=function(e){var i=t.cssClasses.LABEL_REQUIRED;e?this.adapter.addClass(i):this.adapter.removeClass(i)},t.prototype.handleShakeAnimationEnd=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter.removeClass(e)},t}(_);const ce=y(class extends w{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case k.ATTRIBUTE:case k.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[t]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const t=e.element;t.classList.add("mdc-floating-label");const i=(e=>({addClass:t=>e.classList.add(t),removeClass:t=>e.classList.remove(t),getWidth:()=>e.scrollWidth,registerInteractionHandler:(t,i)=>{e.addEventListener(t,i)},deregisterInteractionHandler:(t,i)=>{e.removeEventListener(t,i)}}))(t);this.foundation=new le(i),this.foundation.init()}return this.render(t)}render(e){return this.foundation}});var he={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},me=function(e){function t(i){var n=e.call(this,g(g({},t.defaultAdapter),i))||this;return n.transitionEndHandler=function(e){n.handleTransitionEnd(e)},n}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return he},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},t.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},t.prototype.activate=function(){this.adapter.removeClass(he.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(he.LINE_RIPPLE_ACTIVE)},t.prototype.setRippleCenter=function(e){this.adapter.setStyle("transform-origin",e+"px center")},t.prototype.deactivate=function(){this.adapter.addClass(he.LINE_RIPPLE_DEACTIVATING)},t.prototype.handleTransitionEnd=function(e){var t=this.adapter.hasClass(he.LINE_RIPPLE_DEACTIVATING);"opacity"===e.propertyName&&t&&(this.adapter.removeClass(he.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(he.LINE_RIPPLE_DEACTIVATING))},t}(_);const pe=y(class extends w{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case k.ATTRIBUTE:case k.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,t){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const t=e.element;t.classList.add("mdc-line-ripple");const i=(e=>({addClass:t=>e.classList.add(t),removeClass:t=>e.classList.remove(t),hasClass:t=>e.classList.contains(t),setStyle:(t,i)=>e.style.setProperty(t,i),registerEventHandler:(t,i)=>{e.addEventListener(t,i)},deregisterEventHandler:(t,i)=>{e.removeEventListener(t,i)}}))(t);this.foundation=new me(i),this.foundation.init()}return this.render()}render(){return this.foundation}});var ue={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},fe={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},ge={LABEL_SCALE:.75},_e=["pattern","min","max","required","step","minlength","maxlength"],be=["color","date","datetime-local","month","range","time","week"],xe=["mousedown","touchstart"],ve=["click","keydown"],ye=function(e){function t(i,n){void 0===n&&(n={});var o=e.call(this,g(g({},t.defaultAdapter),i))||this;return o.isFocused=!1,o.receivedUserInput=!1,o.valid=!0,o.useNativeValidation=!0,o.validateOnValueChange=!0,o.helperText=n.helperText,o.characterCounter=n.characterCounter,o.leadingIcon=n.leadingIcon,o.trailingIcon=n.trailingIcon,o.inputFocusHandler=function(){o.activateFocus()},o.inputBlurHandler=function(){o.deactivateFocus()},o.inputInputHandler=function(){o.handleInput()},o.setPointerXOffset=function(e){o.setTransformOrigin(e)},o.textFieldInteractionHandler=function(){o.handleTextFieldInteraction()},o.validationAttributeChangeHandler=function(e){o.handleValidationAttributeChange(e)},o}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return fe},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return ue},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return ge},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldAlwaysFloat",{get:function(){var e=this.getNativeInput().type;return be.indexOf(e)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t,i,n;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var o=E(xe),r=o.next();!r.done;r=o.next()){var a=r.value;this.adapter.registerInputInteractionHandler(a,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var d=E(ve),s=d.next();!s.done;s=d.next()){a=s.value;this.adapter.registerTextFieldInteractionHandler(a,this.textFieldInteractionHandler)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},t.prototype.destroy=function(){var e,t,i,n;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var o=E(xe),r=o.next();!r.done;r=o.next()){var a=r.value;this.adapter.deregisterInputInteractionHandler(a,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var d=E(ve),s=d.next();!s.done;s=d.next()){a=s.value;this.adapter.deregisterTextFieldInteractionHandler(a,this.textFieldInteractionHandler)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},t.prototype.handleTextFieldInteraction=function(){var e=this.adapter.getNativeInput();e&&e.disabled||(this.receivedUserInput=!0)},t.prototype.handleValidationAttributeChange=function(e){var t=this;e.some((function(e){return _e.indexOf(e)>-1&&(t.styleValidity(!0),t.adapter.setLabelRequired(t.getNativeInput().required),!0)})),e.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(e){var t=this.adapter.getLabelWidth()*ge.LABEL_SCALE;this.adapter.notchOutline(t)}else this.adapter.closeOutline()},t.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},t.prototype.setTransformOrigin=function(e){if(!this.isDisabled()&&!this.adapter.hasOutline()){var t=e.touches,i=t?t[0]:e,n=i.target.getBoundingClientRect(),o=i.clientX-n.left;this.adapter.setLineRippleTransformOrigin(o)}},t.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},t.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},t.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var e=this.isValid();this.styleValidity(e),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},t.prototype.getValue=function(){return this.getNativeInput().value},t.prototype.setValue=function(e){if(this.getValue()!==e&&(this.getNativeInput().value=e),this.setcharacterCounter(e.length),this.validateOnValueChange){var t=this.isValid();this.styleValidity(t)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},t.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},t.prototype.setValid=function(e){this.valid=e,this.styleValidity(e);var t=!e&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(t)},t.prototype.setValidateOnValueChange=function(e){this.validateOnValueChange=e},t.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},t.prototype.setUseNativeValidation=function(e){this.useNativeValidation=e},t.prototype.isDisabled=function(){return this.getNativeInput().disabled},t.prototype.setDisabled=function(e){this.getNativeInput().disabled=e,this.styleDisabled(e)},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.setTrailingIconAriaLabel=function(e){this.trailingIcon&&this.trailingIcon.setAriaLabel(e)},t.prototype.setTrailingIconContent=function(e){this.trailingIcon&&this.trailingIcon.setContent(e)},t.prototype.setcharacterCounter=function(e){if(this.characterCounter){var t=this.getNativeInput().maxLength;if(-1===t)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(e,t)}},t.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},t.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},t.prototype.styleValidity=function(e){var i=t.cssClasses.INVALID;if(e?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){if(this.helperText.setValidity(e),!this.helperText.isValidation())return;var n=this.helperText.isVisible(),o=this.helperText.getId();n&&o?this.adapter.setInputAttr(ue.ARIA_DESCRIBEDBY,o):this.adapter.removeInputAttr(ue.ARIA_DESCRIBEDBY)}},t.prototype.styleFocused=function(e){var i=t.cssClasses.FOCUSED;e?this.adapter.addClass(i):this.adapter.removeClass(i)},t.prototype.styleDisabled=function(e){var i=t.cssClasses,n=i.DISABLED,o=i.INVALID;e?(this.adapter.addClass(n),this.adapter.removeClass(o)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(e),this.trailingIcon&&this.trailingIcon.setDisabled(e)},t.prototype.styleFloating=function(e){var i=t.cssClasses.LABEL_FLOATING;e?this.adapter.addClass(i):this.adapter.removeClass(i)},t.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},t}(_),we=ye;const ke={},Ee=y(class extends w{constructor(e){if(super(e),e.type!==k.PROPERTY&&e.type!==k.ATTRIBUTE&&e.type!==k.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(e=>void 0===e.strings)(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===I||t===A)return t;const i=e.element,n=e.name;if(e.type===k.PROPERTY){if(t===i[n])return I}else if(e.type===k.BOOLEAN_ATTRIBUTE){if(!!t===i.hasAttribute(n))return I}else if(e.type===k.ATTRIBUTE&&i.getAttribute(n)===t+"")return I;return((e,t=ke)=>{e._$AH=t})(e),t}}),Ie=["touchstart","touchmove","scroll","mousewheel"],Ae=(e={})=>{const t={};for(const i in e)t[i]=e[i];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},t)};class Se extends B{constructor(){super(...arguments),this.mdcFoundationClass=we,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=Ae(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const e=new CustomEvent("focus");this.formElement.dispatchEvent(e),this.formElement.focus()}blur(){const e=new CustomEvent("blur");this.formElement.dispatchEvent(e),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(e,t,i){this.formElement.setSelectionRange(e,t,i)}update(e){e.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),e.has("value")&&"string"!=typeof this.value&&(this.value=`${this.value}`),super.update(e)}setFormData(e){this.name&&e.append(this.name,this.value)}render(){const e=this.charCounter&&-1!==this.maxLength,t=!!this.helper||!!this.validationMessage||e,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return h` - - ${this.renderHelperText(t,e)} - `}updated(e){e.has("value")&&void 0!==e.get("value")&&(this.mdcFoundation.setValue(this.value),this.autoValidate&&this.reportValidity())}renderRipple(){return this.outlined?"":h` - - `}renderOutline(){return this.outlined?h` - - ${this.renderLabel()} - `:""}renderLabel(){return this.label?h` - ${this.label} - `:""}renderLeadingIcon(){return this.icon?this.renderIcon(this.icon):""}renderTrailingIcon(){return this.iconTrailing?this.renderIcon(this.iconTrailing,!0):""}renderIcon(e,t=!1){return h`${e}`}renderPrefix(){return this.prefix?this.renderAffix(this.prefix):""}renderSuffix(){return this.suffix?this.renderAffix(this.suffix,!0):""}renderAffix(e,t=!1){return h` - ${e}`}renderInput(e){const t=-1===this.minLength?void 0:this.minLength,i=-1===this.maxLength?void 0:this.maxLength,n=this.autocapitalize?this.autocapitalize:void 0,o=this.validationMessage&&!this.isUiValid,r=this.label?"label":void 0,a=e?"helper-text":void 0,d=this.focused||this.helperPersistent||o?"helper-text":void 0;return h` - `}renderLineRipple(){return this.outlined?"":h` - - `}renderHelperText(e,t){const i=this.validationMessage&&!this.isUiValid,n={"mdc-text-field-helper-text--persistent":this.helperPersistent,"mdc-text-field-helper-text--validation-msg":i},o=this.focused||this.helperPersistent||i?void 0:"true",r=i?this.validationMessage:this.helper;return e?h` -
-
${r}
- ${this.renderCharCounter(t)} -
`:""}renderCharCounter(e){const t=Math.min(this.value.length,this.maxLength);return e?h` - ${t} / ${this.maxLength}`:""}onInputFocus(){this.focused=!0}onInputBlur(){this.focused=!1,this.reportValidity()}checkValidity(){const e=this._checkValidity(this.value);if(!e){const e=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(e)}return e}reportValidity(){const e=this.checkValidity();return this.mdcFoundation.setValid(e),this.isUiValid=e,e}_checkValidity(e){const t=this.formElement.validity;let i=Ae(t);if(this.validityTransform){const t=this.validityTransform(e,i);i=Object.assign(Object.assign({},i),t),this.mdcFoundation.setUseNativeValidation(!1)}else this.mdcFoundation.setUseNativeValidation(!0);return this._validity=i,this._validity.valid}setCustomValidity(e){this.validationMessage=e,this.formElement.setCustomValidity(e)}handleInputChange(){this.value=this.formElement.value}createAdapter(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods())}getRootAdapterMethods(){return Object.assign({registerTextFieldInteractionHandler:(e,t)=>this.addEventListener(e,t),deregisterTextFieldInteractionHandler:(e,t)=>this.removeEventListener(e,t),registerValidationAttributeChangeHandler:e=>{const t=new MutationObserver((t=>{e((e=>e.map((e=>e.attributeName)).filter((e=>e)))(t))}));return t.observe(this.formElement,{attributes:!0}),t},deregisterValidationAttributeChangeHandler:e=>e.disconnect()},S(this.mdcRoot))}getInputAdapterMethods(){return{getNativeInput:()=>this.formElement,setInputAttr:()=>{},removeInputAttr:()=>{},isFocused:()=>!!this.shadowRoot&&this.shadowRoot.activeElement===this.formElement,registerInputInteractionHandler:(e,t)=>this.formElement.addEventListener(e,t,{passive:e in Ie}),deregisterInputInteractionHandler:(e,t)=>this.formElement.removeEventListener(e,t)}}getLabelAdapterMethods(){return{floatLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.float(e),getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,hasLabel:()=>Boolean(this.labelElement),shakeLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.shake(e),setLabelRequired:e=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(e)}}}getLineRippleAdapterMethods(){return{activateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},setLineRippleTransformOrigin:e=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.setRippleCenter(e)}}}async getUpdateComplete(){var e;const t=await super.getUpdateComplete();return await(null===(e=this.outlineElement)||void 0===e?void 0:e.updateComplete),t}firstUpdated(){var e;super.firstUpdated(),this.mdcFoundation.setValidateOnValueChange(this.autoValidate),this.validateOnInitialRender&&this.reportValidity(),null===(e=this.outlineElement)||void 0===e||e.updateComplete.then((()=>{var e;this.outlineWidth=(null===(e=this.labelElement)||void 0===e?void 0:e.floatingLabelFoundation.getWidth())||0}))}getOutlineAdapterMethods(){return{closeOutline:()=>this.outlineElement&&(this.outlineOpen=!1),hasOutline:()=>Boolean(this.outlineElement),notchOutline:e=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=e,this.outlineOpen=!0)}}}async layout(){await this.updateComplete;const e=this.labelElement;if(!e)return void(this.outlineOpen=!1);const t=!!this.label&&!!this.value;if(e.floatingLabelFoundation.float(t),!this.outlined)return;this.outlineOpen=t,await this.updateComplete;const i=e.floatingLabelFoundation.getWidth();this.outlineOpen&&(this.outlineWidth=i,await this.updateComplete)}}i([a(".mdc-text-field")],Se.prototype,"mdcRoot",void 0),i([a("input")],Se.prototype,"formElement",void 0),i([a(".mdc-floating-label")],Se.prototype,"labelElement",void 0),i([a(".mdc-line-ripple")],Se.prototype,"lineRippleElement",void 0),i([a("mwc-notched-outline")],Se.prototype,"outlineElement",void 0),i([a(".mdc-notched-outline__notch")],Se.prototype,"notchElement",void 0),i([n({type:String})],Se.prototype,"value",void 0),i([n({type:String})],Se.prototype,"type",void 0),i([n({type:String})],Se.prototype,"placeholder",void 0),i([n({type:String}),b((function(e,t){void 0!==t&&this.label!==t&&this.layout()}))],Se.prototype,"label",void 0),i([n({type:String})],Se.prototype,"icon",void 0),i([n({type:String})],Se.prototype,"iconTrailing",void 0),i([n({type:Boolean,reflect:!0})],Se.prototype,"disabled",void 0),i([n({type:Boolean})],Se.prototype,"required",void 0),i([n({type:Number})],Se.prototype,"minLength",void 0),i([n({type:Number})],Se.prototype,"maxLength",void 0),i([n({type:Boolean,reflect:!0}),b((function(e,t){void 0!==t&&this.outlined!==t&&this.layout()}))],Se.prototype,"outlined",void 0),i([n({type:String})],Se.prototype,"helper",void 0),i([n({type:Boolean})],Se.prototype,"validateOnInitialRender",void 0),i([n({type:String})],Se.prototype,"validationMessage",void 0),i([n({type:Boolean})],Se.prototype,"autoValidate",void 0),i([n({type:String})],Se.prototype,"pattern",void 0),i([n({type:String})],Se.prototype,"min",void 0),i([n({type:String})],Se.prototype,"max",void 0),i([n({type:String})],Se.prototype,"step",void 0),i([n({type:Number})],Se.prototype,"size",void 0),i([n({type:Boolean})],Se.prototype,"helperPersistent",void 0),i([n({type:Boolean})],Se.prototype,"charCounter",void 0),i([n({type:Boolean})],Se.prototype,"endAligned",void 0),i([n({type:String})],Se.prototype,"prefix",void 0),i([n({type:String})],Se.prototype,"suffix",void 0),i([n({type:String})],Se.prototype,"name",void 0),i([n({type:String})],Se.prototype,"inputMode",void 0),i([n({type:Boolean})],Se.prototype,"readOnly",void 0),i([n({type:String})],Se.prototype,"autocapitalize",void 0),i([r()],Se.prototype,"outlineOpen",void 0),i([r()],Se.prototype,"outlineWidth",void 0),i([r()],Se.prototype,"isUiValid",void 0),i([r()],Se.prototype,"focused",void 0),i([l({passive:!0})],Se.prototype,"handleInputChange",null);const Re=u`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-flex;flex-direction:column;outline:none}.mdc-text-field{width:100%}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-text-field-idle-line-color, rgba(0, 0, 0, 0.42))}.mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-text-field-hover-line-color, rgba(0, 0, 0, 0.87))}.mdc-text-field.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06);border-bottom-color:var(--mdc-text-field-disabled-line-color, rgba(0, 0, 0, 0.06))}.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field__input{direction:inherit}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-idle-border-color, rgba(0, 0, 0, 0.38) )}:host(:not([disabled]):hover) :not(.mdc-text-field--invalid):not(.mdc-text-field--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-error-color, var(--mdc-theme-error, #b00020) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-character-counter,:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid .mdc-text-field__icon{color:var(--mdc-text-field-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input{color:var(--mdc-text-field-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg),:host(:not([disabled])) .mdc-text-field-helper-line:not(.mdc-text-field--invalid) .mdc-text-field-character-counter{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-text-field.mdc-text-field--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field .mdc-text-field__input,:host([disabled]) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-helper-text,:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-character-counter{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}`;class Te extends Se{}Te.styles=[Re,u` - .mdc-floating-label { - line-height: 1.15em; - } - `],customElements.define("ewt-textfield",Te);class Ce extends x{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new c((()=>(this.shouldRenderRipple=!0,this.ripple))),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:e=>{const t=e.type;this.onDown("mousedown"===t?"mouseup":"touchend",e)}}]}get text(){const e=this.textContent;return e?e.trim():""}render(){const e=this.renderText(),t=this.graphic?this.renderGraphic():h``,i=this.hasMeta?this.renderMeta():h``;return h` - ${this.renderRipple()} - ${t} - ${e} - ${i}`}renderRipple(){return this.shouldRenderRipple?h` - - `:this.activated?h`
`:""}renderGraphic(){const e={multi:this.multipleGraphics};return h` - - - `}renderMeta(){return h` - - - `}renderText(){const e=this.twoline?this.renderTwoline():this.renderSingleLine();return h` - - ${e} - `}renderSingleLine(){return h``}renderTwoline(){return h` - - - - - - - `}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(e,t){const i=()=>{window.removeEventListener(e,i),this.rippleHandlers.endPress()};window.addEventListener(e,i),this.rippleHandlers.startPress(t)}fireRequestSelected(e,t){if(this.noninteractive)return;const i=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:t,selected:e}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const e of this.listeners)for(const t of e.eventNames)e.target.addEventListener(t,e.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const e of this.listeners)for(const t of e.eventNames)e.target.removeEventListener(t,e.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const e=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}i([a("slot")],Ce.prototype,"slotElement",void 0),i([s("mwc-ripple")],Ce.prototype,"ripple",void 0),i([n({type:String})],Ce.prototype,"value",void 0),i([n({type:String,reflect:!0})],Ce.prototype,"group",void 0),i([n({type:Number,reflect:!0})],Ce.prototype,"tabindex",void 0),i([n({type:Boolean,reflect:!0}),b((function(e){e?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")}))],Ce.prototype,"disabled",void 0),i([n({type:Boolean,reflect:!0})],Ce.prototype,"twoline",void 0),i([n({type:Boolean,reflect:!0})],Ce.prototype,"activated",void 0),i([n({type:String,reflect:!0})],Ce.prototype,"graphic",void 0),i([n({type:Boolean})],Ce.prototype,"multipleGraphics",void 0),i([n({type:Boolean})],Ce.prototype,"hasMeta",void 0),i([n({type:Boolean,reflect:!0}),b((function(e){e?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")}))],Ce.prototype,"noninteractive",void 0),i([n({type:Boolean,reflect:!0}),b((function(e){const t=this.getAttribute("role"),i="gridcell"===t||"option"===t||"row"===t||"tab"===t;i&&e?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged?this._firstChanged=!1:this._skipPropRequest||this.fireRequestSelected(e,"property")}))],Ce.prototype,"selected",void 0),i([r()],Ce.prototype,"shouldRenderRipple",void 0),i([r()],Ce.prototype,"_managingList",void 0);const Oe=u`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`;let Le=class extends Ce{};Le.styles=[Oe],Le=i([v("mwc-list-item")],Le);var Fe={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},De=new Set;De.add(Fe.BACKSPACE),De.add(Fe.ENTER),De.add(Fe.SPACEBAR),De.add(Fe.PAGE_UP),De.add(Fe.PAGE_DOWN),De.add(Fe.END),De.add(Fe.HOME),De.add(Fe.ARROW_LEFT),De.add(Fe.ARROW_UP),De.add(Fe.ARROW_RIGHT),De.add(Fe.ARROW_DOWN),De.add(Fe.DELETE),De.add(Fe.ESCAPE),De.add(Fe.TAB);var ze=8,Me=13,Ne=32,Be=33,Pe=34,$e=35,Ue=36,He=37,Ve=38,We=39,Ge=40,Xe=46,qe=27,Ye=9,Ze=new Map;Ze.set(ze,Fe.BACKSPACE),Ze.set(Me,Fe.ENTER),Ze.set(Ne,Fe.SPACEBAR),Ze.set(Be,Fe.PAGE_UP),Ze.set(Pe,Fe.PAGE_DOWN),Ze.set($e,Fe.END),Ze.set(Ue,Fe.HOME),Ze.set(He,Fe.ARROW_LEFT),Ze.set(Ve,Fe.ARROW_UP),Ze.set(We,Fe.ARROW_RIGHT),Ze.set(Ge,Fe.ARROW_DOWN),Ze.set(Xe,Fe.DELETE),Ze.set(qe,Fe.ESCAPE),Ze.set(Ye,Fe.TAB);var je,Ke,Qe=new Set;function Je(e){var t=e.key;if(De.has(t))return t;var i=Ze.get(e.keyCode);return i||Fe.UNKNOWN}Qe.add(Fe.PAGE_UP),Qe.add(Fe.PAGE_DOWN),Qe.add(Fe.END),Qe.add(Fe.HOME),Qe.add(Fe.ARROW_LEFT),Qe.add(Fe.ARROW_UP),Qe.add(Fe.ARROW_RIGHT),Qe.add(Fe.ARROW_DOWN);var et="mdc-list-item--activated",tt="mdc-list-item",it="mdc-list-item--disabled",nt="mdc-list-item--selected",ot="mdc-list-item__text",rt="mdc-list-item__primary-text",at="mdc-list";(je={})[""+et]="mdc-list-item--activated",je[""+tt]="mdc-list-item",je[""+it]="mdc-list-item--disabled",je[""+nt]="mdc-list-item--selected",je[""+rt]="mdc-list-item__primary-text",je[""+at]="mdc-list";var dt=((Ke={})[""+et]="mdc-deprecated-list-item--activated",Ke[""+tt]="mdc-deprecated-list-item",Ke[""+it]="mdc-deprecated-list-item--disabled",Ke[""+nt]="mdc-deprecated-list-item--selected",Ke[""+ot]="mdc-deprecated-list-item__text",Ke[""+rt]="mdc-deprecated-list-item__primary-text",Ke[""+at]="mdc-deprecated-list",Ke),st={ACTION_EVENT:"MDCList:action",SELECTION_CHANGE_EVENT:"MDCList:selectionChange",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",ARIA_INTERACTIVE_ROLES_SELECTOR:'[role="listbox"], [role="menu"]',ARIA_MULTI_SELECTABLE_SELECTOR:'[aria-multiselectable="true"]',CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+tt+" button:not(:disabled),\n ."+tt+" a,\n ."+dt[tt]+" button:not(:disabled),\n ."+dt[tt]+" a\n ",DEPRECATED_SELECTOR:".mdc-deprecated-list",FOCUSABLE_CHILD_ELEMENTS:"\n ."+tt+" button:not(:disabled),\n ."+tt+" a,\n ."+tt+' input[type="radio"]:not(:disabled),\n .'+tt+' input[type="checkbox"]:not(:disabled),\n .'+dt[tt]+" button:not(:disabled),\n ."+dt[tt]+" a,\n ."+dt[tt]+' input[type="radio"]:not(:disabled),\n .'+dt[tt]+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]',SELECTED_ITEM_SELECTOR:'[aria-selected="true"], [aria-current="true"]'},lt={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300};const ct=(e,t)=>e-t,ht=["input","button","textarea","select"];function mt(e){return e instanceof Set}const pt=e=>{const t=e===lt.UNSET_INDEX?new Set:e;return mt(t)?new Set(t):new Set([t])};class ut extends _{constructor(e){super(Object.assign(Object.assign({},ut.defaultAdapter),e)),this.isMulti_=!1,this.wrapFocus_=!1,this.isVertical_=!0,this.selectedIndex_=lt.UNSET_INDEX,this.focusedItemIndex_=lt.UNSET_INDEX,this.useActivatedClass_=!1,this.ariaCurrentAttrValue_=null}static get strings(){return st}static get numbers(){return lt}static get defaultAdapter(){return{focusItemAtIndex:()=>{},getFocusedElementIndex:()=>0,getListItemCount:()=>0,isFocusInsideList:()=>!1,isRootFocused:()=>!1,notifyAction:()=>{},notifySelected:()=>{},getSelectedStateForElementIndex:()=>!1,setDisabledStateForElementIndex:()=>{},getDisabledStateForElementIndex:()=>!1,setSelectedStateForElementIndex:()=>{},setActivatedStateForElementIndex:()=>{},setTabIndexForElementIndex:()=>{},setAttributeForElementIndex:()=>{},getAttributeForElementIndex:()=>null}}setWrapFocus(e){this.wrapFocus_=e}setMulti(e){this.isMulti_=e;const t=this.selectedIndex_;if(e){if(!mt(t)){const e=t===lt.UNSET_INDEX;this.selectedIndex_=e?new Set:new Set([t])}}else if(mt(t))if(t.size){const e=Array.from(t).sort(ct);this.selectedIndex_=e[0]}else this.selectedIndex_=lt.UNSET_INDEX}setVerticalOrientation(e){this.isVertical_=e}setUseActivatedClass(e){this.useActivatedClass_=e}getSelectedIndex(){return this.selectedIndex_}setSelectedIndex(e){this.isIndexValid_(e)&&(this.isMulti_?this.setMultiSelectionAtIndex_(pt(e)):this.setSingleSelectionAtIndex_(e))}handleFocusIn(e,t){t>=0&&this.adapter.setTabIndexForElementIndex(t,0)}handleFocusOut(e,t){t>=0&&this.adapter.setTabIndexForElementIndex(t,-1),setTimeout((()=>{this.adapter.isFocusInsideList()||this.setTabindexToFirstSelectedItem_()}),0)}handleKeydown(e,t,i){const n="ArrowLeft"===Je(e),o="ArrowUp"===Je(e),r="ArrowRight"===Je(e),a="ArrowDown"===Je(e),d="Home"===Je(e),s="End"===Je(e),l="Enter"===Je(e),c="Spacebar"===Je(e);if(this.adapter.isRootFocused())return void(o||s?(e.preventDefault(),this.focusLastElement()):(a||d)&&(e.preventDefault(),this.focusFirstElement()));let h,m=this.adapter.getFocusedElementIndex();if(!(-1===m&&(m=i,m<0))){if(this.isVertical_&&a||!this.isVertical_&&r)this.preventDefaultEvent(e),h=this.focusNextElement(m);else if(this.isVertical_&&o||!this.isVertical_&&n)this.preventDefaultEvent(e),h=this.focusPrevElement(m);else if(d)this.preventDefaultEvent(e),h=this.focusFirstElement();else if(s)this.preventDefaultEvent(e),h=this.focusLastElement();else if((l||c)&&t){const t=e.target;if(t&&"A"===t.tagName&&l)return;this.preventDefaultEvent(e),this.setSelectedIndexOnAction_(m,!0)}this.focusedItemIndex_=m,void 0!==h&&(this.setTabindexAtIndex_(h),this.focusedItemIndex_=h)}}handleSingleSelection(e,t,i){e!==lt.UNSET_INDEX&&(this.setSelectedIndexOnAction_(e,t,i),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)}focusNextElement(e){let t=e+1;if(t>=this.adapter.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter.focusItemAtIndex(t),t}focusPrevElement(e){let t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter.getListItemCount()-1}return this.adapter.focusItemAtIndex(t),t}focusFirstElement(){return this.adapter.focusItemAtIndex(0),0}focusLastElement(){const e=this.adapter.getListItemCount()-1;return this.adapter.focusItemAtIndex(e),e}setEnabled(e,t){this.isIndexValid_(e)&&this.adapter.setDisabledStateForElementIndex(e,!t)}preventDefaultEvent(e){const t=`${e.target.tagName}`.toLowerCase();-1===ht.indexOf(t)&&e.preventDefault()}setSingleSelectionAtIndex_(e,t=!0){this.selectedIndex_!==e&&(this.selectedIndex_!==lt.UNSET_INDEX&&(this.adapter.setSelectedStateForElementIndex(this.selectedIndex_,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(this.selectedIndex_,!1)),t&&this.adapter.setSelectedStateForElementIndex(e,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(e,!0),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e,this.adapter.notifySelected(e))}setMultiSelectionAtIndex_(e,t=!0){const i=((e,t)=>{const i=Array.from(e),n=Array.from(t),o={added:[],removed:[]},r=i.sort(ct),a=n.sort(ct);let d=0,s=0;for(;d=0&&this.focusedItemIndex_!==e&&this.adapter.setTabIndexForElementIndex(this.focusedItemIndex_,-1),this.adapter.setTabIndexForElementIndex(e,0)}setTabindexToFirstSelectedItem_(){let e=0;"number"==typeof this.selectedIndex_&&this.selectedIndex_!==lt.UNSET_INDEX?e=this.selectedIndex_:mt(this.selectedIndex_)&&this.selectedIndex_.size>0&&(e=Math.min(...this.selectedIndex_)),this.setTabindexAtIndex_(e)}isIndexValid_(e){if(e instanceof Set){if(!this.isMulti_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");if(0===e.size)return!0;{let t=!1;for(const i of e)if(t=this.isIndexInRange_(i),t)break;return t}}if("number"==typeof e){if(this.isMulti_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return e===lt.UNSET_INDEX||this.isIndexInRange_(e)}return!1}isIndexInRange_(e){const t=this.adapter.getListItemCount();return e>=0&&ee.hasAttribute("mwc-list-item");function gt(){const e=this.itemsReadyResolver;this.itemsReady=new Promise((e=>this.itemsReadyResolver=e)),e()}class _t extends o{constructor(){super(),this.mdcAdapter=null,this.mdcFoundationClass=ut,this.activatable=!1,this.multi=!1,this.wrapFocus=!1,this.itemRoles=null,this.innerRole=null,this.innerAriaLabel=null,this.rootTabbable=!1,this.previousTabindex=null,this.noninteractive=!1,this.itemsReadyResolver=()=>{},this.itemsReady=Promise.resolve([]),this.items_=[];const e=function(e,t=50){let i;return function(n=!0){clearTimeout(i),i=setTimeout((()=>{e(n)}),t)}}(this.layout.bind(this));this.debouncedLayout=(t=!0)=>{gt.call(this),e(t)}}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.itemsReady,e}get items(){return this.items_}updateItems(){var e;const t=null!==(e=this.assignedElements)&&void 0!==e?e:[],i=[];for(const e of t)ft(e)&&(i.push(e),e._managingList=this),e.hasAttribute("divider")&&!e.hasAttribute("role")&&e.setAttribute("role","separator");this.items_=i;const n=new Set;if(this.items_.forEach(((e,t)=>{this.itemRoles?e.setAttribute("role",this.itemRoles):e.removeAttribute("role"),e.selected&&n.add(t)})),this.multi)this.select(n);else{const e=n.size?n.entries().next().value[1]:-1;this.select(e)}const o=new Event("items-updated",{bubbles:!0,composed:!0});this.dispatchEvent(o)}get selected(){const e=this.index;if(!mt(e))return-1===e?null:this.items[e];const t=[];for(const i of e)t.push(this.items[i]);return t}get index(){return this.mdcFoundation?this.mdcFoundation.getSelectedIndex():-1}render(){const e=null===this.innerRole?void 0:this.innerRole,t=null===this.innerAriaLabel?void 0:this.innerAriaLabel,i=this.rootTabbable?"0":"-1";return h` - -
    - - ${this.renderPlaceholder()} -
- `}renderPlaceholder(){var e;const t=null!==(e=this.assignedElements)&&void 0!==e?e:[];return void 0!==this.emptyMessage&&0===t.length?h` - ${this.emptyMessage} - `:null}firstUpdated(){super.firstUpdated(),this.items.length||(this.mdcFoundation.setMulti(this.multi),this.layout())}onFocusIn(e){if(this.mdcFoundation&&this.mdcRoot){const t=this.getIndexOfTarget(e);this.mdcFoundation.handleFocusIn(e,t)}}onFocusOut(e){if(this.mdcFoundation&&this.mdcRoot){const t=this.getIndexOfTarget(e);this.mdcFoundation.handleFocusOut(e,t)}}onKeydown(e){if(this.mdcFoundation&&this.mdcRoot){const t=this.getIndexOfTarget(e),i=e.target,n=ft(i);this.mdcFoundation.handleKeydown(e,n,t)}}onRequestSelected(e){if(this.mdcFoundation){let t=this.getIndexOfTarget(e);if(-1===t&&(this.layout(),t=this.getIndexOfTarget(e),-1===t))return;if(this.items[t].disabled)return;const i=e.detail.selected,n=e.detail.source;this.mdcFoundation.handleSingleSelection(t,"interaction"===n,i),e.stopPropagation()}}getIndexOfTarget(e){const t=this.items,i=e.composedPath();for(const e of i){let i=-1;if(R(e)&&ft(e)&&(i=t.indexOf(e)),-1!==i)return i}return-1}createAdapter(){return this.mdcAdapter={getListItemCount:()=>this.mdcRoot?this.items.length:0,getFocusedElementIndex:this.getFocusedItemIndex,getAttributeForElementIndex:(e,t)=>{if(!this.mdcRoot)return"";const i=this.items[e];return i?i.getAttribute(t):""},setAttributeForElementIndex:(e,t,i)=>{if(!this.mdcRoot)return;const n=this.items[e];n&&n.setAttribute(t,i)},focusItemAtIndex:e=>{const t=this.items[e];t&&t.focus()},setTabIndexForElementIndex:(e,t)=>{const i=this.items[e];i&&(i.tabindex=t)},notifyAction:e=>{const t={bubbles:!0,composed:!0};t.detail={index:e};const i=new CustomEvent("action",t);this.dispatchEvent(i)},notifySelected:(e,t)=>{const i={bubbles:!0,composed:!0};i.detail={index:e,diff:t};const n=new CustomEvent("selected",i);this.dispatchEvent(n)},isFocusInsideList:()=>T(this),isRootFocused:()=>{const e=this.mdcRoot;return e.getRootNode().activeElement===e},setDisabledStateForElementIndex:(e,t)=>{const i=this.items[e];i&&(i.disabled=t)},getDisabledStateForElementIndex:e=>{const t=this.items[e];return!!t&&t.disabled},setSelectedStateForElementIndex:(e,t)=>{const i=this.items[e];i&&(i.selected=t)},getSelectedStateForElementIndex:e=>{const t=this.items[e];return!!t&&t.selected},setActivatedStateForElementIndex:(e,t)=>{const i=this.items[e];i&&(i.activated=t)}},this.mdcAdapter}selectUi(e,t=!1){const i=this.items[e];i&&(i.selected=!0,i.activated=t)}deselectUi(e){const t=this.items[e];t&&(t.selected=!1,t.activated=!1)}select(e){this.mdcFoundation&&this.mdcFoundation.setSelectedIndex(e)}toggle(e,t){this.multi&&this.mdcFoundation.toggleMultiAtIndex(e,t)}onListItemConnected(e){const t=e.target;this.layout(-1===this.items.indexOf(t))}layout(e=!0){e&&this.updateItems();const t=this.items[0];for(const e of this.items)e.tabindex=-1;t&&(this.noninteractive?this.previousTabindex||(this.previousTabindex=t):t.tabindex=0),this.itemsReadyResolver()}getFocusedItemIndex(){if(!this.mdcRoot)return-1;if(!this.items.length)return-1;const e=C();if(!e.length)return-1;for(let t=e.length-1;t>=0;t--){const i=e[t];if(ft(i))return this.items.indexOf(i)}return-1}focusItemAtIndex(e){for(const e of this.items)if(0===e.tabindex){e.tabindex=-1;break}this.items[e].tabindex=0,this.items[e].focus()}focus(){const e=this.mdcRoot;e&&e.focus()}blur(){const e=this.mdcRoot;e&&e.blur()}}i([n({type:String})],_t.prototype,"emptyMessage",void 0),i([a(".mdc-deprecated-list")],_t.prototype,"mdcRoot",void 0),i([D("",!0,"*")],_t.prototype,"assignedElements",void 0),i([D("",!0,'[tabindex="0"]')],_t.prototype,"tabbableElements",void 0),i([n({type:Boolean}),b((function(e){this.mdcFoundation&&this.mdcFoundation.setUseActivatedClass(e)}))],_t.prototype,"activatable",void 0),i([n({type:Boolean}),b((function(e,t){this.mdcFoundation&&this.mdcFoundation.setMulti(e),void 0!==t&&this.layout()}))],_t.prototype,"multi",void 0),i([n({type:Boolean}),b((function(e){this.mdcFoundation&&this.mdcFoundation.setWrapFocus(e)}))],_t.prototype,"wrapFocus",void 0),i([n({type:String}),b((function(e,t){void 0!==t&&this.updateItems()}))],_t.prototype,"itemRoles",void 0),i([n({type:String})],_t.prototype,"innerRole",void 0),i([n({type:String})],_t.prototype,"innerAriaLabel",void 0),i([n({type:Boolean})],_t.prototype,"rootTabbable",void 0),i([n({type:Boolean,reflect:!0}),b((function(e){var t,i;if(e){const e=null!==(i=null===(t=this.tabbableElements)||void 0===t?void 0:t[0])&&void 0!==i?i:null;this.previousTabindex=e,e&&e.setAttribute("tabindex","-1")}else!e&&this.previousTabindex&&(this.previousTabindex.setAttribute("tabindex","0"),this.previousTabindex=null)}))],_t.prototype,"noninteractive",void 0);const bt=u`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;let xt=class extends _t{};xt.styles=[bt],xt=i([v("mwc-list")],xt);var vt,yt,wt={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},kt={CLOSED_EVENT:"MDCMenuSurface:closed",CLOSING_EVENT:"MDCMenuSurface:closing",OPENED_EVENT:"MDCMenuSurface:opened",OPENING_EVENT:"MDCMenuSurface:opening",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},Et={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67,TOUCH_EVENT_WAIT_MS:30};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(vt||(vt={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(yt||(yt={}));var It=function(e){function t(i){var n=e.call(this,g(g({},t.defaultAdapter),i))||this;return n.isSurfaceOpen=!1,n.isQuickOpen=!1,n.isHoistedElement=!1,n.isFixedPosition=!1,n.isHorizontallyCenteredOnViewport=!1,n.maxHeight=0,n.openBottomBias=0,n.openAnimationEndTimerId=0,n.closeAnimationEndTimerId=0,n.animationRequestId=0,n.anchorCorner=yt.TOP_START,n.originCorner=yt.TOP_START,n.anchorMargin={top:0,right:0,bottom:0,left:0},n.position={x:0,y:0},n}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return wt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return kt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return Et},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return yt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyClosing:function(){},notifyOpen:function(){},notifyOpening:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,i=e.ROOT,n=e.OPEN;if(!this.adapter.hasClass(i))throw new Error(i+" class required in root element.");this.adapter.hasClass(n)&&(this.isSurfaceOpen=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},t.prototype.setAnchorCorner=function(e){this.anchorCorner=e},t.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^vt.RIGHT},t.prototype.setAnchorMargin=function(e){this.anchorMargin.top=e.top||0,this.anchorMargin.right=e.right||0,this.anchorMargin.bottom=e.bottom||0,this.anchorMargin.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition=e},t.prototype.isFixed=function(){return this.isFixedPosition},t.prototype.setAbsolutePosition=function(e,t){this.position.x=this.isFinite(e)?e:0,this.position.y=this.isFinite(t)?t:0},t.prototype.setIsHorizontallyCenteredOnViewport=function(e){this.isHorizontallyCenteredOnViewport=e},t.prototype.setQuickOpen=function(e){this.isQuickOpen=e},t.prototype.setMaxHeight=function(e){this.maxHeight=e},t.prototype.setOpenBottomBias=function(e){this.openBottomBias=e},t.prototype.isOpen=function(){return this.isSurfaceOpen},t.prototype.open=function(){var e=this;this.isSurfaceOpen||(this.adapter.notifyOpening(),this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(t.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){e.dimensions=e.adapter.getInnerDimensions(),e.autoposition(),e.adapter.addClass(t.cssClasses.OPEN),e.openAnimationEndTimerId=setTimeout((function(){e.openAnimationEndTimerId=0,e.adapter.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter.notifyOpen()}),Et.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},t.prototype.close=function(e){var i=this;if(void 0===e&&(e=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,e||this.maybeRestoreFocus(),this.adapter.removeClass(t.cssClasses.OPEN),this.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){i.adapter.removeClass(t.cssClasses.OPEN),i.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),i.closeAnimationEndTimerId=setTimeout((function(){i.closeAnimationEndTimerId=0,i.adapter.removeClass(t.cssClasses.ANIMATING_CLOSED),i.adapter.notifyClose()}),Et.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,e||this.maybeRestoreFocus()}},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode;("Escape"===e.key||27===t)&&this.close()},t.prototype.autoposition=function(){var e;this.measurements=this.getAutoLayoutmeasurements();var i=this.getoriginCorner(),n=this.getMenuSurfaceMaxHeight(i),o=this.hasBit(i,vt.BOTTOM)?"bottom":"top",r=this.hasBit(i,vt.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset(i),d=this.getVerticalOriginOffset(i),s=this.measurements,l=s.anchorSize,c=s.surfaceSize,h=((e={})[r]=a,e[o]=d,e);l.width/c.width>Et.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(r="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(h),this.adapter.setTransformOrigin(r+" "+o),this.adapter.setPosition(h),this.adapter.setMaxHeight(n?n+"px":""),this.hasBit(i,vt.BOTTOM)||this.adapter.addClass(t.cssClasses.IS_OPEN_BELOW)},t.prototype.getAutoLayoutmeasurements=function(){var e=this.adapter.getAnchorDimensions(),t=this.adapter.getBodyDimensions(),i=this.adapter.getWindowDimensions(),n=this.adapter.getWindowScroll();return e||(e={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions,viewportDistance:{top:e.top,right:i.width-e.right,bottom:i.height-e.bottom,left:e.left},viewportSize:i,windowScroll:n}},t.prototype.getoriginCorner=function(){var e,i,n=this.originCorner,o=this.measurements,r=o.viewportDistance,a=o.anchorSize,d=o.surfaceSize,s=t.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,vt.BOTTOM)?(e=r.top-s+this.anchorMargin.bottom,i=r.bottom-s-this.anchorMargin.bottom):(e=r.top-s+this.anchorMargin.top,i=r.bottom-s+a.height-this.anchorMargin.top),!(i-d.height>0)&&e>i+this.openBottomBias&&(n=this.setBit(n,vt.BOTTOM));var l,c,h=this.adapter.isRtl(),m=this.hasBit(this.anchorCorner,vt.FLIP_RTL),p=this.hasBit(this.anchorCorner,vt.RIGHT)||this.hasBit(n,vt.RIGHT),u=!1;(u=h&&m?!p:p)?(l=r.left+a.width+this.anchorMargin.right,c=r.right-this.anchorMargin.right):(l=r.left+this.anchorMargin.left,c=r.right+a.width-this.anchorMargin.left);var f=l-d.width>0,g=c-d.width>0,_=this.hasBit(n,vt.FLIP_RTL)&&this.hasBit(n,vt.RIGHT);return g&&_&&h||!f&&_?n=this.unsetBit(n,vt.RIGHT):(f&&u&&h||f&&!u&&p||!g&&l>=c)&&(n=this.setBit(n,vt.RIGHT)),n},t.prototype.getMenuSurfaceMaxHeight=function(e){if(this.maxHeight>0)return this.maxHeight;var i=this.measurements.viewportDistance,n=0,o=this.hasBit(e,vt.BOTTOM),r=this.hasBit(this.anchorCorner,vt.BOTTOM),a=t.numbers.MARGIN_TO_EDGE;return o?(n=i.top+this.anchorMargin.top-a,r||(n+=this.measurements.anchorSize.height)):(n=i.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-a,r&&(n-=this.measurements.anchorSize.height)),n},t.prototype.getHorizontalOriginOffset=function(e){var t=this.measurements.anchorSize,i=this.hasBit(e,vt.RIGHT),n=this.hasBit(this.anchorCorner,vt.RIGHT);if(i){var o=n?t.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?o-(this.measurements.viewportSize.width-this.measurements.bodySize.width):o}return n?t.width-this.anchorMargin.right:this.anchorMargin.left},t.prototype.getVerticalOriginOffset=function(e){var t=this.measurements.anchorSize,i=this.hasBit(e,vt.BOTTOM),n=this.hasBit(this.anchorCorner,vt.BOTTOM);return i?n?t.height-this.anchorMargin.top:-this.anchorMargin.bottom:n?t.height+this.anchorMargin.bottom:this.anchorMargin.top},t.prototype.adjustPositionForHoistedElement=function(e){var t,i,n=this.measurements,o=n.windowScroll,r=n.viewportDistance,a=n.surfaceSize,d=n.viewportSize,s=Object.keys(e);try{for(var l=E(s),c=l.next();!c.done;c=l.next()){var h=c.value,m=e[h]||0;!this.isHorizontallyCenteredOnViewport||"left"!==h&&"right"!==h?(m+=r[h],this.isFixedPosition||("top"===h?m+=o.y:"bottom"===h?m-=o.y:"left"===h?m+=o.x:m-=o.x),e[h]=m):e[h]=(d.width-a.width)/2}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus=function(){var e=this,t=this.adapter.isFocused(),i=this.adapter.getOwnerDocument?this.adapter.getOwnerDocument():document,n=i.activeElement&&this.adapter.isElementInContainer(i.activeElement);(t||n)&&setTimeout((function(){e.adapter.restoreFocus()}),Et.TOUCH_EVENT_WAIT_MS)},t.prototype.hasBit=function(e,t){return Boolean(e&t)},t.prototype.setBit=function(e,t){return e|t},t.prototype.unsetBit=function(e,t){return e^t},t.prototype.isFinite=function(e){return"number"==typeof e&&isFinite(e)},t}(_),At=It;const St={TOP_LEFT:yt.TOP_LEFT,TOP_RIGHT:yt.TOP_RIGHT,BOTTOM_LEFT:yt.BOTTOM_LEFT,BOTTOM_RIGHT:yt.BOTTOM_RIGHT,TOP_START:yt.TOP_START,TOP_END:yt.TOP_END,BOTTOM_START:yt.BOTTOM_START,BOTTOM_END:yt.BOTTOM_END};class Rt extends o{constructor(){super(...arguments),this.mdcFoundationClass=At,this.absolute=!1,this.fullwidth=!1,this.fixed=!1,this.x=null,this.y=null,this.quick=!1,this.open=!1,this.stayOpenOnBodyClick=!1,this.bitwiseCorner=yt.TOP_START,this.previousMenuCorner=null,this.menuCorner="START",this.corner="TOP_START",this.styleTop="",this.styleLeft="",this.styleRight="",this.styleBottom="",this.styleMaxHeight="",this.styleTransformOrigin="",this.anchor=null,this.previouslyFocused=null,this.previousAnchor=null,this.onBodyClickBound=()=>{}}render(){return this.renderSurface()}renderSurface(){const e=this.getRootClasses(),t=this.getRootStyles();return h` -
- ${this.renderContent()} -
`}getRootClasses(){return{"mdc-menu-surface":!0,"mdc-menu-surface--fixed":this.fixed,"mdc-menu-surface--fullwidth":this.fullwidth}}getRootStyles(){return{top:this.styleTop,left:this.styleLeft,right:this.styleRight,bottom:this.styleBottom,"max-height":this.styleMaxHeight,"transform-origin":this.styleTransformOrigin}}renderContent(){return h``}createAdapter(){return Object.assign(Object.assign({},S(this.mdcRoot)),{hasAnchor:()=>!!this.anchor,notifyClose:()=>{const e=new CustomEvent("closed",{bubbles:!0,composed:!0});this.open=!1,this.mdcRoot.dispatchEvent(e)},notifyClosing:()=>{const e=new CustomEvent("closing",{bubbles:!0,composed:!0});this.mdcRoot.dispatchEvent(e)},notifyOpen:()=>{const e=new CustomEvent("opened",{bubbles:!0,composed:!0});this.open=!0,this.mdcRoot.dispatchEvent(e)},notifyOpening:()=>{const e=new CustomEvent("opening",{bubbles:!0,composed:!0});this.mdcRoot.dispatchEvent(e)},isElementInContainer:()=>!1,isRtl:()=>!!this.mdcRoot&&"rtl"===getComputedStyle(this.mdcRoot).direction,setTransformOrigin:e=>{this.mdcRoot&&(this.styleTransformOrigin=e)},isFocused:()=>T(this),saveFocus:()=>{const e=C(),t=e.length;t||(this.previouslyFocused=null),this.previouslyFocused=e[t-1]},restoreFocus:()=>{this.previouslyFocused&&"focus"in this.previouslyFocused&&this.previouslyFocused.focus()},getInnerDimensions:()=>{const e=this.mdcRoot;return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:0,height:0}},getAnchorDimensions:()=>{const e=this.anchor;return e?e.getBoundingClientRect():null},getBodyDimensions:()=>({width:document.body.clientWidth,height:document.body.clientHeight}),getWindowDimensions:()=>({width:window.innerWidth,height:window.innerHeight}),getWindowScroll:()=>({x:window.pageXOffset,y:window.pageYOffset}),setPosition:e=>{this.mdcRoot&&(this.styleLeft="left"in e?`${e.left}px`:"",this.styleRight="right"in e?`${e.right}px`:"",this.styleTop="top"in e?`${e.top}px`:"",this.styleBottom="bottom"in e?`${e.bottom}px`:"")},setMaxHeight:async e=>{this.mdcRoot&&(this.styleMaxHeight=e,await this.updateComplete,this.styleMaxHeight=`var(--mdc-menu-max-height, ${e})`)}})}onKeydown(e){this.mdcFoundation&&this.mdcFoundation.handleKeydown(e)}onBodyClick(e){if(this.stayOpenOnBodyClick)return;-1===e.composedPath().indexOf(this)&&this.close()}registerBodyClick(){this.onBodyClickBound=this.onBodyClick.bind(this),document.body.addEventListener("click",this.onBodyClickBound,{passive:!0,capture:!0})}deregisterBodyClick(){document.body.removeEventListener("click",this.onBodyClickBound,{capture:!0})}onOpenChanged(e,t){this.mdcFoundation&&(e?this.mdcFoundation.open():void 0!==t&&this.mdcFoundation.close())}close(){this.open=!1}show(){this.open=!0}}i([a(".mdc-menu-surface")],Rt.prototype,"mdcRoot",void 0),i([a("slot")],Rt.prototype,"slotElement",void 0),i([n({type:Boolean}),b((function(e){this.mdcFoundation&&!this.fixed&&this.mdcFoundation.setIsHoisted(e)}))],Rt.prototype,"absolute",void 0),i([n({type:Boolean})],Rt.prototype,"fullwidth",void 0),i([n({type:Boolean}),b((function(e){this.mdcFoundation&&!this.absolute&&this.mdcFoundation.setFixedPosition(e)}))],Rt.prototype,"fixed",void 0),i([n({type:Number}),b((function(e){this.mdcFoundation&&null!==this.y&&null!==e&&(this.mdcFoundation.setAbsolutePosition(e,this.y),this.mdcFoundation.setAnchorMargin({left:e,top:this.y,right:-e,bottom:this.y}))}))],Rt.prototype,"x",void 0),i([n({type:Number}),b((function(e){this.mdcFoundation&&null!==this.x&&null!==e&&(this.mdcFoundation.setAbsolutePosition(this.x,e),this.mdcFoundation.setAnchorMargin({left:this.x,top:e,right:-this.x,bottom:e}))}))],Rt.prototype,"y",void 0),i([n({type:Boolean}),b((function(e){this.mdcFoundation&&this.mdcFoundation.setQuickOpen(e)}))],Rt.prototype,"quick",void 0),i([n({type:Boolean,reflect:!0}),b((function(e,t){this.onOpenChanged(e,t)}))],Rt.prototype,"open",void 0),i([n({type:Boolean})],Rt.prototype,"stayOpenOnBodyClick",void 0),i([r(),b((function(e){this.mdcFoundation&&this.mdcFoundation.setAnchorCorner(e)}))],Rt.prototype,"bitwiseCorner",void 0),i([n({type:String}),b((function(e){if(this.mdcFoundation){const t="START"===e||"END"===e,i=null===this.previousMenuCorner,n=!i&&e!==this.previousMenuCorner;t&&(n||i&&"END"===e)&&(this.bitwiseCorner=this.bitwiseCorner^vt.RIGHT,this.mdcFoundation.flipCornerHorizontally(),this.previousMenuCorner=e)}}))],Rt.prototype,"menuCorner",void 0),i([n({type:String}),b((function(e){if(this.mdcFoundation&&e){let t=St[e];"END"===this.menuCorner&&(t^=vt.RIGHT),this.bitwiseCorner=t}}))],Rt.prototype,"corner",void 0),i([r()],Rt.prototype,"styleTop",void 0),i([r()],Rt.prototype,"styleLeft",void 0),i([r()],Rt.prototype,"styleRight",void 0),i([r()],Rt.prototype,"styleBottom",void 0),i([r()],Rt.prototype,"styleMaxHeight",void 0),i([r()],Rt.prototype,"styleTransformOrigin",void 0);const Tt=u`.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}:host(:not([open])){display:none}.mdc-menu-surface{z-index:8;z-index:var(--mdc-menu-z-index, 8);min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}`;let Ct=class extends Rt{};Ct.styles=[Tt],Ct=i([v("mwc-menu-surface")],Ct);var Ot,Lt={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},Ft={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",SELECTED_EVENT:"MDCMenu:selected",SKIP_RESTORE_FOCUS:"data-menu-item-skip-restore-focus"},Dt={FOCUS_ROOT_INDEX:-1};!function(e){e[e.NONE=0]="NONE",e[e.LIST_ROOT=1]="LIST_ROOT",e[e.FIRST_ITEM=2]="FIRST_ITEM",e[e.LAST_ITEM=3]="LAST_ITEM"}(Ot||(Ot={}));var zt=function(e){function t(i){var n=e.call(this,g(g({},t.defaultAdapter),i))||this;return n.closeAnimationEndTimerId=0,n.defaultFocusState=Ot.LIST_ROOT,n.selectedIndex=-1,n}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return Lt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return Ft},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return Dt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},getAttributeFromElementAtIndex:function(){return null},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId),this.adapter.closeSurface()},t.prototype.handleKeydown=function(e){var t=e.key,i=e.keyCode;("Tab"===t||9===i)&&this.adapter.closeSurface(!0)},t.prototype.handleItemAction=function(e){var t=this,i=this.adapter.getElementIndex(e);if(!(i<0)){this.adapter.notifySelected({index:i});var n="true"===this.adapter.getAttributeFromElementAtIndex(i,Ft.SKIP_RESTORE_FOCUS);this.adapter.closeSurface(n),this.closeAnimationEndTimerId=setTimeout((function(){var i=t.adapter.getElementIndex(e);i>=0&&t.adapter.isSelectableItemAtIndex(i)&&t.setSelectedIndex(i)}),It.numbers.TRANSITION_CLOSE_DURATION)}},t.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case Ot.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case Ot.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case Ot.NONE:break;default:this.adapter.focusListRoot()}},t.prototype.setDefaultFocusState=function(e){this.defaultFocusState=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex},t.prototype.setSelectedIndex=function(e){if(this.validatedIndex(e),!this.adapter.isSelectableItemAtIndex(e))throw new Error("MDCMenuFoundation: No selection group at specified index.");var t=this.adapter.getSelectedSiblingOfItemAtIndex(e);t>=0&&(this.adapter.removeAttributeFromElementAtIndex(t,Ft.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(t,Lt.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(e,Lt.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(e,Ft.ARIA_CHECKED_ATTR,"true"),this.selectedIndex=e},t.prototype.setEnabled=function(e,t){this.validatedIndex(e),t?(this.adapter.removeClassFromElementAtIndex(e,it),this.adapter.addAttributeToElementAtIndex(e,Ft.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(e,it),this.adapter.addAttributeToElementAtIndex(e,Ft.ARIA_DISABLED_ATTR,"true"))},t.prototype.validatedIndex=function(e){var t=this.adapter.getMenuItemCount();if(!(e>=0&&e - ${this.renderList()} - `}getSurfaceClasses(){return{"mdc-menu":!0,"mdc-menu-surface":!0}}renderList(){const e="menu"===this.innerRole?"menuitem":"option",t=this.renderListClasses();return h` - - - `}renderListClasses(){return{"mdc-deprecated-list":!0}}createAdapter(){return{addClassToElementAtIndex:(e,t)=>{const i=this.listElement;if(!i)return;const n=i.items[e];n&&("mdc-menu-item--selected"===t?this.forceGroupSelection&&!n.selected&&i.toggle(e,!0):n.classList.add(t))},removeClassFromElementAtIndex:(e,t)=>{const i=this.listElement;if(!i)return;const n=i.items[e];n&&("mdc-menu-item--selected"===t?n.selected&&i.toggle(e,!1):n.classList.remove(t))},addAttributeToElementAtIndex:(e,t,i)=>{const n=this.listElement;if(!n)return;const o=n.items[e];o&&o.setAttribute(t,i)},removeAttributeFromElementAtIndex:(e,t)=>{const i=this.listElement;if(!i)return;const n=i.items[e];n&&n.removeAttribute(t)},getAttributeFromElementAtIndex:(e,t)=>{const i=this.listElement;if(!i)return null;const n=i.items[e];return n?n.getAttribute(t):null},elementContainsClass:(e,t)=>e.classList.contains(t),closeSurface:()=>{this.open=!1},getElementIndex:e=>{const t=this.listElement;return t?t.items.indexOf(e):-1},notifySelected:()=>{},getMenuItemCount:()=>{const e=this.listElement;return e?e.items.length:0},focusItemAtIndex:e=>{const t=this.listElement;if(!t)return;const i=t.items[e];i&&i.focus()},focusListRoot:()=>{this.listElement&&this.listElement.focus()},getSelectedSiblingOfItemAtIndex:e=>{const t=this.listElement;if(!t)return-1;const i=t.items[e];if(!i||!i.group)return-1;for(let n=0;n{const t=this.listElement;if(!t)return!1;const i=t.items[e];return!!i&&i.hasAttribute("group")}}}onKeydown(e){this.mdcFoundation&&this.mdcFoundation.handleKeydown(e)}onAction(e){const t=this.listElement;if(this.mdcFoundation&&t){const i=e.detail.index,n=t.items[i];n&&this.mdcFoundation.handleItemAction(n)}}onOpened(){this.open=!0,this.mdcFoundation&&this.mdcFoundation.handleMenuSurfaceOpened()}onClosed(){this.open=!1}async getUpdateComplete(){await this._listUpdateComplete;return await super.getUpdateComplete()}async firstUpdated(){super.firstUpdated();const e=this.listElement;e&&(this._listUpdateComplete=e.updateComplete,await this._listUpdateComplete)}select(e){const t=this.listElement;t&&t.select(e)}close(){this.open=!1}show(){this.open=!0}getFocusedItemIndex(){const e=this.listElement;return e?e.getFocusedItemIndex():-1}focusItemAtIndex(e){const t=this.listElement;t&&t.focusItemAtIndex(e)}layout(e=!0){const t=this.listElement;t&&t.layout(e)}}i([a(".mdc-menu")],Mt.prototype,"mdcRoot",void 0),i([a("slot")],Mt.prototype,"slotElement",void 0),i([n({type:Object})],Mt.prototype,"anchor",void 0),i([n({type:Boolean,reflect:!0})],Mt.prototype,"open",void 0),i([n({type:Boolean})],Mt.prototype,"quick",void 0),i([n({type:Boolean})],Mt.prototype,"wrapFocus",void 0),i([n({type:String})],Mt.prototype,"innerRole",void 0),i([n({type:String})],Mt.prototype,"innerAriaLabel",void 0),i([n({type:String})],Mt.prototype,"corner",void 0),i([n({type:Number})],Mt.prototype,"x",void 0),i([n({type:Number})],Mt.prototype,"y",void 0),i([n({type:Boolean})],Mt.prototype,"absolute",void 0),i([n({type:Boolean})],Mt.prototype,"multi",void 0),i([n({type:Boolean})],Mt.prototype,"activatable",void 0),i([n({type:Boolean})],Mt.prototype,"fixed",void 0),i([n({type:Boolean})],Mt.prototype,"forceGroupSelection",void 0),i([n({type:Boolean})],Mt.prototype,"fullwidth",void 0),i([n({type:String})],Mt.prototype,"menuCorner",void 0),i([n({type:Boolean})],Mt.prototype,"stayOpenOnBodyClick",void 0),i([n({type:String}),b((function(e){this.mdcFoundation&&this.mdcFoundation.setDefaultFocusState(Ot[e])}))],Mt.prototype,"defaultFocus",void 0);const Nt=u`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`;let Bt=class extends Mt{};Bt.styles=[Nt],Bt=i([v("mwc-menu")],Bt);var Pt=["input","button","textarea","select"],$t=function(e){var t=e.target;if(t){var i=(""+t.tagName).toLowerCase();-1===Pt.indexOf(i)&&e.preventDefault()}};function Ut(e,t){for(var i=new Map,n=0;nt&&!i(r[d].index)){s=d;break}if(-1!==s)return n.sortedIndexCursor=s,r[n.sortedIndexCursor].index;return-1}(r,a,s,t):function(e,t,i){var n=i.typeaheadBuffer[0],o=e.get(n);if(!o)return-1;var r=o[i.sortedIndexCursor];if(0===r.text.lastIndexOf(i.typeaheadBuffer,0)&&!t(r.index))return r.index;var a=(i.sortedIndexCursor+1)%o.length,d=-1;for(;a!==i.sortedIndexCursor;){var s=o[a],l=0===s.text.lastIndexOf(i.typeaheadBuffer,0),c=!t(s.index);if(l&&c){d=a;break}a=(a+1)%o.length}if(-1!==d)return i.sortedIndexCursor=d,o[i.sortedIndexCursor].index;return-1}(r,s,t),-1===i||d||o(i),i}function Vt(e){return e.typeaheadBuffer.length>0}var Wt={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},Gt={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},Xt={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},qt=function(e){function t(i,n){void 0===n&&(n={});var o=e.call(this,g(g({},t.defaultAdapter),i))||this;return o.disabled=!1,o.isMenuOpen=!1,o.useDefaultValidation=!0,o.customValidity=!0,o.lastSelectedIndex=Xt.UNSET_INDEX,o.clickDebounceTimeout=0,o.recentlyClicked=!1,o.leadingIcon=n.leadingIcon,o.helperText=n.helperText,o}return f(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return Wt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return Xt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return Gt},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),t.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},t.prototype.setSelectedIndex=function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1),e>=this.adapter.getMenuItemCount()||(e===Xt.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(e).trim()),this.adapter.setSelectedIndex(e),t&&this.adapter.closeMenu(),i||this.lastSelectedIndex===e||this.handleChange(),this.lastSelectedIndex=e)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var i=this.adapter.getMenuItemValues().indexOf(e);this.setSelectedIndex(i,!1,t)},t.prototype.getValue=function(){var e=this.adapter.getSelectedIndex(),t=this.adapter.getMenuItemValues();return e!==Xt.UNSET_INDEX?t[e]:""},t.prototype.getDisabled=function(){return this.disabled},t.prototype.setDisabled=function(e){this.disabled=e,this.disabled?(this.adapter.addClass(Wt.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(Wt.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},t.prototype.openMenu=function(){this.adapter.addClass(Wt.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.layout=function(){if(this.adapter.hasLabel()){var e=this.getValue().length>0,t=this.adapter.hasClass(Wt.FOCUSED),i=e||t,n=this.adapter.hasClass(Wt.REQUIRED);this.notchOutline(i),this.adapter.floatLabel(i),this.adapter.setLabelRequired(n)}},t.prototype.layoutOptions=function(){var e=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(e,!1,!0)},t.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var e=this.getSelectedIndex(),t=e>=0?e:0;this.adapter.focusMenuItemAtIndex(t)}},t.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},t.prototype.handleMenuClosed=function(){this.adapter.removeClass(Wt.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},t.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(Wt.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.handleMenuItemAction=function(e){this.setSelectedIndex(e,!0)},t.prototype.handleFocus=function(){this.adapter.addClass(Wt.FOCUSED),this.layout(),this.adapter.activateBottomLine()},t.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},t.prototype.handleClick=function(e){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(e),this.openMenu()))},t.prototype.handleKeydown=function(e){if(!this.isMenuOpen&&this.adapter.hasClass(Wt.FOCUSED)){var t=Je(e)===Fe.ENTER,i=Je(e)===Fe.SPACEBAR,n=Je(e)===Fe.ARROW_UP,o=Je(e)===Fe.ARROW_DOWN;if(!(e.ctrlKey||e.metaKey)&&(!i&&e.key&&1===e.key.length||i&&this.adapter.isTypeaheadInProgress())){var r=i?" ":e.key,a=this.adapter.typeaheadMatchItem(r,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void e.preventDefault()}(t||i||n||o)&&(this.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()){var t=this.adapter.hasClass(Wt.FOCUSED);if(e){var i=Xt.LABEL_SCALE,n=this.adapter.getLabelWidth()*i;this.adapter.notchOutline(n)}else t||this.adapter.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},t.prototype.setUseDefaultValidation=function(e){this.useDefaultValidation=e},t.prototype.setValid=function(e){this.useDefaultValidation||(this.customValidity=e),this.adapter.setSelectAnchorAttr("aria-invalid",(!e).toString()),e?(this.adapter.removeClass(Wt.INVALID),this.adapter.removeMenuClass(Wt.MENU_INVALID)):(this.adapter.addClass(Wt.INVALID),this.adapter.addMenuClass(Wt.MENU_INVALID)),this.syncHelperTextValidity(e)},t.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(Wt.REQUIRED)&&!this.adapter.hasClass(Wt.DISABLED)?this.getSelectedIndex()!==Xt.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},t.prototype.setRequired=function(e){e?this.adapter.addClass(Wt.REQUIRED):this.adapter.removeClass(Wt.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",e.toString()),this.adapter.setLabelRequired(e)},t.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},t.prototype.init=function(){var e=this.adapter.getAnchorElement();e&&(this.adapter.setMenuAnchorElement(e),this.adapter.setMenuAnchorCorner(yt.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(Wt.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(Wt.INVALID)),this.layout(),this.layoutOptions()},t.prototype.blur=function(){this.adapter.removeClass(Wt.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(Wt.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.syncHelperTextValidity=function(e){if(this.helperText){this.helperText.setValidity(e);var t=this.helperText.isVisible(),i=this.helperText.getId();t&&i?this.adapter.setSelectAnchorAttr(Gt.ARIA_DESCRIBEDBY,i):this.adapter.removeSelectAnchorAttr(Gt.ARIA_DESCRIBEDBY)}},t.prototype.setClickDebounceTimeout=function(){var e=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){e.recentlyClicked=!1}),Xt.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},t}(_);const Yt=(e={})=>{const t={};for(const i in e)t[i]=e[i];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},t)};class Zt extends B{constructor(){super(...arguments),this.mdcFoundationClass=qt,this.disabled=!1,this.outlined=!1,this.label="",this.outlineOpen=!1,this.outlineWidth=0,this.value="",this.name="",this.selectedText="",this.icon="",this.menuOpen=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.required=!1,this.naturalMenuWidth=!1,this.isUiValid=!0,this.fixedMenuPosition=!1,this.typeaheadState={bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""},this.sortedIndexByFirstChar=new Map,this.menuElement_=null,this.listeners=[],this.onBodyClickBound=()=>{},this._menuUpdateComplete=null,this.valueSetDirectly=!1,this.validityTransform=null,this._validity=Yt()}get items(){return this.menuElement_||(this.menuElement_=this.menuElement),this.menuElement_?this.menuElement_.items:[]}get selected(){const e=this.menuElement;return e?e.selected:null}get index(){const e=this.menuElement;return e?e.index:-1}get shouldRenderHelperText(){return!!this.helper||!!this.validationMessage}get validity(){return this._checkValidity(this.value),this._validity}render(){const e={"mdc-select--disabled":this.disabled,"mdc-select--no-label":!this.label,"mdc-select--filled":!this.outlined,"mdc-select--outlined":this.outlined,"mdc-select--with-leading-icon":!!this.icon,"mdc-select--required":this.required,"mdc-select--invalid":!this.isUiValid},t=this.label?"label":void 0,i=this.shouldRenderHelperText?"helper-text":void 0;return h` -
- - -
- ${this.renderRipple()} - ${this.outlined?this.renderOutline():this.renderLabel()} - ${this.renderLeadingIcon()} - - ${this.selectedText} - - - - - - - - - - ${this.renderLineRipple()} -
- ${this.renderMenu()} -
- ${this.renderHelperText()}`}renderMenu(){const e=this.getMenuClasses();return h` - - ${this.renderMenuContent()} - `}getMenuClasses(){return{"mdc-select__menu":!0,"mdc-menu":!0,"mdc-menu-surface":!0,"mdc-select__menu--invalid":!this.isUiValid}}renderMenuContent(){return h``}renderRipple(){return this.outlined?A:h` - - `}renderOutline(){return this.outlined?h` - - ${this.renderLabel()} - `:A}renderLabel(){return this.label?h` - ${this.label} - `:A}renderLeadingIcon(){return this.icon?h`
${this.icon}
`:A}renderLineRipple(){return this.outlined?A:h` - - `}renderHelperText(){if(!this.shouldRenderHelperText)return A;const e=this.validationMessage&&!this.isUiValid;return h` -

${e?this.validationMessage:this.helper}

`}createAdapter(){return Object.assign(Object.assign({},S(this.mdcRoot)),{activateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},hasLabel:()=>!!this.label,floatLabel:e=>{this.labelElement&&this.labelElement.floatingLabelFoundation.float(e)},getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,setLabelRequired:e=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(e)},hasOutline:()=>this.outlined,notchOutline:e=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=e,this.outlineOpen=!0)},closeOutline:()=>{this.outlineElement&&(this.outlineOpen=!1)},setRippleCenter:e=>{if(this.lineRippleElement){this.lineRippleElement.lineRippleFoundation.setRippleCenter(e)}},notifyChange:async e=>{if(!this.valueSetDirectly&&e===this.value)return;this.valueSetDirectly=!1,this.value=e,await this.updateComplete;const t=new Event("change",{bubbles:!0});this.dispatchEvent(t)},setSelectedText:e=>this.selectedText=e,isSelectAnchorFocused:()=>{const e=this.anchorElement;if(!e)return!1;return e.getRootNode().activeElement===e},getSelectAnchorAttr:e=>{const t=this.anchorElement;return t?t.getAttribute(e):null},setSelectAnchorAttr:(e,t)=>{const i=this.anchorElement;i&&i.setAttribute(e,t)},removeSelectAnchorAttr:e=>{const t=this.anchorElement;t&&t.removeAttribute(e)},openMenu:()=>{this.menuOpen=!0},closeMenu:()=>{this.menuOpen=!1},addMenuClass:()=>{},removeMenuClass:()=>{},getAnchorElement:()=>this.anchorElement,setMenuAnchorElement:()=>{},setMenuAnchorCorner:()=>{const e=this.menuElement;e&&(e.corner="BOTTOM_START")},setMenuWrapFocus:e=>{const t=this.menuElement;t&&(t.wrapFocus=e)},focusMenuItemAtIndex:e=>{const t=this.menuElement;if(!t)return;const i=t.items[e];i&&i.focus()},getMenuItemCount:()=>{const e=this.menuElement;return e?e.items.length:0},getMenuItemValues:()=>{const e=this.menuElement;if(!e)return[];return e.items.map((e=>e.value))},getMenuItemTextAtIndex:e=>{const t=this.menuElement;if(!t)return"";const i=t.items[e];return i?i.text:""},getSelectedIndex:()=>this.index,setSelectedIndex:()=>{},isTypeaheadInProgress:()=>Vt(this.typeaheadState),typeaheadMatchItem:(e,t)=>{if(!this.menuElement)return-1;const i={focusItemAtIndex:e=>{this.menuElement.focusItemAtIndex(e)},focusedItemIndex:t||this.menuElement.getFocusedItemIndex(),nextChar:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:!1,isItemAtIndexDisabled:e=>this.items[e].disabled},n=Ht(i,this.typeaheadState);return-1!==n&&this.select(n),n}})}checkValidity(){const e=this._checkValidity(this.value);if(!e){const e=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(e)}return e}reportValidity(){const e=this.checkValidity();return this.isUiValid=e,e}_checkValidity(e){const t=this.formElement.validity;let i=Yt(t);if(this.validityTransform){const t=this.validityTransform(e,i);i=Object.assign(Object.assign({},i),t)}return this._validity=i,this._validity.valid}setCustomValidity(e){this.validationMessage=e,this.formElement.setCustomValidity(e)}async getUpdateComplete(){await this._menuUpdateComplete;return await super.getUpdateComplete()}async firstUpdated(){const e=this.menuElement;if(e&&(this._menuUpdateComplete=e.updateComplete,await this._menuUpdateComplete),super.firstUpdated(),this.mdcFoundation.isValid=()=>!0,this.mdcFoundation.setValid=()=>{},this.mdcFoundation.setDisabled(this.disabled),this.validateOnInitialRender&&this.reportValidity(),!this.selected){!this.items.length&&this.slotElement&&this.slotElement.assignedNodes({flatten:!0}).length&&(await new Promise((e=>requestAnimationFrame(e))),await this.layout());const e=this.items.length&&""===this.items[0].value;if(!this.value&&e)return void this.select(0);this.selectByValue(this.value)}this.sortedIndexByFirstChar=Ut(this.items.length,(e=>this.items[e].text))}onItemsUpdated(){this.sortedIndexByFirstChar=Ut(this.items.length,(e=>this.items[e].text))}select(e){const t=this.menuElement;t&&t.select(e)}selectByValue(e){let t=-1;for(let i=0;i0,o=i&&this.index{this.menuElement.focusItemAtIndex(e)},focusedItemIndex:t,isTargetListItem:!!i&&i.hasAttribute("mwc-list-item"),sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:e=>this.items[e].disabled},this.typeaheadState)}async onSelected(e){this.mdcFoundation||await this.updateComplete,this.mdcFoundation.handleMenuItemAction(e.detail.index);const t=this.items[e.detail.index];t&&(this.value=t.value)}onOpened(){this.mdcFoundation&&(this.menuOpen=!0,this.mdcFoundation.handleMenuOpened())}onClosed(){this.mdcFoundation&&(this.menuOpen=!1,this.mdcFoundation.handleMenuClosed())}setFormData(e){this.name&&null!==this.selected&&e.append(this.name,this.value)}async layout(e=!0){this.mdcFoundation&&this.mdcFoundation.layout(),await this.updateComplete;const t=this.menuElement;t&&t.layout(e);const i=this.labelElement;if(!i)return void(this.outlineOpen=!1);const n=!!this.label&&!!this.value;if(i.floatingLabelFoundation.float(n),!this.outlined)return;this.outlineOpen=n,await this.updateComplete;const o=i.floatingLabelFoundation.getWidth();this.outlineOpen&&(this.outlineWidth=o)}async layoutOptions(){this.mdcFoundation&&this.mdcFoundation.layoutOptions()}}i([a(".mdc-select")],Zt.prototype,"mdcRoot",void 0),i([a(".formElement")],Zt.prototype,"formElement",void 0),i([a("slot")],Zt.prototype,"slotElement",void 0),i([a("select")],Zt.prototype,"nativeSelectElement",void 0),i([a("input")],Zt.prototype,"nativeInputElement",void 0),i([a(".mdc-line-ripple")],Zt.prototype,"lineRippleElement",void 0),i([a(".mdc-floating-label")],Zt.prototype,"labelElement",void 0),i([a("mwc-notched-outline")],Zt.prototype,"outlineElement",void 0),i([a(".mdc-menu")],Zt.prototype,"menuElement",void 0),i([a(".mdc-select__anchor")],Zt.prototype,"anchorElement",void 0),i([n({type:Boolean,attribute:"disabled",reflect:!0}),b((function(e){this.mdcFoundation&&this.mdcFoundation.setDisabled(e)}))],Zt.prototype,"disabled",void 0),i([n({type:Boolean}),b((function(e,t){void 0!==t&&this.outlined!==t&&this.layout(!1)}))],Zt.prototype,"outlined",void 0),i([n({type:String}),b((function(e,t){void 0!==t&&this.label!==t&&this.layout(!1)}))],Zt.prototype,"label",void 0),i([r()],Zt.prototype,"outlineOpen",void 0),i([r()],Zt.prototype,"outlineWidth",void 0),i([n({type:String}),b((function(e){if(this.mdcFoundation){const t=null===this.selected&&!!e,i=this.selected&&this.selected.value!==e;(t||i)&&this.selectByValue(e),this.reportValidity()}}))],Zt.prototype,"value",void 0),i([n()],Zt.prototype,"name",void 0),i([r()],Zt.prototype,"selectedText",void 0),i([n({type:String})],Zt.prototype,"icon",void 0),i([r()],Zt.prototype,"menuOpen",void 0),i([n({type:String})],Zt.prototype,"helper",void 0),i([n({type:Boolean})],Zt.prototype,"validateOnInitialRender",void 0),i([n({type:String})],Zt.prototype,"validationMessage",void 0),i([n({type:Boolean})],Zt.prototype,"required",void 0),i([n({type:Boolean})],Zt.prototype,"naturalMenuWidth",void 0),i([r()],Zt.prototype,"isUiValid",void 0),i([n({type:Boolean})],Zt.prototype,"fixedMenuPosition",void 0),i([l({capture:!0})],Zt.prototype,"handleTypeahead",null);const jt=u`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-select{display:inline-flex;position:relative}.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87)}.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-select.mdc-select--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#6200ee;fill:var(--mdc-theme-primary, #6200ee)}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled)+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__icon{color:rgba(0, 0, 0, 0.54)}.mdc-select.mdc-select--disabled .mdc-select__icon{color:rgba(0, 0, 0, 0.38)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:red}.mdc-select.mdc-select--disabled .mdc-floating-label{color:GrayText}.mdc-select.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}.mdc-select.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select.mdc-select--disabled .mdc-notched-outline__trailing{border-color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__icon{color:GrayText}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:GrayText}}.mdc-select .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-select .mdc-select__anchor{padding-left:16px;padding-right:0}[dir=rtl] .mdc-select .mdc-select__anchor,.mdc-select .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:16px}.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor{padding-left:0;padding-right:0}[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor,.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:0}.mdc-select .mdc-select__icon{width:24px;height:24px;font-size:24px}.mdc-select .mdc-select__dropdown-icon{width:24px;height:24px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item,.mdc-select .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:12px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic,.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:12px;margin-right:0}.mdc-select__dropdown-icon{margin-left:12px;margin-right:12px;display:inline-flex;position:relative;align-self:center;align-items:center;justify-content:center;flex-shrink:0;pointer-events:none}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active,.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{position:absolute;top:0;left:0}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic{width:41.6666666667%;height:20.8333333333%}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:1;transition:opacity 75ms linear 75ms}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:0;transition:opacity 75ms linear}[dir=rtl] .mdc-select__dropdown-icon,.mdc-select__dropdown-icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:0;transition:opacity 49.5ms linear}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:1;transition:opacity 100.5ms linear 49.5ms}.mdc-select__anchor{width:200px;min-width:0;flex:1 1 auto;position:relative;box-sizing:border-box;overflow:hidden;outline:none;cursor:pointer}.mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-select__selected-text-container{display:flex;appearance:none;pointer-events:none;box-sizing:border-box;width:auto;min-width:0;flex-grow:1;height:28px;border:none;outline:none;padding:0;background-color:transparent;color:inherit}.mdc-select__selected-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;width:100%;text-align:left}[dir=rtl] .mdc-select__selected-text,.mdc-select__selected-text[dir=rtl]{text-align:right}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid+.mdc-select-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--disabled{cursor:default;pointer-events:none}.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item{padding-left:12px;padding-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item,.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:12px;padding-right:12px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select__menu::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}}@media screen and (forced-colors: active)and (forced-colors: active),screen and (-ms-high-contrast: active)and (forced-colors: active){.mdc-select__menu::before{border-color:CanvasText}}.mdc-select__menu .mdc-deprecated-list .mdc-select__icon,.mdc-select__menu .mdc-list .mdc-select__icon{margin-left:0;margin-right:0}[dir=rtl] .mdc-select__menu .mdc-deprecated-list .mdc-select__icon,[dir=rtl] .mdc-select__menu .mdc-list .mdc-select__icon,.mdc-select__menu .mdc-deprecated-list .mdc-select__icon[dir=rtl],.mdc-select__menu .mdc-list .mdc-select__icon[dir=rtl]{margin-left:0;margin-right:0}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-list-item__start{display:inline-flex;align-items:center}.mdc-select__option{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select__option,.mdc-select__option[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select__one-line-option.mdc-list-item--with-one-line{height:48px}.mdc-select__two-line-option.mdc-list-item--with-two-lines{height:64px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__start{margin-top:20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-select__option-with-leading-content{padding-left:0;padding-right:12px}.mdc-select__option-with-leading-content.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-select__option-with-leading-content.mdc-list-item,.mdc-select__option-with-leading-content.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-select__option-with-leading-content .mdc-list-item__start{margin-left:12px;margin-right:0}[dir=rtl] .mdc-select__option-with-leading-content .mdc-list-item__start,.mdc-select__option-with-leading-content .mdc-list-item__start[dir=rtl]{margin-left:0;margin-right:12px}.mdc-select__option-with-leading-content .mdc-list-item__start{width:36px;height:24px}[dir=rtl] .mdc-select__option-with-leading-content,.mdc-select__option-with-leading-content[dir=rtl]{padding-left:12px;padding-right:0}.mdc-select__option-with-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-select__option-with-meta.mdc-list-item,.mdc-select__option-with-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-select__option-with-meta .mdc-list-item__end{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select__option-with-meta .mdc-list-item__end,.mdc-select__option-with-meta .mdc-list-item__end[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--filled .mdc-select__anchor{height:56px;display:flex;align-items:baseline}.mdc-select--filled .mdc-select__anchor::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor::before{display:none}.mdc-select--filled .mdc-select__anchor{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke}.mdc-select--filled.mdc-select--disabled .mdc-select__anchor{background-color:#fafafa}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-select--filled:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--filled.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-select--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-select--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-select--filled .mdc-menu-surface--is-open-below{border-top-left-radius:0px;border-top-right-radius:0px}.mdc-select--filled.mdc-select--focused.mdc-line-ripple::after{transform:scale(1, 2);opacity:1}.mdc-select--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-select--filled .mdc-floating-label,.mdc-select--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined{border:none}.mdc-select--outlined .mdc-select__anchor{height:56px}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-56px{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-select--outlined .mdc-select__anchor{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-select--outlined+.mdc-select-helper-text{margin-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-select__anchor{background-color:transparent}.mdc-select--outlined.mdc-select--disabled .mdc-select__anchor{background-color:transparent}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-select--outlined .mdc-select__anchor{display:flex;align-items:baseline;overflow:visible}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined 250ms 1}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--outlined .mdc-select__anchor::before{display:none}.mdc-select--outlined .mdc-select__selected-text-container{display:flex;border:none;z-index:1;background-color:transparent}.mdc-select--outlined .mdc-select__icon{z-index:2}.mdc-select--outlined .mdc-floating-label{line-height:1.15rem;left:4px;right:initial}[dir=rtl] .mdc-select--outlined .mdc-floating-label,.mdc-select--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-select--outlined.mdc-select--focused .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake,.mdc-select--outlined.mdc-select--with-leading-icon[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 96px)}.mdc-select--outlined .mdc-menu-surface{margin-bottom:8px}.mdc-select--outlined.mdc-select--no-label .mdc-menu-surface,.mdc-select--outlined .mdc-menu-surface--is-open-below{margin-bottom:0}.mdc-select__anchor{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-select__anchor .mdc-select__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-select__anchor .mdc-select__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-select__anchor.mdc-ripple-upgraded--unbounded .mdc-select__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-select__anchor.mdc-ripple-upgraded--foreground-activation .mdc-select__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-select__anchor.mdc-ripple-upgraded--foreground-deactivation .mdc-select__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-select__anchor:hover .mdc-select__ripple::before,.mdc-select__anchor.mdc-ripple-surface--hover .mdc-select__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__anchor.mdc-ripple-upgraded--background-focused .mdc-select__ripple::before,.mdc-select__anchor:not(.mdc-ripple-upgraded):focus .mdc-select__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__anchor .mdc-select__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select-helper-text{margin:0;margin-left:16px;margin-right:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal}[dir=rtl] .mdc-select-helper-text,.mdc-select-helper-text[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-select-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-select-helper-text--validation-msg{opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-select--invalid+.mdc-select-helper-text--validation-msg,.mdc-select-helper-text--validation-msg-persistent{opacity:1}.mdc-select--with-leading-icon .mdc-select__icon{display:inline-block;box-sizing:border-box;border:none;text-decoration:none;cursor:pointer;user-select:none;flex-shrink:0;align-self:center;background-color:transparent;fill:currentColor}.mdc-select--with-leading-icon .mdc-select__icon{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon,.mdc-select--with-leading-icon .mdc-select__icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select__icon:not([tabindex]),.mdc-select__icon[tabindex="-1"]{cursor:default;pointer-events:none}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-block;vertical-align:top;outline:none}.mdc-select{width:100%}[hidden]{display:none}.mdc-select__icon{z-index:2}.mdc-select--with-leading-icon{--mdc-list-item-graphic-margin: calc( 48px - var(--mdc-list-item-graphic-size, 24px) - var(--mdc-list-side-padding, 16px) )}.mdc-select .mdc-select__anchor .mdc-select__selected-text{overflow:hidden}.mdc-select .mdc-select__anchor *{display:inline-flex}.mdc-select .mdc-select__anchor .mdc-floating-label{display:inline-block}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-idle-border-color, rgba(0, 0, 0, 0.38) );--mdc-notched-outline-notch-offset: 1px}:host(:not([disabled]):hover) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87);color:var(--mdc-select-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-select-idle-line-color, rgba(0, 0, 0, 0.42))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-select-hover-line-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--outlined):not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke;background-color:var(--mdc-select-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-select__dropdown-icon{fill:var(--mdc-select-error-dropdown-icon-color, var(--mdc-select-error-color, var(--mdc-theme-error, #b00020)))}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label,:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label::after{color:var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select.mdc-select--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}.mdc-select__menu--invalid{--mdc-theme-primary: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.6);color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54);fill:var(--mdc-select-dropdown-icon-color, rgba(0, 0, 0, 0.54))}:host(:not([disabled])) .mdc-select.mdc-select--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px;--mdc-notched-outline-notch-offset: 2px}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-select__dropdown-icon{fill:rgba(98,0,238,.87);fill:var(--mdc-select-focused-dropdown-icon-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)))}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label::after{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select-helper-text:not(.mdc-select-helper-text--validation-msg){color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-select:not(.mdc-select--outlined).mdc-select--disabled .mdc-select__anchor{background-color:#fafafa;background-color:var(--mdc-select-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-select.mdc-select--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-select .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38);fill:var(--mdc-select-disabled-dropdown-icon-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select-helper-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}`;class Kt extends Zt{}Kt.styles=[jt,u` - .mdc-floating-label { - line-height: 1.15em; - } - `],customElements.define("ewt-select",Kt);class Qt extends Ce{}Qt.styles=[Oe],customElements.define("ewt-list-item",Qt);class Jt extends x{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.density=0,this.closed=!1}open(){this.closed=!1}close(){this.closed=!0}render(){const e={"mdc-circular-progress--closed":this.closed,"mdc-circular-progress--indeterminate":this.indeterminate},t=48+4*this.density,i={width:`${t}px`,height:`${t}px`};return h` -
- ${this.renderDeterminateContainer()} - ${this.renderIndeterminateContainer()} -
`}renderDeterminateContainer(){const e=48+4*this.density,t=e/2,i=this.density>=-3?18+11*this.density/6:12.5+5*(this.density+3)/4,n=6.2831852*i,o=(1-this.progress)*n,r=this.density>=-3?4+this.density*(1/3):3+(this.density+3)*(1/6);return h` -
- - - - -
`}renderIndeterminateContainer(){return h` -
-
- ${this.renderIndeterminateSpinnerLayer()} -
-
`}renderIndeterminateSpinnerLayer(){const e=48+4*this.density,t=e/2,i=this.density>=-3?18+11*this.density/6:12.5+5*(this.density+3)/4,n=6.2831852*i,o=.5*n,r=this.density>=-3?4+this.density*(1/3):3+(this.density+3)*(1/6);return h` -
- - - -
-
- - - -
-
- - - -
`}update(e){super.update(e),e.has("progress")&&(this.progress>1&&(this.progress=1),this.progress<0&&(this.progress=0))}}i([n({type:Boolean,reflect:!0})],Jt.prototype,"indeterminate",void 0),i([n({type:Number,reflect:!0})],Jt.prototype,"progress",void 0),i([n({type:Number,reflect:!0})],Jt.prototype,"density",void 0),i([n({type:Boolean,reflect:!0})],Jt.prototype,"closed",void 0),i([d,n({type:String,attribute:"aria-label"})],Jt.prototype,"ariaLabel",void 0);const ei=u`.mdc-circular-progress__determinate-circle,.mdc-circular-progress__indeterminate-circle-graphic{stroke:#6200ee;stroke:var(--mdc-theme-primary, #6200ee)}.mdc-circular-progress__determinate-track{stroke:transparent}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:transparent}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}:host{display:inline-flex}.mdc-circular-progress__determinate-track{stroke:transparent;stroke:var(--mdc-circular-progress-track-color, transparent)}`;class ti extends Jt{}ti.styles=[ei],customElements.define("ewt-circular-progress",ti);class ii extends x{render(){return h` -
- - ${void 0!==this.progress?h`
${this.progress}%
`:""} -
- ${this.label} - `}}ii.styles=u` - :host { - display: flex; - flex-direction: column; - text-align: center; - } - ewt-circular-progress { - margin-bottom: 16px; - } - `,i([n()],ii.prototype,"label",void 0),i([n()],ii.prototype,"progress",void 0),customElements.define("ewt-page-progress",ii);class ni extends x{render(){return h` -
${this.icon}
- ${this.label} - `}}ni.styles=u` - :host { - display: flex; - flex-direction: column; - text-align: center; - } - .icon { - font-size: 50px; - line-height: 80px; - color: black; - } - ewt-circular-progress { - margin-bottom: 16px; - } - `,i([n()],ni.prototype,"icon",void 0),i([n()],ni.prototype,"label",void 0),customElements.define("ewt-page-message",ni);const oi=L` - - - -`,ri=L` - - - -`,ai=L` - - - -`,di=L` - - - -`,si=["I".charCodeAt(0),"M".charCodeAt(0),"P".charCodeAt(0),"R".charCodeAt(0),"O".charCodeAt(0),"V".charCodeAt(0),1];var li,ci;!function(e){e[e.CURRENT_STATE=1]="CURRENT_STATE",e[e.ERROR_STATE=2]="ERROR_STATE",e[e.RPC=3]="RPC",e[e.RPC_RESULT=4]="RPC_RESULT"}(li||(li={})),function(e){e[e.READY=2]="READY",e[e.PROVISIONING=3]="PROVISIONING",e[e.PROVISIONED=4]="PROVISIONED"}(ci||(ci={}));const hi={0:"NO_ERROR",1:"INVALID_RPC_PACKET",2:"UNKNOWN_RPC_COMMAND",3:"UNABLE_TO_CONNECT",254:"TIMEOUT",255:"UNKNOWN_ERROR"};class mi extends Error{constructor(){super("Port is not ready")}}const pi=e=>"["+e.map((e=>((e,t=2)=>{let i=e.toString(16).toUpperCase();return i.startsWith("-")?"-0x"+i.substring(1).padStart(t,"0"):"0x"+i.padStart(t,"0")})(e))).join(", ")+"]";class ui extends EventTarget{constructor(e,t){if(super(),this.port=e,this.logger=t,this.error=0,null===e.readable)throw new Error("Port is not readable");if(null===e.writable)throw new Error("Port is not writable")}async initialize(e=1e3){var t;if(this.logger.log("Initializing Improv Serial"),this._processInput(),await(t=1e3,new Promise((e=>setTimeout(e,t)))),void 0===this._reader)throw new mi;try{await new Promise((async(t,i)=>{setTimeout((()=>i(new Error("Improv Wi-Fi Serial not detected"))),e),await this.requestCurrentState(),t(void 0)})),await this.requestInfo()}catch(e){throw await this.close(),e}return this.info}async close(){this._reader&&await new Promise((e=>{this._reader.cancel(),this.addEventListener("disconnect",e,{once:!0})}))}async requestCurrentState(){let e;try{await new Promise((async(t,i)=>{this.addEventListener("state-changed",t,{once:!0});e=this._sendRPCWithResponse(2,[]),e.catch((e=>{this.removeEventListener("state-changed",t),i(e)}))}))}catch(e){throw this._rpcFeedback=void 0,new Error(`Error fetching current state: ${e}`)}if(this.state!==ci.PROVISIONED)return void(this._rpcFeedback=void 0);const t=await e;this.nextUrl=t[0]}async requestInfo(e){const t=await this._sendRPCWithResponse(3,[],e);this.info={firmware:t[0],version:t[1],name:t[3],chipFamily:t[2]}}async provision(e,t,i){const n=new TextEncoder,o=n.encode(e),r=n.encode(t),a=[o.length,...o,r.length,...r],d=await this._sendRPCWithResponse(1,a,i);this.nextUrl=d[0]}async scan(){const e=(await this._sendRPCWithMultipleResponses(4,[])).map((([e,t,i])=>({name:e,rssi:parseInt(t),secured:"YES"===i})));return e.sort(((e,t)=>e.name.toLocaleLowerCase().localeCompare(t.name.toLocaleLowerCase()))),e}_sendRPC(e,t){this.writePacketToStream(li.RPC,[e,t.length,...t])}async _sendRPCWithResponse(e,t,i){if(this._rpcFeedback)throw new Error("Only 1 RPC command that requires feedback can be active");return await this._awaitRPCResultWithTimeout(new Promise(((i,n)=>{this._rpcFeedback={command:e,resolve:i,reject:n},this._sendRPC(e,t)})),i)}async _sendRPCWithMultipleResponses(e,t,i){if(this._rpcFeedback)throw new Error("Only 1 RPC command that requires feedback can be active");return await this._awaitRPCResultWithTimeout(new Promise(((i,n)=>{this._rpcFeedback={command:e,resolve:i,reject:n,receivedData:[]},this._sendRPC(e,t)})),i)}async _awaitRPCResultWithTimeout(e,t){return t?await new Promise(((i,n)=>{const o=setTimeout((()=>this._setError(254)),t);e.finally((()=>clearTimeout(o))),e.then(i,n)})):await e}async _processInput(){this.logger.debug("Starting read loop"),this._reader=this.port.readable.getReader();try{let e,t=[],i=0;for(;;){const{value:n,done:o}=await this._reader.read();if(o)break;if(n&&0!==n.length)for(const o of n){if(!1===e){10===o&&(e=void 0);continue}if(!0===e){t.push(o),t.length===i&&(this._handleIncomingPacket(t),e=void 0,t=[]);continue}if(10===o){t=[];continue}if(t.push(o),9!==t.length)continue;if(e="IMPROV"===String.fromCharCode(...t.slice(0,6)),!e){t=[];continue}i=9+t[8]+1}}}catch(e){this.logger.error("Error while reading serial port",e)}finally{this._reader.releaseLock(),this._reader=void 0}this.logger.debug("Finished read loop"),this.dispatchEvent(new Event("disconnect"))}_handleIncomingPacket(e){const t=e.slice(6),i=t[0],n=t[1],o=t[2],r=t.slice(3,3+o);if(this.logger.debug("PROCESS",{version:i,packetType:n,packetLength:o,data:pi(r)}),1!==i)return void this.logger.error("Received unsupported version",i);let a=t[3+o],d=0;for(let t=0;t0?this._rpcFeedback.receivedData.push(t):(this._rpcFeedback.resolve(this._rpcFeedback.receivedData),this._rpcFeedback=void 0):(this._rpcFeedback.resolve(t),this._rpcFeedback=void 0)}else this.logger.error("Unable to handle packet",t);else this.logger.error(`Received invalid checksum ${a}. Expected ${d}`)}async writePacketToStream(e,t){const i=new Uint8Array([...si,e,t.length,...t,0,0]);i[i.length-2]=255&i.reduce(((e,t)=>e+t),0),i[i.length-1]=10,this.logger.debug("Writing to stream:",pi(new Array(...i)));const n=this.port.writable.getWriter();await n.write(i);try{n.releaseLock()}catch(e){console.error("Ignoring release lock error",e)}}_setError(e){this.error=e,e>0&&this._rpcFeedback&&(this._rpcFeedback.reject(hi[e]||`UNKNOWN_ERROR (${e})`),this._rpcFeedback=void 0),this.dispatchEvent(new CustomEvent("error-changed",{detail:this.error}))}}class fi extends Error{}function gi(e){let t=e.length;for(;--t>=0;)e[t]=0}const _i=256,bi=286,xi=30,vi=15,yi=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),wi=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ki=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Ei=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ii=new Array(576);gi(Ii);const Ai=new Array(60);gi(Ai);const Si=new Array(512);gi(Si);const Ri=new Array(256);gi(Ri);const Ti=new Array(29);gi(Ti);const Ci=new Array(xi);function Oi(e,t,i,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=i,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}let Li,Fi,Di;function zi(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}gi(Ci);const Mi=e=>e<256?Si[e]:Si[256+(e>>>7)],Ni=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},Bi=(e,t,i)=>{e.bi_valid>16-i?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=i-16):(e.bi_buf|=t<{Bi(e,i[2*t],i[2*t+1])},$i=(e,t)=>{let i=0;do{i|=1&e,e>>>=1,i<<=1}while(--t>0);return i>>>1},Ui=(e,t,i)=>{const n=new Array(16);let o,r,a=0;for(o=1;o<=vi;o++)a=a+i[o-1]<<1,n[o]=a;for(r=0;r<=t;r++){let t=e[2*r+1];0!==t&&(e[2*r]=$i(n[t]++,t))}},Hi=e=>{let t;for(t=0;t{e.bi_valid>8?Ni(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Wi=(e,t,i,n)=>{const o=2*t,r=2*i;return e[o]{const n=e.heap[i];let o=i<<1;for(;o<=e.heap_len&&(o{let n,o,r,a,d=0;if(0!==e.sym_next)do{n=255&e.pending_buf[e.sym_buf+d++],n+=(255&e.pending_buf[e.sym_buf+d++])<<8,o=e.pending_buf[e.sym_buf+d++],0===n?Pi(e,o,t):(r=Ri[o],Pi(e,r+_i+1,t),a=yi[r],0!==a&&(o-=Ti[r],Bi(e,o,a)),n--,r=Mi(n),Pi(e,r,i),a=wi[r],0!==a&&(n-=Ci[r],Bi(e,n,a)))}while(d{const i=t.dyn_tree,n=t.stat_desc.static_tree,o=t.stat_desc.has_stree,r=t.stat_desc.elems;let a,d,s,l=-1;for(e.heap_len=0,e.heap_max=573,a=0;a>1;a>=1;a--)Gi(e,i,a);s=r;do{a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Gi(e,i,1),d=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=d,i[2*s]=i[2*a]+i[2*d],e.depth[s]=(e.depth[a]>=e.depth[d]?e.depth[a]:e.depth[d])+1,i[2*a+1]=i[2*d+1]=s,e.heap[1]=s++,Gi(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const i=t.dyn_tree,n=t.max_code,o=t.stat_desc.static_tree,r=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,s=t.stat_desc.max_length;let l,c,h,m,p,u,f=0;for(m=0;m<=vi;m++)e.bl_count[m]=0;for(i[2*e.heap[e.heap_max]+1]=0,l=e.heap_max+1;l<573;l++)c=e.heap[l],m=i[2*i[2*c+1]+1]+1,m>s&&(m=s,f++),i[2*c+1]=m,c>n||(e.bl_count[m]++,p=0,c>=d&&(p=a[c-d]),u=i[2*c],e.opt_len+=u*(m+p),r&&(e.static_len+=u*(o[2*c+1]+p)));if(0!==f){do{for(m=s-1;0===e.bl_count[m];)m--;e.bl_count[m]--,e.bl_count[m+1]+=2,e.bl_count[s]--,f-=2}while(f>0);for(m=s;0!==m;m--)for(c=e.bl_count[m];0!==c;)h=e.heap[--l],h>n||(i[2*h+1]!==m&&(e.opt_len+=(m-i[2*h+1])*i[2*h],i[2*h+1]=m),c--)}})(e,t),Ui(i,l,e.bl_count)},Yi=(e,t,i)=>{let n,o,r=-1,a=t[1],d=0,s=7,l=4;for(0===a&&(s=138,l=3),t[2*(i+1)+1]=65535,n=0;n<=i;n++)o=a,a=t[2*(n+1)+1],++d{let n,o,r=-1,a=t[1],d=0,s=7,l=4;for(0===a&&(s=138,l=3),n=0;n<=i;n++)if(o=a,a=t[2*(n+1)+1],!(++d{Bi(e,0+(n?1:0),3),Vi(e),Ni(e,i),Ni(e,~i),i&&e.pending_buf.set(e.window.subarray(t,t+i),e.pending),e.pending+=i};var Qi=e=>{ji||((()=>{let e,t,i,n,o;const r=new Array(16);for(i=0,n=0;n<28;n++)for(Ti[n]=i,e=0;e<1<>=7;n{let o,r,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,i=4093624447;for(t=0;t<=31;t++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<_i;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),qi(e,e.l_desc),qi(e,e.d_desc),a=(e=>{let t;for(Yi(e,e.dyn_ltree,e.l_desc.max_code),Yi(e,e.dyn_dtree,e.d_desc.max_code),qi(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Ei[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),o=e.opt_len+3+7>>>3,r=e.static_len+3+7>>>3,r<=o&&(o=r)):o=r=i+5,i+4<=o&&-1!==t?Ki(e,t,i,n):4===e.strategy||r===o?(Bi(e,2+(n?1:0),3),Xi(e,Ii,Ai)):(Bi(e,4+(n?1:0),3),((e,t,i,n)=>{let o;for(Bi(e,t-257,5),Bi(e,i-1,5),Bi(e,n-4,4),o=0;o(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=i,0===t?e.dyn_ltree[2*i]++:(e.matches++,t--,e.dyn_ltree[2*(Ri[i]+_i+1)]++,e.dyn_dtree[2*Mi(t)]++),e.sym_next===e.sym_end),tn=e=>{Bi(e,2,3),Pi(e,256,Ii),(e=>{16===e.bi_valid?(Ni(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)},nn={_tr_init:Qi,_tr_stored_block:Ki,_tr_flush_block:Ji,_tr_tally:en,_tr_align:tn};var on=(e,t,i,n)=>{let o=65535&e|0,r=e>>>16&65535|0,a=0;for(;0!==i;){a=i>2e3?2e3:i,i-=a;do{o=o+t[n++]|0,r=r+o|0}while(--a);o%=65521,r%=65521}return o|r<<16|0};const rn=new Uint32Array((()=>{let e,t=[];for(var i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t})());var an=(e,t,i,n)=>{const o=rn,r=n+i;e^=-1;for(let i=n;i>>8^o[255&(e^t[i])];return-1^e},dn={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},sn={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:ln,_tr_stored_block:cn,_tr_flush_block:hn,_tr_tally:mn,_tr_align:pn}=nn,{Z_NO_FLUSH:un,Z_PARTIAL_FLUSH:fn,Z_FULL_FLUSH:gn,Z_FINISH:_n,Z_BLOCK:bn,Z_OK:xn,Z_STREAM_END:vn,Z_STREAM_ERROR:yn,Z_DATA_ERROR:wn,Z_BUF_ERROR:kn,Z_DEFAULT_COMPRESSION:En,Z_FILTERED:In,Z_HUFFMAN_ONLY:An,Z_RLE:Sn,Z_FIXED:Rn,Z_DEFAULT_STRATEGY:Tn,Z_UNKNOWN:Cn,Z_DEFLATED:On}=sn,Ln=258,Fn=262,Dn=42,zn=113,Mn=666,Nn=(e,t)=>(e.msg=dn[t],t),Bn=e=>2*e-(e>4?9:0),Pn=e=>{let t=e.length;for(;--t>=0;)e[t]=0},$n=e=>{let t,i,n,o=e.w_size;t=e.hash_size,n=t;do{i=e.head[--n],e.head[n]=i>=o?i-o:0}while(--t);t=o,n=t;do{i=e.prev[--n],e.prev[n]=i>=o?i-o:0}while(--t)};let Un=(e,t,i)=>(t<{const t=e.state;let i=t.pending;i>e.avail_out&&(i=e.avail_out),0!==i&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+i),e.next_out),e.next_out+=i,t.pending_out+=i,e.total_out+=i,e.avail_out-=i,t.pending-=i,0===t.pending&&(t.pending_out=0))},Vn=(e,t)=>{hn(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Hn(e.strm)},Wn=(e,t)=>{e.pending_buf[e.pending++]=t},Gn=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},Xn=(e,t,i,n)=>{let o=e.avail_in;return o>n&&(o=n),0===o?0:(e.avail_in-=o,t.set(e.input.subarray(e.next_in,e.next_in+o),i),1===e.state.wrap?e.adler=on(e.adler,t,o,i):2===e.state.wrap&&(e.adler=an(e.adler,t,o,i)),e.next_in+=o,e.total_in+=o,o)},qn=(e,t)=>{let i,n,o=e.max_chain_length,r=e.strstart,a=e.prev_length,d=e.nice_match;const s=e.strstart>e.w_size-Fn?e.strstart-(e.w_size-Fn):0,l=e.window,c=e.w_mask,h=e.prev,m=e.strstart+Ln;let p=l[r+a-1],u=l[r+a];e.prev_length>=e.good_match&&(o>>=2),d>e.lookahead&&(d=e.lookahead);do{if(i=t,l[i+a]===u&&l[i+a-1]===p&&l[i]===l[r]&&l[++i]===l[r+1]){r+=2,i++;do{}while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&ra){if(e.match_start=t,a=n,n>=d)break;p=l[r+a-1],u=l[r+a]}}}while((t=h[t&c])>s&&0!=--o);return a<=e.lookahead?a:e.lookahead},Yn=e=>{const t=e.w_size;let i,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Fn)&&(e.window.set(e.window.subarray(t,t+t-n),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),$n(e),n+=t),0===e.strm.avail_in)break;if(i=Xn(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=Un(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=Un(e,e.ins_h,e.window[o+3-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead{let i,n,o,r=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,d=e.strm.avail_in;do{if(i=65535,o=e.bi_valid+42>>3,e.strm.avail_outn+e.strm.avail_in&&(i=n+e.strm.avail_in),i>o&&(i=o),i>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,Hn(e.strm),n&&(n>i&&(n=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+n),e.strm.next_out),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n,e.block_start+=n,i-=n),i&&(Xn(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(0===a);return d-=e.strm.avail_in,d&&(d>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=d&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-d,e.strm.next_in),e.strstart),e.strstart+=d,e.insert+=d>e.w_size-e.insert?e.w_size-e.insert:d),e.block_start=e.strstart),e.high_watero&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(Xn(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,r=o>e.w_size?e.w_size:o,n=e.strstart-e.block_start,(n>=r||(n||t===_n)&&t!==un&&0===e.strm.avail_in&&n<=o)&&(i=n>o?o:n,a=t===_n&&0===e.strm.avail_in&&i===n?1:0,cn(e,e.block_start,i,a),e.block_start+=i,Hn(e.strm)),a?3:1)},jn=(e,t)=>{let i,n;for(;;){if(e.lookahead=3&&(e.ins_h=Un(e,e.ins_h,e.window[e.strstart+3-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==i&&e.strstart-i<=e.w_size-Fn&&(e.match_length=qn(e,i)),e.match_length>=3)if(n=mn(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=Un(e,e.ins_h,e.window[e.strstart+3-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Un(e,e.ins_h,e.window[e.strstart+1]);else n=mn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Vn(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===_n?(Vn(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Vn(e,!1),0===e.strm.avail_out)?1:2},Kn=(e,t)=>{let i,n,o;for(;;){if(e.lookahead=3&&(e.ins_h=Un(e,e.ins_h,e.window[e.strstart+3-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==i&&e.prev_length4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,n=mn(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=Un(e,e.ins_h,e.window[e.strstart+3-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(Vn(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(n=mn(e,0,e.window[e.strstart-1]),n&&Vn(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=mn(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===_n?(Vn(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Vn(e,!1),0===e.strm.avail_out)?1:2};function Qn(e,t,i,n,o){this.good_length=e,this.max_lazy=t,this.nice_length=i,this.max_chain=n,this.func=o}const Jn=[new Qn(0,0,0,0,Zn),new Qn(4,4,8,4,jn),new Qn(4,5,16,8,jn),new Qn(4,6,32,32,jn),new Qn(4,4,16,16,Kn),new Qn(8,16,32,32,Kn),new Qn(8,16,128,128,Kn),new Qn(8,32,128,256,Kn),new Qn(32,128,258,1024,Kn),new Qn(32,258,258,4096,Kn)];function eo(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=On,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Pn(this.dyn_ltree),Pn(this.dyn_dtree),Pn(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Pn(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Pn(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const to=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Dn&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==zn&&t.status!==Mn?1:0},io=e=>{if(to(e))return Nn(e,yn);e.total_in=e.total_out=0,e.data_type=Cn;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?Dn:zn,e.adler=2===t.wrap?0:1,t.last_flush=-2,ln(t),xn},no=e=>{const t=io(e);return t===xn&&(e=>{e.window_size=2*e.w_size,Pn(e.head),e.max_lazy_match=Jn[e.level].max_lazy,e.good_match=Jn[e.level].good_length,e.nice_match=Jn[e.level].nice_length,e.max_chain_length=Jn[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0})(e.state),t},oo=(e,t,i,n,o,r)=>{if(!e)return yn;let a=1;if(t===En&&(t=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),o<1||o>9||i!==On||n<8||n>15||t<0||t>9||r<0||r>Rn||8===n&&1!==a)return Nn(e,yn);8===n&&(n=9);const d=new eo;return e.state=d,d.strm=e,d.status=Dn,d.wrap=a,d.gzhead=null,d.w_bits=n,d.w_size=1<{if(to(e)||t>bn||t<0)return e?Nn(e,yn):yn;const i=e.state;if(!e.output||0!==e.avail_in&&!e.input||i.status===Mn&&t!==_n)return Nn(e,0===e.avail_out?kn:yn);const n=i.last_flush;if(i.last_flush=t,0!==i.pending){if(Hn(e),0===e.avail_out)return i.last_flush=-1,xn}else if(0===e.avail_in&&Bn(t)<=Bn(n)&&t!==_n)return Nn(e,kn);if(i.status===Mn&&0!==e.avail_in)return Nn(e,kn);if(i.status===Dn&&0===i.wrap&&(i.status=zn),i.status===Dn){let t=On+(i.w_bits-8<<4)<<8,n=-1;if(n=i.strategy>=An||i.level<2?0:i.level<6?1:6===i.level?2:3,t|=n<<6,0!==i.strstart&&(t|=32),t+=31-t%31,Gn(i,t),0!==i.strstart&&(Gn(i,e.adler>>>16),Gn(i,65535&e.adler)),e.adler=1,i.status=zn,Hn(e),0!==i.pending)return i.last_flush=-1,xn}if(57===i.status)if(e.adler=0,Wn(i,31),Wn(i,139),Wn(i,8),i.gzhead)Wn(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Wn(i,255&i.gzhead.time),Wn(i,i.gzhead.time>>8&255),Wn(i,i.gzhead.time>>16&255),Wn(i,i.gzhead.time>>24&255),Wn(i,9===i.level?2:i.strategy>=An||i.level<2?4:0),Wn(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Wn(i,255&i.gzhead.extra.length),Wn(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=an(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(Wn(i,0),Wn(i,0),Wn(i,0),Wn(i,0),Wn(i,0),Wn(i,9===i.level?2:i.strategy>=An||i.level<2?4:0),Wn(i,3),i.status=zn,Hn(e),0!==i.pending)return i.last_flush=-1,xn;if(69===i.status){if(i.gzhead.extra){let t=i.pending,n=(65535&i.gzhead.extra.length)-i.gzindex;for(;i.pending+n>i.pending_buf_size;){let o=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+o),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>t&&(e.adler=an(e.adler,i.pending_buf,i.pending-t,t)),i.gzindex+=o,Hn(e),0!==i.pending)return i.last_flush=-1,xn;t=0,n-=o}let o=new Uint8Array(i.gzhead.extra);i.pending_buf.set(o.subarray(i.gzindex,i.gzindex+n),i.pending),i.pending+=n,i.gzhead.hcrc&&i.pending>t&&(e.adler=an(e.adler,i.pending_buf,i.pending-t,t)),i.gzindex=0}i.status=73}if(73===i.status){if(i.gzhead.name){let t,n=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>n&&(e.adler=an(e.adler,i.pending_buf,i.pending-n,n)),Hn(e),0!==i.pending)return i.last_flush=-1,xn;n=0}t=i.gzindexn&&(e.adler=an(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex=0}i.status=91}if(91===i.status){if(i.gzhead.comment){let t,n=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>n&&(e.adler=an(e.adler,i.pending_buf,i.pending-n,n)),Hn(e),0!==i.pending)return i.last_flush=-1,xn;n=0}t=i.gzindexn&&(e.adler=an(e.adler,i.pending_buf,i.pending-n,n))}i.status=103}if(103===i.status){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(Hn(e),0!==i.pending))return i.last_flush=-1,xn;Wn(i,255&e.adler),Wn(i,e.adler>>8&255),e.adler=0}if(i.status=zn,Hn(e),0!==i.pending)return i.last_flush=-1,xn}if(0!==e.avail_in||0!==i.lookahead||t!==un&&i.status!==Mn){let n=0===i.level?Zn(i,t):i.strategy===An?((e,t)=>{let i;for(;;){if(0===e.lookahead&&(Yn(e),0===e.lookahead)){if(t===un)return 1;break}if(e.match_length=0,i=mn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,i&&(Vn(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===_n?(Vn(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Vn(e,!1),0===e.strm.avail_out)?1:2})(i,t):i.strategy===Sn?((e,t)=>{let i,n,o,r;const a=e.window;for(;;){if(e.lookahead<=Ln){if(Yn(e),e.lookahead<=Ln&&t===un)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(o=e.strstart-1,n=a[o],n===a[++o]&&n===a[++o]&&n===a[++o])){r=e.strstart+Ln;do{}while(n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(i=mn(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(i=mn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),i&&(Vn(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===_n?(Vn(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Vn(e,!1),0===e.strm.avail_out)?1:2})(i,t):Jn[i.level].func(i,t);if(3!==n&&4!==n||(i.status=Mn),1===n||3===n)return 0===e.avail_out&&(i.last_flush=-1),xn;if(2===n&&(t===fn?pn(i):t!==bn&&(cn(i,0,0,!1),t===gn&&(Pn(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),Hn(e),0===e.avail_out))return i.last_flush=-1,xn}return t!==_n?xn:i.wrap<=0?vn:(2===i.wrap?(Wn(i,255&e.adler),Wn(i,e.adler>>8&255),Wn(i,e.adler>>16&255),Wn(i,e.adler>>24&255),Wn(i,255&e.total_in),Wn(i,e.total_in>>8&255),Wn(i,e.total_in>>16&255),Wn(i,e.total_in>>24&255)):(Gn(i,e.adler>>>16),Gn(i,65535&e.adler)),Hn(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?xn:vn)},ao=(e,t)=>{let i=t.length;if(to(e))return yn;const n=e.state,o=n.wrap;if(2===o||1===o&&n.status!==Dn||n.lookahead)return yn;if(1===o&&(e.adler=on(e.adler,t,i,0)),n.wrap=0,i>=n.w_size){0===o&&(Pn(n.head),n.strstart=0,n.block_start=0,n.insert=0);let e=new Uint8Array(n.w_size);e.set(t.subarray(i-n.w_size,i),0),t=e,i=n.w_size}const r=e.avail_in,a=e.next_in,d=e.input;for(e.avail_in=i,e.next_in=0,e.input=t,Yn(n);n.lookahead>=3;){let e=n.strstart,t=n.lookahead-2;do{n.ins_h=Un(n,n.ins_h,n.window[e+3-1]),n.prev[e&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=e,e++}while(--t);n.strstart=e,n.lookahead=2,Yn(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=a,e.input=d,e.avail_in=r,n.wrap=o,xn},so={deflateInit:(e,t)=>oo(e,t,On,15,8,Tn),deflateInit2:oo,deflateReset:no,deflateResetKeep:io,deflateSetHeader:(e,t)=>to(e)||2!==e.state.wrap?yn:(e.state.gzhead=t,xn),deflate:ro,deflateEnd:e=>{if(to(e))return yn;const t=e.state.status;return e.state=null,t===zn?Nn(e,wn):xn},deflateSetDictionary:ao,deflateInfo:"pako deflate (from Nodeca project)"};const lo=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var co={assign:function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(const t in i)lo(i,t)&&(e[t]=i[t])}}return e},flattenChunks:e=>{let t=0;for(let i=0,n=e.length;i=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;mo[254]=mo[254]=1;var po={string2buf:e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,i,n,o,r,a=e.length,d=0;for(o=0;o>>6,t[r++]=128|63&i):i<65536?(t[r++]=224|i>>>12,t[r++]=128|i>>>6&63,t[r++]=128|63&i):(t[r++]=240|i>>>18,t[r++]=128|i>>>12&63,t[r++]=128|i>>>6&63,t[r++]=128|63&i);return t},buf2string:(e,t)=>{const i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let n,o;const r=new Array(2*i);for(o=0,n=0;n4)r[o++]=65533,n+=a-1;else{for(t&=2===a?31:3===a?15:7;a>1&&n1?r[o++]=65533:t<65536?r[o++]=t:(t-=65536,r[o++]=55296|t>>10&1023,r[o++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&ho)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let i="";for(let n=0;n{(t=t||e.length)>e.length&&(t=e.length);let i=t-1;for(;i>=0&&128==(192&e[i]);)i--;return i<0||0===i?t:i+mo[e[i]]>t?i:t}};var uo=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const fo=Object.prototype.toString,{Z_NO_FLUSH:go,Z_SYNC_FLUSH:_o,Z_FULL_FLUSH:bo,Z_FINISH:xo,Z_OK:vo,Z_STREAM_END:yo,Z_DEFAULT_COMPRESSION:wo,Z_DEFAULT_STRATEGY:ko,Z_DEFLATED:Eo}=sn;function Io(e){this.options=co.assign({level:wo,method:Eo,chunkSize:16384,windowBits:15,memLevel:8,strategy:ko},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uo,this.strm.avail_out=0;let i=so.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(i!==vo)throw new Error(dn[i]);if(t.header&&so.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?po.string2buf(t.dictionary):"[object ArrayBuffer]"===fo.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,i=so.deflateSetDictionary(this.strm,e),i!==vo)throw new Error(dn[i]);this._dict_set=!0}}function Ao(e,t){const i=new Io(t);if(i.push(e,!0),i.err)throw i.msg||dn[i.err];return i.result}Io.prototype.push=function(e,t){const i=this.strm,n=this.options.chunkSize;let o,r;if(this.ended)return!1;for(r=t===~~t?t:!0===t?xo:go,"string"==typeof e?i.input=po.string2buf(e):"[object ArrayBuffer]"===fo.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),(r===_o||r===bo)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if(o=so.deflate(i,r),o===yo)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),o=so.deflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===vo;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Io.prototype.onData=function(e){this.chunks.push(e)},Io.prototype.onEnd=function(e){e===vo&&(this.result=co.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var So={Deflate:Io,deflate:Ao,deflateRaw:function(e,t){return(t=t||{}).raw=!0,Ao(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,Ao(e,t)},constants:sn};const Ro=16209;var To=function(e,t){let i,n,o,r,a,d,s,l,c,h,m,p,u,f,g,_,b,x,v,y,w,k,E,I;const A=e.state;i=e.next_in,E=e.input,n=i+(e.avail_in-5),o=e.next_out,I=e.output,r=o-(t-e.avail_out),a=o+(e.avail_out-257),d=A.dmax,s=A.wsize,l=A.whave,c=A.wnext,h=A.window,m=A.hold,p=A.bits,u=A.lencode,f=A.distcode,g=(1<>>24,m>>>=x,p-=x,x=b>>>16&255,0===x)I[o++]=65535&b;else{if(!(16&x)){if(0==(64&x)){b=u[(65535&b)+(m&(1<>>=x,p-=x),p<15&&(m+=E[i++]<>>24,m>>>=x,p-=x,x=b>>>16&255,!(16&x)){if(0==(64&x)){b=f[(65535&b)+(m&(1<d){e.msg="invalid distance too far back",A.mode=Ro;break e}if(m>>>=x,p-=x,x=o-r,y>x){if(x=y-x,x>l&&A.sane){e.msg="invalid distance too far back",A.mode=Ro;break e}if(w=0,k=h,0===c){if(w+=s-x,x2;)I[o++]=k[w++],I[o++]=k[w++],I[o++]=k[w++],v-=3;v&&(I[o++]=k[w++],v>1&&(I[o++]=k[w++]))}else{w=o-y;do{I[o++]=I[w++],I[o++]=I[w++],I[o++]=I[w++],v-=3}while(v>2);v&&(I[o++]=I[w++],v>1&&(I[o++]=I[w++]))}break}}break}}while(i>3,i-=v,p-=v<<3,m&=(1<{const s=d.bits;let l,c,h,m,p,u,f=0,g=0,_=0,b=0,x=0,v=0,y=0,w=0,k=0,E=0,I=null;const A=new Uint16Array(16),S=new Uint16Array(16);let R,T,C,O=null;for(f=0;f<=Co;f++)A[f]=0;for(g=0;g=1&&0===A[b];b--);if(x>b&&(x=b),0===b)return o[r++]=20971520,o[r++]=20971520,d.bits=1,0;for(_=1;_0&&(0===e||1!==b))return-1;for(S[1]=0,f=1;f852||2===e&&k>592)return 1;for(;;){R=f-y,a[g]+1=u?(T=O[a[g]-u],C=I[a[g]-u]):(T=96,C=0),l=1<>y)+c]=R<<24|T<<16|C|0}while(0!==c);for(l=1<>=1;if(0!==l?(E&=l-1,E+=l):E=0,g++,0==--A[f]){if(f===b)break;f=t[i+a[g]]}if(f>x&&(E&m)!==h){for(0===y&&(y=x),p+=_,v=f-y,w=1<852||2===e&&k>592)return 1;h=E&m,o[h]=x<<24|v<<16|p-r|0}}return 0!==E&&(o[p+E]=f-y<<24|64<<16|0),d.bits=x,0};const{Z_FINISH:Mo,Z_BLOCK:No,Z_TREES:Bo,Z_OK:Po,Z_STREAM_END:$o,Z_NEED_DICT:Uo,Z_STREAM_ERROR:Ho,Z_DATA_ERROR:Vo,Z_MEM_ERROR:Wo,Z_BUF_ERROR:Go,Z_DEFLATED:Xo}=sn,qo=16180,Yo=16190,Zo=16191,jo=16192,Ko=16194,Qo=16199,Jo=16200,er=16206,tr=16209,ir=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function nr(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const or=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode16211?1:0},rr=e=>{if(or(e))return Ho;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=qo,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,Po},ar=e=>{if(or(e))return Ho;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,rr(e)},dr=(e,t)=>{let i;if(or(e))return Ho;const n=e.state;return t<0?(i=0,t=-t):(i=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Ho:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,ar(e))},sr=(e,t)=>{if(!e)return Ho;const i=new nr;e.state=i,i.strm=e,i.window=null,i.mode=qo;const n=dr(e,t);return n!==Po&&(e.state=null),n};let lr,cr,hr=!0;const mr=e=>{if(hr){lr=new Int32Array(512),cr=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(zo(1,e.lens,0,288,lr,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;zo(2,e.lens,0,32,cr,0,e.work,{bits:5}),hr=!1}e.lencode=lr,e.lenbits=9,e.distcode=cr,e.distbits=5},pr=(e,t,i,n)=>{let o;const r=e.state;return null===r.window&&(r.wsize=1<=r.wsize?(r.window.set(t.subarray(i-r.wsize,i),0),r.wnext=0,r.whave=r.wsize):(o=r.wsize-r.wnext,o>n&&(o=n),r.window.set(t.subarray(i-n,i-n+o),r.wnext),(n-=o)?(r.window.set(t.subarray(i-n,i),0),r.wnext=n,r.whave=r.wsize):(r.wnext+=o,r.wnext===r.wsize&&(r.wnext=0),r.whave{let i,n,o,r,a,d,s,l,c,h,m,p,u,f,g,_,b,x,v,y,w,k,E=0;const I=new Uint8Array(4);let A,S;const R=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(or(e)||!e.output||!e.input&&0!==e.avail_in)return Ho;i=e.state,i.mode===Zo&&(i.mode=jo),a=e.next_out,o=e.output,s=e.avail_out,r=e.next_in,n=e.input,d=e.avail_in,l=i.hold,c=i.bits,h=d,m=s,k=Po;e:for(;;)switch(i.mode){case qo:if(0===i.wrap){i.mode=jo;break}for(;c<16;){if(0===d)break e;d--,l+=n[r++]<>>8&255,i.check=an(i.check,I,2,0),l=0,c=0,i.mode=16181;break}if(i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",i.mode=tr;break}if((15&l)!==Xo){e.msg="unknown compression method",i.mode=tr;break}if(l>>>=4,c-=4,w=8+(15&l),0===i.wbits&&(i.wbits=w),w>15||w>i.wbits){e.msg="invalid window size",i.mode=tr;break}i.dmax=1<>8&1),512&i.flags&&4&i.wrap&&(I[0]=255&l,I[1]=l>>>8&255,i.check=an(i.check,I,2,0)),l=0,c=0,i.mode=16182;case 16182:for(;c<32;){if(0===d)break e;d--,l+=n[r++]<>>8&255,I[2]=l>>>16&255,I[3]=l>>>24&255,i.check=an(i.check,I,4,0)),l=0,c=0,i.mode=16183;case 16183:for(;c<16;){if(0===d)break e;d--,l+=n[r++]<>8),512&i.flags&&4&i.wrap&&(I[0]=255&l,I[1]=l>>>8&255,i.check=an(i.check,I,2,0)),l=0,c=0,i.mode=16184;case 16184:if(1024&i.flags){for(;c<16;){if(0===d)break e;d--,l+=n[r++]<>>8&255,i.check=an(i.check,I,2,0)),l=0,c=0}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&i.flags&&(p=i.length,p>d&&(p=d),p&&(i.head&&(w=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(n.subarray(r,r+p),w)),512&i.flags&&4&i.wrap&&(i.check=an(i.check,n,p,r)),d-=p,r+=p,i.length-=p),i.length))break e;i.length=0,i.mode=16186;case 16186:if(2048&i.flags){if(0===d)break e;p=0;do{w=n[r+p++],i.head&&w&&i.length<65536&&(i.head.name+=String.fromCharCode(w))}while(w&&p>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=Zo;break;case 16189:for(;c<32;){if(0===d)break e;d--,l+=n[r++]<>>=7&c,c-=7&c,i.mode=er;break}for(;c<3;){if(0===d)break e;d--,l+=n[r++]<>>=1,c-=1,3&l){case 0:i.mode=16193;break;case 1:if(mr(i),i.mode=Qo,t===Bo){l>>>=2,c-=2;break e}break;case 2:i.mode=16196;break;case 3:e.msg="invalid block type",i.mode=tr}l>>>=2,c-=2;break;case 16193:for(l>>>=7&c,c-=7&c;c<32;){if(0===d)break e;d--,l+=n[r++]<>>16^65535)){e.msg="invalid stored block lengths",i.mode=tr;break}if(i.length=65535&l,l=0,c=0,i.mode=Ko,t===Bo)break e;case Ko:i.mode=16195;case 16195:if(p=i.length,p){if(p>d&&(p=d),p>s&&(p=s),0===p)break e;o.set(n.subarray(r,r+p),a),d-=p,r+=p,s-=p,a+=p,i.length-=p;break}i.mode=Zo;break;case 16196:for(;c<14;){if(0===d)break e;d--,l+=n[r++]<>>=5,c-=5,i.ndist=1+(31&l),l>>>=5,c-=5,i.ncode=4+(15&l),l>>>=4,c-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=tr;break}i.have=0,i.mode=16197;case 16197:for(;i.have>>=3,c-=3}for(;i.have<19;)i.lens[R[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,A={bits:i.lenbits},k=zo(0,i.lens,0,19,i.lencode,0,i.work,A),i.lenbits=A.bits,k){e.msg="invalid code lengths set",i.mode=tr;break}i.have=0,i.mode=16198;case 16198:for(;i.have>>24,_=E>>>16&255,b=65535&E,!(g<=c);){if(0===d)break e;d--,l+=n[r++]<>>=g,c-=g,i.lens[i.have++]=b;else{if(16===b){for(S=g+2;c>>=g,c-=g,0===i.have){e.msg="invalid bit length repeat",i.mode=tr;break}w=i.lens[i.have-1],p=3+(3&l),l>>>=2,c-=2}else if(17===b){for(S=g+3;c>>=g,c-=g,w=0,p=3+(7&l),l>>>=3,c-=3}else{for(S=g+7;c>>=g,c-=g,w=0,p=11+(127&l),l>>>=7,c-=7}if(i.have+p>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=tr;break}for(;p--;)i.lens[i.have++]=w}}if(i.mode===tr)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=tr;break}if(i.lenbits=9,A={bits:i.lenbits},k=zo(1,i.lens,0,i.nlen,i.lencode,0,i.work,A),i.lenbits=A.bits,k){e.msg="invalid literal/lengths set",i.mode=tr;break}if(i.distbits=6,i.distcode=i.distdyn,A={bits:i.distbits},k=zo(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,A),i.distbits=A.bits,k){e.msg="invalid distances set",i.mode=tr;break}if(i.mode=Qo,t===Bo)break e;case Qo:i.mode=Jo;case Jo:if(d>=6&&s>=258){e.next_out=a,e.avail_out=s,e.next_in=r,e.avail_in=d,i.hold=l,i.bits=c,To(e,m),a=e.next_out,o=e.output,s=e.avail_out,r=e.next_in,n=e.input,d=e.avail_in,l=i.hold,c=i.bits,i.mode===Zo&&(i.back=-1);break}for(i.back=0;E=i.lencode[l&(1<>>24,_=E>>>16&255,b=65535&E,!(g<=c);){if(0===d)break e;d--,l+=n[r++]<>x)],g=E>>>24,_=E>>>16&255,b=65535&E,!(x+g<=c);){if(0===d)break e;d--,l+=n[r++]<>>=x,c-=x,i.back+=x}if(l>>>=g,c-=g,i.back+=g,i.length=b,0===_){i.mode=16205;break}if(32&_){i.back=-1,i.mode=Zo;break}if(64&_){e.msg="invalid literal/length code",i.mode=tr;break}i.extra=15&_,i.mode=16201;case 16201:if(i.extra){for(S=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=16202;case 16202:for(;E=i.distcode[l&(1<>>24,_=E>>>16&255,b=65535&E,!(g<=c);){if(0===d)break e;d--,l+=n[r++]<>x)],g=E>>>24,_=E>>>16&255,b=65535&E,!(x+g<=c);){if(0===d)break e;d--,l+=n[r++]<>>=x,c-=x,i.back+=x}if(l>>>=g,c-=g,i.back+=g,64&_){e.msg="invalid distance code",i.mode=tr;break}i.offset=b,i.extra=15&_,i.mode=16203;case 16203:if(i.extra){for(S=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=tr;break}i.mode=16204;case 16204:if(0===s)break e;if(p=m-s,i.offset>p){if(p=i.offset-p,p>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=tr;break}p>i.wnext?(p-=i.wnext,u=i.wsize-p):u=i.wnext-p,p>i.length&&(p=i.length),f=i.window}else f=o,u=a-i.offset,p=i.length;p>s&&(p=s),s-=p,i.length-=p;do{o[a++]=f[u++]}while(--p);0===i.length&&(i.mode=Jo);break;case 16205:if(0===s)break e;o[a++]=i.length,s--,i.mode=Jo;break;case er:if(i.wrap){for(;c<32;){if(0===d)break e;d--,l|=n[r++]<sr(e,15),inflateInit2:sr,inflate:ur,inflateEnd:e=>{if(or(e))return Ho;let t=e.state;return t.window&&(t.window=null),e.state=null,Po},inflateGetHeader:(e,t)=>{if(or(e))return Ho;const i=e.state;return 0==(2&i.wrap)?Ho:(i.head=t,t.done=!1,Po)},inflateSetDictionary:(e,t)=>{const i=t.length;let n,o,r;return or(e)?Ho:(n=e.state,0!==n.wrap&&n.mode!==Yo?Ho:n.mode===Yo&&(o=1,o=on(o,t,i,0),o!==n.check)?Vo:(r=pr(e,t,i,i),r?(n.mode=16210,Wo):(n.havedict=1,Po)))},inflateInfo:"pako inflate (from Nodeca project)"};var gr=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const _r=Object.prototype.toString,{Z_NO_FLUSH:br,Z_FINISH:xr,Z_OK:vr,Z_STREAM_END:yr,Z_NEED_DICT:wr,Z_STREAM_ERROR:kr,Z_DATA_ERROR:Er,Z_MEM_ERROR:Ir}=sn;function Ar(e){this.options=co.assign({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uo,this.strm.avail_out=0;let i=fr.inflateInit2(this.strm,t.windowBits);if(i!==vr)throw new Error(dn[i]);if(this.header=new gr,fr.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=po.string2buf(t.dictionary):"[object ArrayBuffer]"===_r.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=fr.inflateSetDictionary(this.strm,t.dictionary),i!==vr)))throw new Error(dn[i])}function Sr(e,t){const i=new Ar(t);if(i.push(e),i.err)throw i.msg||dn[i.err];return i.result}Ar.prototype.push=function(e,t){const i=this.strm,n=this.options.chunkSize,o=this.options.dictionary;let r,a,d;if(this.ended)return!1;for(a=t===~~t?t:!0===t?xr:br,"[object ArrayBuffer]"===_r.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(0===i.avail_out&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),r=fr.inflate(i,a),r===wr&&o&&(r=fr.inflateSetDictionary(i,o),r===vr?r=fr.inflate(i,a):r===Er&&(r=wr));i.avail_in>0&&r===yr&&i.state.wrap>0&&0!==e[i.next_in];)fr.inflateReset(i),r=fr.inflate(i,a);switch(r){case kr:case Er:case wr:case Ir:return this.onEnd(r),this.ended=!0,!1}if(d=i.avail_out,i.next_out&&(0===i.avail_out||r===yr))if("string"===this.options.to){let e=po.utf8border(i.output,i.next_out),t=i.next_out-e,o=po.buf2string(i.output,e);i.next_out=t,i.avail_out=n-t,t&&i.output.set(i.output.subarray(e,e+t),0),this.onData(o)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(r!==vr||0!==d){if(r===yr)return r=fr.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===i.avail_in)break}}return!0},Ar.prototype.onData=function(e){this.chunks.push(e)},Ar.prototype.onEnd=function(e){e===vr&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=co.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Rr={Inflate:Ar,inflate:Sr,inflateRaw:function(e,t){return(t=t||{}).raw=!0,Sr(e,t)},ungzip:Sr,constants:sn};const{Deflate:Tr,deflate:Cr,deflateRaw:Or,gzip:Lr}=So,{Inflate:Fr,inflate:Dr,inflateRaw:zr,ungzip:Mr}=Rr;var Nr=Cr,Br=Fr;class Pr{constructor(e,t,i,n=115200,o=!1){this.transport=e,this.baudrate=t,this.terminal=i,this.rom_baudrate=n,this.debugLogging=o,this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.MAX_TIMEOUT=2*this.CHIP_ERASE_TIMEOUT,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.USB_JTAG_SERIAL_PID=4097,this.checksum=function(e){let t,i=239;for(t=0;tsetTimeout(t,e)))}write(e,t=!0){this.terminal?t?this.terminal.writeLine(e):this.terminal.write(e):console.log(e)}error(e,t=!0){this.write(`Error: ${e}`,t)}info(e,t=!0){this.write(e,t)}debug(e,t=!0){this.debugLogging&&this.write(`Debug: ${e}`,t)}_short_to_bytearray(e){return new Uint8Array([255&e,e>>8&255])}_int_to_bytearray(e){return new Uint8Array([255&e,e>>8&255,e>>16&255,e>>24&255])}_bytearray_to_short(e,t){return e|t>>8}_bytearray_to_int(e,t,i,n){return e|t<<8|i<<16|n<<24}_appendBuffer(e,t){const i=new Uint8Array(e.byteLength+t.byteLength);return i.set(new Uint8Array(e),0),i.set(new Uint8Array(t),e.byteLength),i.buffer}_appendArray(e,t){const i=new Uint8Array(e.length+t.length);return i.set(e,0),i.set(t,e.length),i}ui8ToBstr(e){let t="";for(let i=0;i0&&(r=this._appendArray(r,this._int_to_bytearray(this.chip.UART_DATE_REG_ADDR)),r=this._appendArray(r,this._int_to_bytearray(0)),r=this._appendArray(r,this._int_to_bytearray(0)),r=this._appendArray(r,this._int_to_bytearray(o))),await this.check_command("write target memory",this.ESP_WRITE_REG,r)}async sync(){this.debug("Sync");const e=new Uint8Array(36);let t;for(e[0]=7,e[1]=7,e[2]=18,e[3]=32,t=0;t<32;t++)e[4+t]=85;try{return await this.command(8,e,void 0,void 0,100)}catch(e){throw this.debug("Sync err "+e),e}}async _connect_attempt(e="default_reset",t=!1){this.debug("_connect_attempt "+e+" "+t),"no_reset"!==e&&(this.transport.get_pid()===this.USB_JTAG_SERIAL_PID?(await this.transport.setRTS(!1),await this.transport.setDTR(!1),await this._sleep(100),await this.transport.setDTR(!0),await this.transport.setRTS(!1),await this._sleep(100),await this.transport.setRTS(!0),await this.transport.setDTR(!1),await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1),await this.transport.setDTR(!1)):(await this.transport.setDTR(!1),await this.transport.setRTS(!0),await this._sleep(100),t&&await this._sleep(2e3),await this.transport.setDTR(!0),await this.transport.setRTS(!1),await this._sleep(50),await this.transport.setDTR(!1)));let i=0,n=!0;for(;n;){try{i+=(await this.transport.read(1e3)).length}catch(e){if(this.debug(e.message),e instanceof Error){n=!1;break}}await this._sleep(50)}for(this.transport.slip_reader_enabled=!0,i=7;i--;){try{const e=await this.sync();return this.debug(e[0].toString()),"success"}catch(e){e instanceof Error&&(t?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(e="default_reset",t=7,i=!1){let n,o;for(this.info("Connecting...",!1),await this.transport.connect(this.rom_baudrate),n=0;n>>0;this.debug("Chip Magic "+e.toString(16));const t=await async function(e){switch(e){case 15736195:{const{ESP32ROM:e}=await import("./esp32-76e55e75.js");return new e}case 1763790959:case 456216687:{const{ESP32C3ROM:e}=await import("./esp32c3-47b374e0.js");return new e}case 752910447:{const{ESP32C6ROM:e}=await import("./esp32c6-6da0b175.js");return new e}case 9:{const{ESP32S3ROM:e}=await import("./esp32s3-69876819.js");return new e}case 1990:{const{ESP32S2ROM:e}=await import("./esp32s2-0d35c7ed.js");return new e}case 4293968129:{const{ESP8266ROM:e}=await import("./esp8266-00e25dbe.js");return new e}default:return null}}(e);if(null===this.chip)throw new fi(`Unexpected CHIP magic value ${e}. Failed to autodetect chip type.`);this.chip=t}}async detect_chip(e="default_reset"){await this.connect(e),this.info("Detecting chip type... ",!1),null!=this.chip?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async check_command(e="",t=null,i=new Uint8Array(0),n=0,o=3e3){this.debug("check_command "+e);const r=await this.command(t,i,n,void 0,o);return r[1].length>4?r[1]:r[0]}async mem_begin(e,t,i,n){this.debug("mem_begin "+e+" "+t+" "+i+" "+n.toString(16));let o=this._appendArray(this._int_to_bytearray(e),this._int_to_bytearray(t));o=this._appendArray(o,this._int_to_bytearray(i)),o=this._appendArray(o,this._int_to_bytearray(n)),await this.check_command("enter RAM download mode",this.ESP_MEM_BEGIN,o)}async mem_block(e,t){let i=this._appendArray(this._int_to_bytearray(e.length),this._int_to_bytearray(t));i=this._appendArray(i,this._int_to_bytearray(0)),i=this._appendArray(i,this._int_to_bytearray(0)),i=this._appendArray(i,e);const n=this.checksum(e);await this.check_command("write to target RAM",this.ESP_MEM_DATA,i,n)}async mem_finish(e){const t=0===e?1:0,i=this._appendArray(this._int_to_bytearray(t),this._int_to_bytearray(e));await this.check_command("leave RAM download mode",this.ESP_MEM_END,i,void 0,50)}async flash_spi_attach(e){const t=this._int_to_bytearray(e);await this.check_command("configure SPI flash pins",this.ESP_SPI_ATTACH,t)}async flash_begin(e,t){const i=Math.floor((e+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),n=this.chip.get_erase_size(t,e),o=new Date,r=o.getTime();let a=3e3;0==this.IS_STUB&&(a=this.timeout_per_mb(this.ERASE_REGION_TIMEOUT_PER_MB,e)),this.debug("flash begin "+n+" "+i+" "+this.FLASH_WRITE_SIZE+" "+t+" "+e);let d=this._appendArray(this._int_to_bytearray(n),this._int_to_bytearray(i));d=this._appendArray(d,this._int_to_bytearray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._int_to_bytearray(t)),0==this.IS_STUB&&(d=this._appendArray(d,this._int_to_bytearray(0))),await this.check_command("enter Flash download mode",this.ESP_FLASH_BEGIN,d,void 0,a);const s=o.getTime();return 0!=e&&0==this.IS_STUB&&this.info("Took "+(s-r)/1e3+"."+(s-r)%1e3+"s to erase flash block"),i}async flash_defl_begin(e,t,i){const n=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=Math.floor((e+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),r=new Date,a=r.getTime();let d,s;this.IS_STUB?(d=e,s=3e3):(d=o*this.FLASH_WRITE_SIZE,s=this.timeout_per_mb(this.ERASE_REGION_TIMEOUT_PER_MB,d)),this.info("Compressed "+e+" bytes to "+t+"...");let l=this._appendArray(this._int_to_bytearray(d),this._int_to_bytearray(n));l=this._appendArray(l,this._int_to_bytearray(this.FLASH_WRITE_SIZE)),l=this._appendArray(l,this._int_to_bytearray(i)),"ESP32-S2"!==this.chip.CHIP_NAME&&"ESP32-S3"!==this.chip.CHIP_NAME&&"ESP32-C3"!==this.chip.CHIP_NAME||!1!==this.IS_STUB||(l=this._appendArray(l,this._int_to_bytearray(0))),await this.check_command("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,l,void 0,s);const c=r.getTime();return 0!=e&&!1===this.IS_STUB&&this.info("Took "+(c-a)/1e3+"."+(c-a)%1e3+"s to erase flash block"),n}async flash_block(e,t,i){let n=this._appendArray(this._int_to_bytearray(e.length),this._int_to_bytearray(t));n=this._appendArray(n,this._int_to_bytearray(0)),n=this._appendArray(n,this._int_to_bytearray(0)),n=this._appendArray(n,e);const o=this.checksum(e);await this.check_command("write to target Flash after seq "+t,this.ESP_FLASH_DATA,n,o,i)}async flash_defl_block(e,t,i){let n=this._appendArray(this._int_to_bytearray(e.length),this._int_to_bytearray(t));n=this._appendArray(n,this._int_to_bytearray(0)),n=this._appendArray(n,this._int_to_bytearray(0)),n=this._appendArray(n,e);const o=this.checksum(e);this.debug("flash_defl_block "+e[0].toString(16)+" "+e[1].toString(16)),await this.check_command("write compressed data to flash after seq "+t,this.ESP_FLASH_DEFL_DATA,n,o,i)}async flash_finish(e=!1){const t=e?0:1,i=this._int_to_bytearray(t);await this.check_command("leave Flash mode",this.ESP_FLASH_END,i)}async flash_defl_finish(e=!1){const t=e?0:1,i=this._int_to_bytearray(t);await this.check_command("leave compressed flash mode",this.ESP_FLASH_DEFL_END,i)}async run_spiflash_command(e,t,i){const n=this.chip.SPI_REG_BASE,o=n+0,r=n+this.chip.SPI_USR_OFFS,a=n+this.chip.SPI_USR1_OFFS,d=n+this.chip.SPI_USR2_OFFS,s=n+this.chip.SPI_W0_OFFS;let l;l=null!=this.chip.SPI_MOSI_DLEN_OFFS?async(e,t)=>{const i=n+this.chip.SPI_MOSI_DLEN_OFFS,o=n+this.chip.SPI_MISO_DLEN_OFFS;e>0&&await this.write_reg(i,e-1),t>0&&await this.write_reg(o,t-1)}:async(e,t)=>{const i=a,n=(0===t?0:t-1)<<8|(0===e?0:e-1)<<17;await this.write_reg(i,n)};const c=1<<18;if(i>32)throw new fi("Reading more than 32 bits back from a SPI flash operation is unsupported");if(t.length>64)throw new fi("Writing more than 64 bytes of data with one SPI command is unsupported");const h=8*t.length,m=await this.read_reg(r),p=await this.read_reg(d);let u,f=1<<31;i>0&&(f|=268435456),h>0&&(f|=134217728),await l(h,i),await this.write_reg(r,f);let g=7<<28|e;if(await this.write_reg(d,g),0==h)await this.write_reg(s,0);else{if(t.length%4!=0){const e=new Uint8Array(t.length%4);t=this._appendArray(t,e)}let e=s;for(u=0;u("00"+e.toString(16)).slice(-2))).join("")}async flash_md5sum(e,t){const i=this.timeout_per_mb(this.MD5_TIMEOUT_PER_MB,t);let n=this._appendArray(this._int_to_bytearray(e),this._int_to_bytearray(t));n=this._appendArray(n,this._int_to_bytearray(0)),n=this._appendArray(n,this._int_to_bytearray(0));let o=await this.check_command("calculate md5sum",this.ESP_SPI_FLASH_MD5,n,void 0,i);o instanceof Uint8Array&&o.length>16&&(o=o.slice(0,16));return this.toHex(o)}async run_stub(){this.info("Uploading stub...");let e=atob(this.chip.ROM_TEXT),t=e.split("").map((function(e){return e.charCodeAt(0)}));const i=new Uint8Array(t);e=atob(this.chip.ROM_DATA),t=e.split("").map((function(e){return e.charCodeAt(0)}));const n=new Uint8Array(t);let o,r=Math.floor((i.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK);for(await this.mem_begin(i.length,r,this.ESP_RAM_BLOCK,this.chip.TEXT_START),o=0;oi)throw new fi(`File ${t+1} doesn't fit in the available flash`)}let s,l;!0===this.IS_STUB&&!0===o&&await this.erase_flash();for(let o=0;o0&&(s+="ÿÿÿÿ".substring(4-c)),l=e[o].address,this.debug("Image Length "+s.length),0===s.length){this.debug("Warning: File is empty");continue}s=this._update_image_flash_params(s,l,t,i,n);let h=null;d&&(h=d(s),this.debug("Image MD5 "+h));const m=s.length;let p;if(r){const e=this.bstrToUi8(s);s=this.ui8ToBstr(Nr(e,{level:9})),p=await this.flash_defl_begin(m,s.length,l)}else p=await this.flash_begin(m,l);let u=0,f=0;const g=s.length;a&&a(o,0,g);let _=new Date;const b=_.getTime();let x=5e3;const v=new Br({chunkSize:1});let y=0;for(v.onData=function(e){y+=e.byteLength};s.length>0;){this.debug("Write loop "+l+" "+u+" "+p),this.info("Writing at 0x"+(l+y).toString(16)+"... ("+Math.floor(100*(u+1)/p)+"%)");const e=this.bstrToUi8(s.slice(0,this.FLASH_WRITE_SIZE));if(!r)throw new fi("Yet to handle Non Compressed writes");{const t=y;v.push(e,!1);const i=y-t;let n=3e3;this.timeout_per_mb(this.ERASE_WRITE_TIMEOUT_PER_MB,i)>3e3&&(n=this.timeout_per_mb(this.ERASE_WRITE_TIMEOUT_PER_MB,i)),!1===this.IS_STUB&&(x=n),await this.flash_defl_block(e,u,x),this.IS_STUB&&(x=n)}f+=e.length,s=s.slice(this.FLASH_WRITE_SIZE,s.length),u++,a&&a(o,f,g)}this.IS_STUB&&await this.read_reg(this.CHIP_DETECT_MAGIC_REG_ADDR,x),_=new Date;const w=_.getTime()-b;if(r&&this.info("Wrote "+m+" bytes ("+f+" compressed) at 0x"+l.toString(16)+" in "+w/1e3+" seconds."),h){const e=await this.flash_md5sum(l,m);if(new String(e).valueOf()!=new String(h).valueOf())throw this.info("File md5: "+h),this.info("Flash md5: "+e),new fi("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flash_begin(0,0),r?await this.flash_defl_finish():await this.flash_finish())}async flash_id(){this.debug("flash_id");const e=await this.read_flash_id();this.info("Manufacturer: "+(255&e).toString(16));const t=e>>16&255;this.info("Device: "+(e>>8&255).toString(16)+t.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[t])}async hard_reset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async soft_reset(){if(this.IS_STUB){if("ESP8266"!=this.chip.CHIP_NAME)throw new fi("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}else await this.flash_begin(0,0),await this.flash_finish(!1)}}class $r{constructor(e){this.device=e,this.slip_reader_enabled=!1,this.left_over=new Uint8Array(0),this.baudrate=0,this._DTR_state=!1}get_info(){const e=this.device.getInfo();return e.usbVendorId&&e.usbProductId?`WebSerial VendorID 0x${e.usbVendorId.toString(16)} ProductID 0x${e.usbProductId.toString(16)}`:""}get_pid(){return this.device.getInfo().usbProductId}slip_writer(e){let t=0,i=0,n=0;for(i=0;i0)return e;n=this.left_over,this.left_over=new Uint8Array(0)}if(null==this.device.readable)return this.left_over;const o=this.device.readable.getReader();try{e>0&&(i=setTimeout((function(){o.cancel()}),e));do{const{value:e,done:t}=await o.read();if(t)throw this.left_over=n,new Error("Timeout");n=new Uint8Array(this._appendBuffer(n.buffer,e.buffer))}while(n.length0&&clearTimeout(i),o.releaseLock()}return this.slip_reader_enabled?this.slip_reader(n):n}async rawRead(e=0){if(0!=this.left_over.length){const e=this.left_over;return this.left_over=new Uint8Array(0),e}if(!this.device.readable)return this.left_over;const t=this.device.readable.getReader();let i;try{e>0&&(i=setTimeout((function(){t.cancel()}),e));const{value:n,done:o}=await t.read();if(o)throw new Error("Timeout");return n}finally{e>0&&clearTimeout(i),t.releaseLock()}}async setRTS(e){await this.device.setSignals({requestToSend:e}),await this.setDTR(this._DTR_state)}async setDTR(e){this._DTR_state=e,await this.device.setSignals({dataTerminalReady:e})}async connect(e=115200){await this.device.open({baudRate:e}),this.baudrate=e,this.left_over=new Uint8Array(0)}async sleep(e){return new Promise((t=>setTimeout(t,e)))}async waitForUnlock(e){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(e)}async disconnect(){await this.waitForUnlock(400),await this.device.close()}}const Ur=async e=>{await e.device.setSignals({dataTerminalReady:!1,requestToSend:!0}),await e.device.setSignals({dataTerminalReady:!1,requestToSend:!1})},Hr=(e,t="")=>{const i=new Blob([e],{type:"text/plain"}),n=URL.createObjectURL(i);((e,t="")=>{const i=document.createElement("a");i.target="_blank",i.href=e,i.download=t,document.body.appendChild(i),i.dispatchEvent(new MouseEvent("click")),document.body.removeChild(i)})(n,t),setTimeout((()=>URL.revokeObjectURL(n)),0)};console.log("ESP Web Tools 9.3.0 by Nabu Casa; https://esphome.github.io/esp-web-tools/");class Vr extends x{constructor(){super(...arguments),this.logger=console,this._state="DASHBOARD",this._installErase=!1,this._installConfirmed=!1,this._provisionForce=!1,this._wasProvisioned=!1,this._busy=!1,this._selectedSsid=null,this._handleDisconnect=()=>{this._state="ERROR",this._error="Disconnected"}}render(){if(!this.port)return h``;let e,t,i=!1,n=!1;return void 0===this._client&&"INSTALL"!==this._state&&"LOGS"!==this._state?this._error?[e,t,i]=this._renderError(this._error):(t=this._renderProgress("Connecting"),i=!0):"INSTALL"===this._state?[e,t,i,n]=this._renderInstall():"ASK_ERASE"===this._state?[e,t]=this._renderAskErase():"ERROR"===this._state?[e,t,i]=this._renderError(this._error):"DASHBOARD"===this._state?[e,t,i,n]=this._client?this._renderDashboard():this._renderDashboardNoImprov():"PROVISION"===this._state?[e,t,i]=this._renderProvision():"LOGS"===this._state&&([e,t,i]=this._renderLogs()),h` - - ${e&&n?h` - - ${oi} - - `:""} - ${t} - - `}_renderProgress(e,t){return h` - - `}_renderError(e){return["Error",h` - - - `,!1]}_renderDashboard(){const e=this._info.name;let t;return t=h` -
- ${ri} -
${this._info.firmware} ${this._info.version}
-
-
- ${ai} -
${this._info.chipFamily}
-
-
- ${this._isSameVersion?"":h` -
- {this._isSameFirmware?this._startInstall(!1):this._manifest.new_install_prompt_erase?this._state="ASK_ERASE":this._startInstall(!0)}} - > -
- `} - ${void 0===this._client.nextUrl?"":h` -
- - - -
- `} - ${this._manifest.home_assistant_domain&&this._client.state===ci.PROVISIONED?h` -
- - - -
- `:""} -
- {this._state="PROVISION",this._client.state===ci.PROVISIONED&&(this._provisionForce=!0)}} - > -
-
- {const e=this._client;e&&(await this._closeClientWithoutEvents(e),await V(100)),this._client=void 0,this._state="LOGS"}} - > -
- ${this._isSameFirmware&&this._manifest.funding_url?h` -
- - - -
- `:""} - ${this._isSameVersion?h` -
- this._startInstall(!0)} - > -
- `:""} -
- `,[e,t,!0,!0]}_renderDashboardNoImprov(){let e;return e=h` -
-
- {this._manifest.new_install_prompt_erase?this._state="ASK_ERASE":this._startInstall(!0)}} - > -
- -
- {this._client=void 0,this._state="LOGS"}} - > -
-
- `,["Device Dashboard",e,!0,!0]}_renderProvision(){var e;let t,i="Configure Wi-Fi",n=!1;if(this._busy)return[i,this._renderProgress(void 0===this._ssids?"Scanning for networks":"Trying to connect"),!0];if(this._provisionForce||this._client.state!==ci.PROVISIONED){let i;switch(this._client.error){case 3:i="Unable to connect";break;case 254:i="Timeout";break;case 0:case 2:break;default:i=`Unknown error (${this._client.error})`}const n=null===(e=this._ssids)||void 0===e?void 0:e.find((e=>e.name===this._selectedSsid));t=h` -
- Enter the credentials of the Wi-Fi network that you want your device - to connect to. -
- ${i?h`

${i}

`:""} - ${null!==this._ssids?h` - {const t=e.detail.index;this._selectedSsid=t===this._ssids.length?null:this._ssids[t].name}} - @closed=${e=>e.stopPropagation()} - > - ${this._ssids.map((e=>h` - - ${e.name} - - `))} - - Join other… - - - - ${di} - - `:""} - ${n?"":h` - - `} - ${!n||n.secured?h` - - `:""} - - {this._state="DASHBOARD"}} - > - `}else{i=void 0;const e=!this._wasProvisioned&&(void 0!==this._client.nextUrl||"home_assistant_domain"in this._manifest);n=e,t=h` - - ${e?h` -
- ${void 0===this._client.nextUrl?"":h` - - `} - ${this._manifest.home_assistant_domain?h` - - `:""} -
- {this._state="DASHBOARD"}} - > -
-
- `:h` - {this._state="DASHBOARD"}} - > - `} - `}return[i,t,n]}_renderAskErase(){return["Erase device",h` -
- Do you want to erase the device before installing - ${this._manifest.name}? All data on the device will be lost. -
- - - - {const e=this.shadowRoot.querySelector("ewt-checkbox");this._startInstall(e.checked)}} - > - {this._state="DASHBOARD"}} - > - `]}_renderInstall(){let e,t,i=!1;const n=!this._installErase&&this._isSameFirmware;if(!this._installConfirmed&&this._isSameVersion)e="Erase User Data",t=h` - Do you want to reset your device and erase all user data from your - device? - - `;else if(this._installConfirmed)if(this._installState&&"initializing"!==this._installState.state&&"preparing"!==this._installState.state)if("erasing"===this._installState.state)e="Installing",t=this._renderProgress("Erasing"),i=!0;else if("writing"===this._installState.state||"finished"===this._installState.state&&void 0===this._client){let n,o;e="Installing","finished"===this._installState.state?o="Wrapping up":this._installState.details.percentage<4?o="Installing":n=this._installState.details.percentage,t=this._renderProgress(h` - ${o?h`${o}
`:""} -
- This will take - ${"ESP8266"===this._installState.chipFamily?"a minute":"2 minutes"}.
- Keep this page visible to prevent slow down - `,n),i=!0}else if("finished"===this._installState.state){e=void 0;const i=null!==this._client;t=h` - - {this._state=i&&this._installErase?"PROVISION":"DASHBOARD"}} - > - `}else"error"===this._installState.state&&(e="Installation failed",t=h` - - {this._initialize(),this._state="DASHBOARD"}} - > - `);else e="Installing",t=this._renderProgress("Preparing installation"),i=!0;else{e="Confirm Installation";const i=n?"update to":"install";t=h` - ${n?h`Your device is running - ${this._info.firmware} ${this._info.version}.

`:""} - Do you want to ${i} - ${this._manifest.name} ${this._manifest.version}? - ${this._installErase?h`

All data on the device will be erased.`:""} - - {this._state="DASHBOARD"}} - > - `}return[e,t,i,!1]}_renderLogs(){let e;return e=h` - - {await this.shadowRoot.querySelector("ewt-console").disconnect(),this._state="DASHBOARD",this._initialize()}} - > - {Hr(this.shadowRoot.querySelector("ewt-console").logs(),"esp-web-tools-logs.txt"),this.shadowRoot.querySelector("ewt-console").reset()}} - > - {await this.shadowRoot.querySelector("ewt-console").reset()}} - > - `,["Logs",e,!1]}willUpdate(e){e.has("_state")&&("ERROR"!==this._state&&(this._error=void 0),"PROVISION"===this._state?this._updateSsids():this._provisionForce=!1,"INSTALL"===this._state&&(this._installConfirmed=!1,this._installState=void 0))}async _updateSsids(){const e=this._ssids;let t;this._ssids=void 0,this._busy=!0;try{t=await this._client.scan()}catch(e){return void 0===this._ssids&&(this._ssids=null,this._selectedSsid=null),void(this._busy=!1)}e?this._selectedSsid&&!t.find((e=>e.name===this._selectedSsid))&&(this._selectedSsid=t[0].name):this._selectedSsid=t.length?t[0].name:null,this._ssids=t,this._busy=!1}firstUpdated(e){super.firstUpdated(e),this._initialize()}updated(e){super.updated(e),e.has("_state")&&this.setAttribute("state",this._state),"PROVISION"===this._state&&(e.has("_selectedSsid")&&null===this._selectedSsid?this._focusFormElement("ewt-textfield[name=ssid]"):e.has("_ssids")&&this._focusFormElement())}_focusFormElement(e="ewt-textfield, ewt-select"){const t=this.shadowRoot.querySelector(e);t&&t.updateComplete.then((()=>setTimeout((()=>t.focus()),100)))}async _initialize(e=!1){if(null===this.port.readable||null===this.port.writable)return this._state="ERROR",void(this._error="Serial port is not readable/writable. Close any other application using it and try again.");try{this._manifest=await(async e=>{const t=new URL(e,location.toString()).toString(),i=await fetch(t),n=await i.json();return"new_install_skip_erase"in n&&(console.warn('Manifest option "new_install_skip_erase" is deprecated. Use "new_install_prompt_erase" instead.'),n.new_install_skip_erase&&(n.new_install_prompt_erase=!0)),n})(this.manifestPath)}catch(e){return this._state="ERROR",void(this._error="Failed to download manifest")}if(0===this._manifest.new_install_improv_wait_time)return void(this._client=null);const t=new ui(this.port,this.logger);t.addEventListener("state-changed",(()=>{this.requestUpdate()})),t.addEventListener("error-changed",(()=>this.requestUpdate()));try{const i=e?void 0!==this._manifest.new_install_improv_wait_time?1e3*this._manifest.new_install_improv_wait_time:1e4:1e3;this._info=await t.initialize(i),this._client=t,t.addEventListener("disconnect",this._handleDisconnect)}catch(e){this._info=void 0,e instanceof mi?(this._state="ERROR",this._error="Serial port is not ready. Close any other application using it and try again."):(this._client=null,this.logger.error("Improv initialization failed.",e))}}_startInstall(e){this._state="INSTALL",this._installErase=e,this._installConfirmed=!1}async _confirmInstall(){this._installConfirmed=!0,this._installState=void 0,this._client&&await this._closeClientWithoutEvents(this._client),this._client=void 0,await this.port.close(),(async(e,t,i,n,o)=>{let r,a;const d=t=>e({...t,manifest:n,build:r,chipFamily:a}),s=new $r(t),l=new Pr(s,115200,void 0);window.esploader=l,d({state:"initializing",message:"Initializing...",details:{done:!1}});try{await l.main_fn(),await l.flash_id()}catch(e){return console.error(e),d({state:"error",message:"Failed to initialize. Try resetting your device or holding the BOOT button while clicking INSTALL.",details:{error:"failed_initialize",details:e}}),await Ur(s),void await s.disconnect()}if(a=l.chip.CHIP_NAME,!l.chip.ROM_TEXT)return d({state:"error",message:`Chip ${a} is not supported`,details:{error:"not_supported",details:`Chip ${a} is not supported`}}),await Ur(s),void await s.disconnect();if(d({state:"initializing",message:`Initialized. Found ${a}`,details:{done:!0}}),r=n.builds.find((e=>e.chipFamily===a)),!r)return d({state:"error",message:`Your ${a} board is not supported.`,details:{error:"not_supported",details:a}}),await Ur(s),void await s.disconnect();d({state:"preparing",message:"Preparing installation...",details:{done:!1}});const c=new URL(i,location.toString()).toString(),h=r.parts.map((async e=>{const t=new URL(e.path,c).toString(),i=await fetch(t);if(!i.ok)throw new Error(`Downlading firmware ${e.path} failed: ${i.status}`);const n=new FileReader,o=await i.blob();return new Promise((e=>{n.addEventListener("load",(()=>e(n.result))),n.readAsBinaryString(o)}))})),m=[];let p=0;for(let e=0;e{const n=t/i*m[e].data.length,o=Math.floor((u+n)/p*100);t!==i?d({state:"writing",message:`Writing progress: ${o}%`,details:{bytesTotal:p,bytesWritten:u+t,percentage:o}}):u+=n}))}catch(e){return d({state:"error",message:e.message,details:{error:"write_failed",details:e}}),await Ur(s),void await s.disconnect()}d({state:"writing",message:"Writing complete",details:{bytesTotal:p,bytesWritten:u,percentage:100}}),await V(100),console.log("HARD RESET"),await Ur(s),console.log("DISCONNECT"),await s.disconnect(),d({state:"finished",message:"All done!"})})((e=>{this._installState=e,"finished"===e.state?V(100).then((()=>this.port.open({baudRate:115200}))).then((()=>this._initialize(!0))).then((()=>this.requestUpdate())):"error"===e.state&&V(100).then((()=>this.port.open({baudRate:115200})))}),this.port,this.manifestPath,this._manifest,this._installErase)}async _doProvision(){var e;this._busy=!0,this._wasProvisioned=this._client.state===ci.PROVISIONED;const t=null===this._selectedSsid?this.shadowRoot.querySelector("ewt-textfield[name=ssid]").value:this._selectedSsid,i=(null===(e=this.shadowRoot.querySelector("ewt-textfield[name=password]"))||void 0===e?void 0:e.value)||"";try{await this._client.provision(t,i,3e4)}catch(e){return}finally{this._busy=!1,this._provisionForce=!1}}async _handleClose(){this._client&&await this._closeClientWithoutEvents(this._client),((e,t,i,n)=>{n=n||{};const o=new CustomEvent(t,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed,detail:i});e.dispatchEvent(o)})(this,"closed"),this.parentNode.removeChild(this)}get _isSameFirmware(){var e;return!!this._info&&((null===(e=this.overrides)||void 0===e?void 0:e.checkSameFirmware)?this.overrides.checkSameFirmware(this._manifest,this._info):this._info.firmware===this._manifest.name)}get _isSameVersion(){return this._isSameFirmware&&this._info.version===this._manifest.version}async _closeClientWithoutEvents(e){e.removeEventListener("disconnect",this._handleDisconnect),await e.close()}}Vr.styles=[F,u` - :host { - --mdc-dialog-max-width: 390px; - } - ewt-icon-button { - position: absolute; - right: 4px; - top: 10px; - } - .table-row { - display: flex; - } - .table-row.last { - margin-bottom: 16px; - } - .table-row svg { - width: 20px; - margin-right: 8px; - } - ewt-textfield, - ewt-select { - display: block; - margin-top: 16px; - } - .dashboard-buttons { - margin: 0 0 -16px -8px; - } - .dashboard-buttons div { - display: block; - margin: 4px 0; - } - a.has-button { - text-decoration: none; - } - .error { - color: var(--improv-danger-color); - } - .danger { - --mdc-theme-primary: var(--improv-danger-color); - --mdc-theme-secondary: var(--improv-danger-color); - } - button.link { - background: none; - color: inherit; - border: none; - padding: 0; - font: inherit; - text-align: left; - text-decoration: underline; - cursor: pointer; - } - :host([state="LOGS"]) ewt-dialog { - --mdc-dialog-max-width: 90vw; - } - ewt-console { - width: calc(80vw - 48px); - height: 80vh; - } - ewt-list-item[value="-1"] { - border-top: 1px solid #ccc; - } - `],i([r()],Vr.prototype,"_client",void 0),i([r()],Vr.prototype,"_state",void 0),i([r()],Vr.prototype,"_installErase",void 0),i([r()],Vr.prototype,"_installConfirmed",void 0),i([r()],Vr.prototype,"_installState",void 0),i([r()],Vr.prototype,"_provisionForce",void 0),i([r()],Vr.prototype,"_error",void 0),i([r()],Vr.prototype,"_busy",void 0),i([r()],Vr.prototype,"_ssids",void 0),i([r()],Vr.prototype,"_selectedSsid",void 0),customElements.define("ewt-install-dialog",Vr);export{Vr as EwtInstallDialog}; diff --git a/installer/rom-7e8b4fbe.js b/installer/rom-7e8b4fbe.js deleted file mode 100644 index c40b631..0000000 --- a/installer/rom-7e8b4fbe.js +++ /dev/null @@ -1 +0,0 @@ -class e{get_erase_size(e,s){return s}}export{e as R}; diff --git a/installer/styles-fa761598.js b/installer/styles-fa761598.js deleted file mode 100644 index 9e398a8..0000000 --- a/installer/styles-fa761598.js +++ /dev/null @@ -1,101 +0,0 @@ -var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},t(e,i)};function e(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}var i=function(){return i=Object.assign||function(t){for(var e,i=1,o=arguments.length;i=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,i,a):r(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a}function r(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}const n=window,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),d=new WeakMap;let c=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=d.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&d.set(e,t))}return t}toString(){return this.cssText}};const l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new c(i,t,s)},p=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new c("string"==typeof t?t:t+"",void 0,s))(e)})(t):t;var u;const m=window,h=m.trustedTypes,f=h?h.emptyScript:"",g=m.reactiveElementPolyfillSupport,v={toAttribute(t,e){switch(e){case Boolean:t=t?f:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},b=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:b},_="finalized";let x=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty(_))return!1;this[_]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=n.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=y){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:v).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:v;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};var E;x[_]=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:x}),(null!==(u=m.reactiveElementVersions)&&void 0!==u?u:m.reactiveElementVersions=[]).push("1.6.2");const A=window,w=A.trustedTypes,S=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,R="?"+T,k=`<${R}>`,$=document,O=()=>$.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,D="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,L=/>/g,P=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),M=/'/g,z=/"/g,U=/^(?:script|style|textarea|title)$/i,B=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),V=B(1),j=B(2),G=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),q=new WeakMap,W=$.createTreeWalker($,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"":"",a=H;for(let e=0;e"===d[0]?(a=null!=r?r:H,c=-1):void 0===d[1]?c=-2:(c=a.lastIndex-d[2].length,s=d[1],a=void 0===d[3]?P:'"'===d[3]?z:M):a===z||a===M?a=P:a===F||a===L?a=H:(a=P,r=void 0);const p=a===P&&t[e+1].startsWith("/>")?" ":"";n+=a===H?i+k:c>=0?(o.push(s),i.slice(0,c)+C+i.slice(c)+T+p):i+T+(-2===c?(o.push(void 0),e):p)}const s=n+(t[i]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(s):s,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[d,c]=Y(t,e);if(this.el=X.createElement(d,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&s.length0){o.textContent=w?w.emptyScript:"";for(let i=0;iN(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$($.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new J(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new X(t)),e}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new Q(this.k(O()),this.k(O()),this,this.options)):i=e[o],i._$AI(r),o++;o2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,e,0),n=!I(t)||t!==this._$AH&&t!==G,n&&(this._$AH=t);else{const o=t;let a,s;for(t=r[0],a=0;a{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new Q(e.insertBefore(O(),t),t,void 0,null!=i?i:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}}ct.finalized=!0,ct._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:ct});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:ct}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const pt=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:o}=e;return{kind:i,elements:o,finisher(e){customElements.define(t,e)}}})(t,e),ut=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}},mt=(t,e,i)=>{e.constructor.createProperty(i,t)};function ht(t){return(e,i)=>void 0!==i?mt(t,e,i):ut(t,e)}function ft(t){return ht({...t,state:!0})}const gt=({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o){const o=null!==(r=i.originalKey)&&void 0!==r?r:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const r=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(r,o)}};function vt(t){return gt({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}function bt(t,e){return gt({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}function yt(t){return gt({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}var _t;const xt=null!=(null===(_t=window.HTMLSlotElement)||void 0===_t?void 0:_t.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function Et(t){const{slot:e,selector:i}=null!=t?t:{};return gt({descriptor:o=>({get(){var o;const r="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(r),a=null!=n?xt(n,t):[];return i?a.filter((t=>t.matches(i))):a},enumerable:!0,configurable:!0})})}const At=l`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`;let wt=class extends ct{render(){return V``}};function St(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}wt.styles=[At],wt=o([pt("mwc-icon")],wt);const Ct=t=>t.nodeType===Node.ELEMENT_NODE;function Tt(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}const Rt=()=>{},kt={get passive(){return!1}};document.addEventListener("x",Rt,kt),document.removeEventListener("x",Rt);const $t=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},Ot=t=>{const e=$t();if(!e.length)return!1;const i=e[e.length-1],o=new Event("check-if-focused",{bubbles:!0,composed:!0});let r=[];const n=t=>{r=t.composedPath()};return document.body.addEventListener("check-if-focused",n),i.dispatchEvent(o),document.body.removeEventListener("check-if-focused",n),-1!==r.indexOf(t)};class It extends ct{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}var Nt=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),Dt={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},Ht={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Ft={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var Lt=["touchstart","pointerdown","mousedown","keydown"],Pt=["touchend","pointerup","mouseup","contextmenu"],Mt=[],zt=function(t){function o(e){var r=t.call(this,i(i({},o.defaultAdapter),e))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(t){r.activateImpl(t)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return e(o,t),Object.defineProperty(o,"cssClasses",{get:function(){return Dt},enumerable:!1,configurable:!0}),Object.defineProperty(o,"strings",{get:function(){return Ht},enumerable:!1,configurable:!0}),Object.defineProperty(o,"numbers",{get:function(){return Ft},enumerable:!1,configurable:!0}),Object.defineProperty(o,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),o.prototype.init=function(){var t=this,e=this.supportsPressRipple();if(this.registerRootHandlers(e),e){var i=o.cssClasses,r=i.ROOT,n=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())}))}},o.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(o.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(o.cssClasses.FG_DEACTIVATION));var e=o.cssClasses,i=e.ROOT,r=e.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(i),t.adapter.removeClass(r),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},o.prototype.activate=function(t){this.activateImpl(t)},o.prototype.deactivate=function(){this.deactivateImpl()},o.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},o.prototype.setUnbounded=function(t){var e=o.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},o.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(o.cssClasses.BG_FOCUSED)}))},o.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(o.cssClasses.BG_FOCUSED)}))},o.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},o.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},o.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var o=r(Lt),n=o.next();!n.done;n=o.next()){var a=n.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},o.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=r(Pt),n=o.next();!n.done;n=o.next()){var a=n.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}},o.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=r(Lt),o=i.next();!o.done;o=i.next()){var n=o.value;this.adapter.deregisterInteractionHandler(n,this.activateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},o.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=r(Pt),o=i.next();!o.done;o=i.next()){var n=o.value;this.adapter.deregisterDocumentInteractionHandler(n,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},o.prototype.removeCssVars=function(){var t=this,e=o.strings;Object.keys(e).forEach((function(i){0===i.indexOf("VAR_")&&t.adapter.updateCssVariable(e[i],null)}))},o.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var o=this.previousActivationEvent;if(!(o&&void 0!==t&&o.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&Mt.length>0&&Mt.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(Mt.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){Mt=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},o.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},o.prototype.animateActivation=function(){var t=this,e=o.strings,i=e.VAR_FG_TRANSLATE_START,r=e.VAR_FG_TRANSLATE_END,n=o.cssClasses,a=n.FG_DEACTIVATION,s=n.FG_ACTIVATION,d=o.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,m=p.endPoint;c=u.x+"px, "+u.y+"px",l=m.x+"px, "+m.y+"px"}this.adapter.updateCssVariable(i,c),this.adapter.updateCssVariable(r,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),d)},o.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var o,r,n=e.x,a=e.y,s=n+i.left,d=a+i.top;if("touchstart"===t.type){var c=t;o=c.changedTouches[0].pageX-s,r=c.changedTouches[0].pageY-d}else{var l=t;o=l.pageX-s,r=l.pageY-d}return{x:o,y:r}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:t={x:t.x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},o.prototype.runDeactivationUXLogicIfReady=function(){var t=this,e=o.cssClasses.FG_DEACTIVATION,i=this.activationState,r=i.hasDeactivationUXRun,n=i.isActivated;(r||!n)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(e)}),Ft.FG_DEACTIVATION_MS))},o.prototype.rmBoundedActivationClasses=function(){var t=o.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},o.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),o.numbers.TAP_DELAY_MS)},o.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var o=i({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(o)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(o),t.resetActivationState()})))}},o.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},o.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var e=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?e:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+o.numbers.PADDING;var i=Math.floor(e*o.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},o.prototype.updateLayoutCssVars=function(){var t=o.strings,e=t.VAR_FG_SIZE,i=t.VAR_LEFT,r=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords.top+"px"))},o}(Nt),Ut=zt;const Bt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=t=>(...e)=>({_$litDirective$:t,values:e});let jt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};const Gt=Vt(class extends jt{constructor(t){var e;if(super(t),t.type!==Bt.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return G}}),Kt="important",qt=" !"+Kt,Wt=Vt(class extends jt{constructor(t){var e;if(super(t),t.type!==Bt.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in e)this.ut.add(t);return this.render(e)}this.ut.forEach((t=>{null==e[t]&&(this.ut.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];if(null!=o){this.ut.add(t);const e="string"==typeof o&&o.endsWith(qt);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?Kt:""):i[t]=o}}return G}});class Yt extends It{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=Ut}get isActive(){return St(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return V` -
`}}o([bt(".mdc-ripple-surface")],Yt.prototype,"mdcRoot",void 0),o([ht({type:Boolean})],Yt.prototype,"primary",void 0),o([ht({type:Boolean})],Yt.prototype,"accent",void 0),o([ht({type:Boolean})],Yt.prototype,"unbounded",void 0),o([ht({type:Boolean})],Yt.prototype,"disabled",void 0),o([ht({type:Boolean})],Yt.prototype,"activated",void 0),o([ht({type:Boolean})],Yt.prototype,"selected",void 0),o([ht({type:Boolean})],Yt.prototype,"internalUseStateLayerCustomProperties",void 0),o([ft()],Yt.prototype,"hovering",void 0),o([ft()],Yt.prototype,"bgFocused",void 0),o([ft()],Yt.prototype,"fgActivation",void 0),o([ft()],Yt.prototype,"fgDeactivation",void 0),o([ft()],Yt.prototype,"fgScale",void 0),o([ft()],Yt.prototype,"fgSize",void 0),o([ft()],Yt.prototype,"translateStart",void 0),o([ft()],Yt.prototype,"translateEnd",void 0),o([ft()],Yt.prototype,"leftPos",void 0),o([ft()],Yt.prototype,"topPos",void 0);const Xt=l`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;let Zt=class extends Yt{};function Jt(t,e,i){if(void 0!==e)return function(t,e,i){const o=t.constructor;if(!i){const t=`__${e}`;if(!(i=o.getPropertyDescriptor(e,t)))throw new Error("@ariaProperty must be used after a @property decorator")}const r=i;let n="";if(!r.set)throw new Error(`@ariaProperty requires a setter for ${e}`);if(t.dispatchWizEvent)return i;const a={configurable:!0,enumerable:!0,set(t){if(""===n){const t=o.getPropertyOptions(e);n="string"==typeof t.attribute?t.attribute:e}this.hasAttribute(n)&&this.removeAttribute(n),r.set.call(this,t)}};return r.get&&(a.get=function(){return r.get.call(this)}),a}(t,e,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}Zt.styles=[Xt],Zt=o([pt("mwc-ripple")],Zt);class Qt{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}const te=t=>null!=t?t:K;class ee extends ct{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new Qt((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderOverlay(){return V``}renderRipple(){const t=this.raised||this.unelevated;return this.shouldRenderRipple?V``:""}focus(){const t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){const t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}getRenderClasses(){return{"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense}}render(){return V` - `}renderIcon(){return V` - - ${this.icon} - `}handleRippleActivate(t){const e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}ee.shadowRootOptions={mode:"open",delegatesFocus:!0},o([Jt,ht({type:String,attribute:"aria-haspopup"})],ee.prototype,"ariaHasPopup",void 0),o([ht({type:Boolean,reflect:!0})],ee.prototype,"raised",void 0),o([ht({type:Boolean,reflect:!0})],ee.prototype,"unelevated",void 0),o([ht({type:Boolean,reflect:!0})],ee.prototype,"outlined",void 0),o([ht({type:Boolean})],ee.prototype,"dense",void 0),o([ht({type:Boolean,reflect:!0})],ee.prototype,"disabled",void 0),o([ht({type:Boolean,attribute:"trailingicon"})],ee.prototype,"trailingIcon",void 0),o([ht({type:Boolean,reflect:!0})],ee.prototype,"fullwidth",void 0),o([ht({type:String})],ee.prototype,"icon",void 0),o([ht({type:String})],ee.prototype,"label",void 0),o([ht({type:Boolean})],ee.prototype,"expandContent",void 0),o([bt("#button")],ee.prototype,"buttonElement",void 0),o([yt("mwc-ripple")],ee.prototype,"ripple",void 0),o([ft()],ee.prototype,"shouldRenderRipple",void 0),o([vt({passive:!0})],ee.prototype,"handleRippleActivate",null);const ie=l`.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:transparent}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{display:none}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + 4px );width:calc( 100% + 4px );display:block}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{border-color:CanvasText}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:transparent}.mdc-button{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised,.mdc-button--unelevated{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0, 0, 0, 0.12)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button--raised .mdc-button__ripple,.mdc-button--unelevated .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px);padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button--outlined:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--outlined .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button--outlined .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined:disabled{border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined.mdc-button--icon-trailing{padding:0 11px 0 15px}.mdc-button--outlined.mdc-button--icon-leading{padding:0 15px 0 11px}.mdc-button--outlined .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.mdc-button--outlined .mdc-button__touch{left:calc(-1 * 1px);width:calc(100% + 2 * 1px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:transparent;vertical-align:top}:host([fullwidth]){width:100%}:host([raised]),:host([unelevated]){--mdc-ripple-color:#fff;--mdc-ripple-focus-opacity:0.24;--mdc-ripple-hover-opacity:0.08;--mdc-ripple-press-opacity:0.24}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon,.leading-icon ::slotted(*),.leading-icon .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,[dir=rtl] .leading-icon ::slotted(*),[dir=rtl] .leading-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl],.leading-icon ::slotted(*[dir=rtl]),.leading-icon .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}.slot-container{display:inline-flex;align-items:center;justify-content:center}.slot-container.flex{flex:auto}.mdc-button{flex:auto;overflow:hidden;padding-left:8px;padding-left:var(--mdc-button-horizontal-padding, 8px);padding-right:8px;padding-right:var(--mdc-button-horizontal-padding, 8px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-focus, var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)))}.mdc-button--raised:hover{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-active, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-disabled, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised,.mdc-button--unelevated{padding-left:16px;padding-left:var(--mdc-button-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mdc-button-horizontal-padding, 16px)}.mdc-button--outlined{border-width:1px;border-width:var(--mdc-button-outline-width, 1px);padding-left:calc(16px - 1px);padding-left:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));padding-right:calc(16px - 1px);padding-right:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px))}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined .ripple{top:calc(-1 * 1px);top:calc(-1 * var(--mdc-button-outline-width, 1px));left:calc(-1 * 1px);left:calc(-1 * var(--mdc-button-outline-width, 1px));right:initial;right:initial;border-width:1px;border-width:var(--mdc-button-outline-width, 1px);border-style:solid;border-color:transparent}[dir=rtl] .mdc-button--outlined .ripple,.mdc-button--outlined .ripple[dir=rtl]{left:initial;left:initial;right:calc(-1 * 1px);right:calc(-1 * var(--mdc-button-outline-width, 1px))}.mdc-button--dense{height:28px;margin-top:0;margin-bottom:0}.mdc-button--dense .mdc-button__touch{height:100%}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-button{color:rgba(0, 0, 0, 0.38);color:var(--mdc-button-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-button--raised,:host([disabled]) .mdc-button--unelevated{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-button-disabled-fill-color, rgba(0, 0, 0, 0.12))}:host([disabled]) .mdc-button--outlined{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}`;class oe extends ee{}oe.styles=[ie,l` - .mdc-button { - min-width: initial; - } - :host([text-left]) .mdc-button__label { - text-align: left; - } - `],customElements.define("ewt-button",oe),(()=>{var t,e,i;const o=Symbol(),r=Symbol(),n=Symbol(),a=Symbol(),s=Symbol(),d=Symbol(),c=Symbol(),l=Symbol(),p=Symbol(),u=Symbol(),m=Symbol(),h=Symbol(),f=Symbol();class g{constructor(){this[t]=[],this[e]=[],this[i]=new Set}destructor(){this[p](this[n]);const t=this;t[o]=null,t[n]=null,t[r]=null}get top(){const t=this[o];return t[t.length-1]||null}push(t){t&&t!==this.top&&(this.remove(t),this[d](t),this[o].push(t))}remove(t){const e=this[o].indexOf(t);return-1!==e&&(this[o].splice(e,1),e===this[o].length&&this[d](this.top),!0)}pop(){const t=this.top;return t&&this.remove(t),t}has(t){return-1!==this[o].indexOf(t)}[(t=o,e=n,i=r,d)](t){const e=this[r],i=this[n];if(!t)return this[p](i),e.clear(),void(this[n]=[]);const o=this[u](t);if(o[o.length-1].parentNode!==document.body)throw Error("Non-connected element cannot be a blocking element");this[n]=o;const a=this[m](t);if(!i.length)return void this[l](o,a,e);let s=i.length-1,d=o.length-1;for(;s>0&&d>0&&i[s]===o[d];)s--,d--;i[s]!==o[d]&&this[c](i[s],o[d]),s>0&&this[p](i.slice(0,s)),d>0&&this[l](o.slice(0,d),a,null)}[c](t,e){const i=t[a];this[h](t)&&!t.inert&&(t.inert=!0,i.add(t)),i.has(e)&&(e.inert=!1,i.delete(e)),e[s]=t[s],e[a]=i,t[s]=void 0,t[a]=void 0}[p](t){for(const e of t){e[s].disconnect(),e[s]=void 0;const t=e[a];for(const e of t)e.inert=!1;e[a]=void 0}}[l](t,e,i){for(const o of t){const t=o.parentNode,r=t.children,n=new Set;for(let t=0;t(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,i)=>e.constructor._observers.set(i,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const i=this.constructor._observers.get(e);void 0!==i&&i.call(this,this[e],t)}))}}e.constructor._observers.set(i,t)},he=document.$blockingElements;class fe extends It{constructor(){super(...arguments),this.hideActions=!1,this.stacked=!1,this.heading="",this.scrimClickAction="close",this.escapeKeyAction="close",this.open=!1,this.defaultAction="close",this.actionAttribute="dialogAction",this.initialFocusAttribute="dialogInitialFocus",this.initialSupressDefaultPressSelector="",this.mdcFoundationClass=pe,this.boundHandleClick=null,this.boundHandleKeydown=null,this.boundHandleDocumentKeydown=null}set suppressDefaultPressSelector(t){this.mdcFoundation?this.mdcFoundation.setSuppressDefaultPressSelector(t):this.initialSupressDefaultPressSelector=t}get suppressDefaultPressSelector(){return this.mdcFoundation?this.mdcFoundation.getSuppressDefaultPressSelector():this.initialSupressDefaultPressSelector}get primaryButton(){let t=this.primarySlot.assignedNodes();t=t.filter((t=>t instanceof HTMLElement));const e=t[0];return e||null}emitNotification(t,e){const i=new CustomEvent(t,{detail:e?{action:e}:{}});this.dispatchEvent(i)}getInitialFocusEl(){const t=`[${this.initialFocusAttribute}]`,e=this.querySelector(t);if(e)return e;const i=this.primarySlot.assignedNodes({flatten:!0}),o=this.searchNodeTreesForAttribute(i,this.initialFocusAttribute);if(o)return o;const r=this.secondarySlot.assignedNodes({flatten:!0}),n=this.searchNodeTreesForAttribute(r,this.initialFocusAttribute);if(n)return n;const a=this.contentSlot.assignedNodes({flatten:!0});return this.searchNodeTreesForAttribute(a,this.initialFocusAttribute)}searchNodeTreesForAttribute(t,e){for(const i of t)if(i instanceof HTMLElement){if(i.hasAttribute(e))return i;{const t=i.querySelector(`[${e}]`);if(t)return t}}return null}createAdapter(){return Object.assign(Object.assign({},Tt(this.mdcRoot)),{addBodyClass:()=>document.body.style.overflow="hidden",removeBodyClass:()=>document.body.style.overflow="",areButtonsStacked:()=>this.stacked,clickDefaultButton:()=>{const t=this.primaryButton;t&&t.click()},eventTargetMatches:(t,e)=>!!t&&St(t,e),getActionFromEvent:t=>{if(!t.target)return"";const e=function(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(St(i,e))return i;i=i.parentElement}return null}(t.target,`[${this.actionAttribute}]`);return e&&e.getAttribute(this.actionAttribute)},getInitialFocusEl:()=>this.getInitialFocusEl(),isContentScrollable:()=>{const t=this.contentElement;return!!t&&t.scrollHeight>t.offsetHeight},notifyClosed:t=>this.emitNotification("closed",t),notifyClosing:t=>{this.closingDueToDisconnect||(this.open=!1),this.emitNotification("closing",t)},notifyOpened:()=>this.emitNotification("opened"),notifyOpening:()=>{this.open=!0,this.emitNotification("opening")},reverseButtons:()=>{},releaseFocus:()=>{he.remove(this)},trapFocus:t=>{this.isConnected&&(he.push(this),t&&t.focus())},registerContentEventHandler:(t,e)=>{this.contentElement.addEventListener(t,e)},deregisterContentEventHandler:(t,e)=>{this.contentElement.removeEventListener(t,e)},isScrollableContentAtTop:()=>{const t=this.contentElement;return!!t&&0===t.scrollTop},isScrollableContentAtBottom:()=>{const t=this.contentElement;return!!t&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight},registerWindowEventHandler:(t,e)=>{window.addEventListener(t,e,ue())},deregisterWindowEventHandler:(t,e)=>{window.removeEventListener(t,e,ue())}})}render(){const t={[se.STACKED]:this.stacked};let e=V``;this.heading&&(e=this.renderHeading());const i={"mdc-dialog__actions":!this.hideActions};return V` -
-
-
- ${e} -
- -
-
- - - - - - -
-
-
-
-
`}renderHeading(){return V` -

${this.heading}

`}firstUpdated(){super.firstUpdated(),this.mdcFoundation.setAutoStackButtons(!0),this.initialSupressDefaultPressSelector?this.suppressDefaultPressSelector=this.initialSupressDefaultPressSelector:this.suppressDefaultPressSelector=[this.suppressDefaultPressSelector,"mwc-textarea","mwc-menu mwc-list-item","mwc-select mwc-list-item"].join(", "),this.boundHandleClick=this.mdcFoundation.handleClick.bind(this.mdcFoundation),this.boundHandleKeydown=this.mdcFoundation.handleKeydown.bind(this.mdcFoundation),this.boundHandleDocumentKeydown=this.mdcFoundation.handleDocumentKeydown.bind(this.mdcFoundation)}connectedCallback(){super.connectedCallback(),this.open&&this.mdcFoundation&&!this.mdcFoundation.isOpen()&&(this.setEventListeners(),this.mdcFoundation.open())}disconnectedCallback(){super.disconnectedCallback(),this.open&&this.mdcFoundation&&(this.removeEventListeners(),this.closingDueToDisconnect=!0,this.mdcFoundation.close(this.currentAction||this.defaultAction),this.closingDueToDisconnect=!1,this.currentAction=void 0,he.remove(this))}forceLayout(){this.mdcFoundation.layout()}focus(){const t=this.getInitialFocusEl();t&&t.focus()}blur(){if(!this.shadowRoot)return;const t=this.shadowRoot.activeElement;if(t)t instanceof HTMLElement&&t.blur();else{const t=this.getRootNode(),e=t instanceof Document?t.activeElement:null;e instanceof HTMLElement&&e.blur()}}setEventListeners(){this.boundHandleClick&&this.mdcRoot.addEventListener("click",this.boundHandleClick),this.boundHandleKeydown&&this.mdcRoot.addEventListener("keydown",this.boundHandleKeydown,ue()),this.boundHandleDocumentKeydown&&document.addEventListener("keydown",this.boundHandleDocumentKeydown,ue())}removeEventListeners(){this.boundHandleClick&&this.mdcRoot.removeEventListener("click",this.boundHandleClick),this.boundHandleKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleKeydown),this.boundHandleDocumentKeydown&&document.removeEventListener("keydown",this.boundHandleDocumentKeydown)}close(){this.open=!1}show(){this.open=!0}}o([bt(".mdc-dialog")],fe.prototype,"mdcRoot",void 0),o([bt('slot[name="primaryAction"]')],fe.prototype,"primarySlot",void 0),o([bt('slot[name="secondaryAction"]')],fe.prototype,"secondarySlot",void 0),o([bt("#contentSlot")],fe.prototype,"contentSlot",void 0),o([bt(".mdc-dialog__content")],fe.prototype,"contentElement",void 0),o([bt(".mdc-container")],fe.prototype,"conatinerElement",void 0),o([ht({type:Boolean})],fe.prototype,"hideActions",void 0),o([ht({type:Boolean}),me((function(){this.forceLayout()}))],fe.prototype,"stacked",void 0),o([ht({type:String})],fe.prototype,"heading",void 0),o([ht({type:String}),me((function(t){this.mdcFoundation.setScrimClickAction(t)}))],fe.prototype,"scrimClickAction",void 0),o([ht({type:String}),me((function(t){this.mdcFoundation.setEscapeKeyAction(t)}))],fe.prototype,"escapeKeyAction",void 0),o([ht({type:Boolean,reflect:!0}),me((function(t){this.mdcFoundation&&this.isConnected&&(t?(this.setEventListeners(),this.mdcFoundation.open()):(this.removeEventListeners(),this.mdcFoundation.close(this.currentAction||this.defaultAction),this.currentAction=void 0))}))],fe.prototype,"open",void 0),o([ht()],fe.prototype,"defaultAction",void 0),o([ht()],fe.prototype,"actionAttribute",void 0),o([ht()],fe.prototype,"initialFocusAttribute",void 0);const ge=l`.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}`;class ve extends fe{}ve.styles=[ge,l` - .mdc-dialog__title { - padding-right: 52px; - } - `],customElements.define("ewt-dialog",ve);const be=l` - :host { - --mdc-theme-primary: var(--improv-primary-color, #03a9f4); - --mdc-theme-on-primary: var(--improv-on-primary-color, #fff); - --improv-danger-color: #db4437; - --improv-text-color: rgba(0, 0, 0, 0.6); - --mdc-theme-text-primary-on-background: var(--improv-text-color); - --mdc-dialog-content-ink-color: var(--improv-text-color); - text-align: left; - font-size: 16px; - --mdc-typography-headline6-font-size: 1.25em; - --mdc-typography-headline6-line-height: 2em; - --mdc-typography-body1-font-size: 1em; - --mdc-typography-body1-line-height: 1.5em; - --mdc-typography-button-font-size: 0.875em; - --mdc-typography-button-line-height: 2.25em; - --mdc-typography-subtitle1-font-size: 1em; - --mdc-typography-subtitle1-line-height: 1.75em; - } - - a { - color: var(--improv-primary-color, #03a9f4); - } - - a.button { - text-decoration: none; - } -`;export{K as A,It as B,j as C,be as D,Nt as M,Qt as R,G as T,o as _,Jt as a,vt as b,Gt as c,te as d,yt as e,l as f,e as g,i as h,bt as i,me as j,pt as k,Et as l,Vt as m,ht as n,gt as o,jt as p,Bt as q,r,ct as s,ft as t,Tt as u,Ct as v,Ot as w,V as x,$t as y,Wt as z}; diff --git a/v2.htm b/v2.htm deleted file mode 100644 index 51756ff..0000000 --- a/v2.htm +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - Install WLED - - - - - -
-

Welcome to the WLED web installer!

- -
- -
    -
  1. Plug in your ESP to a USB port. We will install WLED 0.12.0 to it.
  2. -
  3. Hit "Install" and select the correct COM port. No device found?
  4. -
  5. Get WLED installed and connected in less than 3 minutes!
  6. -


- -
- - -
- - -

- -
- -
-
-
- -
-
Powered by ESP Web Tools
-
GitHubkno.wled.ge - - - - \ No newline at end of file